Detailed description of the invention
The method for processing business of the embodiment of the present invention, is that the method can include the step shown in Fig. 1 so that in the process of automated execution business, more conform to the demand of user:
101, Business Processing request is received;
Wherein, the main body of flow process shown in this Fig. 1 is performed, it is possible to be certain business platform。This business platform includes multiple Service Component, the execution of one business is sometimes for the common participation of multiple Service Component, each Service Component performs the component services of oneself correspondence respectively, this component services is equivalent to a part for the business to perform, each component services runs succeeded, then whole business runs succeeded。
In this step, business platform receive Business Processing request, this request can be user send for asking platform to perform the instruction of certain target service。
102, according to the professional qualification information preset, from the plurality of Service Component, the target service assembly corresponding with described professional qualification information is obtained;
In the present embodiment, business platform automatically from the multiple Service Component included by platform, will select members to perform the business of user's request in 101, then the assembly in order to perform business selected can be called target service assembly。
It should be noted that business platform is in the process automatically selecting target service assembly, selecting according to the professional qualification information preset, the target service assembly of acquisition is corresponding with professional qualification information。It is to say, target service assembly is consistent with the requirement of professional qualification information, and professional qualification information can be user preset at this business platform, in order to the information of limit service platform selecting target service assembly。
103, described target service assembly is used, it is achieved described target service。
Wherein, each target service assembly selected in business platform will perform the assembly task of oneself correspondence respectively, when each target service assembly executive module Mission Success, it was shown that this target service is successfully completed。
The method for processing business of the present embodiment, by selecting target service assembly to perform business according to the professional qualification information preset, the execution making this business can meet the requirement of professional qualification information, and this professional qualification information is corresponding with user's request, it is achieved that meet the demand of user in the business of automatization performs simultaneously。
So that the above-mentioned method for processing business of the embodiment of the present invention is easier to understand, examples below will illustrate in conjunction with specific example。It should be understood that, this method for processing business is not merely adapted to the application of act set forth below, the method that other similar scenes can adopt the present invention。
Fig. 2 illustrates a kind of exemplary application scenarios, during user's shopping on the web, electricity business's platform provides a kind of user of enabling to shopping mode " key is purchased " more conveniently and quickly, if certain commodity provide this service, then can show that a key purchases option, user can click this option, it was shown that user to adopt a key to purchase service。Server 12 to electricity business's platform is sent Business Processing request by the client 11 of user's free choice of goods, and this Business Processing asks the target service that requested server 12 completes to be automatically performed user and buy the payment transaction of the commodity projector in Fig. 2。
More specifically, the completing of this payment transaction can be performed by the payment platform of server 12 side, and this payment platform is such as Alipay platform。And the method for processing business of the embodiment of the present invention, how the payment platform shown in description Fig. 2 is automatically performed the payment transaction participation without user of commodity purchasing, and this payment transaction automatically performed can also meet the demand of user。This payment platform includes business processing device, the structure of this device is referring to Fig. 3, including: request receiver module 31, traffic grooming module 32 and Service Processing Module 33, these modules make payment platform realize the above-mentioned business execution meeting user's request by the flow process shown in service chart 1。
Wherein, one payment transaction complete to need the participation of multiple Service Component, for this payment transaction, assume that the commodity projector price that user buys is G unit, payment platform is when being automatically performed payment, needing to withhold from the means of payment corresponding to user, these means of payment such as include: red packet, Alipay remaining sum, reward voucher, debit card and the credit card etc.。Purchase in mode at a key, the commodity price that payment platform will be bought according to user, automatically withholing from the above-mentioned means of payment, if Sorry, your ticket has not enough value in certain means of payment, the means of payment of two or more also can be combined withholing by payment platform automatically。
And these means of payment are probably what user was granted, or the instrument etc. that user presets when registration one key purchases service。Payment platform also can record the corresponding relation between user and these means of payment, thus in the scene shown in Fig. 2, finding the means of payment of correspondence to pay according to the ID logging in shopping。These means of payment participating in paying are referred to as Service Component, and for one of them Service Component, adopt these means of payment to carry out payment and withhold and be called component services。
In the embodiment of the present invention, the request receiver module of payment platform is after receiving payment processes request (i.e. Business Processing request), preparation before notice traffic grooming module is paid, such as, it is determined which the means of payment corresponding to this user have, and use which means of payment to carry out payment and withhold, such as, the amount of money buying commodity projector is deducted from red packet, or deducts from reward voucher, or from debit card deduction etc.。
According to default professional qualification information, from the plurality of Service Component, obtain the target service assembly corresponding with described professional qualification information。Wherein, the professional qualification information preset, it is for payment platform selects the behavior of the means of payment be defined, " preferentially deducting from red packet " is such as set, or " preferentially deduct from reward voucher when withholing payment ", so be equivalent to define payment platform and must comprise default " red packet " or " reward voucher " when selecting the means of payment, these means of payment preset are called specific transactions assembly (also referred to as specific payment instrument), if being used for of finally selecting being paid the instrument withholdd be called target service assembly, so this target service assembly needs to include this specific transactions assembly。
And the target service assembly that the Service Processing Module of payment platform will use traffic grooming module to select, it is achieved target service。For example, it is assumed that payment platform have selected three kinds of means of payment, being red packet, Alipay remaining sum and debit card respectively, the these three means of payment are referred to as target service assembly, and including specific payment instrument " red packet "。When realizing target service, each Service Component can each complete the component services of oneself correspondence, withhold in such as red packet a unit, withhold in Alipay remaining sum b unit, and withhold in debit card c unit, has each all withholdd, and shows that each component services all completes, and in the present embodiment, the component services that specific payment instrument red packet is corresponding must complete, and namely red packet is withholdd necessary successful, and otherwise this target service and whole payment transaction are failed。
Fig. 4 illustrates the traffic grooming module of a kind of payment platform and obtains target service assembly and Service Processing Module when performing payment processes, feasible a kind of implementing procedure:
401, the combination of each means of payment is carried out;
Wherein, some rule of combinations that traffic grooming module can be preset according to platform, perform the Automatic Combined of the means of payment。Such as, payment is altogether needed to withhold 400 yuan, it is possible to withhold 50 from red packet, withhold 200 from Alipay remaining sum, withhold 150 from debit card, here it is the example of three kinds of means of payment combinations。
402, check that this group combines, if having specific payment instrument;
Such as, it is assumed that specific payment instrument is " red packet ", then the traffic grooming module of payment platform is not if it find that the means of payment of its acquisition have red packet in combining, it is possible to returns and re-executes 401, attempts next group combination;If means of payment combination has red packet, then continue executing with 403。
It should be noted that the setting of this specific payment instrument, it is possible to it is that platform is preset, such as presets red packet as specific payment instrument;Or platform can also provide the user one and set interface, setting for user oneself will using which means of payment as specific payment instrument, such as user is when being registered as the user that a key purchases service, can specifying red packet as specific payment instrument, such platform will preferentially select red packet as target service assembly when carrying out and automatically paying。
403, payment instruction is initiated;
In this step, Service Processing Module will notify that each target service assembly completes the component services of oneself respectively, and such as, red packet is withholdd by notice red packet processing subsystem, Alipay remaining sum is withholdd by notice Alipay remaining sum subsystem, and debit card is withholdd by notice debit card subsystem。
404, check whether specific payment instrument pays successfully;
In the present embodiment, Service Processing Module also to check whether each component services runs succeeded, and, particularly to check whether the component services that specific payment instrument is corresponding runs succeeded。
For red packet as specific payment instrument, if red packet pays successfully, then show the success of whole payment transaction, terminate this flow process;Otherwise, even if Alipay remaining sum and debit card are all withholdd successfully, as long as red packet pays unsuccessfully, then payment transaction is failed。Service Processing Module may indicate that rollback payment instruction, such as, it is possible to instruction traffic grooming module reconfigures, or again performs a payment instruction。
Optionally, when traffic grooming module carries out the combination of the means of payment in 401, it is possible to choose at least two group combinations in advance, and the combination of this at least two group all includes specific payment instrument。Such as, still for red packet as specific payment instrument, one group of combination is " red packet+Alipay remaining sum+debit card ", and another group combination is " red packet+reward voucher+credit card " etc.。Service Processing Module first can be chosen any one kind of them from above-mentioned at least two group combinations and be paid, if this combined payment failure, then Service Processing Module can select another group combination to pay as soon as possible again, is equivalent to prepare several optional combinations, to improve payment efficiency。
The method for processing business of the present embodiment, the business enabling to automatization performs more to meet the demand of user, it is exemplified below explanation: assume that user sees that certain part clothes have recently emerged preferential activity, this clothes is worth 400 yuan, preferential activity is " buy this clothes just can enjoy the red packet of 50 yuan pay ", so user may be attracted by this activity and remove to buy clothes, and is adopt the mode that a key is purchased automatically to pay。In traditional mode, payment platform is that the Automatic Combined means of payment are to complete payment for target, will not go to consider the wish of user, such as platform may have been used the mode of " Alipay remaining sum+debit card " and has been automatically performed payment, it is obvious that, which does not use red packet, and this purchase clothes of user is not enjoyed preferential, and therefore this means of payment can not meet user's request。
And in the method for processing business of the present embodiment, payment platform can receive user's professional qualification information set in advance, this professional qualification information is the similar information such as " preferentially using red packet when paying " or " must use red packet during payment ", and the mode that user sets this information can be, thering is provided user to select the option of specific payment instrument at certain page, user selects the instrument oneself thought。In above-mentioned example, user have selected red packet as specific payment instrument, be equivalent to tell in the means of payment combination selected by payment platform and must include red packet, so payment platform will necessarily according to the demand of user, this red packet is used to pay, concrete flow process can in conjunction with referring to shown in Fig. 1~Fig. 4, it is clear that achieve meeting user's request。
In being embodied as, the specific payment instrument that user selects can be at least one, such as selection two, three etc.。Preset additionally, specific payment instrument can also be payment platform。
Further, when default specific payment instrument, this specific payment instrument can be corresponding from different application scenarios, can include each corresponding from different business scenarios respectively specific transactions assembly in payment platform。Such as, in payment platform, storage has two specific payment instruments, and on the line that instrument is corresponding, business scenario is " shopping online ", and this specific payment instrument is " red packet ";Under the line that another instrument is corresponding, business scenario is " automatic vending machine ", and corresponding specific payment instrument is " reward voucher "。
For the scene of shopping on line using red packet as specific payment instrument, the above-mentioned example shown in Fig. 2 has been carried out describing;And for the scene of application under line, it is possible to referring to the example of Fig. 5。Automatic vending machine 51 can sell the food such as various beverages, when user selects to buy certain beverage, the system of vending machine can provide the user one and be connected to and the same payment platform shown in Fig. 2, and such as user can pass through sound wave connected mode and will transmit to payment platform from the merchandise news (including price) selected on vending machine and scene information (applying under line)。Payment platform determine current goal task and scene corresponding to payment transaction be line under application, then according to the specific payment instrument " reward voucher " under this scene, automatically select the means of payment combination comprising reward voucher when paying and carry out payment and withhold。
Certainly can also is that other payment scene in being embodied as, be linked into same payment platform such as through certain mode under these scenes, and payment platform can carry out the payment transaction of automatization according to the specific payment instrument that each scene is corresponding respectively。
In addition, the Service Processing Module of payment platform is in the process carrying out payment processes, likely occur that specific payment instrument pays failed situation, such as, for red packet, Service Processing Module indicate red packet subsystem carry out red packet pay withhold time, may owing to " using the time incorrect (such as red packet defines usage time interval), not within the setting time ", or " insufficient in amount of red packet ", or reasons such as " use of red packet do not meet professional qualification (such as this red packet is only used for certain specific commodity) " and pay failure, then red packet subsystem can feeding back unsuccessful reason to Service Processing Module。Payment platform can use visual mode to be shown by this failure cause, to point out user so that user becomes apparent from service conditions。
The embodiment of the present invention additionally provides a kind of business processing device, and this business processing device is such as arranged on above-mentioned payment platform, and payment platform is just because of the setting of the modules in this device so that achieve the method for processing business of said method embodiment。The structure of this business processing device may refer to Fig. 3, and the operation principle of its modules described in associated methods embodiment, can repeat no more。
The method and device for business processing of the embodiment of the present invention, by selecting target service assembly to perform business according to the professional qualification information preset, the execution making this business can meet the requirement of professional qualification information, and this professional qualification information is corresponding with user's request, it is achieved that meet the demand of user in the business of automatization performs simultaneously。
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within the scope of protection of the invention。