CN103325059B - Object replacing method and device - Google Patents

Object replacing method and device Download PDF

Info

Publication number
CN103325059B
CN103325059B CN201310188756.9A CN201310188756A CN103325059B CN 103325059 B CN103325059 B CN 103325059B CN 201310188756 A CN201310188756 A CN 201310188756A CN 103325059 B CN103325059 B CN 103325059B
Authority
CN
China
Prior art keywords
information value
threshold
value
calibration information
actual information
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.)
Expired - Fee Related
Application number
CN201310188756.9A
Other languages
Chinese (zh)
Other versions
CN103325059A (en
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.)
T8 software consulting Ltd
Original Assignee
T8 Software Consulting 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 T8 Software Consulting Ltd filed Critical T8 Software Consulting Ltd
Priority to CN201310188756.9A priority Critical patent/CN103325059B/en
Publication of CN103325059A publication Critical patent/CN103325059A/en
Application granted granted Critical
Publication of CN103325059B publication Critical patent/CN103325059B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an object replacing method used for relieving load on equipment and reducing the ratio of error response of the equipment. The method comprises the following steps that a first object confirms M calibration information values; an ith threshold value set is set for the ith calibration information value in the M calibration information values, and M threshold value sets are obtained; an actual information value, equal to a first actual information, of the first object is obtained, and the situation that the first actual information value is matched with the ith calibration information value is confirmed; when the actual information value of the first object changes from the first actual information value into a second actual information value, and the second actual information value is not in the ith interval range composed of the ith calibration information value and the ith threshold value set corresponding to the ith calibration information value, a first replacing command is generated; the first replacing command is executed, and each of a preset number of the first objects is replaced by a second object matched with one threshold value in the ith threshold value set. The invention further discloses a device used for achieving the method.

Description

