WO2019047540A1 - 交易数据处理方法、装置、存储介质和计算机设备 - Google Patents

交易数据处理方法、装置、存储介质和计算机设备 Download PDF

Info

Publication number
WO2019047540A1
WO2019047540A1 PCT/CN2018/084713 CN2018084713W WO2019047540A1 WO 2019047540 A1 WO2019047540 A1 WO 2019047540A1 CN 2018084713 W CN2018084713 W CN 2018084713W WO 2019047540 A1 WO2019047540 A1 WO 2019047540A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
date
preset
transaction data
amount
Prior art date
Application number
PCT/CN2018/084713
Other languages
English (en)
French (fr)
Inventor
刘星
姜胜文
罗佳
仝西乐
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019047540A1 publication Critical patent/WO2019047540A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • 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

Definitions

  • the present application relates to a transaction data processing method, apparatus, computer device and storage medium.
  • Transaction data is data generated by a user directly or indirectly trading on a trading platform, such as the trading date, the unit net value (ie, unit price) and the share (ie, quantity) of the traded product.
  • the traditional transaction data processing method is to obtain transaction data from a single trading platform, and then calculate the transaction index value corresponding to the acquired transaction data at one time according to a preset transaction index calculation method.
  • the inventor realized that when the transaction data of the trading platform changes, the traditional transaction data processing method cannot automatically recalculate the corresponding transaction index, so that the existing transaction indicator data is no longer correct.
  • a transaction data processing method, apparatus, computer device, and storage medium are provided.
  • a transaction data processing method comprising: detecting whether transaction data is updated, the transaction data is data generated by performing a transaction operation on a transaction platform; if yes, acquiring an update time of the transaction data; acquiring the transaction data The calculation time of the transaction indicator closest to the current time distance corresponding to the change transaction data after the change, the transaction indicator is used to measure the change range of the transaction data in the preset time period; comparing the calculation time with the update time And if the update time is later than the calculation time, acquiring the change transaction data; and calculating a transaction indicator value corresponding to the change transaction data according to a preset calculation rule of a preset dimension and a transaction indicator.
  • a transaction data processing apparatus comprising: a transaction data update detection module, configured to detect whether transaction data is updated, the transaction data is data generated by performing a transaction operation on a transaction platform; and an update time acquisition module is configured to detect Obtaining an update time of the transaction data when the transaction data is updated; the transaction indicator calculation time acquisition module is configured to acquire a calculation time of the transaction indicator that is closest to the current time distance corresponding to the changed transaction data after the transaction data is changed, The transaction indicator is used to measure the change range of the transaction data in the preset time; the change transaction data acquisition module is configured to compare the calculation time with the update time, and if the update time is later than the calculation time, Obtaining the change transaction data; and a transaction indicator calculation module, configured to calculate a transaction indicator value corresponding to the change transaction data according to a preset calculation rule of a preset dimension and a transaction indicator.
  • One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, causing one or more processors to implement the transactions provided in any one embodiment of the present application The steps of the data processing method.
  • a computer apparatus comprising a memory and one or more processors having stored therein computer readable instructions that, when executed by a processor, implement the steps of a transaction data processing method provided in any one of the embodiments of the present application.
  • FIG. 1 is an application environment diagram of a transaction data processing method in accordance with one or more embodiments
  • FIG. 2 is a block diagram of a computer device in accordance with one or more embodiments
  • FIG. 3 is a flow diagram of a transaction data processing method in accordance with one or more embodiments.
  • FIG. 4 is a schematic flow chart of a method for calculating a transaction index corresponding to a change transaction data according to one or more embodiments
  • FIG. 5 is a schematic flow chart of a method for calculating a transaction index corresponding to a change transaction data in another embodiment
  • FIG. 6 is a block diagram of a transaction data processing apparatus in accordance with one or more embodiments.
  • the transaction data processing method provided by the embodiment of the present application can be applied to an application environment as shown in FIG. 1.
  • the query server 102 periodically sends an acquisition request of the transaction data change record to the transaction data storage server 104, and if the transaction data change record returned by the transaction data storage server 104 is received, the update time of the transaction data change record acquisition transaction data is analyzed;
  • the transaction indicator data storage server 106 transmits an acquisition request of the transaction index calculation time closest to the current time corresponding to the changed transaction data after the transaction data has been changed, and receives the calculation time returned by the transaction indicator data storage server 106, and the aforementioned update time.
  • the change transaction data is acquired from the transaction data storage server 104, and the change transaction data is sent to the transaction index calculation server 108; the transaction index calculation server 108 receives the change transaction data sent by the query server 102, according to The preset calculation rule of the preset dimension and the transaction indicator calculates the transaction indicator value corresponding to the changed transaction data, and stores the calculated transaction indicator value in the transaction indicator data storage server 106.
  • a computer device which may be a query server as shown in FIG. 2.
  • the computer device includes a processor coupled through a system bus, a non-volatile storage medium, an internal memory, and a network connection.
  • An operating system and computer readable instructions are stored in the non-volatile storage medium.
  • the non-volatile storage medium can be a non-transitory computer readable storage medium.
  • the computer program computer readable instructions are used to implement a transaction data processing method suitable for a computer device provided in the embodiments of the present application.
  • the processor is used to increase computing and control capabilities and support the operation of the entire computer device.
  • the internal memory is used to provide an environment for the operation of operating systems and computer readable instructions in a non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal via a network connection, such as receiving a transaction indicator calculation request sent by the terminal, and returning a transaction indicator calculation result to the terminal.
  • the computer device is a server, and the computer device can be implemented by using a separate server or a server cluster composed of multiple servers. It will be understood by those skilled in the art that the structure shown in FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • a transaction data processing method is provided to be applied to the server provided in FIG. 1 as an example.
  • the specific steps include:
  • Step 302 Detect whether the transaction data is updated, and the transaction data is data generated by performing a transaction operation on the transaction platform.
  • Transaction data is obtained from the data source corresponding to the trading platform and stored in the transaction data server.
  • the number of data sources is not limited, and may be one or more; transaction data includes transaction date, transaction type (including purchase and redemption), transaction product information (including transaction product name, transaction product identification, etc.), transaction user Information (including transaction user name, transaction user ID, etc.).
  • the transaction data can be obtained in real time or periodically. If the method of regular acquisition is adopted, the method may be obtained by: generating a switch record corresponding to the transaction date periodically according to a pre-established transaction data switch table, such as once a day, wherein the transaction data switch table is used to control the transaction.
  • Data processing flow including switch type, data source and transaction product type used to identify transaction data (such as 001 asset management product, where "001" identifies the data source of the asset management product), transaction date, data status (initial state is "To be acquired", that is, ready to be acquired from the data source) and data synchronization time (the time when the transaction data is synchronized from the data source to the transaction data storage server of the system); the status of the data in the detection switch table is periodically detected; if data is detected If the status is "to be acquired", the transaction data request is sent to the trading platform according to the switch type and the transaction date, and the data status is inverted to "acquiring”; if the data source returns successfully, the switch type and the transaction date are correspondingly received. Transaction data, the data status is flipped to "acquired”, and the acquired transaction data is saved. Transaction data to the storage server.
  • transaction data such as 001 asset management product, where "001" identifies the data source of the asset management product
  • transaction date such as 001 asset management product, where
  • the update of the transaction data can be detected by looking up the update record of the transaction data. If the update record is successfully acquired, the transaction data is updated, otherwise the transaction data is not updated.
  • Step 304 if yes, obtain the update time of the transaction data.
  • the transaction data storage server stores an update record of the transaction data, including the update time, the update handler ID, and the updated transaction data.
  • Step 306 Acquire a calculation time of a transaction indicator that is closest to the current time corresponding to the changed transaction data after the transaction data is changed, and the transaction indicator is used to measure the change range of the transaction data in the preset time.
  • the change transaction data is the updated transaction data corresponding to the changed transaction data.
  • the change here refers to the change of the value corresponding to the preset transaction data field, and the preset transaction data field includes the transaction time, the transaction amount and the transaction type. Attributes, such as the transaction amount changed from 10,000 yuan to 15,000 yuan.
  • the trading indicator is used to measure the change range of the transaction data in the preset time. Specifically, it may be the average daily asset size and the average daily asset size.
  • step 308 the calculation time is compared with the update time, and if the update time is later than the calculation time, the change transaction data is acquired.
  • the transaction data transmitted by the data source server to the transaction data storage server at 6 am on July 2, 2017 is: transaction user A subscribed for 5,000 yuan of transaction product A at 10 am on July 1, 2017, and later
  • the data source server transmits the transaction data to the transaction data storage server at 12 noon on July 2, 2017.
  • the transaction user added 3,000 yuan to purchase the transaction product at 2 pm that day, and also known as "transaction user A.”
  • the corresponding trading index calculation time is 2:00 on July 2, 2017, and the trading indicator calculation time is earlier than the transaction data update time. At 22:00 noon on July 2nd, therefore, it is necessary to recalculate the trading indicators corresponding to the transaction data.
  • Step 310 Calculate a transaction indicator value corresponding to the changed transaction data according to a preset calculation rule of the preset dimension and the transaction indicator.
  • the preset dimension includes at least one of a transaction user dimension and an institutional dimension to which the transaction product belongs.
  • the user dimension may be a user name, or a user identifier (such as a user ID number), and the user dimension may be a specific individual user dimension, or may be an enterprise dimension or a company dimension where the individual is located;
  • the representation of the organizational dimension of the transaction product may be the name of the organization to which the transaction product belongs, or in other embodiments, the preset dimension may not be limited to the listed transaction user dimension and the organizational dimension of the transaction product, and may also be appropriate. Extensions, such as trading product dimensions.
  • the preset calculation rule of the transaction indicator is a preset calculation model established according to the definition of the transaction indicator.
  • the specific implementation manner of calculating the transaction index value corresponding to the change transaction data according to the preset calculation rule of the preset dimension and the transaction indicator is: after the step 310 is successfully executed, the transaction request can be generated and the preset is terminated in the transaction data switch table.
  • the switch record corresponding to the date, the data state set in the switch record is the transaction index to be calculated; the data state corresponding to the switch record in the switch table is periodically detected, and if the data state is detected as the transaction data to be calculated, the switch records the corresponding transaction data.
  • the preset end date is determined based on the specific execution time of the transaction.
  • transactions that can be operated on a trading platform for 24-hour trading (such as daily necessities, home appliances, etc.), when trading indicators (such as the average daily trading amount of the trading platform) need to be calculated, must be after the trading date.
  • the daily average transaction amount up to the transaction application date can be calculated.
  • the preset termination date can be The date corresponding to the previous natural day of the current date of the system, for example, the transaction data stored in the data source stored on July 2, 2017 is partially transmitted to the transaction storage data server of the system, and is transmitted to the system after discovery.
  • the transaction stores the data server, then the transaction data corresponding to the date corresponding to the previous natural day from July 2, 2017 to the current date of the system (July 10, 2017) (July 9, 2017) will be traded.
  • Recalculation of indicators; trading of trading operations (such as funds and other transactions) on trading platforms with strict trading time restrictions, calculation of trading indicators Period may be the same as the date of the transaction, the transaction only to ensure specific computing time to index after trading hours.
  • the preset termination date is the current date of the system
  • the preset end date is the date corresponding to the previous natural day of the current date of the system.
  • the fund trading time is from 9:30 am to 3:00 pm
  • the calculation time of the trading indicator can be set to 4:00 pm
  • some of the transaction data stored in the data source on July 2, 2017 is partially leaked to
  • the transaction storage data server of the system is found to be transmitted to the transaction storage data server of the system. If the current time of the system is 4:30 pm, then the transaction date (July 2, 2017) to the current date of the system (July 10, 2017) Corresponding transaction data must be recalculated for trading indicators.
  • the transaction data processing method by comparing the calculation time of the transaction indicator closest to the current time interval corresponding to the current transaction time with the update time of the transaction data, if the former is earlier than the latter, the transaction data has been updated, but The corresponding transaction index calculation is not performed, and the transaction index value corresponding to the change transaction data is calculated according to the preset calculation rule of the preset dimension and the transaction indicator, and the transaction index corresponding to the transaction data is automatically recalculated, thereby ensuring the transaction index value. The correctness.
  • step 310 includes:
  • Step 402 If the transaction indicator is the average daily asset size, the transaction date of the change transaction is obtained.
  • the trading indicator is the average daily asset size, and the trading indicator is calculated in “day”.
  • the change transaction is the detected changed transaction, including the transaction data newly stored to the transaction data storage server and the transaction data for replacement.
  • Step 404 Count the transaction amount of the preset dimension transaction from the start date to the transaction date of the preset time period.
  • the start date of the preset time period is a preset start date for calculating the transaction indicator.
  • the preset time period is 1 year, and the start date of the preset time period is January 1.
  • the preset dimension can be a transaction user dimension or an institutional dimension to which the transaction product belongs.
  • Counting the transaction amount of the preset dimension transaction from the start date to the transaction date of the preset time period by first counting the first transaction amount of the preset dimension transaction on the transaction date, and then obtaining the pre-stored slave preset time period.
  • the second transaction amount of the preset dimension transaction is performed from the start date to the date corresponding to a natural day before the transaction date, and finally the first transaction amount and the second transaction amount are summed.
  • transaction data with transaction date of July 5, 2017 is newly stored in the database.
  • the default dimension is the dimension of the trading company (such as Shanghai), so it needs to be recalculated from January 1, 2017 to 2017.
  • the institution that satisfies the transaction product belongs to the average daily asset size of the exchange in Shanghai.
  • the statistics from January 1, 2017 to July 5, 2017 will satisfy the total amount of transactions corresponding to the exchanges of the trading products affiliated to Shanghai.
  • the specific statistical method may be the first July 5, 2017.
  • the transaction company's affiliated company is the transaction amount corresponding to the exchange in Shanghai, and then the pre-stored transaction from January 1, 2017 to July 4, 2017 is satisfied from the database.
  • the institution is the transaction amount corresponding to the exchange of Shanghai, and finally the sum of the two is obtained from the transaction from January 1, 2017 to July 5, 2017. Amount.
  • the method saves the summation result of the transaction amount calculated in the previous day.
  • the first transaction amount corresponding to the dimension transaction and directly acquiring the previously stored second transaction amount corresponding to the preset dimension transaction from the start date of the preset time period to the date corresponding to the previous natural day of the transaction date, and finally the first transaction amount
  • the transaction amount can be summed with the second transaction amount.
  • the transaction from the start date of the preset time period to the transaction date satisfies the exchange corresponding to the transaction product affiliated in Shanghai.
  • the transaction amount, and the statistical method of summing the multiple transaction amounts reduces the calculation amount and effectively shortens the calculation time.
  • Step 406 Calculate the duration from the start date of the preset time period to the transaction date.
  • the duration is in "days”. Calculating the duration from the start date of the preset time period to the transaction date is used to calculate the daily average of the asset size corresponding to the transaction data.
  • Step 408 Calculate the average daily asset size corresponding to the changed transaction data according to the transaction amount and the duration.
  • Step 404 solves the ratio of the obtained transaction amount to the duration calculated in step 406, that is, the daily average of the asset size corresponding to the change transaction data corresponding to the transaction application date.
  • step 310 includes:
  • Step 502 If the transaction indicator is the average value of the new daily asset size, the transaction date of the change transaction is obtained.
  • the trading indicator is the average daily asset size. Similarly, the trading indicator is calculated in “day”.
  • the change transaction is the detected changed transaction, including the transaction data newly stored to the transaction data storage server and the transaction data replaced at the transaction data storage server.
  • Step 504 Counting the subscription amount of the subscription transaction of the preset dimension from the start date of the preset time period to the transaction date, and the redemption transaction corresponding to the redemption transaction of the preset dimension from the start date of the preset time period to the transaction date.
  • the transaction type includes subscription and redemption; the trading duration is calculated in “day”.
  • the purchase amount of the purchase transaction of the preset dimension from the start date of the preset time period to the transaction date may be counted from the start date of the preset time period to the date corresponding to the previous natural day of the transaction date.
  • the subscription amount of the subscription transaction of the preset dimension is obtained by retrieving the previously purchased purchase amount of the subscription transaction with the preset dimension on the transaction date, and finally summing the two, reducing the calculation amount and effectively shortening the calculation time.
  • the cumulative total amount and the duration from the start date of the preset time period to the transaction date can also be counted by the above method, and the calculation time is shortened by reducing the calculation redundancy.
  • Step 506 Acquire a first balance of a transaction account corresponding to the pre-stored transaction of the preset dimension in the database until the end date of the previous preset time period.
  • the end date of the previous preset time period is the date corresponding to the last natural day of the previous time period of the time period in which the change transaction application date is located.
  • the preset time period is 1 year
  • the application date for the change transaction is April 2, 2017.
  • the termination date of the previous preset time period is December 31, 2016.
  • Step 508 Determine whether the redemption transaction amount is greater than or equal to the first balance, and if yes, proceed to step 510, otherwise proceed to step 518.
  • Step 510 Calculate, according to the purchase amount, the redemption amount, and the historical balance, the second balance of the transaction account corresponding to the transaction of the preset dimension as of the transaction application date.
  • the second balance of the transaction account corresponding to the transaction of the preset dimension may be calculated as the subscription amount of the subscription transaction of the preset dimension from the start date of the preset time period to the transaction date.
  • the transaction account corresponding to the transaction of the preset dimension is summed up to the first balance of the termination date of the previous preset time period, and the sum value is obtained; and the sum value is compared with the start date of the preset time period.
  • the redemption amount corresponding to the redemption transaction of the preset dimension to the transaction date is difference, and the obtained difference is the second balance.
  • step 512 it is determined whether the second balance is less than or equal to zero. If yes, the process proceeds to step 514, otherwise, the process proceeds to step 516.
  • Step 514 Calculate an average value of the newly added daily assets corresponding to the changed transaction data according to the accumulated new total amount and the duration.
  • the cumulative new total amount of the trading account corresponding to the transaction of the preset dimension from the start date of the preset time period to the transaction date and the start date of the preset time period may be calculated.
  • the ratio of the duration to the transaction date is the average daily asset size of the change transaction data corresponding to the change transaction application date.
  • Step 516 Calculate the average value of the new daily asset size corresponding to the changed transaction data according to the accumulated amount and the second balance and the duration.
  • the transaction account corresponding to the transaction of the preset dimension may be firstly used from the start date of the preset time period to the accumulated new total of the transaction date and the transaction account corresponding to the transaction of the preset dimension.
  • the second balance of the transaction application date is summed to obtain a sum value; and the ratio of the sum value to the duration corresponding to the transaction date from the start date of the preset time period is calculated, thereby obtaining the change transaction data corresponding to the change transaction.
  • Step 518 Calculate the average value of the newly added daily assets corresponding to the changed transaction data according to the accumulated new total amount, the purchase amount, and the duration.
  • the transaction account corresponding to the transaction of the preset dimension is firstly updated from the start date of the preset time period to the accumulated new total amount of the transaction date and the start of the preset time period.
  • the purchase amount of the purchase transaction of the preset dimension from the date to the transaction date is summed to obtain a sum value; the ratio of the sum value to the duration corresponding to the transaction date from the start date of the preset time period is calculated, thereby obtaining the change transaction
  • the data corresponds to the average daily asset size of the change transaction application date.
  • a transaction data processing apparatus including a transaction data update detection module 602, an update time acquisition module 604, a transaction index calculation time acquisition module 606, and a change transaction data acquisition module 608. And a transaction indicator calculation module 610, wherein:
  • the transaction data update detection module 602 is configured to detect whether the transaction data is updated, and the transaction data is data generated by performing a transaction operation on the transaction platform.
  • the update time obtaining module 604 is configured to acquire an update time of the transaction data if it is detected that the transaction data is updated.
  • the transaction indicator calculation time acquisition module 606 is configured to obtain a calculation time of a transaction indicator that is closest to the current time distance corresponding to the changed transaction data after the transaction data is changed, and the transaction indicator is used to measure the variation range of the transaction data in the preset time period.
  • the change transaction data obtaining module 608 is configured to compare the calculation time with the update time, and obtain the change transaction data if the update time is later than the calculation time.
  • the transaction indicator calculation module 610 is configured to calculate a transaction indicator value corresponding to the changed transaction data according to a preset calculation rule of the preset dimension and the transaction indicator.
  • the transaction indicator includes at least one of a daily asset size mean and an added daily asset size mean.
  • the preset dimension includes at least one of a transaction user dimension and an institutional dimension to which the transaction product belongs.
  • the transaction indicator calculation module 610 is configured to obtain the transaction date of the change transaction if the transaction indicator is the daily asset size mean value; and perform the preset dimension transaction on the start date to the transaction date of the preset time period. The transaction amount; calculating the duration from the start date of the preset time period to the transaction date; and calculating the average daily asset size corresponding to the change transaction data according to the transaction amount and duration.
  • the transaction indicator calculation module 610 is configured to obtain the transaction date of the change transaction if the transaction indicator is the new daily asset size mean value; the statistics are preset from the start date of the preset time period to the transaction date.
  • the purchase amount of the dimension purchase transaction, the redemption amount corresponding to the redemption transaction of the preset dimension from the start date of the preset time period to the transaction date, and the transaction account corresponding to the transaction of the preset dimension from the preset time period The cumulative total amount from the start date to the transaction date and the duration from the start date of the preset time period to the transaction date; the transaction account corresponding to the transaction pre-stored in the database for the preset dimension is up to the previous preset time.
  • the first balance of the expiration date of the period if the redemption transaction amount is greater than or equal to the first balance, the transaction account corresponding to the transaction of the preset dimension is calculated according to the purchase amount, the redemption amount and the first balance.
  • the second balance of the application date if the second balance is less than or equal to zero, the change transaction is calculated based on the accumulated new total amount and duration According to the corresponding new daily mean asset size; if the second balance is greater than zero, the asset size of the average new daily cumulative amount corresponding to the second and balances, and the length of the calculation is changed in accordance with transaction data.
  • the transaction indicator calculation module 610 is configured to calculate, according to the accumulated new total amount, the purchase amount, and the duration, the new daily asset size corresponding to the change transaction data, if the redemption transaction amount is less than the first balance. Mean.
  • Each of the above-described transaction data processing devices may be implemented in whole or in part by software, hardware, and combinations thereof.
  • Each of the above modules may be embedded in or independent of the processor in the computer device, or may be stored in a memory in the computer device in a software form to facilitate the processor to invoke the operations corresponding to the above modules.
  • a computer device comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by the processor such that the one or more processors perform the step of detecting whether the transaction data has occurred Update, the transaction data is data generated by trading operations on the trading platform; if yes, the update time of the transaction data is acquired; and the calculation time of the transaction indicator closest to the current time corresponding to the changed transaction data after the transaction data is changed is acquired.
  • the transaction indicator is used to measure the change range of the transaction data in the preset time; the calculation time is compared with the update time, and if the update time is later than the calculation time, the change transaction data is acquired; and the preset according to the preset dimension and the transaction indicator
  • the calculation rule calculates the value of the transaction indicator corresponding to the changed transaction data.
  • the processor performs a step of calculating a transaction indicator value corresponding to the changed transaction data according to a preset calculation rule of the preset dimension and the transaction indicator, including: if the transaction indicator is the daily asset size mean, acquiring the change transaction The transaction date; the transaction amount of the preset dimension transaction is calculated from the start date to the transaction date of the preset time period; the time from the start date of the preset time period to the transaction date is calculated; and the transaction amount and duration are calculated.
  • the average daily asset size corresponding to the change transaction data including: if the transaction indicator is the daily asset size mean, acquiring the change transaction The transaction date; the transaction amount of the preset dimension transaction is calculated from the start date to the transaction date of the preset time period; the time from the start date of the preset time period to the transaction date is calculated; and the transaction amount and duration are calculated.
  • the average daily asset size corresponding to the change transaction data including: if the transaction indicator is the daily asset size mean, acquiring the change transaction The transaction date; the transaction amount of the preset dimension transaction
  • the processor performs a step of calculating a transaction indicator value corresponding to the changed transaction data according to a preset calculation rule of the preset dimension and the transaction indicator, including: if the transaction indicator is the average value of the newly added daily asset size, acquiring Change the transaction date of the transaction; count the purchase amount of the purchase transaction of the preset dimension from the start date of the preset time period to the transaction date, and the redemption transaction of the preset dimension from the start date of the preset time period to the transaction date Corresponding redemption amount, transaction account corresponding to the transaction of the preset dimension, the cumulative new total amount from the start date of the preset time period to the transaction date, and the duration corresponding to the transaction date from the start date of the preset time period; Obtaining the first balance of the transaction account corresponding to the pre-stored transaction of the preset dimension in the database until the termination date of the previous preset time period; if the redemption transaction amount is greater than or equal to the first balance, according to the purchase amount, The redemption amount and the first balance are calculated as the
  • the second balance if the second balance is less than or equal to zero, the average daily asset size corresponding to the changed transaction data is calculated according to the accumulated new total amount and duration; and if the second balance is greater than zero, according to the accumulated amount and The second balance and the duration calculate the average daily asset size corresponding to the change transaction data.
  • the processor performs a step of calculating a transaction indicator value corresponding to the changed transaction data according to a preset calculation rule of the preset dimension and the transaction indicator, and further comprising: if the redemption transaction amount is less than the first balance, according to The accumulated new total amount and the purchase amount and the duration calculate the average daily asset size corresponding to the change transaction data.
  • the preset dimension includes at least one of a transaction user dimension and an institutional dimension to which the transaction product belongs.
  • a computer readable storage medium having stored thereon computer readable instructions, the program being executed by the processor to: detect whether the transaction data has been updated, and the transaction data is on the transaction platform The data generated by the transaction operation; if yes, the update time of the transaction data is acquired; the calculation time of the transaction indicator closest to the current time corresponding to the changed transaction data after the transaction data is changed is acquired, and the transaction indicator is used to measure the preset The change range of the transaction data in the time; compare the calculation time with the update time; if the update time is later than the calculation time, obtain the change transaction data; and calculate the change transaction data according to the preset dimension and the preset calculation rule of the transaction indicator The trading indicator value.
  • the transaction indicator includes at least one of a daily asset size mean and an added daily asset size mean.
  • the processor performs a step of calculating a transaction indicator value corresponding to the changed transaction data according to a preset calculation rule of the preset dimension and the transaction indicator, including: if the transaction indicator is the daily asset size mean, acquiring the change transaction The transaction date; the transaction amount of the preset dimension transaction is calculated from the start date to the transaction date of the preset time period; the time from the start date of the preset time period to the transaction date is calculated; and the transaction amount and duration are calculated.
  • the average daily asset size corresponding to the change transaction data including: if the transaction indicator is the daily asset size mean, acquiring the change transaction The transaction date; the transaction amount of the preset dimension transaction is calculated from the start date to the transaction date of the preset time period; the time from the start date of the preset time period to the transaction date is calculated; and the transaction amount and duration are calculated.
  • the average daily asset size corresponding to the change transaction data including: if the transaction indicator is the daily asset size mean, acquiring the change transaction The transaction date; the transaction amount of the preset dimension transaction
  • the processor performs a step of calculating a transaction indicator value corresponding to the changed transaction data according to a preset calculation rule of the preset dimension and the transaction indicator, including: if the transaction indicator is the average value of the newly added daily asset size, acquiring Change the transaction date of the transaction; count the purchase amount of the purchase transaction of the preset dimension from the start date of the preset time period to the transaction date, and the redemption transaction of the preset dimension from the start date of the preset time period to the transaction date Corresponding redemption amount, transaction account corresponding to the transaction of the preset dimension, the cumulative new total amount from the start date of the preset time period to the transaction date, and the duration corresponding to the transaction date from the start date of the preset time period; Obtaining the first balance of the transaction account corresponding to the pre-stored transaction of the preset dimension in the database until the termination date of the previous preset time period; if the redemption transaction amount is greater than or equal to the first balance, according to the purchase amount, The redemption amount and the first balance are calculated as the
  • the second balance if the second balance is less than or equal to zero, the average daily asset size corresponding to the changed transaction data is calculated according to the accumulated new total amount and duration; and if the second balance is greater than zero, according to the accumulated amount and The second balance and the duration calculate the average daily asset size corresponding to the change transaction data.
  • the processor performs a step of calculating a transaction indicator value corresponding to the changed transaction data according to a preset calculation rule of the preset dimension and the transaction indicator, and further comprising: if the redemption transaction amount is less than the first balance, according to The accumulated new total amount and the purchase amount and the duration calculate the average daily asset size corresponding to the change transaction data.
  • the preset dimension includes at least one of a transaction user dimension and an institutional dimension to which the transaction product belongs.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • Synchlink DRAM SLDRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

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

