CN109544293A - Trading limit processing method and processing device - Google Patents

Trading limit processing method and processing device Download PDF

Info

Publication number
CN109544293A
CN109544293A CN201811382333.XA CN201811382333A CN109544293A CN 109544293 A CN109544293 A CN 109544293A CN 201811382333 A CN201811382333 A CN 201811382333A CN 109544293 A CN109544293 A CN 109544293A
Authority
CN
China
Prior art keywords
limit
limit control
control rule
transaction request
transaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811382333.XA
Other languages
Chinese (zh)
Inventor
王苗淼
薛继东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Digital Trade Technology (beijing) Co Ltd
Original Assignee
Digital Trade Technology (beijing) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Digital Trade Technology (beijing) Co Ltd filed Critical Digital Trade Technology (beijing) Co Ltd
Priority to CN201811382333.XA priority Critical patent/CN109544293A/en
Publication of CN109544293A publication Critical patent/CN109544293A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0607Regulated

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of trading limit processing method, device, calculate equipment and computer storage medium, wherein trading limit processing method includes: the transaction request for receiving client and sending;According to the exchange hour in transaction request, the corresponding limit control rule of transaction request is searched;Amount is used according in the transaction limit and limit control rule in transaction request, computational theory accumulates amount;Judge the limitation amount whether theoretical accumulation amount is greater than in limit control rule;If so, returning to the response of Fail Transaction to client;If it is not, then returning to transaction successfully response to client.The technical solution provided according to the present invention, realize second grade limit control, improve the timeliness and flexibility of trading limit processing mode, flexible and changeable business demand can be met well, and according to the entry-into-force time stamp of exchange hour and limit control rule in transaction request, also achieve the accurate lookup to transaction request corresponding limit control rule.

Description

