CN110245992A - A kind of method for processing resource and device - Google Patents

A kind of method for processing resource and device Download PDF

Info

Publication number
CN110245992A
CN110245992A CN201910535205.2A CN201910535205A CN110245992A CN 110245992 A CN110245992 A CN 110245992A CN 201910535205 A CN201910535205 A CN 201910535205A CN 110245992 A CN110245992 A CN 110245992A
Authority
CN
China
Prior art keywords
resource
user
excitation value
transaction
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910535205.2A
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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201910535205.2A priority Critical patent/CN110245992A/en
Publication of CN110245992A publication Critical patent/CN110245992A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0234Rebates after completed purchase

Abstract

The present embodiments relate to financial technology (Fintech) technical fields, disclose a kind of method for processing resource and device, wherein method includes: after first device receives processing request message, if the type of first resource is the first kind, then first resource is handled using the corresponding excitation value of user, and then the excitation value that the mark of user, the type of first resource and processing first resource use is sent to second device, so that second device veritifies at least one history resource information.In the embodiment of the present invention, first device can determine how processing first resource based on the excitation value total value that each trade company provides, each reward provided without analyzing trade company, so as to improve the efficiency of resource processing;And resource treatment process and verification procedure are executed by using first device and second device respectively, resource treatment process and verification procedure can be decoupled, so that resource treatment process is more in line with actual conditions, more efficient.

Description

