Summary of the invention
Embodiments provide a kind of method of payment based on cooperation channel and device, solve current app and generally bind the specific modes of payments (as Alipay, Unionpay pays and micro-letter pays), no matter any user consumes in this app, all adopt the same modes of payments, do not distinguish different user identity, make when channel consumption in backstage is divided into, the process caused is chaotic, and the technical matters taken place frequently of slipping up.
A kind of method of payment based on cooperation channel that the embodiment of the present invention provides, comprising:
S1: get the request of payment, and judge whether user belongs to the new registration user of preset channel, if so, then performs step S2, if not, then performs step S3;
S2: the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with described preset channel;
S3: the monetary unit of currency payment window is automatically converted to the second conventional currency of payment;
S4: determine to pay successfully.
Preferably, also comprise before described step S1:
Get the charging request that user triggers, and supplement with money according to request.
Preferably, get charging request, and carry out supplementing with money specifically comprising according to request:
Judge whether described user is registered by described preset channel, if not, then what the mode of supplementing with money is converted to routine supplements described second currency of payment with money.
Preferably, when judging that described user is as registering by described preset channel, then judge the registration type of described user, if the described new registration user of described preset channel, then the described mode of supplementing with money is converted to channel to supplement currency with money and supplement described first currency of payment with money, if the old registered user of described preset channel, then what the mode of supplementing with money is converted to routine supplements described second currency of payment with money.
Preferably, get the request of payment specifically to comprise:
Get the described payment request that user triggers by launching present hurdle.
A kind of payment mechanism based on cooperation channel that the embodiment of the present invention provides, comprising:
Determine judging unit, for getting the request of payment, and judging whether user belongs to the new registration user of preset channel, if so, then triggering channel payment unit, if not, then triggering conventional payment unit;
Described channel payment unit, for being automatically converted to first currency of payment corresponding with described preset channel by the monetary unit of currency payment window;
Described conventional payment unit, for being automatically converted to the second conventional currency of payment by the monetary unit of currency payment window;
Determining unit, pays successfully for determining.
Preferably, the described payment mechanism based on cooperation channel also comprises:
Supplementing unit with money, for getting the charging request that user triggers, and supplementing with money according to request.
Preferably, supplement unit described in money specifically to comprise:
Supplement judgment sub-unit with money, for judging whether described user is registered by described preset channel, if not, then trigger routine and supplement subelement with money;
Described routine supplements subelement with money, conventional supplements described second currency of payment with money for the mode of supplementing with money being converted to.
Preferably, described in supplement judgment sub-unit with money, also for when judging that described user is as registering by described preset channel, then judgment sub-unit registered by triggering channel;
Described channel registration judgment sub-unit, for judging the registration type of described user, if the described new registration user of described preset channel, then triggers channel and supplements subelement with money, if the old registered user of described preset channel, then trigger described routine and supplement subelement with money;
Subelement supplemented with money by described channel, supplements currency with money supplement described first currency of payment with money for the described mode of supplementing with money being converted to channel.
Preferably, determine that judging unit specifically comprises:
Obtain subelement, for getting the described payment request that user triggers by launching present hurdle;
Pay judgment sub-unit, for judging whether user belongs to the new registration user of preset channel, if so, then triggering described channel payment unit, if not, then triggering described conventional payment unit.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
A kind of method of payment based on cooperation channel that the embodiment of the present invention provides and device, wherein, the method for payment based on cooperation channel comprises: S1: get the request of payment, and judge whether user belongs to the new registration user of preset channel, if so, then perform step S2, if not, then step S3 is performed; S2: the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel; S3: the monetary unit of currency payment window is automatically converted to the second conventional currency of payment; S4: determine to pay successfully.In the present embodiment, by judging that user belongs to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel, just the first directly corresponding with preset channel currency of payment payment channel is achieved, to go forward side by side line item, solve current app and generally bind the specific modes of payments (as Alipay, Unionpay pays and micro-letter pays), no matter any user consumes in this app, all adopt the same modes of payments, do not distinguish different user identity, make when channel consumption in backstage is divided into, the process caused is chaotic, and the technical matters taken place frequently of slipping up.
Embodiment
Embodiments provide a kind of method of payment based on cooperation channel and device, solve current app and generally bind the specific modes of payments (as Alipay, Unionpay pays and micro-letter pays), no matter any user consumes in this app, all adopt the same modes of payments, do not distinguish different user identity, make when channel consumption in backstage is divided into, the process caused is chaotic, and the technical matters taken place frequently of slipping up.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and the embodiment of not all.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The software market that channel: app throws in, the present invention relates to millet application shop;
The modes of payments: relate to the payer that exchange through money accesses in app, the present invention relates to millet and pays.
Refer to Fig. 1, the embodiment embodiments providing a kind of method of payment based on cooperation channel comprises:
S1: get the request of payment, and judge whether user belongs to the new registration user of preset channel, if so, then performs step S2, if not, then performs step S3;
In the present embodiment, when user is by using the app account of mobile terminal to pay, such as mobile terminal (mobile phone, pad etc.) pays in the app of YY, need to get the request of payment, and judge whether user belongs to the new registration user of preset channel, if so, then perform step S2, if not, then step S3 is performed.
S2: the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel;
When judging that user belongs to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel.
Preset channel can be the YY channel bag of such as cooperating with millet market, does not specifically limit herein.
S3: the monetary unit of currency payment window is automatically converted to the second conventional currency of payment;
When judging that user does not belong to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to the second conventional currency of payment.
The second conventional currency of payment can be currency corresponding to the conventional modes of payments, and such as YY ideal money Y coin etc., specifically do not limit herein.
S4: determine to pay successfully.
After step S2 and step S3, determine to pay successfully, can being ID and the modes of payments of recording user further, making when being divided into, just can according to channel number and meter coin circulation situation, the channel consumer record of carrying out YY and millet side is divided into.
In the present embodiment, by judging that user belongs to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel, just the first directly corresponding with preset channel currency of payment payment channel is achieved, to go forward side by side line item, solve current app and generally bind the specific modes of payments (as Alipay, Unionpay pays and micro-letter pays), no matter any user consumes in this app, all adopt the same modes of payments, do not distinguish different user identity, make when channel consumption in backstage is divided into, the process caused is chaotic, and the technical matters taken place frequently of slipping up.
The above is described in detail the process of the method for payment based on cooperation channel, be described in detail to the process of supplementing with money before payment below, refer to Fig. 2, another embodiment embodiments providing a kind of method of payment based on cooperation channel comprises:
201, judge whether user is registered by preset channel, if not, then perform step 202, if so, then perform step 203;
In the present embodiment, when user is by using the app account of mobile terminal to pay, such as, before mobile terminal (mobile phone, pad etc.) pays in the app of YY, need the charging request getting user's triggering, and supplement with money according to request, judge whether user is registered by preset channel further, if not, then perform step 202, if so, then perform step 203.
What 202, the mode of supplementing with money is converted to routine supplements second currency of payment with money;
When judging that user is not registered by preset channel, then what the mode of supplementing with money is converted to routine supplements second currency of payment with money.
If such as user is not in the registration of millet channel bag, then the modes of payments used at mobile phone YY is the common modes of payments.
203, judge the registration type of user, if the new registration user of preset channel, then perform step 204, if the old registered user of preset channel, then perform step 202;
When judging that user is registered by preset channel, then judging the registration type of user, if the new registration user of preset channel, then performing step 204, if the old registered user of preset channel, then perform step 202.
204, the mode of supplementing with money is converted to channel and supplements currency with money and supplement first currency of payment with money;
When judging that the registration type of user is the new registration user of preset channel, then the mode of supplementing with money is converted to channel and supplements currency with money and supplement first currency of payment with money.
If such as user is in the registration of millet channel bag, and hour of log-on is judged as new user, then supplement the used modes of payments with money for rice coin at mobile phone YY and supplement red brill with money.
It should be noted that, as shown in Figure 5, step 201 can be when user is after this app registers to 204, supplements with money and can walk following several scene:
1. if user is not in the registration of millet channel bag, then the modes of payments used at mobile phone YY is the common modes of payments;
If 2. user is in the registration of millet channel bag, but hour of log-on is judged as old user, the modes of payments used at mobile phone YY is also the common modes of payments;
If 3. user is in the registration of millet channel bag, and hour of log-on is judged as new user, then supplement the used modes of payments with money for rice coin at mobile phone YY and supplement red brill with money.
If such as user is in the registration of millet channel bag, but hour of log-on is judged as old user, the modes of payments used at mobile phone YY is also the common modes of payments.
205, get the request of payment, and judge whether user belongs to the new registration user of preset channel, if so, then perform step 206, if not, then perform step 207;
In the present embodiment, when user is by using the app account of mobile terminal to pay, such as mobile terminal (mobile phone, pad etc.) pays in the app of YY, need to get the request of payment, and judge whether user belongs to the new registration user of preset channel, if so, then perform step 206, if not, then step 207 is performed.
Aforesaid get pay request can be get user by launch present hurdle trigger payment request.
206, the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel;
When judging that user belongs to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel.
Preset channel can be the YY channel bag of such as cooperating with millet market, does not specifically limit herein.
207, the monetary unit of currency payment window is automatically converted to the second conventional currency of payment;
When judging that user does not belong to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to the second conventional currency of payment.
The second conventional currency of payment can be currency corresponding to the conventional modes of payments, and such as YY ideal money Y coin etc., specifically do not limit herein.
208, determine to pay successfully.
After step 206 and step 207, determine to pay successfully, can being ID and the modes of payments of recording user further, making when being divided into, just can according to channel number and meter coin circulation situation, the channel consumer record of carrying out YY and millet side is divided into.
It should be noted that, as shown in Figure 6, step 206 can be that user gives a present consumption flow process to 209:
1. program judges whether this login user is the new user of millet channel, and in this way, then mobile phone YY present hurdle monetary unit is red brill, customer consumption with red brill for unit of account;
2. as program judges that this login user is domestic consumer, then mobile phone YY present hurdle monetary unit is Y coin, customer consumption with red brill for unit of account.
By the above-mentioned process of supplementing with money and consuming, visible program is divided into the new user of millet channel bag and domestic consumer user, according to different user, thus allocated the modes of payments flexibly, the channel cooperation with millet side can be strengthened on the one hand, give the characteristic that channel bag is newly exclusive, be also conducive to follow-up businessman on the one hand in addition and be divided into.
In the present embodiment, to the user that the mobile phone YY channel bag in millet market is registered, carry out marking off two kinds of modes of payments according to hour of log-on:
New user: use rice coin to supplement with money the red row that creeps into when new user supplements with money in mobile phone YY;
Old user: use the common modes of payments (Alipay, Unionpay etc.) to supplement with money Y coin when old user supplements with money in mobile phone YY
When being divided into, just can according to channel number and meter coin circulation situation, the channel consumer record of carrying out YY and millet side is divided into.
In the present embodiment, by judging that user belongs to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel, just the first directly corresponding with preset channel currency of payment payment channel is achieved, to go forward side by side line item, solve current app and generally bind the specific modes of payments (as Alipay, Unionpay pays and micro-letter pays), no matter any user consumes in this app, all adopt the same modes of payments, do not distinguish different user identity, make when channel consumption in backstage is divided into, the process caused is chaotic, and the technical matters taken place frequently of slipping up.
The present invention, as a channel bag and the integrated scheme of the modes of payments, can bring following beneficial effect:
1) be convenient to app manufacturer be divided into the consumption of different user in channel;
2) currency of payment in user-friendly channel system.
Refer to Fig. 3, an embodiment of a kind of payment mechanism based on cooperation channel provided in the embodiment of the present invention comprises:
Determine judging unit 301, for getting the request of payment, and judging whether user belongs to the new registration user of preset channel, if so, then triggering channel payment unit 302, if not, then triggering conventional payment unit 303;
Channel payment unit 302, for being automatically converted to first currency of payment corresponding with preset channel by the monetary unit of currency payment window;
Conventional payment unit 303, for being automatically converted to the second conventional currency of payment by the monetary unit of currency payment window;
Determining unit 304, pays successfully for determining.
In the present embodiment, by determining that judging unit 301 judges that user belongs to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel by channel payment unit 302, just the first directly corresponding with preset channel currency of payment payment channel is achieved, to go forward side by side line item, solve current app and generally bind the specific modes of payments (as Alipay, Unionpay pays and micro-letter pays), no matter any user consumes in this app, all adopt the same modes of payments, do not distinguish different user identity, make when channel consumption in backstage is divided into, the process caused is chaotic, and the technical matters taken place frequently of slipping up.
The above is described in detail each unit of the payment mechanism based on cooperation channel, to be described in detail extra cell below, refer to Fig. 4, another embodiment of a kind of payment mechanism based on cooperation channel provided in the embodiment of the present invention comprises:
Supplementing unit 401 with money, for getting the charging request that user triggers, and supplementing with money according to request.
Supplement unit 401 with money specifically to comprise:
Supplement judgment sub-unit 4011 with money, for judging whether user is registered by preset channel, if not, then trigger routine and supplement subelement 4012 with money;
Routine supplements subelement 4012 with money, conventional supplements second currency of payment with money for the mode of supplementing with money being converted to.
Supplementing judgment sub-unit 4011 with money, also for when judging that user is as registering by preset channel, then triggering channel registration judgment sub-unit 4013;
Channel registration judgment sub-unit 4013, for judging the registration type of user, if the new registration user of preset channel, then triggers channel and supplements subelement 4014 with money, if the old registered user of preset channel, then triggers routine and supplements subelement 4012 with money;
Subelement 4014 supplemented with money by channel, for the mode of supplementing with money is converted to channel and supplements currency with money and supplement first currency of payment with money.
Determine judging unit 402, for getting the request of payment, and judging whether user belongs to the new registration user of preset channel, if so, then triggering channel payment unit 403, if not, then triggering conventional payment unit 404;
Determine that judging unit 402 specifically comprises:
Obtain subelement 4021, for getting the payment request that user triggers by launching present hurdle;
Pay judgment sub-unit 4022, for judging whether user belongs to the new registration user of preset channel, if so, then triggering channel payment unit 403, if not, then triggering conventional payment unit 404.
Channel payment unit 403, for being automatically converted to first currency of payment corresponding with preset channel by the monetary unit of currency payment window;
Conventional payment unit 404, for being automatically converted to the second conventional currency of payment by the monetary unit of currency payment window;
Determining unit 405, pays successfully for determining.
In the present embodiment, by determining that judging unit 402 judges that user belongs to the new registration user of preset channel, then the monetary unit of currency payment window is automatically converted to first currency of payment corresponding with preset channel by channel payment unit 403, just the first directly corresponding with preset channel currency of payment payment channel is achieved, to go forward side by side line item, solve current app and generally bind the specific modes of payments (as Alipay, Unionpay pays and micro-letter pays), no matter any user consumes in this app, all adopt the same modes of payments, do not distinguish different user identity, make when channel consumption in backstage is divided into, the process caused is chaotic, and the technical matters taken place frequently of slipping up.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.