CN114723448A - Transaction data processing method, server, application terminal and system - Google Patents

Transaction data processing method, server, application terminal and system Download PDF

Info

Publication number
CN114723448A
CN114723448A CN202210383337.XA CN202210383337A CN114723448A CN 114723448 A CN114723448 A CN 114723448A CN 202210383337 A CN202210383337 A CN 202210383337A CN 114723448 A CN114723448 A CN 114723448A
Authority
CN
China
Prior art keywords
transaction
coefficient
target
amount
request information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210383337.XA
Other languages
Chinese (zh)
Inventor
王斌
马子琛
凌华泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210383337.XA priority Critical patent/CN114723448A/en
Publication of CN114723448A publication Critical patent/CN114723448A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/381Currency conversion

Landscapes

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

Abstract

The invention provides a transaction data processing method, a server, an application terminal and a system based on virtual assets, in particular to the field of finance, wherein the method comprises the following steps: obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; and adjusting the original conversion proportion according to the time coefficient and the money coefficient to obtain a target conversion proportion, and determining the virtual assets according to the target conversion proportion and the conversion money. The invention can realize the self-adaptive adjustment of the conversion ratio based on the frequency and the amount of the real currency converted into the virtual assets, thereby improving the transaction data processing efficiency based on the virtual assets and further improving the speed of completing the target transaction according to the virtual assets.

Description