Abstract

一种交易数据处理方法,包括:检测交易数据是否发生更新,交易数据是在交易平台上进行交易操作而产生的数据;若是,则获取交易数据的更新时间;获取交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,交易指标用于衡量预设时间内交易数据的变化幅度;将计算时间与更新时间进行比较,若更新时间晚于所述计算时间,则获取变更交易数据;及按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值。

Description

交易数据处理方法、装置、存储介质和计算机设备
本申请要求于2017年09月05日提交中国专利局,申请号为2017107924038,申请名称为“交易数据处理方法、装置、存储介质和计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及一种交易数据处理方法、装置、计算机设备和存储介质。
背景技术
交易数据是用户直接或间接在交易平台进行买卖交易产生的数据,如交易日期,交易产品的单位净值(即单价)和份额(即数量)等。
传统的交易数据处理方法是从单一的交易平台获取交易数据,再根据预先设置的交易指标计算方法一次性计算获取的交易数据对应的交易指标数值。然而,发明人意识到,当交易平台的交易数据发生变更,传统的交易数据处理方法无法自动重新计算对应的交易指标,使得已有的交易指标数据不再正确。
发明内容
根据本申请公开的各种实施例,提供一种交易数据处理方法、装置、计算机设备和存储介质。
一种交易数据处理方法,包括:检测交易数据是否发生更新,所述交易数据是在交易平台上进行交易操作而产生的数据;若是,则获取所述交易数据的更新时间;获取所述交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,所述交易指标用于衡量预设时间内交易数据的变化幅度;将所述计算时间与所述更新时间进行比较,若所述更新时间晚于所述计算时间,则获取所述变更交易数据;及按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值。
一种交易数据处理装置,包括:交易数据更新检测模块,用于检测交易数据是否发生更新,所述交易数据是在交易平台上进行交易操作而产生的数据;更新时间获取模块,用于若检测到交易数据发生更新,则获取交易数据的更新时间;交易指标计算时间获取模块,用于获取所述交易数据发生变更后的变更 交易数据对应的与当前时间距离最近的交易指标的计算时间,所述交易指标用于衡量预设时间内交易数据的变化幅度;变更交易数据获取模块,用于将所述计算时间与所述更新时间进行比较,若所述更新时间晚于所述计算时间,则获取所述变更交易数据;及交易指标计算模块,用于按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值。
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的交易数据处理方法的步骤。
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的交易数据处理方法的步骤。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为根据一个或多个实施例中交易数据处理方法的应用环境图;
图2为根据一个或多个实施例中计算机设备的框图;
图3为根据一个或多个实施例中交易数据处理方法的流程示意图;
图4为根据一个或多个实施例中变更交易数据对应的交易指标计算方法的流程示意图;
图5为另一个实施例中变更交易数据对应的交易指标计算方法的流程示意图;
图6为根据一个或多个实施例中交易数据处理装置的框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅 仅用以解释本申请,并不用于限定本申请。
本申请实施例提供的交易数据处理方法,可应用于如图1所示的应用环境中。查询服务器102定时向交易数据存储服务器104发送交易数据变更记录的获取请求,若接收到交易数据存储服务器104返回的交易数据变更记录,则解析该交易数据变更记录获取交易数据的更新时间;再向交易指标数据存储服务器106发送交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标计算时间的获取请求,若接收到交易指标数据存储服务器106返回的计算时间,且前述更新时间晚于该计算时间,则从交易数据存储服务器104中获取变更交易数据,并将该变更交易数据发送给交易指标计算服务器108;交易指标计算服务器108接收到查询服务器102发送的变更交易数据,按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值,并将计算出的交易指标数值存储到交易指标数据存储服务器106。
在其中一个实施例中,如图2所示,提供了一种计算机设备,该计算机设备可以是如图1中所示的查询服务器。该计算机设备包括通过系统总线连接的处理器、非易失性存储介质、内存储器和网络连接口。非易失性存储介质中存储有操作系统和计算机可读指令。非易失性存储介质可以是非易失性计算机可读存储介质。该计算机程序计算机可读指令用于实现本申请实施例中提供的适用于计算机设备的交易数据处理方法。处理器用于提高计算和控制能力,支撑整个计算机设备的运行。内存储器用于为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。计算机设备的网络接口用于据以与外部的终端通过网络连接通信,比如接收终端发送的交易指标计算请求以及向终端返回交易指标计算结果等。本实施例中,计算机设备是服务器,且计算机设备可以用独立的服务器或者是多个服务器组成的服务器集群来实现。本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在其中一个实施例中,如图3所示,提供了一种交易数据处理方法,以应用于图1提供的服务器为例进行说明,具体步骤包括:
步骤302,检测交易数据是否发生更新,交易数据是在交易平台上进行交易操作而产生的数据。
交易数据是从与交易平台对应的数据源中获取并存储在交易数据服务器中 的。其中,数据源的个数没有限定,可以是一个或多个;交易数据包括交易日期,交易类型(包括申购和赎回),交易产品信息(包括交易产品名称、交易产品标识等)、交易用户信息(包括交易用户名称,交易用户标识等)等。
交易数据的获取方式可以是实时获取,也可以是定期获取。若采取定期获取的方式,则具体可通过如下步骤来获取:根据预先建立的交易数据开关表定期(如每日一次)生成对应于交易日期的开关记录,其中,交易数据开关表用于控制交易数据的处理流程,包括开关类型,用于标识交易数据的数据源和交易产品类型(如001资管产品,其中“001”标识资管产品的数据源)、交易日期、数据状态(初始状态为“待获取”,即准备从数据源中获取)和数据同步时间(即将交易数据从数据源同步到系统的交易数据存储服务器的时间);定期检测检测开关表中的数据状态;若检测到数据状态为“待获取”,则根据开关类型和交易日期向交易平台发送获取交易数据请求,并将数据状态翻转为“获取中”;若成功接收到数据源返回的与开关类型和交易日期对应的交易数据,则将数据状态翻转为“已获取”,并将获取到的交易数据存储至交易数据存储服务器。
因数据源可能发生错传、漏传和误传交易数据的情况,需要定期检测交易数据是否发生更新。具体地,可通过查找交易数据的更新记录来检测交易数据的更新与否,若成功获取到更新记录则交易数据发生了更新,反之则交易数据没有发生更新。
步骤304,若是,则获取交易数据的更新时间。
交易数据存储服务器中存储了交易数据的更新记录,包括更新时间,更新处理人员标识和更新后的交易数据等。步骤306,获取交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,交易指标用于衡量预设时间内交易数据的变化幅度。变更交易数据为与发生变化的交易数据对应的更新后交易数据,这里的变化指的是预设交易数据字段对应的值发生变化,预设交易数据字段包括交易时间,交易金额和交易类型等交易属性,如交易金额由10000元变为15000元。交易指标用于衡量预设时间内交易数据的变化幅度,具体地,可以是每日资产规模均值、新增每日资产规模均值等。
步骤308,将计算时间与更新时间进行比较,若更新时间晚于计算时间,则获取变更交易数据。
通过将变更交易数据对应的与当前时间距离最近的交易指标的计算时间与交易数据的更新时间进行比较,从而判断出是否要进行交易指标的重新计算。 比如说,数据源服务器在2017年7月2日上午6点传送给交易数据存储服务器的交易数据是:交易用户甲在2017年7月1日上午10点申购了5000元的交易产品A,后来,数据源服务器在2017年7月2日中午12点又传送给交易数据存储服务器一笔交易数据:该交易用户在当天下午2点追加了3000元申购了该交易产品,又知“交易用户甲在2017年7月1日上午10点申购了5000元的交易产品A”对应的交易指标计算时间是2017年7月2日早上2点,而该交易指标计算时间早于交易数据更新时间“2017年7月2日中午12点”,因此,需要重新计算交易数据对应的交易指标。
步骤310,按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值。
预设维度包括交易用户维度和交易产品所属机构维度中的至少一种。具体的,用户维度的表现形式可以是用户名称,也可以是用户标识(如用户身份证号)等,且用户维度可以是具体的个体用户维度,也可以是个体所在的企业维度或公司维度;交易产品所属机构维度的表现形式可以是交易产品所属机构名称,也可以是在其他实施例中,预设维度可以不局限于列举出来的交易用户维度和交易产品所属机构维度,还可进行适当的扩展,如交易产品维度等。交易指标的预设计算规则是预先设置的根据交易指标的定义建立的计算模型。
按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值具体的实现方式为:在成功执行了步骤310后,可在交易数据开关表中生成与交易申请至预设终止日期对应的开关记录,开关记录中设置数据状态为待计算交易指标;定期检测开关表中开关记录对应的数据状态,若检测到数据状态为待计算交易数据,则将该开关记录对应的交易数据按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值。预设终止日期是根据交易的具体执行时间确定的。
例如:可在交易平台上进行24小时交易操作的交易(如日常生活用品,家电等买卖交易),当需要计算交易指标(如交易平台的日均交易金额)时,必须要在交易日期后的一天或更多天后才能计算截止到交易申请日期的日均交易金额,当数据源服务器将交易平台上某一天的部分交易数据漏传给本系统的交易数据存储服务器,那么预设终止日期可为系统当前日期的前一个自然日对应的日期,比如:数据源存储的2017年7月2日的交易数据中有部分漏传给本系统的交易存储数据服务器,经发现后补传至本系统的交易存储数据服务器,那么 对于从2017年7月2日至系统当前日期(2017年7月10日)的前一个自然日对应的日期(2017年7月9日)对应的交易数据都要进行交易指标的重新计算;而在有严格交易时间限制的交易平台上进行交易操作的交易(如基金等交易),交易指标的计算日期可与交易日期相同,只需保证交易指标的具体计算时间在交易时间之后即可。当数据源服务器将交易平台上某一天的部分交易数据漏传给本系统的交易数据存储服务器,若当前时间晚于预设的交易指标计算时间,那么预设终止日期为系统当前日期,若当前时间早于预设的交易指标计算时间,那么预设终止日期为系统当前日期的前一个自然日对应的日期。比如:基金交易时间为上午9:30至下午3:00,那么交易指标的计算时间可设置为下午4:00,现在数据源存储的2017年7月2日的交易数据中有部分漏传给本系统的交易存储数据服务器,经发现后于补传至本系统的交易存储数据服务器,若系统当前时间是下午4:30,那么对于从交易日期(2017年7月2日)至系统当前日期(2017年7月10日)对应的交易数据都要进行交易指标的重新计算。
上述交易数据处理方法中,通过将变更交易数据对应的与当前时间距离最近的交易指标的计算时间与交易数据的更新时间进行比较,若前者早于后者,则说明交易数据已发生更新,却未进行相应的交易指标计算,再通过按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值,实现了交易数据对应的交易指标自动重计算,从而保证了交易指标数值的正确性。
在其中一个实施例中,如图4所示,步骤310包括:
步骤402,若交易指标为每日资产规模均值,则获取变更交易的交易日期。
交易指标为每日资产规模均值,则该交易指标以“日”为计算单位。变更交易即为检测到的发生变化的交易,包括新存储到交易数据存储服务器的交易数据和进行替换的交易数据。
步骤404,统计在预设时间周期的起始日期至交易日期进行预设维度交易的交易金额。
预设时间周期的起始日期是预先设置的用于计算交易指标的起始日期,如预设时间周期是1年,预设时间周期的起始日期是1月1日。预设维度可以是交易用户维度也可以是交易产品所属机构维度。
统计在预设时间周期的起始日期至交易日期进行预设维度交易的交易金额,可通过先统计在交易日期进行预设维度交易的第一交易金额,再获取预先存储的从预设时间周期的起始日期至交易日期前一个自然日对应的日期进行预 设维度交易的第二交易金额,最后将第一交易金额和第二交易金额求和处理。例如,现在有交易日期是2017年7月5日的交易数据新存储到数据库中,预设维度是交易产品所属机构(如上海)维度,那么需要重新计算从2017年1月1日到2017年7月5日进行的交易中满足交易产品所属机构是上海的交易所对应的每日资产规模均值。首先,统计从2017年1月1日到2017年7月5日进行的交易中满足交易产品所属机构是上海的交易所对应的交易总金额,具体的统计方式可以是先统计2017年7月5日进行的交易中满足交易产品所属机构是上海的交易所对应的交易金额,再从数据库中获取预先存储的从2017年1月1日到2017年7月4日进行的交易中满足交易产品所属机构是上海的交易所对应的交易金额,最后将两者求和得到从2017年1月1日到2017年7月5日进行的交易中满足交易产品所属机构是上海的交易所对应的交易总金额。该方法是将以前每天计算的交易金额求和结果保存起来,当计算从预设时间周期的起始日期至交易日期进行预设维度交易对应的交易金额时,只需要统计在交易日期进行预设维度交易对应的第一交易金额,再直接获取先前存储的从预设时间周期的起始日期至交易日期前一自然日对应的日期进行预设维度交易对应的第二交易金额,最后将第一交易金额与第二交易金额求和即可,相对于传统的以天为单位逐个统计从预设时间周期的起始日期至交易日期进行的交易中满足交易产品所属机构是上海的交易所对应多个交易金额,再将该多个交易金额进行求和的统计方法,减少了计算量,有效缩短了计算时间。
步骤406,计算预设时间周期的起始日期至交易日期对应的时长。
时长以“日”为单位。计算预设时间周期的起始日期至交易日期对应的时长用于后续计算交易数据对应的每日资产规模均值。
步骤408,根据交易金额和时长,计算出变更交易数据对应的每日资产规模均值。
步骤404求解得到的交易金额和步骤406计算的时长的比值,即为变更交易数据对应于其交易申请日期的每日资产规模均值。
在其中一个实施例中,如图5所示,步骤310包括:
步骤502,若交易指标为新增每日资产规模均值,则获取变更交易的交易日期。
交易指标为新增每日资产规模均值,同样地,该交易指标以“日”为计算单位。变更交易即为检测到的发生变化的交易,包括新存储到交易数据存储服 务器的交易数据和在交易数据存储服务器进行替换的交易数据。
步骤504,统计从预设时间周期的起始日期至交易日期进行预设维度的申购交易的申购金额、从预设时间周期的起始日期至交易日期进行预设维度的赎回交易对应的赎回金额、进行预设维度的交易对应的交易账户从预设时间周期的起始日期至交易日期的累计新进总额以及从预设时间周期的起始日期至交易日期对应的时长。
交易类型包括申购和赎回;交易时长以“日”为计算单位。具体地,统计从预设时间周期的起始日期至交易日期进行预设维度的申购交易的申购金额,可先统计从预设时间周期的起始日期至交易日期前一自然日对应的日期进行预设维度的申购交易的申购金额,再获取先前存储的在交易日期进行预设维度的申购交易的申购金额,最后将两者进行求和处理,减少了计算量,有效缩短了计算时间。同样地,累计新进总额和从预设时间周期的起始日期至交易日期对应的时长也可以用上述的方法进行统计,通过减少计算冗余,缩短了计算时间。
步骤506,获取数据库中预存的进行预设维度的交易对应的交易账户截止到前一个预设时间周期的终止日期的第一余额。
前一个预设时间周期的终止日期为变更交易申请日期所在的时间周期的前一个时间周期的最后一个自然日对应的日期。例如:预设时间周期是1年,变更交易的申请日期是2017年4月2日,则前一个预设时间周期的终止日期为2016年12月31日。
步骤508,判断赎回交易金额是否大于或等于第一余额,若是则进入步骤510,若否则进入步骤518。
步骤510,根据申购金额、赎回金额和历史余额计算出进行预设维度的交易对应的交易账户截止到交易申请日期的第二余额。
进行预设维度的交易对应的交易账户截止到交易申请日期的第二余额的计算方式可为:先对从预设时间周期的起始日期至交易日期进行预设维度的申购交易的申购金额与进行预设维度的交易对应的交易账户截止到前一个预设时间周期的终止日期的第一余额进行求和,得到和值;再对该和值与从预设时间周期的起始日期至交易日期进行预设维度的赎回交易对应的赎回金额求差,得到的差值即为第二余额。
步骤512,判断第二余额是否小于或等于零,若是则进入步骤514,若否则进入步骤516。
步骤514,根据累计新进总额和时长计算出变更交易数据对应的新增每日资产规模均值。
当第二余额小于或等于零,则可通过计算进行预设维度的交易对应的交易账户从预设时间周期的起始日期至交易日期的累计新进总额与从预设时间周期的起始日期至交易日期对应的时长的比值,得到变更交易数据对应于变更交易申请日期的每日资产规模均值。
步骤516,根据累计金额和第二余额以及时长计算变更交易数据对应的新增每日资产规模均值。
当第二余额大于零,则可先对进行预设维度的交易对应的交易账户从预设时间周期的起始日期至交易日期的累计新进总额与进行预设维度的交易对应的交易账户在交易申请日期的第二余额进行求和,得到和值;再计算该和值与从预设时间周期的起始日期至交易日期对应的时长的比值,从而得到变更交易数据对应于变更交易申请日期的每日资产规模均值
步骤518,根据累计新进总额和申购金额以及时长计算出变更交易数据所对应的新增每日资产规模均值。
当赎回交易金额小于第一余额,则先将进行预设维度的交易对应的交易账户从预设时间周期的起始日期至交易日期的累计新进总额与从预设时间周期的起始日期至交易日期进行预设维度的申购交易的申购金额进行求和,得到和值;在计算该和值与从预设时间周期的起始日期至交易日期对应的时长的比值,从而得到变更交易数据对应于变更交易申请日期的每日资产规模均值。
在其中一个实施例中,如图6所示,提供了一种交易数据处理装置,包括交易数据更新检测模块602、更新时间获取模块604、交易指标计算时间获取模块606、变更交易数据获取模块608和交易指标计算模块610,其中:
交易数据更新检测模块602,用于检测交易数据是否发生更新,交易数据是在交易平台上进行交易操作而产生的数据。
更新时间获取模块604,用于若检测到交易数据发生更新,则获取交易数据的更新时间。
交易指标计算时间获取模块606,用于获取交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,交易指标用于衡量预设时间内交易数据的变化幅度。
变更交易数据获取模块608,用于将计算时间与更新时间进行比较,若更新 时间晚于计算时间,则获取变更交易数据。
交易指标计算模块610,用于按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值。
在其中一个实施例中,交易指标包括每日资产规模均值和新增每日资产规模均值中的至少一种。
在其中一个实施例中,预设维度包括交易用户维度和交易产品所属机构维度中的至少一种。
在其中一个实施例中,交易指标计算模块610用于若交易指标为每日资产规模均值,则获取变更交易的交易日期;统计在预设时间周期的起始日期至交易日期进行预设维度交易的交易金额;计算预设时间周期的起始日期至交易日期对应的时长;根据交易金额和时长,计算出变更交易数据对应的每日资产规模均值。
在其中一个实施例中,交易指标计算模块610用于若交易指标为新增每日资产规模均值,则获取变更交易的交易日期;统计从预设时间周期的起始日期至交易日期进行预设维度的申购交易的申购金额、从预设时间周期的起始日期至交易日期进行预设维度的赎回交易对应的赎回金额、进行预设维度的交易对应的交易账户从预设时间周期的起始日期至交易日期的累计新进总额以及从预设时间周期的起始日期至交易日期对应的时长;获取数据库中预存的进行预设维度的交易对应的交易账户截止到前一个预设时间周期的终止日期的第一余额;若赎回交易金额大于或等于第一余额,则根据申购金额、赎回金额和第一余额计算出进行预设维度的交易对应的交易账户在交易申请日期的第二余额;若第二余额小于或等于零,则根据累计新进总额和时长计算出变更交易数据对应的新增每日资产规模均值;若第二余额大于零,则根据累计金额和第二余额以及时长计算变更交易数据对应的新增每日资产规模均值。
在其中一个实施例中,交易指标计算模块610用于若赎回交易金额小于第一余额,则根据累计新进总额和申购金额以及时长计算出变更交易数据所对应的新增每日资产规模均值。
关于交易数据处理装置的具体限定可以参见上文中对于交易数据处理方法的限定,在此不再赘述。上述交易数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以 便于处理器调用执行以上各个模块对应的操作。
一种计算机设备,包括存储器和一个或多个处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时,使得一个或多个处理器执行以下步骤:检测交易数据是否发生更新,交易数据是在交易平台上进行交易操作而产生的数据;若是,则获取交易数据的更新时间;获取交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,交易指标用于衡量预设时间内交易数据的变化幅度;将计算时间与更新时间进行比较,若更新时间晚于计算时间,则获取变更交易数据;及按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值。
在其中一个实施例中,处理器执行按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值的步骤,包括:若交易指标为每日资产规模均值,则获取变更交易的交易日期;统计在预设时间周期的起始日期至交易日期进行预设维度交易的交易金额;计算预设时间周期的起始日期至交易日期对应的时长;及根据交易金额和时长,计算出变更交易数据对应的每日资产规模均值。
在其中一个实施例中,处理器执行按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值的步骤,包括:若交易指标为新增每日资产规模均值,则获取变更交易的交易日期;统计从预设时间周期的起始日期至交易日期进行预设维度的申购交易的申购金额、从预设时间周期的起始日期至交易日期进行预设维度的赎回交易对应的赎回金额、进行预设维度的交易对应的交易账户从预设时间周期的起始日期至交易日期的累计新进总额以及从预设时间周期的起始日期至交易日期对应的时长;获取数据库中预存的进行预设维度的交易对应的交易账户截止到前一个预设时间周期的终止日期的第一余额;若赎回交易金额大于或等于第一余额,则根据申购金额、赎回金额和第一余额计算出进行预设维度的交易对应的交易账户在交易申请日期的第二余额;若第二余额小于或等于零,则根据累计新进总额和时长计算出变更交易数据对应的新增每日资产规模均值;及若第二余额大于零,则根据累计金额和第二余额以及时长计算变更交易数据对应的新增每日资产规模均值。
在其中一个实施例中,处理器执行按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值的步骤,还包括:若赎回交易金额小于第一余额,则根据累计新进总额和申购金额以及时长计算出变更交易数据所 对应的新增每日资产规模均值。
在其中一个实施例中,预设维度包括交易用户维度和交易产品所属机构维度中的至少一种。
在其中一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机可读指令,该程序被处理器执行时实现如下步骤:检测交易数据是否发生更新,交易数据是在交易平台上进行交易操作而产生的数据;若是,则获取交易数据的更新时间;获取交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,交易指标用于衡量预设时间内交易数据的变化幅度;将计算时间与更新时间进行比较,若更新时间晚于计算时间,则获取变更交易数据;及按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值。
在其中一个实施例中,交易指标包括每日资产规模均值和新增每日资产规模均值中的至少一种。
在其中一个实施例中,处理器执行按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值的步骤,包括:若交易指标为每日资产规模均值,则获取变更交易的交易日期;统计在预设时间周期的起始日期至交易日期进行预设维度交易的交易金额;计算预设时间周期的起始日期至交易日期对应的时长;及根据交易金额和时长,计算出变更交易数据对应的每日资产规模均值。
在其中一个实施例中,处理器执行按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值的步骤,包括:若交易指标为新增每日资产规模均值,则获取变更交易的交易日期;统计从预设时间周期的起始日期至交易日期进行预设维度的申购交易的申购金额、从预设时间周期的起始日期至交易日期进行预设维度的赎回交易对应的赎回金额、进行预设维度的交易对应的交易账户从预设时间周期的起始日期至交易日期的累计新进总额以及从预设时间周期的起始日期至交易日期对应的时长;获取数据库中预存的进行预设维度的交易对应的交易账户截止到前一个预设时间周期的终止日期的第一余额;若赎回交易金额大于或等于第一余额,则根据申购金额、赎回金额和第一余额计算出进行预设维度的交易对应的交易账户在交易申请日期的第二余额;若第二余额小于或等于零,则根据累计新进总额和时长计算出变更交易数据对应的新增每日资产规模均值;及若第二余额大于零,则根据累计金额和第二余 额以及时长计算变更交易数据对应的新增每日资产规模均值。
在其中一个实施例中,处理器执行按照预设维度和交易指标的预设计算规则计算变更交易数据对应的交易指标数值的步骤,还包括:若赎回交易金额小于第一余额,则根据累计新进总额和申购金额以及时长计算出变更交易数据所对应的新增每日资产规模均值。
在其中一个实施例中,预设维度包括交易用户维度和交易产品所属机构维度中的至少一种。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种交易数据处理方法,包括:
    检测交易数据是否发生更新,所述交易数据是在交易平台上进行交易操作而产生的数据;
    若是,则获取所述交易数据的更新时间;
    获取所述交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,所述交易指标用于衡量预设时间内交易数据的变化幅度;
    将所述计算时间与所述更新时间进行比较,若所述更新时间晚于所述计算时间,则获取所述变更交易数据;及
    按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值。
  2. 根据权利要求1所述的方法,其特征在于,所述交易指标包括每日资产规模均值和新增每日资产规模均值中的至少一种。
  3. 根据权利要求2所述的方法,其特征在于,所述按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值的步骤,包括:
    若所述交易指标为每日资产规模均值,则获取所述变更交易的交易日期;
    统计在所述预设时间周期的起始日期至所述交易日期进行所述预设维度交易的交易金额;
    计算所述预设时间周期的起始日期至所述交易日期对应的时长;及
    根据所述交易金额和所述时长,计算出所述变更交易数据对应的每日资产规模均值。
  4. 根据权利要求2所述的方法,其特征在于,所述按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值的步骤,包括:
    若所述交易指标为新增每日资产规模均值,则获取所述变更交易的交易日期;
    统计从所述预设时间周期的起始日期至所述交易日期进行所述预设维度的申购交易的申购金额、从所述预设时间周期的起始日期至所述交易日期进行所述预设维度的赎回交易对应的赎回金额、进行所述预设维度的交易对应的交易账户从所述预设时间周期的起始日期至所述交易日期的累计新进总额以及从所述预设时间周期的起始日期至所述交易日期对应的时长;
    获取数据库中预存的进行预设维度的交易对应的交易账户截止到前一个所述预设时间周期的终止日期的第一余额;
    若所述赎回交易金额大于或等于所述第一余额,则根据所述申购金额、所述赎回金额和所述第一余额计算出进行预设维度的交易对应的交易账户在所述交易申请日期的第二余额;及
    若所述第二余额小于或等于零,则根据所述累计新进总额和所述时长计算出所述变更交易数据对应的所述新增每日资产规模均值;若所述第二余额大于零,则根据所述累计金额和所述第二余额以及所述时长计算所述变更交易数据对应的新增每日资产规模均值。
  5. 根据权利要求4所述的方法,其特征在于,所述按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值的步骤,包括:
    若所述赎回交易金额小于所述第一余额,则根据所述累计新进总额和所述申购金额以及所述时长计算出所述变更交易数据所对应的新增每日资产规模均值。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述预设维度包括交易用户维度和交易产品所属机构维度中的至少一种。
  7. 一种交易数据处理装置,包括:
    交易数据更新检测模块,用于检测交易数据是否发生更新,所述交易数据是在交易平台上进行交易操作而产生的数据;
    更新时间获取模块,用于若检测到交易数据发生更新,则获取所述交易数据的更新时间;
    交易指标计算时间获取模块,用于获取所述交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,所述交易指标用于衡量预设时间内交易数据的变化幅度;
    变更交易数据获取模块,用于将所述计算时间与所述更新时间进行比较,若所述更新时间晚于所述计算时间,则获取所述变更交易数据;及
    交易指标计算模块,用于按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值。
  8. 根据权利要求7所述的装置,其特征在于,所述交易指标计算模块还用于若所述交易指标为每日资产规模均值,则获取所述变更交易的交易日期;
    统计在所述预设时间周期的起始日期至所述交易日期进行所述预设维度交 易的交易金额;
    计算所述预设时间周期的起始日期至所述交易日期对应的时长;及
    根据所述交易金额和所述时长,计算出所述变更交易数据对应的每日资产规模均值。
  9. 根据权利要求7所述的装置,其特征在于,所述交易指标计算模块还用于若所述交易指标为新增每日资产规模均值,则获取所述变更交易的交易日期;
    统计从所述预设时间周期的起始日期至所述交易日期进行所述预设维度的申购交易的申购金额、从所述预设时间周期的起始日期至所述交易日期进行所述预设维度的赎回交易对应的赎回金额、进行所述预设维度的交易对应的交易账户从所述预设时间周期的起始日期至所述交易日期的累计新进总额以及从所述预设时间周期的起始日期至所述交易日期对应的时长;
    获取数据库中预存的进行预设维度的交易对应的交易账户截止到前一个所述预设时间周期的终止日期的第一余额;
    若所述赎回交易金额大于或等于所述第一余额,则根据所述申购金额、所述赎回金额和所述第一余额计算出进行预设维度的交易对应的交易账户在所述交易申请日期的第二余额;及
    若所述第二余额小于或等于零,则根据所述累计新进总额和所述时长计算出所述变更交易数据对应的所述新增每日资产规模均值;若所述第二余额大于零,则根据所述累计金额和所述第二余额以及所述时长计算所述变更交易数据对应的新增每日资产规模均值。
  10. 根据权利要求9所述的装置,其特征在于,所述交易指标计算模块还用于若所述赎回交易金额小于所述第一余额,则根据所述累计新进总额和所述申购金额以及所述时长计算出所述变更交易数据所对应的新增每日资产规模均值。
  11. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    检测交易数据是否发生更新,所述交易数据是在交易平台上进行交易操作而产生的数据;
    若是,则获取所述交易数据的更新时间;
    获取所述交易数据发生变更后的变更交易数据对应的与当前时间距离最近 的交易指标的计算时间,所述交易指标用于衡量预设时间内交易数据的变化幅度;
    将所述计算时间与所述更新时间进行比较,若所述更新时间晚于所述计算时间,则获取所述变更交易数据;及
    按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值。
  12. 根据权利要求11所述的存储介质,其特征在于,所述交易指标包括每日资产规模均值和新增每日资产规模均值中的至少一种,所述计算机可读指令被所述处理器执行时还执行以下步骤:
    若所述交易指标为每日资产规模均值,则获取所述变更交易的交易日期;
    统计在所述预设时间周期的起始日期至所述交易日期进行所述预设维度交易的交易金额;
    计算所述预设时间周期的起始日期至所述交易日期对应的时长;及
    根据所述交易金额和所述时长,计算出所述变更交易数据对应的每日资产规模均值。
  13. 根据权利要求11所述的存储介质,其特征在于,所述交易指标包括每日资产规模均值和新增每日资产规模均值中的至少一种,所述计算机可读指令被所述处理器执行时还执行以下步骤:
    若所述交易指标为新增每日资产规模均值,则获取所述变更交易的交易日期;
    统计从所述预设时间周期的起始日期至所述交易日期进行所述预设维度的申购交易的申购金额、从所述预设时间周期的起始日期至所述交易日期进行所述预设维度的赎回交易对应的赎回金额、进行所述预设维度的交易对应的交易账户从所述预设时间周期的起始日期至所述交易日期的累计新进总额以及从所述预设时间周期的起始日期至所述交易日期对应的时长;
    获取数据库中预存的进行预设维度的交易对应的交易账户截止到前一个所述预设时间周期的终止日期的第一余额;
    若所述赎回交易金额大于或等于所述第一余额,则根据所述申购金额、所述赎回金额和所述第一余额计算出进行预设维度的交易对应的交易账户在所述交易申请日期的第二余额;及
    若所述第二余额小于或等于零,则根据所述累计新进总额和所述时长计算 出所述变更交易数据对应的所述新增每日资产规模均值;若所述第二余额大于零,则根据所述累计金额和所述第二余额以及所述时长计算所述变更交易数据对应的新增每日资产规模均值。
  14. 根据权利要求13所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:若所述赎回交易金额小于所述第一余额,则根据所述累计新进总额和所述申购金额以及所述时长计算出所述变更交易数据所对应的新增每日资产规模均值。
  15. 根据权利要求11至14中任一项所述的存储介质,其特征在于,所述预设维度包括交易用户维度和交易产品所属机构维度中的至少一种。
  16. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    检测交易数据是否发生更新,所述交易数据是在交易平台上进行交易操作而产生的数据;
    若是,则获取所述交易数据的更新时间;
    获取所述交易数据发生变更后的变更交易数据对应的与当前时间距离最近的交易指标的计算时间,所述交易指标用于衡量预设时间内交易数据的变化幅度;
    将所述计算时间与所述更新时间进行比较,若所述更新时间晚于所述计算时间,则获取所述变更交易数据;及
    按照预设维度和交易指标的预设计算规则计算所述变更交易数据对应的交易指标数值。
  17. 根据权利要求16所述的计算机设备,其特征在于,所述交易指标包括每日资产规模均值和新增每日资产规模均值中的至少一种,所述处理器执行所述计算机可读指令时还执行以下步骤:
    若所述交易指标为每日资产规模均值,则获取所述变更交易的交易日期;
    统计在所述预设时间周期的起始日期至所述交易日期进行所述预设维度交易的交易金额;
    计算所述预设时间周期的起始日期至所述交易日期对应的时长;及
    根据所述交易金额和所述时长,计算出所述变更交易数据对应的每日资产规模均值。
  18. 根据权利要求16所述的计算机设备,其特征在于,所述交易指标包括每日资产规模均值和新增每日资产规模均值中的至少一种,所述处理器执行所述计算机可读指令时还执行以下步骤:
    若所述交易指标为新增每日资产规模均值,则获取所述变更交易的交易日期;
    统计从所述预设时间周期的起始日期至所述交易日期进行所述预设维度的申购交易的申购金额、从所述预设时间周期的起始日期至所述交易日期进行所述预设维度的赎回交易对应的赎回金额、进行所述预设维度的交易对应的交易账户从所述预设时间周期的起始日期至所述交易日期的累计新进总额以及从所述预设时间周期的起始日期至所述交易日期对应的时长;
    获取数据库中预存的进行预设维度的交易对应的交易账户截止到前一个所述预设时间周期的终止日期的第一余额;
    若所述赎回交易金额大于或等于所述第一余额,则根据所述申购金额、所述赎回金额和所述第一余额计算出进行预设维度的交易对应的交易账户在所述交易申请日期的第二余额;及
    若所述第二余额小于或等于零,则根据所述累计新进总额和所述时长计算出所述变更交易数据对应的所述新增每日资产规模均值;若所述第二余额大于零,则根据所述累计金额和所述第二余额以及所述时长计算所述变更交易数据对应的新增每日资产规模均值。
  19. 根据权利要求18所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:若所述赎回交易金额小于所述第一余额,则根据所述累计新进总额和所述申购金额以及所述时长计算出所述变更交易数据所对应的新增每日资产规模均值。
  20. 根据权利要求16至19中任一项所述的计算机设备,其特征在于,所述预设维度包括交易用户维度和交易产品所属机构维度中的至少一种。