A kind of method for processing resource and device
Technical field
The present invention relates to financial technology (Fintech) technical field more particularly to a kind of method for processing resource and device.
Background technique
With the development of computer technology, more and more technical applications are in financial field, and traditional financial industry is also Gradually change to financial technology (Fintech), however, due to the safety of financial industry, requirement of real-time, so that financial technology To technology, more stringent requirements are proposed in field.In financial technology field, many distributed processing system(DPS)s be applied to return it is existing with And the application scenarios such as veritification, for example, when user executes Shopping Behaviors by distributed processing system(DPS), if user is in a certain trade company Spending amount be more than the trade company setting when returning existing threshold, which can provide a user certain reward, in this way, if with Family carries out other Shopping Behaviors by distributed processing system(DPS), then the reward of trade company offer can be used in distributed processing system(DPS) Deduct all or part of shopping money of the user in other Shopping Behaviors, and then can be according to deduction situation to the cost of the trade company It is veritified.It is to be appreciated that the business operation including such as above-mentioned example is all by more in distributed processing system(DPS) Platform device is performed in parallel what data processing and data interaction were realized.
However, the device in existing distributed processing system(DPS) after receiving the asset processing request of user, need according to Secondary execute obtains data, processing data and the process for veritifying data, for example obtains the history resource information of each trade company, based on each The history resource information of a trade company is analyzed the resource flow direction in each history resource information point and is divided according to resource flow conditions Phase separation closes the variation of resource value, and then is veritified according to the variation of related resource value to history resource information, can complete pair In the processing of the asset processing request of user, this may be such that the efficiency of resource processing is lower.
To sum up, a kind of method for processing resource is needed at present, to solve using the dress in existing distributed processing system(DPS) Set the lower technical problem of the efficiency of the processing of resource caused by process resource.
Summary of the invention
The embodiment of the present invention provides a kind of method for processing resource and device, to solve using existing distributed treatment system The lower technical problem of the efficiency of the processing of resource caused by device process resource in system.
In a first aspect, a kind of method for processing resource provided in an embodiment of the present invention, which comprises
First device receives the processing request message for the first resource that user sends, and includes institute in the processing request message State the mark of user and the type of the first resource;In this way, if the type of the first resource is the first kind, described the One device obtains the corresponding excitation value of the user according to the mark of the user, and according to the type of the first resource and institute It states the corresponding excitation value of user and handles the first resource, obtain the corresponding processing result of the first resource;The user couple The excitation value answered is the total value for the available excitation value that one or more trade companies provide to the user, and the first resource is corresponding Processing result includes the excitation value for handling the first resource and using;Further, the first device is by the mark of the user Know, the excitation value that the type of the first resource and the processing first resource use is sent to second device so that described the Two devices are corresponding to the user extremely according to the type and the processing first resource excitation value used of the first resource A few history resource information is veritified.
In above-mentioned design, resource treatment process and resource information are executed by using first device and second device respectively Verification procedure, the treatment process of resource can be decoupled with verification procedure, in this way, first device was veritified without waiting Journey complete can process resource, so as to improve resource processing efficiency;And by by each trade company be user provide can Use excitation value total value as processing benchmark, so that first device is that can determine the side of processing first resource based on usable levels total value Formula, the case where without analyzing available excitation value that each trade company provides a user, so that resource treatment process is more It is flexible, resource processing more efficient.
In a kind of possible design, the first device is corresponding according to the type of first data and the user The excitation value processing first resource, obtains the corresponding processing result of the first resource, comprising: the first device if it is determined that The corresponding excitation value of the user is greater than or equal to handle the first resource needed for the amount of money, then swash from the user is corresponding It encourages and obtains target excitation value identical with the amount of money needed for the processing first resource in value, and using at the target excitation value Manage the first resource;The first device is if it is determined that the corresponding excitation value of the user is less than needed for handling the first resource The amount of money, then handle the first resource using the payment amount that the corresponding excitation value of the user and the user provide.
In above-mentioned design, by comparing needed for the excitation value total value and processing first resource that each trade company provides a user The amount of money, can determine how execute first transaction, for example, if excitation value total value be greater than or equal to processing first resource needed for The amount of money, then can all using excitation value handle first resource, if excitation value total value be less than processing first resource needed for the amount of money, Excitation value total value and the payment amount processing first resource that user provides then can be used;That is, passing through setting excitation value Total value can simplify the process of the excitation value processing first resource provided using trade company, to improve the efficiency of resource processing.
In a kind of possible design, the method also includes: the first devices from the corresponding excitation value of the user In subtract and handle the excitation value that the first resource uses, obtain the corresponding excitation value of the updated user.
In above-mentioned design, the excitation value total value that each trade company provides a user is safeguarded by first device, it can be by core The process for calculating the process and maintenance excitation value total value of history resource information is decoupled, total so as to update excitation value in real time Volume thereby may be ensured that the timeliness of resource processing without updating excitation value total value again after waiting accounting history resource information And accuracy.
In a kind of possible design, the method also includes: the first device is if it is determined that the first resource meets The excitation condition of first trade company then provides the corresponding available excitation of the first resource to the user by first trade company Value;Further, the first device is corresponding available sharp plus the first resource from the corresponding excitation value of the user Value is encouraged, the corresponding excitation value of the updated user is obtained.
In above-mentioned design, by determining whether first resource meets the excitation condition of trade company, it may be implemented to user couple The excitation value answered carries out real-time update, to guarantee the accuracy using the corresponding excitation value process resource of user.
In a kind of possible design, the method also includes: the first devices by the mark of the user, described The mark of one trade company and the corresponding available excitation value of the first resource are sent to the second device, so that the second device The corresponding history resource information of the first resource is generated according to the corresponding available excitation value of the first resource.
In a kind of possible design, the method also includes: if the type of the first resource is Second Type, institute State further include in the processing request message of first resource resource to be cancelled mark, the first device is according to described wait cancel money The mark in source, which obtains, handles the excitation value that the resource to be cancelled uses;Further, the first device is from the user couple The excitation value used in the excitation value answered plus the processing resource to be cancelled, obtains the corresponding excitation of the updated user Value.
In above-mentioned design, different resource types corresponds to different update modes, in this way, first device can be according to The type of one resource updates excitation value total value using the corresponding update mode of this type, so that resource treatment process It is more flexible, and can more meet actual needs.
In a kind of possible design, the method also includes: the first devices according to the type of the first resource The first resource is handled with the mark of the resource to be cancelled, obtains the processing result of the first resource;First money The processing result in source includes the mark of the resource to be cancelled;Further, the first device is by the mark of the user, institute The mark of the type and the resource to be cancelled of stating first resource is sent to second device, so that the second device is according to The mark of the type of first resource and the resource to be cancelled at least one history resource information corresponding to the user carries out It veritifies.
Second aspect, a kind of method for processing resource provided in an embodiment of the present invention, which comprises
Second device receives mark, the type of the first resource of the user for the triggering first resource that first device is sent With the processing result of the first resource;The processing result of the first resource is the excitation value that the processing first resource uses Or the mark of resource to be cancelled;Further, the second device is according to the processing result of the first resource to the user At least one corresponding history resource information is veritified.
In above-mentioned design, resource treatment process is executed by first device, and history resource is executed by second device The verification procedure of information can make Energy Resources Service's reason process and verification procedure decouple, i.e. verification procedure and resource treatment process can To be executed parallel by two devices respectively, so as to avoid interference of the verification procedure to resource treatment process, Energy Resources Service is improved The efficiency and accuracy of reason.
In a kind of possible design, the second device is according to the processing result of the first resource to one or more The history resource information of trade company is checked and write off, comprising: the second device obtains the user couple according to the mark of the user At least one the history resource information answered;It include to institute in each history resource information of at least one history resource information It states user and provides the available excitation value that can be provided with the mark of the trade company of excitation value and the trade company to the user;Further Ground, if the type of the first resource is the first kind, the second device is from least one described history resource information It chooses and generates the one or more first object history resource informations of time earliest, and gone through to one or more of first objects First can be sent at least one first object trade company of excitation value by, which providing in history resource information the user, veritifies request;Institute It states the available excitation value total value of one or more first object history resource informations and handles the excitation that the first resource uses It is worth identical, described first, which veritifies available excitation value of the request for providing at least one described first object trade company, supports Button;If the type of the first resource is Second Type, it is one corresponding that the second device obtains the resource to be cancelled Or multiple second target histories resource informations, and into one or more of second target histories resource informations to the user Second can be sent at least one second target trade company of excitation value by, which providing, veritifies request, and described second veritifies request for institute The available excitation value for stating the offer of at least one second target trade company compensates.
In above-mentioned design, if first resource is resource to be cancelled (such as reimbursement transaction or revocation transaction), the second dress Invalid state can be set for the state of resource to be cancelled according to the mark of resource to be cancelled by setting, and is returned and handled wait cancel money The process of excitation value used in source to excitation value total value can be executed by first device, thus by resource treatment process and veritification Process decoupling, this kind of mode is more in line with actual conditions, and verification procedure is smaller to the interference of resource treatment process, so as to Improve the efficiency of resource processing.
The third aspect, a kind of resource processing unit provided in an embodiment of the present invention, described device include:
Transceiver module, the processing request message of the first resource for receiving user's transmission, in the processing request message The type of mark and the first resource including the user;
Processing module obtains if the type for the first resource is the first kind according to the mark of the user The corresponding excitation value of the user, and according to the type of the first resource and the corresponding excitation value processing of the user described the One resource obtains the corresponding processing result of the first resource;The corresponding excitation value of the user be one or more trade companies to The total value for the available excitation value that the user provides, the corresponding processing result of the first resource includes handling the first resource The excitation value used;
The transceiver module is also used to the mark of the user, the type of the first resource and processing described first The excitation value that resource uses is sent to second device, so that type and processing institute of the second device according to the first resource Excitation value at least one history resource information corresponding to the user that first resource uses is stated to veritify.
In a kind of possible design, the processing module is specifically used for: if it is determined that the corresponding excitation value of the user is big In or equal to the amount of money needed for the processing first resource, is then obtained from the corresponding excitation value of the user and handle described the The identical target excitation value of the amount of money needed for one resource, and the first resource is handled using the target excitation value;If it is determined that The corresponding excitation value of the user is less than handle the first resource needed for the amount of money, then use the corresponding excitation value of the user The first resource is handled with the payment amount that the user provides.
In a kind of possible design, described device further includes update module, and the update module is used for: from the user It is subtracted in corresponding excitation value and handles the excitation value that the first resource uses, obtain the corresponding excitation of the updated user Value.
In a kind of possible design, the processing module is also used to: if it is determined that the first resource meets the first trade company Excitation condition, then the corresponding available excitation value of the first resource is provided to the user by first trade company;Into one Step ground, the corresponding available excitation value of the first resource is added from the corresponding excitation value of the user, obtains updated institute State the corresponding excitation value of user.
In a kind of possible design, the transceiver module is also used to: by the mark of the user, first trade company It identifies available excitation value corresponding with the first resource and is sent to the second device, so that the second device is according to The corresponding available excitation value of first resource generates the corresponding history resource information of the first resource.
In a kind of possible design, the processing module is also used to: if the type of the first resource is Second Type, It then further include the mark of resource to be cancelled in the processing request message of the first resource, according to the mark of the resource to be cancelled It obtains and handles the excitation value that the resource to be cancelled uses;Further, plus processing from the corresponding excitation value of the user The excitation value that the resource to be cancelled uses obtains the corresponding excitation value of the updated user.
In a kind of possible design, the processing module is also used to: according to the type of the first resource and it is described to The mark for cancelling resource handles the first resource, obtains the processing result of the first resource;The processing of the first resource It as a result include the mark of the resource to be cancelled;Further, by the mark of the user, the type of the first resource and institute The mark for stating resource to be cancelled is sent to second device, so that the second device is according to the type of the first resource and described The mark of resource to be cancelled at least one history resource information corresponding to the user is veritified.
Fourth aspect, a kind of resource processing unit provided in an embodiment of the present invention, described device include:
Transceiver module, the mark of the user of the triggering first resource for receiving first device transmission, the first resource Type and the first resource processing result;The processing result of the first resource handles the first resource and uses The mark of excitation value or resource to be cancelled;
Module is veritified, at least one history money corresponding to the user of the processing result according to the first resource Source information is veritified.
In a kind of possible design, the veritification module is specifically used for: according to the mark of the user, obtaining the use At least one corresponding history resource information of family;Include in each history resource information of at least one history resource information The available excitation value that can be provided with the mark of the trade company of excitation value and the trade company to the user is provided the user;Into one Step ground, if the type of the first resource is the first kind, when choosing generation from least one described history resource information Between earliest one or more first object history resource informations, and to one or more of first object history resource informations In the user provided to send first at least one first object trade company of excitation value and veritify request;It is one or more The available excitation value total value of a first object history resource information is identical as the excitation value that the first resource uses is handled, described First, which veritifies available excitation value of the request for providing at least one described first object trade company, deducts;If described first The type of resource is Second Type, then obtains the corresponding one or more second target histories resource letters of the resource to be cancelled Breath, and at least one that can use excitation value is provided into one or more of second target histories resource informations the user Second target trade company sends second and veritifies request, and described second veritifies request for mentioning at least one described second target trade company The available excitation value supplied compensates.
5th aspect, a kind of computer readable storage medium provided in an embodiment of the present invention, including instruction, when it is being calculated When being run on machine, so that computer executes the method for processing resource as described in above-mentioned first or second aspect is any.
6th aspect, a kind of computer program product provided in an embodiment of the present invention make when run on a computer Obtain method for processing resource of the computer execution as described in above-mentioned first or second aspect is any.
The aspects of the invention or other aspects can more straightforwards in the following description.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of corresponding flow diagram of method for processing resource provided in an embodiment of the present invention;
Fig. 2 is a kind of corresponding flow diagram of transaction processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of system architecture schematic diagram of transaction processing system provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of resource processing unit provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another resource processing unit provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of rear end equipment provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Financial technology (Fintech), which refers to, behind information technology involvement financial field, to be that financial field bring is a kind of new Creative Science and Technology Co. Ltd, assist realizing that financial operation, transaction execute and financial system is improved by using advanced information technology, can To promote treatment effeciency, the business scale of financial system, and cost and financial risks can be reduced.In general, financial technology Field would generally be related to largely trading, such as transaction between user and the transaction of trade company, different trade companies etc., how use The means of science and technology excavate feature required for financial field from a large amount of transaction, are always the mesh that financial technology field is pursued Mark.
In general, multiple trade companies, each trade company in multiple trade companies can be set in distributed processing system(DPS) Oneself the existing threshold that returns is arranged, during user executes transaction by distributed processing system(DPS), if the transaction meet it is a certain Trade company returns existing threshold, then the trade company can provide a user certain reward (i.e. excitation value) by distributed processing system(DPS), For the rewards store in distributed processing system(DPS), which is general in distributed processing system(DPS).In this way, if user passes through Distributed processing system(DPS) executes another transaction, then distributed processing system(DPS) can be used in another transaction of reward deduction user Some or all of shopping money;And another transaction of user execute after the completion of, distributed processing system(DPS) can to the trade company into Capable request of withholing, so that the trade company pays the reward that distributed processing system(DPS) is user's deduction, (process is properly termed as cost core It calculates).
In one possible implementation, the stimulation arrangement unit and excitation that oneself can be set in each trade company are provided Unit, really directional user mentions the stimulation arrangement rule that the stimulation arrangement unit of each trade company can be used for being arranged according to each trade company The excitation value of confession, to motivate issuing unit that can provide excitation value to user according to stimulation arrangement unit, each trade company swashs It encourages configuration unit and excitation is provided module and be can be set in distributed processing system(DPS).Correspondingly, in distributed processing system(DPS) On-line transaction device can store the corresponding reward detail list of each trade company, press in the corresponding reward detail list of each trade company The reward situation that the trade company provides to each user is enumerated according to time sequencing;If receiving the transaction request of a certain user, On-line transaction device can be determined according to the corresponding reward detail list of each trade company and be deducted using the reward of which trade company The user's this time does shopping.
For example, trade company 1 has provided a user first~third time that excitation value is respectively 50,25,25 and has rewarded, trade company 2 have provided a user the 4th and the 5th reward that excitation value is respectively 50,20, and it is 100 that trade company 3, which has provided a user excitation value, The 6th reward, the time sequencings of this six times rewards are respectively as follows :-the four reward of reward-second-the five of reward for the first time Secondary reward-third time rewards-the six reward, if user needs to spend 250 excitation values, on-line transaction dress in certain shopping This six times rewards can be ranked up according to the time after obtaining the corresponding reward detail list of 1~trade company, trade company 3 by setting, And then it the acquisition excitation value rewarded at least once identical with shopping excitation value can be supported as this from this six times rewards The excitation value of button, i.e., this time the excitation value that can deduct include for the first time 50 excitation values of reward, the 4th reward 50 excitation values, In 25 excitation values of second of reward, 50 excitation values of the 5th reward, 25 excitation values of third time reward and the 6th reward 50 excitation values;In this way, trade company 1 can be used after on-line transaction device is calculated by the incentive message to each trade company 50 excitation values that 100 excitation values provided with trade company 2 and trade company 3 provide execute this time shopping process of user.
In above-mentioned implementation, on-line transaction unit needs to be performed simultaneously cost accounting process and process of exchange, may Process of exchange can be caused to be interfered due to cost accounting process, so that the treatment effeciency of transaction is poor;And in each trade company Need to be arranged stimulation arrangement unit and excitation issuing unit, the memory so as to cause the system of occupancy is more, and operating process is more multiple It is miscellaneous.
Based on this, the embodiment of the invention provides a kind of method for processing resource, are held for improving using the excitation value of trade company The treatment effeciency of row transaction.
Fig. 1 is a kind of corresponding flow diagram of method for processing resource provided in an embodiment of the present invention, method for processing resource Executing subject can be the on-line transaction device in distributed processing system(DPS), this method comprises:
Step 101, first device receives the processing request message for the first resource that user sends.
It herein, may include the mark and the first money for triggering the user of first resource in the processing request message of first resource The type in source.Wherein, the type of first resource can be the first kind or Second Type, and the first kind is class relevant to consumption Type, Second Type are relevant to retracting type, such as revocation, reimbursement etc..
Step 102, first resource is handled using the processing method that the type with first resource matches, obtains first resource Processing result.
In specific implementation, if the type of first resource is the first kind, first device can be obtained according to the mark of user Take the corresponding excitation value in family.Wherein, the corresponding excitation value of user can provide a user available for one or more trade companies The total value of excitation value, such as trade company 1 provide a user 50 excitation values, and trade company 2 provides a user 20 excitation values, and trade company 3 is to user 60 excitation values are provided, then the corresponding excitation value of user can be 130 excitation values.
Further, first device can be according to the type of first resource and corresponding the first money of excitation value processing of user Source obtains the corresponding processing result of first resource.Wherein, the corresponding processing result of first resource may include processing first resource The excitation value used.For example, if user has used 50 excitation values to carry out a certain shopping row in distributed processing system(DPS) For if the corresponding processing result of the Shopping Behaviors can be 50 excitation values.
Step 103, the excitation value that first device uses the mark of user, the type of first resource and processing first resource It is sent to second device.
In specific implementation, if second device receive first device transmission the mark of user, the type of first resource and The excitation value that processing first resource uses is sent to second device, then can be according to the type and processing first resource of first resource The excitation value used at least one history resource information corresponding to user is veritified.Wherein, user it is corresponding at least one History resource information can refer to that one or more trade companies provide a user information corresponding to the behavior of available excitation value, than Such as, however, it is determined that can be responsible for using 50 that trade company 1 provides with excitation value for the secondary Shopping Behaviors, then can provide 50 to trade company 1 can It is veritified with the corresponding history resource information of the behavior of excitation value.
In the above embodiment of the present invention, first device receives the processing request message for the first resource that user sends, institute State includes the mark of the user and the type of the first resource in processing request message;In this way, if the first resource Type is the first kind, then the first device obtains the corresponding excitation value of the user, and root according to the mark of the user The first resource is handled according to the type of the first resource and the corresponding excitation value of the user, obtains the first resource pair The processing result answered;The corresponding excitation value of the user is the available excitation value that one or more trade companies provide to the user Total value, the corresponding processing result of the first resource includes the excitation value for handling the first resource and using;Further, described First device sends the excitation value that the mark of the user, the type of the first resource and the processing first resource use To second device, so that the excitation that the second device is used according to the type and the processing first resource of the first resource Value at least one history resource information corresponding to the user is veritified.In the embodiment of the present invention, by using the first dress The verification procedure for executing resource treatment process and resource information respectively with second device is set, it can be by the treatment process and core of resource The process of testing is decoupled, in this way, first device without waiting for verification procedure complete can process resource, so as to improve resource The efficiency of processing;And by being the available excitation value total value that provides of user as processing benchmark using each trade company, so that first fills The mode that can determine processing first resource based on usable levels total value is set, is provided a user without each trade company of analysis available The case where excitation value so that resource treatment process is more flexible, resource processing it is more efficient.
The implementation procedure of method for processing resource is described by taking transaction processing method as an example below, it is possible to understand that ground, it is of the invention The following example is only a kind of example of the method for processing resource in the present invention, and restriction is not constituted to it;That is, this hair Method for processing resource in bright embodiment also can be applied to other fields, be not construed as limiting herein.
It should be noted that the transaction in the following example is resource, the historical trading bill in the following example is For history resource information.
Fig. 2 is a kind of corresponding flow diagram of transaction processing method provided in an embodiment of the present invention, this method comprises:
Step 201, first device receives the transaction request message for the first transaction that user sends.
By taking user buys the commodity a of trade company A as an example, user can click the corresponding icon of commodity a in transaction platform, thus Trigger the transaction request message that transaction platform generates the first transaction.Specifically, if detecting, user clicks the corresponding figure of commodity a Mark, then transaction platform can determine that user is the transaction first party of the first transaction, and trade company A belonging to commodity a is the first transaction Transaction second party, the type of transaction of the first transaction is type of transaction relevant to consumption, and the transaction amount of the first transaction is quotient The purchase amount of money of product a;In this way, transaction platform can according to first transaction transaction first party, transaction second party, type of transaction and Transaction amount generates the transaction request message of the first transaction.
In the embodiment of the present invention, the type of transaction of transaction may include the first type of transaction and the second type of transaction, and first Type of transaction can be type of transaction relevant to consumption, for example buy commodity, supplement telephone expenses, purchase game money with money etc.;Second hands over Easy type can be type of transaction relevant to retracting, for example cancels a certain transaction, applies for a refund to a certain transaction.Above-mentioned In example, the type of transaction of the first transaction can be the first type of transaction.
The type of transaction that first transaction is described below is the example of the second type of transaction:
If user has purchased the commodity a of trade company A in certain primary transaction B, it is corresponding that transaction platform can store transaction B The order page, can be set in the corresponding order page of transaction B it is multiple can handle icon, it is icon of not applying for a refund such as, logical Believe icon etc..Correspondingly, if detecting, user triggers the icon of applying for a refund in the corresponding order page of transaction B, trades Platform can determine that user is the transaction first party of the first transaction, and trade company A belonging to commodity a is the transaction second of the first transaction Side, first transaction type of transaction be the second type of transaction, and first transaction be identified as transaction B mark;In this way, transaction is flat Platform can generate the first transaction according to the mark of the transaction first party of the first transaction, transaction second party, type of transaction and transaction B Transaction request message.
Further, the transaction request message of the first transaction can be sent to first device by transaction platform.Wherein, first Device can be the built-in in transaction platform, in this way, content performed by transaction platform can be by first in the above process Device executes;Alternatively, first device can be the device being arranged in except transaction platform, in this way, transaction platform is generating the After the transaction request message of one transaction, the transaction request message of the first transaction can be sent to by the first dress by wired mode It sets, or the transaction request message that first trades can also be sent to first device wirelessly, be specifically not construed as limiting.
Step 202, first device executes the first transaction, and updates the corresponding excitation value of user.
In specific implementation, first device can obtain the corresponding excitation value of user previously according to the mark of user;Wherein, it uses The total value for the available excitation value that the corresponding excitation value in family can provide a user for one or more trade companies.For example, trade company A1To User X provides the available excitation value that the amount of money is respectively 50,25,25, trade company A2Having provided a user the amount of money is respectively 50,50 Excitation value, trade company A can be used3The available excitation value that the amount of money is 100 is provided a user, then the corresponding excitation value of user X can be Trade company A1~trade company A3The total value of the available excitation value provided to user X;Due to trade company A1~trade company A3It is provided altogether to user X Six available excitation values, the total value of this six available excitation values are 300, and therefore, the corresponding excitation value of user X can be 300.
In the embodiment of the present invention, the type of transaction of the first transaction is different, and the mode for executing the first transaction is also different, divides below The mode of the first transaction is not executed from situation one and the description of situation two.
Situation one
In situation one, the type of transaction of the first transaction is type (i.e. the first type of transaction) relevant to consumption.
In specific implementation, if the type of transaction of the first transaction is the first type of transaction, first device is obtaining X pairs of user After the excitation value (i.e. 300) answered, first can be executed according to the transaction amount that the corresponding excitation value of user X and first are traded and handed over Easily, the transaction results of the first transaction are obtained.In one example, first device if it is determined that the corresponding excitation value of user X be greater than or Equal to the transaction amount of the first transaction, then the transaction amount phase with the first transaction can be obtained from the corresponding excitation value of user X Same target excitation value, and the first transaction is executed using target excitation value;Correspondingly, first device is if it is determined that user X is corresponding The payment amount that the corresponding excitation value of user X and user X are provided then can be used less than the transaction amount of the first transaction in excitation value Execute the first transaction.
For example, if the first transaction is the commodity that the user X purchase amount of money is 250, the transaction amount of the first transaction is 250, since the corresponding excitation value of user X is 300, first device determines that the corresponding excitation value of user X is greater than the first transaction Transaction amount;In this way, first device can obtain the amount of money from 300 excitation values is 250 target excitation value, and can be used Target excitation value executes the first transaction;In that case, the transaction results of the first transaction may include executing the first transaction to make Excitation value (i.e. 250 excitation values).Correspondingly, if the first transaction is the commodity that the user X purchase amount of money is 350, first is handed over Easy transaction amount is 350, since the corresponding excitation value of user X is 300, first device determines the corresponding excitation of user X It is worth the transaction amount less than the first transaction;In this way, 50 payments that 300 excitation values and user X are provided can be used in first device The amount of money executes the first transaction;In that case, first transaction transaction results may include execute first transaction use swash Encourage value (i.e. 300 excitation values).
In one possible implementation, it is corresponding can also to update user X after the transaction of execution first for first device Excitation value, for example, if first device performs the first transaction using 250 excitation values, it can be by the corresponding excitation value of user X more New is 50, for another example, can be by the corresponding excitation value of user X if first device performs the first transaction using 300 excitation values It is updated to 0.
In one example, if the first transaction meets the excitation condition of the first trade company, first device can pass through first Trade company provides the corresponding available excitation value of the first transaction to user X, and can be updated to the corresponding excitation value of user X.It lifts For example, if the excitation condition of the first trade company is that payment amount full 50 provides excitation value 25 in transaction platform, if the first dress It sets and executes the first transaction using 50 payment amounts that 300 excitation values and user X are provided, i.e., the payment amount 50 of user is equal to the The excitation condition 50 of one trade company, the first transaction meet the excitation condition of the first trade company;In this way, first device can pass through the first quotient Family provides the first transaction corresponding available excitation value 25 to user X, and the corresponding excitation value of user X can be updated to 25.
Correspondingly, first device can also provide the mark of user, the mark of the first trade company and the first trade company for user The first corresponding excitation value of transaction be sent to second device so that second device is according to the mark of user, the mark of the first trade company Know and the first trade company is that the first corresponding excitation value of transaction that user provides generates the corresponding transaction of the secondary excitation value distribution process Bill.
In the embodiment of the present invention, by the transaction for comparing excitation value total value and the first transaction that each trade company provides a user The amount of money can determine how to execute the first transaction, specifically, if excitation value total value is greater than or equal to the trade gold of the first transaction Volume then all can execute the first transaction using excitation value, can be with if transaction amount of the excitation value total value less than the first transaction The first transaction is executed using the excitation value that excitation value total value and user provide;That is, by setting excitation value total value, it can be with Simplify the process that the first transaction is executed using the excitation value that trade company provides, to improve the treatment effeciency of transaction.
In conclusion may include in the transaction results of the first transaction if the first transaction is transaction relevant to consumption Execute the excitation value that the first transaction uses.
Situation two
In situation two, the type of transaction of the first transaction is type (i.e. the second type of transaction) relevant to cancellation.
In specific implementation, if the type of transaction of the first transaction is the second type of transaction, first device is available wait take Disappear the excitation value that uses of transaction, so the corresponding excitation value of user X can be updated to the corresponding former excitation value of user X with wait take Disappear transaction use excitation value and value.For example, if having used 200 excitation values wait Cancel Transaction, the corresponding excitation of user X Value is 300, then the corresponding excitation value of user X can be updated to 500 by first device.In one example, if wait Cancel Transaction 200 excitation values and 300 payment amounts of user X are used simultaneously, then 300 payment amounts can also be retracted user by first device The former payment account of X.
Wherein, first device obtain wait the excitation value used that Cancels Transaction mode can there are many, a kind of possible In implementation, it may include mark to be Cancelled Transaction and used wait Cancel Transaction in the transaction request message of the first transaction Excitation value, first device can be obtained from the transaction request message of the first transaction wait the excitation value used that Cancels Transaction.Specifically Ground is said, available wait cancel if transaction platform detects in the user X triggering order page wait the corresponding icon that Cancels Transaction It trades corresponding Transaction Information;For example, if buying the commodity that the amount of money is 500 in trade company B wait Cancel Transaction for user X, wherein to It Cancels Transaction and has used 300 payment amounts of 200 excitation values and user X in the corresponding excitation value of user X, then wait Cancel Transaction Corresponding Transaction Information may include the mark of trade company B, mark to be Cancelled Transaction, wait Cancel Transaction the excitation value that uses (i.e. 200) and wait the user X used that Cancels Transaction payment amount (i.e. 300);In this way, first device can be according to wait Cancel Transaction Corresponding Transaction Information generates the transaction request message of the first transaction, i.e., may include in the transaction request message of the first transaction to The mark that Cancels Transaction and wait the excitation value used that Cancels Transaction.
It may include to be Cancelled Transaction in the transaction request message of the first transaction in alternatively possible implementation Mark, in this way, first device can send query messages to second device, the query messages are for second device according to wait take The mark of transaction of disappearing is obtained wait the excitation value used that Cancels Transaction.Specifically, can recorde the history of user X in second device Transaction, if second device receive first device transmission after the mark to Cancel Transaction, can inquire with it is to be Cancelled Transaction Matched target histories transaction is identified, to obtain the target excitation value that target histories transaction uses, and target excitation value is sent out Give first device;Correspondingly, after first device receives the target excitation value that second device is sent, it can determine and be handed over wait cancel Target excitation value is easily used.
In conclusion may include in the transaction results of the first transaction if the first transaction is transaction relevant to cancellation Mark to be Cancelled Transaction.
In the embodiment of the present invention, first device can use different update methods pair based on the type of transaction of the first transaction The corresponding excitation value of user is updated, to be more in line with actual conditions, and the user that update can be made to obtain is corresponding Excitation value is more accurate, improves the accuracy of trading processing.
Step 203, first device is according to the mark of user, the transaction results of the type of transaction of the first transaction and the first transaction Request message is checked and write off in generation.
Table 1 is a kind of schematic table for checking and writing off request message provided in an embodiment of the present invention.
A kind of table 1: signal for checking and writing off request message
The mark of user The type of transaction of first transaction The transaction results of first transaction
User X First type of transaction The excitation value that first transaction uses
User X Second type of transaction Mark to be Cancelled Transaction
As shown in table 1, if the type of transaction of the first transaction is the first type of transaction, the transaction results of the first transaction can be with To execute the excitation value that the first transaction uses;If the type of transaction of the first transaction is the second type of transaction, the friendship of the first transaction Easy result is mark to be Cancelled Transaction.
Step 204, first device will check and write off request message and be sent to second device.
In specific implementation, first device and second device can be arranged in transaction platform, or can also be respectively provided with Except transaction platform, or it can be arranged in transaction platform with first device, second device is arranged except transaction platform, Or can also be arranged except transaction platform with first device, second device is arranged in transaction platform;First device can lead to It crosses wired mode to connect with second device, or can also be connect wirelessly with second device, is specifically not construed as limiting.
In the embodiment of the present invention, the mark of user, the type of transaction of the first transaction and first are traded by first device Transaction results be sent to second device, can make second device based on first transaction type of transaction and first transaction friendship Easy result checks and writes off the historical trading bill stored in second device.
Step 205, second device checks and writes off behaviour according to the type of transaction of the first transaction and the transaction results of the first transaction, execution Make.
In the embodiment of the present invention, if second device receive first device transmission check and write off request message, can basis The mark of user X obtains the corresponding at least one historical trading bill of user X.Specifically, can store in second device The corresponding at least one historical trading bill of user X, can be in every historical trading bill of at least one historical trading bill Be stored with generate the transaction ID of this historical trading bill, this historical trading bill the generation time, can to user X offer Available cash is returned with what the mark and the trade company of the trade company of excitation value were provided to user X.
Table 2 is a kind of schematic table of the corresponding at least one historical trading bill of user X.
A kind of table 2: signal of at least one historical trading bill
Transaction ID User identifier Merchant identification Generate the time Excitation value State
Trade B1 User X Trade company A1 2019.04.20 50 It is not used
Trade B2 User X Trade company A1 2019.05.22 25 It is not used
Trade B3 User X Trade company A1 2019.05.30 25 It is not used
Trade B4 User X Trade company A2 2019.04.10 50 It is not used
Trade B5 User X Trade company A2 2019.05.15 50 It has used
Trade B6 User X Trade company A3 2019.05.30 50 It is not used
As shown in table 2, it can recorde trade company A in table 21~trade company A3It is provided respectively to user X before 2019.06.01 Excitation value can be used, with trade company A1For, trade company A1It is rewarded three times to user X altogether, reward is in 2019.04.20 for the first time When to user X provide the available excitation value that the amount of money is 50, second reward is to provide gold to user X in 2019.05.22 The available excitation value that volume is 25, third time reward are to provide the available excitation that the amount of money is 25 to user X in 2019.05.30 Value.
It as shown in table 2, in one example, can be in every historical trading bill of at least one historical trading bill It is stored with the mark of the corresponding transaction of this historical trading bill, i.e. this historical trading bill is generated in which transaction 's.For example, this historical trading bill is trade company A such as the historical trading bill that the 4th row of table 2 is illustrated12019.05.30 to The 25 of user X offer can use excitation value, and the corresponding transaction ID of this historical trading bill is transaction B3, illustrate this history Bill of trading is that user X executes transaction B3When trade company A1It is provided to user X.
In the embodiment of the present invention, the type of transaction of the first transaction is different, and the mode that second device execution is checked and write off is also different, under The specific implementation process checked and write off in at least one historical trading bill description embodiment of the present invention that face is illustrated based on table 2.
Situation one
In situation one, the type of transaction of the first transaction is the first type of transaction (type of transaction i.e. relevant to consumption).
In specific implementation, if the type of transaction of the first transaction is type relevant to consumption, second device can basis It executes the excitation value that the first transaction uses and chooses generation time earliest one or more from least one historical trading bill Target histories transaction bill, and then excitation value can be used to user X granting in the bill that can trade to one or more target histories At least one target trade company send check and write off request.Wherein, the available excitation value of one or more target histories transaction bills is total Volume is identical as the excitation value that the first transaction uses is executed, and checks and writes off request and withholds for executing at least one target trade company.
For example, at least one historical trading bill illustrated based on table 2, if executing the first transaction has used 250 Excitation value, then second device can using historical trading bill shown in the 2nd row~the 7th row in table 2 as target histories bill, into And according to generate time sequencing successively use 50 excitation values in table 2 in historical trading bill shown in the 5th row, the 1st row in table 2 Shown in 50 excitation values in historical trading bill, 50 excitation values in table 2 in historical trading bill shown in the 6th row, in table 2 25 excitation values in 25 excitation values, table 2 in historical trading bill shown in 2nd row in historical trading bill shown in the 3rd row And 50 excitation values in table 2 in historical trading bill shown in the 7th row are to trade company A1~trade company A3It withholds.That is, Second device is to trade company A1Executing the amount of money withholdd is 100, to trade company A2Executing the amount of money withholdd is 100, to trade company A3Execute button The amount of money of money is 50.
To trade company A1For execution is withholdd, in one example, second device can be to trade company A1It sends once to withhold and ask It asks, it includes withholing volume 100 that this time, which is withholdd in request,;In another example, second device can be to trade company A1Transmission is detained three times Money request, request of withholing three times respectively includes the volume of withholing 50, withhold volume 25 and volume 25 of withholing.
In one possible implementation, if the first transaction meets the first trade company (such as trade company A1) excitation condition, Then first device can also send trade company A to second device1Mark, the mark of user X, trade company A1First provided to user X It trades corresponding available excitation value (such as 25 excitation values).In this way, second device can be at least one history that table 2 is illustrated The corresponding historical trading bill of the first transaction of addition in bill of trading, the historical trading bill updated can be as shown in table 3.
A kind of table 3: signal of updated historical trading bill
Transaction ID User identifier Merchant identification Generate the time Excitation value State
Trade B1 User X Trade company A1 2019.04.20 50 It has used
Trade B2 User X Trade company A1 2019.05.22 25 It has used
Trade B3 User X Trade company A1 2019.05.30 25 It has used
Trade B4 User X Trade company A2 2019.04.10 50 It has used
Trade B5 User X Trade company A2 2019.05.15 50 It has used
Trade B6 User X Trade company A3 2019.05.30 50 It has used
First transaction User X Trade company A3 2019.05.30 50 It is not used
It as shown in table 3, can also include the state of each historical trading bill in updated historical trading bill, due to Trade company A is used1100 excitation values and trade company A provided a user2100 excitation values provided a user, therefore, table 2 (or table 3) In the state of historical trading bill shown in the 2nd row~the 6th row can be set to use state;Accordingly, due to using quotient Family A350 excitation values provided a user execute the first transaction, and therefore, historical trading bill shown in the 7th row can be drawn in table 2 It is divided into two strip historical trading bills shown in the 7th row and eighth row in table 3, sub- historical trading bill shown in the 7th row in table 3 State can be set to use state, the state of sub- historical trading bill shown in eighth row can be set to not make in table 3 Use state;Further, due to trade company A1Excitation value can be used by providing 25 to user X, therefore, can be added the 9th row in table 3 This historical trading bill, and the state of this historical trading bill can be set to unused state.
In the embodiment of the present invention, calculation process is executed by second device, the pressure of first device processing transaction can be mitigated Power, i.e. calculation process can not interfere process of exchange, so as to improve the treatment effeciency of transaction;And pass through first Device separately maintains the excitation value total value that each trade company provides a user, can by second device calculate excitation bill process with The process of maintenance excitation value total value is decoupled, so as to update excitation value total value in real time, without waiting second device Excitation value total value is updated again after calculating excitation bill, thereby may be ensured that the accuracy of trading processing.
Situation two
In situation two, the type of transaction of the first transaction is the second type of transaction (type of transaction i.e. relevant to cancellation).
In specific implementation, if first transaction type of transaction be the second type of transaction, second device can from one or Acquisition and the matched target histories transaction bill of mark to be Cancelled Transaction in a plurality of historical trading bill, and then can be by target The state of historical trading bill is set as invalid state.For example, if to be Cancelled Transaction is identified as transaction B3, then handed over wait cancel Easy mark matched target histories transaction bill is historical trading bill shown in the 4th row of table 2, in this way, second device can be with Invalid state is set by the state of historical trading bill shown in the 4th row of table 2, as shown in table 4.
In one example, if executing the excitation for having used historical trading bill shown in the 5th row of table 2 when Cancelling Transaction Value, then the state of historical trading bill shown in the 5th row of table 2 can also be reverted to unused state by second device, such as 4 institute of table Show.It is withholdd when Cancelling Transaction to trade company accordingly, due to executing, therefore, second device can also be to the 5th row of table 2 Shown in the corresponding trade company B of historical trading bill4Carry out extra money operation.
A kind of table 4: signal of updated historical trading bill
Transaction ID User identifier Merchant identification Generate the time Excitation value State
Trade B1 User X Trade company A1 2019.04.20 50 It is not used
Trade B2 User X Trade company A1 2019.05.22 25 It is not used
Trade B3 User X Trade company A1 2019.05.30 25 It is not used
Trade B4 User X Trade company A2 2019.04.10 50 In vain
Trade B5 User X Trade company A2 2019.05.15 50 It is not used
Trade B6 User X Trade company A3 2019.05.30 50 It is not used
In the above embodiment of the present invention, first device receives the transaction request message for the first transaction that user sends, institute State the mark in transaction request message including the user and the type of transaction of first transaction;If the friendship of first transaction Easy type is the first type of transaction, then the first device obtains the corresponding excitation of the user according to the mark of the user Value, and first transaction is executed according to the type of transaction of first transaction and the corresponding excitation value of the user, obtain institute State the transaction results of the first transaction;It is available that the corresponding excitation value of the user is that one or more trade companies provide to the user The total value of excitation value, the transaction results of first transaction include the excitation value for executing first transaction and using;Further, The excitation value that the first device uses the mark of the user, the type of transaction of first transaction and first transaction It is sent to second device, so that the second device was used according to the type of transaction and first transaction of first transaction Excitation value at least one historical trading bill corresponding to the user is checked and write off.In the embodiment of the present invention, first device base Can determine how to execute the first transaction in the reward total value that each trade company provides a user, without analyze each trade company to The each reward that family provides, so as to improve the treatment effeciency that the reward for using trade company to provide executes the transaction of user;This Outside, process of exchange and calculation process are executed by using first device and second device respectively, by process of exchange and can be calculated Transaction can be individually performed without waiting for calculation process completion in process decoupling, first device, hand over so as to further improve Easy treatment effeciency.
For method flow illustrated in Figure 2, the embodiment of the present invention also provides a kind of transaction processing system, the tool of the system Hold in vivo and is referred to above method implementation.
Fig. 3 is a kind of configuration diagram of transaction processing system provided in an embodiment of the present invention, as shown in figure 3, the system It may include on-line transaction unit 100, stimulation arrangement unit 200, excitation issuing unit 300, actuation event acquisition list in framework Member 400 and checks and writes off unit 500.Wherein, the trading activity of at least one the available user of on-line transaction unit 100, i.e. user The transaction executed in transaction platform can be brought online transaction unit 100 and detect;Stimulation arrangement unit 200 and excitation are provided Unit 300 can be connect at least one trade company (such as 601~trade company, trade company 603) respectively, in this way, stimulation arrangement unit 200 It can determine whether the transaction meets the excitation condition of a certain trade company according to user trading activity, if satisfied, can then pass through Issuing unit 300 is motivated to provide excitation value to user;Correspondingly, actuation event acquisition unit 400 can respectively with on-line transaction Unit 100 and excitation issuing unit 300 connect, so that it is determined that whether the trading activity of user triggers actuation event, however, it is determined that Actuation event is triggered, then actuation event can be sent to and check and write off unit 500, in this way, checking and writing off unit 500 can be according to excitation Event checks and writes off 601~trade company, trade company 603.
In the embodiment of the present invention, as shown in figure 3, being also provided with presetting database 700, present count in the system architecture According to having can store the corresponding excitation value of at least one user in library, wherein the corresponding excitation value of each user can be trade company The total value for the available excitation value that 601~trade company 603 provides to the user;For example, trade company 601 provides a user 100 excitation values, quotient Family 602 provides a user 200 excitation values, and trade company 603 provides a user 100 excitation values, then the corresponding excitation value of user can be 400。
In specific implementation, if on-line transaction unit 100 detects user's triggering the first transaction relevant to consumption type, The spending amount that on-line transaction unit 100 available first is traded, and then the user couple can be obtained from presetting database The excitation value answered.If it is determined that the corresponding excitation value of the user (such as 400) be greater than or equal to first transaction spending amount (such as 300) excitation value identical with the spending amount of the first transaction in the corresponding excitation value of the user, then can be used and execute the first friendship Easily;If it is determined that spending amount (such as 300) of the corresponding excitation value of the user (such as 200) less than the first transaction, then it can be to User sends prompt information, and the use can be used for prompting user to provide payment amount (i.e. 100) in the prompt information The payment amount that the corresponding excitation value in family and user provide executes the first transaction.
Further, on-line transaction unit 100 can be after the transaction of execution first, more according to the transaction results of the first transaction The corresponding excitation value of new user, for example, if executing the excitation value that the first transaction uses is 300, it can be corresponding sharp by user Encourage value and be updated to 100 from 400, if executing the first excitation value for using of transaction is 400, can by the corresponding excitation value of user from 400 are updated to 0.
In the embodiment of the present invention, actuation event acquisition unit 400 can be according to predetermined period or real-time detection on-line transaction The state of unit 100, however, it is determined that on-line transaction unit 100 performs transaction relevant to consumption type, then consumption can be generated Event;Wherein, may include in consumption event consumption event use excitation value, execute the payment of user that consumption event uses The amount of money and the mark of user etc..Further, consumption event can be sent to and check and write off unit by actuation event acquisition unit 400 500, it checks and writes off and can store the historical trading bill executed between user and 601~trade company, trade company 603 inside unit 500;Such as This, historical trading bill can be updated according to consumption event by checking and writing off unit 500, on the one hand, checking and writing off unit 500 can be according to this Consumption event generates new historical trading bill;On the other hand, if this consumption event has used in a certain historical trading bill Available excitation value, then historical trading bill can be updated according to excitation value that this consumption event uses by checking and writing off unit 500 State, and can be to using the corresponding trade company of historical trading bill of excitation value to withhold.
In one possible implementation, consumption event can also be sent to excitation by actuation event acquisition unit 400 Configuration unit 200 can store the excitation condition of 601~trade company, trade company 603 inside stimulation arrangement unit 200, in this way, excitation Configuration unit 200 can analyze the excitation the condition whether consumption event triggers 601~trade company, trade company 603, however, it is determined that this disappears Bothersome part triggers the excitation condition of trade company 601, then can provide excitation value to user by excitation issuing unit 300;For example, If the excitation value that excitation issuing unit 300 is provided to user is 300, can be by the corresponding excitation of the user in presetting database Value is updated to 300 from 0.
In the embodiment of the present invention, actuation event acquisition unit 400 can also be according to predetermined period or real-time detection excitation hair Put the state of unit 300, however, it is determined that excitation issuing unit 300 provides excitation value to user, then excitation granting event can be generated; It may include the excitation value provided to user of mark, the mark of user, trade company 601 of trade company 601 in excitation granting event and sharp Encourage the generation time etc. of granting event.Further, excitation granting event can be sent to core by actuation event acquisition unit 400 Sell unit 500;In this way, new historical trading bill can be generated according to this excitation granting event by checking and writing off unit 500, to make Obtaining the subsequent process of checking and writing off can be used updated historical trading bill, guarantee the accuracy checked and write off.
The type of transaction that the above process describes the first transaction is to execute transaction and core to when consuming relevant type of transaction The specific implementation process of pin, be described below the first transaction type of transaction be to cancel relevant type of transaction when execute transaction and The specific implementation process checked and write off.
It, can be with if on-line transaction unit 100 detects user's triggering and the relevant transaction of cancellation type in specific implementation Acquisition executes the used excitation value (such as 100) when Cancelling Transaction, and then can be corresponding by user in presetting database Excitation value is updated to 500 from 400.Correspondingly, actuation event acquisition unit 400 can be online according to predetermined period or real-time detection The state of transaction unit 100, however, it is determined that on-line transaction unit 100 updates the corresponding excitation value of user, then can give birth to At the event of cancellation;It wherein, may include the mark and mark to be Cancelled Transaction of user in cancellation event.
Further, cancellation event can be sent to and check and write off unit 500 by actuation event acquisition unit 400, in this way, checking and writing off Unit 500 can be according to cancellation event update historical trading bill.On the one hand, checking and writing off unit 500 can be from historical trading bill In obtain wait the corresponding historical trading bill that Cancels Transaction, and can be by the state wait the corresponding historical trading bill that Cancels Transaction It is set as invalid state;On the other hand, checking and writing off unit 500 can be according to executing wait excitation value used in Cancelling Transaction from history Target transaction bill is obtained in bill of trading, due to setting the state of target transaction bill to when Cancelling Transaction executing Use state, and withholdd to the corresponding trade company of target transaction bill, therefore, checking and writing off unit 500 can be by target transaction The state of bill is updated to unused state by use state, and can be mended to the corresponding trade company of target transaction bill Money.
In the above embodiment of the present invention, first device receives the transaction request message for the first transaction that user sends, institute State the mark in transaction request message including the user and the type of transaction of first transaction;If the friendship of first transaction Easy type is the first type of transaction, then the first device obtains the corresponding excitation of the user according to the mark of the user Value, and first transaction is executed according to the type of transaction of first transaction and the corresponding excitation value of the user, obtain institute State the transaction results of the first transaction;It is available that the corresponding excitation value of the user is that one or more trade companies provide to the user The total value of excitation value, the transaction results of first transaction include the excitation value for executing first transaction and using;Further, The excitation value that the first device uses the mark of the user, the type of transaction of first transaction and first transaction It is sent to second device, so that the second device was used according to the type of transaction and first transaction of first transaction Excitation value at least one historical trading bill corresponding to the user is checked and write off.In the embodiment of the present invention, first device base Can determine how to execute the first transaction in the reward total value that each trade company provides a user, without analyze each trade company to The each reward that family provides, so as to improve the treatment effeciency that the reward for using trade company to provide executes the transaction of user;This Outside, process of exchange and calculation process are executed by using first device and second device respectively, by process of exchange and can be calculated Transaction can be individually performed without waiting for calculation process completion in process decoupling, first device, hand over so as to further improve Easy treatment effeciency.
For above method process, the embodiment of the present invention also provides a kind of resource processing unit, the particular content of the device It is referred to above method implementation.
Fig. 4 is a kind of resource processing unit provided in an embodiment of the present invention, and described device includes:
Transceiver module 401, the processing request message of the first resource for receiving user's transmission, the processing request message In include the user mark and the first resource type;
Processing module 402 obtains if the type for the first resource is the first kind according to the mark of the user The corresponding excitation value of the user is taken, and according to the type of the first resource and the corresponding excitation value processing of the user First resource obtains the corresponding processing result of the first resource;The corresponding excitation value of the user is one or more trade companies The total value of the available excitation value provided to the user, the corresponding processing result of the first resource include handling first money The excitation value that source uses;
The transceiver module 401 is also used to the mark of the user, the type of the first resource and processing described the The excitation value that one resource uses is sent to second device, so that type and processing of the second device according to the first resource The excitation value that the first resource uses at least one history resource information corresponding to the user is veritified.
Optionally, the processing module 402 is specifically used for:
If it is determined that the corresponding excitation value of the user be greater than or equal to handle the first resource needed for the amount of money, then from institute It states and obtains target excitation value identical with the amount of money needed for the processing first resource in the corresponding excitation value of user, and use institute It states target excitation value and handles the first resource;If it is determined that the corresponding excitation value of the user, which is less than, handles the first resource institute The amount of money needed then handles the first resource using the payment amount that the corresponding excitation value of the user and the user provide.
Optionally, described device further includes update module 403, and the update module 403 is used for:
It is subtracted from the corresponding excitation value of the user and handles the excitation value that the first resource uses, obtained updated The corresponding excitation value of the user.
Optionally, the processing module 402 is also used to:
If it is determined that the first resource meets the excitation condition of the first trade company, then pass through first trade company to the user Provide the corresponding available excitation value of the first resource;
The corresponding available excitation value of the first resource is added from the corresponding excitation value of the user, is obtained updated The corresponding excitation value of the user.
Optionally, the transceiver module 401 is also used to:
The mark of the user, the mark of first trade company and the corresponding available excitation value of the first resource are sent To the second device, so that the second device generates first money according to the corresponding available excitation value of the first resource The corresponding history resource information in source.
Optionally, the processing module 402 is also used to:
If the type of the first resource is Second Type, further include in the processing request message of the first resource to The mark for cancelling resource obtains the excitation value for handling the resource to be cancelled and using according to the mark of the resource to be cancelled;
The excitation value used from the corresponding excitation value of the user plus the processing resource to be cancelled, after obtaining update The corresponding excitation value of the user.
Optionally, the processing module 402 is also used to:
The first resource is handled according to the mark of the type of the first resource and the resource to be cancelled, is obtained described The processing result of first resource;The processing result of the first resource includes the mark of the resource to be cancelled;
The mark of the mark of the user, the type of the first resource and the resource to be cancelled is sent to the second dress It sets, so that the second device is corresponding to the user according to the type of the first resource and the mark of the resource to be cancelled At least one history resource information veritified.
Fig. 5 is a kind of resource processing unit provided in an embodiment of the present invention, and described device includes:
Transceiver module 501, mark, first money of the user of the triggering first resource for receiving first device transmission The processing result of the type in source and the first resource;The processing result of the first resource is to handle the first resource to use Excitation value or resource to be cancelled mark;
Veritify module 502, for the processing result according to the first resource it is corresponding to the user at least one go through History resource information is veritified.
Optionally, the veritification module 502 is specifically used for:
According to the mark of the user, at least one corresponding history resource information of the user is obtained;Described at least one Include in each history resource information of a history resource information the user is provided can with the mark of the trade company of excitation value and The available excitation value that the trade company provides to the user;
If the type of the first resource is the first kind, chooses and generate from least one described history resource information The one or more first object history resource informations of time earliest, and believe to one or more of first object history resources First can be sent at least one first object trade company of excitation value by, which providing in breath the user, veritifies request;It is one or The available excitation value total value of multiple first object history resource informations is identical as the excitation value that the first resource uses is handled, institute Available excitation value of the first veritification request for providing at least one described first object trade company is stated to deduct;If described The type of one resource is Second Type, then obtains the corresponding one or more second target histories resource letters of the resource to be cancelled Breath, and at least one that can use excitation value is provided into one or more of second target histories resource informations the user Second target trade company sends second and veritifies request, and described second veritifies request for mentioning at least one described second target trade company The available excitation value supplied compensates.
It can be seen from the above: in the above embodiment of the present invention, first device receives the first money that user sends The processing request message in source, described handle includes the mark of the user and the type of the first resource in request message;Such as This, if the type of the first resource is the first kind, the first device obtains the use according to the mark of the user The corresponding excitation value in family, and according to the type of the first resource and the corresponding excitation value processing of the user first money Source obtains the corresponding processing result of the first resource;The corresponding excitation value of the user is one or more trade companies to described The total value for the available excitation value that user provides, the corresponding processing result of the first resource include handling the first resource to use Excitation value;Further, the first device is by the mark of the user, the type of the first resource and processing described the The excitation value that one resource uses is sent to second device, so that type and processing of the second device according to the first resource The excitation value that the first resource uses at least one history resource information corresponding to the user is veritified.The present invention is real It applies in example, executes the verification procedure of resource treatment process and resource information respectively by using first device and second device, it can To decouple the treatment process of resource with verification procedure, in this way, first device can be located without waiting for verification procedure completion Resource is managed, so as to improve the efficiency of resource processing;And the available excitation value total value by providing each trade company for user As processing benchmark, so that first device is that can determine the mode of processing first resource based on usable levels total value, without analysis The case where available excitation value that each trade company provides a user, so that resource treatment process is more flexible, Energy Resources Service That manages is more efficient.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer readable storage mediums, including instruct, When run on a computer, so that computer executes such as the described in any item method for processing resource of Fig. 1 or Fig. 2.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer program products, when it is in computer When upper operation, so that computer executes such as the described in any item method for processing resource of Fig. 1 or Fig. 2.
Based on the same technical idea, the embodiment of the invention provides a kind of terminal devices, as shown in fig. 6, including at least One processor 1101, and the memory 1102 connecting at least one processor do not limit processing in the embodiment of the present invention Specific connection medium between device 1101 and memory 1102 passes through bus between processor 1101 and memory 1102 in Fig. 6 For connection.Bus can be divided into address bus, data/address bus, control bus etc..
In embodiments of the present invention, memory 1102 is stored with the instruction that can be executed by least one processor 1101, until The instruction that a few processor 1101 is stored by executing memory 1102, can execute and be wrapped in method for processing resource above-mentioned The step of including.
Wherein, processor 1101 is the control centre of terminal device, can use various interfaces and connection terminal is set Standby various pieces are stored in memory 1102 by running or executing the instruction being stored in memory 1102 and calling Data, to realize data processing.Optionally, processor 1101 may include one or more processing units, processor 1101 Application processor and modem processor can be integrated, wherein the main processing operation system of application processor, user interface and answer With program etc., modem processor mainly handles the instruction that operation maintenance personnel issues.It is understood that above-mentioned modulatedemodulate is mediated Reason device can not also be integrated into processor 1101.In some embodiments, processor 1101 and memory 1102 can be same It is realized on one chip, in some embodiments, they can also be realized respectively on independent chip.
Processor 1101 can be general processor, such as central processing unit (CPU), digital signal processor, dedicated collection At circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array or other Perhaps transistor logic, discrete hardware components may be implemented or execute the present invention in fact for programmable logic device, discrete gate Apply each method, step disclosed in example and logic diagram.General processor can be microprocessor or any conventional processing Device etc..The step of method in conjunction with disclosed in the embodiment of method for processing resource, can be embodied directly in hardware processor and execute At, or in processor hardware and software module combination execute completion.
Memory 1102 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module.Memory 1102 may include the storage medium of at least one type, It such as may include flash memory, hard disk, multimedia card, card-type memory, random access storage device (Random Access Memory, RAM), static random-access memory (Static Random Access Memory, SRAM), may be programmed read-only deposit Reservoir (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), band Electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic storage, disk, CD etc..Memory 1102 can be used for carrying or storing have instruction or data The desired program code of structure type and can by any other medium of computer access, but not limited to this.The present invention is real Applying the memory 1102 in example can also be circuit or other devices that arbitrarily can be realized store function, for storing program Instruction and/or data.
Based on the same technical idea, the embodiment of the invention provides a kind of rear end equipments, as shown in fig. 7, comprises at least One processor 1201, and the memory 1202 connecting at least one processor do not limit processing in the embodiment of the present invention Specific connection medium between device 1201 and memory 1202 passes through bus between processor 1201 and memory 1202 in Fig. 7 For connection.Bus can be divided into address bus, data/address bus, control bus etc..
In embodiments of the present invention, memory 1202 is stored with the instruction that can be executed by least one processor 1201, until The instruction that a few processor 1201 is stored by executing memory 1202, can execute and be wrapped in method for processing resource above-mentioned The step of including.
Wherein, processor 1201 is the control centre of rear end equipment, can use various interfaces and connection rear end is set Standby various pieces are stored in memory 1202 by running or executing the instruction being stored in memory 1202 and calling Data, to realize data processing.Optionally, processor 1201 may include one or more processing units, processor 1201 Application processor and modem processor can be integrated, wherein the main processing operation system of application processor, application program etc., Modem processor mainly parse and parse the result received to the instruction received.It is understood that It is that above-mentioned modem processor can not also be integrated into processor 1201.In some embodiments, it processor 1201 and deposits Reservoir 1202 can realize that in some embodiments, they can also be realized respectively on independent chip on the same chip.
Processor 1201 can be general processor, such as central processing unit (CPU), digital signal processor, dedicated collection At circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array or other Perhaps transistor logic, discrete hardware components may be implemented or execute the present invention in fact for programmable logic device, discrete gate Apply each method, step disclosed in example and logic diagram.General processor can be microprocessor or any conventional processing Device etc..It can be embodied directly in hardware processor in conjunction with the step of method for processing resource and execute completion, or in processor Hardware and software module combination execute completion.
Memory 1202 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module.Memory 1202 may include the storage medium of at least one type, It such as may include flash memory, hard disk, multimedia card, card-type memory, random access storage device (Random Access Memory, RAM), static random-access memory (Static Random Access Memory, SRAM), may be programmed read-only deposit Reservoir (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), band Electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic storage, disk, CD etc..Memory 1202 can be used for carrying or storing have instruction or data The desired program code of structure type and can by any other medium of computer access, but not limited to this.The present invention is real Applying the memory 1202 in example can also be circuit or other devices that arbitrarily can be realized store function, for storing program Instruction and/or data.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (20)

