CN102841906B - The transaction processing system of a kind of integration and transaction processing method - Google Patents
The transaction processing system of a kind of integration and transaction processing method Download PDFInfo
- Publication number
- CN102841906B CN102841906B CN201110173799.0A CN201110173799A CN102841906B CN 102841906 B CN102841906 B CN 102841906B CN 201110173799 A CN201110173799 A CN 201110173799A CN 102841906 B CN102841906 B CN 102841906B
- Authority
- CN
- China
- Prior art keywords
- transaction data
- commodity
- data
- information
- adjustment
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 12
- 230000010354 integration Effects 0.000 title abstract description 24
- 238000004364 calculation method Methods 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims abstract description 24
- 230000001737 promoting effect Effects 0.000 claims description 44
- 230000000694 effects Effects 0.000 claims description 41
- 240000007711 Peperomia pellucida Species 0.000 claims description 5
- 235000012364 Peperomia pellucida Nutrition 0.000 claims description 5
- 239000006185 dispersion Substances 0.000 abstract description 5
- 238000007726 management method Methods 0.000 description 12
- 238000011156 evaluation Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000000205 computational method Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides transaction processing system and the transaction processing method of a kind of integration, with solve current transaction processing system exist calculating process scattered problem.Described system includes one or more application subsystem, also includes: raw data base, for storing the original transaction data needed for each application subsystem;Information adjusts data base, is used for adjusting the adjustment configuration information of original transaction data for storage;Computing engines, for adjusting the transaction data after data base call adjusts configuration information and is calculated adjustment from described information;Each application subsystem is used for directly obtaining original transaction data from described raw data base according to needed for respective application, and/or, obtain the transaction data after adjusting by described computing engines.The application can avoid owing to dispersion calculates the problem that the result of calculation caused is inconsistent in prior art, and can reduce the calculating pressure of the transaction data that each application subsystem undertakes.
Description
Technical field
The application relates to network data processing technology, particularly relate to a kind of integration transaction processing system and
Transaction processing method.
Background technology
In actual applications, there is a kind of transaction processing system as shown in Figure 1:
Described transaction processing system includes multiple application subsystem, as illustrated in the drawing application subsystem 1
To application subsystem N, each application subsystem realizes a kind of application of business and processes.Described transaction
Processing system also includes raw data base, is used for storing each application subsystem in applicable procedures
Required various original transaction data.Additionally, each application subsystem is respectively provided with computing module,
Computing module 1 to computing module N as illustrated in the drawing.Described computing module is for answering according to affiliated
With the adjustment configuration information of subsystem, the original transaction data needed for application subsystem is adjusted
Calculate.
During trading processing, the needs that each application subsystem can process according to each self-application, or
Required original transaction data is directly invoked with dealing with from raw data base;Or call each
Adjustment configuration information, and utilize respective computing module to carry out the Adjustable calculation of original transaction data,
Then by transaction data after calculated adjustment with dealing with.
By above-mentioned system shown in Figure 1 and corresponding applicable procedures it can be seen that existing this friendship
In disposable system, each application subsystem individually completes the Adjustable calculation of transaction data, and this is just
Inconvenience is brought to the management of each application subsystem.
Such as, in some business processing flow, several application subsystem is needed to be respectively adopted identical
Identical original transaction data is adjusted calculating by adjustable strategies, and result of calculation is returned respectively
To user.If the calculating of certain application subsystem makes mistakes during calculating, arise that these are several
The problem that individual application subsystem result of calculation is inconsistent, then different application subsystem returns to user
Result of calculation also there will be the problem of inconsequent, and then cause Business Processing to be made mistakes.It addition,
Other business is undertaken again owing to each application subsystem i.e. undertakes the evaluation work of original transaction data
Process work, the calculating pressure of application subsystem will be increased undoubtedly.
Additionally, the inconvenience of this management is also embodied in following aspect: adjust configuration if changing or increasing
Information, it is necessary to be replaced respectively in the multiple application subsystems be suitable for this adjustable strategies or increase
Adding, the workload of consuming is big.
In a word, there is calculating and process scattered problem in this transaction processing system described in prior art,
Needs are solved.
Summary of the invention
This application provides transaction processing system and the transaction processing method of a kind of integration, current to solve
There is calculating and process scattered problem in transaction processing system.
In order to solve the problems referred to above, this application discloses the transaction processing system of a kind of integration, including one
Or multiple application subsystem, also include:
Raw data base, for storing the original transaction data needed for each application subsystem;
Information adjusts data base, is used for adjusting the adjustment configuration information of original transaction data for storage;
Computing engines, adjusts configuration information for adjusting data base call from described information and is calculated
Transaction data after adjustment;
Each application subsystem is for directly obtaining former from described raw data base according to needed for respective application
Beginning transaction data, and/or, obtain the transaction data after adjusting by described computing engines.
Preferably, described system also includes: cache subsystem, is used for caching described computing engines and calculates
Transaction data after the adjustment arrived.
Preferably, described computing engines includes:
Caching query module, after obtaining adjustment when any one application subsystem by computing engines
During transaction data, inquire about after whether described cache subsystem has the adjustment needed for described application subsystem
Transaction data, and according to Query Result trigger data acquisition module or Adjustable calculation module;
Data acquisition module, for when there being the adjustment needed for described application subsystem in described cache subsystem
After transaction data time, directly obtain from cache subsystem, and return to described application subsystem;
Adjustable calculation module, for when not having the tune needed for described application subsystem in described cache subsystem
During transaction data after whole, adjust data base call from described information and adjust configuration information and be calculated
Transaction data after adjustment, the transaction data after then adjusting returns to described application subsystem, and deposits
Enter described cache subsystem.
Wherein, all or part of original transaction data in described raw data base adjusts number with described information
Man-to-man relationship maps is carried out by Data Identification according to the adjustment configuration information in storehouse.
Preferably, described original transaction data includes the original valency of commodity sign ID, merchandise news and commodity
Lattice information;Described adjustment configuration information includes commodity sign ID, advertising campaign mark ID, advertising campaign
Type, discount, sales promotion price, movable Start Date and activity end date;After described adjustment
Transaction data includes commodity sign ID and commercial promotions pricing information.
Preferably, described advertising campaign type includes that commodity give a discount and adjust commodity price;
Described computing engines includes:
Activity Type judge module, for according to the advertising campaign type set in described adjustment configuration information
Judge, when described advertising campaign type is commodity discounting, trigger discount computing module;When described
When advertising campaign type is for adjusting commodity price, trigger price adjusting module;
Discount computing module, is used for commodity original prices according to the folding set in described adjustment configuration information
Tipping row calculating in, commodity price after being given a discount also returns to application subsystem;
Price adjustment module, for reading the sales promotion price set in described adjustment configuration information and returning
Back to application subsystem.
Preferably, described computing engines also includes: activity availability judge module, for according to described tune
The movable Start Date set in whole configuration information and activity end date judge that advertising campaign is the most effective,
When activity is effective, trigger described Activity Type judge module;When movable invalid time, from described original number
According to storehouse obtaining commodity original prices and returning to application subsystem.
Preferably, described application subsystem includes: commodity management system, is used for arranging described initial data
Merchandise news in storehouse and commodity original prices information, be additionally operable to arrange described information and adjust in data base
Advertising campaign type, discount, sales promotion price, movable Start Date and activity end date.
Preferably, described application subsystem includes: merchandise display system, for asking according to merchandise display,
Adjust whether data base's judgement commodity to be shown participate in advertising campaign by inquiring about described information, if
Participate in, then obtain commercial promotions pricing information by described computing engines and show;If had neither part nor lot in, then
From described raw data base, directly obtain commodity original prices information and show.
Preferably, described application subsystem includes: ordering system, for according to the commodity request of placing an order, logical
Cross and inquire about described information and adjust whether data base's commodity of judging in order participate in advertising campaign, if ginseng
With, then obtain commercial promotions pricing information by described computing engines and place an order;If had neither part nor lot in, the most directly
Connect and described raw data base obtains commodity original prices information and places an order.
Present invention also provides the transaction processing method of a kind of integration, including:
Original transaction data needed for each application subsystem is stored raw data base;
The adjustment configuration information being used for adjusting original transaction data is stored information adjustment data base;
When each application subsystem needs to obtain original transaction data, then obtain from described raw data base;
When each application subsystem needs to obtain the transaction data after adjusting, then call computing engines, institute
State computing engines to adjust data base from information and obtain and adjust configuration information accordingly, and be calculated adjustment
After transaction data, then the transaction data after described adjustment is distributed to need respectively apply subsystem
System.
Preferably, described method also includes: application subsystem is by after calculated for computing engines adjustment
Transaction data cache;When any one application subsystem needs to obtain the transaction data after adjusting
Time, first inquire about the transaction data after the described adjustment whether having caching, if it is, directly obtain caching
Adjustment after transaction data;If it does not, recall computing engines.
Wherein, all or part of original transaction data in described raw data base adjusts number with described information
Man-to-man relationship maps is carried out by Data Identification according to the adjustment configuration information in storehouse.
Preferably, described original transaction data includes the original valency of commodity sign ID, merchandise news and commodity
Lattice information;Described adjustment configuration information includes commodity sign ID, advertising campaign mark ID, advertising campaign
Type, discount, sales promotion price, movable Start Date and activity end date;After described adjustment
Transaction data includes commodity sign ID and commercial promotions pricing information.
Preferably, if certain original transaction data in raw data base is matched by Data Identification
Information adjusts the identical data mark in data base, then call the friendship after computing engines is calculated adjustment
Easily data;If certain original transaction data in raw data base cannot be matched by Data Identification
Information adjusts the identical data mark in data base, then obtain original number of deals from described raw data base
According to.
Compared with prior art, the application includes advantages below:
First, the application proposes the transaction processing system of a kind of integration, and this system includes one or more answering
With subsystem, for storing the raw data base of original transaction data, for storing original transaction data
The information adjusting configuration information adjusts data base and computing engines;Described computing engines is for from information
Adjust the transaction data after data base call adjusts configuration information and is calculated adjustment;And respectively apply son
System directly can obtain original transaction data from described raw data base according to needed for respective application, or
The transaction data after adjusting is obtained by described computing engines.
It follows that the calculating that described computing engines will be arranged in prior art in each application subsystem
The computing function of module combines, and separates from each application subsystem, when each application subsystem
When system needs to obtain the transaction data after adjusting, it is all to be obtained by described computing engines, is the most all by counting
Calculate engine to unifiedly calculate, and result of calculation is returned to the application subsystem needed, therefore can keep away
Exempt from owing to dispersion calculates the problem that the result of calculation caused is inconsistent in prior art, and can reduce each
The calculating pressure of the transaction data that application subsystem undertakes.
And, the integration of this system is also convenient for the maintenance and management of whole system, adjusts when changing or increasing
During whole configuration information, adjust data base by resetting information, it is not necessary to each application
System is configured, thus improves the scalability of system.
Secondly, the transaction processing system of herein described integration also includes cache subsystem, is used for caching
Transaction data after the calculated adjustment for the first time of described computing engines, when computing engines is again to application
When subsystem returns the transaction data after adjusting, can directly obtain from described cache subsystem, it is not necessary to again
Double counting, the most this integration also improves the speed of service of transaction processing system, improves systematicness
Energy.
Certainly, the arbitrary product implementing the application is not necessarily required to reach all the above excellent simultaneously
Point.
Accompanying drawing explanation
Fig. 1 is a kind of transaction processing system structure chart of the prior art;
Fig. 2 is the structure chart of the transaction processing system of a kind of integration described in the embodiment of the present application;
Fig. 3 is the structure chart of a kind of electronic trading system described in the embodiment of the present application;
Fig. 4 is promotional price computing engines structure chart described in the embodiment of the present application;
Fig. 5 is seller's publishing commodity described in the embodiment of the present application and the flow chart participating in advertising campaign;
Fig. 6 is the flow chart that buyer described in the embodiment of the present application browses commodity;
Fig. 7 is the calculation flow chart of promotional price computing engines described in the embodiment of the present application;
Fig. 8 is that buyer described in the embodiment of the present application places an order flow chart.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from
With detailed description of the invention, the application is described in further detail.
The application proposes the transaction processing system of a kind of integration, can solve what dispersion in prior art calculated
Problem.Below by embodiment, herein described system is described in detail.
With reference to Fig. 2, it it is the structure chart of the transaction processing system of a kind of integration described in the embodiment of the present application.
The transaction processing system of described integration includes one or more application subsystem 21, raw data base
22, information adjusts data base 23 and computing engines 24, wherein:
Raw data base 22, for storing the original transaction data needed for each application subsystem 21;
Information adjusts data base 23, is used for adjusting the adjustment configuration letter of original transaction data for storage
Breath;
Computing engines 24, by from described information adjust data base 23 call adjustment configuration information and based on
Calculate the transaction data after being adjusted;
Each application subsystem 21 is for directly obtaining from described raw data base 22 according to needed for respective application
Take original transaction data, and/or, obtain the transaction data after adjusting by described computing engines 24.
Wherein, described "and/or" refers to: each application subsystem 21 can be according to respective application need
Want, or obtain original transaction data from raw data base 22, or obtained by described computing engines 24
Take the transaction data after adjustment, or obtain the transaction data after original transaction data and adjustment simultaneously.
All or part of original transaction in above-mentioned transaction processing system, in described raw data base 22
The adjustment configuration information that data adjust in data base 23 with described information is carried out one to one by Data Identification
Relationship maps.Such as, each original transaction data in described raw data base 22 is the most corresponding
One data ID, described information adjusts each the adjustment configuration information also corresponding in data base 23
Data ID, so, if certain original transaction data can be matched by data ID have identical
The adjustment configuration information of data ID, then it represents that this original transaction data can be adjusted;Contrary,
If certain original transaction data cannot be matched by data ID and have the adjustment of identical data ID and join
Confidence ceases, then it represents that information adjusts the adjustment not arranging this original transaction data in data base 23
Configuration information, this original transaction data can not adjust.
Each application subsystem 21 is according to the situation of respective Business Processing, if needing to obtain original transaction
Data, then directly read from raw data base 22;If needing to obtain the transaction data after adjusting,
Then call computing engines 24, computing engines 24 call adjustment configuration information and be adjusted calculating,
Transaction data after result of calculation i.e. being adjusted returns to call its application subsystem 21.Certainly,
Certain original transaction data needs to arrange corresponding adjustment configuration letter in information adjusts data base 23
Breath, application subsystem 21 just can be passed through computing engines 24 needs when and get described
Original transaction data is adjusted the transaction data after calculating.
Described computing engines 24 is during concrete calculating, first according to the number of application subsystem 21 request
According to ID, adjust data base 23 from information and obtain the adjustment configuration information being associated with this data ID;So
Afterwards this adjustment configuration information is analyzed, according to the adjustable strategies analyzed to original transaction data
It is adjusted calculating.Certainly, adjusting configuration information different, the computational methods of computing engines 24 are the most not
With.
Furthermore it is preferred that, the transaction processing system of described integration can also include:
Cache subsystem 25, the number of deals after caching the described calculated adjustment of computing engines 24
According to.
Accordingly, described computing engines 24 may include that further
Caching query module 241, for obtaining by computing engines 24 when any one application subsystem 21
When taking the transaction data after adjustment, inquire about in described cache subsystem 25 whether have described application subsystem
The transaction data after adjustment needed for 21, and according to Query Result trigger data acquisition module 242 or adjustment
Computing module 243;
Data acquisition module 242, for when there being described application subsystem 21 in described cache subsystem 25
During transaction data after required adjustment, directly obtain from cache subsystem 25, and return to described should
With subsystem 21;
Adjustable calculation module 243, for when not having described application subsystem in described cache subsystem 25
During transaction data after the adjustment needed for 21, adjust data base 23 from described information and call adjustment configuration
Information the transaction data after being calculated adjustment, the transaction data after then adjusting returns to described
Application subsystem 21, and it is stored in described cache subsystem 25.
In sum, by the transaction processing system of above-mentioned integration and the trading processing system described in prior art
System contrasts as follows:
First, the transaction processing system of described integration will be arranged on each application subsystem in prior art
In the computing function of computing module be incorporated in a computing engines, and by described computing engines from respectively should
Separate with in subsystem, when each application subsystem needs to obtain the transaction data after adjusting, be all
Obtained by described computing engines, be the most all to be unifiedly calculated by computing engines, and result of calculation is returned
Back to the application subsystem needed, therefore can avoid in prior art owing to dispersion calculates the calculating caused
The problem that result is inconsistent, and can reduce application subsystem undertake transaction data adjust evaluation work
Produced calculating pressure.
Second, the integration of described transaction processing system is also convenient for the maintenance and management of whole system, works as replacing
Or when increasing adjustment configuration information, adjust data base by resetting information, it is not necessary to often
Individual application subsystem is configured, thus improves the scalability of whole transaction processing system.
3rd, the transaction processing system of described integration caches described computing engines by cache subsystem
Transaction data after the most calculated adjustment, adjusts when computing engines returns to application subsystem again
After transaction data time, can directly obtain from described cache subsystem, it is not necessary to repeat calculating, therefore
This integration also improves the speed of service of transaction processing system, improves systematic function.
Additionally, based on the transaction processing system shown in Fig. 2 embodiment, present invention also provides a kind of whole
The transaction processing method embodiment closed.The transaction processing method of described integration is based on described transaction processing system
Can realize below scheme:
The first step, transaction data pretreatment stage, mainly include the process of following two step:
Original transaction data needed for each application subsystem is stored raw data base;
The adjustment configuration information being used for adjusting original transaction data is stored information adjustment data base;
Second step, in the trading processing stage, mainly includes the process of following two situation:
When each application subsystem needs to obtain original transaction data, then obtain from described raw data base;
When each application subsystem needs to obtain the transaction data after adjusting, then call computing engines, institute
State computing engines to adjust data base from information and obtain and adjust configuration information accordingly, and be calculated adjustment
After transaction data, then the transaction data after described adjustment is distributed to need respectively apply subsystem
System.
Wherein, all or part of original transaction data in described raw data base adjusts number with described information
Man-to-man relationship maps is carried out by Data Identification according to the adjustment configuration information in storehouse.
If certain original transaction data in raw data base matches information by Data Identification and adjusts
Identical data mark in entire data storehouse, then call the number of deals after computing engines is calculated adjustment
According to;If certain original transaction data in raw data base cannot match information by Data Identification
Adjust the identical data mark in data base, then obtain original transaction data from described raw data base.
Preferably, described transaction processing method can also include:
Transaction data after calculated for computing engines adjustment is cached by application subsystem;
When any one application subsystem need obtain adjust after transaction data time, first inquire about whether have slow
Transaction data after the described adjustment deposited, if it is, directly obtain the transaction data after the adjustment of caching;
If it does not, recall computing engines.
From the foregoing, it will be observed that the transaction processing method of described integration is by after the adjustment needed for each application subsystem
Transaction data all unify in computing engines calculate, therefore can avoid in prior art due to dispersion meter
The problem that the result of calculation that causes is inconsistent, and application subsystem can be reduced undertake transaction data and adjust
Whole evaluation work is produced calculates pressure.And, the use of described caching can also avoid calculating to draw
The double counting held up, thus improve transaction processing efficiency.
Content based on above-mentioned embodiment illustrated in fig. 2, in order to make those skilled in the art clearly
Solve present context, below as a example by electronic transaction, system shown in Figure 2 is applied in electronic transaction
Commercial promotions calculation of price in illustrate.
In network trading based on ecommerce, especially in the e-commerce website that small amount is wholesale,
Due to online transaction and wholesale particularity, seller is issuing a merchandise news to electronic trading system
After, some commercial promotions activities of electronic trading system can be participated in, such as participation activity to commodity give a discount,
Buy that commodity directly subtract how many prices, VIP buyer plays the activities such as how many discounts, promotes buyer to buy commodity
Thus promote the turnover of seller, credit rating and popularity, and more buyer is promoted to carry out the purchase that places an order.
In order to realize above-mentioned commercial promotions, the commodity that seller can be issued by described electronic trading system participate in
During various advertising campaign, the commodity of each participation activity are carried out promotion rule setting, then passes through sales promotion
Calculation of price engine carries out promotional price calculating to the commodity of participation activity so that electronic trading system respectively should
During by needs commercial promotions price, directly invoke described promotional price computing engines and carry out calculating.Under
Face is described in detail by the electronic trading system shown in Fig. 3.
With reference to Fig. 3, it it is the structure chart of a kind of electronic trading system described in the embodiment of the present application.
Described electronic trading system can include multiple application subsystem, seller business the most as illustrated in the drawing
QC reason system 311, merchandise display system 312 and ordering system 313, certainly, described application subsystem
System can also include other application system.Described electronic trading system also includes promotional price computing engines
32, commercial promotions price caching system 33, merchandising database 34 and sales promotion merchandising database 35.
Wherein:
Described merchandising database 34 stores original transaction data, including commodity sign ID, commodity letter
Breath and commodity original prices information;
Described sales promotion merchandising database 35 stores price adjustment configuration information, including commodity mark
Knowledge ID, advertising campaign mark ID, advertising campaign type, discount, sales promotion price, activity start
The information such as date and activity end date;
Described promotional price computing engines 32 promotees for calling according to each application subsystem, utilization activity
In pin merchandising database 35, commodity original prices is adjusted calculating by the price adjustment configuration information of storage,
And the transaction data after being adjusted, including commodity sign ID and commercial promotions pricing information;
Described commercial promotions price caching system 33 is for calculating for the first time promotional price computing engines 32
The commercial promotions pricing information of gained caches, when described promotional price computing engines 32 is again to answering
When returning identical commercial promotions pricing information with subsystem, can directly delay from described commercial promotions price
Deposit system 33 obtains, it is not necessary to carry out double counting;
Described seller's commodity management system 311 is for arranging the merchandise news in described merchandising database 34
With commodity original prices information, the sales promotion being additionally operable to arrange in described sales promotion merchandising database 35 is lived
Dynamic type, discount, sales promotion price, the movable price adjustment such as Start Date and activity end date are joined
Confidence ceases;
Described merchandise display system 312 is for asking according to merchandise display, by inquiring about described sales promotion
Merchandising database 35 judges whether commodity to be shown participate in advertising campaign, if participated in, then passes through institute
State promotional price computing engines 32 obtain commercial promotions pricing information and show;If had neither part nor lot in, the most directly
Connect and from described merchandising database 34, obtain commodity original prices information and show;
Described ordering system 313 is for according to the commodity request of placing an order, by inquiring about described sales promotion commodity
Data base 35 judges whether the commodity in order participate in advertising campaign, if participated in, then by described rush
Sale price lattice computing engines 32 obtains commercial promotions pricing information and places an order;If had neither part nor lot in, then direct institute
State and merchandising database 34 obtains commodity original prices information and places an order.
It should be noted that above-mentioned commercial promotions price caching system 33 is the system being preferably provided with, can
To reduce the double counting number of times of promotional price computing engines 32, improve the fortune of whole electronic trading system
Line speed.Accordingly, with reference to the promotional price computing engines structure chart shown in Fig. 4, described promotional price
Computing engines 32 may include that further
Caching query module 41, for when any one application subsystem is by promotional price computing engines
32 obtain adjust after transaction data time, inquire about in described commercial promotions price caching system 33 and whether have
The transaction data after adjustment needed for described application subsystem, and obtain mould according to Query Result trigger data
Block 42 or Adjustable calculation module 43;
Data acquisition module 42, for when having described application in described commercial promotions price caching system 33
During transaction data after the adjustment needed for subsystem, directly obtain from commercial promotions price caching system 33,
And return to described application subsystem;
Adjustable calculation module 43, for when not having described answering in described commercial promotions price caching system 33
During with transaction data after the adjustment needed for subsystem, call from described sales promotion merchandising database 35
Price adjustment configuration information the transaction data after being calculated adjustment, the number of deals after then adjusting
According to returning to described application subsystem, and it is stored in described commercial promotions price caching system 33.
Based on above-mentioned electronic trading system, in actual applications, most-often used advertising campaign type is basic
Including two classes, a class be commodity give a discount, as common buyer beat how many discounts, VIP buyer beats how many discounts
Deng;Also having a class is directly to adjust commodity price, as commodity original prices being adjusted to new promotional price,
Or buy commodity directly subtract how many prices etc..Certainly, actual application also have a variety of advertising campaigns
Type, but being based on the calculation of price that various advertising campaign type carries out is all by described promotional price meter
Calculate engine 32 to complete.
Based on different advertising campaign types, shown in reference Fig. 4, described promotional price computing engines 32
In Adjustable calculation module 43 may include that further
Activity Type judge module 44, for living according to the sales promotion set in described price adjustment configuration information
Dynamic type judges, when described advertising campaign type is commodity discounting, triggers discount computing module 45;
When described advertising campaign type is for adjusting commodity price, trigger price adjusting module 46;
Discount computing module 45, for setting commodity original prices according in described price adjustment configuration information
Fixed discount calculates, and commodity price after being given a discount also returns to application subsystem;
Price adjustment module 46, for reading the sales promotion valency set in described price adjustment configuration information
Lattice also return to application subsystem.
Additionally, shown in reference Fig. 4, the Adjustable calculation module 43 in described promotional price computing engines 32
Can also include:
Activity availability judge module 47, for according to the activity set in described price adjustment configuration information
Start Date and activity end date judge that advertising campaign is the most effective, when activity is effective, trigger described
Activity Type judge module 44;When movable invalid time, from described merchandising database 34 obtain commodity former
Beginning price also returns to application subsystem.
Transaction flow in applying below in conjunction with reality is to electronic trading system shown in above-mentioned Fig. 3 and Fig. 4
Operation principle illustrates.
In actual electronic transaction, first seller completes publishing commodity, arranges commodity original prices, choosing
Select commodity participate in advertising campaign, arrange participate in advertising campaign commodity price promotion rule (rule is included in
Give a discount on commodity original prices, original prices changed into the modes such as new promotional price).
Then, buyer browses commodity, and described electronic trading system judges whether the commodity that buyer browses are sold
The commodity participating in sales promotion that family is arranged, are if it is calculated commodity by promotional price computing engines
Promotional price is shown.
Equally, when buyer's commodity to browsing carry out done through network, described electronic trading system also judges
Whether the commodity placed an order are commodity sales promotion, are then by the calculated promotional price of promotional price computing engines
Place an order.
Electronic trading system realizes the mode of above-mentioned transaction flow and includes following three aspect:
1, realize seller's publishing commodity by seller's commodity management system and participate in the flow process of advertising campaign
With reference to Fig. 5, it is seller's publishing commodity described in the embodiment of the present application and the flow chart participating in advertising campaign.
1.1 sellers arrange merchandising database by seller's commodity management system, complete the issue of merchandise news,
Described merchandise news includes: trade name, commodity classification, commodity picture, description information, freight charges etc. are believed
Breath;
1.2 sellers arrange merchandising database by seller's commodity management system, complete the commodity issued
Original prices information is configured, and described commodity original prices information includes: commercial specification, minimum rising are ordered
Amount, the maximum information such as minimum quantity of an order, commodity price, the most each specification can be arranged according to minimum quantity of an order scope
The commodity of one mp3 are such as carried out by a plurality of (limiting 5 in this example, can adjust as required)
Original prices is set to:
Table 1
Merchandise news and commodity original prices information that seller issues all are stored in merchandising database, commodity number
Include according to the information in storehouse: commodity sign ID, trade name, commodity classification, commodity picture, description
Information, freight charges and original prices information;
1.3 sellers select commodity to participate in advertising campaign by seller's commodity management system;
1.4 sellers arrange sales promotion merchandising database by seller's commodity management system, complete selected
The commodity selecting participation advertising campaign carry out promotional price setting.
Promotional price arrange be typically included on commodity original prices discount, original prices is changed into new
The modes such as promotional price.
Such as the commodity of mp3 above can be arranged as follows:
Participate in advertising campaign on Christmas to be set to make a call to 4 foldings by the mode that original prices gives a discount;
Participate in advertising campaign on New Year's Day and original prices is set to new promotional price, as follows:
Table 2
Seller selects participate in the setting of the commercial promotions price of advertising campaign and be stored in sales promotion commodity number
According in storehouse.
Information in sales promotion merchandising database includes: commodity sign ID, movable mark ID, sales promotion
Activity Type (referring to arrange by discount or original prices is changed into new price), discount, sales promotion
Price, the movable information such as Start Date, activity end date.If advertising campaign type is to set by discount
Put, then rebate value is stored in the discount field in sales promotion merchandising database;If advertising campaign class
Type is that original prices is changed into new price, then new price be stored in sales promotion price field.
It should be noted that sales promotion merchandising database can also be with other data storage side in this example
Formula replaces, such as key-value engine, NoSql, document storage system etc..No matter by which kind of number
Realize according to storage mode, identification access can be carried out with commodity sign ID, and then magnanimity business can be solved
Product participate in storage and the access performance problem of sales promotion.
2, real by merchandise display system, promotional price computing engines and commercial promotions price caching system
Existing buyer browses the flow process of commodity
With reference to Fig. 6, it it is the flow chart that browses commodity of buyer described in the embodiment of the present application.
2.1 buyer request browse commodity, merchandise display system according to commodity sign ID from merchandising database
In obtain merchandise news and commodity original prices;
2.2 merchandise display system, according to commodity sign ID access activity commodity sales promotion data base, check this
Whether commodity are the commodity participating in sales promotion, obtain corresponding letter without from sales promotion merchandising database
Breath, then be judged as the commodity not being to participate in advertising campaign, be shown by the original prices of commodity;If
Corresponding informance can be obtained from sales promotion merchandising database, then be judged as YES the commodity participating in advertising campaign,
It is calculated commercial promotions price is then shown by calling promotional price computing engines.
The calculation process of commercial promotions calculation of price engine is as shown in Figure 7.
With reference to Fig. 7, it it is the calculation flow chart of promotional price computing engines described in the embodiment of the present application.
A. commercial promotions calculation of price engine elder generation commodity in use mark ID accesses commercial promotions price and caches system
System, if there being the promotional price information of these commodity in commercial promotions price caching system, then directly takes out and returns
Back to caller;
If the b. promotional price information of not these commodity in commercial promotions price caching system, then according to rush
The effect duration (movable Start Date and activity end date) of pin activity judges that activity is the most effective, if
Activity is the most expired, the most directly returns the original prices of commodity;
If the activity that c. these commodity participate in is also effective, then judges it is to carry out sales promotion by discount, or pressed
The promotional price of full weight new settings carries out sales promotion, if carrying out sales promotion by discount, then presses formula: original
Price × (1-discount) obtains promotional price, and the mp3 commodity the most above arranged are by discount sales promotion then
Promotional price is: original prices × (1-0.4), it may be assumed that
Table 3
If by the promotional price sales promotion reset completely, then return:
Table 4
D. the commercial promotions price commodity in use ID for calculating every time deposits into commodity as mark
In promotional price caching system, it is simple to next time calls, the mistake of commercial promotions price caching system cache information
Time phase can be configured as the case may be, such as 30 minutes.
3, realize buying by ordering system, promotional price computing engines and commercial promotions price caching system
The lower single process of family
With reference to Fig. 8, it is that buyer described in the embodiment of the present application places an order flow chart.
3.1 buyer request place an order, and ordering system obtains business according to commodity sign ID from merchandising database
Product information and commodity original prices;
3.2 ordering systems, according to commodity sign ID access activity commodity sales promotion data base, check this commodity
Whether it is the commodity participating in sales promotion, obtains corresponding informance without from sales promotion merchandising database, then
It is judged as the commodity not being to participate in advertising campaign, places an order by the original prices of commodity;If can be from work
Dynamic commodity sales promotion data base obtains corresponding informance, then, as decision logic during merchandise display, call sales promotion
Calculation of price engine carries out commercial promotions calculation of price, and places an order with promotional price.
The calculation process of commercial promotions calculation of price engine is as it is shown in fig. 7, be not described in detail in this.
Due to during browsing commodity buyer merchandise display system have called up promotional price calculate draw
Hold up and be calculated commercial promotions price, and incorporate commercial promotions price caching system, therefore buyer
In lower single process, can directly can obtain from commercial promotions price caching system with promotional price computing engines
Commercial promotions price, it is not necessary to double counting.
In sum, in prior art, the calculating of promotional price is all distributed to merchandise display system and lower monosystem
Carry out in system, i.e. merchandise display system and ordering system calculates promotional price the most respectively;And the application implements
All it is calculated promotion price from promotional price computing engines when commodity are browsed and place an order by buyer in example
Lattice, thus advertising campaign product price need to be dispersed in the process that in an application, individually calculating processes and concentrate on
One place processes, and meets the unification of commercial promotions calculation of price, is easy to performance optimization, lifting use
Family is experienced, is easy to management and safeguards.
Above-described embodiment is to illustrate as a example by the commercial promotions calculation of price in electronic transaction, but specifically
Can also be applied in application in other application, it is similar to the aforementioned embodiment that it implements principle, therefore the most superfluous
State.
Transaction processing system and transaction processing method to a kind of integration provided herein, is carried out above
Being discussed in detail, principle and the embodiment of the application are explained by specific case used herein
Stating, the explanation of above example is only intended to help and understands the present processes and core concept thereof;Meanwhile,
For one of ordinary skill in the art, according to the thought of the application, at detailed description of the invention and application model
Placing and all will change, in sum, this specification content should not be construed as the restriction to the application.
Claims (12)
1. the transaction processing system integrated, including one or more application subsystems, its feature exists
In, also include:
Raw data base, for storing the original transaction data needed for each application subsystem;
Information adjusts data base, is used for adjusting the adjustment configuration information of original transaction data for storage,
Wherein, all or part of original transaction data in described raw data base adjusts data base with described information
In adjustment configuration information carry out man-to-man relationship maps by Data Identification;
Computing engines, separates from described application subsystem, for according to each application subsystem
Calling, certain original transaction data in raw data base matches information by Data Identification and adjusts
When identical data in data base identifies, adjust data base call from described information and adjust configuration information,
Described adjustment configuration information is analyzed, according to the adjustable strategies analyzed to corresponding original friendship
Easily data are adjusted calculating, the transaction data after being adjusted;
Each application subsystem is for directly obtaining former from described raw data base according to needed for respective application
Beginning transaction data, and/or, obtain the transaction data after adjusting by described computing engines;
Cache subsystem, the number of deals after caching the calculated adjustment for the first time of described computing engines
According to;
Described computing engines is additionally operable to, when again returning the transaction data after adjusting to application subsystem,
Directly obtain from described cache subsystem.
System the most according to claim 1, it is characterised in that described computing engines includes:
Caching query module, after obtaining adjustment when any one application subsystem by computing engines
During transaction data, inquire about after whether described cache subsystem has the adjustment needed for described application subsystem
Transaction data, and according to Query Result trigger data acquisition module or Adjustable calculation module;
Data acquisition module, for when there being the adjustment needed for described application subsystem in described cache subsystem
After transaction data time, directly obtain from cache subsystem, and return to described application subsystem;
Adjustable calculation module, for when not having the tune needed for described application subsystem in described cache subsystem
During transaction data after whole, adjust data base call from described information and adjust configuration information and be calculated
Transaction data after adjustment, the transaction data after then adjusting returns to described application subsystem, and deposits
Enter described cache subsystem.
System the most according to claim 1 and 2, it is characterised in that:
Described original transaction data includes commodity sign ID, merchandise news and commodity original prices information;
Described adjustment configuration information include commodity sign ID, advertising campaign mark ID, advertising campaign type,
Discount, sales promotion price, movable Start Date and activity end date;
Transaction data after described adjustment includes commodity sign ID and commercial promotions pricing information.
System the most according to claim 3, it is characterised in that:
Described advertising campaign type includes that commodity give a discount and adjust commodity price;
Described computing engines includes:
Activity Type judge module, for according to the advertising campaign type set in described adjustment configuration information
Judge, when described advertising campaign type is commodity discounting, trigger discount computing module;When described
When advertising campaign type is for adjusting commodity price, trigger price adjusting module;
Discount computing module, is used for commodity original prices according to the folding set in described adjustment configuration information
Tipping row calculating in, commodity price after being given a discount also returns to application subsystem;
Price adjustment module, for reading the sales promotion price set in described adjustment configuration information and returning
Back to application subsystem.
System the most according to claim 4, it is characterised in that described computing engines also includes:
Activity availability judge module, for according to the movable beginning day set in described adjustment configuration information
Phase and activity end date judge that advertising campaign is the most effective, when activity is effective, trigger described activity class
Type judge module;When movable invalid time, from described raw data base, obtain commodity original prices returning
To application subsystem.
System the most according to claim 3, it is characterised in that described application subsystem includes:
Commodity management system, for arranging the merchandise news in described raw data base and commodity original prices
Information, is additionally operable to arrange described information and adjusts the advertising campaign type in data base, discount, movable rush
Sale price lattice, movable Start Date and activity end date.
System the most according to claim 3, it is characterised in that described application subsystem includes:
Merchandise display system, for asking according to merchandise display, adjusts data by inquiring about described information
Storehouse judges whether commodity to be shown participate in advertising campaign, if participated in, is then obtained by described computing engines
Take commercial promotions pricing information and show;If had neither part nor lot in, then directly obtain from described raw data base
Commodity original prices information is also shown.
System the most according to claim 3, it is characterised in that described application subsystem includes:
Ordering system, for according to the commodity request of placing an order, sentencing by inquiring about described information adjustment data base
Whether the commodity in disconnected order participate in advertising campaign, if participated in, then obtain business by described computing engines
Product promotional price information also places an order;If had neither part nor lot in, the most direct described raw data base obtains commodity former
Beginning pricing information also places an order.
9. the transaction processing method integrated, it is characterised in that including:
Original transaction data needed for each application subsystem is stored raw data base;
The adjustment configuration information being used for adjusting original transaction data is stored information adjustment data base;
When each application subsystem needs to obtain original transaction data, then obtain from described raw data base,
Wherein, all or part of original transaction data in described raw data base adjusts data base with described information
In adjustment configuration information carry out man-to-man relationship maps by Data Identification;
When each application subsystem needs to obtain the transaction data after adjusting, then call computing engines, institute
State computing engines calling according to each application subsystem, the original number of deals of certain in raw data base
According to when matching, by Data Identification, the identical data mark that information adjusts in data base, adjust from information
Entire data storehouse obtains and adjusts configuration information accordingly, is analyzed described adjustment configuration information, presses
It is adjusted calculating, after being adjusted to corresponding original transaction data according to the adjustable strategies analyzed
Transaction data, then the transaction data after described adjustment is distributed to need each application subsystem,
Wherein, described computing engines is separated from described application subsystem;
Transaction data after computing engines calculated adjustment for the first time is utilized caching by application subsystem
Subsystem caches;
When computing engines returns the transaction data after adjusting to application subsystem again, directly from described slow
Deposit subsystem to obtain.
Method the most according to claim 9, it is characterised in that also include:
When any one application subsystem need obtain adjust after transaction data time, first inquire about whether have slow
Transaction data after the described adjustment deposited, if it is, directly obtain the transaction data after the adjustment of caching;
If it does not, recall computing engines.
11. according to the method described in claim 9 or 10, it is characterised in that:
Described original transaction data includes commodity sign ID, merchandise news and commodity original prices information;
Described adjustment configuration information include commodity sign ID, advertising campaign mark ID, advertising campaign type,
Discount, sales promotion price, movable Start Date and activity end date;
Transaction data after described adjustment includes commodity sign ID and commercial promotions pricing information.
12. methods according to claim 11, it is characterised in that: if in raw data base
Certain original transaction data matches information by Data Identification and adjusts the identical data mark in data base
Know, then call the transaction data after computing engines is calculated adjustment;If certain in raw data base
Bar original transaction data cannot match information by Data Identification and adjust the identical data in data base
Mark, then obtain original transaction data from described raw data base.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110173799.0A CN102841906B (en) | 2011-06-24 | 2011-06-24 | The transaction processing system of a kind of integration and transaction processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110173799.0A CN102841906B (en) | 2011-06-24 | 2011-06-24 | The transaction processing system of a kind of integration and transaction processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102841906A CN102841906A (en) | 2012-12-26 |
CN102841906B true CN102841906B (en) | 2016-12-07 |
Family
ID=47369279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110173799.0A Active CN102841906B (en) | 2011-06-24 | 2011-06-24 | The transaction processing system of a kind of integration and transaction processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102841906B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794138B (en) * | 2014-01-22 | 2018-08-24 | 深圳市沃信科技有限公司 | A kind of database transaction result confirmation method, apparatus and system |
CN104391698A (en) * | 2014-11-06 | 2015-03-04 | 中国建设银行股份有限公司 | Event project generation and price calculation methods and devices |
CN105303417A (en) * | 2015-12-07 | 2016-02-03 | 北京京东尚科信息技术有限公司 | Goods automatic ordering system and method |
CN106096992A (en) * | 2016-05-27 | 2016-11-09 | 乐视控股(北京)有限公司 | The changing method of commodity price and system |
CN106250243B (en) * | 2016-08-11 | 2019-06-25 | 中国银行股份有限公司 | The processing method and processing device of banking system application based on poll tupe |
CN107730288A (en) * | 2016-08-11 | 2018-02-23 | 凡学(上海)教育科技有限公司 | A kind of electric business promotion wholesale price management platform and management method |
CN107977848A (en) * | 2016-10-21 | 2018-05-01 | 浙江银泰电子商务有限公司 | promotion rule generation method and promotion rule generation system |
CN107767209A (en) * | 2017-09-21 | 2018-03-06 | 武汉蜕变人工智能科技有限公司 | A kind of automatic price quoting method and system |
CN108133346A (en) * | 2017-12-28 | 2018-06-08 | 创新无限信息技术(武汉)股份有限公司 | The method and system that the setting of bom inventories uploading system is sold by group |
CN108228790B (en) * | 2017-12-29 | 2021-09-28 | 北京奇虎科技有限公司 | Display method and device of pushed pictures |
CN109032690A (en) * | 2018-06-20 | 2018-12-18 | 南京万米信息技术有限公司 | A kind of method and apparatus of dynamic processing marketing data |
CN109118269A (en) * | 2018-07-12 | 2019-01-01 | 北京金山云网络技术有限公司 | Configuration method, device, electronic equipment and the storage medium of commercial activities rule |
CN109656987A (en) * | 2018-10-12 | 2019-04-19 | 深圳壹账通智能科技有限公司 | Data integration method, device, equipment and storage medium |
CN110390595B (en) * | 2019-07-30 | 2024-03-29 | 腾讯科技(深圳)有限公司 | Information processing system, method, server and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6457006B1 (en) * | 1999-07-20 | 2002-09-24 | Primentia, Inc. | System and method for organizing data |
CN1461444A (en) * | 1999-07-20 | 2003-12-10 | 英门迪亚公司 | System and method for organizing data |
CN1828527A (en) * | 2005-02-28 | 2006-09-06 | 微软公司 | Platform for data services across disparate application frameworks |
CN1967485A (en) * | 2006-06-20 | 2007-05-23 | 华为技术有限公司 | Method and system for realizing J2EE application |
CN101147146A (en) * | 2005-03-31 | 2008-03-19 | 瑞士银行股份有限公司 | Computer network system for constructing, synchronizing and/or managing a second database from/with a first database, and methods therefore |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6748365B1 (en) * | 1999-09-15 | 2004-06-08 | Chris Quinlan | Method and system for redeeming product marketing rebates |
US20020107732A1 (en) * | 2001-02-08 | 2002-08-08 | Boies Stephen J. | System and method for providing a consumer aggregation service |
KR101020628B1 (en) * | 2008-06-26 | 2011-03-09 | 주식회사 이베이지마켓 | A computer-readable recording medium that records a method of selling a bundle discount product in an electronic commerce using the Internet and a program for executing the same. |
-
2011
- 2011-06-24 CN CN201110173799.0A patent/CN102841906B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6457006B1 (en) * | 1999-07-20 | 2002-09-24 | Primentia, Inc. | System and method for organizing data |
CN1461444A (en) * | 1999-07-20 | 2003-12-10 | 英门迪亚公司 | System and method for organizing data |
CN1828527A (en) * | 2005-02-28 | 2006-09-06 | 微软公司 | Platform for data services across disparate application frameworks |
CN101147146A (en) * | 2005-03-31 | 2008-03-19 | 瑞士银行股份有限公司 | Computer network system for constructing, synchronizing and/or managing a second database from/with a first database, and methods therefore |
CN1967485A (en) * | 2006-06-20 | 2007-05-23 | 华为技术有限公司 | Method and system for realizing J2EE application |
Also Published As
Publication number | Publication date |
---|---|
CN102841906A (en) | 2012-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102841906B (en) | The transaction processing system of a kind of integration and transaction processing method | |
JP7105700B2 (en) | Time-division recommendation method and apparatus for service target | |
US20200065750A1 (en) | Inventory management system and method thereof | |
JP4450293B2 (en) | Method and system for providing online shopping search service | |
CN111164950B (en) | Method and system for user segmentation as a service | |
Singh et al. | Dropshipping in e-commerce: A perspective | |
US20160239861A1 (en) | System and method for managing e-commerce | |
JP2018169646A (en) | Integrated sales management system | |
US11023902B2 (en) | System and method for providing localized product offerings publications | |
WO2024109558A1 (en) | Recommendation data processing method, recommendation method, and electronic device and storage medium | |
KR20120083612A (en) | Shopping method and system using an augmented reality and image search | |
EP3804341A1 (en) | Dynamically generating an image from digital content items | |
CN103577999A (en) | Online shopping mall system | |
SG185792A1 (en) | Method and server for managing advertisements | |
CN102982480A (en) | Commodity group purchase system for online trade platform | |
CN202205235U (en) | Sales system | |
KR20190079582A (en) | Service mehtod for recommending gifts and server usingn the same | |
CN103455566B (en) | Information displaying method and device | |
KR20230051362A (en) | System, server and method of providing search engine marketing service in the global B2B | |
CN202257681U (en) | Online shopping price comparison system | |
KR20140015734A (en) | Fashion web-collection social network service system based on internet shopping mall service | |
JP2005108172A (en) | Business support system and information sharing system | |
KR20120083613A (en) | Method and system for providing an information of sale to saler | |
Zhiqiang et al. | Research on Different Pricing Strategy in Dual Channel under the Circumstance of Electronic Commerce | |
HK1175275A (en) | System for integrated transaction processing and method for transaction processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1175275 Country of ref document: HK |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1175275 Country of ref document: HK |