PCT/CN2018/084713 2017-09-05 2018-04-27 交易数据处理方法、装置、存储介质和计算机设备 WO2019047540A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710792403.8 2017-09-05
CN201710792403.8A CN107798057B (zh) 2017-09-05 2017-09-05 交易数据处理方法、装置、存储介质和计算机设备

Publications (1)

Publication Number Publication Date
WO2019047540A1 true WO2019047540A1 (zh) 2019-03-14

Family

ID=61531852

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084713 WO2019047540A1 (zh) 2017-09-05 2018-04-27 交易数据处理方法、装置、存储介质和计算机设备

Country Status (2)

Country Link
CN (1) CN107798057B (zh)
WO (1) WO2019047540A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798057B (zh) * 2017-09-05 2019-02-01 平安科技(深圳)有限公司 交易数据处理方法、装置、存储介质和计算机设备
CN108830706A (zh) * 2018-05-31 2018-11-16 阿里巴巴集团控股有限公司 数据处理方法及装置和电子设备
CN109087201B (zh) * 2018-06-21 2022-04-26 腾讯科技(深圳)有限公司 虚拟资源的数据处理方法、服务器及存储介质
CN109033468B (zh) * 2018-08-31 2022-09-16 创新先进技术有限公司 资源变动的处理方法及装置
CN109634971B (zh) * 2018-11-07 2024-01-23 平安科技(深圳)有限公司 数据更新方法、装置、设备及计算机可读存储介质
CN109544184B (zh) * 2018-11-27 2021-04-06 湖南共睹互联网科技有限责任公司 基于物联网的交易保障数据监测方法、终端及存储介质
CN110245868A (zh) * 2019-06-18 2019-09-17 财付通支付科技有限公司 一种数据处理方法、装置和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877112A (zh) * 2009-04-27 2010-11-03 美国银行公司 经济情报预报
CN102156933A (zh) * 2010-02-11 2011-08-17 阿里巴巴集团控股有限公司 统计电子商务交易数据的方法和统计系统
CN106934025A (zh) * 2017-03-13 2017-07-07 广州爱九游信息技术有限公司 一种账户数据管理方法、装置及服务器
CN106970998A (zh) * 2017-04-06 2017-07-21 北京奇虎科技有限公司 新闻数据的更新方法及装置
CN107798057A (zh) * 2017-09-05 2018-03-13 平安科技(深圳)有限公司 交易数据处理方法、装置、存储介质和计算机设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7752117B2 (en) * 2003-01-31 2010-07-06 Trading Technologies International, Inc. System and method for money management in electronic trading environment
CN101763618A (zh) * 2010-01-05 2010-06-30 刘明晶 金融投资决策信息品质检验方法
CN101799767B (zh) * 2010-03-05 2013-03-06 中国人民解放军国防科学技术大学 一种利用模拟器多种运行模式反复切换进行并行模拟的方法
CN102496126B (zh) * 2011-12-02 2015-04-22 中国工商银行股份有限公司 一种托管资产交易数据监控设备
CN103258388B (zh) * 2012-02-17 2015-09-02 日立(中国)研究开发有限公司 自动交易装置和服务器、以及用于预测现金需求量的方法
CN103970851B (zh) * 2014-05-05 2017-07-04 神华集团有限责任公司 海量凭证数据直接出具大型企业集团总部财务报表的方法
CN106210021A (zh) * 2016-07-05 2016-12-07 中国银行股份有限公司 金融应用系统联机业务的实时监控方法以及监控装置
CN106651582A (zh) * 2016-12-23 2017-05-10 郭建峰 基于指令流毒性指标的证券交易风险预警方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877112A (zh) * 2009-04-27 2010-11-03 美国银行公司 经济情报预报
CN102156933A (zh) * 2010-02-11 2011-08-17 阿里巴巴集团控股有限公司 统计电子商务交易数据的方法和统计系统
CN106934025A (zh) * 2017-03-13 2017-07-07 广州爱九游信息技术有限公司 一种账户数据管理方法、装置及服务器
CN106970998A (zh) * 2017-04-06 2017-07-21 北京奇虎科技有限公司 新闻数据的更新方法及装置
CN107798057A (zh) * 2017-09-05 2018-03-13 平安科技(深圳)有限公司 交易数据处理方法、装置、存储介质和计算机设备