Transaction data processing method, server, application terminal and system
Technical Field
The invention relates to the technical field of virtual asset transaction data processing, in particular to the field of finance, and particularly relates to a transaction data processing method, a server, an application terminal and a system based on virtual assets.
Background
In the current transaction data processing method based on virtual assets, for each transaction of real currency conversion virtual assets, workers are generally required to manually adjust the conversion ratio of the real currency conversion virtual assets according to the application running condition, the transaction time interval, the transaction amount and the like, and then the transaction is completed according to the adjusted conversion ratio to balance the user experience and the income of an application operator. The method is characterized in that the real currency convertible virtual asset of the unit value is adjusted according to the transaction situation, so that the transaction amount is promoted, namely when the transaction amount is small, the credit of the virtual asset convertible by the real currency of the unit value is properly adjusted upwards, and when the transaction amount is large, the credit of the virtual asset convertible by the real currency of the unit value is properly adjusted downwards, so that the transaction amount of the target transaction of the application can be promoted by adjusting the conversion credit of the virtual asset. However, because this method relies on human labor, the transaction data processing efficiency based on the virtual assets is low, so that the speed of completing the target transaction according to the virtual assets is slow, and the user experience still needs to be improved.
Disclosure of Invention
The invention aims to provide a transaction data processing method based on virtual assets, which aims to solve the problems that the transaction data processing efficiency based on the virtual assets is low, so that the speed of completing a target transaction according to the virtual assets is low. Another object of the present invention is to provide a server. It is yet another object of the present invention to provide an application terminal. It is a further object of this invention to provide a system for processing transaction data based on virtual assets. It is a further object of the present invention to provide a computer apparatus. It is a further object of this invention to provide such a readable medium. It is a further object of this invention to provide a computer program product.
In order to achieve the above object, an aspect of the present invention discloses a transaction data processing method based on virtual assets, the method comprising:
judging whether historical transactions exist before the target transaction according to first transaction request information of the target transaction sent by an application terminal; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction;
obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information;
and adjusting the original conversion proportion according to the time coefficient and the money amount coefficient to obtain a target conversion proportion, determining a virtual asset according to the target conversion proportion and the conversion money amount, and transmitting the virtual asset to the application terminal so that the application terminal completes the target transaction according to the virtual asset.
Optionally, the obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction includes:
obtaining the time interval of the target transaction and the historical transaction according to the first transaction request information and the second transaction request information;
and obtaining the time coefficient according to the time interval.
Optionally, the obtaining the time interval between the target transaction and the historical transaction according to the first transaction request information and the second transaction request information includes:
obtaining the target transaction time according to the first transaction request information;
obtaining the historical transaction time according to the second transaction request information;
and subtracting the historical trading time from the target trading time to obtain the time interval.
Optionally, the obtaining the time coefficient according to the time interval includes:
dividing the time interval by a preset time granularity coefficient to obtain a time intermediate coefficient;
judging whether the time interval is smaller than a preset time threshold value, if so, adding 1 to the time intermediate coefficient to obtain the time coefficient; if not, multiplying 1 by the time intermediate coefficient to obtain the time coefficient.
Optionally, obtaining a monetary coefficient according to the first transaction request information includes:
obtaining the exchange amount of the real currency according to the first transaction request information;
and obtaining the amount coefficient according to the exchange amount of the real currency.
Optionally, the obtaining the amount coefficient according to the exchange amount of the real currency includes:
subtracting a preset money reference value from the exchange money of the real money to obtain a deviation money;
and obtaining the money amount coefficient according to the deviation money amount.
Optionally, obtaining the amount coefficient according to the deviation amount includes:
judging whether the deviation amount is larger than a preset amount threshold value or not, if so, taking remainder for a preset amount granularity coefficient by using the deviation amount to obtain a remainder taking result, dividing the remainder taking result by the preset amount granularity coefficient to obtain a first amount intermediate result, and subtracting the first amount intermediate result from 1 to obtain the amount coefficient;
if not, dividing the deviation sum by the preset sum granularity coefficient to obtain a second sum intermediate result, subtracting the second sum intermediate result from 1 to obtain a third sum intermediate result, and adding the third sum intermediate result to 1 to obtain the sum coefficient.
Optionally, the adjusting the original exchange ratio according to the time coefficient and the money amount coefficient to obtain a target exchange ratio includes:
multiplying the time coefficient by the amount coefficient to obtain a comprehensive adjustment coefficient;
and multiplying the comprehensive adjustment coefficient by the original exchange proportion to obtain the target exchange proportion.
Optionally, further comprising:
and when judging that no historical transaction exists before the target transaction, taking a preset time reference value as the time interval.
Optionally, the determining the virtual asset according to the target redemption proportion and the redemption amount includes:
multiplying the target exchange proportion by the exchange amount to obtain the amount of the virtual asset;
and determining the virtual assets according to the money amount of the virtual assets.
In order to achieve the above object, another aspect of the present invention discloses a transaction data processing method based on virtual assets, the method comprising:
sending first transaction request information of a target transaction to a server so that the server judges whether a historical transaction exists before the target transaction; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; adjusting the original exchange proportion according to the time coefficient and the money coefficient to obtain a target exchange proportion, and determining the virtual assets according to the target exchange proportion and the exchange money;
receiving the virtual assets from the server, and completing the target transaction according to the virtual assets.
To achieve the above object, a further aspect of the present invention discloses a server comprising:
the time coefficient determining module is used for judging whether historical transaction exists before the target transaction according to first transaction request information of the target transaction sent by the application terminal; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction;
the amount coefficient determining module is used for obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information;
and the virtual asset determination module is used for adjusting the original conversion ratio according to the time coefficient and the money amount coefficient to obtain a target conversion ratio, determining a virtual asset according to the target conversion ratio and the conversion money amount, and transmitting the virtual asset to the application terminal so that the application terminal completes the target transaction according to the virtual asset.
In order to achieve the above object, a further aspect of the present invention discloses an application terminal, including:
the target transaction request information sending module is used for sending first transaction request information of a target transaction to a server so that the server judges whether historical transactions exist before the target transaction; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; adjusting the original exchange proportion according to the time coefficient and the money coefficient to obtain a target exchange proportion, and determining the virtual assets according to the target exchange proportion and the exchange money;
and the target transaction completion module is used for receiving the virtual assets from the server and completing the target transaction according to the virtual assets.
In order to achieve the above object, a further aspect of the present invention discloses a transaction data processing system based on virtual assets, the system comprising a server and an application terminal;
the application terminal is used for sending first transaction request information of target transaction to the server;
the server is used for judging whether historical transactions exist before the target transactions according to first transaction request information of the target transactions, which is sent by the application terminal; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; adjusting the original exchange proportion according to the time coefficient and the money amount coefficient to obtain a target exchange proportion, determining a virtual asset according to the target exchange proportion and the exchange money amount, and transmitting the virtual asset to the application terminal;
the application terminal is also used for receiving the virtual assets from the server and completing the target transaction according to the virtual assets.
The invention also discloses a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the program.
The invention also discloses a computer-readable medium, on which a computer program is stored which, when executed by a processor, implements a method as described above.
The invention also discloses a computer program product comprising a computer program which, when executed by a processor, implements the method as described above.
According to the transaction data processing method, the server, the application terminal and the system based on the virtual assets, whether historical transactions exist before the target transactions is judged according to the first transaction request information of the target transactions, which is sent by the application terminal; if yes, a time coefficient is obtained according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction, the time coefficient can be automatically and quickly obtained according to the time relation between the target transaction and the historical transaction when the historical transaction exists, necessary parameters are provided for adjusting the original conversion ratio to obtain the target conversion ratio in the subsequent steps, the efficiency of adjusting the original conversion ratio to obtain the target conversion ratio is indirectly improved, and the speed of finishing the target transaction according to the virtual assets is further indirectly improved. By obtaining the amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information, the amount coefficient required by adjusting the original conversion ratio in the subsequent step to obtain the target conversion ratio can be automatically and quickly obtained according to the amount related to the target transaction, the efficiency of adjusting the original conversion ratio to obtain the target conversion ratio is indirectly improved, the speed of completing the target transaction according to the virtual asset is further indirectly improved, and the obtained conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset are input parameters required by adjusting the original conversion ratio in the subsequent step to obtain the target conversion ratio. The original conversion proportion is adjusted according to the time coefficient and the money coefficient to obtain a target conversion proportion, the virtual assets are determined according to the target conversion proportion and the conversion money, the virtual assets are transmitted to the application terminal, so that the application terminal completes the target transaction according to the virtual assets, the conversion proportion can be automatically and quickly adjusted according to the time factor and the money factor of the transaction to obtain the target conversion proportion, the efficiency of adjusting the original conversion proportion to obtain the target conversion proportion is directly improved, the speed of completing the target transaction according to the virtual assets is improved, and meanwhile the experience of a user and the income of an operator can be well balanced when the transaction is completed according to the target conversion proportion. In summary, the transaction data processing method, the server, the application terminal and the system based on the virtual assets provided by the invention can realize the adaptive adjustment of the conversion ratio based on the frequency and the amount of the real currency converted into the virtual assets, thereby improving the transaction data processing efficiency based on the virtual assets and further improving the speed of completing the target transaction according to the virtual assets. The method is characterized in that the real currency convertible virtual asset of the unit value is adjusted according to the transaction situation, so that the transaction amount is promoted, namely when the transaction amount is small, the credit of the virtual asset convertible by the real currency of the unit value is properly adjusted upwards, and when the transaction amount is large, the credit of the virtual asset convertible by the real currency of the unit value is properly adjusted downwards, so that the transaction amount of the target transaction of the application can be promoted by adjusting the conversion credit of the virtual asset.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 shows a schematic diagram of a virtual asset based transactional data processing system of an embodiment of the invention;
FIG. 2 is a flow chart diagram illustrating a method for processing transaction data based on virtual assets in accordance with an embodiment of the invention;
FIG. 3 is a schematic diagram illustrating an alternative procedure for deriving time intervals according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating the steps of an alternative receive amount coefficient according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram illustrating another method for processing transaction data based on virtual assets, in accordance with an embodiment of the invention;
FIG. 6 shows a block diagram of a server according to an embodiment of the invention;
fig. 7 shows a module diagram of an application terminal according to an embodiment of the present invention;
FIG. 8 shows a schematic block diagram of a computer device suitable for use in implementing embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
As used herein, "first," "second," … …, etc., are not intended to be limited to the exact order or sequence presented, nor are they intended to be limiting, but merely to distinguish one element from another or from another element or operation described by the same technical term.
As used herein, the terms "comprising," "including," "having," "containing," and the like are open-ended terms that mean including, but not limited to.
As used herein, "and/or" includes any and all combinations of the described items.
It should be noted that, in the technical solution of the present application, the acquisition, storage, use, processing, etc. of data all conform to the relevant regulations of the national laws and regulations.
The embodiment of the invention discloses a transaction data processing system based on virtual assets, which comprises a server 101 and an application terminal 102, as shown in figure 1;
the application terminal 102 is configured to send first transaction request information of a target transaction to the server 101;
the server 101 is configured to determine whether a historical transaction exists before a target transaction according to first transaction request information of the target transaction sent by the application terminal 102; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; adjusting the original exchange proportion according to the time coefficient and the money coefficient to obtain a target exchange proportion, determining a virtual asset according to the target exchange proportion and the exchange money, and transmitting the virtual asset to the application terminal 102;
the application terminal 102 is further configured to receive the virtual asset from the server 101, and complete the target transaction according to the virtual asset.
The following describes an implementation process of the transaction data processing method based on virtual assets according to the embodiment of the present invention, taking the server 101 as an execution subject. It can be understood that the executing subject of the transaction data processing method based on virtual assets provided by the embodiment of the invention includes, but is not limited to, the server 101.
Based on this, the embodiment of the present invention discloses a transaction data processing method based on virtual assets, as shown in fig. 2, the method specifically includes the following steps:
s201: judging whether historical transactions exist before the target transaction according to first transaction request information of the target transaction sent by an application terminal; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction.
S202: and obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information.
S203: and adjusting the original conversion proportion according to the time coefficient and the money amount coefficient to obtain a target conversion proportion, determining a virtual asset according to the target conversion proportion and the conversion money amount, and transmitting the virtual asset to the application terminal so that the application terminal completes the target transaction according to the virtual asset.
Illustratively, the historical transaction may be, but is not limited to, a previous transaction of the target transaction.
For example, the determination of whether the historical transaction exists before the target transaction may be performed by obtaining transaction time of the target transaction from the first transaction request information, searching transaction information of all transactions from a log, a transaction record, and the like of the server, obtaining transaction time of all transactions according to the transaction information of all transactions, and determining whether the historical transaction exists before the target transaction according to the transaction time of all transactions and the transaction time of the target transaction. It should be noted that, the specific implementation manner of determining whether there is a historical transaction before the target transaction according to the first transaction request information of the target transaction sent by the application terminal may be determined by those skilled in the art according to actual situations, and the above description is only an example, and does not limit the present invention.
According to the transaction data processing method, the server, the application terminal and the system based on the virtual assets, whether historical transactions exist before the target transactions is judged according to the first transaction request information of the target transactions, which is sent by the application terminal; if yes, a time coefficient is obtained according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction, the time coefficient can be automatically and quickly obtained according to the time relation between the target transaction and the historical transaction when the historical transaction exists, necessary parameters are provided for adjusting the original conversion ratio to obtain the target conversion ratio in the subsequent steps, the efficiency of adjusting the original conversion ratio to obtain the target conversion ratio is indirectly improved, and the speed of finishing the target transaction according to the virtual assets is further indirectly improved. By obtaining the amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information, the amount coefficient required by adjusting the original conversion ratio in the subsequent step to obtain the target conversion ratio can be automatically and quickly obtained according to the amount related to the target transaction, the efficiency of adjusting the original conversion ratio to obtain the target conversion ratio is indirectly improved, the speed of completing the target transaction according to the virtual asset is further indirectly improved, and the obtained conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset are input parameters required by adjusting the original conversion ratio in the subsequent step to obtain the target conversion ratio. The original conversion proportion is adjusted according to the time coefficient and the money coefficient to obtain a target conversion proportion, the virtual assets are determined according to the target conversion proportion and the conversion money, the virtual assets are transmitted to the application terminal, so that the application terminal completes the target transaction according to the virtual assets, the conversion proportion can be automatically and quickly adjusted according to the time factor and the money factor of the transaction to obtain the target conversion proportion, the efficiency of adjusting the original conversion proportion to obtain the target conversion proportion is directly improved, the speed of completing the target transaction according to the virtual assets is improved, and meanwhile the experience of a user and the income of an operator can be well balanced when the transaction is completed according to the target conversion proportion. In summary, the transaction data processing method, the server, the application terminal and the system based on the virtual assets provided by the invention can realize the self-adaptive adjustment of the conversion ratio based on the frequency and the amount of the real currency converted into the virtual assets, thereby improving the transaction data processing efficiency based on the virtual assets, and further improving the speed of completing the target transaction according to the virtual assets. Particularly, the real currency convertible virtual asset of the unit value is adjusted according to the transaction situation so as to promote the transaction amount, namely when the transaction amount is smaller, the credit of the real currency convertible virtual asset of the unit value is properly adjusted upwards, and when the transaction amount is larger, the credit of the real currency convertible virtual asset of the unit value is properly adjusted downwards, so that the transaction amount of the target transaction of the application can be promoted by adjusting the conversion credit of the virtual asset
In an optional embodiment, the obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction includes:
obtaining the time interval of the target transaction and the historical transaction according to the first transaction request information and the second transaction request information;
and obtaining the time coefficient according to the time interval.
Through the steps, the time coefficient can be obtained by only taking the time interval as the input parameter through calculation, so that the time spent in the calculation and processing process required by the time coefficient is less, and the speed of obtaining the target conversion ratio by adjusting the original conversion ratio in the subsequent steps is indirectly improved.
In an alternative embodiment, as shown in fig. 3, the obtaining the time intervals of the target transaction and the historical transaction according to the first transaction request information and the second transaction request information includes the following steps:
s301: and obtaining the target transaction time according to the first transaction request information.
S302: and obtaining the historical transaction time according to the second transaction request information.
S303: and subtracting the historical transaction time from the target transaction time to obtain the time interval.
For example, the first transaction request message includes the time of the target transaction, so the target transaction time can be obtained directly according to the first transaction request message.
Illustratively, the second transaction request information includes the historical transaction time, so the historical transaction time can be obtained directly according to the second transaction request information.
Through the steps S301 to S303, the time interval can be obtained based on the real transaction request information, so that the accuracy of the obtained time interval is improved, and further, the accuracy of the target conversion ratio obtained by adjusting the original conversion ratio in the subsequent steps is improved.
In an optional implementation manner, the obtaining the time coefficient according to the time interval includes:
dividing the time interval by a preset time granularity coefficient to obtain a time intermediate coefficient;
judging whether the time interval is smaller than a preset time threshold value, if so, adding 1 to the time intermediate coefficient to obtain the time coefficient; if not, multiplying 1 by the time intermediate coefficient to obtain the time coefficient.
For example, the time granularity coefficient may be determined by a person skilled in the art according to practical situations, and the embodiment of the present invention is not limited thereto. The larger the preset time granularity coefficient is, the higher the accuracy of the obtained time coefficient is, so that the accuracy of the target conversion ratio obtained in the subsequent step is higher; the smaller the preset time granularity coefficient is, the more the obtained time coefficient is beneficial to improving the adjustment balance effect of the target exchange ratio obtained in the subsequent steps on the target transaction. For example, the time granularity coefficient may be set to, but is not limited to, 3600 (corresponding to a time granularity of every second), 1800 (corresponding to a time granularity of every two seconds), and the like.
For example, the preset time threshold may be set to, but not limited to, 12 hours or 24 hours. It should be noted that, regarding the preset time threshold, the preset time threshold may be determined by a person skilled in the art according to an actual transaction situation, an application operation situation, an application revenue situation, or industry experience, and the above description is only an example, and does not limit this.
Judging whether the time interval is smaller than a preset time threshold value, if so, adding 1 to the time intermediate coefficient to obtain the time coefficient; if not, multiplying 1 by the time intermediate coefficient to obtain the time coefficient, so that the time coefficient when the time interval is smaller than the preset time threshold is integrally larger than the time coefficient when the time interval is not smaller than the preset time threshold, the time coefficient more accurately reflects different influences of different time intervals on transaction conditions, and the accuracy of the obtained time coefficient is improved; moreover, the calculation process and the processing process for determining the time coefficient are simple, and the time required for determining the time coefficient can be further reduced; therefore, the time coefficient obtained through the steps can further indirectly improve the speed and accuracy of obtaining the target conversion ratio in the subsequent steps, and further improve the speed of completing the transaction according to the adjusted conversion ratio and the effect of balancing user experience and application operator profits of completing the transaction according to the adjusted conversion ratio.
In an optional embodiment, the obtaining an amount coefficient according to the first transaction request information includes:
obtaining the exchange amount of the real currency according to the first transaction request information;
and obtaining the amount coefficient according to the exchange amount of the real currency.
Illustratively, the first transaction request message includes a conversion amount of real currency input by converting the real currency into the virtual asset, so the conversion amount of the real currency can be obtained directly according to the first transaction request message.
Through the steps, the money amount coefficient can be obtained by only taking the exchange money of the real money as an input parameter through calculation, so that the time spent on the calculation and processing process required by the money amount coefficient is shorter, and the speed of obtaining the target exchange ratio by adjusting the original exchange ratio in the subsequent steps is indirectly improved.
In an alternative embodiment, as shown in fig. 4, the obtaining the amount factor according to the conversion amount of the real currency comprises the following steps:
s401: and subtracting a preset amount reference value from the exchange amount of the real currency to obtain a deviation amount.
S402: and obtaining the money amount coefficient according to the deviation money amount.
For example, the amount benchmark is a parameter preset by a worker or a system for measuring a normal transaction amount, and the amount benchmark may be set to, but not limited to, half of an average value of transaction amounts of all transactions in an application, half of a median of transaction amounts of all transactions, or a determination value determined by the worker according to an actual transaction condition, an operation condition of the application, a profit condition of the application, or industry experience. The amount of money reference value may be determined by those skilled in the art according to actual circumstances, and the above description is only an example and is not limited thereto.
Through the steps S401 to S402, the amount coefficient can be determined according to the deviation degree of the real amount of the target transaction and the reference amount based on the real currency conversion amount of the target transaction, so that the obtained amount coefficient more accurately reflects the deviation degree, and the accuracy of the amount coefficient is improved; moreover, the time consumption is less when the monetary coefficient is determined through the steps, and the speed of determining the monetary coefficient is improved. Furthermore, the speed and the accuracy of obtaining the target exchange ratio by adjusting the exchange ratio in the subsequent steps are indirectly improved.
In an optional embodiment, the deriving the amount coefficient according to the deviation amount includes:
judging whether the deviation amount is larger than a preset amount threshold value or not, if so, taking remainder for a preset amount granularity coefficient by using the deviation amount to obtain a remainder taking result, dividing the remainder taking result by the preset amount granularity coefficient to obtain a first amount intermediate result, and subtracting the first amount intermediate result from 1 to obtain the amount coefficient;
if not, dividing the deviation sum by the preset sum granularity coefficient to obtain a second sum intermediate result, subtracting the second sum intermediate result from 1 to obtain a third sum intermediate result, and adding the third sum intermediate result to 1 to obtain the sum coefficient.
For example, the amount threshold may be determined by a person skilled in the art according to actual transaction conditions, operation conditions of the application, income conditions of the application, or industry experience, and the like, and the embodiment of the present invention is not limited thereto. Illustratively, the amount threshold may be, but is not limited to, 10000 or 9000, etc.
For example, the amount granularity coefficient may be determined by a person skilled in the art according to practical situations, and the embodiment of the present invention is not limited thereto. The larger the preset money amount granularity coefficient is, the higher the accuracy of the obtained money amount coefficient is, so that the higher the accuracy of the target exchange proportion obtained in the subsequent step is; the smaller the preset amount granularity coefficient is, the more the obtained amount coefficient is beneficial to improving the adjustment balance effect of the target conversion ratio obtained in the subsequent steps on the target transaction. For example, the monetary granularity factor may be set to, but is not limited to, 10000 or 8000, etc.
Obtaining a remainder result by judging whether the deviation amount is larger than a preset amount threshold value or not, if so, obtaining a remainder for a preset amount granularity coefficient by using the deviation amount, dividing the remainder result by the preset amount granularity coefficient to obtain a first amount intermediate result, and subtracting the first amount intermediate result from 1 to obtain the amount coefficient; if not, dividing the deviation amount by the preset amount granularity coefficient to obtain a second amount intermediate result, subtracting the second amount intermediate result from 1 to obtain a third amount intermediate result, and adding the third amount intermediate result to 1 to obtain the amount coefficient, so that the amount coefficient when the deviation amount is larger than the preset amount threshold value can be smaller than the amount coefficient when the deviation amount is not larger than the preset amount threshold value on the whole, the amount coefficient can more accurately reflect different influences of different deviation amounts on transaction conditions, and the accuracy of the obtained amount coefficient is improved; moreover, the calculation process and the processing process of the determined sum coefficient are simpler, and the time required for determining the sum coefficient can be further reduced; therefore, the money factor obtained by the steps can further indirectly improve the speed and accuracy of obtaining the target exchange proportion in the subsequent steps, and further improve the speed of completing the transaction according to the adjusted exchange proportion and the effect of balancing the experience of the user and the income of the application operator, wherein the effect is achieved by completing the transaction according to the adjusted exchange proportion.
In an optional embodiment, the adjusting the original exchange ratio according to the time coefficient and the money coefficient to obtain a target exchange ratio includes:
multiplying the time coefficient by the amount coefficient to obtain a comprehensive adjustment coefficient;
and multiplying the comprehensive adjustment coefficient by the original conversion proportion to obtain the target conversion proportion.
Through the steps, the accuracy of the target exchange proportion can be improved by improving the association degree of the target exchange proportion with the time coefficient and the money amount coefficient, and moreover, the calculation process is simple, so that the speed of determining the target exchange proportion is improved, the speed of completing target transaction in the subsequent steps is further improved, and the user experience and the income of an operator are better balanced.
In an optional embodiment, further comprising:
and when judging that no historical transaction exists before the target transaction, taking a preset time reference value as the time interval.
For example, the time reference value may be set according to the frequency of occurrence of transactions in other applications. It should be noted that, regarding the time reference value, a person skilled in the art may determine the time reference value according to practical situations, and the embodiment of the present invention does not limit this.
By taking the preset time reference value as the time interval when it is judged that no historical transaction exists before the target transaction, the time coefficient can still be generated when the information of the historical transaction cannot be acquired, so that the step of obtaining the conversion ratio in the subsequent steps can still have a definite time coefficient as input, and the flexibility of the method is improved.
In an optional embodiment, the determining the virtual asset according to the target redemption proportion and the redemption amount includes:
multiplying the target exchange proportion by the exchange amount to obtain the amount of the virtual asset;
and determining the virtual assets according to the money amount of the virtual assets.
Illustratively, the conversion ratio is a ratio of a conversion amount of the real currency to an amount of the equivalent-value virtual asset.
Illustratively, the determining the virtual asset is based on a monetary value of the virtual asset. Illustratively, if the amount of the virtual asset is 100 virtual coins, the virtual asset is 100 virtual coins or other virtual products with the value equivalent to 100 virtual coins. It should be noted that the specific implementation manner of determining the virtual asset according to the amount of money of the virtual asset may be determined by those skilled in the art according to actual situations, and the above description is only an example, and does not limit this.
Through the steps, the speed and the accuracy of determining the virtual assets can be improved, and therefore the effect of balancing the experience of users and the income of operators can be better played.
The following describes an implementation process of the transaction data processing method based on virtual assets according to the embodiment of the present invention, taking the application terminal 102 as an execution subject. It can be understood that the executing subject of the transaction data processing method based on virtual assets provided by the embodiment of the invention includes, but is not limited to, the application terminal 102.
Based on this, the embodiment of the present invention discloses a transaction data processing method based on virtual assets, as shown in fig. 5, the method specifically includes the following steps:
s501: sending first transaction request information of a target transaction to a server so that the server judges whether a historical transaction exists before the target transaction; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; and adjusting the original conversion proportion according to the time coefficient and the money coefficient to obtain a target conversion proportion, and determining the virtual assets according to the target conversion proportion and the conversion money.
S502: receiving the virtual assets from the server, and completing the target transaction according to the virtual assets.
For example, the target transaction is completed according to the virtual asset, and may be, but is not limited to, sending the virtual asset to an account of the user requesting the transaction. It should be noted that, the specific implementation manner for completing the target transaction according to the virtual asset can be determined by those skilled in the art according to practical situations, and the above description is only an example, and is not limited thereto.
According to the transaction data processing method, the server, the application terminal and the system based on the virtual assets, whether historical transactions exist before the target transactions is judged according to the first transaction request information of the target transactions, which is sent by the application terminal; if yes, a time coefficient is obtained according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction, the time coefficient can be automatically and quickly obtained according to the time relation between the target transaction and the historical transaction when the historical transaction exists, necessary parameters are provided for adjusting the original conversion ratio to obtain the target conversion ratio in the subsequent steps, the efficiency of adjusting the original conversion ratio to obtain the target conversion ratio is indirectly improved, and the speed of finishing the target transaction according to the virtual assets is further indirectly improved. By obtaining the amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information, the amount coefficient required by adjusting the original conversion ratio in the subsequent step to obtain the target conversion ratio can be automatically and quickly obtained according to the amount related to the target transaction, the efficiency of adjusting the original conversion ratio to obtain the target conversion ratio is indirectly improved, the speed of completing the target transaction according to the virtual asset is further indirectly improved, and the obtained conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset are input parameters required by adjusting the original conversion ratio in the subsequent step to obtain the target conversion ratio. The original conversion proportion is adjusted according to the time coefficient and the money coefficient to obtain a target conversion proportion, the virtual assets are determined according to the target conversion proportion and the conversion money, the virtual assets are transmitted to the application terminal, so that the application terminal completes the target transaction according to the virtual assets, the conversion proportion can be automatically and quickly adjusted according to the time factor and the money factor of the transaction to obtain the target conversion proportion, the efficiency of adjusting the original conversion proportion to obtain the target conversion proportion is directly improved, the speed of completing the target transaction according to the virtual assets is improved, and meanwhile the experience of a user and the income of an operator can be well balanced when the transaction is completed according to the target conversion proportion. In summary, the transaction data processing method, the server, the application terminal and the system based on the virtual assets provided by the invention can realize the adaptive adjustment of the conversion ratio based on the frequency and the amount of the real currency converted into the virtual assets, thereby improving the transaction data processing efficiency based on the virtual assets and further improving the speed of completing the target transaction according to the virtual assets.
Based on the same principle, the embodiment of the present invention discloses a server 600, as shown in fig. 6, the server 600 includes:
the time coefficient determining module 601 is configured to determine whether a historical transaction exists before a target transaction according to first transaction request information of the target transaction sent by an application terminal; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction;
a currency amount coefficient determining module 602, configured to obtain a currency amount coefficient, a conversion currency amount of real currency, and an original conversion ratio of the real currency to a virtual asset according to the first transaction request information;
a virtual asset determination module 603, configured to adjust the original conversion ratio according to the time coefficient and the money amount coefficient to obtain a target conversion ratio, determine a virtual asset according to the target conversion ratio and the conversion money amount, and transmit the virtual asset to the application terminal, so that the application terminal completes the target transaction according to the virtual asset.
In an optional embodiment, the time coefficient determining module 601 is configured to:
obtaining the time interval of the target transaction and the historical transaction according to the first transaction request information and the second transaction request information;
and obtaining the time coefficient according to the time interval.
In an optional embodiment, the time coefficient determining module 601 is configured to:
obtaining the target transaction time according to the first transaction request information;
obtaining the historical transaction time according to the second transaction request information;
and subtracting the historical trading time from the target trading time to obtain the time interval.
In an optional embodiment, the time coefficient determining module 601 is configured to:
dividing the time interval by a preset time granularity coefficient to obtain a time intermediate coefficient;
judging whether the time interval is smaller than a preset time threshold value, if so, adding 1 to the time intermediate coefficient to obtain the time coefficient; if not, multiplying 1 by the time intermediate coefficient to obtain the time coefficient.
In an optional embodiment, the amount coefficient determining module 602 is configured to:
obtaining the exchange amount of the real currency according to the first transaction request information;
and obtaining the amount coefficient according to the exchange amount of the real currency.
In an optional embodiment, the amount coefficient determining module 602 is configured to:
subtracting a preset money reference value from the exchange money of the real money to obtain a deviation money;
and obtaining the money amount coefficient according to the deviation money amount.
In an optional embodiment, the amount coefficient determining module 602 is configured to:
judging whether the deviation amount is larger than a preset amount threshold value or not, if so, taking remainder for a preset amount granularity coefficient by using the deviation amount to obtain a remainder taking result, dividing the remainder taking result by the preset amount granularity coefficient to obtain a first amount intermediate result, and subtracting the first amount intermediate result from 1 to obtain the amount coefficient;
if not, dividing the deviation sum by the preset sum granularity coefficient to obtain a second sum intermediate result, subtracting the second sum intermediate result from 1 to obtain a third sum intermediate result, and adding the third sum intermediate result to 1 to obtain the sum coefficient.
In an optional embodiment, the virtual asset determination module 603 is configured to:
multiplying the time coefficient by the amount coefficient to obtain a comprehensive adjustment coefficient;
and multiplying the comprehensive adjustment coefficient by the original conversion proportion to obtain the target conversion proportion.
In an optional embodiment, the apparatus further comprises a standby time interval determination module configured to:
and when judging that no historical transaction exists before the target transaction, taking a preset time reference value as the time interval.
In an optional embodiment, the virtual asset determination module 603 is configured to:
multiplying the target exchange proportion by the exchange amount to obtain the amount of the virtual asset;
and determining the virtual assets according to the money amount of the virtual assets.
Based on the same principle, the embodiment of the present invention discloses an application terminal 700, as shown in fig. 7, where the application terminal 700 includes:
a target transaction request information sending module 701, configured to send first transaction request information of a target transaction to a server, so that the server determines whether a historical transaction exists before the target transaction; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; adjusting the original exchange proportion according to the time coefficient and the money coefficient to obtain a target exchange proportion, and determining the virtual assets according to the target exchange proportion and the exchange money;
a target transaction completion module 702, configured to receive the virtual asset from the server, and complete the target transaction according to the virtual asset.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
In a typical example, the computer device comprises in particular a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the method as described above.
Referring now to FIG. 8, shown is a schematic diagram of a computer device 800 suitable for use in implementing embodiments of the present application.
As shown in fig. 8, the computer apparatus 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate works and processes according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM)) 803. In the RAM803, various programs and data necessary for the operation of the system 800 are also stored. The CPU801, ROM802, and RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a liquid crystal feedback (LCD), and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted as necessary on the storage section 808.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (17)

