Summary of the invention
This specification one or more embodiment describes a kind of settlement of exchange method and apparatus, is able to ascend seller's experience, and
And improve timeliness.
In a first aspect, providing a kind of settlement of exchange method, method includes:
Current exchange rate when each exchange rate update cycle of reception timing push starts;
When each exchange rate update cycle starts, for each settlement of exchange task, judge whether the current exchange rate meets the settlement of exchange
The corresponding settlement of exchange condition of task, the settlement of exchange condition includes at least exchange rate condition set by user and the exchange rate set by user is settled accounts
Time limit;The exchange rate condition includes the expectation conclusion of the business exchange rate set by user;It is described to judge whether the current exchange rate meets this
The corresponding settlement of exchange condition of settlement of exchange task, comprising:
Judge whether the current exchange rate is greater than or equal to the expectation conclusion of the business exchange rate;
If it is judged that the current exchange rate is greater than or equal to the corresponding expectation conclusion of the business exchange rate of the settlement of exchange task, it is determined that current to converge
Rate meets the corresponding settlement of exchange condition of the settlement of exchange task;
If it is judged that the current exchange rate is less than the expectation conclusion of the business exchange rate, then the hair at current time Yu the settlement of exchange task is judged
Play the preset ratio whether time interval between the moment is greater than or equal to the time limit;
If it is judged that the time interval is less than the preset ratio of the corresponding time limit of settlement of exchange task, it is determined that when
The preceding exchange rate is unsatisfactory for the corresponding settlement of exchange condition of the settlement of exchange task;
If it is judged that the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, then the settlement of exchange task is reported and submitted.
In a kind of possible embodiment, when each exchange rate update cycle starts, for each settlement of exchange task, judgement
Before whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, the method also includes:
The configuration information that user establishes settlement of exchange task is received, the configuration information includes exchange rate data, the exchange rate data
Including at least one in the expectation conclusion of the business exchange rate, the worst conclusion of the business exchange rate, the settlement of exchange amount of money and time limit;
According to the configuration information, the settlement of exchange condition is constructed.
Further, described according to the configuration information, before constructing the settlement of exchange condition, the method also includes:
Judge whether to meet the expectation conclusion of the business exchange rate greater than the worst conclusion of the business exchange rate and it is expected the conclusion of the business exchange rate and
The ratio of the history averagely conclusion of the business exchange rate is less than default value;
If it is judged that meeting the expectation conclusion of the business exchange rate greater than the worst conclusion of the business exchange rate and the expectation conclusion of the business exchange rate
It is less than default value with the ratio of the history averagely conclusion of the business exchange rate, then executes described according to the configuration information, constructs the settlement of exchange
Condition.
It is described to judge whether the current exchange rate meets the corresponding settlement of exchange item of the settlement of exchange task in a kind of possible embodiment
Before part, the method also includes:
When each exchange rate update cycle starts, for each settlement of exchange task, current time and the settlement of exchange task are judged
Whether the time interval initiated between the moment is greater than or equal to the corresponding time limit of settlement of exchange task;
If it is judged that the time interval is less than the corresponding time limit of settlement of exchange task, then whether the current exchange rate is judged
Meet the corresponding settlement of exchange condition of the settlement of exchange task.
In a kind of possible embodiment, the exchange rate condition further includes the worst conclusion of the business exchange rate set by user, described
Judge whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, further includes:
If it is judged that the time interval is greater than or equal to the preset ratio of the time limit, then the current exchange rate is judged
Whether the worst conclusion of the business exchange rate is greater than or equal to;
If it is judged that the current exchange rate is greater than or equal to the corresponding worst conclusion of the business exchange rate of the settlement of exchange task, it is determined that current to converge
Rate meets the corresponding settlement of exchange condition of the settlement of exchange task.
It is further, described to judge whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, further includes:
If it is judged that the current exchange rate is less than the corresponding worst conclusion of the business exchange rate of the settlement of exchange task, it is determined that the current exchange rate is discontented
The corresponding settlement of exchange condition of the foot settlement of exchange task.
Second aspect, provides a kind of settlement of exchange device, and device includes:
First receiving unit, current exchange rate when each exchange rate update cycle for receiving timing push starts;
Judging unit, for for each settlement of exchange task, judging that the current exchange rate is when each exchange rate update cycle starts
No to meet the corresponding settlement of exchange condition of the settlement of exchange task, the settlement of exchange condition includes at least exchange rate condition set by user and user sets
The time limit of fixed exchange rate clearing;The exchange rate condition includes the expectation conclusion of the business exchange rate set by user;The judgement is current to converge
Whether rate meets the corresponding settlement of exchange condition of the settlement of exchange task, comprising: judge the current exchange rate whether be greater than or equal to it is described expectation at
Cross rate;If it is judged that the current exchange rate is greater than or equal to the corresponding expectation conclusion of the business exchange rate of the settlement of exchange task, it is determined that current to converge
Rate meets the corresponding settlement of exchange condition of the settlement of exchange task;If it is judged that the current exchange rate is less than the expectation conclusion of the business exchange rate, then judge
Whether the time interval between current time and the initiation moment of the settlement of exchange task is greater than or equal to the default of the time limit
Ratio;If it is judged that the time interval is less than the preset ratio of the corresponding time limit of settlement of exchange task, it is determined that current
The exchange rate is unsatisfactory for the corresponding settlement of exchange condition of the settlement of exchange task;
Unit is reported and submitted, if judging that the current exchange rate meets the corresponding settlement of exchange item of the settlement of exchange task for the judging unit
Part then reports and submits the settlement of exchange task.
The third aspect provides a kind of computer readable storage medium, is stored thereon with computer program, when the calculating
When machine program executes in a computer, enable computer execute first aspect method.
Fourth aspect provides a kind of calculating equipment, including memory and processor, and being stored in the memory can hold
Line code, when the processor executes the executable code, the method for realizing first aspect.
The method and apparatus provided by this specification embodiment can be preset settlement of exchange task and settlement of exchange item by user
Part, first against each settlement of exchange task, judges whether the current exchange rate meets the settlement of exchange and appoint when each exchange rate update cycle starts
It is engaged in corresponding settlement of exchange condition, the settlement of exchange condition includes at least exchange rate condition set by user and the exchange rate set by user settles accounts
Time limit, exchange rate condition include the expectation conclusion of the business exchange rate set by user, are judging whether the current exchange rate meets the settlement of exchange task
When corresponding settlement of exchange condition, not only to consider that exchange rate condition also contemplates time limit, thus in the optimal settlement of exchange exchange rate and settlement of exchange
Reach balance between deadline, then if it is judged that the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, then reports
Give the settlement of exchange task.In this specification embodiment, seller need to only preset settlement of exchange task and settlement of exchange condition, be sentenced automatically by device
Whether the current exchange rate of breaking meets the corresponding settlement of exchange condition of settlement of exchange task, and is judging that it is corresponding that the current exchange rate meets the settlement of exchange task
Settlement of exchange condition when, report and submit the settlement of exchange task automatically, therefore seller need not perceive the settlement of exchange that the change of the exchange rate can be got well
Opportunity is able to ascend seller's experience.And when each exchange rate update cycle starts with regard to carrying out above-mentioned judgement automatically, and meeting
The settlement of exchange task is reported and submitted after corresponding conditions, avoids reporting and submitting the settlement of exchange task to cause to report and submit again at the end of the exchange rate update cycle is fast
When the expired situation of the exchange rate, to improve timeliness.
Specific embodiment
With reference to the accompanying drawing, the scheme provided this specification is described.
Fig. 1 is the implement scene schematic diagram of one embodiment that this specification discloses.As shown in Figure 1, seller is using cross-border
The settlement of exchange service that electric business platform 11 provides is settled the exchange.12 timing (such as every 2 hours) of foreign exchange mechanism uploads new settlement of exchange and converges
To financial exchange center (f l uxnet) 113, financial exchange center 113 parses foreign exchange mechanism 12 and pushes the exchange rate number to come rate
According to internal standard exchange rate data format, and the exchange rate data for having resolved to internal standard exchange rate data format is pushed to the exchange rate
Center (i exchange) 112, exchange rate center 112, which lands exchange rate data and is sent to new exchange rate information in form of a message, to be turned
Account center (itranstercenter) 111.Center 111 of transferring accounts carries out the settlement of exchange application information of the new exchange rate and seller in the early time pair
Than carrying out settlement of exchange and reporting and submitting if the two matches.
It should be noted that above-mentioned implement scene is only a kind of possible of the settlement of exchange method that this specification embodiment provides
Implement scene is not intended as the restriction to this specification embodiment implement scene.For example, the settlement of exchange method can be used for cross-border electricity
The settlement of exchange service that quotient's platform 11 provides can be used for the settlement of exchange service that other kinds of transaction platform provides.In another example cross-border
Organization inside electric business platform 11 may include the center of transferring accounts 111, exchange rate center 112 and financial exchange center 113, but simultaneously
It is not limited to this.
Based on implement scene shown in FIG. 1, in one example, settlement of exchange method can be completed mainly by the center of transferring accounts 111.
Fig. 2 shows the settlement of exchange method flow diagram according to one embodiment, the executing subject of this method can be shown in FIG. 1
It transfers accounts center 111.As shown in Fig. 2, method of settling the exchange in the embodiment is the following steps are included: step 21, receives the every of timing push
Current exchange rate when a exchange rate update cycle starts;Step 22, when each exchange rate update cycle starts, appoint for each settlement of exchange
Business, judges whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, and the settlement of exchange condition is set including at least user
Exchange rate condition and the exchange rate set by user clearing time limit;The exchange rate condition includes expectation set by user at crossing
Rate;It is described to judge whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, comprising: to judge whether the current exchange rate is greater than
Or it is equal to the expectation conclusion of the business exchange rate;If it is judged that the current exchange rate is greater than or equal to the corresponding expectation of the settlement of exchange task at crossing
Rate, it is determined that the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task;If it is judged that the current exchange rate is less than the expectation
It is described then to judge whether the time interval between current time and the initiation moment of the settlement of exchange task is greater than or equal to for the conclusion of the business exchange rate
The preset ratio of time limit;If it is judged that the time interval is less than the default ratio of the corresponding time limit of settlement of exchange task
Example, it is determined that the current exchange rate is unsatisfactory for the corresponding settlement of exchange condition of the settlement of exchange task;Step 23, if it is judged that the current exchange rate meets
The corresponding settlement of exchange condition of the settlement of exchange task, then report and submit the settlement of exchange task.The specific executive mode of above each step is described below.
The current exchange rate first in step 21, when each exchange rate update cycle of reception timing push starts.It is understood that
, usual foreign exchange mechanism has the fixed exchange rate update cycle, for example, the exchange rate update cycle is 2 hours.This specification is implemented
In example, in step 21, the current exchange rate of each exchange rate update cycle of timing push when starting can receive.For example, current converge
Rate is 1 dollar=6.6353 RMB, or, 1 RMB=0.1507 dollar.
Then in step 22, when each exchange rate update cycle starts, for each settlement of exchange task, judge that the current exchange rate is
No to meet the corresponding settlement of exchange condition of the settlement of exchange task, the settlement of exchange condition includes at least exchange rate condition set by user and user sets
The time limit of fixed exchange rate clearing;The exchange rate condition includes the expectation conclusion of the business exchange rate set by user;The judgement is current to converge
Whether rate meets the corresponding settlement of exchange condition of the settlement of exchange task, comprising: judge the current exchange rate whether be greater than or equal to it is described expectation at
Cross rate;If it is judged that the current exchange rate is greater than or equal to the corresponding expectation conclusion of the business exchange rate of the settlement of exchange task, it is determined that current to converge
Rate meets the corresponding settlement of exchange condition of the settlement of exchange task;If it is judged that the current exchange rate is less than the expectation conclusion of the business exchange rate, then judge
Whether the time interval between current time and the initiation moment of the settlement of exchange task is greater than or equal to the default of the time limit
Ratio;If it is judged that the time interval is less than the preset ratio of the corresponding time limit of settlement of exchange task, it is determined that current
The exchange rate is unsatisfactory for the corresponding settlement of exchange condition of the settlement of exchange task.
Wherein, above-mentioned preset ratio for example can for half, four/it is third, do not do and have in this specification embodiment
Body limits.The example is by being added time conditions in settlement of exchange condition, to keep exchange rate matching more flexible.
Wherein, the mode for constructing the settlement of exchange condition is more flexible, for example, the exchange rate data includes expectation at crossing
Rate, can construct settlement of exchange condition is that the current exchange rate is greater than or equal to the desired conclusion of the business exchange rate;In another example the exchange rate data includes the phase
Hope the conclusion of the business exchange rate and the worst conclusion of the business exchange rate, can construct settlement of exchange condition is that the current exchange rate is greater than or equal to the phase in first time period
Hope the conclusion of the business exchange rate, or the current exchange rate is greater than or equal to the worst conclusion of the business exchange rate in second time period.
In one example, before step 22, the method also includes: receive user establish settlement of exchange task with confidence
Breath, the configuration information includes exchange rate data, and the exchange rate data includes the desired conclusion of the business exchange rate, the worst conclusion of the business exchange rate, settlement of exchange gold
At least one of in volume and time limit;According to the configuration information, the settlement of exchange condition is constructed.It is understood that above-mentioned
The settlement of exchange amount of money is the amount of money for the foreign currency that settlement of exchange task needs to exchange, for example, 10,000 dollars, above-mentioned time limit is settlement of exchange task
Effective time, for example, 2 days.
It, can be by the above-mentioned expectation conclusion of the business exchange rate of user's Freely input, the worst conclusion of the business exchange rate, settlement of exchange in this specification embodiment
It is one or more in the amount of money and time limit, the default value for using systemic presupposition can also be indicated according to user.
Further, described according to the configuration information, before constructing the settlement of exchange condition, the method can also be wrapped
It includes: judging whether to meet the expectation conclusion of the business exchange rate greater than the worst conclusion of the business exchange rate and the expectation conclusion of the business exchange rate and history are put down
The ratio of the conclusion of the business exchange rate is less than default value;If it is judged that meet the expectation conclusion of the business exchange rate be greater than it is described worst at crossing
The rate and ratio of the expectation conclusion of the business exchange rate and the history averagely conclusion of the business exchange rate is less than default value, then execute and described match according to
Confidence breath, constructs the settlement of exchange condition.That is, to user setting it is expected the numerical value of the conclusion of the business exchange rate and the worst conclusion of the business exchange rate into
Row limitation, to improve the success rate of settlement of exchange.
In one example, it is described judge whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task before, also
It include:, for each settlement of exchange task, to judge the initiation at current time Yu the settlement of exchange task when each exchange rate update cycle starts
Whether the time interval between the moment is greater than or equal to the corresponding time limit of settlement of exchange task;If it is judged that between the time
Every being less than the corresponding time limit of settlement of exchange task, then judge whether the current exchange rate meets the corresponding settlement of exchange item of the settlement of exchange task
Part.That is, setting the time limit of exchange rate clearing by user, guarantee to carry out exchange rate matching within time limit certain time,
More than fund can be discharged after the time limit, avoid settlement of exchange task execution time too long.
In one example, the exchange rate condition further includes the worst conclusion of the business exchange rate set by user, and the judgement is current to converge
Whether rate meets the corresponding settlement of exchange condition of the settlement of exchange task, further includes: if it is judged that the time interval is greater than or equal to institute
The preset ratio of time limit is stated, then judges whether the current exchange rate is greater than or equal to the worst conclusion of the business exchange rate;If it is judged that
The current exchange rate is greater than or equal to the corresponding worst conclusion of the business exchange rate of the settlement of exchange task, it is determined that the current exchange rate meets the settlement of exchange task pair
The settlement of exchange condition answered.The example is being more than to use lesser after a certain period of time by the way that time conditions are added in settlement of exchange condition
With the exchange rate to make settlement of exchange be easier success.
It is understood that the exchange rate is this customs boundary currency that the foreign currency of 1 monetary unit can be exchanged in aforementioned exemplary,
For example, 1 dollar of RMB that can be exchanged.
It is in one example, described to judge whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, further includes:
If it is judged that the current exchange rate is less than the corresponding worst conclusion of the business exchange rate of the settlement of exchange task, it is determined that the current exchange rate is unsatisfactory for the settlement of exchange
The corresponding settlement of exchange condition of task.
Finally in step 23, if it is judged that the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, then this is reported and submitted
Settlement of exchange task.It is understood that the step can be executed automatically by system, the instruction without user is operated, and user experience is good.
In one example, the method also includes:
If it is judged that the current exchange rate is unsatisfactory for the corresponding settlement of exchange condition of the settlement of exchange task, then next exchange rate is waited to update
Period starts.Since system can perceive the change of the exchange rate without user with the current exchange rate of Auto-matching each exchange rate update cycle
Change, user experience is good.
The method provided by this specification embodiment can be preset settlement of exchange task and settlement of exchange condition by user,
When each exchange rate update cycle starts, first against each settlement of exchange task, judge whether the current exchange rate meets the settlement of exchange task pair
The settlement of exchange condition answered, the settlement of exchange condition include at least the time that exchange rate condition set by user and the exchange rate set by user are settled accounts
Time limit, exchange rate condition include the expectation conclusion of the business exchange rate set by user, are judging it is corresponding whether the current exchange rate meets the settlement of exchange task
Settlement of exchange condition when, not only to consider that exchange rate condition also contemplates time limit, thus the optimal settlement of exchange exchange rate and settlement of exchange complete
Reach balance between time, then if it is judged that the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, then reports and submits this
Settlement of exchange task.In this specification embodiment, seller need to only preset settlement of exchange task and settlement of exchange condition, judged automatically and worked as by device
Whether the preceding exchange rate meets the corresponding settlement of exchange condition of settlement of exchange task, and is judging that the current exchange rate meets the corresponding knot of settlement of exchange task
When remittance condition, the settlement of exchange task is reported and submitted automatically, therefore seller need not perceive the settlement of exchange opportunity that the change of the exchange rate can be got well,
It is able to ascend seller's experience.And when each exchange rate update cycle starts with regard to carrying out above-mentioned judgement automatically, and it is corresponding meeting
The settlement of exchange task is reported and submitted after condition, avoids that the settlement of exchange task is reported and submitted to converge when causing to report and submit again at the end of the exchange rate update cycle is fast
The expired situation of rate, to improve timeliness.
With reference to the accompanying drawing to this specification embodiment provide settlement of exchange method carry out specifically, detailed description.
Fig. 3 is that the exchange rate data of one embodiment that this specification discloses obtains schematic diagram.As shown in figure 3, in step 31,
Foreign exchange mechanism timing (such as every 2 hours) uploads the new settlement of exchange exchange rate to financial exchange center;In step 32, financial exchange center
The parsing foreign exchange mechanism exchange rate data that comes of push is to internal standard exchange rate data format;In step 33, financial exchange center will
The exchange rate data parsed is pushed to exchange rate center;In step 34, the landing of exchange rate center (stores) exchange rate;In step 35, converge
New exchange rate information is sent to the center of transferring accounts by rate center in form of a message.To which the center of transferring accounts can be according to the new remittance received
Rate information executes aforementioned settlement of exchange method, for example, by the settlement of exchange application information (configuration for task of settling the exchange of the new exchange rate and seller in the early time
Information) it compares.
Fig. 4 is that the seller of one embodiment that this specification discloses submits settlement of exchange method flow diagram.As shown in figure 4, the party
Method includes:
Step 41, seller inputs the settlement of exchange amount of money.
For example, 10,000 dollars.
Step 42, judge whether seller's settlement of exchange amount of money checks to pass through.
For example, by judge seller settle the exchange the amount of money whether be less than account fund remaining sum determine whether check pass through.
If it is judged that seller settles the exchange, amount of money inspection passes through, and thens follow the steps 43;The amount of money inspection if it is judged that seller settles the exchange
It looks into and does not pass through, then follow the steps 47.
Step 43, seller inputs expectation the conclusion of the business exchange rate, the worst conclusion of the business exchange rate.
Wherein, it is expected that the conclusion of the business exchange rate refers to that the relatively relatively satisfactory exchange rate of seller, the worst conclusion of the business exchange rate refer to that seller is opposite
The dissatisfied but still acceptable exchange rate.
For example, it is desirable to 1 dollar=7.0 RMB of the exchange rate that strikes a bargain, worst 1 dollar=6.6 RMB of the conclusion of the business exchange rate.
Step 44, judge whether the exchange rate is reasonable according to the history conclusion of the business exchange rate.
For example, in order to avoid the exchange rate inputted due to seller is unreasonable and excessive impossible settlement of exchange of exceeding the time limit is caused to hand over
Easily, it will the expectation conclusion of the business exchange rate of seller's input and the worst conclusion of the business exchange rate are carried out with the settlement of exchange transaction exchange rate to have struck a bargain in history
Comparison, if it exceeds the history averagely conclusion of the business exchange rate 50%, then the exchange rate is unreasonable, averagely strikes a bargain the exchange rate if being less than history
50%, then the exchange rate is reasonable.
If it is judged that the exchange rate is reasonable, 45 are thened follow the steps;If it is judged that the exchange rate is unreasonable, 47 are thened follow the steps.
Step 45, seller's time limit input time.
Wherein, time limit refers to that seller wishes to complete the time limit that this foreign currency is traded to RMB settlement of exchange.
For example, 2 days.
Step 46, settlement of exchange task is fallen.
That is, the settlement of exchange trading card of seller's submission can be saved.
Step 47, terminate.
That is, this settlement of exchange transaction can be refused.
As shown in figure 4, seller will not perceive the current settlement of exchange exchange rate compared with original settlement of exchange mode, frequency is not needed yet
Numerous inquiry for entering settlement of exchange portal and carrying out the settlement of exchange exchange rate, seller only need the typing settlement of exchange amount of money on settlement of exchange portal (to need to tie
The foreign currency amount of remittance), it is expected that the conclusion of the business exchange rate, the worst conclusion of the business exchange rate and time limit, user experience are good.
Fig. 5 is the settlement of exchange method timing diagram of one embodiment that this specification discloses, which includes judging the exchange rate
Whether match, whether report and submit the process of settlement of exchange.As shown in figure 5, this method comprises:
Step 51, the new exchange rate is pushed to account transfer center by exchange rate center.
Step 52, the center of transferring accounts receives new exchange rate push, asynchronous to pick up the settlement of exchange task that seller submits in the early time.
Step 53, whether the center current exchange rate of matching of transferring accounts is better than it is expected the conclusion of the business exchange rate.
Step 54, if the center of transferring accounts determines that the current exchange rate is better than the expectation conclusion of the business exchange rate that seller submits, which is tied
Exchange rate center is given in report.
Step 55, the center current exchange rate of matching of transferring accounts whether is better than the worst conclusion of the business exchange rate and seller's agreement is already expired in current time
The half of time.
Step 56, if the center of transferring accounts determines the current exchange rate better than the worst conclusion of the business exchange rate and seller's agreement is already expired in current time
This settlement of exchange is then reported and submitted and gives exchange rate center by the half of time.
Step 57, the settlement of exchange task reported and submitted is landed at exchange rate center.
Step 58, this settlement of exchange is reported and submitted and gives financial exchange center by exchange rate center.
Step 59, this settlement of exchange is reported and submitted and gives foreign exchange mechanism by financial exchange center.
As shown in figure 5, seller does not need to give more sustained attention the changing tendency of foreign exchange rate, system will switch as the case may be
The trading strategies of settlement of exchange reach balance between the optimal settlement of exchange exchange rate and settlement of exchange deadline obtaining.
Fig. 6 is the settlement of exchange method flow diagram of one embodiment that this specification discloses, and the executing subject of the embodiment can be with
For cross-border electric business platform shown in FIG. 1.As shown in fig. 6, this method comprises:
Step 61, current settlement of exchange task parameters are obtained.
Step 62, judge whether settlement of exchange task is more than time limit designated time.
If it is judged that settlement of exchange task is more than the designated time, 63 are thened follow the steps;If it is judged that settlement of exchange task is less than
Designated time thens follow the steps 64.
Step 63, the fund of the release settlement of exchange amount of money.
Step 64, judge whether the current exchange rate is better than it is expected the conclusion of the business exchange rate.
If it is judged that the current exchange rate is better than the desired conclusion of the business exchange rate, 65 are thened follow the steps;If it is judged that the current exchange rate is not
Better than the desired conclusion of the business exchange rate, 66 are thened follow the steps.
Step 65, report and submit settlement of exchange to foreign exchange mechanism.
Step 66, judge current time whether be more than time limit designated time half.
If it is judged that current time has been more than the half in time limit designated time, 67 are thened follow the steps;If it is judged that working as
The preceding time is less than the half in time limit designated time, thens follow the steps 68.
Step 67, judge whether the current exchange rate is better than the worst conclusion of the business exchange rate.
If it is judged that the current exchange rate is better than the worst conclusion of the business exchange rate, 65 are thened follow the steps;If it is judged that the current exchange rate is not
Better than the worst conclusion of the business exchange rate, 68 are thened follow the steps.
Step 68, terminate.
Terminate herein there are two types of meaning, a kind of meaning is to terminate the settlement of exchange task, and another meaning is to wait next exchange rate
Update cycle continues to determine whether to report and submit settlement of exchange.In Fig. 6, do not distinguished in order to simple and clear, this will not be repeated here.
As shown in fig. 6, seller does not need to give more sustained attention the changing tendency of foreign exchange rate, system will switch as the case may be
The trading strategies of settlement of exchange reach balance between the optimal settlement of exchange exchange rate and settlement of exchange deadline obtaining.
This specification embodiment provides a kind of based on the matched cross-border electric business seller settlement of exchange method of the exchange rate.Support cross-border electricity
Quotient seller the input expectation conclusion of the business exchange rate, the worst conclusion of the business exchange rate, the settlement of exchange amount of money and time limit, system landing on settlement of exchange portal
Settlement of exchange task.When the new current exchange rate of foreign exchange mechanism push, whether the system meeting current exchange rate of Auto-matching meets the phase of seller
It hopes, the settlement of exchange task is reported and submitted with the current exchange rate to foreign exchange mechanism automatically if meeting and is settled the exchange, while in view of carrying out
The seller of settlement of exchange application usually has the demand of relatively urgent return of funds, when current time alreadys exceed time limit designated time
Half when, system can automatically switch exchange rate match pattern, matching of guaranteeing the minimum is switched to by Optimum Matching, when the current exchange rate is better than selling
When the worst conclusion of the business exchange rate of family's input, then automatically by the settlement of exchange task to settle the exchange when forward rate is reported and submitted to foreign exchange mechanism.This
The advantages of method is: (1) user does not have to frequently enter settlement of exchange portal, carries out exchange rate inquiry, when the new exchange rate arrives can automatically with use
The expection at family is compared;(2) it has taken into account seller and has wished to obtain the demand that preferably demand of the settlement of exchange exchange rate and fund flow back as early as possible,
Improve a possibility that seller makes a profit because of settlement of exchange Exchange Rate.
According to the embodiment of another aspect, a kind of settlement of exchange device is also provided.Fig. 7 is shown to be filled according to the settlement of exchange of one embodiment
The schematic block diagram set.As shown in fig. 7, the device 700 includes:
First receiving unit 71, current exchange rate when each exchange rate update cycle for receiving timing push starts;Sentence
Disconnected unit 72, for for each settlement of exchange task, judging that the first receiving unit 71 is received when each exchange rate update cycle starts
The current exchange rate whether meet the corresponding settlement of exchange condition of the settlement of exchange task, the settlement of exchange condition includes at least the exchange rate set by user
The time limit of condition and the exchange rate set by user clearing;The exchange rate condition includes the expectation conclusion of the business exchange rate set by user;Institute
It states and judges whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, comprising: judge whether the current exchange rate is greater than or waits
In the expectation conclusion of the business exchange rate;If it is judged that the current exchange rate is greater than or equal to the corresponding expectation conclusion of the business exchange rate of the settlement of exchange task,
Then determine that the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task;If it is judged that the current exchange rate strikes a bargain less than the expectation
The exchange rate, then judge whether the time interval between current time and the initiation moment of the settlement of exchange task is greater than or equal to the time
The preset ratio in time limit;If it is judged that the time interval is less than the preset ratio of the corresponding time limit of settlement of exchange task,
Then determine that the current exchange rate is unsatisfactory for the corresponding settlement of exchange condition of the settlement of exchange task;
Unit 73 is reported and submitted, if judging that the current exchange rate meets the corresponding knot of settlement of exchange task for the judging unit 71
Remittance condition then reports and submits the settlement of exchange task.
In one example, described device further include:
Second receiving unit, in the judging unit 72 when each exchange rate update cycle starts, for each knot
Remittance task before judging whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, receives user and establishes settlement of exchange task
Configuration information, the configuration information includes exchange rate data, and the exchange rate data includes the desired conclusion of the business exchange rate, worst at crossing
At least one of in rate, the settlement of exchange amount of money and time limit;
Construction unit, for constructing the settlement of exchange condition according to the received configuration information of the second receiving unit.
Further, the judging unit 72 is also used in the construction unit according to the configuration information, described in building
Before settlement of exchange condition, judges whether to meet the expectation conclusion of the business exchange rate greater than the worst conclusion of the business exchange rate and the expectation is at crossing
The ratio of rate and the history averagely conclusion of the business exchange rate is less than default value;If it is judged that meeting the expectation conclusion of the business exchange rate greater than described
The ratio of the worst conclusion of the business exchange rate and the expectation conclusion of the business exchange rate and the history averagely conclusion of the business exchange rate is less than default value, then described in instruction
Construction unit execution is described according to the configuration information, constructs the settlement of exchange condition.
In one example, the judging unit 72 is also used to judge whether the current exchange rate meets the settlement of exchange and appoint described
Be engaged in front of corresponding settlement of exchange condition, when each exchange rate update cycle starts, for each settlement of exchange task, judge current time with
Whether the time interval between the initiation moment of the settlement of exchange task is greater than or equal to the corresponding time limit of settlement of exchange task;If
Judge that the time interval is less than the corresponding time limit of settlement of exchange task, then judges whether the current exchange rate meets the settlement of exchange and appoint
It is engaged in corresponding settlement of exchange condition.
In one example, the exchange rate condition further includes the worst conclusion of the business exchange rate set by user;
The judging unit 72 is also used to if it is judged that the time interval is greater than or equal to the pre- of the time limit
If ratio, then judge whether the current exchange rate is greater than or equal to the worst conclusion of the business exchange rate;If it is judged that the current exchange rate be greater than or
The worst conclusion of the business exchange rate corresponding equal to the settlement of exchange task, it is determined that the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task.
Further, the judging unit 72 is also used to if it is judged that the current exchange rate is corresponding less than the settlement of exchange task
The worst conclusion of the business exchange rate, it is determined that the current exchange rate is unsatisfactory for the corresponding settlement of exchange condition of the settlement of exchange task.
The device provided by this specification embodiment can be preset settlement of exchange task and settlement of exchange condition by user,
When each exchange rate update cycle starts, each settlement of exchange task is directed to by judging unit 72 first, judges that receiving unit 71 is received
Whether the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, and the settlement of exchange condition includes at least exchange rate item set by user
The time limit of part and the exchange rate set by user clearing, exchange rate condition includes the expectation conclusion of the business exchange rate set by user, is worked as in judgement
When whether the preceding exchange rate meets the settlement of exchange task corresponding settlement of exchange condition, not only to consider that exchange rate condition also contemplates time limit,
To reach balance between the optimal settlement of exchange exchange rate and settlement of exchange deadline, then if it is determined that unit 72 judges the current exchange rate
Meet the corresponding settlement of exchange condition of the settlement of exchange task, then by reporting and submitting unit 73 to report and submit the settlement of exchange task.In this specification embodiment, sell
Family only need to preset settlement of exchange task and settlement of exchange condition, and judging automatically the current exchange rate by device, whether to meet settlement of exchange task corresponding
Settlement of exchange condition, and when judging that the current exchange rate meets the corresponding settlement of exchange condition of the settlement of exchange task, the settlement of exchange task is reported and submitted automatically,
Therefore seller need not perceive the settlement of exchange opportunity that the change of the exchange rate can be got well, and be able to ascend seller's experience.And each
With regard to carrying out above-mentioned judgement automatically when the exchange rate update cycle starts, and the settlement of exchange task is reported and submitted after meeting corresponding conditions, avoid
To the exchange rate update cycle it is fast at the end of report and submit the settlement of exchange task to cause to report and submit again when the expired situation of the exchange rate, to improve timeliness
Property.
According to the embodiment of another aspect, a kind of computer readable storage medium is also provided, is stored thereon with computer journey
Sequence enables computer execute and combines method described in Fig. 2 to Fig. 6 when the computer program executes in a computer.
According to the embodiment of another further aspect, a kind of calculating equipment, including memory and processor, the memory are also provided
In be stored with executable code, when the processor executes the executable code, realize the method in conjunction with described in Fig. 2 to Fig. 6.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described in the invention
It can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these functions
Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all any modification, equivalent substitution, improvement and etc. on the basis of technical solution of the present invention, done should all
Including within protection scope of the present invention.