Trading limit processing method and processing device
Technical field
The present invention relates to technical field of electronic commerce, and in particular to a kind of trading limit processing method, calculates equipment at device And computer storage medium.
Background technique
With the continuous development of e-commerce technology, people can buy foreign trade commodity etc. from transaction platform.It considers The factors such as risk prevention, transaction platform can carry out whole limit control to certain transaction or scene.Existing limit control mode Mainly according to the period, limit control is carried out in a manner of the fixed cycle, such as controlled using day, week, the moon as the period.So And this control mode with odd-numbered day limit, single-revolution limit, single Monthly Sum Limit lacks flexibility, not only for the different control periods It needs to be respectively set limit, and can only be controlled by set of rule in the same control period, it is difficult to be coped with flexible and changeable Practical business scene.
When occurring situations such as promotion panic buying, air control early warning, it is necessary to be adjusted in time for limit.And according to existing Limit control mode or be the unified adjustment same day or this month aggregate limit, but processing can lose a part of effective volume in this way Degree so that control is inaccurate, while can not also trace the amount service condition before modification;It is newly-increased one for " certain The special amount in one period " limits, but usually requires while modifying program, by exploitation, test and it is online and etc. after ability It comes into force, timeliness and flexibility are all difficult to meet business demand.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind It states the trading limit processing method of problem, device, calculate equipment and computer storage medium.
According to an aspect of the invention, there is provided a kind of trading limit processing method, comprising:
Receive the transaction request that client is sent;
According to the exchange hour in transaction request, the corresponding limit control rule of transaction request is searched;
Amount is used according in the transaction limit and limit control rule in transaction request, computational theory accumulates amount;
Judge the limitation amount whether theoretical accumulation amount is greater than in limit control rule;
If so, returning to the response of Fail Transaction to client;If it is not, then returning to transaction successfully response to client.
According to another aspect of the present invention, a kind of trading limit processing unit is provided, comprising:
Receiving module, for receiving the transaction request of client transmission;
Searching module, for searching the corresponding limit control rule of transaction request according to the exchange hour in transaction request;
Computing module is calculated for having used amount according in the transaction limit and limit control rule in transaction request Theory accumulation amount;
Judgment module, the limitation amount whether being greater than in limit control rule for judging theoretical accumulation amount;
Processing module is returned if judging to obtain theoretical accumulation amount greater than limitation amount for judgment module to client Return the response of Fail Transaction;If judgment module judges to obtain theoretical accumulation amount less than or equal to limitation amount, to client Return to transaction successfully response.
According to another aspect of the invention, provide a kind of calculating equipment, comprising: processor, memory, communication interface and Communication bus, processor, memory and communication interface complete mutual communication by communication bus;
Memory makes processor execute above-mentioned trading limit processing for storing an at least executable instruction, executable instruction The corresponding operation of method.
In accordance with a further aspect of the present invention, a kind of computer storage medium is provided, at least one is stored in storage medium Executable instruction, executable instruction make processor execute such as the corresponding operation of above-mentioned trading limit processing method.
The technical solution provided according to the present invention can easily be managed collectively limit control rule, neatly Taking effect rules time and limitation amount are controlled, also, the entry-into-force time stamp of limit control rule can be as accurate as second grade, realize Second grade limit control, improves the timeliness and flexibility of trading limit processing mode, can meet well flexible and changeable Business demand;In addition, the entry-into-force time stamp according to exchange hour and limit control rule in transaction request, realizes pair The accurate lookup of the corresponding limit control rule of transaction request can not only effectively guarantee to have expired limit control rule not It can be used again, and can also ensure that the limit control rule of Pending The Entry Into Force will not be used by mistake, optimize trading limit Processing mode.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram of trading limit processing method according to an embodiment of the invention;
Fig. 2 shows the structural block diagrams of trading limit processing unit according to an embodiment of the invention;
Fig. 3 shows a kind of structural schematic diagram for calculating equipment according to an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows the flow diagram of trading limit processing method according to an embodiment of the invention, such as Fig. 1 institute Show, this method can be executed by transaction platform, and this method comprises the following steps:
Step S100 creates multiple limit control rules, and the multiple limits created control rule is added to limit It controls in list.
Maintenance has limit to control list in database, specifically can need to be pre-created multiple limit controls according to transaction scene System rule, and the multiple limits created control rule is added in limit control list, it is advised to control multiple limits It is then managed collectively, specifically, easily the limit control rule in limit control list can be added, delete, repair The operation such as change and search, adjust limit control rule in time, the limit control for being arbitrarily designated that the time comes into force can be also set in advance Rule.
Wherein, limit control rule includes but is not limited to: rule ID, has used amount and entry-into-force time to stab at limitation amount Etc. information.Specifically, rule ID and limit control rule correspond, for unique mark for distinguishing different limit control rules Know, it in a particular application, can be using rule ID as major key;Limitation amount refers to the corresponding full amount of limit control rule;It has used Amount refers to the amount having been used under limit control rule;Entry-into-force time stamp refers to the entry-into-force time of limit control rule Point can stab the entry-into-force time as the index for searching limit control rule, entry-into-force time stamp can be accurate in a particular application To the timestamp of second grade, those skilled in the art can be according to actual needs configured entry-into-force time stamp.Limit control rule It may also include other information, herein without limitation.
Limit control list can safeguard any number of limit control rule.Panic buying, air control early warning etc. are promoted when existing In the case where, corresponding limit easily can also be added in limit control list according to practical business demand control rule.
Optionally, in limit control list, rule can be controlled to multiple limits according to the morning and evening sequence that the entry-into-force time stabs It is arranged, for example, the entry-into-force time in multiple limits control rule is stabbed, earliest limit control is regularly arranged to be controlled in limit The limit of entry-into-force time stamp the latest is controlled the regularly arranged the top in limit control list by the bottom of list.Limit control System is regular to be stabbed using the entry-into-force time as separating between limit control rule, and two adjacent limits control the entry-into-force time of rule The difference of stamp can be used for indicating the validity period of limit control rule.By the specific setting to multiple limits control rule, can be obtained The validity period of any time period has achieved the purpose that flexible limit control, can satisfy flexible and changeable business demand.Wherein, Taking effect rules are controlled in one and only one limit of current time, entry-into-force time stamp is located at the limit control rule after current time It is then the limit control rule of Pending The Entry Into Force.
Table one gives a kind of limit control list, includes 6 limit controls in limit control list as shown in Table 1 The rule ID of rule, this 6 limit control rules is respectively ID1 to ID6, wherein controls rule for the limit that rule ID is ID1 Then, the limitation amount of limit control rule is 1000, and having used amount is 200, and entry-into-force time stamp is 2018/10/01 00:00: 00, illustrate that limit control rule comes into force in 2018/10/01 00:00:00.Rule is controlled for the limit that rule ID is ID2, The entry-into-force time stamp of limit control rule is 2018/10/20 00:00:00, illustrates limit control rule in 2018/10/ 2000:00:00 comes into force.The limit control rule that the limit for being ID1 according to rule ID control rule and rule ID are ID2 comes into force Timestamp is it is found that the validity period for the limit control rule that rule ID is ID1 is 2018/10/01 00:00:00 to 2018/10/19 The limit control rule that 23:59:59, i.e. rule ID are ID1 is the limit control of Pending The Entry Into Force before 2018/10/01 00:00:00 System rule has expired limit control rule after 2018/10/1923:59:59.It is advised in addition, being controlled according to each limit Amount has been used in then, additionally it is possible to easily trace history limit service condition.
Table one
Rule ID Limit amount Amount is used Entry-into-force time stamp
ID6 1000 0 2018/11/12 00:00:00
ID5 1500 0 2018/11/11 18:00:00
ID4 2000 0 2018/11/11 12:00:00
ID3 5000 0 2018/11/11 00:00:00
ID2 2000 500 2018/10/20 00:00:00
ID1 1000 200 2018/10/01 00:00:00
Step S101 receives the transaction request that client is sent.
When user wants to trade, which can be product purchase transaction or foreign exchange settlement transaction etc., user Transaction request is sent to transaction platform by client, wherein transaction request can include: transaction limit, exchange hour, transaction account Information, the transaction request such as number information and transaction content may also include other information, herein without limitation.
Step S102 searches the corresponding limit control rule of transaction request according to the exchange hour in transaction request.
It wherein, can be when limit controls and searches entry-into-force time stamp in list positioned at transaction after receiving transaction request Between before limit control rule, then from the entry-into-force time stamp be located at exchange hour before limit control rule in select the latest Entry-into-force time stab corresponding limit control rule as the corresponding limit control rule of transaction request, that is, search when coming into force Between a stamp executed limit control rule nearest apart from exchange hour.It is realized in this way to transaction request pair The accurate lookup for the limit control rule answered can not only effectively guarantee that having expired limit control rule will not be made again With, and can also ensure that the limit control rule of Pending The Entry Into Force will not be used by mistake.It is deposited in addition it is possible to be effectively prevented from The blank phase is controlled in limit, it will not be because forgetting the case where limit control failure occur due to safeguarding that limit control is regular.
Assuming that limit control list is as shown in Table 1, the exchange hour in transaction request is 2018/10/2510:12:00, Limit control rule before the entry-into-force time stamp so found in limit control list is located at exchange hour includes rule The limit control rule that ID is ID1 and the limit that rule ID is ID2 control rule, wherein the limit that rule ID is ID1 controls The entry-into-force time stamp of rule is 2018/10/0100:00:00, and the entry-into-force time stamp for the limit control rule that rule ID is ID2 is 2018/10/2000:00:00.Then the entry-into-force time the latest is selected to stab corresponding limit control from the two limits control rule System rule is as the corresponding limit control rule of the transaction request.Since 2018/10/20 00:00:00 is later than 2018/10/01 00:00:00, then the entry-into-force time stamp for the limit control rule that rule ID is ID2 is most in the two limits control rule Evening, then selecting rule ID is the limit control rule of ID2 as the corresponding limit control rule of the transaction request, that is to say, that The transaction request need to follow the principles ID be ID2 limit control rule.
Step S103 has used amount, computational theory according in the transaction limit and limit control rule in transaction request Accumulate amount.
Specifically, being carried out with amount in transaction limit and limit the control rule in transaction request can be added place Reason, the amount being calculated are theoretical accumulation amount.Theory accumulation amount refers to limit control rule corresponding in transaction request Under then, allow that is accumulated after the transaction request to use amount.Assuming that the transaction limit in transaction request is 200, which is asked Seeking the amount of having used in corresponding limit control rule is 500, then the theoretical accumulation amount being calculated is 700.
Step S104 judges the limitation amount whether theoretical accumulation amount is greater than in limit control rule;If so, executing Step S105;If it is not, thening follow the steps S106.
After theoretical accumulation amount is calculated, so that it may easily judge whether current transaction limit exceeds limit.Tool Body, judge the limitation amount whether theoretical accumulation amount is greater than in limit control rule.If it is determined that obtaining theoretical accumulation Degree is greater than the limitation amount in limit control rule, illustrates that current transaction limit has exceeded limit, does not meet corresponding limit control System rule, thens follow the steps S105;If it is determined that obtaining the limitation that theoretical accumulation amount is less than or equal in limit control rule Amount illustrates current transaction limit
Without departing from limit, meets corresponding limit control rule, then follow the steps S106.
Step S105 returns to the response of Fail Transaction to client.
In the case where judging to obtain the limitation amount that theoretical accumulation amount is greater than in limit control rule through step S104, Illustrate that current transaction limit has exceeded limit, does not meet corresponding limit control rule, then transaction platform refuses the transaction, and The response of Fail Transaction is returned to client.Specifically, can transfinite prompt information to client return amount, for prompting user Current transaction limit has exceeded limit, does not meet corresponding limit control rule, then user is transfinited prompt information according to amount Transaction limit can be modified or issue transaction request again when waiting next limit control taking effect rules.
Step S106 returns to transaction successfully response to client.
Judging to obtain theoretical accumulation amount through step S104 less than or equal to the limitation amount in limit control rule In the case of, illustrate that current transaction limit without departing from limit, meets corresponding limit control rule, then transaction platform allows the friendship Easily, and to client transaction successfully response is returned.Specifically, successfully prompt information of trading can be returned to client, for mentioning Show that user's transaction has been successfully processed.
Step S107 accumulates amount according to theory, is updated processing with amount in limit control rule.
After transaction platform completes the transaction, also needs to accumulate amount according to theory, the corresponding limit of transaction request is controlled Processing is updated with amount in rule.Specifically, amount will have been used in the corresponding limit control rule of transaction request It is updated to theoretical accumulation amount.Assuming that limit control rule in it is original use amount be 200, theory accumulation amount be 700, So after transaction platform completes the transaction, 700 will be updated to by 200 with amount in limit control rule.
Optionally, it is contemplated that can there is a situation where that transaction is concurrent in transaction platform, those skilled in the art can be according to reality The mode of situation selection Database lock (such as Pessimistic Locking or optimistic locking) or program level lock carries out con current control.
According to trading limit processing method provided in this embodiment, unified pipe easily can be carried out to limit control rule Reason neatly controls taking effect rules time and limitation amount, also, the entry-into-force time stamp of limit control rule can be as accurate as Second grade realizes second grade limit control, improves the timeliness and flexibility of trading limit processing mode, can meet well Flexible and changeable business demand;In addition, the entry-into-force time stamp according to exchange hour and limit control rule in transaction request, The accurate lookup to transaction request corresponding limit control rule is realized, can not only effectively guarantee to have expired limit control Rule processed will not be used again, and can also ensure that the limit control rule of Pending The Entry Into Force will not be used by mistake, be optimized Trading limit processing mode.
Fig. 2 shows the structural block diagrams of trading limit processing unit according to an embodiment of the invention, as shown in Fig. 2, The device includes: receiving module 201, searching module 202, computing module 203, judgment module 204 and processing module 205.
Receiving module 201 is used for: receiving the transaction request that client is sent.
Searching module 202 is used for: according to the exchange hour in transaction request, searching the corresponding limit control rule of transaction request Then.
Computing module 203 is used for: having used amount, meter according in the transaction limit and limit control rule in transaction request Calculate theoretical accumulation amount.
Judgment module 204 is used for: judging the limitation amount whether theoretical accumulation amount is greater than in limit control rule.
Processing module 205 is used for: if the judgement of judgment module 204 obtains theoretical accumulation amount and is greater than limitation amount, to visitor The response of family end return Fail Transaction;If the judgement of judgment module 204, which obtains theoretical accumulation amount, is less than or equal to limitation amount, Transaction successfully response is returned to client.
Optionally, processing module 205 is further used for: if the judgement of judgment module 204 obtain theoretical accumulation amount be less than or Equal to limitation amount, then amount is accumulated according to theory, is updated processing with amount in limit control rule.
Optionally, device further include: creation module 206 for creating multiple limits control rule, and will be created Multiple limit control rules are added in limit control list.
Optionally, searching module 202 is further used for: when searching entry-into-force time stamp positioned at transaction in limit control list Between before limit control rule;Life the latest is selected in the limit control rule before exchange hour from entry-into-force time stamp The corresponding limit control rule of timestamp is imitated as the corresponding limit control rule of transaction request.
According to trading limit processing unit provided in this embodiment, unified pipe easily can be carried out to limit control rule Reason neatly controls taking effect rules time and limitation amount, also, the entry-into-force time stamp of limit control rule can be as accurate as Second grade realizes second grade limit control, improves the timeliness and flexibility of trading limit processing mode, can meet well Flexible and changeable business demand;In addition, the entry-into-force time stamp according to exchange hour and limit control rule in transaction request, The accurate lookup to transaction request corresponding limit control rule is realized, can not only effectively guarantee to have expired limit control Rule processed will not be used again, and can also ensure that the limit control rule of Pending The Entry Into Force will not be used by mistake, be optimized Trading limit processing mode.
The present invention also provides a kind of nonvolatile computer storage media, computer storage medium is stored at least one can It executes instruction, the trading limit processing method in above-mentioned any means embodiment can be performed in executable instruction.
Fig. 3 shows a kind of structural schematic diagram for calculating equipment according to an embodiment of the present invention, the specific embodiment of the invention The specific implementation for calculating equipment is not limited.
As shown in figure 3, the calculating equipment may include: processor (processor) 302, communication interface (Communications Interface) 304, memory (memory) 306 and communication bus 308.
Wherein:
Processor 302, communication interface 304 and memory 306 complete mutual communication by communication bus 308.
Communication interface 304, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 302 can specifically execute in above-mentioned trading limit processing method embodiment for executing program 310 Correlation step.
Specifically, program 310 may include program code, which includes computer operation instruction.
Processor 302 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that equipment includes are calculated, can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 306, for storing program 310.Memory 306 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 310 specifically can be used for so that processor 302 executes at trading limit in above-mentioned any means embodiment Reason method.In program 310 specific implementation of each step may refer to corresponding steps in above-mentioned trading limit Processing Example and Corresponding description in unit, this will not be repeated here.It is apparent to those skilled in the art that for description convenience and Succinctly, the specific work process of the equipment and module of foregoing description, can refer to corresponding processes in the foregoing method embodiment and retouch It states, details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize one of some or all components according to embodiments of the present invention A little or repertoire.The present invention is also implemented as setting for executing some or all of method as described herein Standby or program of device (for example, computer program and computer program product).It is such to realize that program of the invention deposit Storage on a computer-readable medium, or may be in the form of one or more signals.Such signal can be from because of spy It downloads and obtains on net website, be perhaps provided on the carrier signal or be provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of trading limit processing method characterized by comprising
Receive the transaction request that client is sent;
According to the exchange hour in the transaction request, the corresponding limit control rule of the transaction request is searched;
Amount has been used according in the transaction limit and limit control rule in the transaction request, has calculated theoretical accumulation Degree;
Judge whether the theoretical accumulation amount is greater than the limitation amount in the limit control rule;
If so, returning to the response of Fail Transaction to the client;It is successfully rung if it is not, then returning to transaction to the client It answers.
2. trading limit processing method according to claim 1, which is characterized in that described according in the transaction request Exchange hour, before searching the transaction request corresponding limit control rule, which comprises
Multiple limit control rules are created, and the multiple limits created control rule is added in limit control list.
3. trading limit processing method according to claim 1 or 2, which is characterized in that described according to the transaction request In exchange hour, searching the transaction request corresponding limit control rule further comprises:
The limit before entry-into-force time stamp is located at the exchange hour is searched in limit control list controls rule;
It selects the entry-into-force time the latest to stab in the limit control rule before the exchange hour from entry-into-force time stamp to correspond to Limit control rule as the transaction request corresponding limit control rule.
4. trading limit processing method according to claim 1, which is characterized in that handed in described returned to the client Easily successfully after response, the method also includes:
According to the theoretical accumulation amount, processing is updated with amount in limit control rule.
5. a kind of trading limit processing unit characterized by comprising
Receiving module, for receiving the transaction request of client transmission;
Searching module, for searching the corresponding limit control of the transaction request according to the exchange hour in the transaction request Rule;
Computing module, for having used amount according in the transaction limit and limit control rule in the transaction request, Computational theory accumulates amount;
Judgment module, for judging whether the theoretical accumulation amount is greater than the limitation amount in the limit control rule;
Processing module, if judging to obtain the theoretical accumulation amount for the judgment module is greater than the limitation amount, to The client returns to the response of Fail Transaction;It is less than or equal to if the judgment module judges to obtain the theoretical accumulation amount The limitation amount then returns to transaction successfully response to the client.
6. trading limit processing unit according to claim 5, which is characterized in that described device includes:
Creation module is added to limit for creating multiple limit control rules, and by the multiple limits created control rule It controls in list.
7. trading limit processing unit according to claim 5 or 6, which is characterized in that the searching module is further used In:
The limit before entry-into-force time stamp is located at the exchange hour is searched in limit control list controls rule;
It selects the entry-into-force time the latest to stab in the limit control rule before the exchange hour from entry-into-force time stamp to correspond to Limit control rule as the transaction request corresponding limit control rule.
8. trading limit processing unit according to claim 5, which is characterized in that the processing module is further used for:
According to the theoretical accumulation amount, processing is updated with amount in limit control rule.
9. a kind of calculating equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of trading limit processing method described in any one of 1-4.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute such as the corresponding operation of trading limit processing method of any of claims 1-4.
CN201811382333.XA 2018-11-20 2018-11-20 Trading limit processing method and processing device Pending CN109544293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811382333.XA CN109544293A (en) 2018-11-20 2018-11-20 Trading limit processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811382333.XA CN109544293A (en) 2018-11-20 2018-11-20 Trading limit processing method and processing device