1. a kind of method for processing resource, which is characterized in that the described method includes:
First device receives the processing request message for the first resource that user sends, and includes the use in the processing request message The mark at family and the type of the first resource;
If the type of the first resource is the first kind, the first device obtains the use according to the mark of the user The corresponding excitation value in family, and according to the type of the first resource and the corresponding excitation value processing of the user first money Source obtains the corresponding processing result of the first resource;The corresponding excitation value of the user is one or more trade companies to described The total value for the available excitation value that user provides, the corresponding processing result of the first resource include handling the first resource to use Excitation value;
The first device swashs what the mark of the user, the type of the first resource and the processing first resource used It encourages value and is sent to second device, so that the second device makes according to the type and the processing first resource of the first resource Excitation value at least one history resource information corresponding to the user is veritified.
2. the method according to claim 1, wherein the first device according to the type of the first resource and User's corresponding excitation value processing first resource, obtains the corresponding processing result of the first resource, comprising:
The first device if it is determined that the corresponding excitation value of the user be greater than or equal to handle the first resource needed for gold Volume, then from the target excitation identical with the amount of money needed for the processing first resource of acquisition in the corresponding excitation value of the user Value, and the first resource is handled using the target excitation value;The first device is if it is determined that the corresponding excitation of the user The amount of money needed for value is less than the processing first resource, the then branch provided using the corresponding excitation value of the user and the user It pays the amount of money and handles the first resource.
3. the method according to claim 1, wherein the method also includes:
The first device is subtracted from the corresponding excitation value of the user handles the excitation value that the first resource uses, and obtains The corresponding excitation value of the updated user.
4. the method according to claim 1, wherein the method also includes:
The first device if it is determined that the first resource meet the first trade company excitation condition, then by first trade company to The user provides the corresponding available excitation value of the first resource;
The first device adds the corresponding available excitation value of the first resource from the corresponding excitation value of the user, obtains The corresponding excitation value of the updated user.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
The first device is corresponding available sharp by the mark of the user, the mark of first trade company and the first resource It encourages value and is sent to the second device, so that the second device generates institute according to the corresponding available excitation value of the first resource State the corresponding history resource information of first resource.
6. the method according to claim 1, wherein the method also includes:
It further include wait cancel in the processing request message of the first resource if the type of the first resource is Second Type The mark of resource, the first device swash according to what the mark acquisition processing resource to be cancelled of the resource to be cancelled used Encourage value;
The excitation value that the first device is used from the corresponding excitation value of the user plus the processing resource to be cancelled, obtains To the corresponding excitation value of the updated user.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
The first device handles the first resource according to the type of the first resource and the mark of the resource to be cancelled, Obtain the processing result of the first resource;The processing result of the first resource includes the mark of the resource to be cancelled;
The first device sends the mark of the mark of the user, the type of the first resource and the resource to be cancelled To second device, so that the second device is according to the type of the first resource and the mark of the resource to be cancelled to described At least one corresponding history resource information of user is veritified.
8. a kind of method for processing resource, which is characterized in that the described method includes:
Second device receives the mark of user, the type of the first resource and the institute for the triggering first resource that first device is sent State the processing result of first resource;The processing result of the first resource be the excitation value that the processing first resource uses or to Cancel the mark of resource;
The second device is believed according to processing result at least one history resource corresponding to the user of the first resource Breath is veritified.
9. according to the method described in claim 8, it is characterized in that, the second device is according to the processing knot of the first resource Fruit checks and writes off the history resource information of one or more trade companies, comprising:
The second device obtains at least one corresponding history resource information of the user according to the mark of the user;Institute State includes providing the user trade company that can use excitation value in each history resource information of at least one history resource information Mark and the available excitation value provided to the user of the trade company;
If the type of the first resource is the first kind, the second device is from least one described history resource information It chooses and generates the one or more first object history resource informations of time earliest, and gone through to one or more of first objects First can be sent at least one first object trade company of excitation value by, which providing in history resource information the user, veritifies request;Institute It states the available excitation value total value of one or more first object history resource informations and handles the excitation that the first resource uses It is worth identical, described first, which veritifies available excitation value of the request for providing at least one described first object trade company, supports Button;If the type of the first resource is Second Type, it is one corresponding that the second device obtains the resource to be cancelled Or multiple second target histories resource informations, and into one or more of second target histories resource informations to the user Second can be sent at least one second target trade company of excitation value by, which providing, veritifies request, and described second veritifies request for institute The available excitation value for stating the offer of at least one second target trade company compensates.
10. a kind of resource processing unit, which is characterized in that described device includes:
Transceiver module, the processing request message of the first resource for receiving user's transmission include in the processing request message The mark of the user and the type of the first resource;
Processing module, if the type for the first resource is the first kind, according to the acquisition of the mark of the user The corresponding excitation value of user, and according to the type of the first resource and the corresponding excitation value processing of the user first money Source obtains the corresponding processing result of the first resource;The corresponding excitation value of the user is one or more trade companies to described The total value for the available excitation value that user provides, the corresponding processing result of the first resource include handling the first resource to use Excitation value;
The transceiver module is also used to the mark of the user, the type of the first resource and the processing first resource The excitation value used is sent to second device, so that the second device is according to the type of the first resource and handles described the The excitation value that one resource uses at least one history resource information corresponding to the user is veritified.
11. device according to claim 10, which is characterized in that the processing module is specifically used for:
If it is determined that the corresponding excitation value of the user be greater than or equal to handle the first resource needed for the amount of money, then from the use Target excitation value identical with the amount of money needed for the processing first resource is obtained in the corresponding excitation value in family, and uses the mesh It marks excitation value and handles the first resource;If it is determined that the corresponding excitation value of the user is less than needed for handling the first resource The amount of money then handles the first resource using the payment amount that the corresponding excitation value of the user and the user provide.
12. device according to claim 10, which is characterized in that described device further includes update module, the update mould Block is used for:
It is subtracted from the corresponding excitation value of the user and handles the excitation value that the first resource uses, obtained updated described The corresponding excitation value of user.
13. device according to claim 10, which is characterized in that the processing module is also used to:
If it is determined that the first resource meets the excitation condition of the first trade company, then provided by first trade company to the user The corresponding available excitation value of the first resource;
The corresponding available excitation value of the first resource is added from the corresponding excitation value of the user, is obtained updated described The corresponding excitation value of user.
14. device according to claim 13, which is characterized in that the transceiver module is also used to:
The mark of the user, the mark of first trade company and the corresponding available excitation value of the first resource are sent to institute Second device is stated, so that the second device generates the first resource pair according to the corresponding available excitation value of the first resource The history resource information answered.
15. device according to claim 10, which is characterized in that the processing module is also used to:
It further include wait cancel in the processing request message of the first resource if the type of the first resource is Second Type The mark of resource obtains the excitation value for handling the resource to be cancelled and using according to the mark of the resource to be cancelled;
The excitation value used from the corresponding excitation value of the user plus the processing resource to be cancelled, obtains updated institute State the corresponding excitation value of user.
16. device according to claim 15, which is characterized in that the processing module is also used to:
The first resource is handled according to the mark of the type of the first resource and the resource to be cancelled, obtains described first The processing result of resource;The processing result of the first resource includes the mark of the resource to be cancelled;
The mark of the mark of the user, the type of the first resource and the resource to be cancelled is sent to second device, So that the second device is corresponding to the user according to the type of the first resource and the mark of the resource to be cancelled At least one history resource information is veritified.
17. a kind of resource processing unit, which is characterized in that described device includes:
Transceiver module, mark, the class of the first resource of the user of the triggering first resource for receiving first device transmission The processing result of type and the first resource;The processing result of the first resource is the excitation that the processing first resource uses The mark of value or resource to be cancelled;
Module is veritified, at least one the history resource letter corresponding to the user of the processing result according to the first resource Breath is veritified.
18. device according to claim 17, which is characterized in that the veritification module is specifically used for:
According to the mark of the user, at least one corresponding history resource information of the user is obtained;It is described at least one go through It include providing that the user, the mark of the trade company of excitation value and described can be used in each history resource information of history resource information The available excitation value that trade company provides to the user;
If the type of the first resource is the first kind, is chosen from least one described history resource information and generate the time Earliest one or more first object history resource informations, and into one or more of first object history resource informations First can be sent at least one first object trade company of excitation value by, which providing the user, veritifies request;It is one or more of The available excitation value total value of first object history resource information is identical as the excitation value that the first resource uses is handled, and described the One, which veritifies available excitation value of the request for providing at least one described first object trade company, deducts;If first money The type in source is Second Type, then obtains the corresponding one or more second target histories resource informations of the resource to be cancelled, And into one or more of second target histories resource informations to the user provide can with excitation value at least one the Two target trade companies send second and veritify request, and described second veritifies request for providing at least one described second target trade company Available excitation value compensate.
19. a kind of computer readable storage medium, which is characterized in that including instruction, when it runs on the processor of computer When, so that the processor of computer executes method as described in any one of claim 1 to 9.
20. a kind of computer program product, which is characterized in that when run on a computer, so that computer is executed as weighed Benefit requires 1 to 9 described in any item methods.
CN201910535205.2A 2019-06-20 2019-06-20 A kind of method for processing resource and device Pending CN110245992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910535205.2A CN110245992A (en) 2019-06-20 2019-06-20 A kind of method for processing resource and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910535205.2A CN110245992A (en) 2019-06-20 2019-06-20 A kind of method for processing resource and device

