Summary of the invention
Therefore, it is necessary to the processing methods and processing system of a kind of means of payment information, can be avoided to underlying model
Overlapping development and change and the change to core logic, reduce development cost.
According to the disclosure in a first aspect, provide a kind of processing method of means of payment information, the processing method packet
Include: at database store means of payment information so that the entry of each means of payment include the means of payment identification information and
Information to be extended, the information to be extended include three message parts;It is arranged for each message part of the information to be extended
Allow to handle main body, so that first information part allows processing main body for business side and/or platform side, secondary information sector
Allowing to handle main body is business side, and the main body that allows to handle of third message part is platform side;Receive processing request, the processing
Identification information in request comprising requesting party and the identification information wait extend message part to be processed in information;It is asked described
The identification information for the side of asking meet corresponding message part to be processed allow to handle main body in the case where, allow the processing to ask
It asks, and corresponding processing is carried out to the information to be extended based on processing request.
In some embodiments, handle includes at least one of inquiry, calling, increase, deletion and modification.
In some embodiments, it requests to carry out corresponding processing to the information to be extended to include executing based on the processing
It is at least one of following: to carry out asking with the processing in the first information part by the business side and/or platform side
Ask corresponding processing;Processing corresponding with the processing request is carried out in the secondary information sector by the business side;By
The platform side carries out processing corresponding with the processing request in the third message part.The processing method is also wrapped
It includes: receiving user to the application request of the means of payment, the application request includes the identification information of the means of payment, the use
The identification information and request content at family;Based on the information being arranged in respective pay tool bar purpose corresponding information part, determine
Whether allow the user to the application request of the means of payment.
In some embodiments, the processing realizes that the database is mutual by calling Database Connectivity general-purpose interface
Even general-purpose interface is by Database Connectivity function, Database Connectivity driver manager and Database Connectivity driver come real
It is existing.
In some embodiments, the application request includes getting request or using request.
In some embodiments, the secondary information sector includes business side's amount information of respective pay tool, described
Business side's amount information includes budget information of the business side for its means of payment.It is to get the feelings of request in the application request
Under condition, the processing method further include: update the amount of getting based on request is got;Meet in the updated amount of getting for getting request
When budget information in counterpart expenditure tool entry, request is got described in permission.
In some embodiments, the secondary information sector includes business side's amount information of respective pay tool, described
Business side's amount information includes budget information of the business side for its means of payment, and the third message part includes respective pay
Other restricted informations of tool, other described restricted informations include the amount of the getting limitation for getting period restricted information and unit time period
At least one of information.In the case where the application request is to get request, the processing method further include: based on getting
Request updates the amount of getting;The amount of getting in the updated and the sending time for getting request meet pre- in counterpart expenditure tool entry
When calculating information and other described restricted informations, request is got described in permission.
In some embodiments, the first information part includes type information and/or the user of respective pay tool
Restricted information, in the case where the application request is using request, the processing method further include: described using in request
The identification information and request content of the user for including and type information and/or user in counterpart expenditure tool entry
When restricted information is consistent, allow described using request, usage type of the request content comprising counterpart expenditure tool.
In some embodiments, the third message part includes other restricted informations of respective pay tool, it is described its
His restricted information includes at least one of the usage amount restricted information of use time restricted information and unit time period, and described first
Message part includes the type information and/or user's restricted information of respective pay tool.It is using asking in the application request
In the case where asking, the processing method further include: request to update usage amount based on using;Using request sending time and
When updated usage amount meets other described restricted informations, and the mark using the user for including in request is believed
Breath and request content in counterpart expenditure tool entry type information and/or user's restricted information be consistent when, permission institute
It states using request, the request content includes the usage type of counterpart expenditure tool.
In some embodiments, user's restricted information includes whether to need the information of real-name authentication.
According to the second aspect of the disclosure, a kind of processing system of means of payment information is provided, the processing system includes
Database and interface, wherein the database is configured that storage means of payment information, so that the entry packet of each means of payment
The identification information and information to be extended, the information to be extended for including the means of payment include three message parts;To be described wait extend
Each message part of information, which is respectively arranged, to be allowed to handle main body, so that the main body that allows to handle of first information part is business side
And/or platform side, the main body that allows to handle of secondary information sector is business side, and the main body that allows to handle of third message part is flat
Platform side;It handles and requests via the interface, include the identification information and letter to be extended of requesting party in the processing request
The identification information of message part to be processed in breath;Meet corresponding message part to be processed in the identification information of the requesting party
Allow to handle main body in the case where, allow the processing to request, and based on the processing request to the information to be extended into
The corresponding processing of row.
In some embodiments, the processing system includes the platform side and the application side, and the interface includes number
General-purpose interface is interconnected according to library, the Database Connectivity general-purpose interface passes through Database Connectivity function, Database Connectivity driver
Manager and Database Connectivity driver are realized.The platform side is configured as: by calling the Database Connectivity logical
With interface, to handle the first information part and the third message part.The business side is configured as: being passed through
The Database Connectivity general-purpose interface is called, to handle the first information part and the secondary information sector, institute
State processing include inquiry, call, increase, delete and modification at least one of.
Using the processing method and processing system according to the means of payment information of each embodiment of the disclosure, do not changing core
In the case where heart logic and underlying model, means of payment information is configured to be common to various application scenarios, meets business side
With the various extension demands of platform side, and overlapping development is avoided, can reduce development cost.
Specific embodiment
Hereinafter, a side of term " business side " expression and target customer's progress business activity, and term " platform side "
It indicates to access for various businesses side and be completed with utilizing the resource (including but not limited to data resource, computing resource) of " platform side "
One side of business activity.For example, shopping open platform is properly termed as " platform side " and enters and carry out commercial affairs using its resource thereon
Movable shop (terminal) is properly termed as " business side ".For another example can be with for the homology APP product of same a Internet company
Referred to as " business side ", and " platform side " is properly termed as the platform that each money APP product of homology provides back-office support and data management.
For another example the game APP product being mounted on personal terminal is properly termed as " business side ", and back-office support is provided for this game
" platform side ", etc. is properly termed as with the backstage of data management.
Fig. 1 shows the flow chart of the processing method of the means of payment information according to the first embodiment of the present disclosure.Such as Fig. 1 institute
Show, the process flow 100 starts from the storage means of payment information at database, so that the entry of each means of payment includes branch
The identification information for the tool of paying and information to be extended, the information to be extended include three message part (steps 101), and are described
Each message part setting of information to be extended allows to handle main body, so that the main body that allows to handle of first information part is business
The main body that allows to handle of side and/or platform side, secondary information sector is business side, and the main body that allows to handle of third message part is
Platform side's (step 102).In some embodiments, the branch can be stored by creating means of payment table at database
Pay tool information.
Then, step 103 receive processing request, the processing request in comprising requesting party identification information (for example whether
Whether real name user applies side, ID of requesting party etc.) and to believe in the mark wait extend the message part handled in information
Breath.Herein, " identification information " of technical term object indicates to be capable of the information of unique identification object, such as, but not limited to ID,
Address, serial number etc..That is, the identification information that can use requesting party, which carrys out unique identification, goes out requesting party, can use will locate
The identification information of the message part of reason carrys out unique identification and goes out message part to be processed.
It can determine whether the identification information of requesting party meets corresponding message part to be processed and allow to locate in step 104
Manage main body, it is, the requesting party identified whether be the message part to be processed identified allow handle main body.If
It is then to allow the processing to request, and carry out corresponding processing (step to the information to be extended based on processing request
105).Particularly, if identification requesting party be business side, judge its message part to be dealt with whether the first information
Part or secondary information sector are to allow to handle to request, otherwise refusal processing request, and notify requesting party.If identification
Requesting party is platform side, then judge its message part to be dealt with whether first information part or third message part, be then
Allow to handle and request, otherwise refusal processing request, and notifies requesting party.
Include three message parts to be extended by means of payment information structuring by being, and is each information to be extended point
Not She Zhi any of business side and platform side or two as allowing to handle main body, and to various requests under this setting
The processing request of side carries out specific aim response, nearly all application scenarios of means of payment information can be covered, for example, being able to achieve
Platform side and business root carry out independent processing to means of payment information according to respective demand respectively, and it is right that platform side can coordinate its
Coordination Treatment is carried out between the multiple business sides connect, and/or to means of payment information between business side and platform side, improves information
Diversity, the accuracy of processing, and reduce corresponding bottom architecture maintenance and development cost.
Herein, term " means of payment " indicates the various tools that can be used for paying, and can have with application scenarios difference
There is the discount coupon under different ways of realization, such as shopping scene;Various audio or videos listen to the integral of the deduction under scene;Respectively
Ideal money etc. under kind scene of game.Hereinafter using discount coupon as the example of " means of payment ", to each of the disclosure
Embodiment is illustrated;It will be understood that these embodiments can be flexibly applied to the means of payment of other forms, do not go to live in the household of one's in-laws on getting married herein
It states.
Application scenarios for example may include: to negotiate shared coupon information, such discount coupon by business side and platform side
Information service side and platform Fang Jun have the right to carry out control processing and for being transparent visible each other, such as shopping open platform
It can be newly-increased for all discount coupons entering shop and can be used in the first message part to be extended when holding advertising campaign
Information, the coupon information define the usage mode (completely subtract or directly deduct) and/or the use of discount coupon of corresponding discount coupon
Time limit (such as being only limitted to for 11.11 same day), and enter the coupon information that shop can increase platform side newly according to specific requirements
It modifies, such as extends discount coupon in the pot life etc. in the shop;Only believed by the discount coupon that business side carries out control processing
Breath, and these coupon informations are known without being also not desired to platform side in business side, such as during advertising campaign, business side for
The budget information for distributing discount coupon disables discount coupon once the discount coupon for distributing or using reaches budget;Only by platform side into
The coupon information of row control processing, and these coupon informations are known without being also not desired to business side in platform side, such as daily
Provide the limit of discount coupon, discount coupon granting ratio of the consumption big data based on various product etc..In this way, not changing core
In the case where heart logic and underlying model, the coupon information of above-mentioned construction is configured to be common to various application scenarios, and
It can satisfy the various extension demands of business side and platform side.
This selective processing may finally be by the logic of database side (such as, but not limited to via the drive of database
Dynamic program, data base management system etc. hereinafter will do it detailed description) Lai Shixian.In this way, business side and platform side side can be free
Ground sends the processing request for each message part, and determines whether to allow and execute processing request by database, thus
While meeting the various extension demands of business side and platform side to coupon information, the peace of coupon information can also ensure that
Quan Xing.
It in some embodiments, can be preferential to store by creation discount coupon table for using MySQL database
Certificate information, the structure of the table can with as shown in Fig. 2, the discount coupon table can be named as `p_coupon_batches`, and
It can be stored in the database with JSON format.In some embodiments, discount coupon table can also use JSON format
Format in addition, such as XML format etc., storage is in the database.
`p_coupon_batches` table includes the entry of multiple discount coupons, and the entry of each discount coupon may include excellent
The identification information (not shown) of favour certificate, the first extended info field (referring to 201 and 202), the second extended info field (referring to
203) and third extended info field (referring to 204), these extended info fields can use varchar data type to create
It builds, varchar can save the character string of variable-length.In view of the data length of the first, second, and third extended info field
It can change with different demands, be not necessarily to carry out space trimming to the data taken out from respective field using varchar data type,
To more efficient and convenient.In some embodiments, each extended info field can also use the char data class of regular length
Type creates, and this will not be repeated here.
For example, entitled ` can be created by `coupon_type_ext`varchar (128) DEFAULT NULL
The coupon type field 201 of coupon_type_ext`, the field default null, the maximum length for the character string that may store
It is 128.For example, making for entitled `limit_ext` can be created by `limit_ext`varchar (512) NOT NULL
With square limited field 202, the silent null that admits a fault of the field, and the maximum length for the character string that may store is 512.For example, can
To create business side's custom field of entitled `biz_ext` using `biz_ext`varchar (512) NOT NULL
203, the silent null that admits a fault of the field, and the maximum length for the character string that may store is 512.For example, `memo_ can be used
Ext`varchar (256) DEFAULT NULL ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 creates name
Other limited fields 204 edited inside the platform side of referred to as `memo_ext`, the field default null, and the engine used is
InnoDB, and default character set be utf8mb4, usually in my.ini by character set be set as utf8 or
Utf8mb4, but it is provided that the speech encoding of MySQL, character set is set when creating table as utf8mb4, can satisfy makes
With the demand of the wide character of 4 bytes, and can reduce because introducing abnormal caused by the wide character of Emoji expression etc. and disorderly
Code.Other limited fields 204 edited inside creation platform side use engine InnoDB, and InnoDB includes to issued transaction
It therefore is the preferred engine of transactional database with the support of external key.
In some embodiments, coupon type field 201 is configured as storage coupon type extension information, such as excellent
The information of favour certificate grouping, the product (such as makeups product) that such as discount coupon can be applicable in, which is home-use preferential
Certificate and multiple are once sent out, the service (such as, but not limited to telephone charging, fare red packet, insurance etc.) which can be applicable in.
Particularly, coupon type extension information may include discount coupon application main body (family, individual, special group) and
The relevant information of object (product object, service object etc.), it is family that these relevant informations, which can define the concrete type of discount coupon,
Front yard discount coupon packet, personal discount coupon or enterprise welfare discount coupon are coupon, insurance certificate, invest certificate or can be in homology
Shopping APP, investment APP and insure general deduction certificate etc. between APP.
In some embodiments, user's limited field 202 be configured as storage whether need real name to use information, one
Denier record needs real name, then user can be required to provide real name information in the place of specifically used discount coupon, or can also be right
User reuses after carrying out real-name authentication.
In some embodiments, it is customized additional to be configured as storing the business side for business side's custom field 203
Information.Business side can use business side's custom field 203 and store additional information sightless for platform side.In some realities
It applies in example, these additional informations include but is not limited to amount information, and the amount information may include budget information (such as business
The discount coupon total value of Fang Fafang, the remaining discount coupon total value that can be provided), enable information (in the discount coupon that business side provides
The discount coupon total value being used by a user) etc., business side can execute oneself some inside after the data for obtaining the field
Logic calculation, without allowing platform to know.
In some embodiments, other limited fields 204 are configured as storing preferential for using from the background inside platform side
Certificate information, these information are sightless for business side.For example, these can be with for the coupon information that uses inside platform side
Including but not limited to platform side provides the main body (all kinds of business APP, region) that daily limitation function, the discount coupon of discount coupon are directed to
Allocation proportion between object (product category, service type etc.) enables the (all kinds of business APP, region) and right of discount coupon
As the allocation proportion etc. between (product category, service type etc.).If desired, platform side can use these for business side
Sightless data carry out the big data analysis on backstage, so that the result based on big data analysis is realized for main body and object
Adaptability discount coupon push, to improve the utilization efficiency of discount coupon.
In some embodiments, business side and/or platform side respective extension information field can be carried out data inquiry,
At least one of calling, increase, deletion and modification processing.
For example, business side can carry out data call to respective extension information field.Business side can be sent to database
Call request, the call request include the first identifier information of business side and the second identifier letter for the message part to be called
It ceases (such as field address).By first identifier information, database can determine that requesting party is business side, and can use second
The identification information determination message part to be called whether described first information part or secondary information sector and the letter to be called
Cease the field address of part.If the message part to be called is first information part or secondary information sector, database can
It is transferred to the business side with the corresponding field contents of the field address for the message part that will be called, otherwise refuses the calling
Request.
Platform side can also carry out data increase to respective extension information field, for example, platform side can be to described first
Message part increases new discount coupon entry.In general, some fields can be reserved in the first information part, for increasing
The new discount coupon entry transparent to platform side and business side;Some fields can be reserved in the secondary information sector, used
In increasing the only new discount coupon entry transparent to business side;Some fields can be reserved in the third message part, used
In increasing the only new discount coupon entry transparent to platform side.Platform side can be sent to database increases request, increases request
Third identification information including platform side, the 4th identification information for increased message part and increase content.Pass through third
Identification information, database can determine that requesting party is platform side, and can use the determination of the 4th identification information and want increased information
Part whether the first information part or the third message part.If it is, word idle in corresponding information part
New discount coupon entry is generated according to the increase content in section;Otherwise refuse the increase request.In another example increasing request also
It may include whether the indicator of permission business side access, and without including the 4th identification information for wanting increased message part.
After database receives the indicator that instruction does not allow business side to access, free time that can automatically in the third message part
New discount coupon entry is generated based on the increase content in field.
In some embodiments, these processing can be realized by calling interface.
For example, in the case where known and fixed data library type, answering in business side and/or platform side can use
The special purpose interface of the database is realized with program.But this special purpose interface mode causes application program to need the change with database
And change, service efficiency is lower and use scope is relatively narrow.
In some embodiments, it can realize that the interface, the database are mutual using Database Connectivity general-purpose interface
Even general-purpose interface includes that can drive journey by Database Connectivity function, the Database Connectivity of the application call of one side of correspondence
Sequence manager and Database Connectivity driver.Herein, technical term " Database Connectivity " is for different type number
According to the application program common programming interface standard that library accesses, " Database Connectivity general-purpose interface " includes but is not limited to open database
Interconnect any one of (ODBC) interface, Java DataBase Connectivity (JDBC) interface, ADO.NET interface, PDO interface etc..This
Kind general-purpose interface mode can be realized the standard interface between application interface and heterogeneous database, solve embedded database
The problem of interface non-standard, eliminates the trouble that application program changes with the change of database.
Referring to Fig. 3, by taking requesting party is platform side 301 and database interface 300 is ODBC interface as an example, to database
The use of interface 300 is specifically described.Application program 302 is installed in platform side 301,302 execution of application program is handled simultaneously
ODBC function is called, to send connection database request to ODBC driver manager 303 and the processing of field to be asked
It asks, it is described to handle the identification information and database to be processed and word that request may include sender's (being herein platform side 301)
Segment information.The ODBC driver manager 303 is configured as that the processing is requested to be transferred to corresponding ODBC driving journey
Sequence, the ODBC are configured as requesting the processing to submit to corresponding database.Particularly, the application program 302
It is configurable to execute following any task: sending and be connected and disconnected from database request, sends the processing for field
Request, retrieval tasks processing result and the affairs for handling mistake, submission or rollback request, and these requests all pass through calling
ODBC function issues, therefore with ODBC compatible.Disparate databases, such as Oracle 307, SQLServer shown in Fig. 3
308 and Mysql 309 has different database engines, requires to register its own to ODBC driver manager 303
ODBC driver, such as Oracle ODBC driver 304, SQLServer ODBC driver 305 and Mysql
ODBC driver 306, ODBC driver manager 303 can move the request from platform side 301 compatible with ODBC
State is connected to corresponding ODBC driver, which handles ODBC function call, is transcribed into phase
It answers and is inherently called provided by database engine, processing operation is realized to associated databases, particularly, by the place of application program
Reason request submits to specified data source (such as database and access needed for it for information about), receives to be returned by data source
As a result and it is returned to application program.That is, application program 302 need to send processing request, by ODBC driver management
Device 303 automatically selects and connects the corresponding ODBC driver of its database to be dealt with, thus to associated databases
Realization processing;In this way, the application program 302 based on ODBC it is not direct interacted with data base management system (DBMS) do not depend on yet appoint
What DBMS, all processing operations are completed by the ODBC driver of corresponding DBMS, and ODBC driver is then driven by ODBC
Dynamic program manager 303 automatically selects, so as to handling in a uniform manner various types of databases.
When ODBC interface being replaced with any one of JDBC interface, ADO.NET interface, PDO interface etc. and by platform
In the case that side 301 replaces with business side, above-mentioned technical proposal can be adaptively adjusted to realize general accordingly connect
Mouth mode.As described above, the general-purpose interface can pass through Database Connectivity function, the number of the application call by requesting party
Driver manager and Database Connectivity driver are interconnected according to library to realize.
In some embodiments, the database interconnection driver is configured as requesting to submit to by the processing described
Database;The database is configured as: based on processing request in include requesting party identification information and will be wait extend
The identification information of the field information handled in information, determines whether the requesting party has the right at field information to be processed
Reason;In the case where determining that requesting party has the right to handle field information to be processed, the processing is allowed to request, and be based on
The processing request carries out respective handling in response to the field information to be processed.It particularly, can be by the business
Side and/or platform side carry out processing corresponding with the processing request in the first information part;Existed by the business side
Processing corresponding with the processing request is carried out in the secondary information sector;By the platform side in the third message part
It is middle to carry out processing corresponding with the processing request.
In some embodiments, as shown in figure 4, the process flow 400 of coupon information can begin in following steps
At least one: the type information of corresponding discount coupon being arranged by the business side and/or platform side in the first information part
And/or user's restricted information (step 401);By the business side, corresponding discount coupon is set in the secondary information sector
Business side's amount information (step 402);Other of corresponding discount coupon are set in the third message part by the platform side
Restricted information (step 403).Although Fig. 4 shows all three steps with the sequencing of step 401, step 402 and step 403
Suddenly, it is recognised that these three steps can be combined in any order with any one or more.It particularly, can be only
Execution step 401, and the content default of secondary information sector and third message part;It can only execute step 402, and
The content default of one message part and third message part;It can only execute step 403, and first information part and second
The content default of message part.
In step 404, user is received to the application request of discount coupon from business side, application request may include discount coupon
Identification information, user identification information and request content.In some embodiments, request content may include the object of application
(product type), the discount coupon number of application, the mode (completely subtracting, set meal subtracts, integral deducts) of application etc..It, can be in step 405
Determine whether the information being arranged in the corresponding information part of the discount coupon entry is consistent with the information for including in the application request,
Exactly judge whether requesting party has the permission that request content is executed to the discount coupon.Particularly, application request may include
It gets request or uses request, each message part in discount coupon entry has the execution permission of corresponding application request
Restriction effect.
It in some embodiments, can be described using in request in the case where the application request is using request
The identification information and request content for the user for including in corresponding discount coupon entry type information and/or user limit
When information processed is consistent, just allow described using request, usage type of the request content comprising corresponding discount coupon.For example, right
The type information for answering discount coupon entry is household appliances discount coupon and user's restricted information can limit real-name authentication user and just may be used
To use, if the identification information for the user for including in using request indicates that the user is real-name authentication user, request content
And discount coupon is used to buy household electrical appliances (usage type of discount coupon), then allow described using request.
In some embodiments, business side can in secondary information sector storage service side's amount information, the business side
Amount information may include budget information of the business side for its discount coupon.For example, for retail shop's A (business on electric business platform
Side), the budget that discount coupon is provided or used in retail shop A can be set in business side's amount information, for example, only
Provide 1000 discount coupons, or 800 discount coupons are used only, etc..If be only arranged in business side's amount information
The budget of discount coupon is provided, then the amount information requests no effectiveness for the use of discount coupon, and requests only for getting
It is effective.For example, processing method may include: based on get request update the amount of getting (such as currently the amount of getting be 500, get
3 discount coupons are got in request instruction, then 503) amount of getting is updated to, and the updated amount of getting (i.e. 503) meets corresponding discount coupon
Granting budget information (1000) in entry then gets request described in permission;If currently the amount of getting is 1000, after updating
The amount of getting (1003) be unsatisfactory for providing budget information, then refusal excesses budget and gets request other than information.
In some embodiments, platform side can store other restricted informations in third message part, for example, this other
Restricted information can to get request or using request carry out platform side's rank restriction.By allowing platform side in third information
Other restricted informations of discount coupon application are stored in part, convenient platform side carries out the discount coupon for all business sides for being subordinate to it
Unified planning, such as the advertising campaign of organization platform side's rank etc..
For getting request, which may include the neck for getting period restricted information and unit time period
At least one of taken amount restricted information, such as " second kills " discount coupon are got before the period may be limited to the zero point of specific date
1 hour afterwards can also be limited to sum restriction in the period and get 500, etc..It can be got based on request update is got
Amount, budget information in the amount of getting in the updated discount coupon entry corresponding with the sending time satisfaction of request is got and described
When other restricted information (such as the amount of getting restricted informations for getting period restricted information and/or unit time period), allow the neck
Take request.
For using request, which can also include use time restricted information and unit time period
At least one of usage amount restricted information.It can be based on usage amount be updated using request, in the sending time using request
And updated usage amount meets other restricted informations (namely use time restricted information and/or unit time period
Usage amount restricted information) when, and it is described using request in include the user identification information and request content with it is right
When type information and/or the user restricted information in discount coupon entry being answered to be consistent, described use is allowed to request, in the request
Hold the usage type comprising corresponding discount coupon.For example, user is real-name authentication and the user for opening black card, the transmission of request is used
Time is user's birthday, and requesting the discount coupon used is the makeups discount coupon of face amount 50, and request content is the valence to purchase
The household electrical appliances of value 600 use the makeups discount coupon of 3 face amounts 50.Platform side can pre-define in other described restricted informations:
In the commonly used period, makeups discount coupon is the discount coupon of full 200 usable face amounts 30 using rule, and at most uses two
, it is only used for makeups class product;(with the birthday on identity card on the day of using VIP user's birthday of identity card real-name authentication
It is consistent), the discount coupon of full 200 usable face amounts 50, use is quantity-unlimiting, and can be diverted to the purchase of household appliances product.In this way,
The user is allowed to execute it using request, that is, preferential using the makeups of 3 face amounts 50 to the household electrical appliances of the value 600 of purchase
Certificate.
Fig. 5 shows the schematic diagram of the processing system 500 according to the coupon information of the fifth embodiment of the present disclosure.The processing
System 500 may include database (such as oracle database) 507 and interface (such as Database Connectivity general-purpose interface, by
Application program 502, Database Connectivity driver manager 503 and the various interconnection drivers 504,505 and 506 of requesting party
In (namely Oracle interconnect driver 504) Lai Shixian one corresponding).
It is illustrated using requesting party as platform side 501 as example, but need to know that requesting party is without being limited thereto, but can be flat
Platform side 501 or application side.The structure of the Database Connectivity general-purpose interface has been carried out in each embodiment of the disclosure
It illustrates, this will not be repeated here.In this platform 500, it is mutual that Oracle is had registered in Database Connectivity driver manager 503
Even driver 504, SQLServer interconnection driver 505 and Mysql interconnect driver 506, answering in platform side 501
It is requested with the processing that program 502 is sent by calling data set interconnection function for Oracle 507, processing request transmission
To Database Connectivity driver manager 503, selected in the multiple drivers registered by it and the data to be accessed
The matched Oracle in library 507 interconnects driver 504, thus via Oracle interconnection driver 504 to oracle database
507 perform corresponding processing.
Wherein, the oracle database 507 is configurable to: storage coupon information, so that the item of each discount coupon
Mesh includes the identification information of discount coupon and information to be extended, the information to be extended include three message parts;To be described wait expand
Each message part of exhibition information, which is respectively arranged, to be allowed to handle main body, so that the main body that allows to handle of first information part is business
The main body that allows to handle of side and/or platform side, secondary information sector is business side, and the main body that allows to handle of third message part is
Platform side;Via interface processing request, the identification information handled in request comprising requesting party and wait extend
The identification information of message part to be processed in information;Meet corresponding information portion to be processed in the identification information of the requesting party
In the case that divides allows to handle main body, the processing is allowed to request, and based on processing request to the information to be extended
Carry out corresponding processing.Detailed description has been carried out in the related embodiment for combining Fig. 1 in these steps, and this will not be repeated here.
The means of payment information such as the discount coupon by the above-mentioned construction of offer, business side and platform side side can be connect by calling
Mouth freely sends the processing request for each message part, and determines whether to allow and execute processing by database and ask
It asks, to can also ensure that discount coupon while meeting the various extension demands of business side and platform side to coupon information
The safety of information.
Fig. 6 shows the schematic diagram of the processing system 614 according to the coupon information of the sixth embodiment of the present disclosure, the system
Part in 614 other than business side, the first application program 602 including platform side 601 and thereon, Database Connectivity driving
Program Manager 603 and the Oracle registered thereon interconnection driver 604, SQLServer interconnect 605 and of driver
Mysql interconnects platform side 301 shown in driver 606 and various databases 607,608 and 609 and Fig. 3 and thereon
First application program 302, Database Connectivity driver manager 303 and the Oracle interconnection driver 304 registered thereon,
SQLServer interconnects driver 305 and Mysql interconnection driver 306 and various databases 307,308 and 309 identical,
Detailed description has been carried out in each embodiment for combining Fig. 3 in its structure and working principle, and this will not be repeated here.The system 614 is also
Including n-1 business side (n is the natural number greater than 2), including the 1st business side 611, the 2nd business side business side ... (n-1)
613 and the second application program 610, the n-th application program of third application program ... 612 installed respectively thereon.
Below by taking the 1st business side 611 as an example, to it via the interaction for calling general-purpose interface and SQLServer database 608
Mode is illustrated.Wherein, SQLServer database 608 is configurable to: storage coupon information, so that each discount coupon
Entry include discount coupon identification information and information to be extended, the information to be extended include three message parts;It is described
Each message part of information to be extended, which is respectively arranged, to be allowed to handle main body, so that the main body that allows to handle of first information part is
The main body that allows to handle of business side and/or platform side, secondary information sector is business side, and third message part allows to handle master
Body is platform side.
In this way, the 1st business side 611 is allowed through calling interface to the first information part and second information portion
Divide and handled, and is prohibited to handle the third message part by calling interface.
Second application program 610 is installed in the 1st business side 611, which, which executes, handles and call number
According to library interconnection function, to send connection database request to Database Connectivity driver manager 603 and for field
Processing request, it is described to handle the identification information and database to be processed and field letter that request may include the 1st business side 611
Breath.The Database Connectivity driver manager 603 is configured as requesting the processing to be transferred to corresponding SQLServer
Driver 605 is interconnected, so that SQLServer database 608 is submitted in processing request, thus to corresponding word thereon
Duan Jinhang processing.When changing business side and accessing different databases, adaptation can be carried out to above-mentioned process,
This is not repeated.
It by taking platform side 601 as an example, is allowed through and calls the Database Connectivity general-purpose interface, to first letter
Breath part and the third message part are handled.
The above-mentioned processing to each message part may include at least one in inquiry, calling, increase, deletion and modification
Kind.
In each embodiment of the disclosure, platform side and business side may include processor and memory, application program
In the memory as computer executable instructions storage, corresponding stream can be executed when and processor executes these instructions
Journey and step, Database Connectivity driver manager and the various Database Connectivity drivers registered thereon can also be used as
Program module (being realized by computer executable instructions) is stored on corresponding memory, can be with when being executed by respective processor
Execute corresponding process and step.
In some embodiments, processor can be the processing unit including one or more general processing units, such as
Microprocessor, central processing unit (CPU), graphics processing unit (GPU) etc..Refer to more specifically, processor 302 can be complexity
Enable collection calculate (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor,
Run the processor of other instruction set or the combined processor of operating instruction collection.In addition, term " processor " or " at image
Manage device " it may include more than one processor, for example, multi core design or multiple processors, each processor are set with multicore
Meter.Processor can be communicably coupled to corresponding memory and be configured as executing the computer that is stored therein executable
Instruction, to execute according to the operation of the various embodiments of the disclosure, process and method.
In some embodiments, memory may include read-only memory (ROM), flash memory, random access memory
(RAM), such as synchronous dram (SDRAM) or the dynamic random access memory (DRAM) of Rambus DRAM, static memory
(for example, flash memory, static random access memory) etc., computer executable instructions are stored thereon in any format.Computer
Program instruction can be accessed by processor, be read from ROM or any other suitable memory location, and load in RAM
In device for processing execute.For example, memory can store one or more software applications, such as platform side in the application
With the various application programs of business side.Software application stored in memory may include, for example, for commonly calculating
The operating system (not shown) of machine system and operating system for soft control device, such as Android operation system;Or needle
To the various common development systems of software.
This document describes various operations or function, it can be implemented as software code or instruction or be defined as software code
Or instruction.Such content can be the source code or differential code that can directly execute (" object " or " executable " form)
(" delta " or " patch " code).In some embodiments, it can be implemented as according to the step of each embodiment of the disclosure
Each software module on a memory.
The description of front has been presented for purposes of illustration.It is not exhausted, and is not limited to disclosed essence
True form or embodiment.Specification and practice in view of disclosed embodiment, the modification and reorganization of embodiment will be aobvious and easy
See.
Herein, in addition, in appended claims, term " includes " is open.That is, term " packet
Include ", with "include", "comprise" or " it is characterized in that " it is synonymous, be inclusiveness or open, it is not excluded that do not state in addition,
Element or method and step." comprising " is proprietary term used in claim language, it means that so-called element is must
It wants, but other element can be added and still form the conception in the scope of the claims.Including in addition to those are in right
Equipment, system, device, product, composition, formula or the process of element other than the element listed after the term in it is required that,
It is considered to fall into the scope of protection of the claims.In addition, in the following claims, term " first ", " second " and
" third " etc. is merely used as label, it is no intended to apply requirement numerically to its object.
Illustrative methods described herein can be at least partly machine or computer implemented.Some examples can wrap
The computer-readable medium or machine readable media with instruction encoding are included, described instruction can be operated to configure electronic device and execute such as
Method described in above example.The realization of this method may include software code, such as microcode, assembler language code,
More advanced language codes etc..Various software programming techniques can be used to create in various programs or program module.For example, can be with
Program segment or program module are designed using Java, Python, C, C++, assembler language or any of programming language.One
Or multiple such software sections or module can be integrated into computer system and/or computer-readable medium.It is this soft
Part code may include the computer-readable instruction for executing various methods.Software code can form computer program product
Or a part of computer program module.In addition, in one example, software code can such as during execution or other when
Between be tangibly stored in one or more volatibility, non-transitory or non-volatile visible computer readable medium.These have
The example of the computer-readable medium of shape can include but is not limited to hard disk, moveable magnetic disc, removable CD (for example, CD
And digital video disc), cassette, storage card or stick, random access memory (RAM), read-only memory (ROM) etc..
Above description is intended to illustrative rather than restrictive.For example, above-mentioned example (or one or more side
Case) it can be in combination with one another.Other embodiments can be used when checking above description by those of ordinary skill in the art.And
And in detailed description above, various features can be grouped together to simplify the disclosure.This is not construed as being intended to
Not claimed open feature is allowed all to be essential for any claim.But subject matter can be
It is combined in the feature fewer than all features of a disclosed embodiment.Therefore, thus following following claims is used as example or reality
Example is applied to be incorporated into specific embodiment, wherein each claim is independently used as individual embodiment, and be contemplated that
It is that these embodiments can be combined with each other with various combinations or displacement.The scope of the present invention should refer to appended claims
And it assigns the full scope of the equivalent of these claims and determines.