A kind of object replacement method and device
Technical field
The present invention relates to computer and built-in field, more particularly to a kind of object replacement method and device.
Background technology
With the development in pluralism in financial market, the exchange of all kinds of financial products occurs therewith.By taking China as an example, at present There are Shanghai Stock Exchange and Shenzhen Stock Exchange in stock market, and there are China's finance exchange, Shanghai futures in financial derivative Exchange, DCE, middle gold institute and ZCE etc..
Futures (Futures) are entirely different with stock, are the goods (commodity) that can really conclude the business from stock, and futures are main It is not goods, but with certain bulk product such as Cotton Gossypii, Semen sojae atricolor, oil etc. and financial asset such as stock, bond etc. as target standard Change contract of can concluding the business.Therefore, this subject matter can be certain commodity (such as gold, crude oil, agricultural product), or finance Instrument.Acceptance futures date can be a week after, one month is afterwards, and three months are afterwards, in addition 1 year afterwards.The dealing phase The contract or agreement of goods is called futures contract.The place of dealing futures is called forward market.Investor can be thrown to futures Money is speculated.Incorrect opportunistic practice to futures, such as Short Selling out of stock, can cause the upheaval in financial market.
No matter forward market or stock market, information is all fast changing.For example for futures exchange, user Needs are seized the opportunity and could obtain maximum return.And in present traction equipment, user oneself can only follow up at any time, when it is determined that needing Buy in or be operated manually when selling again, refreshing a device at any time may be needed in user operation, bear for equipment It is heavier, need to respond the operation of user at any time, and response times excessively frequently may also can cause the mistake responsiveness of equipment to raise, Fault rate also accordingly can be raised.And, when the user operation such as possible, information generates change again, and user also cannot be accurate Seize the opportunity.The mode followed up at any time by user is needed also to bring larger inconvenience to user.
The content of the invention
The embodiment of the present invention provides a kind of object replacement method and device, for solve in prior art facility load compared with Weight, the by mistake higher technical problem of responsiveness, realize and mitigate the skill that facility load, reduction equipment miss responsiveness in process of exchange Art effect.
A kind of object replacement method, the method comprising the steps of:
M calibration information value is determined for the first object, M is the integer more than or equal to 1;
It is the integer from 1 to M to take i values successively, is i-th calibration information value setting i-th in the M calibration information value Individual sets of threshold values, when i is M, obtains M sets of threshold values;
Its value for obtaining first object is the actual information value of the first actual information value, and determines that described first is actual The value of information is matched with i-th calibration information value in the M calibration information value;
When the actual information value of first object is changed into and first actual information from the first actual information value Different the second actual information values of value, and when the second actual information value is not in i-th calibration information value and right with which When in the i-th interval range that the i-th threshold group answered is constituted, the first replacement instruction is generated;
First replacement instruction is performed, each first object in the first object of predetermined quantity is replaced with and institute State the second object that the one of threshold value in i-th threshold group matches.
Preferably, the step of setting i-th threshold group for i-th calibration information value in the M calibration information value is wrapped Include:I-th threshold group is set for i-th calibration information value in the M calibration information value, wherein, the i-th threshold group Including i-th upper limit threshold and/or i-th lower threshold.
Preferably,
It is when i-th upper limit threshold is only included in the i-th threshold group set for i-th calibration information value, described I-th interval range is specially the scope constituted between i-th calibration information value and i-th upper limit threshold;Or
It is when i-th lower threshold is only included in the i-th threshold group set for i-th calibration information value, described I-th interval range is specially the scope constituted between i-th calibration information value and i-th lower threshold;Or
When the i-th threshold group set for i-th calibration information value is included under i-th upper limit threshold and i-th During limit threshold value, i-th interval range is specially between i-th calibration information value and i-th upper limit threshold and constitutes The first subinterval scope and the i-th calibration information value and i-th lower threshold between the second subinterval scope for constituting.
Preferably, only including described i-th in the i-th threshold group for i-th calibration information value setting During upper limit threshold, judge the second actual information value not in i-th calibration information value and corresponding i-th threshold The step in the i-th interval range that group is constituted includes:Judge the second actual information value whether not less than i-th upper limit Threshold value;Wherein, when the second actual information value is not less than i-th upper limit threshold, determine second actual information Value is not in i-th interval range.
Preferably, only including described i-th in the i-th threshold group for i-th calibration information value setting During lower threshold, judge the actual information value not in i-th calibration information value and corresponding i-th threshold group structure Into the i-th interval range in step include:Judge whether the second actual information value is not more than i-th lower limit threshold Value;Wherein, when the second actual information value is not more than i-th lower threshold, determine the second actual information value Not in i-th interval range.
Preferably, when the i-th threshold group for i-th calibration information value setting include i-th upper limit threshold with During i-th lower threshold, judge the second actual information value not in i-th calibration information value and corresponding i-th The step in the i-th interval range that individual sets of threshold values is constituted includes:
Judge the second actual information value whether not less than the upper limit threshold;
When the second actual information value is not less than the upper limit threshold, determine the second actual information value not in institute State in the i-th interval range;When the second actual information value is less than the upper limit threshold, the second actual information value is judged Whether the lower threshold is not more than;
Wherein, when the second actual information value is not more than the lower threshold, determine the second actual information value Not in i-th interval range.
If preferably, the i-th threshold group only includes i-th upper limit threshold, the execution described first is replaced and is referred to Order, each first object in the first object of predetermined quantity is replaced with and one of them in the i-th threshold group The step of the second object that threshold value matches, includes:
First replacement instruction is performed, each first object in the first object of predetermined quantity is replaced with and institute State second object that i-th upper limit threshold matches;Or
If the i-th threshold group only includes i-th lower threshold, the execution first replacement instruction will Each first object in the first object of predetermined quantity is replaced with and the one of threshold value phase in the i-th threshold group The step of the second object matched somebody with somebody, includes:First replacement instruction is performed, by each in predetermined quantity the first object the One object replaces with second object matched with i-th lower threshold;Or
If the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, and if described second is real The border value of information is no less than i-th upper limit threshold, the execution first replacement instruction, by predetermined quantity first The first object of each in object replaces with the second object for matching with the one of threshold value in the i-th threshold group Step includes:First replacement instruction is performed, each first object in the first object of predetermined quantity is replaced with and institute State second object that i-th upper limit threshold matches;Or
If the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, and if described second is real The border value of information is no more than i-th lower threshold, the execution first replacement instruction, by predetermined quantity first The first object of each in object replaces with the second object for matching with the one of threshold value in the i-th threshold group Step includes:First replacement instruction is performed, each first object in the first object of predetermined quantity is replaced with and institute State second object that i-th lower threshold matches.
Preferably, i-th calibration information value phase in determining the first actual information value and the M calibration information value The step of matching, includes:Determine that the first actual information value is identical with i-th calibration information value, or determine described first The absolute value of the difference between actual information value and i-th calibration information value is in the range of preset difference value.
A kind of object alternative, described device include:
First determining module, for determining M calibration information value for the first object, M is the integer more than or equal to 1;
Setup module, is the integer from 1 to M for taking i values successively, is i-th demarcation in the M calibration information value The value of information sets i-th threshold group, when i is M, obtains M sets of threshold values;
Second determining module, its value for obtaining first object are the actual information value of the first actual information value, And determine that the first actual information value is matched with i-th calibration information value in the M calibration information value;
Generation module, for when first object actual information value from the first actual information value be changed into it is described The second different actual information value of first actual information value, and when the second actual information value does not demarcate letter at described i-th When in the i-th interval range that breath value and corresponding i-th threshold group are constituted, the first replacement instruction is generated;
Performing module, for performing first replacement instruction, by predetermined quantity the first object each first Object replaces with the second object matched with the one of threshold value in the i-th threshold group.
Preferably, the setup module specifically for:Set for i-th calibration information value in the M calibration information value Determine i-th threshold group, wherein, the i-th threshold group includes i-th upper limit threshold and/or i-th lower threshold.
Preferably, only including i-th upper limit threshold in the i-th threshold group for i-th calibration information value setting When, i-th interval range is specially the scope constituted between i-th calibration information value and i-th upper limit threshold; Or
It is when i-th lower threshold is only included in the i-th threshold group set for i-th calibration information value, described I-th interval range is specially the scope constituted between i-th calibration information value and i-th lower threshold;Or
When the i-th threshold group set for i-th calibration information value is included under i-th upper limit threshold and i-th During limit threshold value, i-th interval range is specially between i-th calibration information value and i-th upper limit threshold and constitutes The first subinterval scope and the i-th calibration information value and i-th lower threshold between the second subinterval scope for constituting.
Preferably, described device also includes judge module, when described i-th set for i-th calibration information value When only including i-th upper limit threshold in sets of threshold values, the judge module is used for:Whether judge the second actual information value Not less than i-th upper limit threshold;Wherein, when the second actual information value is not less than i-th upper limit threshold, really The fixed second actual information value is not in i-th interval range.
Preferably, described device also includes judge module, when described i-th set for i-th calibration information value When only including i-th lower threshold in sets of threshold values, the judge module is used for:Whether judge the second actual information value No more than described i-th lower threshold;Wherein, when the second actual information value is not more than i-th lower threshold, really The fixed second actual information value is not in i-th interval range.
Preferably, described device also includes judge module, the judge module includes that the first judging submodule and second is sentenced Disconnected submodule, when the i-th threshold group set for i-th calibration information value is included under i-th upper limit threshold and i-th During limit threshold value, whether first judging submodule is used to judge the second actual information value not less than the upper limit threshold;
Second judging submodule for when the second actual information value be not less than the upper limit threshold when, determine institute The second actual information value is stated not in i-th interval range;When the second actual information value is less than the upper limit threshold, Judge whether the second actual information value is not more than the lower threshold;
Wherein, when the second actual information value is not more than the lower threshold, determine the second actual information value Not in i-th interval range.
Preferably, the performing module specifically for:
If the i-th threshold group only includes i-th upper limit threshold, first replacement instruction is performed, will be predetermined Each first object in the first object of quantity replaces with second object matched with i-th upper limit threshold; Or
If the i-th threshold group only includes i-th lower threshold, first replacement instruction is performed, will be predetermined Each first object in the first object of quantity replaces with second object matched with i-th lower threshold; Or
If the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, and if described second is real The border value of information is no less than i-th upper limit threshold, performs first replacement instruction, by the first object of predetermined quantity Each first object replace with second object matched with i-th upper limit threshold;Or
If the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, and if described second is real The border value of information is no more than i-th lower threshold, performs first replacement instruction, by the first object of predetermined quantity Each first object replace with second object matched with i-th lower threshold.
Preferably, second determining module specifically for:Determine that the first actual information value is demarcated with described i-th The value of information is identical, or determines that the absolute value of the difference between the first actual information value and i-th calibration information value exists In the range of preset difference value.
Object replacement method in the embodiment of the present invention can include:M calibration information value is determined for the first object, M is Integer more than or equal to 1;It is the integer from 1 to M to take i values successively, is i-th calibration information in the M calibration information value Value setting i-th threshold group, when i is M, obtains M sets of threshold values;The first actual information value of first object is obtained, and Determine that the first actual information value is matched with i-th calibration information value in the M calibration information value;When described first The actual information value of object is changed into the second actual letter different from the first actual information value from the first actual information value Breath value, and when the second actual information value is not constituted in i-th calibration information value and corresponding i-th threshold group The i-th interval range in when, generate the first replacement instruction;First replacement instruction is performed, predetermined quantity is individual first pair The first object of each as in replaces with the second object matched with the one of threshold value in the i-th threshold group.
In the embodiment of the present invention, the M calibration information value can be determined for first object, it is possible to for the M Each calibration information value in individual calibration information value arranges a sets of threshold values, when first reality for obtaining first object During the value of information, which the calibration information value phase in the first actual information value and the M calibration information value can be first determined Matching, if for example described first actual information value is matched with i-th calibration information value in the M calibration information value, Then, when the actual information value of first object is after the first actual information value is changed into the second actual information value, can To judge the second actual information value whether not in i-th calibration information value and corresponding i-th threshold group structure Into the i-th interval range in, if the second actual information value is not in i-th interval range, can be by predetermined number Amount first object is replaced, can by wherein each first object replace with the i-th threshold group wherein The second object that one threshold value matches.
For example, for first object, be which sets multiple possible setting prices, and valency set for each Lattice are provided with a sets of threshold values.The real price of first object can be obtained afterwards, and first for for example once obtaining is actual Price with first setting price match, then, if real price there occurs variations, by first real price change in order to Second real price, it can be determined that whether the second real price is in the first setting price and the area of corresponding sets of threshold values composition Between in the range of, each first object in predetermined quantity the first object is replaced if not, being assured that, can So that first object is replaced with the second object matched with the one of threshold value in sets of threshold values.So, equipment can be with Automatically decide whether to carry out according to setting and current price movement place an order and wait operation, without the need for the intervention that user is excessive, use Family is followed up at any time without the need for oneself, all be all set after be automatically performed by equipment.Therefore, user is set without refreshing at any time Standby, for equipment without the need for responding user at any time operation, hence it is evident that alleviate burden, and reduce response times, significantly reduce The mistake responsiveness of equipment, also reduces the fault rate of equipment to a certain extent.And this technical scheme is adopted, decrease The workload of user, it is user-friendly, improve Consumer's Experience.
Description of the drawings
Fig. 1 is the broad flow diagram of object replacement method in the embodiment of the present invention;
Fig. 2A is a kind of sets of threshold values schematic diagram in the embodiment of the present invention;
Fig. 2 B are a kind of sets of threshold values schematic diagram in the embodiment of the present invention;
Fig. 2 C are a kind of sets of threshold values schematic diagram in the embodiment of the present invention;
Fig. 2 D are a kind of sets of threshold values schematic diagram in the embodiment of the present invention;
Fig. 3 is the detailed structure view of object alternative in the embodiment of the present invention.
Specific embodiment
Object replacement method in the embodiment of the present invention can include:M calibration information value is determined for the first object, M is Integer more than or equal to 1;It is the integer from 1 to M to take i values successively, is i-th calibration information in the M calibration information value Value setting i-th threshold group, when i is M, obtains M sets of threshold values;The first actual information value of first object is obtained, and Determine that the first actual information value is matched with i-th calibration information value in the M calibration information value;When described first The actual information value of object is changed into the second actual letter different from the first actual information value from the first actual information value Breath value, and when the second actual information value is not constituted in i-th calibration information value and corresponding i-th threshold group The i-th interval range in when, generate the first replacement instruction;First replacement instruction is performed, predetermined quantity is individual first pair The first object of each as in replaces with the second object matched with the one of threshold value in the i-th threshold group.
In the embodiment of the present invention, the M calibration information value can be determined for first object, it is possible to for the M Each calibration information value in individual calibration information value arranges a sets of threshold values, when first reality for obtaining first object During the value of information, which the calibration information value phase in the first actual information value and the M calibration information value can be first determined Matching, if for example described first actual information value is matched with i-th calibration information value in the M calibration information value, Then, when the actual information value of first object is after the first actual information value is changed into the second actual information value, can To judge the second actual information value whether not in i-th calibration information value and corresponding i-th threshold group structure Into the i-th interval range in, if the second actual information value is not in i-th interval range, can be by predetermined number Amount first object is replaced, can by wherein each first object replace with the i-th threshold group wherein The second object that one threshold value matches.
For example, for first object, be which sets multiple possible setting prices, and valency set for each Lattice are provided with a sets of threshold values.The real price of first object can be obtained afterwards, and first for for example once obtaining is actual Price with first setting price match, then, if real price there occurs variations, by first real price change in order to Second real price, it can be determined that whether the second real price is in the first setting price and the area of corresponding sets of threshold values composition Between in the range of, each first object in predetermined quantity the first object is replaced if not, being assured that, can So that first object is replaced with the second object matched with the one of threshold value in sets of threshold values.So, equipment can be with Automatically decide whether to carry out according to setting and current price movement place an order and wait operation, without the need for the intervention that user is excessive, use Family is followed up at any time without the need for oneself, all be all set after be automatically performed by equipment.Therefore, user is set without refreshing at any time Standby, for equipment without the need for responding user at any time operation, hence it is evident that alleviate burden, and reduce response times, significantly reduce The mistake responsiveness of equipment, also reduces the fault rate of equipment to a certain extent.And this technical scheme is adopted, decrease The workload of user, it is user-friendly, improve Consumer's Experience.
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The terms "and/or", only a kind of incidence relation of description affiliated partner, represents there may be three kinds of passes System, for example, A and/or B can be represented:Individualism A, while there is A and B, individualism B these three situations.In addition, herein Middle character "/", typicallys represent forward-backward correlation to liking a kind of relation of "or".
Below in conjunction with the accompanying drawings the preferred embodiment of the present invention is described in detail.
Embodiment one
Fig. 1 is referred to, a kind of object replacement method is provided in the embodiment of the present invention, the main flow of methods described can be as Under:
Step 101:M calibration information value is determined for the first object, M is the integer more than or equal to 1.
In the embodiment of the present invention, the M calibration information value can be determined for first object first.
Method in the embodiment of the present invention can apply to forward market, during first object can be forward market Different trading objects.
For example, a kind of possible calibration information value can be the first object possible price value, i.e. equipment can Multiple possible price values are set as first object according to practical situation.
For example, by taking described first pair as if white sugar as an example.For white sugar, proficiency white sugar once sold for 2155,2255, 2355th, 2455,2555,2655 etc. different price, then equipment can according to practical situation be proficiency white sugar setting 2155, 2255th, 2355,2455,2555,2655 etc. multiple calibration information values.
For forward market, which may include various first objects, then equipment naturally can be according to every kind of first pair The practical situation of elephant is that every kind of object sets its corresponding calibration information value.
In the embodiment of the present invention, the M calibration information value by equipment sets itself, or can also can be entered by user Row setting.User not only can select specifically to need to set how many calibration information values, can also set each calibration information value Concrete numerical value.
Step 102:It is the integer from 1 to M to take i values successively, is i-th calibration information in the M calibration information value Value setting i-th threshold group, when i is M, obtains M sets of threshold values.
In the embodiment of the present invention, after the M calibration information value is determined for first object, can be followed successively by described Each calibration information value in M calibration information value sets a sets of threshold values, so can obtain the M sets of threshold values altogether.
Wherein, for one of calibration information value, corresponding sets of threshold values can only include a upper limit Threshold value, or a lower threshold can also have been only included, or can also both include upper limit threshold and including lower threshold.
Optionally, in the embodiment of the present invention, if in the i-th threshold group of i-th calibration information value setting Including i-th upper limit threshold, then exactly described i-th calibration information value is corresponded to i-th upper limit threshold, described i-th Interval range is specifically as follows the scope constitute between i-th calibration information value and i-th upper limit threshold.
Optionally, in the embodiment of the present invention, if in the i-th threshold group of i-th calibration information value setting Including i-th lower threshold, then exactly described i-th calibration information value is corresponded to i-th lower threshold, described i-th Interval range is specifically as follows the scope constitute between i-th calibration information value and i-th lower threshold.
Optionally, in the embodiment of the present invention, if bag in the i-th threshold group of i-th calibration information value setting Include i-th upper limit threshold and i-th lower threshold, then exactly described i-th calibration information value correspondence has i-th upper limit Threshold value and i-th lower threshold, wherein, is constituted between i-th calibration information value and i-th upper limit threshold One subinterval scope, constitutes the second subinterval scope between the i-th calibration information value and i-th lower threshold.Described i-th Interval range can specifically include the first subinterval scope and second subinterval scope.
For example, by taking first pair as if white sugar as an example.Multiple calibration information values are set if first object, then may be used Think that each calibration information value arranges a sets of threshold values.
Such as one of calibration information value is 2355, then can set a sets of threshold values for the calibration information value. For example, a upper limit threshold can only be set for corresponding sets of threshold values, such as upper limit threshold is 2375, or for example, A lower threshold can only be set for corresponding sets of threshold values, such as lower threshold is 2335, or for example, Ke Yiwei Corresponding sets of threshold values sets a upper limit threshold and a lower threshold, and such as upper limit threshold is 2375, the lower limit threshold It is worth for 2335.
Preferably, in an alternative embodiment of the invention, a predetermined quantity can also be set for each calibration information value.Example Such as, by taking first pair as if white sugar as an example.Multiple calibration information values are set for first object, and is each calibration information value One sets of threshold values is set, a predetermined quantity can also be set for each calibration information value.
For example, this calibration information value for 2355, for its one predetermined quantity of setting, such as predetermined quantity can be 10。
Wherein, it is that the predetermined quantity that each calibration information value sets can be the same or different, specifically can be by equipment Sets itself, or can also be set by user as needed.
For example, this calibration information value for 2355, for its one predetermined quantity of setting, such as predetermined quantity can be 10, and for 2555 this calibration information value, can for its setting one predetermined quantity, for example the predetermined quantity can be 5.This The different example of the predetermined quantity set for different calibration information value, or for different calibration information values set it is predetermined Quantity can also be identical, no longer illustrates herein.
In the embodiment of the present invention, a calibration information value and a corresponding sets of threshold values are properly termed as an information Group.For first object, multiple information groups can be set.During concrete application, user can be with unrestricted choice Which information group enabled.For example, 5 information groups are set altogether, and user can select all to enable, or can also select only to open With partial information group therein, the use of the user that is so more convenient for.
In the embodiment of the present invention, for each calibration information value, its corresponding sets of threshold values can be voluntarily set by equipment It is fixed, or can also be set by user.
Step 103:Its value for obtaining first object is the actual information value of the first actual information value, and is determined described First actual information value is matched with i-th calibration information value in the M calibration information value.
During real trade, can in real time, timing or by the actual information value that first object is obtained when triggering. The actual information value of first object refers to the real price of first object.
In the embodiment of the present invention, step 103 equivalent to the actual information value that first object is obtained at the first moment, this The actual information value of the first objects of Shi Suoshu is properly termed as the first actual information value, with described first pair for hereafter obtaining The actual information value of elephant is mutually distinguished.
After the first actual information value is obtained, can be by the first actual information value and the M calibration information Value is matched one by one, so that the demarcation matched with the first actual information value is determined from the M calibration information value The value of information.For example it is the i-th calibration information value and described first in the M calibration information value in the embodiment of the present invention Actual information value matches.
Optionally, in the embodiment of the present invention, i-th calibration information value is matched with the first actual information value, May refer to i-th calibration information value identical with the first actual information value.
For example, the first actual information value is 2355, then can inquire about whether have mark in the M calibration information value The value of information is determined for 2355, if it is determined that i-th calibration information value in the M calibration information value is 2355, then can determine I-th calibration information value is matched with the first actual information value.
Optionally, in the embodiment of the present invention, i-th calibration information value is matched with the first actual information value, The absolute value of difference between i-th calibration information value and the first actual information value be may refer in preset difference value model In enclosing.
For example, the first actual information value is 2355, and the preset difference value scope is 10.Then can mark at described M Determine to inquire about in the value of information, if it is determined that i-th calibration information value in the M calibration information value is 2360, although 2360 and 2655 differ, but the absolute value of the difference between 2360 and 2655 can determine institute within the scope of the preset difference value, then State i-th calibration information value to match with the first actual information value.
Preferably, in this case, if two calibration information values point have been inquired from the M calibration information value Wei 2360 and 2345, although the absolute value of the difference between the two calibration information values and the first actual information value all exists In the range of the preset difference value, but because the difference between 2360 and 2655 it is less, thus may determine that first actual information This calibration information value matches value with 2360.
Step 104:When the actual information value of first object is changed into and described first from the first actual information value The second different actual information value of actual information value, and when the second actual information value is not in i-th calibration information value When in the i-th interval range constituted with corresponding i-th threshold group, the first replacement instruction is generated.
The second moment after first moment, the actual information value of first object there occurs change, for example by The first actual information value becomes for the second actual information value.
Wherein, equipment can in real time, timing or by the actual information value that first object is obtained when triggering therefore natural It is known that whether the actual information value there occurs change.
When equipment finds that the actual information value of first object is become in order to described by the first actual information value Second actual information value, then may determine that the second actual information value whether not i-th calibration information value and with In the i-th interval range that its corresponding i-th threshold group is constituted.
In the embodiment of the present invention, for specifically how judging that whether the second actual information value is not marked at described i-th Determine, in the i-th interval range that the value of information and corresponding i-th threshold group are constituted, there can be different modes, be exemplified below Go out several possible modes.
Optionally, described i-th is only included in the i-th threshold group for setting if i-th calibration information value Individual upper limit threshold, then judge the second actual information value not in i-th calibration information value and corresponding i-th In the i-th interval range that sets of threshold values is constituted can be specifically:Judge the second actual information value whether not less than described i-th Upper limit threshold.Wherein, if the second actual information value is not less than i-th upper limit threshold, it may be determined that described second Actual information value not in i-th interval range, if the second actual information value be less than i-th upper limit threshold and More than i-th calibration information value, it may be determined that the second actual information value in i-th interval range, and if The second actual information value is not more than i-th calibration information value, although can also determine the second actual information value Not in i-th interval range, but can not be processed.
Preferably, for this embodiment, if setting multiple calibration information values, then, if described second is actual The value of information be not more than i-th calibration information value, then preferably, can again in the M calibration information value determine and The calibration information value that the second actual information value matches, if can redefine in the M calibration information value with The calibration information value that the second actual information value matches is j-th calibration information value, then subsequently can be according to the reality The change of the value of information, by j-th calibration information be worth corresponding j-th sets of threshold values again to the change after actual letter Breath value is judged.
Optionally, described i-th is only included in the i-th threshold group for setting if i-th calibration information value Individual lower threshold, then judge the second actual information value not in i-th calibration information value and corresponding i-th In the i-th interval range that sets of threshold values is constituted can be specifically:Judge whether the second actual information value is not more than described i-th Lower threshold.Wherein, if the second actual information value is not more than i-th lower threshold, it may be determined that described second Actual information value not in i-th interval range, if the second actual information value be more than i-th lower threshold and No more than described i-th calibration information value, it may be determined that the second actual information value in i-th interval range, and such as Really described second actual information value is more than i-th calibration information value, although can also determine the second actual information value Not in i-th interval range, but can not be processed.
Preferably, for this embodiment, if setting multiple calibration information values, then, if described second is actual The value of information is more than i-th calibration information value, then preferably, can determine and institute in the M calibration information value again The calibration information value that the second actual information value matches is stated, if can redefine in the M calibration information value and institute It is j-th calibration information value to state the calibration information value that the second actual information value matches, then subsequently actual can be believed according to described The change of breath value, is worth corresponding j-th sets of threshold values again to the actual information after the change by j-th calibration information Value is judged.
Optionally, include described i-th if the i-th threshold group of i-th calibration information value setting Upper limit threshold and i-th lower threshold, then judge the second actual information value not in i-th calibration information value In the i-th interval range constituted with corresponding i-th threshold group can be specifically:Judge that the second actual information value is It is no not less than i-th upper limit threshold.Wherein, if the second actual information value is not less than i-th upper limit threshold, The second actual information value be can determine not in i-th interval range, if the second actual information value is less than institute I-th upper limit threshold is stated, can continue to judge whether the second actual information value is not more than i-th lower threshold, such as Really described second actual information value is not more than i-th lower threshold, it may be determined that the second actual information value is not in institute State in the i-th interval range.
Step 105:First replacement instruction is performed, each first object in the first object of predetermined quantity is replaced It is changed to the second object matched with the one of threshold value in the i-th threshold group.
Wherein, if the i-th threshold group only includes i-th upper limit threshold, then this step is by predetermined quantity Each first object in first object replaces with second object matched with i-th upper limit threshold.
Wherein, if the i-th threshold group only includes i-th lower threshold, then this step is by predetermined quantity Each first object in first object replaces with second object matched with i-th lower threshold.
Wherein, if the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, then, if institute State the second actual information value and be no less than i-th upper limit threshold, then this step is by the first object of predetermined quantity Each first object replaces with second object matched with i-th upper limit threshold, if the described second actual letter Breath value is no more than i-th lower threshold, then this step is by each first object in the first object of predetermined quantity Replace with second object matched with i-th lower threshold.
After first replacement instruction is generated, first replacement instruction can be performed, by the predetermined quantity institute Each first object stated in the first object replaces with the institute matched with the one of threshold value in the i-th threshold group State the second object.
Wherein, the predetermined quantity already explained above, be each calibration information value can arrange one it is described pre- Fixed number amount.If being according to i-th calibration information value and corresponding institute when the second actual information value is judged State the judgement of i-th threshold group, then the predetermined quantity is exactly i-th predetermined quantity arranged for i-th calibration information.
Specifically, in the embodiment of the present invention, each first object in the predetermined quantity first object is replaced The second object matched with the one of threshold value in the i-th threshold group is changed to, can be by the predetermined quantity Each first object in first object is replaced with and the equal target of one of threshold value in the i-th threshold group Second object.
For example, described first pair as if thing target, second object can be money target.For example in futures exchange In, first object can be white sugar, and second object can be money.
And, all it is virtual target when being traded, but is to be illustrated with this in the embodiment of the present invention, is not offered as described One object and second object are all entity objects.
Below with a more complete embodiment introducing the method detailed that object in the present invention is replaced.
For example, first object is white sugar, can determine the M calibration information value for first object first. For example it is that first object is provided with 2355,2455,2555,2655 this 4 calibration information values, this 4 marks in the present embodiment Determine the value of information and be properly termed as the first calibration information value, the second calibration information value, the 3rd calibration information value and the 4th demarcation letter successively Breath value.In the embodiment of the present invention, calibration information value can be that white sugar may corresponding price.
After this 4 calibration information values are set, can be that each the calibration information value in this 4 calibration information values is set respectively A fixed sets of threshold values.In the embodiment of the present invention, the threshold value for constituting sets of threshold values can be that white sugar may corresponding price.
For example, first threshold group can be set for the first calibration information value, the first threshold group is included on first Limit threshold value, first upper limit threshold are 2555.As shown in Figure 2 A, as can be seen that equipment is demarcated for described first from Fig. 2A The value of information sets the first predetermined quantity, and first predetermined quantity is 5.
For example, Second Threshold group can be set for the second calibration information value, the Second Threshold group is included under second Limit threshold value, second lower threshold are 2255.As shown in Figure 2 B, as can be seen that equipment is demarcated for described second from Fig. 2 B The value of information sets the second predetermined quantity, and second predetermined quantity is 5.
For example, the 3rd sets of threshold values can be set for the 3rd calibration information value, the 3rd sets of threshold values is included on the 3rd Limit threshold value and the 3rd lower threshold, the 3rd upper limit threshold are 2755, and the 3rd lower threshold is 2355.Such as Fig. 2 C institutes Show, as can be seen that equipment sets the 3rd predetermined quantity, the 3rd predetermined number for the 3rd calibration information value from Fig. 2 C Measure as 10.
For example, the 4th sets of threshold values can be set for the 4th calibration information value, the 4th sets of threshold values is included on the 4th Limit threshold value and the 4th lower threshold, the 4th upper limit threshold are 2855, and the 4th lower threshold is 2455.Such as Fig. 2 D institutes Show, as can be seen that equipment sets the 4th predetermined quantity for the 4th calibration information value from Fig. 2 D, described the is predetermined number Measure as 15.
When being traded, at the first moment, it is possible to obtain the actual information value of first object, i.e., described first object Real price, now the value of the actual information value be the first actual information value.Such as described first actual information value is 2455.After the first actual information value is obtained, it may be determined that the first actual information value specifically with 4 calibration information Which calibration information value in value matches.Because the first actual information value is 2455 in the present embodiment, then which is can determine Match with the second calibration information value.
The situation of change of the actual information value that can so continue to pay close attention to first object.For example described first At the second moment after moment, the actual information value of first object is obtained again, now the actual information value It is worth for the second actual information value, the second actual information value is different from the first actual information value, in the present embodiment for example The second actual information value is 2555.
May determine that the second actual information value whether not in the second actual information value and the second lower limit threshold In the range of the second interval that value is constituted, you can to judge whether the second actual information value is not more than the second lower limit threshold Value.
In the present embodiment, the second actual information value is more than the second calibration information value, it is clear that described second is actual The value of information is not in the range of the second interval.
In this case, can redefine from this 4 calibration information values and match with the second actual information value Calibration information value, the second actual information value is redefined in the present embodiment and is matched with the 3rd calibration information value.
The situation of change of the actual information value that can so continue to pay close attention to first object.For example described second At the 3rd moment after moment, the actual information value of first object is obtained again, now the actual information value It is worth for the 3rd actual information value, the 3rd actual information value is different from the second actual information value, in the present embodiment for example The 3rd actual information value is 2755.
May determine that the 3rd actual information value whether not in the 3rd actual information value and the 3rd sets of threshold values In the range of the 3rd interval of composition, you can whether to judge the 3rd actual information value not less than the 3rd upper limit threshold, Or whether the 3rd actual information value is not more than the 3rd lower threshold.
In the present embodiment, the 3rd actual information value is equal to the 3rd upper limit threshold, it is clear that the described second actual letter Breath value is not in the range of the second interval, then can generate first replacement instruction.Replaced by performing described first Instruction, can by each first object in predetermined quantity the first object replace with the i-th threshold group wherein The second object that one threshold value matches.
Wherein in the present embodiment, it is that the 3rd calibration information value is provided with the 3rd predetermined quantity, the 3rd predetermined number Measure as 10, then each first object in 10 the first objects can be replaced with and wherein in the i-th threshold group The second object that individual threshold value matches.
Wherein, the quantity of first object may not only 10, such as the total number of described first object may have 30, but because being provided with the 3rd predetermined quantity for the 3rd calibration information, then just only replace when being replaced 10 the first objects in 30 the first objects.
Wherein, object replacement method in the embodiment of the present invention can both be used in forward market and buy in operating process, Selling in operating process for forward market can also be used in.
Object alternative in the embodiment of the present invention is introduced below in conjunction with accompanying drawing specifically.
Embodiment two
Fig. 3 is referred to, the embodiment of the present invention provides a kind of object alternative, and described device can determine mould including first Block 301, setup module 302, the second determining module 303, generation module 304 and performing module 305.
Preferably, in another embodiment of the present invention, described device can also include judge module 306.
First determining module 301 may be used for the first object and determine M calibration information value, and M is whole more than or equal to 1 Number.
It is the integer from 1 to M that setup module 302 can be used for taking i values successively, is i-th in the M calibration information value Individual calibration information value sets i-th threshold group, when i is M, obtains M sets of threshold values.
Setup module 302 specifically may be used for i-th calibration information value setting i-th in the M calibration information value Individual sets of threshold values, wherein, the i-th threshold group includes i-th upper limit threshold and/or i-th lower threshold.
Second determining module 303 can be used for obtaining the actual letter that its value of first object is the first actual information value Breath value, and determine that the first actual information value is matched with i-th calibration information value in the M calibration information value.
Second determining module 303 is specifically determined for the first actual information value with i-th calibration information Value is identical, or determines the absolute value of the difference between the first actual information value and i-th calibration information value default In difference range.
Generation module 304 can be used for being changed into from the first actual information value when the actual information value of first object The second actual information value different from the first actual information value, and when the second actual information value is not at described i-th When in the i-th interval range that calibration information value and corresponding i-th threshold group are constituted, the first replacement instruction is generated.
Performing module 305 can be used for performing first replacement instruction, will be every in the first object of predetermined quantity Individual first object replaces with the second object matched with the one of threshold value in the i-th threshold group.
Performing module 305 specifically can be used for performing first replacement instruction, by the first object of predetermined quantity Each first object replace with second object with the equal target of first threshold value.
In the embodiment of the present invention, when only including i-th in the i-th threshold group set for i-th calibration information value During upper limit threshold, i-th interval range is specially structure between i-th calibration information value and i-th upper limit threshold Into scope;Or when i-th lower threshold is only included in the i-th threshold group set for i-th calibration information value, institute State the i-th interval range and be specially the scope constituted between i-th calibration information value and i-th lower threshold;Or work as When the i-th threshold group set for i-th calibration information value includes i-th upper limit threshold and i-th lower threshold, institute State the i-th interval range and be specially the first subinterval constituted between i-th calibration information value and i-th upper limit threshold The the second subinterval scope constituted between scope and the i-th calibration information value and i-th lower threshold.
In the embodiment of the present invention, when only including institute in the i-th threshold group set for i-th calibration information value When stating i-th upper limit threshold, judge module 306 can be used for:Judge the second actual information value whether not less than described i-th Individual upper limit threshold;Wherein, when the second actual information value is not less than i-th upper limit threshold, determine that described second is real The border value of information is not in i-th interval range.
In the embodiment of the present invention, when only including institute in the i-th threshold group set for i-th calibration information value When stating i-th lower threshold, judge module 306 can be used for:Judge whether the second actual information value is not more than described i-th Individual lower threshold;Wherein, when the second actual information value is not more than i-th lower threshold, determine that described second is real The border value of information is not in i-th interval range.
In the embodiment of the present invention, judge module 306 can include the first judging submodule and the second judging submodule.
When the i-th threshold group set for i-th calibration information value is included under i-th upper limit threshold and i-th During limit threshold value, whether first judging submodule can be used for judging the second actual information value not less than the upper limit threshold Value.
When the i-th threshold group set for i-th calibration information value is included under i-th upper limit threshold and i-th During limit threshold value, second judging submodule can be used for when the second actual information value is not less than the upper limit threshold, Determine the second actual information value not in i-th interval range;When the second actual information value is less than the upper limit During threshold value, judge whether the second actual information value is not more than the lower threshold.Wherein, when the second actual information value No more than the lower threshold when, determine the second actual information value not in i-th interval range.
Object replacement method in the embodiment of the present invention can include:M calibration information value is determined for the first object, M is Integer more than or equal to 1;It is the integer from 1 to M to take i values successively, is i-th calibration information in the M calibration information value Value setting i-th threshold group, when i is M, obtains M sets of threshold values;The first actual information value of first object is obtained, and Determine that the first actual information value is matched with i-th calibration information value in the M calibration information value;When described first The actual information value of object is changed into the second actual letter different from the first actual information value from the first actual information value Breath value, and when the second actual information value is not constituted in i-th calibration information value and corresponding i-th threshold group The i-th interval range in when, generate the first replacement instruction;First replacement instruction is performed, predetermined quantity is individual first pair The first object of each as in replaces with the second object matched with the one of threshold value in the i-th threshold group.
In the embodiment of the present invention, the M calibration information value can be determined for first object, it is possible to for the M Each calibration information value in individual calibration information value arranges a sets of threshold values, when first reality for obtaining first object During the value of information, which the calibration information value phase in the first actual information value and the M calibration information value can be first determined Matching, if for example described first actual information value is matched with i-th calibration information value in the M calibration information value, Then, when the actual information value of first object is after the first actual information value is changed into the second actual information value, can To judge the second actual information value whether not in i-th calibration information value and corresponding i-th threshold group structure Into the i-th interval range in, if the second actual information value is not in i-th interval range, can be by predetermined number Amount first object is replaced, can by wherein each first object replace with the i-th threshold group wherein The second object that one threshold value matches.
For example, for first object, be which sets multiple possible setting prices, and valency set for each Lattice are provided with a sets of threshold values.The real price of first object can be obtained afterwards, and first for for example once obtaining is actual Price with first setting price match, then, if real price there occurs variations, by first real price change in order to Second real price, it can be determined that whether the second real price is in the first setting price and the area of corresponding sets of threshold values composition Between in the range of, each first object in predetermined quantity the first object is replaced if not, being assured that, can So that first object is replaced with the second object matched with the one of threshold value in sets of threshold values.So, equipment can be with Automatically decide whether to carry out according to setting and current price movement place an order and wait operation, without the need for the intervention that user is excessive, use Family is followed up at any time without the need for oneself, all be all set after be automatically performed by equipment.Therefore, user is set without refreshing at any time Standby, for equipment without the need for responding user at any time operation, hence it is evident that alleviate burden, and reduce response times, significantly reduce The mistake responsiveness of equipment, also reduces the fault rate of equipment to a certain extent.And this technical scheme is adopted, decrease The workload of user, it is user-friendly, improve Consumer's Experience.
After using the technical scheme in the embodiment of the present invention, allow user described by what is provided in the embodiment of the present invention Object alternative is automatically performed the setting of anticipation, allows user that their thought is realized more rapidly and accurately, it is to avoid manual operation Error or delay.Technical scheme in the embodiment of the present invention can automatically complete the demand that user expects equipment response, And delay when user is interacted with equipment and fault rate can be reduced, make up manual disappearance.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each function The division of module is illustrated, and in practical application, can distribute above-mentioned functions by different function moulds as desired Block is completed, will the internal structure of device be divided into different functional modules, to complete all or part of work(described above Energy.The specific work process of the equipment of foregoing description, device and unit, may be referred to corresponding in preceding method embodiment Journey, will not be described here.
In several embodiments provided herein, it should be understood that disclosed equipment, apparatus and method can be with Realize by another way.For example, device embodiment described above be only it is schematic, for example, the module or The division of unit, only a kind of division of logic function can have other dividing mode, such as multiple units when actually realizing Or component can with reference to or be desirably integrated into another equipment, or some features can be ignored, or not perform.It is another, institute The coupling each other for showing or discussing or direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the application each The all or part of step of embodiment methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The above, above example is only described in detail to the technical scheme to the application, but is implemented above The explanation of example is only intended to help and understands the method for the present invention and its core concept, should not be construed as limiting the invention.This Those skilled in the art the invention discloses technical scope in, the change or replacement that can be readily occurred in should all be covered Within protection scope of the present invention.

Claims (16)

1. a kind of object replacement method, it is characterised in that the method comprising the steps of:
M calibration information value is determined for the first object, M is the integer more than or equal to 1;
It is the integer from 1 to M to take i values successively, is that i-th calibration information value in the M calibration information value sets i-th threshold Value group, when i is M, obtains M sets of threshold values;
Its value for obtaining first object is the actual information value of the first actual information value, and determines first actual information Value is matched with i-th calibration information value in the M calibration information value;
When the actual information value of first object is changed into the first actual information value not from the first actual information value With the second actual information value, and when the second actual information value is not in i-th calibration information value and corresponding When in the i-th interval range that i-th threshold group is constituted, the first replacement instruction is generated;
First replacement instruction is performed, each first object in predetermined quantity the first object is replaced with and described the The second object that one of threshold value in i sets of threshold values matches.
2. the method for claim 1, it is characterised in that for i-th calibration information value in the M calibration information value The step of setting i-th threshold group, includes:For i-th calibration information value setting i-th threshold in the M calibration information value Group, wherein, the i-th threshold group includes i-th upper limit threshold and/or i-th lower threshold.
3. method as claimed in claim 2, it is characterised in that:
When i-th upper limit threshold is only included in the i-th threshold group set for i-th calibration information value, i-thth area Between scope be specially the scope that constitutes between i-th calibration information value and i-th upper limit threshold;Or
When i-th lower threshold is only included in the i-th threshold group set for i-th calibration information value, i-thth area Between scope be specially the scope that constitutes between i-th calibration information value and i-th lower threshold;Or
When the i-th threshold group set for i-th calibration information value includes i-th upper limit threshold and i-th lower limit threshold During value, i-th interval range is specially the constituted between i-th calibration information value and i-th upper limit threshold The the second subinterval scope constituted between one subinterval scope and the i-th calibration information value and i-th lower threshold.
4. method as claimed in claim 3, it is characterised in that when described i-th set for i-th calibration information value When only including i-th upper limit threshold in sets of threshold values, judge the second actual information value not in i-th calibration information The step in the i-th interval range that value and corresponding i-th threshold group are constituted includes:Judge the second actual information value Whether i-th upper limit threshold is not less than;Wherein, when the second actual information value is not less than i-th upper limit threshold When, determine the second actual information value not in i-th interval range.
5. method as claimed in claim 3, it is characterised in that when described i-th set for i-th calibration information value When only including i-th lower threshold in sets of threshold values, judge the actual information value not in i-th calibration information value and The step in the i-th interval range that corresponding i-th threshold group is constituted includes:Whether judge the second actual information value No more than described i-th lower threshold;Wherein, when the second actual information value is not more than i-th lower threshold, really The fixed second actual information value is not in i-th interval range.
6. method as claimed in claim 3, it is characterised in that when the i-th threshold set for i-th calibration information value When group includes i-th upper limit threshold and i-th lower threshold, judge that the second actual information value is not marked at described i-th The step determined in the i-th interval range that the value of information and corresponding i-th threshold group are constituted includes:
Judge the second actual information value whether not less than the upper limit threshold;
When the second actual information value is not less than the upper limit threshold, determine the second actual information value not described the In i interval ranges;When the second actual information value is less than the upper limit threshold, whether the second actual information value is judged No more than described lower threshold;
Wherein, when the second actual information value is not more than the lower threshold, determine that the second actual information value does not exist In i-th interval range.
7. the method for claim 1, it is characterised in that if the i-th threshold group only includes i-th upper limit threshold Value, it is described to perform first replacement instruction, each first object in the first object of predetermined quantity is replaced with and institute The step of stating the second object that the one of threshold value in i-th threshold group matches includes:First replacement instruction is performed, So that each first object in predetermined quantity the first object is replaced with matched with i-th upper limit threshold described the Two objects;Or
If the i-th threshold group only includes i-th lower threshold, the execution first replacement instruction will be predetermined Each first object in quantity the first object is replaced with and is matched with the one of threshold value in the i-th threshold group The step of second object, includes:First replacement instruction is performed, by each first pair in the first object of predetermined quantity As replacing with second object matched with i-th lower threshold;Or
If the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, and if the described second actual letter Breath value is no less than i-th upper limit threshold, the execution first replacement instruction, by the first object of predetermined quantity In each first object the step of replace with the second object matched with the one of threshold value in the i-th threshold group Including:First replacement instruction is performed, each first object in the first object of predetermined quantity is replaced with and described i-th Second object that individual upper limit threshold matches;Or
If the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, and if the described second actual letter Breath value is no more than i-th lower threshold, the execution first replacement instruction, by the first object of predetermined quantity In each first object the step of replace with the second object matched with the one of threshold value in the i-th threshold group Including:First replacement instruction is performed, each first object in the first object of predetermined quantity is replaced with and described i-th Second object that individual lower threshold matches.
8. the method for claim 1, it is characterised in that determine that the first actual information value demarcates letter with described M The step of i-th calibration information value in breath value matches includes:Determine that the first actual information value is demarcated with described i-th The value of information is identical, or determines that the absolute value of the difference between the first actual information value and i-th calibration information value exists In the range of preset difference value.
9. a kind of object alternative, it is characterised in that described device includes:
First determining module, for determining M calibration information value for the first object, M is the integer more than or equal to 1;
Setup module, is the integer from 1 to M for taking i values successively, is i-th calibration information in the M calibration information value Value setting i-th threshold group, when i is M, obtains M sets of threshold values;
Second determining module, its value for obtaining first object are the actual information value of the first actual information value, and really The fixed first actual information value is matched with i-th calibration information value in the M calibration information value;
Generation module, is changed into and described first from the first actual information value for the actual information value when first object The second different actual information value of actual information value, and when the second actual information value is not in i-th calibration information value When in the i-th interval range constituted with corresponding i-th threshold group, the first replacement instruction is generated;
Performing module, for performing first replacement instruction, by each first object in the first object of predetermined quantity Replace with the second object matched with the one of threshold value in the i-th threshold group.
10. device as claimed in claim 9, it is characterised in that the setup module specifically for:Letter is demarcated for described M I-th calibration information value setting i-th threshold group in breath value, wherein, the i-th threshold group includes i-th upper limit threshold And/or i-th lower threshold.
11. devices as claimed in claim 10, it is characterised in that when i-th threshold set for i-th calibration information value When only including i-th upper limit threshold in value group, i-th interval range is specially i-th calibration information value and described i-th The scope constituted between individual upper limit threshold;Or
When i-th lower threshold is only included in the i-th threshold group set for i-th calibration information value, i-thth area Between scope be specially the scope that constitutes between i-th calibration information value and i-th lower threshold;Or
When the i-th threshold group set for i-th calibration information value includes i-th upper limit threshold and i-th lower limit threshold During value, i-th interval range is specially the constituted between i-th calibration information value and i-th upper limit threshold The the second subinterval scope constituted between one subinterval scope and the i-th calibration information value and i-th lower threshold.
12. devices as claimed in claim 11, it is characterised in that described device also includes judge module, when for described i-th When only including i-th upper limit threshold in the i-th threshold group of calibration information value setting, the judge module is used for: Judge the second actual information value whether not less than i-th upper limit threshold;Wherein, when the second actual information value not During less than i-th upper limit threshold, determine the second actual information value not in i-th interval range.
13. devices as claimed in claim 11, it is characterised in that described device also includes judge module, when for described i-th When only including i-th lower threshold in the i-th threshold group of calibration information value setting, the judge module is used for: Judge whether the second actual information value is not more than i-th lower threshold;Wherein, when the second actual information value not During more than i-th lower threshold, determine the second actual information value not in i-th interval range.
14. devices as claimed in claim 11, it is characterised in that described device also includes judge module, the judge module Including the first judging submodule and the second judging submodule, when in the i-th threshold group set for i-th calibration information value During including i-th upper limit threshold and i-th lower threshold, first judging submodule is used to judge second actual information Whether value is not less than the upper limit threshold;
Second judging submodule is for when the second actual information value is not less than the upper limit threshold, determining described the Two actual information values are not in i-th interval range;When the second actual information value is less than the upper limit threshold, judge Whether the second actual information value is not more than the lower threshold;
Wherein, when the second actual information value is not more than the lower threshold, determine that the second actual information value does not exist In i-th interval range.
15. devices as claimed in claim 9, it is characterised in that the performing module specifically for:
If the i-th threshold group only includes i-th upper limit threshold, first replacement instruction is performed, by predetermined quantity Each first object in individual first object replaces with second object matched with i-th upper limit threshold;Or
If the i-th threshold group only includes i-th lower threshold, first replacement instruction is performed, by predetermined quantity Each first object in individual first object replaces with second object matched with i-th lower threshold;Or
If the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, and if the described second actual letter Breath value is no less than i-th upper limit threshold, performs first replacement instruction, will be every in the first object of predetermined quantity Individual first object replaces with second object matched with i-th upper limit threshold;Or
If the i-th threshold group includes i-th upper limit threshold and i-th lower threshold, and if the described second actual letter Breath value is no more than i-th lower threshold, performs first replacement instruction, will be every in the first object of predetermined quantity Individual first object replaces with second object matched with i-th lower threshold.
16. devices as claimed in claim 9, it is characterised in that second determining module specifically for:Determine described first Actual information value is identical with i-th calibration information value, or determines that the first actual information value demarcates letter with described i-th The absolute value of the difference between breath value is in the range of preset difference value.
CN201310188756.9A 2013-05-20 2013-05-20 Object replacing method and device Expired - Fee Related CN103325059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310188756.9A CN103325059B (en) 2013-05-20 2013-05-20 Object replacing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310188756.9A CN103325059B (en) 2013-05-20 2013-05-20 Object replacing method and device

Publications (2)

Publication Number Publication Date
CN103325059A CN103325059A (en) 2013-09-25
CN103325059B true CN103325059B (en) 2017-04-12

Family

ID=49193783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310188756.9A Expired - Fee Related CN103325059B (en) 2013-05-20 2013-05-20 Object replacing method and device

Country Status (1)

Country Link
CN (1) CN103325059B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016524141A (en) * 2013-05-24 2016-08-12 ライフ テクノロジーズ コーポレーション Method and system for detecting consumables in a system
CN111624302B (en) * 2020-04-30 2023-07-28 汉威科技集团股份有限公司 Automatic calibration method, gas detection device, terminal and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8069106B2 (en) * 2000-06-01 2011-11-29 Pipeline Financial Group, Inc. Block trading system and method providing price improvement to aggressive orders
US7908570B2 (en) * 2003-12-05 2011-03-15 Trading Technologies International, Inc. Method and system for displaying a cursor on a trading screen
US8386277B2 (en) * 2010-03-23 2013-02-26 United Parcel Service Of America, Inc. Systems and methods for identifying suspicious orders
CN102855588B (en) * 2011-06-29 2016-08-24 北京神州绿盟信息安全科技股份有限公司 Method for detection of transaction data, device and server

Also Published As

Publication number Publication date
CN103325059A (en) 2013-09-25

Similar Documents

Publication Publication Date Title
Clapp et al. Speculative Harvests: Financialization
Lee et al. Technological regimes, catching-up and leapfrogging: findings from the Korean industries
US20130304627A1 (en) Exchange order priority retention for electronic trading using automatic book updates
CN104036405B (en) A kind of processing method and processing device of virtual resource trading order form
CN106462795A (en) Systems and methods for allocating capital to trading strategies for big data trading in financial markets
AU2015207861A1 (en) Determination of implied orders in a trade matching system
CN106651097A (en) Data collection method, data collection device and data collection server based on crowd sourcing
US8521630B2 (en) Curve engine
CN107274023A (en) Flow of insuring generation method, insure request processing method and device and electronic equipment
CN107563890A (en) One B shareB class is intelligently thrown and cares for personal share concentration degree control method and system
CN107808261A (en) ACE decision-making stock analysis method and system
De Melo et al. Non-Tariff Measures: Scope and Overview
CN103325059B (en) Object replacing method and device
CN110008386A (en) A kind of data generation, processing, evaluation method, device, equipment and medium
TWI787846B (en) Investment transaction system
Chiarella et al. A reconsideration of the formal Minskyan analysis: microfundations, endogenous money and the public sector
JP3230597U (en) Strategy generation system for automatic evaluation and automatic trading
Bhanumurthy et al. Weather shocks and agricultural commodity prices in India
JP2002109226A (en) Derivative for enhancing operation efficiency in tokyo stock price index (topix) futures and its commercialization method
CN109684360A (en) A kind of smiling face's financial intelligent recommends resource Rapid matching to divide pond algorithm
Aasgård Coordinated hydropower bidding in the day-ahead and balancing market
CN109767331A (en) Count Tilly breath calculation control method, device, computer equipment and storage medium
WO2014196992A1 (en) Common order queue for multiple trading platforms
Gloria et al. China’s exchange rate regimes and their policy implications
Saracino Paul Mason: Postcapitalism: A Guide to Our Future

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: T8 SOFTWARE CONSULTING LTD.

Free format text: FORMER OWNER: ZHITOU CHINA HOLDINGS CO., LTD.

Effective date: 20140207

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20140207

Address after: Hongkong Chinese of Tung Chung Road No. 20 Citygate No. 1 building 504 room 5

Applicant after: T8 software consulting Ltd

Address before: Hongkong Chinese of Tung Chung Road No. 20 Citygate No. 1 building 504 room 5

Applicant before: Zhitou China Holdings Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170412

Termination date: 20190520