Publications (1)

Publication Number Publication Date
CN110245992A true CN110245992A (en) 2019-09-17

Family

ID=67888330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910535205.2A Pending CN110245992A (en) 2019-06-20 2019-06-20 A kind of method for processing resource and device

Country Status (1)

Country Link
CN (1) CN110245992A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837800A (en) * 2021-09-23 2021-12-24 中国银联股份有限公司 Transaction processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1357129A (en) * 1999-06-23 2002-07-03 理查德·波斯特尔 System for electronic barter, traidng and redeeming points accumulated in frequent use reward programs
US20070156523A1 (en) * 2005-12-30 2007-07-05 Deborah Yee-Ky Liu Method and system to process an incentive
CN105684008A (en) * 2013-10-21 2016-06-15 万事达卡国际股份有限公司 Method and system for processing of a real-time rebate at transaction authorization
CN107077677A (en) * 2014-08-21 2017-08-18 万事达卡国际股份有限公司 Method and system for handling real-time rebating in Trading Authorization
CN107466408A (en) * 2015-06-19 2017-12-12 谷歌公司 Reward on total mark in offline electronic payment system
CN107977862A (en) * 2017-11-30 2018-05-01 财付通支付科技有限公司 Bonus data management method, device, storage medium and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1357129A (en) * 1999-06-23 2002-07-03 理查德·波斯特尔 System for electronic barter, traidng and redeeming points accumulated in frequent use reward programs
US20070156523A1 (en) * 2005-12-30 2007-07-05 Deborah Yee-Ky Liu Method and system to process an incentive
CN105684008A (en) * 2013-10-21 2016-06-15 万事达卡国际股份有限公司 Method and system for processing of a real-time rebate at transaction authorization
CN107077677A (en) * 2014-08-21 2017-08-18 万事达卡国际股份有限公司 Method and system for handling real-time rebating in Trading Authorization
CN107466408A (en) * 2015-06-19 2017-12-12 谷歌公司 Reward on total mark in offline electronic payment system
CN107977862A (en) * 2017-11-30 2018-05-01 财付通支付科技有限公司 Bonus data management method, device, storage medium and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837800A (en) * 2021-09-23 2021-12-24 中国银联股份有限公司 Transaction processing method and device