1. A transaction data processing method based on virtual assets is characterized by comprising the following steps:
judging whether historical transactions exist before the target transaction according to first transaction request information of the target transaction sent by an application terminal; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction;
obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information;
and adjusting the original conversion proportion according to the time coefficient and the money amount coefficient to obtain a target conversion proportion, determining a virtual asset according to the target conversion proportion and the conversion money amount, and transmitting the virtual asset to the application terminal so that the application terminal completes the target transaction according to the virtual asset.
2. The method of claim 1, wherein obtaining a time factor based on the first transaction request information for the target transaction and the second transaction request information for the historical transaction comprises:
obtaining the time interval of the target transaction and the historical transaction according to the first transaction request information and the second transaction request information;
and obtaining the time coefficient according to the time interval.
3. The method of claim 2, wherein obtaining the time intervals of the target transaction and the historical transaction based on the first transaction request information and the second transaction request information comprises:
obtaining the target transaction time according to the first transaction request information;
obtaining the historical transaction time according to the second transaction request information;
and subtracting the historical transaction time from the target transaction time to obtain the time interval.
4. The method of claim 2, wherein obtaining the time coefficient according to the time interval comprises:
dividing the time interval by a preset time granularity coefficient to obtain a time intermediate coefficient;
judging whether the time interval is smaller than a preset time threshold value, if so, adding 1 to the time intermediate coefficient to obtain the time coefficient; if not, multiplying 1 by the time intermediate coefficient to obtain the time coefficient.
5. The method of claim 1, wherein deriving an amount factor based on the first transaction request message comprises:
obtaining the exchange amount of the real currency according to the first transaction request information;
and obtaining the amount coefficient according to the exchange amount of the real currency.
6. The method of claim 5, wherein deriving the monetary coefficient based on the conversion amount of the real currency comprises:
subtracting a preset money reference value from the exchange money of the real money to obtain a deviation money;
and obtaining the money amount coefficient according to the deviation money amount.
7. The method of claim 6, wherein deriving the monetary coefficient based on the deviation monetary value comprises:
judging whether the deviation amount is larger than a preset amount threshold value or not, if so, taking remainder for a preset amount granularity coefficient by using the deviation amount to obtain a remainder taking result, dividing the remainder taking result by the preset amount granularity coefficient to obtain a first amount intermediate result, and subtracting the first amount intermediate result from 1 to obtain the amount coefficient;
if not, dividing the deviation sum by the preset sum granularity coefficient to obtain a second sum intermediate result, subtracting the second sum intermediate result from 1 to obtain a third sum intermediate result, and adding the third sum intermediate result to 1 to obtain the sum coefficient.
8. The method of claim 1, wherein the adjusting the original redemption rate according to the time factor and the money factor to obtain a target redemption rate comprises:
multiplying the time coefficient by the amount coefficient to obtain a comprehensive adjustment coefficient;
and multiplying the comprehensive adjustment coefficient by the original conversion proportion to obtain the target conversion proportion.
9. The method of claim 2, further comprising:
and when judging that no historical transaction exists before the target transaction, taking a preset time reference value as the time interval.
10. The method of claim 1, wherein determining a virtual asset as a function of the target redemption rate and the redemption amount comprises:
multiplying the target exchange proportion by the exchange amount to obtain the amount of the virtual asset;
and determining the virtual assets according to the money amount of the virtual assets.
11. A transaction data processing method based on virtual assets is characterized by comprising the following steps:
sending first transaction request information of a target transaction to a server so that the server judges whether a historical transaction exists before the target transaction; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; adjusting the original exchange proportion according to the time coefficient and the money coefficient to obtain a target exchange proportion, and determining virtual assets according to the target exchange proportion and the exchange money;
receiving the virtual assets from the server, and completing the target transaction according to the virtual assets.
12. A server, comprising:
the time coefficient determining module is used for judging whether historical transaction exists before the target transaction according to first transaction request information of the target transaction sent by the application terminal; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction;
the amount coefficient determining module is used for obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information;
and the virtual asset determination module is used for adjusting the original conversion ratio according to the time coefficient and the money amount coefficient to obtain a target conversion ratio, determining a virtual asset according to the target conversion ratio and the conversion money amount, and transmitting the virtual asset to the application terminal so that the application terminal completes the target transaction according to the virtual asset.
13. An application terminal, comprising:
the target transaction request information sending module is used for sending first transaction request information of a target transaction to a server so that the server judges whether historical transactions exist before the target transaction; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; adjusting the original exchange proportion according to the time coefficient and the money coefficient to obtain a target exchange proportion, and determining the virtual assets according to the target exchange proportion and the exchange money;
and the target transaction completion module is used for receiving the virtual assets from the server and completing the target transaction according to the virtual assets.
14. A transaction data processing system based on virtual assets is characterized by comprising a server and an application terminal;
the application terminal is used for sending first transaction request information of target transaction to the server;
the server is used for judging whether historical transactions exist before the target transactions according to first transaction request information of the target transactions, which is sent by the application terminal; if yes, obtaining a time coefficient according to the first transaction request information of the target transaction and the second transaction request information of the historical transaction; obtaining an amount coefficient, the conversion amount of the real currency and the original conversion ratio of the real currency and the virtual asset according to the first transaction request information; adjusting the original exchange proportion according to the time coefficient and the money amount coefficient to obtain a target exchange proportion, determining a virtual asset according to the target exchange proportion and the exchange money amount, and transmitting the virtual asset to the application terminal;
the application terminal is also used for receiving the virtual assets from the server and completing the target transaction according to the virtual assets.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-11 when executing the program.
16. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-11.
17. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the method of any one of claims 1 to 11.
CN202210383337.XA 2022-04-13 2022-04-13 Transaction data processing method, server, application terminal and system Pending CN114723448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210383337.XA CN114723448A (en) 2022-04-13 2022-04-13 Transaction data processing method, server, application terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210383337.XA CN114723448A (en) 2022-04-13 2022-04-13 Transaction data processing method, server, application terminal and system