Publications (1)

Publication Number Publication Date
CN109544293A true CN109544293A (en) 2019-03-29

Family

ID=65848583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811382333.XA Pending CN109544293A (en) 2018-11-20 2018-11-20 Trading limit processing method and processing device

Country Status (1)

Country Link
CN (1) CN109544293A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110135984A (en) * 2019-04-04 2019-08-16 深圳壹账通智能科技有限公司 Exchange management method, device, computer equipment and storage medium
CN110335033A (en) * 2019-07-09 2019-10-15 中国工商银行股份有限公司 Limit processing method and system
CN111461734A (en) * 2020-04-15 2020-07-28 中国银行股份有限公司 Service control method and device
CN111476578A (en) * 2020-04-09 2020-07-31 王海刚 NFC payment method and system, and loading method and system
CN111899088A (en) * 2020-06-23 2020-11-06 四川新网银行股份有限公司 Accurate asset limit calculation method under high-concurrency data flow field scene
CN113506177A (en) * 2021-07-27 2021-10-15 中国工商银行股份有限公司 Foreign exchange transaction limit control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8185457B1 (en) * 2007-10-25 2012-05-22 United Services Automobile Association (Usaa) Transaction risk analyzer
CN104951977A (en) * 2015-06-04 2015-09-30 中国银行股份有限公司 Cumulative balance based bank card utilization method and cumulative balance based bank card utilization device
CN106530074A (en) * 2016-10-25 2017-03-22 宁波银行股份有限公司 Large amount charge-off control method and system, and cash management information system
CN108629689A (en) * 2018-04-09 2018-10-09 上海瀚银信息技术有限公司 A method of limit is carried out to transaction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8185457B1 (en) * 2007-10-25 2012-05-22 United Services Automobile Association (Usaa) Transaction risk analyzer
CN104951977A (en) * 2015-06-04 2015-09-30 中国银行股份有限公司 Cumulative balance based bank card utilization method and cumulative balance based bank card utilization device
CN106530074A (en) * 2016-10-25 2017-03-22 宁波银行股份有限公司 Large amount charge-off control method and system, and cash management information system
CN108629689A (en) * 2018-04-09 2018-10-09 上海瀚银信息技术有限公司 A method of limit is carried out to transaction

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110135984A (en) * 2019-04-04 2019-08-16 深圳壹账通智能科技有限公司 Exchange management method, device, computer equipment and storage medium
CN110335033A (en) * 2019-07-09 2019-10-15 中国工商银行股份有限公司 Limit processing method and system
CN111476578A (en) * 2020-04-09 2020-07-31 王海刚 NFC payment method and system, and loading method and system
CN111461734A (en) * 2020-04-15 2020-07-28 中国银行股份有限公司 Service control method and device
CN111461734B (en) * 2020-04-15 2023-11-17 中国银行股份有限公司 Service control method and device
CN111899088A (en) * 2020-06-23 2020-11-06 四川新网银行股份有限公司 Accurate asset limit calculation method under high-concurrency data flow field scene
CN113506177A (en) * 2021-07-27 2021-10-15 中国工商银行股份有限公司 Foreign exchange transaction limit control method and device