Also Published As

Publication number Publication date
CN107798057B (zh) 2019-02-01
CN107798057A (zh) 2018-03-13

Similar Documents

Publication Publication Date Title
WO2019047540A1 (zh) 交易数据处理方法、装置、存储介质和计算机设备
US11444777B2 (en) Method and system for providing validated, auditable, and immutable inputs to a smart contract
US11651358B2 (en) Method and system for transaction processing with complete cryptographic auditability
Bermbach et al. Consistency in distributed storage systems: An overview of models, metrics and measurement approaches
CN105989059B (zh) 数据记录核对方法及装置
US20200111105A1 (en) Method and system for tracking and using carbon credits via blockchain
CN108920498B (zh) 数据查询方法、装置及设备
WO2019033741A1 (zh) 投资产品的资源处理方法、装置、存储介质和计算机设备
WO2017092599A1 (zh) 一种库存异常数据的检测方法、装置及电子设备
CN114386088A (zh) 数据校验方法、装置、计算机设备和存储介质
CN114416891B (zh) 在知识图谱中进行数据处理的方法、系统、装置和介质
CN108415990B (zh) 数据质量监控方法、装置、计算机设备和存储介质
US20090210453A1 (en) Service for verifying consistency of replicated data
WO2023034610A1 (en) Multi-blockchain token rebalancer
CN114969071A (zh) 一种数据更新方法及装置
CN110765148B (zh) 一种业务数据处理方法及装置
CN113094241A (zh) 一种实时程序准确性的确定方法、装置、设备及存储介质
CN111274255A (zh) 业务数据监控方法及系统、监控架构、设备、存储介质
US11768855B1 (en) Replicating data across databases by utilizing validation functions for data completeness and sequencing
CN108763247B (zh) 在数据迁移过程中处理用户请求的方法及装置
US12008017B2 (en) Replicating data across databases by utilizing validation functions for data completeness and sequencing
CN114881546B (zh) 一种确定资源消耗的方法和装置
CN114723533A (zh) 一种房租收入的结算数据生成方法、装置和电子设备
CN114201285A (zh) 事件异步化处理方法、装置、计算机设备及存储介质
JPWO2016143054A1 (ja) 市場リスク評価システムおよび市場リスク評価プログラム

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18854000

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18854000

Country of ref document: EP

Kind code of ref document: A1