Similar Documents

Publication Publication Date Title
CN108520443A (en) The distribution method of intelligent certificate, device and check and write off method, apparatus using intelligent certificate
US9336524B2 (en) System and method for tracking the secondary gift card marketplace
CN105930259B (en) A kind of method and apparatus of WEB regression tests
JP5914447B2 (en) Point investment and loan operation management system and point investment and loan operation management method
CN107622394A (en) A kind of method of payment processes, medium, device and computing device
WO2011153463A1 (en) Method and apparatus for value interchange pricing
WO2014078329A1 (en) System and method for optimizing card usage in a payment transaction
CN107909467A (en) A kind of loan limit appraisal procedure and relevant device
CN107077677A (en) Method and system for handling real-time rebating in Trading Authorization
US20080262961A1 (en) Merchant Credit Risk Monitoring
Bernoully et al. Impact of implementation of IFRS 15 on the financial statements of telecommunication company (case study of PT XYZ)
WO2017116610A1 (en) Split ticket handling
US20130041767A1 (en) Methods and Systems for Communicating Information from a Smart Point-of-Sale Terminal
CN106875595A (en) A kind of determination method and device of POS terminal place to use
KR101709761B1 (en) System for trading certified emission reduction
US20140279452A1 (en) Vendor propensity analysis component for an electronic invoice payment system
CN110245992A (en) A kind of method for processing resource and device
JPWO2004003805A1 (en) Point processing apparatus, point processing method, and program for causing computer to execute the method
CN109544254A (en) Invoice information processing method, apparatus and system
McLaughlin et al. A large scale study of the ethereum arbitrage ecosystem
US20230092126A1 (en) Banking operation support system, banking operation support method, and banking operation support program
CN110348983A (en) Transaction Information management method and device, electronic equipment and non-transient storage media
CN110838062A (en) Supply chain financial cash collection management system and method
US20130304596A1 (en) Systems and methods for an online payment system with credit notes
CN114936859A (en) Resource data processing method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190917