CN117078417A - Transaction data adjustment method, device, equipment and storage medium - Google Patents
Transaction data adjustment method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117078417A CN117078417A CN202311059435.9A CN202311059435A CN117078417A CN 117078417 A CN117078417 A CN 117078417A CN 202311059435 A CN202311059435 A CN 202311059435A CN 117078417 A CN117078417 A CN 117078417A
- Authority
- CN
- China
- Prior art keywords
- transaction
- reference value
- value
- exposure
- adjustment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 230000004044 response Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 abstract description 48
- 238000005516 engineering process Methods 0.000 abstract description 8
- 230000015654 memory Effects 0.000 description 20
- 230000008569 process Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000012795 verification Methods 0.000 description 7
- WURBVZBTWMNKQT-UHFFFAOYSA-N 1-(4-chlorophenoxy)-3,3-dimethyl-1-(1,2,4-triazol-1-yl)butan-2-one Chemical compound C1=NC=NN1C(C(=O)C(C)(C)C)OC1=CC=C(Cl)C=C1 WURBVZBTWMNKQT-UHFFFAOYSA-N 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002688 persistence Effects 0.000 description 2
- 238000012512 characterization method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The disclosure provides a transaction data adjustment method, device, equipment and storage medium, which can be applied to the technical field of data processing or the technical field of finance and technology. The method comprises the following steps: receiving a transaction message, wherein the transaction message comprises transaction data; based on the configured exposure adjustment parameters, acquiring a transaction exposure value and a transaction reference value at the current moment from transaction data, wherein the transaction exposure value represents the transaction risk degree caused when the transaction is carried out based on the transaction reference value, and the configured exposure adjustment parameters comprise a point difference adjustment value; under the condition that the transaction exposure value exceeds a preset exposure threshold value, calculating the interval duration between the adjustment time for last adjusting the transaction reference value and the current time; and under the condition that the interval duration exceeds a preset duration threshold, automatically adjusting the transaction reference value based on the point difference adjustment value so that the transaction exposure value obtained by carrying out the transaction based on the adjusted transaction reference value is smaller than the preset exposure threshold.
Description
Technical Field
The present disclosure relates to the field of data processing technology or financial technology, and in particular, to a transaction data adjustment method, apparatus, device, storage medium, and program product.
Background
As economies continue to develop, the demand for foreign exchange transactions is increasing. In a foreign exchange transaction, an imbalance in the balance of the foreign exchange may result in an open foreign exchange. The foreign exchange opening generally refers to the difference formed by the discrepancy between the multi-head position and the empty position of a certain currency of a financial institution in a time period, and can represent the transaction risk degree caused by exchange rate variation.
In the process of implementing the inventive concept of the present disclosure, the inventor found that the following problems generally exist in the related art: in the foreign exchange transaction, the point difference of the foreign exchange transaction is adjusted, and then the transaction reference value of the foreign exchange transaction is adjusted, so that a large number of foreign exchange openings can be avoided, but the problems of low efficiency and low intelligent degree exist in the mode of adjusting transaction data in the related technology.
Disclosure of Invention
In view of the foregoing, the present disclosure provides transaction data adjustment methods, apparatuses, devices, storage media, and program products.
One aspect of the present disclosure provides a transaction data adjustment method, including: receiving a transaction message, wherein the transaction message comprises transaction data; acquiring a transaction exposure value and a transaction reference value at the current moment from the transaction data based on configured exposure adjustment parameters, wherein the transaction exposure value represents the transaction risk degree caused when the transaction is performed based on the transaction reference value, and the configured exposure adjustment parameters comprise a point difference adjustment value; calculating the interval duration between the adjustment time for last adjustment of the transaction reference value and the current time under the condition that the transaction exposure value exceeds a preset exposure threshold value; and under the condition that the interval duration exceeds a preset duration threshold, automatically adjusting the transaction reference value based on the point difference adjustment value so that a transaction exposure value obtained by carrying out transaction based on the adjusted transaction reference value is smaller than the preset exposure threshold.
According to an embodiment of the present disclosure, the above method further includes: after receiving the transaction message and before acquiring the transaction exposure value and the transaction reference value at the current moment from the transaction data based on the configured exposure adjustment parameters, the following operations are executed: monitoring whether a component for automatically adjusting a transaction reference value is in an on state; inquiring whether the exposure adjustment parameters are configured completely or not under the condition that the component for automatically adjusting the transaction reference value is in an open state; and under the condition that the opening parameters are configured, storing the transaction message comprising the transaction data into a database so as to acquire the transaction opening value and the transaction reference value from the transaction data in the database.
According to an embodiment of the present disclosure, the above method further includes: generating first prompt information under the condition that the configuration of the exposure parameter is not completed, wherein the first prompt information is used for prompting that a component for automatically adjusting the transaction reference value is in an opened state, but the configuration of the exposure parameter is not completed; and broadcasting the first prompt information to the target object.
According to an embodiment of the present disclosure, the above method further includes: checking whether the adjusted transaction reference value is correct; generating a response file which is successfully adjusted under the condition that the adjusted transaction reference value is correct; and broadcasting a second prompt message to the target object under the condition that the adjusted transaction reference value is incorrect, wherein the second prompt message is used for prompting that the transaction reference value is not successfully adjusted.
According to an embodiment of the present disclosure, the calculating the interval duration between the adjustment time of the last adjustment transaction reference value and the current time includes: the adjustment time of the last transaction reference value is called from the database; and inputting the current time and the adjustment time into a preset time length function, and outputting the interval time length.
According to the embodiment of the disclosure, the transaction message is sent by a transaction service node through a preset message component, and the database stores the sending record information of the transaction message sent by the transaction service node; the method further comprises the following steps: and when the adjusted transaction reference value is correct, feeding back the response file to the transaction service node through the preset message component, so that the transaction service node deletes the sending record information cached in the database according to the response file.
According to an embodiment of the present disclosure, the above method further includes: and under the condition that the interval duration exceeds the preset duration threshold, storing the current time into the database so that the current time is used as the next adjustment time to be called.
Another aspect of the present disclosure also provides a transaction data adjustment device, including: the receiving module is used for receiving a transaction message, wherein the transaction message comprises transaction data; the acquisition module is used for acquiring a transaction exposure value and a transaction reference value at the current moment from the transaction data based on the configured exposure adjustment parameters, wherein the transaction exposure value represents the transaction risk degree caused when the transaction is carried out based on the transaction reference value, and the configured exposure adjustment parameters comprise a point difference adjustment value; the calculating module is used for calculating the interval duration between the adjusting time for last adjusting the transaction reference value and the current time under the condition that the transaction exposure value exceeds a preset exposure threshold value; and the adjusting module is used for automatically adjusting the transaction reference value based on the point difference adjusting value under the condition that the interval duration exceeds a preset duration threshold value, so that the transaction open value obtained by carrying out transaction based on the adjusted transaction reference value is smaller than the preset open threshold value.
Another aspect of the present disclosure also provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the transaction data adjustment method.
Another aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the transaction data adjustment method described above.
Another aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the transaction data adjustment method described above.
According to the transaction data adjustment method, the device, the equipment, the storage medium and the program product provided by the embodiment of the disclosure, the transaction message comprising the transaction data is received; acquiring a transaction open finger and a transaction reference value at the current moment from a transaction message; calculating the interval duration between the adjustment time for last adjustment of the transaction reference value and the current time under the condition that the transaction exposure value exceeds a preset exposure threshold value; and under the condition that the interval duration exceeds a preset duration threshold, automatically adjusting the transaction reference value based on the configured point difference adjustment value so that the transaction exposure value obtained according to the adjusted transaction reference value is smaller than the preset exposure threshold. In the process of transaction data adjustment, the transaction data is automatically received, the transaction exposure value and the transaction reference value are acquired from the transaction data, and compared with the conditions of the preset exposure threshold value and the preset time length threshold value, and under the condition that the conditions are met, the transaction reference value is automatically adjusted, the whole flow can be automatically executed, the problems of low intelligent degree and efficiency in the related art are at least partially overcome, and the technical effect of improving the intelligent degree and efficiency of adjusting the transaction data is further achieved. In addition, the balance of the foreign exchange transaction can be destroyed by continuously adjusting the transaction reference value, but the embodiment of the disclosure compares the interval time length with the preset time length threshold value and adjusts the value under the condition that the interval time length exceeds the preset time length threshold value, so that the continuous adjustment of the transaction reference value can be avoided, and the stability of the balance of the foreign exchange transaction can be improved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of transaction data adjustment methods, apparatus, devices, media and program products according to embodiments of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a transaction data adjustment method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a process flow diagram of a transaction processing node according to an embodiment of the disclosure;
FIG. 4 schematically illustrates a process flow diagram of a market processing node according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a process flow diagram of a transaction processing node after receiving a response document;
FIG. 6 schematically illustrates a block diagram of a transaction data adjustment device according to an embodiment of the present disclosure; and
fig. 7 schematically illustrates a block diagram of an electronic device adapted to implement a transaction data adjustment method according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the disclosure, the related data (such as including but not limited to personal information of a user) are collected, stored, used, processed, transmitted, provided, disclosed, applied and the like, all conform to the regulations of related laws and regulations, necessary security measures are adopted, and the public welcome is not violated.
Financial institutions can offer continuous market offers to markets, but need to prevent single-sided market clicks from being made by traders in a short time, thereby creating a large number of open foreign exchange situations. At present, the financial institution mainly relies on manual judgment and adjusts the transaction point difference of the reported quotation to make the timeliness of adjusting the transaction reference value worse, and meanwhile, the adjustment efficiency is lower, and the transaction panel needs to be stared at manually for processing, so that the efficiency and the intelligent degree of adjusting the transaction point difference are reduced.
In view of this, embodiments of the present disclosure provide a transaction data adjustment method, apparatus, device, storage medium, and program product. The method is used for improving the efficiency and the intelligent degree of adjusting the transaction point difference. Specifically, the transaction data adjustment method includes: receiving a transaction message, wherein the transaction message comprises transaction data; based on the configured exposure adjustment parameters, acquiring a transaction exposure value and a transaction reference value at the current moment from transaction data, wherein the transaction exposure value represents the transaction risk degree caused when the transaction is carried out based on the transaction reference value, and the configured exposure adjustment parameters comprise a point difference adjustment value; under the condition that the transaction exposure value exceeds a preset exposure threshold value, calculating the interval duration between the adjustment time for last adjusting the transaction reference value and the current time; and under the condition that the interval duration exceeds a preset duration threshold, automatically adjusting the transaction reference value based on the point difference adjustment value so that the transaction exposure value obtained by carrying out the transaction based on the adjusted transaction reference value is smaller than the preset exposure threshold.
It should be noted that, the method and the device for adjusting transaction data according to the embodiments of the present disclosure may be used in the field of data processing technology or the field of financial technology, and may also be used in any field other than the field of data processing technology or the field of financial technology, and the application field of the method and the device for adjusting transaction data according to the embodiments of the present disclosure is not limited.
Fig. 1 schematically illustrates an application scenario diagram of a transaction data adjustment method, apparatus, device, medium and program product according to an embodiment of the present disclosure.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium used to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 through the network 104 using at least one of the first terminal device 101, the second terminal device 102, the third terminal device 103, to receive or send messages, etc. Various communication client applications, such as, for example only, a foreign exchange transaction type application, a financial quote type application, a shopping type application, a web browser application, a search type application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the first terminal device 101, the second terminal device 102, the third terminal device 103.
The first terminal device 101, the second terminal device 102, the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for transaction messages sent by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as the transaction message, and feed back the processing result (for example, the transaction reference value adjusted according to the transaction message, the acquired or generated web page, information, or data, etc.) to the terminal device.
It should be noted that the transaction data adjustment method provided in the embodiments of the present disclosure may be generally executed by the server 105. Accordingly, the transaction data adjustment device provided by the embodiments of the present disclosure may be generally disposed in the server 105. The transaction data adjustment method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105. Accordingly, the transaction data adjustment device provided by the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The transaction data adjustment method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 5 based on the scenario described in fig. 1.
Fig. 2 schematically illustrates a flow chart of a transaction data adjustment method according to an embodiment of the present disclosure.
As shown in fig. 2, the transaction data adjustment method of this embodiment includes operations S201 to S204.
In operation S201, a transaction message is received, wherein the transaction message includes transaction data.
In operation S202, a transaction exposure value and a transaction reference value at a current time are obtained from the transaction data based on the configured exposure adjustment parameters, wherein the transaction exposure value characterizes a transaction risk degree caused when a transaction is performed based on the transaction reference value, and the configured exposure adjustment parameters include a point difference adjustment value.
In operation S203, in the case where the transaction exposure value exceeds the preset exposure threshold value, an interval duration between the adjustment time at which the transaction reference value was last adjusted and the current time is calculated.
In operation S204, in the case where the interval duration exceeds the preset duration threshold, the transaction reference value is automatically adjusted based on the point difference adjustment value, so that the transaction exposure value obtained by performing the transaction based on the adjusted transaction reference value is smaller than the preset exposure threshold.
According to an embodiment of the present disclosure, the transaction message may be an ESP (Encapsulating Security Payload, messaging security encapsulation protocol) transaction confirmation message including transaction details. The transaction data may refer to transaction details such as a transaction benchmark value for a completed transaction, a transaction exchange rate, a transaction point difference, a transaction amount for a completed transaction, a transaction account, a transaction currency, a transaction period, etc., wherein the transaction period may include a spot transaction, a long-term transaction, a fade-term transaction, etc., and the long-term transaction may include a period duration longer than a period duration included in a spot transaction; a swap transaction may refer to a spot transaction and a forward transaction occurring simultaneously.
According to embodiments of the present disclosure, the exposure adjustment parameters may include a currency pair to be adjusted, a transaction deadline, a transaction point difference adjustment value, a level identification of a transaction account, a preset exposure threshold, a time interval, etc., such as an activity level of the transaction account, etc. The transaction point difference adjustment value can be a point difference which needs to be adjusted every time, and the server can automatically call from the database according to the currency pair, the transaction deadline, the grade identification of the transaction account and the like when the adjustment is needed every time. In another embodiment, the point of transaction difference adjustment value may also be set by a business person to increase the flexibility of point of transaction difference adjustment.
According to an embodiment of the present disclosure, the current time may refer to any time after receiving the transaction receipt message, and may refer to an acquisition time when the transaction exposure value and the transaction reference value are acquired. The transaction exposure value and the transaction reference value at the current moment can be the transaction exposure value and the transaction reference value in the transaction process, and the transaction reference value is not changed after the transaction is completed, and as the transaction exposure value is possibly increased according to the transaction reference value, the transaction risk is further caused, the transaction reference value in the transaction message is required to be analyzed and adjusted, so that the adjusted transaction reference value is used for carrying out the transaction in the subsequent transaction process, the risk of the transaction exposure value being increased can be reduced, and the risk of the transaction is reduced.
According to embodiments of the present disclosure, the transaction reference value may refer to reference data referred to in a currency conversion transaction, for example, the exchange rate of a currency to B currency is X, and the transaction reference value may refer to X. The transaction exposure value characterizes a degree of transaction risk that results when a transaction is conducted based on the transaction reference value. For example, the single-side exchange transaction amount of the currency exchange transaction is large, for example, based on exchange rate X, single-side exchange transaction is performed between currency a and currency B, that is, only currency a or only currency B is exchanged, the problem that the single-side exchange transaction amount is large is caused, so that the exchange transaction between currency a and currency B is out of balance, the more unbalanced the transaction is, the larger the transaction opening value can be, the more balanced the transaction is, and the transaction opening value can be smaller.
According to the embodiment of the disclosure, the preset opening threshold value can be adaptively set according to actual transaction conditions. The trade exposure value exceeds the preset exposure threshold value, which can indicate that if the trade is performed according to the trade reference value at the current moment, the trade imbalance degree may be larger and larger, and at this time, the trade reference value needs to be adjusted to restore the balance degree between the trade.
According to embodiments of the present disclosure, the adjustment of the transaction reference value is generally accomplished by a point difference adjustment value. The point difference may be a minimum floating unit, and the difference of the point fluctuation may be a point difference when the transaction reference value is changed. Specifically, the transaction reference value may be a value with a decimal type, the point difference value may be a difference value of point fluctuation after a decimal point of the reference value, and the transaction reference value may be adjusted by using addition or subtraction between the transaction reference value and the point difference adjustment value, so as to influence the transaction open value.
According to the embodiment of the disclosure, the adjustment time of the last adjustment transaction reference value may refer to the time of the last adjustment transaction reference value that is closest to the current time, and the interval duration may be obtained by performing subtraction between the current time and the adjustment time.
According to the embodiment of the disclosure, the preset duration threshold value can be adaptively set according to actual transaction conditions. Under the condition that the interval duration exceeds the preset duration threshold, the characterization can utilize the configured point difference adjustment value to adjust the transaction reference value at the current moment so that the transaction exposure value obtained by carrying out the transaction based on the adjusted transaction reference value is smaller than the preset exposure threshold. For example, the current reference value may be 1.1, the point difference adjustment value may be +0.2, and the adjusted transaction reference value may be 1.3; if the point difference adjustment value can be-0.1, the adjusted transaction reference value can be 1.0.
According to the transaction data adjustment method, the device, the equipment, the storage medium and the program product provided by the embodiment of the disclosure, the transaction message comprising the transaction data is received; acquiring a transaction open finger and a transaction reference value at the current moment from a transaction message; calculating the interval duration between the adjustment time for last adjustment of the transaction reference value and the current time under the condition that the transaction exposure value exceeds a preset exposure threshold value; and under the condition that the interval duration exceeds a preset duration threshold, automatically adjusting the transaction reference value based on the configured point difference adjustment value so that the transaction exposure value obtained according to the adjusted transaction reference value is smaller than the preset exposure threshold. In the process of transaction data adjustment, the transaction data is automatically received, the transaction exposure value and the transaction reference value are acquired from the transaction data, and compared with the conditions of the preset exposure threshold value and the preset time length threshold value, and under the condition that the conditions are met, the transaction reference value is automatically adjusted, the whole flow can be automatically executed, the problems of low intelligent degree and efficiency in the related art are at least partially overcome, and the technical effect of improving the intelligent degree and efficiency of adjusting the transaction data is further achieved. In addition, the balance of the foreign exchange transaction can be destroyed by continuously adjusting the transaction reference value, but the embodiment of the disclosure compares the interval time length with the preset time length threshold value and adjusts the value under the condition that the interval time length exceeds the preset time length threshold value, so that the continuous adjustment of the transaction reference value can be avoided, and the stability of the balance of the foreign exchange transaction can be improved.
In the process of the transaction data adjustment method provided by the embodiment of the disclosure, two processing nodes, such as a transaction processing node and a market processing node, may be involved. The following is a detailed description with reference to fig. 3.
Fig. 3 schematically illustrates a process flow diagram of a transaction processing node according to an embodiment of the disclosure.
As shown in fig. 3, the transaction processing flow of the transaction processing node of this embodiment may include operations S301 to S305.
In operation S301, an ESP transaction message sent by the transaction facility is received.
In operation S302, a transaction message is processed.
According to embodiments of the present disclosure, the processing of the transaction messages herein may be some conventional transaction processing flow, such as transaction message persistence, funds clearing of transaction data within the transaction messages, and the like. Transaction message persistence may be understood as storing transaction messages in a database.
In operation S303, it is monitored whether a component for automatically adjusting the transaction reference value has been turned on.
Operation S304 may be performed in the case of being turned on, and in the case of not being turned on, it may be characterized that the transaction reference value does not need to be automatically adjusted, and may need to be manually adjusted, at which time the ending operation may be directly performed. By providing two adjustment methods, the diversity of adjusting the transaction reference value can be increased.
In operation S304, the transaction data in the transaction message is sent to the quotation processing node through the preset message component.
In operation S305, a transmission record of the transaction data to the quotation processing node is cached in the memory database.
According to the embodiment of the disclosure, after the transaction processing node receives the transaction message from the transaction mechanism, in addition to performing some conventional transaction processing flows, the transaction detail information may be sent to the market processing node through a preset message component, for example, sent to the market processing node through KAFKA, so that the market processing node processes the transaction detail information, and after the market processing node processes the transaction detail information successfully, the transaction processing node feeds back a response file, for example, ack (Acknowledge character, confirm character) to the transaction processing node. In addition, the memory of the transaction processing node also stores transaction detail information and a sending record, which are used for monitoring whether the transaction detail information is sent successfully or not.
Fig. 4 schematically illustrates a process flow diagram of a market processing node according to an embodiment of the present disclosure.
As shown in fig. 4, the processing flow of the quotation processing node may include operations S401 to S416.
In operation S401, transaction data in an ESP transaction message is received.
In operation S402, a component that automatically adjusts the transaction reference value is turned on. In the case of being turned on, operation S403 is performed, and in the case of not being turned on, operation S416 is performed.
The parameters of the component switch for automatically adjusting the transaction reference value may be stored in a map file (map), with floor, symbol, tenor as key, true or false as value, to form a key-value-to-map file, where true may represent on, false may represent off, and a switch parameter not existing in the map may also represent on. If floor, symbol, tenor are all in an unopened state, no subsequent flow may be performed. Wherein floor may represent a switch identifying the user class identification of the transaction, symbol may be a switch identifying the currency pair, and tenor may identify a switch identifying the deadline of the transaction.
In operation S403, the adjustment parameters in the database are queried.
Inquiring the exposure adjustment parameters, inquiring time intervals (unit seconds), preset exposure threshold values, point difference adjustment values and the like according to floor, symbol, tenor dimensions from a database. If the parameters are not queried, broadcasting to service personnel to prompt that the parameters are not set.
In operation S404, whether the adjustment parameters are all set is completed. In the case where both have been set to completion, operation S405 is performed; in the case that the both settings are not completed, operation S414 is performed.
In operation S405, transaction data is stored in an in-memory database.
And inserting the information of the present transaction list into the memory database.
In operation S406, a transaction exposure value in the time zone is determined based on the transaction data in the memory database.
And calculating a transaction exposure value in a time interval under floor, symbol, tenor dimension according to the transaction data stored in the memory database.
In operation S407, whether the transaction exposure value exceeds a preset exposure threshold. If the operation is exceeded, operation S408 is performed, and if the operation is not exceeded, operation S416 is performed.
In operation S408, whether the interval duration exceeds a preset duration threshold. If the operation is exceeded, operation S409 is performed, and if the operation is not exceeded, operation S416 is performed.
The interval time length refers to a time length between an adjustment time point at which the transaction reference value is adjusted last time and a time point at which adjustment is to be performed now.
In operation S409, the time of this adjustment of the transaction reference value is cached.
If the absolute value of the transaction exposure value is smaller than the preset exposure threshold value, the automatic widening point difference is not needed; otherwise, the transaction point difference needs to be automatically widened to adjust the transaction reference value.
Under the condition that the transaction point difference needs to be automatically widened to adjust the transaction reference value, continuously judging whether the time interval between the current moment and the last automatic widening point difference exceeds a preset duration threshold, for example, whether the time interval exceeds 10s (the preset duration threshold can be adaptively configured through dynamic variables), if the time interval exceeds 10s, the automatic widening point difference is needed, the time of the current automatic widening point difference is updated to a memory database, and if the time interval does not exceed 10s, the automatic widening point difference is not needed. The time of the automatic widening point difference can be recorded in a map, floor+symbol+tenter+side is key, value is automatic widening time, and side can represent the adjustment direction.
In operation S410, the basic transaction point difference at the current time in the in-memory database is queried.
And inquiring the current buying and selling basic point difference and the seqid (identification) of the point difference record according to the product identification (inquired from the original memory database according to the category of the product and the transaction deadline type) from the memory database, symbol, holder, floor_ID and QTY (transaction amount). And under the condition of no inquiry, broadcasting a prompt that the basic point difference is not set to business personnel.
In operation S411, whether the base trading point difference is set. In the case of being set, operation S412 is performed, and in the case of not being set, operation S414 is performed. The base trading point difference may be a point difference obtained from trading data in which the points of the trading reference value fluctuate.
In operation S412, the base trading point difference is adjusted according to the point difference adjustment value to adjust the trading reference value.
In one embodiment, the transaction net exposure value may be an absolute value and may be an exposure value with a direction, such as a positive or negative direction, when the transaction point difference is adjusted. If the net opening value of the transaction is greater than 0, the current opening of a financial institution is a buying value, the point difference of the buying price (bid) quoted by the financial institution can be widened, the widening value can be a point difference adjusting value, and the point difference of the selling price is unchanged; if the net opening value of the transaction is smaller than 0, the current opening of the financial institution is sold, the point difference of the selling price (ask) quoted by the financial institution is widened, the widening value is a point difference adjusting value, and the point difference of the buying price is unchanged.
After the transaction point difference is updated, updated transaction point difference information and updated transaction reference values can be broadcasted.
In operation S413, it is checked whether the adjustment is successful. In case that the verification is successful, operation S416 is performed; in case that the verification is unsuccessful, operation S415 is performed.
In operation S414, the service personnel is notified that the component for automatically adjusting the trading benchmark is turned on, but the open parameter is not set.
In operation S415, a failure to automatically adjust the transaction reference value is reported to the service personnel.
In operation S416, the response file is fed back through the preset message component.
After the transaction processing node processes are completed, a response file, such as an ack message, may be returned to the transaction processing node.
Referring to operations S401 to S405 shown in fig. 4, the transaction data adjustment method provided by the embodiment of the present disclosure may further include the following operations: after receiving the transaction message and before acquiring the transaction exposure value and the transaction reference value at the current moment from the transaction data based on the configured exposure adjustment parameters, monitoring whether a component for automatically adjusting the transaction reference value is in an open state or not; under the condition that a component for automatically adjusting the transaction reference value is in an open state, inquiring whether the opening adjustment parameters are all configured; and storing the transaction message comprising the transaction data into a database under the condition that the exposure parameters are configured, so that the transaction exposure value and the transaction reference value are acquired from the transaction data in the database. Generating first prompt information under the condition that the open parameter is not configured, wherein the first prompt information is used for prompting that a component for automatically adjusting the transaction reference value is in an open state, but the open parameter is not configured; and broadcasting first prompt information to a target object, wherein the target object can comprise business personnel, operation and maintenance personnel and the like.
According to an embodiment of the present disclosure, whether the component automatically adjusting the transaction reference value is turned on may further determine whether the component automatically adjusting the transaction reference value is turned on or off by determining that the state of floor, symbol, tenor is true or false with reference to operation S402.
According to the embodiment of the present disclosure, the querying whether the exposure adjustment parameters are all configured may refer to operation S403, and in the case that all the exposure adjustment parameters are configured, may refer to operation S405, store the transaction data in the memory database, and in the case that the exposure adjustment parameters are not configured, may refer to operation S414, and report the prompt information to the business personnel.
According to an embodiment of the present disclosure, calculating the interval duration between the adjustment time at which the transaction reference value was last adjusted and the current time may include the operations of: the adjustment time for adjusting the transaction reference value last time is called from the database; the current time and the adjustment time are input into a preset time length function, and the interval time length is output.
According to an embodiment of the present disclosure, the preset duration function may be as shown in formula (1).
t Spacing of =t Currently, the method is that -t Last time (1)
Wherein t is Spacing of Can represent the interval duration, t Currently, the method is that Can represent the current time, i.e. the time when the transaction reference value is to be adjusted, t Last time The adjustment time of the last adjustment of the transaction reference value may be indicated.
Referring to operation S409, the transaction data adjustment method provided by the embodiment of the present disclosure may further include the following operations: in the case where the interval duration exceeds the preset duration threshold, the current time may be stored in the database so that the current time is taken as the adjustment time to be invoked next.
According to embodiments of the present disclosure, the time at which the transaction reference value is each adjusted may be stored in a database so that the adjustment time can be retrieved from the database and compared at the current time.
According to the embodiment of the disclosure, the transaction reference value can be adjusted by setting the preset time length threshold value and under the condition that the interval time length exceeds the preset time length threshold value, so that frequent adjustment of the transaction reference value can be avoided. Since the transaction reference value is adjusted for the balance degree of the transaction, if the transaction reference value is frequently adjusted, the transaction reference value may be unbalanced, and the transaction in one direction may be more prone to be performed in the two-way transaction, so that the balance degree of the transaction cannot be well stabilized, and therefore the transaction reference value cannot be frequently adjusted.
Referring to operation S413, the transaction data adjustment method provided by the embodiment of the present disclosure may further include the following operations: checking whether the adjusted transaction reference value is correct; generating a response file which is successfully adjusted under the condition that the adjusted transaction reference value is correct; and broadcasting a second prompt message to the target object under the condition that the adjusted transaction reference value is incorrect, wherein the second prompt message is used for prompting that the transaction reference value adjustment is unsuccessful.
According to an embodiment of the present disclosure, the verification process may include verifying whether the transaction reference value is changed, whether a difference between the adjusted transaction reference value and the transaction reference value before adjustment is a point difference adjustment value, and the like.
According to an embodiment of the present disclosure, in a case where the verification is correct, operation S416 may be referred to, and in a case where the adjusted transaction reference value is correct, a response file is fed back to the transaction service node through a preset message component, so that the transaction service node deletes the transmission record information cached in the database according to the response file.
According to the embodiment of the present disclosure, in case of incorrect verification, a second prompt message indicating failure of automatically adjusting the transaction reference value may be broadcasted to the service personnel with reference to operation S415.
According to the embodiment of the disclosure, the adjusted transaction reference value is automatically checked, so that the adjustment result can be timely obtained, and the intelligent degree of the adjustment transaction data is improved.
Fig. 5 schematically shows a process flow diagram of a transaction processing node after receiving a response document.
As shown in fig. 5, the processing flow of the transaction processing node after receiving the response file may include operations S501 to S502.
In operation S501, a response file is received and recorded.
The response file may be an ack message file fed back by the quotation processing node through the KAFKA message component.
In operation S502, the transmission record information cached in the in-memory database is deleted.
After receiving the response file fed back by the quotation processing node, the quotation processing node can be characterized as having received and processed the transaction data sent by the transaction processing node, so that in order to release the memory, the sending record information including the transaction data, which is cached in the memory database, can be deleted, so as to improve the resource utilization rate.
According to the embodiment of the disclosure, if the response file fed back by the quotation processing node is not received within the preset time period, in this case, the transmission record information including the transaction data, which is cached in the internal database, may be transmitted to the quotation processing node again until the response file fed back by the quotation processing node is received.
According to the embodiment of the disclosure, when the number of times of sending transaction data reaches the preset number of times, the response file fed back by the quotation processing node is not received yet, the response file can be broadcasted to operation and maintenance personnel or business personnel, and the response file can be adjusted in time according to the transaction data, so that the fault of the system is maintained.
According to the embodiment of the disclosure, when the transaction data is sent, the sending record is cached, and when the response file is received, the cached sending record is deleted, so that whether the transaction data is sent successfully can be monitored.
According to the embodiment of the disclosure, the trading exposure value is monitored in real time based on the dimensions of currency pairs, deadlines and the like, whether the trading exposure value exceeds a preset exposure threshold value is judged, if the trading exposure value exceeds the preset exposure threshold value, whether the point difference is widened in the near term (parameter configuration) is judged, the trading reference value is adjusted, if the point difference is not widened, the unilateral quotation point difference is widened, so that the trading reference value is adjusted, and the trade imbalance caused by the fact that the unilateral quotation is clicked by a trading opponent in a large amount in a short term is prevented.
The embodiment of the disclosure provides a method for automatically adjusting a transaction reference value based on a dynamic open-triggered quotation, which can automatically trigger and adjust the transaction reference value when a large number of single-side clicks are performed on a transaction based on a preset point difference adjustment value, and prevent the phenomenon of unbalanced transaction caused by the occurrence of a large number of open-ends.
It should be noted that, unless there is an execution sequence between different operations or an execution sequence between different operations in technical implementation, the execution sequence between multiple operations may be different, and multiple operations may also be executed simultaneously in the embodiment of the disclosure.
Based on the transaction data adjustment method, the disclosure also provides a transaction data adjustment device. The device will be described in detail below in connection with fig. 6.
Fig. 6 schematically shows a block diagram of a transaction data adjustment device according to an embodiment of the present disclosure.
As shown in fig. 6, the transaction data adjustment device 600 of this embodiment includes a receiving module 610, an acquiring module 620, a calculating module 630, and an adjustment module 640.
The receiving module 610 is configured to receive a transaction message, where the transaction message includes transaction data.
An obtaining module 620, configured to obtain, from the transaction data, a transaction exposure value and a transaction reference value at a current time based on the configured exposure adjustment parameter, where the transaction exposure value characterizes a transaction risk degree caused when performing a transaction based on the transaction reference value, and the configured exposure adjustment parameter includes a point difference adjustment value;
a calculating module 630, configured to calculate an interval duration between an adjustment time for last adjusting the transaction reference value and a current time when the transaction exposure value exceeds a preset exposure threshold;
and the adjusting module 640 is configured to automatically adjust the transaction reference value based on the point difference adjustment value, so that a transaction exposure value obtained by performing a transaction based on the adjusted transaction reference value is smaller than a preset exposure threshold value, when the interval duration exceeds the preset duration threshold value.
According to the transaction data adjustment method, the device, the equipment, the storage medium and the program product provided by the embodiment of the disclosure, the transaction message comprising the transaction data is received; acquiring a transaction open finger and a transaction reference value at the current moment from a transaction message; calculating the interval duration between the adjusting time for last adjusting the transaction reference value and the current time under the condition that the transaction open value exceeds the preset open threshold value; and automatically adjusting the transaction reference value based on the configured point difference adjustment value under the condition that the interval duration exceeds the preset duration threshold value, so that the transaction open value obtained according to the adjusted transaction reference value is smaller than the preset open threshold value. In the process of transaction data adjustment, the transaction data is automatically received, the transaction open value and the transaction reference value are acquired from the transaction data, and compared with the conditions of the preset open threshold value and the preset time length threshold value, and under the condition that the conditions are met, the transaction reference value is automatically adjusted, the whole flow can be automatically executed, the problems of low intelligent degree and efficiency in the related art are at least partially overcome, and the technical effect of improving the intelligent degree and efficiency of adjusting the transaction data is further achieved. In addition, the balance of the foreign exchange transaction can be destroyed by continuously adjusting the transaction reference value, but the embodiment of the disclosure compares the interval time length with the preset time length threshold value and adjusts the value under the condition that the interval time length exceeds the preset time length threshold value, so that the continuous adjustment of the transaction reference value can be avoided, and the stability of the balance of the foreign exchange transaction can be improved.
According to an embodiment of the disclosure, the transaction data adjustment device may further include a monitoring module, a query module, and a first storage module.
And the monitoring module is used for monitoring whether the component for automatically adjusting the transaction reference value is in an on state or not.
And the inquiring module is used for inquiring whether the exposure adjusting parameters are configured completely or not under the condition that the component for automatically adjusting the transaction reference value is in an open state.
And the first storage module is used for storing the transaction message comprising the transaction data into the database under the condition that the exposure parameters are configured, so that the transaction exposure value and the transaction reference value are acquired from the transaction data in the database.
According to an embodiment of the disclosure, the transaction data adjustment device may further include a first generation module and a first transmission module.
The first generation module is used for generating first prompt information under the condition that the exposure parameter is not configured, wherein the first prompt information is used for prompting that a component for automatically adjusting the transaction reference value is in an open state, but the exposure parameter is not configured.
The first sending module is used for broadcasting first prompt information to the target object.
According to an embodiment of the present disclosure, the transaction data processing apparatus may further include a verification module, a second generation module, and a second transmission module.
And the verification module is used for verifying whether the adjusted transaction reference value is correct.
And the second generation module is used for generating a response file which is successfully adjusted under the condition that the adjusted transaction reference value is correct.
And the second sending module is used for broadcasting second prompt information to the target object under the condition that the adjusted transaction reference value is incorrect, wherein the second prompt information is used for prompting that the adjustment of the transaction reference value is unsuccessful.
According to an embodiment of the present disclosure, the computing module may include a retrieval unit, an input unit.
And the calling unit is used for calling the adjustment moment for last adjusting the transaction reference value from the database.
The input unit is used for inputting the current time and the adjustment time into a preset time length function and outputting the interval time length.
According to an embodiment of the present disclosure, the transaction data adjustment device may further include a feedback module.
And the feedback module is used for feeding back a response file to the transaction service node through the preset message component under the condition that the adjusted transaction reference value is correct, so that the transaction service node deletes the transmission record information cached in the database according to the response file.
According to an embodiment of the present disclosure, the transaction data adjustment device may further include a second storage module.
And the second storage module is used for storing the current moment into the database under the condition that the interval duration exceeds a preset duration threshold value, so that the current moment is used as the next adjustment moment to be called.
Any of the receiving module 610, the obtaining module 620, the calculating module 630, and the adjusting module 640 may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules according to an embodiment of the present disclosure. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. At least one of the receiving module 610, the obtaining module 620, the computing module 630, and the adjusting module 640 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware, such as any other reasonable way of integrating or packaging the circuitry, or in any one of or a suitable combination of any of the three. Alternatively, at least one of the receiving module 610, the obtaining module 620, the calculating module 630 and the adjusting module 640 may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
It should be noted that, in the embodiment of the present disclosure, the transaction data adjustment device portion corresponds to the transaction data adjustment method portion in the embodiment of the present disclosure, and the description of the transaction data adjustment device portion specifically refers to the transaction data adjustment method portion and is not described herein again.
Fig. 7 schematically illustrates a block diagram of an electronic device adapted to implement a transaction data adjustment method according to an embodiment of the disclosure.
As shown in fig. 7, an electronic device 700 according to an embodiment of the present disclosure includes a processor 701 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. The processor 701 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 701 may also include on-board memory for caching purposes. The processor 701 may comprise a single processing unit or a plurality of processing units for performing different actions of the method flows according to embodiments of the disclosure.
In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. The processor 701 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 702 and/or the RAM 703. Note that the program may be stored in one or more memories other than the ROM 702 and the RAM 703. The processor 701 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 700 may further include an input/output (I/O) interface 705, the input/output (I/O) interface 705 also being connected to the bus 704. The electronic device 700 may also include one or more of the following components connected to an input/output (I/O) interface 705: an input section 706 including a keyboard, a mouse, and the like; an output portion 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 708 including a hard disk or the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. The drive 710 is also connected to an input/output (I/O) interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read therefrom is mounted into the storage section 708 as necessary.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 702 and/or RAM 703 and/or one or more memories other than ROM 702 and RAM 703 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code, when executed in a computer system, causes the computer system to implement the transaction data adjustment methods provided by embodiments of the present disclosure.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 701. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed over a network medium in the form of signals, downloaded and installed via the communication section 709, and/or installed from the removable medium 711. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 701. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.
Claims (11)
1. A transaction data adjustment method, comprising:
receiving a transaction message, wherein the transaction message comprises transaction data;
Acquiring a transaction exposure value and a transaction reference value at the current moment from the transaction data based on configured exposure adjustment parameters, wherein the transaction exposure value characterizes the transaction risk degree caused when the transaction is performed based on the transaction reference value, and the configured exposure adjustment parameters comprise a point difference adjustment value;
calculating the interval duration between the adjustment time for last adjustment of the transaction reference value and the current time under the condition that the transaction exposure value exceeds a preset exposure threshold value;
and under the condition that the interval duration exceeds a preset duration threshold, automatically adjusting the transaction reference value based on the point difference adjustment value, so that a transaction open value obtained by carrying out transaction based on the adjusted transaction reference value is smaller than the preset open threshold.
2. The method of claim 1, further comprising:
after receiving the transaction message and before acquiring the transaction open value and the transaction reference value at the current moment from the transaction data based on the configured open adjustment parameters, the following operations are executed:
monitoring whether a component for automatically adjusting a transaction reference value is in an on state;
inquiring whether the exposure adjustment parameters are configured completely or not under the condition that the component for automatically adjusting the transaction reference value is in an open state;
And under the condition that the exposure parameters are configured, storing the transaction message comprising the transaction data into a database so as to acquire the transaction exposure value and the transaction reference value from the transaction data in the database.
3. The method of claim 2, further comprising:
generating first prompt information under the condition that the exposure parameter is not configured, wherein the first prompt information is used for prompting that a component for automatically adjusting a transaction reference value is in an open state, but the exposure parameter is not configured;
and broadcasting the first prompt information to a target object.
4. A method according to claim 3, further comprising:
checking whether the adjusted transaction reference value is correct;
generating a response file which is successfully adjusted under the condition that the adjusted transaction reference value is correct;
and broadcasting a second prompt message to the target object under the condition that the adjusted transaction reference value is incorrect, wherein the second prompt message is used for prompting that the transaction reference value is not successfully adjusted.
5. The method of claim 1, wherein the calculating the interval duration between the adjustment time at which the transaction reference value was last adjusted and the current time comprises:
The adjustment time of the last transaction reference value adjustment is called from the database;
and inputting the current time and the adjustment time into a preset time length function, and outputting the interval time length.
6. The method of claim 4, wherein the transaction message is sent by a transaction service node through a preset message component, and the database stores transmission record information of the transaction service node for transmitting the transaction message;
the method further comprises the steps of:
and under the condition that the adjusted transaction reference value is correct, feeding back the response file to the transaction service node through the preset message component, so that the transaction service node deletes the sending record information cached in the database according to the response file.
7. The method of claim 5, further comprising:
and under the condition that the interval duration exceeds the preset duration threshold, storing the current time into the database so that the current time is used as the next called adjustment time.
8. A transaction data adjustment device, comprising:
the receiving module is used for receiving a transaction message, wherein the transaction message comprises transaction data;
The acquisition module is used for acquiring a transaction exposure value and a transaction reference value at the current moment from the transaction data based on the configured exposure adjustment parameters, wherein the transaction exposure value represents the transaction risk degree caused when the transaction is carried out based on the transaction reference value, and the configured exposure adjustment parameters comprise a point difference adjustment value;
the calculating module is used for calculating the interval duration between the adjusting time for last adjusting the transaction reference value and the current time under the condition that the transaction exposure value exceeds a preset exposure threshold value;
and the adjusting module is used for automatically adjusting the transaction reference value based on the point difference adjusting value under the condition that the interval duration exceeds a preset duration threshold value, so that the transaction exposure value obtained by carrying out transaction based on the adjusted transaction reference value is smaller than the preset exposure threshold value.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1-7.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311059435.9A CN117078417A (en) | 2023-08-22 | 2023-08-22 | Transaction data adjustment method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311059435.9A CN117078417A (en) | 2023-08-22 | 2023-08-22 | Transaction data adjustment method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117078417A true CN117078417A (en) | 2023-11-17 |
Family
ID=88711173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311059435.9A Pending CN117078417A (en) | 2023-08-22 | 2023-08-22 | Transaction data adjustment method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117078417A (en) |
-
2023
- 2023-08-22 CN CN202311059435.9A patent/CN117078417A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10043214B1 (en) | System and methods for credit dispute processing, resolution, and reporting | |
US11694238B2 (en) | Online review generation using a redirection container | |
CN104834602B (en) | A kind of program dissemination method, device and program delivery system | |
WO2023207146A1 (en) | Service simulation method and apparatus for esop system, and device and storage medium | |
CN114328132A (en) | Method, device, equipment and medium for monitoring state of external data source | |
AU2018213289A1 (en) | Systems and methods for intraday facility monitoring | |
CN110223179B (en) | Data processing method, device, system and medium for fund | |
CN106530084B (en) | Information processing method and server | |
CN117078417A (en) | Transaction data adjustment method, device, equipment and storage medium | |
CN111833029A (en) | Claims data auditing method and system and computer readable storage medium | |
CN116701123A (en) | Task early warning method, device, equipment, medium and program product | |
CN116775307A (en) | Service processing method, device, equipment and storage medium | |
US20230230021A1 (en) | System and method for automatically obtaining and processing logistics and transportation requests | |
CN115801764A (en) | File transmission method, device, equipment and storage medium | |
CN113449886A (en) | Data processing method, processing device, equipment and storage medium | |
CN113190416A (en) | Database execution plan early warning method and device, electronic equipment and storage medium | |
CN114757778B (en) | Foreign exchange squaring method, device, electronic device and medium | |
CN114900807B (en) | Method and system for processing short message problem event list | |
CN116545941B (en) | Instruction sending method, system, intelligent terminal and storage medium | |
US20240412178A1 (en) | Error detection for wire-transfer requests in wire-transfer applications in a computing environment | |
CN115496583A (en) | Asynchronous accounting data processing method, device, equipment and storage medium | |
CN114756450A (en) | Software testing method, device, electronic equipment, storage medium and program product | |
CN116862672A (en) | Service processing method, device, electronic equipment and storage medium | |
CN118297505A (en) | Logistics information management method, terminal equipment, medium and computer program product | |
CN116629443A (en) | Site selection method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |