CN104966190A - Network payment method and apparatus - Google Patents

Network payment method and apparatus Download PDF

Info

Publication number
CN104966190A
CN104966190A CN201510378210.9A CN201510378210A CN104966190A CN 104966190 A CN104966190 A CN 104966190A CN 201510378210 A CN201510378210 A CN 201510378210A CN 104966190 A CN104966190 A CN 104966190A
Authority
CN
China
Prior art keywords
payment
information
preset
grouping
modes
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
CN201510378210.9A
Other languages
Chinese (zh)
Inventor
张大伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510378210.9A priority Critical patent/CN104966190A/en
Publication of CN104966190A publication Critical patent/CN104966190A/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • G06Q20/023Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP] the neutral party being a clearing house

Abstract

Embodiments of the invention provide a network payment method and apparatus. The method specifically comprises the steps of: receiving a payment request, wherein the payment request comprises business information and payment information; performing search in a registration container according to the business information to obtain an object, matched with the business information, of a preset payment group, wherein information of the object of the preset payment group comprises payment mode information; and processing the payment information by utilizing the payment mode information corresponding to the object of the preset payment group. According to the embodiments of the invention, the development cost of payment processing flow in a payment system can be reduced.

Description

A kind of method of network payment and device
Technical field
The present invention relates to network payment technical field, particularly relate to a kind of method of network payment and a kind of network payment device.
Background technology
At present, along with the fast development of computer technology, network payment obtains to be applied more and more widely.Such as, for the network application of online game and so on, it is some Premium Features (as value-added service) defrayment in online game that user can select by network payment.
Existing method of network payment is generally, and user sends to payment system the request of payment by the client of gaming platform; Payment system is after receiving this payment request, user profile in this payment request is verified, and after upchecking, jump to the page of third-party payment system (as Net silver, Alipay, quick, the fast money of Unionpay etc.) according to other information such as the amount information in this payment request, complete payment by this Third party system.
In actual applications, different gaming platform or identical game platform difference game or different business may support different third-party payment systems; For the otherness between above-mentioned gaming platform or between the game of gaming platform or business, usually corresponding payment processes flow process is developed respectively at present, when the kind of difference is more, then needs the kind of the payment processes flow process developed also more, therefore consume a large amount of cost of development.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the method for network payment solved the problem at least in part and corresponding network payment device.
According to one aspect of the present invention, provide a kind of method of network payment, comprising:
Receive the request of payment; Wherein, described payment request comprises business information and payment information;
Search in registration container according to described business information, to obtain that match with described business information, preset paying the object divided into groups; Wherein, the described preset information paying the object of grouping comprises: modes of payments information;
Utilize the modes of payments information that the object of described preset payment grouping is corresponding, described payment information is processed.
Alternatively, the modes of payments information that the described object utilizing described preset payment to divide into groups is corresponding, to the step that described payment information processes, comprising:
By the call back function that the object calling described preset payment grouping is corresponding, the third-party payment system of specifying to described call back function initiates payment processes request; Wherein, described payment processes request comprises: described payment information;
Receive the result that described third-party payment system returns, described payment processes request is corresponding.
Alternatively, described by calling described call back function, to the step of the third-party payment system initiation payment processes request that described call back function is specified, comprising:
Monitor the event of carrying out searching in registration container;
Listen in described registration container, carry out the event of searching time, by search obtain, match with described business information, the preset modes of payments information paid included by the object that divides into groups imports described call back function into, makes described variable parameter as the parameter of described call back function.
Alternatively, described according to described business information registration container in carry out the step of searching before, described method also comprises:
Obtain the preset business information and the modes of payments information that pay grouping;
According to described preset business information and the modes of payments information paying grouping, in registration container, register the preset object paying grouping; Wherein, described preset payment divides into groups to have the corresponding modes of payments, and the described preset information paying the object of grouping comprises: modes of payments information.
Alternatively, described according to described preset business information and the modes of payments information paying grouping, in registration container, register the preset step paying the object of grouping, comprising:
Obtain registration container class;
For described preset payment grouping, create the payment classes of packets inherited in described registration container class, and in described payment classes of packets, create the first corresponding registration function;
According to described preset business information and the modes of payments information paying grouping, utilize described first registration function by the object registration of described preset payment grouping in described registration container class.
Alternatively, described according to described preset business information and the modes of payments information paying grouping, in registration container, register the preset step paying the object of grouping, comprising:
Obtain registration container class;
According to described preset business information and the modes of payments information paying grouping, utilize the second registration function that described registration container class is corresponding, by the object registration of described preset payment grouping in described registration container class.
Alternatively, described business information comprises: gaming platform information, or described business information comprises: gaming platform information and game information.
According to a further aspect in the invention, provide a kind of network payment device, comprising:
Receiver module, for receiving the request of payment; Wherein, described payment request comprises business information and payment information;
Search module, for searching in registration container according to described business information, to obtain that match with described business information, preset paying the object divided into groups; Wherein, the described preset information paying the object of grouping comprises: modes of payments information; And
Processing module, for utilizing the modes of payments information that the object of described preset payment grouping is corresponding, processes described payment information.
Alternatively, described processing module, comprising:
Readjustment submodule, for the call back function that the object by calling described preset payment grouping is corresponding, the third-party payment system of specifying to described call back function initiates payment processes request; Wherein, described payment processes request comprises: described payment information;
Result receives submodule, for receiving result corresponding to that described third-party payment system returns, described payment processes request.
Alternatively, described readjustment submodule, comprising:
Monitoring unit, for monitoring the event of carrying out searching in registration container; And
Parameter transfer module, for listen in described registration container, carry out the event of searching time, by search obtain, match with described business information, the preset modes of payments information paid included by the object that divides into groups imports described call back function into, makes described variable parameter as the parameter of described call back function.
Alternatively, described device also comprises: Registering modules, for described search module according to described business information registration container in search before, registration container in register preset pay grouping object;
Wherein, described Registering modules, comprising:
Obtain submodule, for obtaining the preset business information and the modes of payments information that pay grouping;
Registration submodule, for according to described preset business information and the modes of payments information paying grouping, registers the preset object paying grouping in registration container; Wherein, described preset payment divides into groups to have the corresponding modes of payments, and the described preset information paying the object of grouping comprises: modes of payments information.
Alternatively, described registration submodule, comprising:
First acquiring unit, for obtaining registration container class;
First creating unit, for for described preset payment grouping, creates the payment classes of packets inherited in described registration container class, and in described payment classes of packets, creates the first corresponding registration function; And
First registering unit, for according to described preset business information and the modes of payments information paying grouping, utilizes described first registration function by the object registration of described preset payment grouping in described registration container class.
Alternatively, described registration submodule, comprising:
Second acquisition unit, for obtaining registration container class; And
Second registering unit, for according to described preset business information and the modes of payments information paying grouping, utilizes the second registration function that described registration container class is corresponding, by the object registration of described preset payment grouping in described registration container class.
Alternatively, described business information comprises: gaming platform information, or described business information comprises: gaming platform information and game information.
According to a kind of method of network payment of the present invention and device, receive pay request time, can using the business information of carrying in this payment request as index, preset pay the object divided into groups according to this index fast finding in above-mentioned registration container to corresponding; Because above-mentioned registration container can realize for the preset identical constraint paying the object of grouping of difference by registering, therefore can realize being communicated with outside Third party system by unified payment processes flow process, relative to existing scheme, the embodiment of the present invention can reduce the cost of development of payment processes flow process in payment system;
Further, the embodiment of the present invention can for different business information Quicks for the corresponding preset object paying grouping, and, also there is easy to understand, the advantage such as easy to maintenance.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of steps registering the object method embodiment of preset payment grouping in registration container;
Fig. 2 shows a kind of according to an embodiment of the invention flow chart of steps of method of network payment embodiment; And
Fig. 3 shows a kind of according to an embodiment of the invention structured flowchart of network payment device embodiment.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
With reference to Fig. 1, show a kind of according to an embodiment of the invention flow chart of steps registering the object method embodiment of preset payment grouping in registration container, specifically can comprise the steps:
Step 101, the business information obtaining preset payment grouping and modes of payments information;
Step 102, according to described preset pay grouping business information and modes of payments information, registration container in register preset pay grouping object; Wherein, the described preset information paying the object of grouping specifically can comprise: modes of payments information.
The embodiment of the present invention can be applied in the payment system of any application scenarios, for reducing the cost of development of payment processes flow process in payment system.The embodiment of the present invention is mainly described for network game field, and other application scenarioss are cross-referenced.
In network game field, the difference game of different gaming platform or identical game or different business may support the different modes of payments, such as, play platform and can support this kind of modes of payments of Net silver, and the V planning business of playing platform can support the multiple modes of payments such as Net silver, Alipay, quick, the fast money of Unionpay, and hand trip platform can support the multiple modes of payments such as Net silver, Alipay, for the otherness of above-mentioned three kinds of payment characteristics, existing scheme needs to develop corresponding three kinds of payment processes flow processs.
And the embodiment of the present invention can for different payment characteristics, corresponding preset payment grouping is set, and according to described preset business information and the modes of payments information paying grouping, the preset object paying grouping is registered in registration container, wherein, the described preset information paying the object of grouping specifically can comprise: modes of payments information; Like this, when registering the object having multiple preset payment grouping in above-mentioned registration container, above-mentioned registration container still can be communicated with outside Third party system by unified payment processes flow process, therefore, relative to existing scheme, the embodiment of the present invention can reduce the cost of development of payment processes flow process in payment system.
Further, use the embodiment of the present invention, receive pay request time, using the business information of carrying in this payment request as index, can divide into groups to corresponding preset payment according to this index fast finding in above-mentioned registration container; Therefore, can for different business information Quicks for corresponding payment grouping, and, also there is easy to understand, the advantage such as easy to maintenance.
In a kind of application example of the present invention, can for the payment characteristics of the V planning business of object for appreciation platform, corresponding preset payment grouping WanPlanVPayChannelGroup is set, wherein, this preset business information paying grouping WanPlanVPayChannelGroup specifically can comprise: gaming platform information (object for appreciation platform) and game information (V plan), and this preset counterpart expenditure mode information paying grouping WanPlanVPayChannelGroup specifically can comprise: the information such as Net silver, Alipay, quick, the fast money of Unionpay.
In the embodiment of the present invention, above-mentioned registration container can be used for representing the container saving presets the object paying grouping, it can realize for the preset identical constraint paying the object of grouping of difference by registering, thus can realize being communicated with outside Third party system by unified payment processes flow process.In actual applications, the embodiment of the present invention can be passed through IOC and (control reversion, Inversion of control) etc. form realize, and PHP (HyperText Preprocessor can be applied to, Hypertext Preprocessor) etc. language realize, the embodiment of the present invention is not limited for the specific implementation form of above-mentioned registration container and implementation language.
The embodiment of the present invention can provide according to described preset business information and the modes of payments information paying grouping, in registration container, register the preset following technical scheme paying the object of grouping:
Technical scheme A1
Technical scheme A1 can realize the corresponding preset registration of object in registration container class paying grouping by the first registration function inherited in the payment classes of packets of registration container class, and it specifically can comprise:
Step S11, acquisition registration container class;
In a kind of application example of the present invention, directly can obtain corresponding registration container class; Also the reflection instrument of PHP can be used to check the type prompts information of class and reading constructor, and use these information, build corresponding registration container class, the embodiment of the present invention is not limited for the concrete grammar obtaining registration container class.In the embodiment of the present invention, this registration container class can be used for realizing the above-mentioned unified interface corresponding to payment processes flow process.
Step S12, for described preset payment grouping, create the payment classes of packets inherited in described registration container class, and in described payment classes of packets, create the first corresponding registration function;
Step S13, according to described preset pay grouping business information and modes of payments information, utilize described first registration function by described preset pay grouping object registration in described registration container class.
In a kind of application example of the present invention, suppose that two preset payment groupings are respectively YouxiHazgPayChannelGroup, YouxiPlanVPayChannelGroup, gaming platform information and the game information of these two preset payment groupings are respectively: ' youxi ' and ' hazg ' and ' youxi ' and ' planv ', above-mentioned first registration function is Register->add (), then utilize described first registration function described preset payment packet registration to be specifically as follows to the process in described registration container class:
Register->add(‘youxi’,‘hazg’,YouxiHazgPayChannelGroup())
Register->add(‘youxi’,‘planv’,YouxiPlanVPayChannelGroup())
Technical scheme A2
Technical scheme A2 can realize the corresponding preset registration of object in registration container class paying grouping by the second registration function that registration container class is corresponding, it specifically can comprise:
Step S21, acquisition registration container class;
Step S21, according to described preset business information and the modes of payments information paying grouping, utilize the second registration function that described registration container class is corresponding by the described preset object registration paying grouping in described registration container class.
In actual applications, in the configuration file that the above-mentioned preset information of object paying grouping can be stored to above-mentioned registration container or database, like this, when receiving payment request, the corresponding preset information paying the object of grouping can be obtained according to the business information of carrying in this payment request fast finding in above-mentioned configuration file or database.
It should be noted that, the information of the object of above-mentioned preset payment grouping is except comprising modes of payments information, out of Memory can also be comprised, as the information such as implementation of counterpart expenditure mode information, such as this implementation specifically can comprise: the interface information etc. that various modes of payments information is corresponding, and the embodiment of the present invention is not limited for the above-mentioned preset specifying information paying the object of grouping.
Above to the business information of dividing into groups according to described preset payment and modes of payments information, in registration container, register the preset technical scheme paying the object of grouping be described in detail, be appreciated that, it is arbitrary that those skilled in the art can adopt in technique scheme according to actual needs, or, other technical scheme can also be adopted according to actual needs, such as, the technical scheme of component registration can also be adopted, particularly, can according to described preset business information and the modes of payments information registering class be mapped as interface paying grouping, then corresponding class is obtained according to this interface, this class be registered is called as assembly, wherein, all preset interfaces paying grouping corresponding can be inherited in identical interface.
To sum up, the embodiment of the present invention can for different payment characteristics, corresponding preset payment grouping is set, and according to described preset business information and the modes of payments information paying grouping, the preset object paying grouping is registered in registration container, wherein, the described preset information paying the object of grouping specifically can comprise: modes of payments information; Like this, when registering the object having multiple preset payment grouping in above-mentioned registration container, above-mentioned registration container still can be communicated with outside Third party system by unified payment processes flow process, therefore, relative to existing scheme, the embodiment of the present invention can reduce the cost of development of payment processes flow process in payment system.
With reference to Fig. 2, show a kind of according to an embodiment of the invention flow chart of steps of method of network payment embodiment, specifically can comprise the steps:
Step 201, reception pay request; Wherein, specifically business information and payment information can be comprised in described payment request;
In specific implementation, the payment request of user's submission can be received by the client of payment system, then by this client, above-mentioned payment request is sent to the payment system of the embodiment of the present invention; Wherein, specifically can comprise in above-mentioned payment request: gaming platform information, or described business information specifically can comprise: gaming platform information and game information; Described payment information specifically can comprise: pay the information of product and corresponding payment information etc.
Be appreciated that, those skilled in the art according to actual needs, can also carry other information in payment information, or, in payment request, carry other information (as user totem information etc.), the embodiment of the present invention is not limited for concrete payment information and the request that pays.
Step 202, to search in registration container according to described business information, to obtain that match with described business information, preset paying the object divided into groups; Wherein, the described preset information paying the object of grouping specifically can comprise: modes of payments information;
In specific implementation, can using the business information of carrying in this payment request as index, according to this index in above-mentioned registration container fast finding to the corresponding preset object paying grouping.Suppose in the configuration file that all preset objects paying grouping are stored in registration container or database, then to search from this configuration file or database and obtain that described business information matches, the preset object paying grouping.Such as, can record in this database business information and preset payment grouping object payment information between mapping relations, therefore, can search in these mapping relations, to obtain that match with described business information, the preset information paying the object divided into groups.
Step 203, the modes of payments information that the object utilizing described preset payment to divide into groups is corresponding, process described payment information.
Above-mentioned preset modes of payments Information Availability corresponding to object paying grouping pays in representing corresponding preset the modes of payments (as Net silver, Alipay, quick, the fast money of Unionpay etc.) dividing into groups to support, it can represent the corresponding preset payment characteristics paying grouping, therefore, can when adopting unified payment processes flow process, utilize the modes of payments information that the object of described preset payment grouping is corresponding, described payment information is processed.
In a kind of embodiment of the present invention, the modes of payments information that the described object utilizing described preset payment to divide into groups is corresponding, to the step that described payment information processes, specifically can comprise:
Step S31, by calling described preset call back function corresponding to object paying grouping, the third-party payment system of specifying to described call back function initiates payment processes request; Wherein, specifically can comprise in described payment processes request: described payment information;
Step S32, receive result corresponding to that described third-party payment system returns, described payment processes request.
In embodiments of the present invention, call back function can be provided by third-party payment system, wherein, third-party payment system corresponding to often kind of modes of payments all can provide corresponding call back function, such as, Alipay system corresponding to Alipay mode can provide a kind of call back function, and the bank such as China Construction Bank, the National Industrial and Commercial Bank of China corresponding to Net silver mode can provide corresponding call back function respectively, the embodiment of the present invention is not limited for the concrete obtain manner of call back function corresponding to the described preset object paying grouping.
In actual applications, above-mentioned call back function can specify corresponding called side, specific to the embodiment of the present invention, above-mentioned being called can think third-party payment system, therefore, the embodiment of the present invention can by calling described preset call back function corresponding to object paying grouping, and the third-party payment system of specifying to described call back function initiates payment processes request, processes above-mentioned payment processes request to make above-mentioned third-party payment system.
In a kind of application example of the present invention, can also comprise in above-mentioned payment processes request: the identification information of user in third-party payment system is (as Net silver card number information, Alipay account information etc.), then above-mentioned third-party payment system processes above-mentioned payment processes request and specifically can comprise: according to the identification information of user in third-party payment system, in above-mentioned third-party payment system, carry out withhold corresponding to payment information process, and corresponding result is returned to called side after process of withholing, this result specifically can comprise: pay successfully, pay the result such as unsuccessfully.
It should be noted that, after receiving that described third-party payment system returns, that described payment processes request is corresponding result, the payment system of the embodiment of the present invention can also return this result to corresponding client, or, this result is encapsulated or transforms backward corresponding client and returns.The embodiment of the present invention is not limited for the concrete interactive mode between payment system and client.
In another kind of embodiment of the present invention, described by calling described call back function, to the step of the third-party payment system initiation payment processes request that described call back function is specified, specifically can comprise:
Step S41, monitor and carry out the event of searching in registration container;
Step S42, listen in described registration container, carry out the event of searching time, by search obtain, match with described business information, the preset modes of payments information paid included by the object that divides into groups imports described call back function into, makes described variable parameter as the parameter of described call back function.
Suppose in the configuration file that all preset objects paying grouping are stored in registration container or database, then can monitor for the registration configuration file of container or the read operation of database, and after listening to corresponding read operation, intercept corresponding reading result, and by comprise in this reading result the modes of payments import described call back function into, make described modes of payments information as the parameter of described call back function.Be appreciated that except using above-mentioned modes of payments information as except the parameter of described call back function, can also using the parameter of above-mentioned payment information as described call back function, the embodiment of the present invention is not limited for the concrete mode to above-mentioned call back function Transfer Parameters.
In a kind of application example of the present invention, suppose that two preset payment groupings are respectively YouxiHazgPayChannelGroup, YouxiPlanVPayChannelGroup, gaming platform information and the game information of these two preset payment groupings are respectively: ' youxi ' and ' hazg ', and ' youxi ' and ' planv ', suppose to pay the gaming platform information of carrying and game information in request to be respectively: ' youxi ' and ' hazg ', then can obtain the preset payment grouping that this payment request is corresponding in the following way: payChannel=Register->get (' youxi, ' hazg '), this preset payment grouping of YouxiHazgPayChannelGroup can be obtained, thus this preset payment characteristics paying grouping can be utilized to carry out the process of payment information.
To sum up, the embodiment of the present invention receive pay request time, can using the business information of carrying in this payment request as index, preset pay the object divided into groups according to this index fast finding in above-mentioned registration container to corresponding; Because above-mentioned registration container can realize for the preset identical constraint paying the object of grouping of difference by registering, therefore can realize being communicated with outside Third party system by unified payment processes flow process, relative to existing scheme, the embodiment of the present invention can reduce the cost of development of payment processes flow process in payment system;
Further, the embodiment of the present invention can for different business information Quicks for the corresponding preset object paying grouping, and, also there is easy to understand, the advantage such as easy to maintenance.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 3, show a kind of according to an embodiment of the invention structured flowchart of network payment device embodiment, specifically can comprise as lower module:
Receiver module 301, for receiving the request of payment; Wherein, specifically business information and payment information can be comprised in described payment request;
Search module 302, for searching in registration container according to described business information, to obtain that match with described business information, preset paying the object divided into groups; Wherein, the described preset information paying the object of grouping specifically can comprise: modes of payments information; And
Processing module 303, for utilizing the modes of payments information that the object of described preset payment grouping is corresponding, processes described payment information.
In a kind of application example of the present invention, described business information specifically can comprise: gaming platform information, or described business information specifically can comprise: gaming platform information and game information.
In a kind of embodiment of the present invention, described processing module 303, specifically can comprise:
Readjustment submodule, for the call back function that the object by calling described preset payment grouping is corresponding, the third-party payment system of specifying to described call back function initiates payment processes request; Wherein, specifically can comprise in described payment processes request: described payment information; And
Result receives submodule, for receiving result corresponding to that described third-party payment system returns, described payment processes request.
In another kind of embodiment of the present invention, described readjustment submodule, specifically can comprise:
Monitoring unit, for monitoring the event of carrying out searching in registration container; And
Parameter transfer module, for listen in described registration container, carry out the event of searching time, by search obtain, match with described business information, the preset modes of payments information paid included by the object that divides into groups imports described call back function into, makes described variable parameter as the parameter of described call back function.
In another embodiment of the present invention, described device can also comprise: Registering modules, for described search module according to described business information registration container in search before, registration container in register preset pay grouping object;
Wherein, described Registering modules, specifically can comprise:
Obtain submodule, for obtaining the preset business information and the modes of payments information that pay grouping;
Registration submodule, for according to described preset business information and the modes of payments information paying grouping, registers the preset object paying grouping in registration container; Wherein, described preset payment divides into groups to have the corresponding modes of payments, and the described preset information paying the object of grouping comprises: modes of payments information.
In another embodiment of the present invention, described registration submodule, specifically can comprise:
First acquiring unit, for obtaining registration container class;
First creating unit, for for described preset payment grouping, creates the payment classes of packets inherited in described registration container class, and in described payment classes of packets, creates the first corresponding registration function; And
First registering unit, for according to described preset business information and the modes of payments information paying grouping, utilizes described first registration function by the object registration of described preset payment grouping in described registration container class.
In a kind of embodiment of the present invention, described registration submodule, specifically can comprise:
Second acquisition unit, for obtaining registration container class; And
Second registering unit, for according to described preset business information and the modes of payments information paying grouping, utilizes the second registration function that described registration container class is corresponding, by the object registration of described preset payment grouping in described registration container class.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the method for network payment of the embodiment of the present invention and device.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of method of network payment, comprising:
Receive the request of payment; Wherein, described payment request comprises business information and payment information;
Search in registration container according to described business information, to obtain that match with described business information, preset paying the object divided into groups; Wherein, the described preset information paying the object of grouping comprises: modes of payments information;
Utilize the modes of payments information that the object of described preset payment grouping is corresponding, described payment information is processed.
A2, method as described in A1, describedly utilize the modes of payments information that the described preset object paying grouping is corresponding, to the step that described payment information processes, comprising:
By the call back function that the object calling described preset payment grouping is corresponding, the third-party payment system of specifying to described call back function initiates payment processes request; Wherein, described payment processes request comprises: described payment information;
Receive the result that described third-party payment system returns, described payment processes request is corresponding.
A3, method as described in A2, described by calling described call back function, the third-party payment system of specifying to described call back function initiates the step of payment processes request, comprising:
Monitor the event of carrying out searching in registration container;
Listen in described registration container, carry out the event of searching time, by search obtain, match with described business information, the preset modes of payments information paid included by the object that divides into groups imports described call back function into, makes described variable parameter as the parameter of described call back function.
A4, as the method as described in arbitrary in A1 to A3, described in registration container, carry out the step of searching according to described business information before, described method also comprises:
Obtain the preset business information and the modes of payments information that pay grouping;
According to described preset business information and the modes of payments information paying grouping, in registration container, register the preset object paying grouping; Wherein, described preset payment divides into groups to have the corresponding modes of payments, and the described preset information paying the object of grouping comprises: modes of payments information.
A5, method as described in A4, described according to described preset business information and the modes of payments information paying grouping, in registration container, register the preset step paying the object of grouping, comprising:
Obtain registration container class;
For described preset payment grouping, create the payment classes of packets inherited in described registration container class, and in described payment classes of packets, create the first corresponding registration function;
According to described preset business information and the modes of payments information paying grouping, utilize described first registration function by the object registration of described preset payment grouping in described registration container class.
A6, method as described in A4, described according to described preset business information and the modes of payments information paying grouping, in registration container, register the preset step paying the object of grouping, comprising:
Obtain registration container class;
According to described preset business information and the modes of payments information paying grouping, utilize the second registration function that described registration container class is corresponding, by the object registration of described preset payment grouping in described registration container class.
A7, as the method as described in arbitrary in A1 to A3, described business information comprises: gaming platform information, or described business information comprises: gaming platform information and game information.
The invention also discloses B8, a kind of network payment device, comprising:
Receiver module, for receiving the request of payment; Wherein, described payment request comprises business information and payment information;
Search module, for searching in registration container according to described business information, to obtain that match with described business information, preset paying the object divided into groups; Wherein, the described preset information paying the object of grouping comprises: modes of payments information; And
Processing module, for utilizing the modes of payments information that the object of described preset payment grouping is corresponding, processes described payment information.
B9, device as described in B8, described processing module, comprising:
Readjustment submodule, for the call back function that the object by calling described preset payment grouping is corresponding, the third-party payment system of specifying to described call back function initiates payment processes request; Wherein, described payment processes request comprises: described payment information;
Result receives submodule, for receiving result corresponding to that described third-party payment system returns, described payment processes request.
B10, device as described in B9, described readjustment submodule, comprising:
Monitoring unit, for monitoring the event of carrying out searching in registration container; And
Parameter transfer module, for listen in described registration container, carry out the event of searching time, by search obtain, match with described business information, the preset modes of payments information paid included by the object that divides into groups imports described call back function into, makes described variable parameter as the parameter of described call back function.
B11, as the device as described in arbitrary in B8 to B10, described device also comprises: Registering modules, for searching before module searches in registration container according to described business information described, in registration container, registers the preset object paying grouping;
Wherein, described Registering modules, comprising:
Obtain submodule, for obtaining the preset business information and the modes of payments information that pay grouping;
Registration submodule, for according to described preset business information and the modes of payments information paying grouping, registers the preset object paying grouping in registration container; Wherein, described preset payment divides into groups to have the corresponding modes of payments, and the described preset information paying the object of grouping comprises: modes of payments information.
B12, device as described in B11, described registration submodule, comprising:
First acquiring unit, for obtaining registration container class;
First creating unit, for for described preset payment grouping, creates the payment classes of packets inherited in described registration container class, and in described payment classes of packets, creates the first corresponding registration function; And
First registering unit, for according to described preset business information and the modes of payments information paying grouping, utilizes described first registration function by the object registration of described preset payment grouping in described registration container class.
B13, device as described in B11, described registration submodule, comprising:
Second acquisition unit, for obtaining registration container class; And
Second registering unit, for according to described preset business information and the modes of payments information paying grouping, utilizes the second registration function that described registration container class is corresponding, by the object registration of described preset payment grouping in described registration container class.
B14, as the device as described in arbitrary in B8 to B11, described business information comprises: gaming platform information, or described business information comprises: gaming platform information and game information.

Claims (10)

1. a method of network payment, comprising:
Receive the request of payment; Wherein, described payment request comprises business information and payment information;
Search in registration container according to described business information, to obtain that match with described business information, preset paying the object divided into groups; Wherein, the described preset information paying the object of grouping comprises: modes of payments information;
Utilize the modes of payments information that the object of described preset payment grouping is corresponding, described payment information is processed.
2. the method for claim 1, is characterized in that, the modes of payments information that the described object utilizing described preset payment to divide into groups is corresponding, to the step that described payment information processes, comprising:
By the call back function that the object calling described preset payment grouping is corresponding, the third-party payment system of specifying to described call back function initiates payment processes request; Wherein, described payment processes request comprises: described payment information;
Receive the result that described third-party payment system returns, described payment processes request is corresponding.
3. method as claimed in claim 2, is characterized in that, described by calling described call back function, to the step of the third-party payment system initiation payment processes request that described call back function is specified, comprising:
Monitor the event of carrying out searching in registration container;
Listen in described registration container, carry out the event of searching time, by search obtain, match with described business information, the preset modes of payments information paid included by the object that divides into groups imports described call back function into, makes described variable parameter as the parameter of described call back function.
4., as the method as described in arbitrary in claims 1 to 3, it is characterized in that, described in registration container, carry out the step of searching according to described business information before, described method also comprises:
Obtain the preset business information and the modes of payments information that pay grouping;
According to described preset business information and the modes of payments information paying grouping, in registration container, register the preset object paying grouping; Wherein, described preset payment divides into groups to have the corresponding modes of payments, and the described preset information paying the object of grouping comprises: modes of payments information.
5. method as claimed in claim 4, is characterized in that, described according to described preset business information and the modes of payments information paying grouping, registers the preset step paying the object of grouping, comprising in registration container:
Obtain registration container class;
For described preset payment grouping, create the payment classes of packets inherited in described registration container class, and in described payment classes of packets, create the first corresponding registration function;
According to described preset business information and the modes of payments information paying grouping, utilize described first registration function by the object registration of described preset payment grouping in described registration container class.
6. method as claimed in claim 4, is characterized in that, described according to described preset business information and the modes of payments information paying grouping, registers the preset step paying the object of grouping, comprising in registration container:
Obtain registration container class;
According to described preset business information and the modes of payments information paying grouping, utilize the second registration function that described registration container class is corresponding, by the object registration of described preset payment grouping in described registration container class.
7. a network payment device, comprising:
Receiver module, for receiving the request of payment; Wherein, described payment request comprises business information and payment information;
Search module, for searching in registration container according to described business information, to obtain that match with described business information, preset paying the object divided into groups; Wherein, the described preset information paying the object of grouping comprises: modes of payments information; And
Processing module, for utilizing the modes of payments information that the object of described preset payment grouping is corresponding, processes described payment information.
8. device as claimed in claim 7, it is characterized in that, described processing module, comprising:
Readjustment submodule, for the call back function that the object by calling described preset payment grouping is corresponding, the third-party payment system of specifying to described call back function initiates payment processes request; Wherein, described payment processes request comprises: described payment information;
Result receives submodule, for receiving result corresponding to that described third-party payment system returns, described payment processes request.
9. device as claimed in claim 8, it is characterized in that, described readjustment submodule, comprising:
Monitoring unit, for monitoring the event of carrying out searching in registration container; And
Parameter transfer module, for listen in described registration container, carry out the event of searching time, by search obtain, match with described business information, the preset modes of payments information paid included by the object that divides into groups imports described call back function into, makes described variable parameter as the parameter of described call back function.
10. as the device as described in arbitrary in claim 7 to 9, it is characterized in that, described device also comprises: Registering modules, for described search module according to described business information registration container in search before, registration container in register preset pay grouping object;
Wherein, described Registering modules, comprising:
Obtain submodule, for obtaining the preset business information and the modes of payments information that pay grouping;
Registration submodule, for according to described preset business information and the modes of payments information paying grouping, registers the preset object paying grouping in registration container; Wherein, described preset payment divides into groups to have the corresponding modes of payments, and the described preset information paying the object of grouping comprises: modes of payments information.
CN201510378210.9A 2015-06-30 2015-06-30 Network payment method and apparatus Pending CN104966190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510378210.9A CN104966190A (en) 2015-06-30 2015-06-30 Network payment method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510378210.9A CN104966190A (en) 2015-06-30 2015-06-30 Network payment method and apparatus

Publications (1)

Publication Number Publication Date
CN104966190A true CN104966190A (en) 2015-10-07

Family

ID=54220223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510378210.9A Pending CN104966190A (en) 2015-06-30 2015-06-30 Network payment method and apparatus

Country Status (1)

Country Link
CN (1) CN104966190A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574755A (en) * 2015-12-22 2016-05-11 北京奇虎科技有限公司 Method and device of providing front-end service
CN105631650A (en) * 2015-12-22 2016-06-01 北京奇虎科技有限公司 Method and device for realizing universal front end payment service
CN105654298A (en) * 2015-12-30 2016-06-08 深圳市瑞铭无限科技有限公司 Curl-based payment callback method and system
CN107230061A (en) * 2017-05-27 2017-10-03 广州四三九九信息科技有限公司 Templating recharge method and device
CN107256482A (en) * 2017-06-09 2017-10-17 深圳市茁壮网络股份有限公司 A kind of method of payment and payment mechanism
CN109784679A (en) * 2018-12-26 2019-05-21 拉卡拉支付股份有限公司 Settlement channel sequence, settlement method and device
CN110223054A (en) * 2019-04-25 2019-09-10 德邦物流股份有限公司 A kind of unified method of payment and system for logistic industry

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841569A (en) * 2010-05-17 2010-09-22 成都中联信通科技有限公司 Mobile phone payment method based on WEB technology for realizing platform crossing
CN103400268A (en) * 2013-07-24 2013-11-20 北京奇虎科技有限公司 Device and method for realizing safety payment of browser
CN103971230A (en) * 2014-05-28 2014-08-06 拓维信息系统股份有限公司 Unified e-commerce payment system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841569A (en) * 2010-05-17 2010-09-22 成都中联信通科技有限公司 Mobile phone payment method based on WEB technology for realizing platform crossing
CN103400268A (en) * 2013-07-24 2013-11-20 北京奇虎科技有限公司 Device and method for realizing safety payment of browser
CN103971230A (en) * 2014-05-28 2014-08-06 拓维信息系统股份有限公司 Unified e-commerce payment system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574755A (en) * 2015-12-22 2016-05-11 北京奇虎科技有限公司 Method and device of providing front-end service
CN105631650A (en) * 2015-12-22 2016-06-01 北京奇虎科技有限公司 Method and device for realizing universal front end payment service
CN105654298A (en) * 2015-12-30 2016-06-08 深圳市瑞铭无限科技有限公司 Curl-based payment callback method and system
CN107230061A (en) * 2017-05-27 2017-10-03 广州四三九九信息科技有限公司 Templating recharge method and device
CN107256482A (en) * 2017-06-09 2017-10-17 深圳市茁壮网络股份有限公司 A kind of method of payment and payment mechanism
CN109784679A (en) * 2018-12-26 2019-05-21 拉卡拉支付股份有限公司 Settlement channel sequence, settlement method and device
CN110223054A (en) * 2019-04-25 2019-09-10 德邦物流股份有限公司 A kind of unified method of payment and system for logistic industry

Similar Documents

Publication Publication Date Title
CN104966190A (en) Network payment method and apparatus
CN109086031B (en) Business decision method and device based on rule engine
CN108595157B (en) Block chain data processing method, device, equipment and storage medium
CN110601880B (en) Cloud platform, service processing method, command interface and computer equipment
CN103150513B (en) The method of the implantation information in interception application program and device
US9946521B2 (en) Programmable code fingerprint
CN104580451A (en) Method and system for achieving account number synchronization among multiple platforms, and electronic device
CN104991921A (en) Data query method, client and server
CN114064690A (en) Data processing method and device
CN110058864A (en) The dispositions method and device of micro services
CN113222667B (en) Equity sharing processing method and device
CN1956454B (en) Method and system for bundling and sending work units to a server based on a weighted cost
CN111639279A (en) Graphic code generation method, target page loading method and device
CN110427304A (en) O&M method, apparatus, electronic equipment and medium for banking system
CN110795697A (en) Logic expression obtaining method and device, storage medium and electronic device
CN109284321A (en) Data load method, calculates equipment and computer readable storage medium at device
CN112016138A (en) Method and device for automatic safe modeling of Internet of vehicles and electronic equipment
CN114238948A (en) Application program detection method and device, electronic equipment and storage medium
CN111104158A (en) Software packaging method and device, computer equipment and storage medium
CN110310100A (en) Project management method, device, electronic equipment and storage medium
CN115469894A (en) Application program installation control method, device, equipment and storage medium
CN106126721A (en) The data processing method of a kind of real-time calculating platform and device
CN114549068A (en) Short link generation method, equipment, device and computer readable storage medium
CN103455476A (en) Processing method and device for network information and establishing method and device for abstract syntax tree
CN110705637A (en) User classification method and device based on application installation list information and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151007

RJ01 Rejection of invention patent application after publication