Publications (1)

Publication Number Publication Date
CN114723448A true CN114723448A (en) 2022-07-08

Family

ID=82243895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210383337.XA Pending CN114723448A (en) 2022-04-13 2022-04-13 Transaction data processing method, server, application terminal and system

Country Status (1)

Country Link
CN (1) CN114723448A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116245477A (en) * 2023-01-31 2023-06-09 北京一心向上科技有限公司 Escp system-based transfer exchange method, apparatus, device and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116245477A (en) * 2023-01-31 2023-06-09 北京一心向上科技有限公司 Escp system-based transfer exchange method, apparatus, device and medium

Similar Documents

Publication Publication Date Title
JP6703013B2 (en) Payment threshold acquisition method and device
CN104966229A (en) Information processing method and credit platform
CA2524115A1 (en) Customer revenue prediction method and system
US20200286091A1 (en) Automated multi-currency refund service
CN114723448A (en) Transaction data processing method, server, application terminal and system
CN112241915A (en) Loan product generation method and device
CN110033362B (en) Money drawing method, device and equipment
CN110097457B (en) Information generation method, electronic device, and computer-readable medium
CN114723481A (en) Data processing method and device, electronic equipment and storage medium
CN112734516A (en) Financial product recommendation method and system based on client cash flow prediction
CN109408741B (en) Positioning method, positioning device, electronic equipment and computer readable storage medium
US20210012327A1 (en) System and platform for virtual resource management
CN115760090A (en) Transaction processing method, device and system based on block chain
CN116228384A (en) Data processing method, device, electronic equipment and computer readable medium
CN115311077A (en) Loan information processing method, server, application end and system
CN115689740A (en) Transaction abnormity detection method and device based on deep learning
CN116136997A (en) Systems, methods, and computer program products for dynamic authorization response timeout
CN111402018B (en) Method and system for reporting resource budget
CN113989001A (en) Virtual asset settlement method, device, electronic equipment and storage medium
CN110033151B (en) Relation risk evaluation method and device, electronic equipment and computer storage medium
CN111815204A (en) Risk assessment method, device and system
CN110347513B (en) Hot data batch scheduling method and device
CN114331453A (en) Data transmission method and system
CN110706091A (en) Early warning method for abnormal behaviors of preset position and related device
CN115578204A (en) Stock product pushing method and device

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