Similar Documents

Publication Publication Date Title
CN109544293A (en) Trading limit processing method and processing device
JP5718641B2 (en) Method and apparatus for version management of data entities
CN101273355B (en) Update processes in an enterprise planning system
CN103106069A (en) Method and system for identifying components of bundled software product
CA2730829A1 (en) Adaptive implied spread matching
CN108959374B (en) Data storage method and device and electronic equipment
CN107578287A (en) The frequency control method and device of advertisement putting
CN109903050A (en) Transaction De-weight method, transaction building method, equipment and storage medium
CN113935507A (en) Foreign currency cash exchange reservation method and device based on block chain
CN104756079A (en) Rule distribution server, as well as event processing system, method, and program
CN108376320A (en) Fulfilling data managing method and device
KR101652184B1 (en) Method and system for data filing systems
JP6349469B1 (en) Company group management method and system
CN105450737A (en) Data processing method, data processing device and data processing system
WO2015084484A1 (en) Fair costing for dynamic data sharing in a cloud data market
US20080015875A1 (en) Supply chain tracking and management
Sharma et al. Desert sparrow optimization algorithm for the bicriteria flow shop scheduling problem with sequence-independent setup time
US8417594B2 (en) Dimension-based financial reporting using multiple combinations of dimensions
CN115797104A (en) Multi-path informatization identification method for business expansion installation
CN110298581A (en) Determine the method and device of risk indicator value
CN109003148A (en) Advertisement sending method, device, server and readable storage medium storing program for executing
CN114926253A (en) Market snapshot generation method and device and electronic equipment
Watson A case-based reasoning application for engineering sales support using introspective reasoning
CN110443493B (en) Route similarity determination method, device, equipment and medium
CN110414758B (en) Region determination method and device and electronic equipment

Legal Events

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

Application publication date: 20190329

RJ01 Rejection of invention patent application after publication