WO2021139522A1 - Procédé et appareil de traitement de données - Google Patents

Procédé et appareil de traitement de données Download PDF

Info

Publication number
WO2021139522A1
WO2021139522A1 PCT/CN2020/138222 CN2020138222W WO2021139522A1 WO 2021139522 A1 WO2021139522 A1 WO 2021139522A1 CN 2020138222 W CN2020138222 W CN 2020138222W WO 2021139522 A1 WO2021139522 A1 WO 2021139522A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
transaction
payment
execution
target
Prior art date
Application number
PCT/CN2020/138222
Other languages
English (en)
Chinese (zh)
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 WO2021139522A1 publication Critical patent/WO2021139522A1/fr

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"
    • 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/22Payment schemes or models
    • G06Q20/24Credit schemes, i.e. "pay after"

Definitions

  • the embodiments of this specification relate to the field of data processing technology, and in particular to data processing methods and devices.
  • the amount of data consumed by the processing process is usually a balanced amount of data relative to the data outflow object, and the data outflow object is executed for different data transactions of the business to be processed
  • the consumption value of the data volume may also be different, and when the consumption value of the data volume reaches the numerical threshold, the amount of data provided for the data outflow object in the data account space of the data outflow object may not be the same.
  • the execution processing requirements of the data outflow object cannot be met, and the available data in the data account space of the data outflow object is called too much in a short time, it will cause pressure on the data outflow object to execute data transactions for other pending services. , And affect the efficiency of data transaction execution processing of other services to be processed, so a data processing method is urgently needed to solve the above problems.
  • the embodiments of this specification provide data processing methods and devices, transaction processing methods and devices, and involve six types of computing devices and six types of computer-readable storage media.
  • the first data processing method provided by the embodiment of this specification includes: obtaining metadata of a service to be processed; creating a segment data transaction of the service to be processed according to the metadata; The data execution information and data link of the execution segment; based on the execution mode submitted for at least one execution segment of the segment data transaction, analyze the segment data transaction to obtain the target data transaction corresponding to the execution mode Execute processing of the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction.
  • the data processing method further includes: determining the recommended number of execution segments pushed to the data outflow object according to the historical data log of the data outflow object of the segmented data transaction, and according to the data outflow object
  • the execution instructions submitted by the object with respect to the recommended number determine the number of execution stages of the segmented data transaction; or, according to the data record of the data inflow of the segmented data transaction, predict the data inflow time of the data into the object
  • the interval is to determine the duration and/or the number of execution stages of the segmented data transaction according to the data inflow time interval.
  • the analyzing the segmented data transaction based on the execution mode submitted for at least one execution segment of the segmented data transaction to obtain the target data transaction corresponding to the execution mode includes: When the execution condition of the execution segment of the segmented data transaction is triggered, the segmented data transaction is decomposed according to the segmented execution mode corresponding to the triggering of the execution condition of the segmented data transaction to obtain the The target data transaction corresponding to the execution mode; or, receiving the segment execution request submitted by the data outflow object of the segment data transaction for the at least one execution segment; based on the segment execution mode carried in the segment execution request, Decompose the segmented data transaction to obtain a target data transaction corresponding to the segmented execution mode; wherein, in the target data transaction corresponding to the segmented execution mode, the at least one execution segment is recorded
  • the target data execution information is determined based on the data execution information of the at least one execution segment, and the target data link is determined based on the data link of the at least one execution segment.
  • the performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction includes: reading the target data The data flow value corresponding to the at least one execution segment included in the execution information; according to the target data link, the data quota of the data account space of the data outflow object is deducted by the deduction quota corresponding to the data flow value , And, transferring the data resource corresponding to the data flow value from the actual data account corresponding to the data account space of the data outflow object to the data account of the segmented data transaction data inflow object; wherein, the target data The data node of the link corresponds to at least the data account space of the data outflow object and the data account of the data inflow object; the duration of the data settlement cycle of the data account space and the execution of the execution stage of the segmented data transaction The duration of the processing cycle is equal, the data quota of the data account space in the previous data settlement cycle is deducted from the deduction quota, and after the data settlement
  • the performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction includes: reading the target data The data flow value corresponding to the at least one execution segment included in the execution information; according to the target data link, the data resource corresponding to the data flow value is transferred from the data account of the data outflow object to the data inflow The data account of the object; wherein the start data node of the target data link corresponds to the data account of the data outflow object, and the terminating data node corresponds to the data account of the data inflow object.
  • the sub-step of reading the data flow value corresponding to the at least one execution stage contained in the target data execution information it further includes: according to the data flow value and the at least one execution stage correspondence Calculate the first execution additional data value corresponding to the at least one execution segment; perform the data settlement processing of the first execution additional data value on the data inflow object; wherein, the first execution additional data value A percentage of execution additional data, including the processing fee generated by performing processing of the segmented data transaction in the at least one execution segment, and the first execution additional calculated based on the proportion of the first execution additional data
  • the data value is borne by the data inflow object.
  • the analyzing the segmented data transaction based on the execution mode submitted for at least one execution segment of the segmented data transaction to obtain the target data transaction corresponding to the execution mode includes: receiving The pre-execution request submitted by the data inflow object of the segmented data transaction for the at least one execution segment; based on the pre-execution mode carried in the pre-execution request, the data execution information and data link corresponding to the at least one execution segment The path is assembled to obtain the target data transaction corresponding to the pre-execution mode.
  • the data execution information and data link corresponding to the at least one execution segment are assembled based on the pre-execution mode carried in the pre-execution request to obtain the target data transaction corresponding to the pre-execution mode , Including: calculating the total data flow value corresponding to the pre-execution request according to the target data execution information of the at least one execution segment corresponding to the pre-execution request; data flow objects and intermediate data based on the segmented data transaction The account path of the data accounts of the two objects determines the target data link; an intermediate data transaction is established based on the total data flow value and the target data link as the target data transaction; wherein the start of the target data link The initial data node corresponds to the data account of the intermediate data object, and the ending data node corresponds to the data account of the data inflow object.
  • the performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction includes: from the intermediate data object The data account applies for the data resource corresponding to the total data flow value to the data account of the data inflow object; according to the account path of the data account of both the data outflow object of the segmented data transaction and the intermediate data object, it is determined A segmented data link from the data outflow object to the intermediate data object; according to the segmented data link and the data execution information of the execution segment to be executed in the segmented data transaction, the segment is constructed The first segment data transaction of the execution segment to be executed in the data transaction; wherein the start data node of the segment data link corresponds to the data account of the data outflow object, and the end data node corresponds to the intermediate data The data account of the subject.
  • the step of performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction includes: When the execution condition of the execution segment of the first segment data transaction is triggered, read the first segment data flow value corresponding to the triggered execution segment in the first segment data transaction; according to the segment data Link, deducting the deduction amount corresponding to the first segment data flow value from the data quota of the data account space of the data outflow object, and the actual data account corresponding to the data account space of the data outflow object
  • the data resource corresponding to the first segment data flow value is transferred to the data account of the intermediate data object; wherein the duration of the data settlement cycle of the data account space is the same as the execution segment of the first segment data transaction The duration of the execution processing cycle is the same.
  • the data quota of the data account space is deducted from the deduction quota.
  • the deduction quota is The deduction of the data quota is updated
  • the sub-step of applying for the data resource corresponding to the total data flow value from the data account of the intermediate data object to the data account of the data inflow object it further includes: according to the total data flow value And the corresponding proportion of the second execution additional data, calculate the second execution additional data value; perform the data settlement processing of the second execution additional data value on the data inflow object; wherein, the proportion of the second execution additional data , Including the processing fee generated by performing the processing of the intermediate data transaction, and the second additional data value obtained by calculating the proportion of the second additional data to be executed is borne by the data inflow object.
  • the data processing method further includes: calculating the first execution additional data corresponding to the execution segment according to the first segment data flow value and the proportion of the first execution additional data corresponding to the execution segment Value; for the data inflow object to perform the data settlement processing of the first execution additional data value; wherein, the proportion of the first execution additional data includes performing the first segment data transaction in the execution segment
  • the processing fee rate generated by the execution of the processing is borne by the data inflow object based on the first execution additional data value obtained by calculating the proportion of the first execution additional data.
  • the step of performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction further includes: receiving the target data transaction.
  • the method further includes: When the execution condition of at least one of the remaining execution segments of the second segmented data transaction is triggered, read the second segment data flow value corresponding to the triggered remaining execution segment of the second segmented data transaction According to the second segmented data link, the data quota of the data account space of the data outflow object is deducted by the deduction quota corresponding to the second segmented data flow value, and, from the data outflow object
  • the actual data account corresponding to the data account space transfers the data resource corresponding to the second segmented data flow value to the data account of the intermediate data object; wherein the duration of the data settlement period of the data account space is the same as that of the The duration of the execution processing cycle of the remaining execution stages of the second segment data transaction is equal, the data quota of the data account space in the previous data settlement cycle is deducted from the deduction quota,
  • the step includes: judging the metadata contained in the metadata Whether the processing value of the to-be-processed data is less than or equal to the available data quota of the data account space of the data outflow object of the segmented data transaction; if so, execute the step of creating the segmented data transaction of the to-be-processed service based on the metadata ; If not, push a notification of processing failure to the data outflow object.
  • the to-be-processed services include: transaction services, data stream processing services, and payment services; correspondingly, the segmented data transactions of the to-be-processed services include: segmentation in which the transaction services are executed in a phased transaction mode.
  • a staged transaction transaction, the data stream processing business adopts a staged data stream processing transaction executed by a staged processing method, and the payment business adopts a staged payment transaction executed by a staged payment method; the execution of the segmented data transaction
  • the segments include: each transaction stage in the staged transaction process of the staged transaction transaction, each data processing stage of the staged data flow processing transaction in the staged processing process, the staged payment transaction in the staged payment The various payment stages in the process.
  • the first data processing device includes: an acquisition module configured to acquire metadata of a service to be processed; a creation module configured to create a segment of the service to be processed according to the metadata Data transaction; the data execution information and data link of each execution segment are recorded in the segmented data transaction; the parsing module is configured to perform the execution based on the execution mode submitted for at least one execution segment of the segmented data transaction The segmented data transaction is analyzed to obtain the target data transaction corresponding to the execution mode; the processing module is configured to execute the target data according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction Way to perform execution processing on the target data transaction.
  • a transaction processing method provided by an embodiment of this specification includes: obtaining transaction metadata of a transaction to be processed;
  • the installment payment transaction records transaction payment information and payment links for each payment stage; submit based on at least one payment stage for the installment payment transaction Analyze the installment payment transaction to obtain the target payment transaction corresponding to the payment method; according to the target transaction payment information and target payment link of the at least one payment stage recorded in the target payment transaction , Perform payment processing on the target payment transaction.
  • the transaction processing method further includes: determining the recommended installment number of the payment stage pushed to the payer according to the historical transaction payment log of the payer of the installment payment transaction, and according to the payer’s target
  • the payment instruction submitted by the recommended number of installments determines the number of installments in the payment phase of the installment transaction; or, based on the transaction record of the payee of the installment transaction, predicts the payment time interval of the payee, Determine the installment duration and/or the number of installments of the payment phase of the installment payment transaction according to the collection time interval.
  • the analyzing the instalment transaction based on the payment method submitted for at least one payment phase of the instalment transaction to obtain the target payment transaction corresponding to the payment method includes: When the payment condition of the payment phase of the payment transaction is triggered, the payment phase is triggered in accordance with the instalment payment method corresponding to the trigger of the payment phase, the instalment transaction is decomposed, and the target payment corresponding to the instalment payment method is obtained Transaction; or, the installment payment request submitted by the payer who receives the installment payment transaction for the at least one payment stage; based on the installment payment method carried in the installment payment request, the installment payment transaction is decomposed to obtain the The target payment transaction corresponding to the installment payment method; wherein, in the target payment transaction corresponding to the installment payment method, the target transaction payment information and target payment link of the at least one payment stage are recorded, and the target Transaction payment information is determined based on the transaction payment information of the at least one payment stage, and the target payment link is determined based on the payment link of the at least one payment stage.
  • the performing payment processing on the target payment transaction according to the target transaction payment information and target payment link of the at least one payment phase recorded in the target payment transaction includes: reading the target transaction The payment value corresponding to the at least one payment stage included in the payment information; according to the target payment link, the data amount of the data account space of the payer is deducted by the deduction amount corresponding to the payment value, and, The payment resource corresponding to the payment value is transferred from the actual data account corresponding to the data account space of the payer to the data account of the payee of the installment transaction; wherein, the payment node of the target payment link is at least Corresponding to the data account space of the paying party and the data account of the paid party; the duration of the data settlement cycle of the data account space is equal to the duration of the payment processing cycle in the payment phase of the installment transaction, the first A data settlement cycle deducts the deduction quota from the data quota of the data account space, and after the data settlement processing of the subsequent data settlement cycle, the deduction of the data quota by the deduction quota is
  • the performing payment processing on the target payment transaction according to the target transaction payment information and target payment link of the at least one payment phase recorded in the target payment transaction includes: reading the target transaction The payment value corresponding to the at least one payment phase contained in the delivery information; according to the target payment link, the payment resource corresponding to the payment value is transferred from the payment account of the paying party to the paid party Account; wherein, the initial payment node of the target payment link corresponds to the payment account of the payer, and the termination payment node corresponds to the payment account of the payee.
  • the method further includes: according to the payment value and the first payment value corresponding to the at least one payment phase A payment rate, calculating the first payment surcharge corresponding to the at least one payment stage; performing the settlement processing of the first payment fee on the paid party; wherein, the first payment rate includes the For the payment rate generated by the payment processing of the installment payment transaction in the at least one payment stage, the first payment surcharge calculated according to the first payment rate is borne by the payee.
  • the analyzing the installment payment transaction based on the payment method submitted for at least one payment phase of the installment payment transaction to obtain the target payment transaction corresponding to the payment method includes: receiving the installment payment transaction A prepayment request submitted by the paid party of a payment transaction for the at least one payment stage; based on the prepayment method carried in the prepayment request, the transaction payment information and payment link corresponding to the at least one payment stage are assembled To obtain the target payment transaction corresponding to the pre-payment method.
  • the transaction payment information and payment link corresponding to the at least one payment stage are assembled to obtain the target payment transaction corresponding to the prepayment method , Including: calculating the total payment value corresponding to the pre-payment request according to the target transaction payment information of the at least one payment phase corresponding to the pre-payment request; the paid party and the transaction agency based on the installment payment transaction
  • the account path of the user’s payment account determines the target payment link; an intermediate payment transaction is established based on the total payment value and the target payment link as the target payment transaction; wherein the initial payment node of the target payment link Corresponding to the payment account of the transaction agency, the termination payment node corresponds to the payment account of the transaction agency.
  • the performing payment processing on the target payment transaction according to the target transaction payment information and target payment link of the at least one payment stage recorded in the target payment transaction includes: from the transaction agency The payment account applies for the payment resource corresponding to the total payment value to the payment account of the paid party; according to the account path of the payment account of both the payer and the transaction agency, it is determined from the payer to the The installment payment link of the transaction agency; according to the installment link and the data execution information of the execution stage to be executed in the installment payment transaction, the first installment of the payment stage to be paid in the installment transaction is formed Payment transaction; wherein the initial payment node of the installment payment link corresponds to the payment account of the payer, and the termination payment node corresponds to the payment account of the transaction agency.
  • the step of performing payment processing on the target payment transaction according to the target transaction payment information and target payment link of the at least one payment phase recorded in the target payment transaction includes: When the payment conditions of the payment phase of the first installment transaction are triggered, read the first installment value corresponding to the triggered payment phase in the first installment transaction;
  • the data limit of the data account space of the payer deducts the deduction limit corresponding to the first instalment value, and the first instalment value is transferred from the actual data account corresponding to the data account space of the payer Corresponding payment resources to the payment account of the transaction agency; wherein the duration of the data settlement cycle of the data account space is equal to the duration of the payment processing cycle in the execution phase of the first installment transaction, and the previous data
  • the settlement cycle deducts the deduction quota from the data quota of the data account space, and after the data settlement processing of the subsequent data settlement cycle, the deduction of the deduction quota to the data quota is updated.
  • the sub-step of applying for the payment resource corresponding to the total payment value from the payment account of the transaction agency to the payment account of the payee it further includes: according to the total payment value and the corresponding Calculate the second payment surcharge at the second payment rate; perform the settlement processing of the second payment surcharge on the payee; wherein the second payment rate includes the payment to the transaction agency
  • the transaction fee rate generated by the transaction processing, and the second payment surcharge calculated based on the second payment fee rate shall be borne by the paid party.
  • the transaction processing method further includes: calculating a first payment surcharge corresponding to the payment stage according to the first payment value of the installment and the first payment rate corresponding to the payment stage; The payee performs the settlement processing of the first payment surcharge; wherein, the first payment rate includes the payment rate generated by the payment processing of the first installment transaction in the payment stage, according to the The first payment surcharge obtained by calculating the first payment rate is borne by the paid.
  • the step of performing payment processing on the target payment transaction according to the target transaction payment information and target payment link of the at least one payment phase recorded in the target payment transaction further includes: receiving The second prepayment request submitted by the paid party of the installment payment transaction for the remaining payment stage; based on the second prepayment method carried in the second prepayment request, the transaction payment information and payment corresponding to the remaining payment segment
  • the link is assembled to obtain a second intermediate payment transaction corresponding to the second prepayment method;
  • the second intermediate payment transaction records the second total payment value corresponding to the second prepayment request;
  • the payment account of the transaction agency of the installment payment transaction applies for the payment resource corresponding to the second total payment value to the payment account of the payee, and the payment processing is performed on the second intermediate payment transaction;
  • the account path of the data accounts of both the payer of the installment payment transaction and the transaction agency determines the second installment payment link from the payer to the transaction agency; according to the second installment link and
  • the transaction payment information of the remaining payment stage forms a second installment payment transaction corresponding to the remaining payment stage;
  • the method further includes: When the payment condition of at least one of the remaining execution phases of the two installment transaction is triggered, read the second installment value corresponding to the triggered remaining payment phase in the second installment transaction; according to the second installment transaction;
  • the installment payment link deducts the deduction amount corresponding to the second installment payment value from the data amount of the data account space of the payer, and transfers out from the actual data account corresponding to the data account space of the payer
  • the payment resource corresponding to the second installment payment value is sent to the payment account of the transaction agency; wherein the duration of the data settlement cycle of the data account space is equal to the payment processing period of the remaining payment phase of the second installment transaction
  • the duration of the deduction is the same, the data quota of the data account space in the previous data settlement cycle is deducted from the deduction quota, and after the data settlement processing in the subsequent data settlement cycle, the deduction quota is less than the amount of
  • the method includes: determining whether the transaction metadata is Whether the included value to be traded is less than or equal to the available data quota of the data account space of the payer of the installment payment transaction; if so, execute the step of creating the installment payment transaction of the pending transaction based on the transaction metadata; if No, push notification of processing failure to the payer.
  • a transaction processing device includes: a data acquisition module configured to acquire transaction metadata of a transaction to be processed; a transaction creation module configured to create the transaction to be processed based on the transaction metadata The installment payment transaction; the transaction payment information and payment link of each payment stage are recorded in the installment payment transaction; the transaction analysis module is configured to be based on the payment method submitted for at least one payment stage of the installment payment transaction, The installment payment transaction is analyzed to obtain the target payment transaction corresponding to the payment method; the transaction processing module is configured to be based on the target transaction payment information and target payment of the at least one payment stage recorded in the target payment transaction Link to perform payment processing on the target payment transaction.
  • the second data processing method provided by the embodiment of this specification is applied to the server, and includes: receiving a service processing request of the service to be processed submitted by the first client; the service processing request carries the service identifier and the number of segments;
  • segment data transaction corresponding to the service processing request according to the number of segments and the metadata corresponding to the service identifier; the segment data transaction records data execution information and data links of each execution segment; Deliver the segmented data transaction to the first client; analyze the segmented data transaction according to the segmented execution mode submitted by the first client for the segmented data transaction, and obtain the The target data transaction corresponding to the segmented execution mode; perform execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction; The first client pushes the execution processing result of the target data transaction.
  • the segmented data transaction is analyzed according to the segmented execution mode submitted by the first client for the segmented data transaction to obtain the target data transaction corresponding to the segmented execution mode , Including: receiving the segmented execution mode submitted by the first client for the at least one execution segment; and decomposing the segmented data transaction according to the segmented execution mode to obtain the same as the segmented execution mode Corresponding target data transaction; wherein, in the target data transaction corresponding to the segmented execution mode, the target data execution information and target data link of the at least one execution segment are recorded, and the target data execution information is based on The data execution information of the at least one execution segment is determined, and the target data link is determined based on the data link of the at least one execution segment.
  • the performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction includes: reading the target data The data flow value corresponding to the at least one execution segment included in the execution information; according to the target data link, the data flow is deducted from the data quota of the data account space of the data outflow object corresponding to the first client The deduction amount corresponding to the value, and transferring the data resource corresponding to the data flow value from the actual data account corresponding to the data account space of the data outflow object to the data account of the data inflow object corresponding to the second client; where , The data node of the target data link at least corresponds to the data account space of the data outflow object and the data account of the data inflow object; the duration of the data settlement cycle of the data account space is related to the segmented data transaction The duration of the execution processing cycle of the execution section of the execution section is equal, and the deduction amount is deducted from the data quota of the data account space in the previous data settlement cycle
  • the sub-step of reading the data flow value corresponding to the at least one execution stage contained in the target data execution information it further includes: according to the data flow value and the at least one execution stage correspondence Calculate the first execution additional data value corresponding to the at least one execution segment; perform the data settlement processing of the first execution additional data value on the data inflow object; wherein, the first execution additional data value A percentage of execution additional data, including the processing fee generated by performing processing of the segmented data transaction in the at least one execution segment, and the first execution additional calculated based on the proportion of the first execution additional data
  • the data value is borne by the data inflow object.
  • the step of performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction further includes: receiving the first 2.
  • the link is assembled to obtain the second intermediate data transaction corresponding to the second pre-execution mode;
  • the second intermediate data transaction records the second total data flow value corresponding to the second pre-execution request;
  • the data account of the intermediate data object of the segmented data transaction applies for the data resource corresponding to the second total data flow value to the data account of the data inflow object to perform processing on the second intermediate data transaction;
  • the method further includes: When the execution condition of at least one of the remaining execution segments of the second segmented data transaction is triggered, read the second segment data flow value corresponding to the triggered remaining execution segment of the second segmented data transaction According to the second segmented data link, the data quota of the data account space of the data outflow object is deducted by the deduction quota corresponding to the second segmented data flow value, and, from the data outflow object
  • the actual data account corresponding to the data account space transfers the data resource corresponding to the second segmented data flow value to the data account of the intermediate data object; wherein the duration of the data settlement period of the data account space is the same as that of the The duration of the execution processing cycle of the remaining execution stages of the second segment data transaction is equal, the data quota of the data account space in the previous data settlement cycle is deducted from the deduction quota,
  • the creating a segment data transaction corresponding to the service processing request according to the number of segments and the metadata corresponding to the service identifier includes: determining the processing value of the data to be processed contained in the metadata Whether it is less than or equal to the available data quota of the data account space of the data outflow object corresponding to the first client; if so, create the segmented data transaction of the to-be-processed service based on the metadata; if not, send the data to the first client A notification that the client has failed to push the processing.
  • the to-be-processed services include: transaction services, data stream processing services, and payment services; correspondingly, the segmented data transactions of the to-be-processed services include: segmentation in which the transaction services are executed in a phased transaction mode.
  • a staged transaction transaction, the data stream processing business adopts a staged data stream processing transaction executed by a staged processing method, and the payment business adopts a staged payment transaction executed by a staged payment method; the execution of the segmented data transaction
  • the segments include: each transaction stage in the staged transaction process of the staged transaction transaction, each data processing stage of the staged data flow processing transaction in the staged processing process, the staged payment transaction in the staged payment The various payment stages in the process.
  • the second data processing device is applied to the server and includes: a request receiving module configured to receive a service processing request for a service to be processed submitted by a first client; the service processing request carries a service ID and the number of segments; a segment data transaction creation module configured to create a segment data transaction corresponding to the service processing request according to the number of segments and the metadata corresponding to the service identifier; the segment data The data execution information and data link of each execution segment are recorded in the transaction; the transaction sending module is configured to send the segmented data transaction to the first client; the segmented data transaction analysis module is configured to The first client parses the segmented data transaction for the segmented execution mode submitted by the segmented data transaction to obtain the target data transaction corresponding to the segmented execution mode; the transaction processing module is configured In order to perform execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction; the result push module is configured to send to the first client The terminal pushes the
  • the third data processing method provided by the embodiment of this specification is applied to the first client and includes: receiving a service processing instruction submitted for the service to be processed; and submitting a port to the server according to the number of segments corresponding to the service processing instruction The number of segments and the service processing request of the service identifier of the service to be processed; receiving and displaying the segmented data transaction issued by the server for the service processing request; according to the segmentation for the segmented data transaction Segment execution input, submit the segment execution mode to the server; receive the execution processing result of the target data transaction corresponding to the segment execution mode returned by the server.
  • the third data processing device is applied to the first client and includes: an instruction receiving module configured to receive a service processing instruction submitted for a service to be processed; and a request submission module configured to The number of segments corresponding to the service processing instruction is submitted to the server to carry the number of segments and the service identification of the service to be processed; the transaction receiving module is configured to receive the service processing for the service The segmented data transaction requested to be issued and displayed; the segmented execution mode submission module is configured to submit the segmented execution mode to the server according to the segmented execution input for the segmented data transaction; the processing result receiving module And configured to receive the execution processing result of the target data transaction corresponding to the segmented execution mode returned by the server.
  • the fourth data processing method provided by the embodiment of this specification, applied to the server includes: receiving a service processing request carrying a service identifier submitted by a second client; creating the service processing according to the metadata corresponding to the service identifier Request a corresponding segmented data transaction; the segmented data transaction records the data execution information and data link of each execution segment; and deliver the segmented data transaction to the first client and the second client; According to the pre-execution mode submitted by the second client for the segmented data transaction, analyze the segmented data transaction to obtain the target data transaction corresponding to the pre-executed mode; according to the target data transaction The recorded target data execution information and target data link of the at least one execution segment perform execution processing on the target data transaction; and push the execution processing result of the target data transaction to the second client.
  • the parsing the segmented data transaction according to the pre-execution mode submitted by the second client for the segmented data transaction to obtain the target data transaction corresponding to the pre-execution mode includes : Receive the pre-execution mode submitted by the data inflow object corresponding to the second client for the at least one execution section; perform data execution information and data link corresponding to the at least one execution section according to the pre-execution mode Assemble to obtain the target data transaction corresponding to the pre-execution mode.
  • the assembling the data execution information and the data link corresponding to the at least one execution segment according to the pre-execution mode to obtain the target data transaction corresponding to the pre-execution mode includes: according to the The target data execution information of the at least one execution segment corresponding to the pre-execution mode is calculated, and the total data flow value corresponding to the pre-execution mode is calculated; based on the data account of both the data inflow object and the intermediate data object corresponding to the second client The account path of the target data link is determined; an intermediate data transaction is established based on the total data flow value and the target data link as the target data transaction; wherein, the start data node of the target data link corresponds to For the data account of the intermediate data object, the terminating data node corresponds to the data account of the data inflow object.
  • the performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction includes: obtaining data from the segment data
  • the data account of the intermediate data object of the transaction applies for the data resource corresponding to the total data flow value to the data account of the data inflow object; according to the data corresponding to the first client, the data flows out of both the object and the intermediate data object.
  • the account path of the account determines the segment data link from the data outflow object to the intermediate data object; according to the segment data link and the data execution information of the execution segment to be executed in the segment data transaction , Forming the first segment data transaction of the execution segment to be executed in the segment data transaction; wherein the start data node of the segment data link corresponds to the data account of the data outflow object, and the data node is terminated The data account corresponding to the intermediate data object.
  • the step of performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction includes: When the execution condition of the execution segment of the first segment data transaction is triggered, read the first segment data flow value corresponding to the triggered execution segment in the first segment data transaction; according to the segment data Link, deducting the deduction amount corresponding to the first segment data flow value from the data quota of the data account space of the data outflow object, and the actual data account corresponding to the data account space of the data outflow object
  • the data resource corresponding to the first segment data flow value is transferred to the data account of the intermediate data object; wherein the duration of the data settlement cycle of the data account space is the same as the execution segment of the first segment data transaction The duration of the execution processing cycle is the same.
  • the data quota of the data account space is deducted from the deduction quota.
  • the deduction quota is The deduction of the data quota is updated
  • the to-be-processed services include: transaction services, data stream processing services, and payment services; correspondingly, the segmented data transactions of the to-be-processed services include: segmentation in which the transaction services are executed in a phased transaction mode.
  • a staged transaction transaction, the data stream processing business adopts a staged data stream processing transaction executed by a staged processing method, and the payment business adopts a staged payment transaction executed by a staged payment method; the execution of the segmented data transaction
  • the segments include: each transaction stage in the staged transaction process of the staged transaction transaction, each data processing stage of the staged data flow processing transaction in the staged processing process, the staged payment transaction in the staged payment The various payment stages in the process.
  • the fourth data processing device is applied to the server and includes: a request receiving module configured to receive a service processing request carrying a service identifier submitted by a second client; and a transaction creation module configured to The metadata corresponding to the service identifier creates a segmented data transaction corresponding to the service processing request; the segmented data transaction records the data execution information and data links of each execution segment; the transaction sending module is configured to The segmented data transaction is issued to the first client and the second client; the parsing module is configured to perform the pre-execution mode for the segmented data transaction submitted by the second client to the The segmented data transaction is analyzed to obtain the target data transaction corresponding to the pre-execution mode; the processing module is configured to execute information and target data link according to the target data of the at least one execution segment recorded in the target data transaction Road, perform execution processing on the target data transaction; the result push module is configured to push the execution processing result of the target data transaction to the second client.
  • the fifth data processing method provided by the embodiment of this specification, applied to the second client includes: collecting the service identification code of the service to be processed displayed by the terminal device corresponding to the first client; decoding the service identification code, Submit a service processing request carrying the service identifier to the server according to the service identifier obtained by decoding; receive and display the segmented data transaction issued by the server in response to the service processing request; Pre-execution input, submit a pre-execution mode to the server; receive the execution processing result of the target data transaction corresponding to the pre-execution mode returned by the server.
  • the fifth data processing device is applied to the second client and includes: a collection module configured to collect the service identification code of the service to be processed displayed by the terminal device corresponding to the first client; and a decoding module, Is configured to decode the service identification code, and submit a service processing request carrying the service identification to the server according to the decoded service identification;
  • the receiving module is configured to receive the service processing request from the server The segmented data transaction is sent and displayed;
  • the submission module is configured to submit the pre-execution mode to the server according to the pre-execution input for the segmented data transaction;
  • the processing result receiving module is configured to receive the service The execution processing result of the target data transaction corresponding to the pre-execution mode returned by the terminal.
  • the first computing device includes: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions: to obtain elements of services to be processed Data; create a segmented data transaction of the to-be-processed service based on the metadata; the segmented data transaction records the data execution information and data links of each execution segment; based on at least the segmented data transaction An execution mode submitted by an execution segment, analyzing the segmented data transaction to obtain the target data transaction corresponding to the execution mode; according to the target data execution information of the at least one execution segment recorded in the target data transaction And the target data link to perform execution processing on the target data transaction.
  • the second computing device includes: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions: obtain transactions of pending transactions Metadata; create an installment payment transaction for the pending transaction based on the transaction metadata; the installment payment transaction records transaction payment information and payment links for each payment stage; based on at least one of the installment payment transactions
  • the payment method submitted in the payment stage analyzes the installment payment transaction to obtain the target payment transaction corresponding to the payment method; according to the target transaction payment information and target of the at least one payment stage recorded in the target payment transaction
  • the payment link performs payment processing on the target payment transaction.
  • the third computing device includes: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions: receiving a submission from the first client The service processing request of the service to be processed; the service processing request carries the service identifier and the number of segments; the segment data corresponding to the service processing request is created according to the number of segments and the metadata corresponding to the service identifier Transaction; the segmented data transaction records the data execution information and data link of each execution segment; sends the segmented data transaction to the first client; according to the first client for the segment The segmented execution mode of segment data transaction submission is to analyze the segmented data transaction to obtain the target data transaction corresponding to the segmented execution mode; according to the at least one execution segment recorded in the target data transaction The target data execution information and the target data link perform execution processing on the target data transaction; and push the execution processing result of the target data transaction to the first client.
  • the fourth computing device includes: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions: receiving submissions for services to be processed According to the number of segments corresponding to the service processing instruction, submit a service processing request carrying the number of segments and the service identifier of the service to be processed to the server; receive the service from the server for the service Process and display the segmented data transaction issued by the request; submit the segmented execution mode to the server according to the segmented execution input for the segmented data transaction; receive the segmented execution mode returned by the server The execution processing result of the corresponding target data transaction.
  • the fifth computing device includes: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions: receiving a submission from a second client
  • the service processing request carrying the service ID
  • the segment data transaction corresponding to the service processing request is created according to the metadata corresponding to the service ID
  • the data execution information and data of each execution segment are recorded in the segment data transaction Link
  • the transaction is analyzed to obtain the target data transaction corresponding to the pre-execution mode
  • the target data transaction is performed according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction Execute processing; push the execution processing result of the target data transaction to the second client.
  • the sixth computing device includes: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions: collect the corresponding information of the first client The service identification code of the service to be processed displayed by the terminal device; decodes the service identification code, and submits a service processing request carrying the service identification to the server according to the service identification obtained by the decoding; The segmented data transaction issued by the business processing request and display; according to the pre-execution input for the segmented data transaction, submit the pre-execution mode to the server; receive the pre-execution mode returned by the server The execution processing result of the target data transaction.
  • a first computer-readable storage medium which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the first data processing method are implemented.
  • a second computer-readable storage medium which stores computer-executable instructions, which, when executed by a processor, implement the steps of the transaction processing method.
  • a third type of computer-readable storage medium which stores computer-executable instructions that, when executed by a processor, implement the steps of the second data processing method.
  • a fourth computer-readable storage medium which stores computer-executable instructions, which, when executed by a processor, implement the steps of the third data processing method.
  • a fifth computer-readable storage medium which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the fourth data processing method are implemented.
  • a sixth computer-readable storage medium which stores computer-executable instructions that, when executed by a processor, implement the steps of the fifth data processing method.
  • the metadata of the service to be processed is obtained, and the segmented data transaction of the service to be processed is created based on the metadata, and then based on at least the segmented data transaction
  • An execution mode of execution stage submission is to analyze the segment data transaction, and the target data execution information of the at least one execution stage recorded in the target data transaction obtained according to the analysis result and the target data link to the target data
  • the transaction is executed, and the corresponding execution segment is processed more flexibly according to the submitted execution mode.
  • the to-be-processed business is executed in the form of data transaction, which improves the processing efficiency and processing consistency of the business execution processing.
  • Fig. 1 is a processing flowchart of a first data processing method provided by an embodiment of this specification
  • FIG. 2 is a processing flowchart of a data processing method applied to transaction services according to an embodiment of this specification
  • FIG. 3 is a processing flowchart of a data processing method applied to payment services according to an embodiment of this specification
  • FIG. 4 is a processing flowchart of a second data processing method applied to payment services according to an embodiment of this specification
  • Fig. 5 is a schematic diagram of a first data processing device provided by an embodiment of this specification.
  • FIG. 6 is a processing flowchart of a transaction processing method provided by an embodiment of this specification.
  • FIG. 7 is a processing flowchart of a second transaction processing method provided by an embodiment of this specification.
  • FIG. 8 is a schematic diagram of a transaction processing device provided by an embodiment of this specification.
  • FIG. 9 is a processing flowchart of a second data processing method provided by an embodiment of this specification.
  • FIG. 10 is a schematic diagram of a second data processing device provided by an embodiment of this specification.
  • FIG. 11 is a processing flowchart of a third data processing method provided by an embodiment of this specification.
  • FIG. 12 is a schematic diagram of a third data processing device provided by an embodiment of this specification.
  • FIG. 13 is a processing flowchart of a fourth data processing method provided by an embodiment of this specification.
  • FIG. 14 is a schematic diagram of a fourth data processing device provided by an embodiment of this specification.
  • FIG. 16 is a schematic diagram of a fifth data processing device provided by an embodiment of this specification.
  • FIG. 17 is a structural block diagram of a first computing device provided by an embodiment of this specification.
  • FIG. 18 is a structural block diagram of a second type of computing device provided by an embodiment of this specification.
  • FIG. 19 is a structural block diagram of a third computing device provided by an embodiment of this specification.
  • FIG. 20 is a structural block diagram of a fourth computing device provided by an embodiment of this specification.
  • FIG. 21 is a structural block diagram of a fifth computing device provided by an embodiment of this specification.
  • Fig. 22 is a structural block diagram of a sixth computing device provided by an embodiment of this specification.
  • first, second, etc. may be used to describe various information in one or more embodiments of this specification, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • the first may also be referred to as the second, and similarly, the second may also be referred to as the first.
  • word “if” as used herein can be interpreted as "when” or “when” or "in response to determination”.
  • An embodiment of this specification provides a data processing method and device, a transaction processing method and device, and also involves six types of computing devices and six types of computer-readable storage media. The following is a detailed description one by one in conjunction with the accompanying drawings of the embodiments provided in this specification, and each step of the method is described.
  • the implementation example of the first data processing method provided in this specification is as follows.
  • FIG. 1 shows a processing flowchart of a data processing method provided by an embodiment of this specification, which specifically includes the following steps S102 to S108.
  • Step S102 Obtain metadata of the service to be processed.
  • the business to be processed in the process of processing the business to be processed, is first executed in the form of a data transaction, so as to improve the efficiency of data processing and reduce the impact of data occupation in the process of data processing. , And divide the execution process of the business to be processed in the manner of execution segment, so as to reduce the amount of data occupied by the execution process of the business to be processed, and at the same time, it can also improve the processing efficiency and processing consistency of the business execution processing.
  • the execution of processing requires data support involving multiple processing platforms.
  • the data processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the business to be processed, and based on the distributed system The coordination among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes enables the creation of distributed transactions on the basis of metadata, and the execution of distributed transactions according to the submitted execution mode , So as to further improve the processing efficiency and processing consistency of the business execution processing of the business to be processed.
  • the pending services include: transaction services, data stream processing services, and payment services; correspondingly, the transaction services specifically refer to transactions related to transaction processing related to item transactions, resource transactions, or data transactions;
  • the data stream processing business specifically refers to a related business related to data stream invocation processing;
  • the payment business specifically refers to a related business related to commodity payment processing.
  • the corresponding metadata refers to the calling task that needs to be performed on the data stream processing service; when the service to be processed is a transaction service, corresponding The metadata refers to the total transaction amount required for the transaction business; when the business to be processed is a payment business, the corresponding metadata refers to the total payment funds that need to be paid for the payment business.
  • the data processing method will be described with the service to be processed as a data stream processing service.
  • the data outflow object and the data inflow object are in the process of invoking the data stream for the invoking task.
  • the data outflow object needs to provide part of the data flow for the invocation task to complete the invocation task, and the data flow involved in the completion of the invocation task is relatively large.
  • the data outflow object is prone to fail to provide the full amount at one time
  • the intermediate data object can provide a certain amount of data flow to the data outflow object so that the data outflow object can be executed for the calling task, and to The data stream provided by the data outflow object can be invoked in a phased processing manner.
  • the intermediate data object that provides the data stream can send the full data stream for the invoking task to the data inflow object at one time, and the data outflow object is for the intermediate data object.
  • the provided data stream is processed in stages to realize that the data outflow object can complete the calling task.
  • the intermediate data object that provides the data stream can also deliver the data stream to the data inflow object according to the phased processing mode of the data outflow object.
  • the specific implementation method of the admission restriction verification process is as follows: Determine whether the processing value of the data to be processed contained in the metadata is less than or equal to the available data in the data account space of the data outflow object of the segmented data transaction Quota; if yes, perform the following step S104; if no, push a notification of processing failure to the data outflow object.
  • the processing value of the data to be processed contained in the metadata, and then determine whether the processing value of the data to be processed is less than or equal to the available data quota of the account space of the data outflow object of the segmented data transaction, if yes , Indicating that the data outflow object meets the access restriction at this time, and you can create a segmented data transaction for metadata, just perform the following step S104; if not, it indicates that the data outflow object does not meet the access restriction at this time, and you can flow out to the data A reminder that the object push processing fails, the reminder is related information that the data outflow object cannot perform processing for the segmented data transaction.
  • the data outflow object is checked for admission, which not only improves the security of the business scenario to be processed, but also has a certain restrictive effect on the data outflow object to avoid non-disclosure.
  • the normal data outflow object has an abnormal impact on the business to be processed.
  • Step S104 Create a segmented data transaction of the service to be processed according to the metadata.
  • the data execution information and data links of each execution segment are recorded in the segmented data transaction.
  • the execution process of the business to be processed is first divided according to the business processing node, and the execution process of the business to be processed is divided into one or more execution stages (execution sections), and then the business to be processed is executed.
  • the transaction that needs to be processed in each execution stage is called a data transaction, and the whole of the data transactions in all execution stages of the business to be processed is called a segmented data transaction.
  • the data transactions of each execution stage in the segmented data transaction are sequentially sorted according to the time sequence of the execution processing.
  • the data of each execution stage Transactions are also processed in sequence in order of sorting. Specifically, in the segmented data transaction, various data execution information and data links are also recorded.
  • the paying user purchases a product at the merchant through the payment line provided by the payment platform.
  • the price of the product is 1,000 yuan
  • the paying user repays the payment line to the payment platform in installments.
  • the total number of installments It is 10 periods, and the repayment limit of each period is 100.
  • the user needs to pay the payment platform to repay the payment platform with a payment amount equal to 100 yuan, and the payment platform will transfer the 100 yuan fund provided by the financial institution to the merchant.
  • This payment process can be referred to as a payment transaction in the payment phase, and the payment transactions corresponding to the ten payment phases in the payment business constitute a phased payment transaction in the payment business.
  • the transactional business when the pending business is a transactional business, the transactional business will use a staged transaction method to execute a staged transactional transaction; when the pending business is a data stream processing business, The data volume processing service will adopt a phased processing method to execute a phased data flow processing transaction; in the case that the to-be-processed service is a payment service, the payment service adopts a phased payment method to execute a phased payment transaction.
  • a segment data transaction of the service to be processed may be created according to the metadata, wherein the segment data
  • the transaction specifically refers to the transaction to be processed after the task to be processed is divided according to each execution segment, and the data execution information and data link of each execution segment are recorded in the segmented data transaction.
  • phased data flow processing transaction is created according to the calling task of the data flow processing business, that is, the data flow can be called in stages to complete the calling task for the calling task.
  • the phased data flow processing transaction The data flow calling information and data flow calling links of each data processing stage are recorded.
  • the recommended number of execution segments will be determined according to the historical data log of the data outflow object. The determination is made according to the execution instruction of the data outflow object.
  • the specific implementation for determining the number of execution segments is as follows: according to the data outflow object of the segmented data transaction The historical data log determines the recommended number of execution segments pushed to the data outflow object, and determines the number of execution segments of the segmented data transaction according to the execution instructions submitted by the data outflow object for the recommended number.
  • the recommended number of data processing stages pushed to the data outflow object is determined, which is the data outflow object It is recommended that the phased data flow processing transaction is divided into M data processing stages for subsequent execution and processing, and the recommended number is pushed to the data outflow object; based on this, the data outflow object can accept the recommended number according to the selection, and the recommended number will be
  • the phased data flow processing transaction is divided into M data processing phases, and the execution instructions can also be submitted for the phased data flow processing transaction according to the execution requirements, and the phased data flow processing transaction is divided into N data processing phases. Based on the divided data In the processing stage, the target data transaction corresponding to the data processing stage can be executed subsequently.
  • the duration and/or number of the execution stages of the segmented data transaction can also be determined according to the data record of the data inflow object.
  • the segment is determined according to the data inflow object.
  • the process of the execution segment of the data transaction is as follows: predict the data inflow time interval of the data inflow object based on the data record of the data inflow object, and determine the duration of the execution segment of the segmented data transaction according to the time interval And/or number.
  • the data records of the data flow object can be combined to predict the data flow processing of the data flow object Time interval, and then determine the duration and/or number of the data processing stages of the staged data stream processing transaction according to the time interval.
  • the duration of the data processing stage specifically refers to the length of time for processing the data stream in each time period.
  • Data processing The number of stages specifically refers to the number of data stream processing stages included in a staged data processing transaction.
  • the number of execution segments of segmented data transactions can be determined according to the execution instructions of the data outflow object, and the duration and duration of the execution segments can also be determined according to the data inflow time interval of the data inflow object. / Or the number, it is possible to determine the number of execution stages in combination with the execution processing status of the data outflow object and the data inflow object, which improves the personalized processing of the data outflow object and the data inflow object for the business to be processed.
  • Step S106 Analyze the segmented data transaction based on the execution mode submitted for at least one execution segment of the segmented data transaction to obtain a target data transaction corresponding to the execution mode.
  • the execution mode specifically refers to the processing mode submitted in the process of processing the at least one execution segment, and the segmented data transaction will be analyzed based on the execution mode submitted for the at least one execution segment ,
  • the obtained target data transaction specifically refers to a transaction corresponding to the at least one execution segment.
  • the segmented invocation transaction record determines the invocation task, namely the initial data processing stage, the intermediate data processing stage and the end data processing stage.
  • the method is that the data stream provided by the intermediate data object is executed for the intermediate data processing stage.
  • the segmented call transaction is analyzed based on the execution method, and the target data transaction corresponding to the execution method is obtained, that is, the intermediate data is required.
  • the data stream provided by the object completes the sub-call tasks corresponding to the intermediate data processing stage.
  • the corresponding execution stage includes each transaction stage in the staged transaction process; in the case that the segmented data transaction is a staged data flow processing transaction, the corresponding execution stage includes each data processing stage in the staged processing process; In the case that the segmented data transaction is a phased payment transaction, the corresponding execution segment includes each payment phase in the phased payment process.
  • the target data transaction in order to avoid missing the best execution processing time, can be determined by an automatic trigger method, and then the subsequent execution processing process is performed.
  • the specific implementation is as follows: in the case where the execution condition of the execution segment of the segment data transaction is triggered, the corresponding segment is triggered according to the execution condition of the execution segment.
  • the segment execution mode decomposes the segmented data transaction to obtain the target data transaction corresponding to the segmented execution mode.
  • the segmented data transaction is decomposed according to the segmented execution mode corresponding to the execution segment, and the target data transaction corresponding to the segmented execution mode is determined according to the decomposition result; wherein, it corresponds to the segmented execution mode
  • the target data execution information of the at least one execution segment and the target data link are recorded, the target data execution information is determined based on the data execution information of the at least one execution segment, and the target data link Based on the data link determination of the at least one execution segment, the target data execution information and the target data link are used for subsequent execution processing of the target data transaction.
  • the process of determining the target data transaction corresponding to the segmented execution mode it can be determined whether the execution condition of the execution segment of the segmented data transaction is triggered, and the execution condition is not triggered. In the case that the current time node has not reached the time node for executing the processing for the segmented data transaction, no processing is required; when the execution condition is triggered, it indicates that the current time node has reached the time node for the execution of the segmented data transaction. For the time node at which the segmented data transaction is executed, it is necessary to determine the target data transaction corresponding to the execution segment that needs to be executed in the segmented data transaction;
  • the staged data flow processing transaction created based on the data flow M is each of the three data processing stages
  • the data processing stage processes the data flow in accordance with M/3
  • the data execution information of the three data processing stages recorded in the data flow processing transaction in stages is the data flow processing in accordance with M/3 every set time;
  • the data stream can be automatically processed by automatically deducting the data stream M/3 from the database, that is, whether the data outflow object is detected at the set time
  • the data flow M/3 is processed. If not, it will be determined that the execution condition of the data processing stage of the data flow processing transaction in stages is triggered. It can be determined that the data flow M/3 needs to be deducted for the subsequent data processing stage.
  • Data flow processing operations, and in this process it is necessary to analyze the phased data flow processing transaction according to the phased processing method, and determine the target data flow processing transaction corresponding to the phased processing method.
  • the segmented data transaction is decomposed to determine the target data transaction, and the target data transaction can be executed and processed in a timely manner, which effectively improves the efficiency of executing the target data transaction.
  • the target data transaction is determined.
  • the specific implementation method for determining the target data transaction according to the segment execution request is as follows: Receive the segment data
  • the data outflow object of the transaction is for the segmented execution request submitted by the at least one execution segment; based on the segmented execution mode carried in the segmented execution request, the segmented data transaction is decomposed to obtain the same The target data transaction corresponding to the execution mode.
  • target data execution information and target data link of the at least one execution segment are recorded, and the target data execution information is based on the at least one execution segment
  • the target data link is determined based on the data link of the at least one execution segment, and the target data execution information and the target data link are used for subsequent execution of the target data transaction Processing process.
  • the data outflow object actively follows up the target data transaction corresponding to the at least one execution segment at this time
  • the data outflow object can perform subsequent execution processing for the target data transaction corresponding to one execution segment, or perform subsequent execution processing for the target data transaction corresponding to multiple execution segments at the same time; based on this, in the receiving
  • the segmented data transaction is decomposed based on the segmented execution mode carried in the segmented execution request, and the corresponding segmented execution mode can be determined according to the decomposition result.
  • the target data transaction is decomposed based on the segmented execution mode carried in the segmented execution request, and the corresponding segmented execution mode can be determined according to the decomposition result.
  • the segment execution method decomposes the segmented data transaction to obtain the target data transaction, which improves the arbitrariness of the data outflow object, and can propose subsequent execution processing for the target data transaction at any time, and in the data outflow object
  • the target data transaction that has not been processed in the segmented data transaction can be executed in advance, so that the data outflow object can perform the processing for the pending business in advance.
  • Step S108 Perform execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction.
  • the target data execution information of the at least one execution segment and the target data transaction will be determined according to the target data transaction.
  • For the target data link it is only necessary to perform execution processing for the target data transaction based on the target data execution information and the target data link.
  • the execution information for the intermediate data processing stage is to call the data flow M to complete the sub-calling task, and for the data link of the intermediate data processing stage
  • the data volume provider provides the number of completed sub-call tasks, and then based on the execution information and data link of the intermediate data processing stage, the target data transaction corresponding to the intermediate data processing stage can be executed.
  • the data stream M provided by the provider completes the sub-calling task.
  • the specific implementation manner is as follows: Read the target data execution information Contains the data flow value corresponding to the at least one execution stage; according to the target data link, deduct the deduction amount corresponding to the data flow value from the data quota of the data account space of the data outflow object, and, The data resource corresponding to the data flow value is transferred from the actual data account corresponding to the data account space of the data outflow object to the data account of the segmented data transaction data inflow object; wherein, the target data link
  • the data node corresponds to at least the data account space of the data outflow object and the data account of the data inflow object; the duration of the data settlement cycle of the data account space is equal to the execution processing cycle of the execution segment of the segmented data transaction If the duration is the same, the data quota of the data account space is deducted from the deduction amount in the previous data settlement cycle. After the data settlement processing in the subsequent data settlement cycle, the deduction amount is deducted from the data quota. The minus is updated.
  • the data account space is the storage space for the data stream provided by the intermediate data object to the data outflow object
  • the data quota in the data account space is the available data provided by the intermediate data object to the data outflow object
  • the available data stream needs to be processed by the data outflow object at a set time node.
  • the actual data account is the account of the data stream resource corresponding to the available data stream provided to the intermediate data object.
  • the target data stream processing transaction needs to be executed at this time, and the data stream is determined to be M/3. At this time, it will be deducted from the data stream storage space of the data outflow object
  • the available data stream equal to the data stream M/3, and the account of the party providing the available data stream will transfer the data stream resources equal to the data stream M/3 to the data inflow object, and the data outflow object and data inflow object can be determined
  • the data stream resource equal to the data stream M/3 will be transferred from the account of the data stream resource storage of the data outflow object.
  • the execution segment in order to avoid occupying too much data quota in the data account space, the execution segment can be used to execute processing for the segmented data transaction, so as to achieve the data quota.
  • the deduction is performed according to the data flow data of the execution section, so that the to-be-processed business can also be completed in the case that the data outflow object performs the call pressure for the data resource.
  • the data resource corresponding to the data flow value can also be directly transferred to the data inflow object through the data account of the data outflow object Data account to avoid the intermediary from causing excessive additional data resources and affecting the experience effect of the data outflow object participating in the pending service.
  • the data outflow object directly
  • the specific implementation of the data account transfer to the data account data resource of the data inflow object is as follows: read the data flow value corresponding to the at least one execution segment contained in the target data execution information; according to the target data Link, transferring data resources corresponding to the data flow value from the data account of the data outflow object to the data account of the data inflow object; wherein, the start data node of the target data link corresponds to the Data flows out of the data account of the object, and the terminating data node corresponds to the data account of the data inflow object.
  • the data outflow object can directly transfer the data resource to the data.
  • Inflow objects on the basis of reducing the cost of data flow, further improve the execution and processing efficiency of the target data transaction.
  • the data flow data calculates the first execution additional data value.
  • the specific implementation is as follows: according to the data flow value and the first execution additional data corresponding to the at least one execution segment Data accounting, calculating the first execution additional data value corresponding to the at least one execution segment; performing the data settlement processing of the first execution additional data value on the data inflow object; wherein, the first execution additional data accounting
  • the ratio includes the processing fee rate generated by the execution processing of the segmented data transaction in the at least one execution segment, and the first execution additional data value obtained by calculating the proportion of the first execution additional data is determined by the The data flows into the subject.
  • the data flow value is proportional to the proportion of the first execution attached data.
  • the data flow from the object to the data flow in the process of the object processing data flow M/3 the actual data account
  • the intermediate data object to which it belongs will receive a certain additional data stream for the data stream M/3.
  • the additional data stream can be calculated based on the 2% of the additional data stream in each data processing stage, that is, the data flowing into the object needs to be sent to the intermediate data object.
  • the data inflow object needs to process the data that has not yet been called by the data outflow object.
  • the data inflow object can submit a second execution request
  • the data transaction corresponding to the remaining execution segment is executed according to the second execution request, so that the data inflow object can be executed in the execution segment of the segmented data transaction.
  • the data transaction corresponding to the remaining execution segment is directly executed and completed.
  • the specific implementation is as follows: the data inflow object of the segmented data transaction is received and submitted for the remaining execution segment The second pre-execution request; based on the second pre-execution mode carried in the second pre-execution request, the data execution information and the data link corresponding to the remaining execution segments are assembled to obtain the second pre-execution
  • the second intermediate data transaction corresponding to the mode; the second total data flow value corresponding to the second pre-execution request is recorded in the second intermediate data transaction; through the data account of the intermediate data object from the segmented data transaction
  • the method of applying for the data resource corresponding to the second total data flow value to the data account of the data inflow object is to perform processing on the second intermediate data transaction; according to the data outflow object and the data outflow object of the segmented data transaction
  • the account path of the two data accounts of the intermediate data object determines the second segment data link from the data outflow object to the intermediate data object; according to the second segment data link and the remaining execution segment
  • the two-segment data transaction is the total data transaction of the data transaction corresponding to the remaining execution segment; based on this, first, according to the second pre-execution mode carried in the second pre-execution request, all the data execution information corresponding to the remaining execution segment and All the data links are assembled to obtain the second intermediate data transaction corresponding to the second pre-execution mode, and the second total data flow value corresponding to the second pre-execution request is recorded in the second intermediate data transaction; and then through The data account of the intermediate data object of the segmented data transaction applies for the data resource corresponding to the second total data flow data to the data account of the data inflow object to perform execution processing on the second intermediate data transaction, Finally, according to the account path of the data accounts of both the data outflow object and the intermediate data object, the second segment data link from the data
  • the second pre-execution request carried in the second pre-execution request submitted by the data inflow object will be used at this time.
  • the execution mode is to construct the data flow execution information and the data flow execution link corresponding to the remaining data flow processing stage to obtain the second intermediate data transaction.
  • the second intermediate data transaction is the intermediate data object provided and not provided to the data inflow object.
  • the data resource with the same value of the called data stream will be applied to the data stream account of the data inflow object through the data stream account of the intermediate data object.
  • the data flow of the transaction performs processing.
  • the data outflow object needs to provide data resources to the intermediate data object at this time, and a second segmented data transaction of the intermediate data object and the data outflow object will be established.
  • the method of deducting the data quota from the data account space of the data outflow object, transferring the data resources corresponding to the part of the data quota from the actual data account to the data account of the intermediate data object one or more implementations of this embodiment , The specific implementation is as follows: in the case where the execution condition of at least one of the remaining execution segments of the second segmented data transaction is triggered, read the triggered remaining segment of the second segmented data transaction The second segment data flow value corresponding to the execution segment; according to the second segment data link, the data limit of the data account space of the data outflow object is deducted by the deduction corresponding to the second segment data flow value Deduction, and transferring the data resource corresponding to the second segmented data flow value from the actual data account corresponding to the data account space of
  • the data outflow object also needs to call the data stream provided by the intermediate data object for the data inflow object.
  • the data outflow object and the intermediate data need to be established.
  • data stream call processing is performed on the second segment data transaction to realize the data stream value deduction from the data account space of the data out of the object.
  • the value of the data stream is called, and at the same time, the data resource equal to the value of the total called data stream is transferred from the actual data account of the data account space of the data outflow object to the data account space of the intermediate data object.
  • the data transaction corresponding to the execution segment that has not been processed can be performed in advance according to the execution request of the data inflow object.
  • the execution processing realizes the improvement of the efficiency of the execution processing of the data flow object.
  • the data processing method provided in this specification obtains metadata of the service to be processed, and creates a segmented data transaction of the service to be processed based on the metadata, and then based on at least one execution segment of the segmented data transaction
  • the submitted execution mode is to analyze the segmented data transaction, and execute the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction obtained by the analysis result Processing, the corresponding execution segment is processed more flexibly according to the submitted execution mode, and at the same time, the pending business is executed in the form of data transaction, which improves the processing efficiency and processing consistency of business data processing.
  • FIG. 2 shows a processing flowchart of a data processing method applied to a transaction service provided by an embodiment of this specification, which specifically includes the following steps S202 to S214.
  • Step S202 Obtain metadata of the service to be processed.
  • the data processing method will be described with the business to be processed as a transaction business, where the metadata refers to the total transaction amount required for the transaction business; in the transaction business scenario, the transaction party and In the process of the transaction for the transaction item, the transaction party needs to provide the transaction amount for the transaction item to obtain the ownership of the transaction item, and often the transaction amount involved in the transaction item is a relatively large number.
  • the transaction party cannot provide the full transaction amount at one time, it is easy to happen.
  • a certain transaction amount can be provided to the transaction party so that the transaction party can target the transaction item Normal transactions are carried out, and the transaction amount provided to the transaction party can be settled in a phased settlement.
  • the transaction platform that provides the transaction quota can provide the full transaction quota for the transaction item to the transaction party at one time, and the transaction party can target the transaction provided by the transaction platform
  • the quota is cleared in stages to realize that the transaction party can obtain the required transaction items, and the transactionee can also make the transaction items be traded, and the trading platform can promote the activity of the transaction, so as to achieve a situation of mutual benefit.
  • the execution of processing requires data support involving multiple processing platforms.
  • the data processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the business to be processed, and based on the distributed system The coordination among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes enables the creation of distributed transactions on the basis of metadata, and the execution of distributed transactions according to the submitted execution mode , So as to further improve the processing efficiency and processing consistency of the business execution processing of the business to be processed.
  • the specific implementation method of the admission restriction verification process is as follows: Determine whether the processing value of the data to be processed contained in the metadata is less than or equal to the available data in the data account space of the data outflow object of the segmented data transaction Quota; if yes, perform the following step S204; if no, push a notification of processing failure to the data outflow object.
  • step S204 first determine the processing value of the to-be-processed data contained in the metadata, and then determine whether the processing value of the to-be-processed data is less than or equal to the available data quota of the account space of the data outflow object that the segmented data refers to, If yes, it indicates that the data outflow object meets the access restriction at this time, and subsequent segmented data transactions can be created for the metadata, and the following step S204 can be performed; if not, it indicates that the data outflow object does not meet the access restriction at this time, and you can A reminder of processing failure is pushed to the data outflow object, and the reminder is related information that the data outflow object cannot perform processing for the segmented data transaction.
  • the data outflow object is checked for admission, which not only improves the security of the business scenario to be processed, but also has a certain restrictive effect on the data outflow object to avoid non-disclosure.
  • the normal data outflow object has an abnormal impact on the business to be processed.
  • Step S204 Create a segmented data transaction of the service to be processed according to the metadata.
  • the data execution information and data links of each execution segment are recorded in the segmented data transaction.
  • a segmented data transaction of the service to be processed can be created according to the metadata, wherein the segmented data
  • the transaction specifically refers to the transaction to be processed after the transaction to be processed is divided according to each execution segment, and the data execution information and data link of each execution segment are recorded in the segmented data transaction.
  • a staged transaction transaction is created based on the total transaction amount of the transaction business, that is, the transaction amount can be provided in stages for the total transaction amount, and the transaction items are traded. Accordingly, each transaction stage is recorded in the staged transaction transaction.
  • the transaction amount information and the transaction link are included in a staged transaction transaction.
  • the recommended number of execution segments will be determined according to the historical data log of the data outflow object. The determination is made according to the execution instruction of the data outflow object.
  • the specific implementation of determining the data of the execution segment is as follows: according to the data outflow object of the segmented data transaction The historical data log determines the recommended number of execution segments pushed to the data outflow object, and determines the number of execution segments of the segmented data transaction according to the execution instructions submitted by the data outflow object for the recommended number.
  • the data outflow object in the transaction business is the transaction party.
  • the number of transaction stage recommendations pushed to the transaction party will be determined based on the historical data log of the transaction party in the staged transaction transaction, which is the transaction party. It is recommended to divide the staged transaction transaction into N transaction stages for subsequent transaction processing, and push the recommended number to the transaction party; based on this, the transaction party can accept the recommended number according to the selection, and divide the staged transaction transaction according to the recommended number
  • the execution requirements can also be submitted for execution instructions for staged transaction transactions, and the staged transaction transactions are divided into P transaction stages. In the transaction stage based on the division, the target transaction transaction corresponding to the transaction stage is subsequently processed. That's it.
  • the duration and/or number of the execution stages of the segmented data transaction can also be determined according to the data record of the data inflow object.
  • the segment is determined according to the data inflow object.
  • the process of the execution segment of the data transaction is as follows: predict the data inflow time interval of the data inflow object based on the data record of the data inflow object, and determine the duration of the execution segment of the segmented data transaction according to the time interval And/or number.
  • the data inflow object in the transaction business is the transacted party.
  • the data records of the transacted party can be combined to predict the transacted party.
  • the duration and/or number of the transaction phases of the phased transaction transaction can be determined according to the time interval.
  • the duration of the transaction phase specifically refers to the length of time for the transaction to process the transaction amount in each time period.
  • the transaction phase The number specifically refers to the value of the transaction amount processed in each time period.
  • the transaction phases of a phased transaction can be divided according to the respective intentions of the transaction party or the counterparty, so as to be more suitable for the transaction party or the counterparty.
  • the transaction processing intention of the transaction is to provide a better experience effect for the transaction party and the transacted party.
  • Step S206 in the case that the execution condition of the execution segment of the segmented data transaction is triggered, the segmented data transaction is decomposed according to the segmented execution mode corresponding to the triggered execution condition of the segmented data transaction to obtain The target data transaction corresponding to the segmented execution mode.
  • the segmented data transaction will be performed according to the segmented execution mode corresponding to the execution segment.
  • the execution condition of the execution segment of the segmented data transaction it can be determined whether the execution condition of the execution segment of the segmented data transaction is triggered, and the execution condition is not triggered. In the case that the current time node has not reached the time node for executing the processing for the segmented data transaction, no processing is required; when the execution condition is triggered, it indicates that the current time node has reached the time node for the execution of the segmented data transaction.
  • the target data transaction corresponding to the execution segment that needs to be executed in the segmented data transaction For the time node at which the segmented data transaction is executed, it is necessary to determine the target data transaction corresponding to the execution segment that needs to be executed in the segmented data transaction; based on this, first determine the execution segment that is triggered by the execution condition According to the corresponding segmented execution mode, the segmented data transaction is decomposed according to the segmented execution mode, and finally the target data transaction corresponding to the segmented execution mode is obtained.
  • the transaction party needs to pay the transaction amount N to the trading platform for the transaction item.
  • the staged transaction created based on the transaction amount N is that in each of the four transaction stages, the transaction amount is calculated according to N/4.
  • the data execution information of the four transaction stages recorded in the staged transaction transaction is the amount of the settlement transaction per month according to N/4, and the transaction link is deducted through the transaction account of the transaction party;
  • the transaction amount can be automatically deducted by automatically deducting the N/4 transaction amount from the trading account, that is, the transaction is detected at the settlement time of each month Whether the party pays off the N/4 transaction amount, if not, it will be determined at this time that the execution conditions of the transaction stage of the staged transaction transaction are triggered, and then the transaction amount that needs to be deducted in this transaction stage can be determined, and the subsequent transaction amount will be deducted In this process, it is first necessary to analyze the phased transaction transaction according to the phased transaction method of this transaction stage, and determine that the target transaction transaction corresponding to the phased transaction method is N for the second transaction stage through the trading account. /4 The amount of the transaction is the business of repayment.
  • the corresponding phased transaction method can be automatically triggered according to the execution conditions.
  • the transaction transaction is decomposed to determine the target transaction transaction, and the target transaction transaction can be processed in a timely manner in the follow-up, which effectively improves the efficiency of the target transaction transaction processing.
  • the target data transaction is determined.
  • the specific implementation method for determining the target data transaction according to the segment execution request is as follows: Receive the segment data
  • the data outflow object of the transaction is for the segmented execution request submitted by the at least one execution segment; based on the segmented execution mode carried in the segmented execution request, the segmented data transaction is decomposed to obtain the same The target data transaction corresponding to the execution mode.
  • target data execution information and target data link of the at least one execution segment are recorded, and the target data execution information is based on the at least one execution segment
  • the target data link is determined based on the data link of the at least one execution segment, and the target data execution information and the target data link are used for subsequent execution of the target data transaction Processing process.
  • the data outflow object actively follows up the target data transaction corresponding to the at least one execution segment at this time
  • the data outflow object can perform subsequent execution processing for the target data transaction corresponding to one execution segment, or perform subsequent execution processing for the target data transaction corresponding to multiple execution segments at the same time; based on this, in the receiving
  • the segmented data transaction is decomposed based on the segmented execution mode carried in the segmented execution request, and the corresponding segmented execution mode can be determined according to the decomposition result.
  • the target data transaction is decomposed based on the segmented execution mode carried in the segmented execution request, and the corresponding segmented execution mode can be determined according to the decomposition result.
  • the transaction party needs to pay the transaction amount N to the trading platform for the transaction item.
  • the staged transaction created based on the transaction amount N is that in each of the four transaction stages, the transaction amount is calculated according to N/4.
  • the data execution information of the four transaction stages recorded in the staged transaction transaction is the amount of the transaction to be settled in accordance with N/4 each month.
  • the transaction link is deducted through the transaction account of the transaction party; and the transaction party in order to be able to Perform settlement processing for the unsettled transaction amount in a timely manner.
  • the phase-by-phase transaction method for the fourth transaction phase breaks down the phased transaction transaction, and determines the target corresponding to the phased transaction method of the third transaction stage and the phased transaction method of the fourth transaction stage
  • the transaction transaction is a transaction that settles the N/2 transaction amount of the third transaction stage and the fourth transaction stage through the transaction account.
  • the transaction party in the case of receiving a segmented execution request, it means that the transaction party has the intention to actively carry out subsequent transaction processing for the target transaction at this time, and the phased transaction can be processed based on the phased transaction method carried in the segmented execution request. Decompose to obtain the target transaction transaction, which improves the arbitrariness of the transaction party.
  • the subsequent transaction processing can be proposed for the target transaction transaction at any time, and when the transaction amount of the transaction party is sufficient, the transaction transaction can be checked in advance. Transaction processing is performed on the target transaction transaction of transaction processing, so that the transaction party can complete the transaction processing for the transaction business in advance.
  • Step S208 Read the data flow value corresponding to the at least one execution segment included in the target data execution information.
  • the at least one execution contained in the target data execution information recorded in the target data transaction will be read
  • the data flow value corresponding to the segment where the data flow value specifically refers to a value corresponding to the amount of data that needs to be used for processing the target data transaction.
  • the data flow value in the transaction business is the settlement transaction amount corresponding to the transaction stage; following the above example, the data flow value in the third transaction stage is the transaction amount of N/4, and the fourth transaction The data flow value of the stage is the transaction amount of N/4.
  • Step S210 According to the target data link, deduct the deduction amount corresponding to the data flow value from the data quota of the data account space of the data outflow object, and the deduction amount corresponding to the data account space of the data outflow object.
  • the actual data account transfers the data resource corresponding to the data flow value to the data account of the data inflow object of the segmented data transaction.
  • the data node of the target data link corresponds to at least the data account space of the data outflow object and the data account of the data inflow object; the duration of the data settlement period of the data account space is related to the segment The duration of the execution processing cycle of the execution section of the data transaction is the same.
  • the data quota of the data account space is deducted from the data quota of the data account space in the previous data settlement cycle. After the data settlement processing of the latter data settlement cycle, the said deduction quota is deducted from the data quota of the data account space. Deduction amount The deduction of the data amount is updated.
  • the data account space is the storage space for the transaction quota provided by the trading platform to the transaction party, and the data quota in the data account space is the transaction platform’s transfer to the transaction party.
  • the amount of expenditure provided, and the amount of expenditure needs to be repaid by the transaction party at the set time node.
  • the actual data account is the account of the party that provides the trading platform with funds corresponding to the amount of expenditure, and the data flows into the object It is the transacted party, and the data account is the account of the transacted party's storage quota.
  • the target transaction transaction needs to be executed at this time, and the transaction amount is determined to be N/2.
  • the transaction amount will be deducted from the transaction account of the transaction party.
  • Equivalent spending limit, and the account of the party providing the spending limit will transfer resources equal to the N/2 transaction amount to the counterparty. It can be determined that the transaction process between the transaction party and the counterparty for the transaction item is over, and the follow-up The transaction party only needs to pay off the resources equal to the transaction amount N/2 to the transaction account.
  • the transaction processing in order to avoid occupying the excessive transaction quota in the transaction account of the transaction party, the transaction processing can be performed for the phased transaction transaction in the designated segment method, so as to achieve the transaction quota. Deductions are made in accordance with the transaction quota at the transaction stage, and the transaction business can also be completed while reducing the pressure on the transaction party to deal with the transaction quota.
  • the data resource corresponding to the data flow value can also be directly transferred to the data inflow object through the data account of the data outflow object Data account to avoid excessive additional data resources caused by intermediary parties and affect the experience effect of data outflow objects participating in the pending service.
  • the data outflow is directly used
  • the specific implementation manner of transferring the corresponding data account to the data account data resource of the data inflow object is as follows: read the data flow value corresponding to the at least one execution segment contained in the target data execution information;
  • the target data link transfers the data resource corresponding to the data flow value from the data account of the data outflow object to the data account of the data inflow object; wherein, the start data node of the target data link corresponds to When the data flows out of the data account of the object, the terminating data node corresponds to the data account of the data inflow object.
  • the transaction corresponding to the third transaction stage is determined based on the target data execution information recorded in the target transaction transaction. Amount N/4.
  • the transaction resource corresponding to the transaction amount N/4 is transferred from the transaction account of the transaction party, and this part of the transaction resource is transferred to the transactional party’s transaction account.
  • the transaction party in order to facilitate the flow of transaction quotas during the process of transaction processing for the target transaction, and to prevent the intermediate party from receiving additional transaction quotas, the transaction party can directly transfer the transaction quota to the counterparty, thereby reducing the transaction Based on the flow cost of the quota, the transaction processing efficiency of the target transaction transaction is further improved.
  • Step S212 Calculate the first execution additional data value corresponding to the at least one execution stage according to the data flow value and the proportion of the first execution additional data corresponding to the at least one execution stage.
  • the first execution additional data value can be calculated according to the data flow data, and then the first execution additional data value can be calculated according to the first execution additional data value. Data flows into the object for settlement.
  • the data flow value is proportional to the proportion of the first execution attached data.
  • the actual data account belongs to The trading platform will charge a certain additional transaction limit for the transaction limit N/4.
  • Y represents the first execution additional data value
  • X represents the data flow value
  • am represents the proportion of the first execution additional data
  • Step S214 Perform data settlement processing of the first execution additional data value on the data inflow object.
  • the data settlement processing will be performed for the data inflow object, wherein the proportion of the first execution additional data is Including the processing fee rate generated by the execution processing of the segmented data transaction in the at least one execution segment, and the first execution additional data value obtained by calculating the proportion of the first execution additional data is flowed from the data Subject to bear.
  • the data inflow object needs to process the data that has not yet been called by the data outflow object.
  • the data inflow object can submit a second execution request
  • the data transaction corresponding to the remaining execution segment is executed according to the second execution request, so that the data inflow object can be executed in the execution segment of the segmented data transaction.
  • the data transaction corresponding to the remaining execution segment is directly executed and completed.
  • the specific implementation is as follows: the data inflow object of the segmented data transaction is received and submitted for the remaining execution segment The second pre-execution request; based on the second pre-execution mode carried in the second pre-execution request, the data execution information and the data link corresponding to the remaining execution segments are assembled to obtain the second pre-execution
  • the second intermediate data transaction corresponding to the mode; the second total data flow value corresponding to the second pre-execution request is recorded in the second intermediate data transaction; through the data account of the intermediate data object from the segmented data transaction
  • the method of applying for the data resource corresponding to the second total data flow value to the data account of the data inflow object is to perform processing on the second intermediate data transaction; according to the data outflow object and the data outflow object of the segmented data transaction
  • the account path of the two data accounts of the intermediate data object determines the second segment data link from the data outflow object to the intermediate data object; according to the second segment data link and the remaining execution segment
  • the two-segment data transaction is the total data transaction of the data transaction corresponding to the remaining execution segment; based on this, first, according to the second pre-execution mode carried in the second pre-execution request, all the data execution information corresponding to the remaining execution segment and All data links are assembled to obtain a second intermediate data transaction corresponding to a second pre-execution mode, where a second total data flow value corresponding to the second pre-execution request is recorded in the second intermediate data transaction;
  • the second intermediate data transaction is executed by applying for the data resource corresponding to the second total data flow data to the data account of the data inflow object through the data account of the intermediate data object of the segmented data transaction Processing, and finally, according to the account paths of the data accounts of the data outflow object and the intermediate data object, determine the second segmented data link from the data outflow object to the intermediate data object; according to the first
  • the second-segment data link and the data execution information of the remaining execution stage form a second-segment data transaction corresponding to the remaining execution stage.
  • the data outflow object needs to provide data resources to the intermediate data object at this time, and a second segmented data transaction of the intermediate data object and the data outflow object will be established.
  • the method of deducting the data quota from the data account space of the data outflow object, transferring the data resources corresponding to the part of the data quota from the actual data account to the data account of the intermediate data object one or more implementations of this embodiment , The specific implementation is as follows: in the case where the execution condition of at least one of the remaining execution segments of the second segmented data transaction is triggered, read the triggered remaining segment of the second segmented data transaction The second segment data flow value corresponding to the execution segment; according to the second segment data link, the data limit of the data account space of the data outflow object is deducted by the deduction corresponding to the second segment data flow value Deduction, and transferring the data resource corresponding to the second segmented data flow value from the actual data account corresponding to the data account space of
  • the execution processing realizes the improvement of the convenience of the execution processing of the data inflow object.
  • the data processing method used in the transaction business realizes that the transaction processing can be carried out in a phased transaction manner for the transaction business, so that only a small transaction amount can be provided in each transaction stage to complete the transaction business , And the transaction party does not need to provide the full amount of transaction quota at one time, nor will it occupy all the spending quota of the transaction party’s trading account.
  • the transaction party only needs to perform transaction processing in accordance with the various transaction stages of the phased transaction transaction to achieve the transaction
  • the transaction processing of the business not only improves the experience of the transaction party, but also makes the transaction business scene more active.
  • FIG. 3 shows a processing flowchart of a data processing method applied to a payment service provided by an embodiment of this specification, which specifically includes the following steps S302 to S316.
  • Step S302 Obtain metadata of the service to be processed.
  • the data processing method will be described as well as that the service to be processed is a payment service, where the metadata specifically refers to the total payment funds that the payment user needs to pay to the merchant in the payment service; in the payment service scenario , In the process of the transaction between the paying user and the merchant, the user needs to pay a certain amount to the merchant to obtain the ownership of the product, and the amount that needs to be paid for the product is often a large amount of money.
  • the payment platform will provide the user with a payment line, through which the payment line can also be paid for the funds, but a one-time Occupying too much payment limit will cause difficulty in the process of paying users to settle the payment limit, so solving the above problems will bring a better quality transaction environment for payment users.
  • the payment method is that the payment user has paid for the product by choosing installment payment on the payment platform, that is, the payment user uses the payment limit provided by the payment platform to pay for the product.
  • Payment is made in a phased payment method, and the payment platform will transfer funds equal to the payment limit of each phase to the merchant at the payment time each month, and will freeze the payment equal to the part of the funds in the payment account of the paying user For the payment limit, the paying user only needs to repay the same amount of funds for this part of the payment limit.
  • the payment platform that provides the payment line can transfer the funds corresponding to the full payment line for the product to the merchant at one time, and the paying user can pay for the payment line provided by the payment platform
  • the payment is settled in stages, and the fund provider who provides payment funds equal to the payment amount issues the funds, and when the payment user pays the payment platform according to the settlement funds of each payment stage, the payment platform will pay the fund provider according to the payment amount. Replenish this part of funds equal to the number of times in each payment stage, so that payment users can obtain the goods they need, merchants can obtain funds immediately after the goods are sold, and payment platforms and fund providers can promote the flow of funds to achieve multi-party access Profitable situation.
  • the execution of processing requires data support involving multiple processing platforms.
  • the data processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the business to be processed, and based on the distributed system The coordination among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes enables the creation of distributed transactions on the basis of metadata, and the execution of distributed transactions according to the submitted execution mode , So as to further improve the processing efficiency and processing consistency of the business execution processing of the business to be processed.
  • the specific implementation method of the admission restriction verification process is as follows: Determine whether the processing value of the data to be processed contained in the metadata is less than or equal to the available data in the data account space of the data outflow object of the segmented data transaction Quota; if yes, execute the following step S304; if no, push a notification of processing failure to the data outflow object.
  • step S304 first determine the processing value of the to-be-processed data contained in the metadata, and then determine whether the processing value of the to-be-processed data is less than or equal to the available data quota of the account space of the data outflow object that the segmented data refers to, If yes, it indicates that the data outflow object meets the access restriction at this time, and subsequent segmented data transactions can be created for the metadata, and the following step S304 can be performed; if not, it indicates that the data outflow object does not meet the access restriction at this time, and you can A reminder of processing failure is pushed to the data outflow object, and the reminder is related information that the data outflow object cannot perform processing for the segmented data transaction.
  • the data outflow object is checked for admission, which not only improves the security of the business scenario to be processed, but also has a certain restrictive effect on the data outflow object to avoid non-disclosure.
  • the normal data outflow object has an abnormal impact on the business to be processed.
  • Step S304 Create a segmented data transaction of the service to be processed according to the metadata.
  • the data execution information and data links of each execution segment are recorded in the segmented data transaction.
  • a segmented data transaction of the service to be processed can be created according to the metadata, wherein the segmented data
  • the transaction specifically refers to the transaction to be processed after the transaction to be processed is divided according to each execution segment, and the data execution information and data link of each execution segment are recorded in the segmented data transaction.
  • each phased transaction transaction records each Payment limit information and payment links in the payment phase, where the payment limit information specifically refers to the funds corresponding to the payment limit that the payment user needs to pay to the payment platform for each payment phase, and the payment platform needs to pay the merchant corresponding to the payment limit
  • the payment link specifically refers to the payment path used by the payment user to pay the funds corresponding to the payment amount.
  • Step S306 Determine the recommended number of execution segments pushed to the data outflow object according to the historical data log of the data outflow object of the segmented data transaction, and according to the execution instructions submitted by the data outflow object for the recommended number Determine the number of execution stages of the segmented data transaction.
  • the direction can be determined according to the historical data log of the data outflow object.
  • the recommended number of execution segments pushed by the data outflow object, and the number of execution segments of the segmented data transaction may be determined according to the execution instructions submitted by the data outflow object for the recommended number.
  • the phased payment transaction for the goods needs to be divided according to the payment stage, and the division of the payment stage can be based on the payment user's historical payment
  • the data recorded in the log confirms that the process of determining that the paying user pays off the payment limit usually chooses to pay in 10 stages.
  • the number of recommendations in the payment stage pushed by the payment platform to the paying user is 10; or the paying user can also follow Customize the number of payment stages for your own needs.
  • the payment user when the execution instruction submitted by the payment user for the phased payment transaction is to divide the phased payment transaction into 5 payment phases, the payment user needs to pay 5 times the payment limit for the commodity.
  • the duration and/or number of the execution stages of the segmented data transaction can also be determined according to the data record of the data inflow object.
  • the segment is determined according to the data inflow object.
  • the process of the execution segment of the data transaction is as follows: predict the data inflow time interval of the data inflow object based on the data record of the data inflow object, and determine the duration of the execution segment of the segmented data transaction according to the time interval And/or number.
  • the data inflow object is the merchant in the payment business.
  • the process of determining the duration and/or number of the payment phase of a phased payment transaction it is to determine the number of payment phases and the time corresponding to each payment phase
  • the historical data of the merchant’s funds used can be used to determine the settlement time for the payment line. If the merchant needs to use funds for purchases on the 5th of each month, the settlement time can be set from the 1st to the 1st of each month. Between the 4th, so that the merchant can have funds available during the purchase process, the number of payment stages can also be determined based on the merchant’s historical data.
  • phased payment transaction will be divided into fewer payment phases. Conversely, if the amount of funds required by the merchant on the 5th is small, the phased payment transaction of the paying user will be divided into more payment phases; and the number of payment phases can also be It is set by the merchant, and this manual does not make any restrictions here.
  • the payment phases of the phased payment transaction can be divided according to the respective intentions of the paying user or the merchant, so that the paying user can settle the payment amount according to their own intentions.
  • merchants can obtain funds corresponding to the payment limit according to their own intentions, thereby improving the experience of payment users and merchants.
  • Step S308 in the case that the execution condition of the execution segment of the segmented data transaction is triggered, decompose the segmented data transaction according to the segmented execution mode corresponding to the triggered execution condition of the segmented data transaction to obtain The target data transaction corresponding to the segmented execution mode.
  • the segmented data transaction will be performed according to the segmented execution mode corresponding to the execution segment.
  • the process of determining the target data transaction corresponding to the segmented execution mode it can be determined whether the execution condition of the execution segment of the segmented data transaction is triggered, and the execution condition is not triggered. In the case that the current time node has not reached the time node for executing the processing for the segmented data transaction, no processing is required; when the execution condition is triggered, it indicates that the current time node has reached the time node for the execution of the segmented data transaction. For the time node at which the segmented data transaction is executed, it is necessary to determine the target data transaction corresponding to the execution segment that needs to be executed in the segmented data transaction;
  • the paying user performs 10 payment stages for the goods, and the price of the paid goods is 1,000 yuan, so each payment stage needs to pay the payment platform 100 yuan corresponding to the payment limit of 100, and in the payment In the fifth payment stage of the payment process for the product, the paying user needs to pay 100 yuan to the payment platform at this time;
  • the fifth phased payment method of decomposes the phased payment transaction to obtain the target payment transaction, and the target payment transaction is the transaction that clears the payment line of 100 for the fifth payment stage.
  • the target payment transaction corresponding to the payment stage of the payment user can be automatically determined, so as to facilitate the reminding the payment user that the target payment transaction is required.
  • the payment transaction is processed to settle the payment quota, which effectively promotes the enthusiasm of payment users.
  • the target data transaction is determined.
  • the specific implementation method for determining the target data transaction according to the segment execution request is as follows: Receive the segment data
  • the data outflow object of the transaction is for the segmented execution request submitted by the at least one execution segment; based on the segmented execution mode carried in the segmented execution request, the segmented data transaction is decomposed to obtain the same The target data transaction corresponding to the execution mode.
  • target data execution information and target data link of the at least one execution segment are recorded, and the target data execution information is based on the at least one execution segment
  • the target data link is determined based on the data link of the at least one execution segment, and the target data execution information and the target data link are used for subsequent execution of the target data transaction Processing process.
  • the data outflow object actively follows up the target data transaction corresponding to the at least one execution segment at this time
  • the data outflow object can perform subsequent execution processing for the target data transaction corresponding to one execution segment, or perform subsequent execution processing for the target data transaction corresponding to multiple execution segments at the same time; based on this, in the receiving
  • the segmented data transaction is decomposed based on the segmented execution mode carried in the segmented execution request, and the corresponding segmented execution mode can be determined according to the decomposition result.
  • the target data transaction is decomposed based on the segmented execution mode carried in the segmented execution request, and the corresponding segmented execution mode can be determined according to the decomposition result.
  • the paying user performs 10 payment stages for the product, and the price of the paid product is 1,000 yuan, so each payment stage needs to pay the payment platform 100 yuan corresponding to the payment limit of 100, and In the payment process of the fifth payment stage of the payment user for the goods, the payment user needs to pay 100 yuan to the payment platform at this time; and the payment user can settle the outstanding payment limit in time, and the payment user can Proactively submit a staged execution request for the fifth payment stage.
  • the staged payment transaction is decomposed based on the staged payment method for the fifth payment stage carried in the staged execution request, and the target payment corresponding to the fifth payment stage is determined
  • the transaction is a transaction for repaying the payment limit 100 in the fifth payment stage through the payment account of the payment user.
  • the payment method can be based on the staged payment method carried in the staged execution request.
  • the payment transaction is decomposed in stages to obtain the target payment transaction, which improves the arbitrariness of the payment user to pay off the payment line, and can pay off the payment line in advance at any time, which makes it more convenient for the merchant to receive the funds corresponding to the payment line in advance.
  • Step S310 Read the data flow value corresponding to the at least one execution segment included in the target data execution information.
  • the at least one execution contained in the target data execution information recorded in the target data transaction will be read
  • the data flow value corresponding to the segment where the data flow value specifically refers to a value corresponding to the amount of data that needs to be used for processing the target data transaction.
  • the data flow value in the payment service is the payment limit of 100 for the fifth payment stage.
  • Step S312 According to the target data link, deduct the deduction amount corresponding to the data flow value from the data quota of the data account space of the data outflow object, and the deduction amount corresponding to the data account space of the data outflow object.
  • the actual data account transfers the data resource corresponding to the data flow value to the data account of the data inflow object of the segmented data transaction.
  • the data node of the target data link at least corresponds to the data account space of the data outflow object and the data account of the data inflow object; the duration of the data settlement period of the data account space is related to the segment The duration of the execution processing cycle of the execution section of the data transaction is equal, and the data quota of the data account space is deducted from the data quota of the data account space in the previous data settlement cycle. Deduction amount The deduction of the data amount is updated.
  • the data account space is the account space for the payment platform to provide the payment user with a payment limit
  • the data account space in the data account space is the payment platform provides to the payment user If the payment limit is used by the paying user again, the corresponding funds need to be repaid in a certain proportion.
  • the actual data account is the financial institution that provides the payment platform with funds corresponding to the payment limit
  • the account to which the data flows into is the merchant, and the data account is the merchant’s account for storing funds.
  • the total cost is 1,000 yuan
  • the payment method is to make the purchase through the payment line provided to the user by the payment platform, and the 1,000 yuan user has made installments for the payment platform
  • the total number of periods is 10, and the monthly payment is 100 yuan, that is, the payment platform only freezes the payment limit of 100 in the user’s account each month, and will not directly freeze the payment limit of 1000 corresponding to 1,000 yuan, of which 1 amount corresponds to 1 Yuan;
  • the payment limit of 100 will be frozen in the user's account at this time, and at the same time, 100 yuan of funds will be paid to the merchant through the financial institution corresponding to the payment platform, and the funds will be transferred
  • the payment user only needs to repay the 100 yuan corresponding to the payment limit of 100 to the payment platform within the set time.
  • the payment platform will pay the financial institution according to the 100 yuan repaid by the user. The agency makes reimbursements.
  • a phased payment method can be used to clear the payment process for the phased payment transaction, so that the payment line can be made according to the payment stage.
  • the payment limit is reduced to reduce the pressure of payment users to pay the payment platform to settle the payment limit, and the payment business can also be completed.
  • the data resource corresponding to the data flow value can also be directly transferred to the data inflow object through the data account of the data outflow object Data account to avoid excessive additional data resources caused by intermediary parties and affect the experience effect of data outflow objects participating in the pending service.
  • the data outflow is directly used
  • the specific implementation manner of transferring the corresponding data account to the data account data resource of the data inflow object is as follows: read the data flow value corresponding to the at least one execution segment contained in the target data execution information;
  • the target data link transfers the data resource corresponding to the data flow value from the data account of the data outflow object to the data account of the data inflow object; wherein, the start data node of the target data link corresponds to When the data flows out of the data account of the object, the terminating data node corresponds to the data account of the data inflow object.
  • the payment corresponding to the fifth payment stage is determined based on the target data execution information recorded in the target payment transaction.
  • the limit is 100.
  • 100 yuan of funds corresponding to the payment limit of 100 are transferred from the payment user's payment account, and this part of the funds is transferred to the merchant's payment account.
  • Step S314 Calculate the first execution additional data value corresponding to the at least one execution stage according to the data flow value and the proportion of the first execution additional data corresponding to the at least one execution stage.
  • the first execution additional data value can be calculated according to the data flow data, and then the first execution additional data value can be calculated according to the first execution additional data value. Data flows into the object for settlement.
  • the data flow value is proportional to the proportion of the first execution attached data.
  • the payment platform will issue a payment to the payment limit of 100.
  • Step S316 Perform data settlement processing of the first execution additional data value on the data inflow object.
  • the data settlement processing will be performed for the data inflow object, wherein the proportion of the first execution additional data is Including the processing fee rate generated by the execution processing of the segmented data transaction in the at least one execution segment, and the first execution additional data value obtained by calculating the proportion of the first execution additional data is flowed from the data Subject to bear.
  • the management fee borne by the merchant is 1.2 yuan
  • 0.4 yuan in the 1.2 yuan is the management fee that needs to be paid to the financial institution that provides the funds corresponding to the payment limit
  • the merchant will pay A management fee of 1.2 yuan is paid to the payment platform in the account, and the payment platform will pay a management fee of 0.4 yuan to the financial institution for this phased payment transaction.
  • the merchant can bear this part of the management fee, so that the paying user can still obtain the product without paying the management fee, which greatly improves the experience of the payment user, and the merchant can use this method to pay
  • the sale of unsalable goods can promote the sale of unsalable goods without bearing a loss.
  • the payment user can also obtain goods through a lower payment amount, thereby realizing multi-party profit.
  • the data inflow object needs to process the data that has not yet been called by the data outflow object.
  • the data inflow object can submit a second execution request
  • the data transaction corresponding to the remaining execution segment is executed according to the second execution request, so that the data inflow object can be executed in the execution segment of the segmented data transaction.
  • the data transaction corresponding to the remaining execution segment is directly executed and completed.
  • the specific implementation is as follows: the data inflow object of the segmented data transaction is received and submitted for the remaining execution segment The second pre-execution request; based on the second pre-execution mode carried in the second pre-execution request, the data execution information and the data link corresponding to the remaining execution segments are assembled to obtain the second pre-execution
  • the second intermediate data transaction corresponding to the mode; the second total data flow value corresponding to the second pre-execution request is recorded in the second intermediate data transaction; through the data account of the intermediate data object from the segmented data transaction
  • the method of applying for the data resource corresponding to the second total data flow value to the data account of the data inflow object is to perform processing on the second intermediate data transaction; according to the data outflow object and the data outflow object of the segmented data transaction
  • the account path of the two data accounts of the intermediate data object determines the second segment data link from the data outflow object to the intermediate data object; according to the second segment data link and the remaining execution segment
  • the two-segment data transaction is the total data transaction of the data transaction corresponding to the remaining execution segment; based on this, first, according to the second pre-execution mode carried in the second pre-execution request, all the data execution information corresponding to the remaining execution segment and All the data links are assembled to obtain the second intermediate data transaction corresponding to the second pre-execution mode, and the second total data flow value corresponding to the second pre-execution request is recorded in the second intermediate data transaction; and then through The data account of the intermediate data object of the segmented data transaction applies for the data resource corresponding to the second total data flow data to the data account of the data inflow object to perform execution processing on the second intermediate data transaction, Finally, according to the account path of the data accounts of both the data outflow object and the intermediate data object, the second segmented data link from
  • the data outflow object needs to provide data resources to the intermediate data object at this time, and a second segmented data transaction of the intermediate data object and the data outflow object will be established.
  • the method of deducting the data quota from the data account space of the data outflow object, transferring the data resources corresponding to the part of the data quota from the actual data account to the data account of the intermediate data object one or more implementations of this embodiment , The specific implementation is as follows: in the case where the execution condition of at least one of the remaining execution segments of the second segmented data transaction is triggered, read the triggered remaining segment of the second segmented data transaction The second segment data flow value corresponding to the execution segment; according to the second segment data link, the data limit of the data account space of the data outflow object is deducted by the deduction corresponding to the second segment data flow value Deduction, and transferring the data resource corresponding to the second segment data flow value from the actual data account corresponding to the data account space of the data
  • the unpaid funds of the paying user are 500 yuan, and at this time The financial institution that provides funds to the payment receipt will be able to pay the 500 yuan of funds to the merchant at the request of the merchant.
  • the 500 yuan of funds will eventually need to be paid to the user for payment, so 500 needs to be directly deducted from the payment limit of the user.
  • the amount is used to indicate that the paying user needs to repay the 500 yuan fund corresponding to the payment amount of 500 in the subsequent process of repaying the funds corresponding to the payment amount.
  • the payment can be withdrawn for the goods with installments.
  • the financial institution will pay the corresponding funds to the merchant after verification according to the request made by the merchant, and the payment platform will pay at this time
  • the user’s payment limit freezes the amount corresponding to the remaining funds that the payment user needs to repay, so that the merchant can collect the payment in advance without the payment user’s repayment, which greatly improves the convenience of the merchant’s collection.
  • the data processing method used in the payment business provided in this manual realizes that the payment user can repay the payment limit for the purchase of goods in a phased payment method for the payment business, and the payment user does not need to pay the full amount of payment funds at once. It does not occupy the entire payment line of the payment user’s payment account.
  • the payment user only needs to perform payment processing in accordance with the payment stages of the payment transaction in stages to complete the payment processing of the payment business. While improving the payment user’s experience effect, The payment business scenario still has to become more active.
  • FIG. 4 shows a processing flowchart of the second data processing method applied to payment services provided by the embodiment of this specification, which specifically includes the following steps S402 to S430.
  • Step S402 Obtain metadata of the service to be processed.
  • the data processing method will be described with the service to be processed as a payment service, where the metadata specifically refers to the total payment funds that the payment user needs to pay to the merchant in the payment service; in the payment service scenario , In the process of the transaction between the paying user and the merchant, the user needs to pay a certain amount to the merchant to obtain the ownership of the product, and the amount that needs to be paid for the product is often a large amount of money.
  • the payment platform will provide the user with a payment limit, through which the payment can also be made for the funds, but a one-time Occupying too much payment limit will cause difficulty in the process of paying users to settle the payment limit, so solving the above problems will bring a better quality transaction environment for payment users.
  • the payment method is that the payment user has paid for the product by choosing installment payment on the payment platform, that is, the payment user uses the payment limit provided by the payment platform to pay for the product.
  • Payment is made in a phased payment method, and the payment platform will transfer funds equal to the payment limit of each phase to the merchant at the payment time each month, and will freeze the payment equal to the part of the funds in the payment account of the paying user For the payment limit, the paying user only needs to repay the same amount of funds for this part of the payment limit.
  • the payment platform that provides the payment line can transfer the funds corresponding to the full payment line for the product to the merchant at one time, and the paying user can pay for the payment line provided by the payment platform
  • the payment is settled in stages, and the fund provider who provides payment funds equal to the payment amount issues the funds, and when the payment user pays the payment platform according to the settlement funds of each payment stage, the payment platform will pay the fund provider according to the payment amount. Replenish this part of funds equal to the number of times in each payment stage, so that payment users can obtain the goods they need, merchants can obtain funds immediately after the goods are sold, and payment platforms and fund providers can promote the flow of funds to achieve multi-party access Profitable situation.
  • the execution of processing requires data support involving multiple processing platforms.
  • the data processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the business to be processed, and based on the distributed system The coordination among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes enables the creation of distributed transactions on the basis of metadata, and the execution of distributed transactions according to the submitted execution mode , So as to further improve the processing efficiency and processing consistency of the business execution processing of the business to be processed.
  • the specific implementation method of the admission restriction verification process is as follows: Determine whether the processing value of the data to be processed contained in the metadata is less than or equal to the available data in the data account space of the data outflow object of the segmented data transaction Quota; if yes, execute the following step S404; if no, push a notification of processing failure to the data outflow object.
  • step S404 first determine the processing value of the to-be-processed data contained in the metadata, and then determine whether the processing value of the to-be-processed data is less than or equal to the available data quota of the account space of the data outflow object that the segmented data refers to, If yes, it indicates that the data outflow object meets the access restriction at this time, and subsequent segmented data transactions can be created for the metadata, and the following step S404 can be performed; if not, it indicates that the data outflow object does not meet the access restriction at this time, and you can A reminder of processing failure is pushed to the data outflow object, and the reminder is related information that the data outflow object cannot perform processing for the segmented data transaction.
  • the data outflow object is checked for admission, which not only improves the security of the business scenario to be processed, but also has a certain restrictive effect on the data outflow object to avoid non-disclosure.
  • the normal data outflow object has an abnormal impact on the business to be processed.
  • Step S404 Create a segmented data transaction of the service to be processed according to the metadata.
  • the data execution information and data links of each execution segment are recorded in the segmented data transaction.
  • a segmented data transaction of the service to be processed can be created according to the metadata, wherein the segmented data
  • the transaction specifically refers to the transaction to be processed after the transaction to be processed is divided according to each execution segment, and the data execution information and data link of each execution segment are recorded in the segmented data transaction.
  • each phased transaction transaction records each Payment limit information and payment links in the payment phase, where the payment limit information specifically refers to the funds corresponding to the payment limit that the payment user needs to pay to the payment platform for each payment phase, and the payment platform needs to pay the merchant corresponding to the payment limit
  • the payment link specifically refers to the payment path used by the payment user to pay the funds corresponding to the payment amount.
  • Step S406 Receive a pre-execution request submitted by the data inflow object of the segmented data transaction for the at least one execution segment.
  • segmented data transactions of the service to be processed based on the metadata further, at this time, it is determined that the segmented data transactions can be processed in a phased manner for the target data transactions of each execution segment Perform execution processing, and before performing processing for the target data transaction, there may be data inflow objects that perform execution processing on the data transactions corresponding to each execution segment of the segmented data transaction in advance. At this time, follow-ups will be performed according to the execution request of the data inflow object The process of performing processing in advance; and, when the data inflow object submits an execution request, it may be a pre-execution request submitted by the data inflow object for an execution segment.
  • the data inflow object needs to perform early execution processing for an execution segment ; It may also be a pre-execution request submitted for multiple execution stages. At this time, it indicates that the data inflow object needs to be processed in advance for multiple execution stages; among them, multiple execution stages may be all execution stages that have not yet been processed. corresponding.
  • a payment user purchases a product at a merchant, and pays for the product using a payment platform payment line through a phased payment method.
  • the number of payment phases is 10, and the price of the product is 1,000 yuan.
  • Payment users in two stages need to pay 100 yuan for the product, that is, the payment limit of 100 needs to be frozen in the payment user's payment account. If the user to pay for the frozen payment limit of 100 is repaid to the payment platform, the payment limit of 100 will be unfrozen Based on this, in the case that the merchant needs a sum of funds to purchase new goods, the merchant will submit a pre-execution request to the payment platform, that is, the merchant needs the payment that has not been completed. The user will pay the remaining unpaid funds so that the merchant can Procurement of new goods as normal; in addition, the merchant can also require users to pay for part of the remaining unpaid funds.
  • the data execution information and data link corresponding to the at least one execution segment need to be subsequently executed according to the execution mode carried in the pre-execution request. Assemble to obtain the target data transaction corresponding to the pre-execution mode.
  • the target data transaction at this time is the composition of the data inflow object for the data transaction that needs to be executed in advance, and the target data transaction is determined.
  • Step S408 Calculate the total data flow value corresponding to the pre-execution request according to the target data execution information of the at least one execution segment corresponding to the pre-execution request.
  • the total data flow value corresponding to the pre-execution request where the total data flow value specifically refers to the amount of data that needs to be processed in the execution process of the data flow object.
  • the funds corresponding to the total payment limit are calculated at this time according to the pre-execution request submitted by the merchant is 500 Since the payment for the commodity is paid by the payment platform in the form of payment quota, the intermediate relationship is that the payment platform pays the merchant at each payment stage, and the financial institution will provide the payment platform to the payment platform. Funds, the payment platform will freeze the same payment limit as the funds in the payment account of the payment user in combination with the funds, and the payment user needs to pay the payment platform the funds corresponding to the payment limit in each payment stage.
  • Step S410 Determine the target data link based on the account paths of the data accounts of both the data inflow object and the intermediate data object of the segmented data transaction.
  • the target data link refers to the path corresponding to the flow of data resources during the execution of the target data transaction between the data inflow object and the intermediate data object, that is, both the data inflow object and the intermediate data object based on the segmented data transaction
  • the account path of the data account determines the target data link.
  • the data inflow object is the merchant
  • the intermediate data object is the financial institution and payment platform. Therefore, the target payment link is determined according to the fund transfer path between the financial institution and the merchant, and the subsequent process of establishing the target data transaction can be carried out.
  • step S412 an intermediate data transaction is established based on the total data flow value and the target data link as the target data transaction.
  • the starting data node of the target data link corresponds to the data account of the intermediate data object
  • the terminating data node corresponds to the data account of the data inflow object.
  • Data resources are transferred from the data account of the intermediate data object to the data account of the data inflow object; based on this, the target data transaction is formed by combining the total data flow value and the target data link.
  • the target data transaction is 500 yuan for the merchant's collection of funds
  • the financial institution needs to pay the merchant 500 yuan for the collection of funds
  • the payment method can be transferred through the account of the financial institution storing funds. Into the merchant’s account where the funds are stored.
  • Step S414 Apply for the data resource corresponding to the total data flow value from the data account of the intermediate data object to the data account of the data flow object.
  • the payment fund that the merchant needs to collect for the payment user is 500 yuan.
  • the financial institution will transfer 500 yuan to the merchant according to the merchant’s pre-execution request, and transfer to the account through the financial institution’s depository funds.
  • the account where the merchant stores the funds is fine.
  • Step S416 Determine the segmented data link from the data outflow object to the intermediate data object according to the account path of the data outflow object of the segmented data transaction and the data account of the intermediate data object.
  • the data resource flow between the data outflow object and the intermediate data object needs to be processed, and the data resource flow between the data outflow object and the intermediate data object will be processed according to the segment
  • the account paths of both the data outflow object and the intermediate data object of the data transaction determine the segmented data link from the data outflow object to the intermediate data object.
  • the financial institution has paid the merchant 500 yuan in payment funds, it is determined that the payment user owes the payment platform 500 yuan, and the payment platform owes the financial institution 500 yuan. Compared with the payment user only need to pay 500 yuan to the payment platform Yuan of payment funds can unfreeze the payment limit of 500.
  • the segment payment link is determined to be the payment user’s
  • the fund storage account points to the fund storage account of the payment platform, and the fund storage account of the payment platform points to the fund storage account of the financial institution, that is, the flow of funds can flow according to the direction of each fund storage account.
  • Step S418, according to the segment data link and the data execution information of the execution segment to be executed in the segment data transaction, construct the first segment data transaction of the execution segment to be executed in the segment data transaction.
  • the starting data node of the segmented data link corresponds to the data account of the data outflow object
  • the terminating data node corresponds to the data account of the intermediate data object
  • the segmented data link can Realize the transfer of data resources from the data account of the data outflow object to the data account of the intermediate data object; based on this, at this time, it needs to be based on the segmented data path and the data of the execution segment to be executed in the segmented data transaction
  • the execution information constitutes the first segment data transaction of the execution segment to be executed in the segment data transaction.
  • the merchant completes the collection task.
  • the payment user defaults on the payment platform 500 yuan, and the payment platform owes 500 yuan to the financial institution.
  • Step S420 when the execution condition of the execution segment of the first segment data transaction is triggered, read the first segment data flow value corresponding to the triggered execution segment in the first segment data transaction.
  • the first segment data transaction may be performed at a set time node. Whether the execution condition of the execution section of is triggered for detection, if not, it means that the time node for subsequent execution processing for the first segment data transaction has not been reached at this time, and no processing is required; if it is, it means that At this time, it is necessary to perform a subsequent execution process for the first segmented data transaction, and read the first segmented data flow value corresponding to the triggered execution segment in the first segmented data transaction.
  • the platform can directly freeze the payment user’s 500 payment limit, then the first payment fund corresponding to the triggered payment stage in the first payment transaction is 500 yuan; or the payment platform can only freeze the payment user’s 100
  • the payment limit corresponds to 100 yuan for the first segment payment fund corresponding to the triggered payment stage in the first segment payment transaction.
  • the first segment data flow value can be determined according to actual application scenarios, and this embodiment does not make any limitation here.
  • Step S422 According to the segmented data link, deduct the deduction amount corresponding to the first segmented data flow value from the data quota of the data account space of the data outflow object, and, from the data outflow object The actual data account corresponding to the data account space transfers the data resource corresponding to the first segmented data flow value to the data account of the intermediate data object.
  • the duration of the data settlement cycle of the data account space is equal to the duration of the execution processing cycle of the execution stage of the first segmented data transaction, and the data quota of the data account space is deducted in the previous data settlement cycle.
  • the deduction quota is subtracted, and after the data settlement processing of the subsequent data settlement cycle, the deduction of the deduction quota to the data quota is updated.
  • the process specifically refers to deducting the deduction amount corresponding to the first segment data flow value from the data quota of the data account space of the data outflow object, and at the same time, it also needs to correspond to the data account space of the data outflow object
  • the data resource corresponding to the first segmented data flow value is transferred from the actual data account to the data account of the intermediate data object.
  • the payment account of the payment user will deduct the amount corresponding to the first tranche payment fund based on the first tranche payment fund. If the first tranche payment is If the fund is 500 yuan, the payment limit will be deducted by 500 in the payment user’s payment account; if the first segment payment fund is 100 yuan, the payment limit will be deducted by 100 in the payment user’s payment account; at this time, the payment limit will be deducted from the payment user’s payment account. On the basis of deducting the amount corresponding to the first-stage payment funds in the payment account, it is also necessary to transfer the funds corresponding to the first-stage payment funds from the payment user’s fund storage account to the financial institution. The financial institution transfers 500 yuan of funds or 100 yuan of funds.
  • the payment limit when the payment user’s payment limit is used, the payment limit will be updated every settlement time.
  • the payment user’s payment limit is 5000, and the payment user’s payment limit is 100.
  • the available payment limit of the paying user is 4900, and when the settlement period is reached, and the paying user repays the payment limit of 100, the payment limit after the settlement period is restored to 5000.
  • Step S424 Calculate the second execution additional data value according to the total data flow value and the corresponding second execution additional data proportion.
  • Step S426 Perform the data settlement processing of the second execution additional data value on the data inflow object.
  • the proportion of the second execution additional data includes the processing fee rate generated by the execution processing of the intermediate data transaction, and the second execution additional data value obtained by calculation based on the proportion of the second execution additional data It is assumed by the data inflow object.
  • the data inflow object In practical applications, after the above-mentioned processing is performed for the first segment data transaction, at this time, because the data inflow object actively extracts the data transactions for the remaining execution segments for execution processing, the data inflow object is required to target the total data at this time.
  • the flow value provides a certain additional data value, and the second execution additional data value needs to be calculated and determined according to the total data flow value and the proportion of the second execution additional data to perform the settlement process.
  • Step S428 Calculate the first execution additional data value corresponding to the execution segment according to the first segment data flow value and the proportion of the first execution additional data corresponding to the execution segment.
  • Step S430 Perform data settlement processing of the first execution additional data value on the data inflow object.
  • the proportion of the first execution additional data includes the processing fee rate generated by the execution processing of the first segmented data transaction in the execution segment, which is calculated based on the proportion of the first execution additional data
  • the first execution additional data value is borne by the data inflow object.
  • the data resource used by the data outflow object belongs to the intermediate data object provided to the data outflow object, at this time, it is necessary to provide part of the first execution additional data value for the first segmented data flow value , And the first execution additional data value needs to be calculated according to the first segmented data flow value and the proportion of the first execution additional data corresponding to the execution section, and finally the first execution additional data value is calculated according to the first execution additional data value.
  • the data inflow object can be processed for data settlement.
  • the payment business when a paying user purchases a product using the payment limit, the product is purchased using the funds of a financial institution, and this part of the fund will generate a certain amount of interest.
  • the proportion of the first execution additional data and the proportion of the second execution additional data can be set according to actual application scenarios, and can be 1%, 1.2%, 0.1%, etc., which are not described in this embodiment. Any restrictions.
  • the data processing method used in the payment business provided in this manual realizes that when the merchant collects the payment funds of the paying user in advance, the payment platform can transfer the payment from the financial institution to the merchant and the payment user has not paid.
  • the remaining payment funds are equal to the funds, so that the merchant can collect payment for the unreceived payment funds at any time, so that the merchant can be filled with funds in the absence of funds, and the merchant does not receive the payment amount. It will have an impact on payment users.
  • the payment users only need to repay the payment amount according to the original installment method, without having to bear service fees and capital interest costs, which greatly improves the experience of the payment users.
  • the implementation example of the first data processing device provided in this specification is as follows.
  • FIG. 5 shows a schematic diagram of the first data processing apparatus provided by this embodiment, it includes: an obtaining module 502 configured to obtain metadata of a service to be processed; and a creating module 504 configured to obtain metadata according to the Metadata creates a segmented data transaction of the service to be processed; the segmented data transaction records the data execution information and data links of each execution segment; the parsing module 506 is configured to be based on the segmented data transaction The execution mode submitted by at least one execution stage of the execution section is analyzed, and the segmented data transaction is analyzed to obtain the target data transaction corresponding to the execution mode; the processing module 508 is configured to perform according to the recorded data in the target data transaction. The target data execution information and target data link of at least one execution segment perform execution processing on the target data transaction.
  • the data processing device further includes: a determining module configured to determine the recommended number of execution segments pushed to the data outflow object according to the historical data log of the data outflow object of the segmented data transaction, And determine the number of execution stages of the segmented data transaction according to the execution instructions submitted by the data outflow object for the recommended number; or, predict the data according to the data record of the segmented data transaction's data inflow object
  • the data inflow time interval of the inflow object is determined according to the data inflow time interval to determine the duration and/or the number of execution segments of the segmented data transaction.
  • the parsing module 506 includes: a decomposition sub-module configured to trigger the corresponding execution condition of the execution segment when the execution condition of the execution segment of the segmented data transaction is triggered.
  • the segmented execution mode decomposes the segmented data transaction to obtain the target data transaction corresponding to the segmented execution mode; or, the data outflow object of the received segmented data transaction is submitted for the at least one execution segment
  • the segmented execution request based on the segmented execution mode carried in the segmented execution request, the segmented data transaction is decomposed to obtain the target data transaction corresponding to the segmented execution mode; wherein, the and In the target data transaction corresponding to the segmented execution mode, the target data execution information and target data link of the at least one execution segment are recorded, and the target data execution information is determined based on the data execution information of the at least one execution segment , The target data link is determined based on the data link of the at least one execution section.
  • the processing module 508 includes: a first reading sub-module configured to read the data flow value corresponding to the at least one execution segment contained in the target data execution information; the first resource transfer sub-module The module is configured to deduct the deduction amount corresponding to the data flow value from the data quota of the data account space of the data outflow object according to the target data link, and to deduct the data account from the data outflow object
  • the actual data account corresponding to the space transfers the data resource corresponding to the data flow value to the data account of the data inflow object of the segmented data transaction; wherein, the data node of the target data link at least corresponds to the data outflow
  • the duration of the data settlement cycle of the data account space is equal to the duration of the execution processing cycle of the execution section of the segmented data transaction, which is in the previous data settlement cycle
  • the deduction quota is deducted from the data quota of the data account space, and the deduction of the data quota by the
  • the processing module 508 further includes: a second reading sub-module configured to read the data flow value corresponding to the at least one execution segment contained in the target data execution information; second resource transfer A sub-module configured to transfer data resources corresponding to the data flow value from the data account of the data outflow object to the data account of the data inflow object according to the target data link; wherein, the target data The start data node of the link corresponds to the data account of the data outflow object, and the end data node corresponds to the data account of the data inflow object.
  • the processing module 508 further includes: a calculation sub-module configured to calculate the at least one execution segment based on the data flow value and the proportion of the first execution additional data corresponding to the at least one execution segment Corresponding first execution additional data value; settlement processing sub-module configured to perform data settlement processing of the first execution additional data value on the data inflow object; wherein the proportion of the first execution additional data includes The processing fee rate generated by the execution processing of the segmented data transaction in the at least one execution segment, the first execution additional data value obtained by calculating the proportion of the first execution additional data is flowed into the object by the data bear.
  • the parsing module 506 further includes: a request receiving sub-module configured to receive a pre-execution request submitted by the data inflow object of the segmented data transaction for the at least one execution segment; an assembling sub-module, It is configured to assemble the data execution information and the data link corresponding to the at least one execution segment based on the pre-execution mode carried in the pre-execution request to obtain the target data transaction corresponding to the pre-execution mode.
  • a request receiving sub-module configured to receive a pre-execution request submitted by the data inflow object of the segmented data transaction for the at least one execution segment
  • an assembling sub-module It is configured to assemble the data execution information and the data link corresponding to the at least one execution segment based on the pre-execution mode carried in the pre-execution request to obtain the target data transaction corresponding to the pre-execution mode.
  • the assembly sub-module includes: a calculation unit configured to calculate the total data flow value corresponding to the pre-execution request according to the target data execution information of the at least one execution segment corresponding to the pre-execution request
  • the data link determining unit is configured to determine the target data link based on the account paths of the data accounts of both the data inflow object and the intermediate data object of the segmented data transaction; the transaction determining unit is configured to determine the target data link based on the total data
  • the flow value and the target data link form an intermediate data transaction as the target data transaction; wherein the starting data node of the target data link corresponds to the data account of the intermediate data object, and the terminating data node corresponds to The data flows into the data account of the object.
  • the processing module 508 further includes: a data resource transfer sub-module configured to apply for the data resource corresponding to the total data flow value from the data account of the intermediate data object to the data of the data inflow object Account; a segmented data link determination sub-module configured to determine from the data outflow object to the intermediate data account according to the account path of the data outflow object of the segmented data transaction and the intermediate data object The segmented data link of the data object; the transaction building submodule is configured to form the segmented data transaction according to the segmented data link and the data execution information of the execution segment to be executed in the segmented data transaction The first segment data transaction of the execution segment to be executed in the segment data link; wherein the start data node of the segment data link corresponds to the data account of the data outflow object, and the terminating data node corresponds to the intermediate data object Data account.
  • a data resource transfer sub-module configured to apply for the data resource corresponding to the total data flow value from the data account of the intermediate data object to the data of
  • the data processing device further includes: a flow value reading module configured to read the first segment when the execution condition of the execution segment of the first segment data transaction is triggered The first segment data flow value corresponding to the execution segment triggered in the segment data transaction; the quota deduction module is configured to deduct the data quota of the data account space of the data outflow object according to the segment data link Subtract the deduction amount corresponding to the first segment data flow value, and transfer the data resource corresponding to the first segment data flow value from the actual data account corresponding to the data account space of the data outflow object to all The data account of the intermediate data object; wherein the duration of the data settlement cycle of the data account space is equal to the duration of the execution processing cycle of the execution section of the first segmented data transaction, and the data settlement cycle is The data quota of the data account space deducts the deduction quota, and the deduction of the data quota by the deduction quota is updated after the data settlement processing in the subsequent data settlement cycle.
  • a flow value reading module configured to read the first segment when
  • the processing module 508 further includes: a data value calculation sub-module configured to calculate the second execution additional data value according to the total data flow value and the corresponding second execution additional data proportion; data settlement A sub-module configured to perform the data settlement processing of the second execution additional data value on the data inflow object; wherein the second execution additional data accounted for, including those generated by performing processing on the intermediate data transaction The processing fee rate, the second execution additional data value calculated according to the proportion of the second execution additional data is borne by the data inflow object.
  • a data value calculation sub-module configured to calculate the second execution additional data value according to the total data flow value and the corresponding second execution additional data proportion
  • data settlement A sub-module configured to perform the data settlement processing of the second execution additional data value on the data inflow object
  • the second execution additional data accounted for including those generated by performing processing on the intermediate data transaction
  • the processing fee rate, the second execution additional data value calculated according to the proportion of the second execution additional data is borne by the data inflow object.
  • the data processing device further includes: a calculation module configured to calculate the execution segment corresponding to the execution segment based on the first segment data flow value and the proportion of the first execution additional data corresponding to the execution segment
  • the data settlement module is configured to perform the data settlement processing of the first execution additional data value on the data inflow object; wherein the proportion of the first execution additional data includes the The processing fee generated by the execution processing of the first segmented data transaction in the execution segment is borne by the data inflow object, and the first additional data value obtained by calculation based on the proportion of the first additional data to be executed.
  • the data processing device further includes: a pre-execution request receiving module configured to receive a second pre-execution request submitted by the data inflow object of the segmented data transaction for the remaining execution segment; an assembly module, configured In order to assemble the data execution information and data link corresponding to the remaining execution segments based on the second pre-execution mode carried in the second pre-execution request, to obtain the second intermediate corresponding to the second pre-execution mode Data transaction; the second intermediate data transaction records the second total data flow value corresponding to the second pre-execution request; the transaction execution processing module is configured to pass from the intermediate data object of the segmented data transaction The data account applies for the data resource corresponding to the second total data flow value to the data account of the data inflow object, and executes the second intermediate data transaction; the link determination module is configured to perform processing according to the The account path of both the data outflow object of the segmented data transaction and the data account of the intermediate data object determines the second segmented data link from the data outflow object to the intermediate
  • the data processing device further includes: a value reading module configured to read the data when the execution condition of at least one of the remaining execution segments of the second segmented data transaction is triggered.
  • the resource transfer module is configured to perform data flow of the data out of the object according to the second segment data link.
  • the data quota of the account space deducts the deduction quota corresponding to the data flow value of the second segment, and transfers the data flow value of the second segment from the actual data account corresponding to the data account space of the data outflow object
  • the data processing device further includes: a judging module configured to judge whether the processing value of the data to be processed contained in the metadata is less than or equal to the data account space of the data outflow object of the segmented data transaction If the execution result of the judgment module is yes, run the creation module 504; if the execution result of the judgment module is no, then run the reminder push module; the reminder push module is configured to Push a notification of processing failure to the data outflow object.
  • a judging module configured to judge whether the processing value of the data to be processed contained in the metadata is less than or equal to the data account space of the data outflow object of the segmented data transaction If the execution result of the judgment module is yes, run the creation module 504; if the execution result of the judgment module is no, then run the reminder push module; the reminder push module is configured to Push a notification of processing failure to the data outflow object.
  • the to-be-processed services include: transaction services, data stream processing services, and payment services; correspondingly, the segmented data transactions of the to-be-processed services include: segmentation in which the transaction services are executed in a phased transaction mode.
  • a staged transaction transaction, the data stream processing business adopts a staged data stream processing transaction executed by a staged processing method, and the payment business adopts a staged payment transaction executed by a staged payment method; the execution of the segmented data transaction
  • the segments include: each transaction stage in the staged transaction process of the staged transaction transaction, each data processing stage of the staged data flow processing transaction in the staged processing process, the staged payment transaction in the staged payment The various payment stages in the process.
  • FIG. 6 shows a processing flowchart of a transaction processing method provided by an embodiment of this specification, which specifically includes the following steps S602 to S608.
  • Step S602 Obtain transaction metadata of the transaction to be processed.
  • the paying party in the process of payment processing between the paying party and the paid party for the payment demand, the paying party usually needs to pay all the funds to the paid party for the payment demand to obtain the ownership of the item corresponding to the payment demand.
  • the payer will pay all the funds at this time, which may cause the payer’s funds to flow unsmoothly.
  • the payment platform provides the payer with a sum that can be used for payment needs. The payer can pay for the payment demand through the payment line, and only needs to repay the payment platform corresponding to the payment line at the time of the payment line repayment.
  • the transaction processing method provided in this embodiment realizes that the payment platform can manage the payment limit in installments in the process of the payer’s payment of the payment demand. That is, after the payer purchases the goods, the payment platform can manage the payment by installments. The price of the purchased goods is paid in installments through the payment line, and the amount to be repaid in each period is borne by the transaction agency of the payment platform. The payment line corresponding to the amount to be repaid in each period will be in the payment account of the payer After freezing, the subsequent payment platform repays the funds to the payment platform, and then the payment platform repays the funds to the transaction agency, and the corresponding frozen payment quota will be unfrozen until the payment of the corresponding quota for all periods is completed, and the payment business ends.
  • the transaction processing requires data support involving multiple processing platforms.
  • the transaction processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the transaction to be processed, and based on the distributed system The coordination among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes enables the creation of distributed transactions based on transaction metadata, and the execution of distributed transactions according to the submitted execution mode. Processing, thereby further improving the processing efficiency and processing consistency of the transaction processing of the transaction to be processed.
  • This embodiment will be described in terms of the process of performing payment processing for payment transactions corresponding to each payment stage.
  • the payer purchases a product from the payee, and the payer pays in installments through the payment platform.
  • the price of the product is 1,000 yuan, and the number of installments is 10 times, so the payer needs to repay each time
  • the payer pays in installments through the payment line of the payment platform, that is, each month the payment platform will deduct the 100 line corresponding to the 100 yuan fund from the payment line held by the payer.
  • the amount held by the party is 5000, so after the payer purchases the product, 100 will be deducted from the amount held every month.
  • the amount held by the payer is 4900, and the payment platform is provided with a payment limit transaction
  • the agency will repay the 100 yuan of funds corresponding to the 100 amount to the payee, and when the payment institution repays the 100 yuan of the 100 yuan corresponding to the payment amount of 100 to the payment institution, the payment platform will return the 100 yuan of funds to the transaction agency.
  • the verification of access qualification is specifically implemented as follows: Determine whether the value to be traded contained in the transaction metadata is less than or equal to the installment The available data quota of the data account space of the payer of the payment transaction; if yes, execute the following step S604; if not, push a notification of processing failure to the payer.
  • the payer’s available quota in the payment account of the payment platform is 1,000 yuan, and the payer’s required installment amount is 1500 yuan, it can be determined that the payer is not eligible for payment installment, and the payer is sent to the payer because of the available quota. If it is too small, it is not possible to install installments for the goods; the payer has an available amount of 2,000 yuan in the payment account of the payment platform. At this time, it can be determined that the payer can open the payment installment and perform subsequent payment installment processing for the goods.
  • Step S604 Create an installment payment transaction of the transaction to be processed according to the transaction metadata.
  • transaction payment information and payment links of each payment stage are recorded in the installment payment transaction.
  • an installment payment transaction of the pending transaction will be created based on the metadata, and the installment payment transaction specifically refers to the pending transaction.
  • the payment processing process of processing transactions is divided into one or more payment stages, and then the transaction to be processed is transactionized.
  • the transaction that requires payment processing in each payment stage is called a payment transaction, and the data of all payment stages of the transaction to be processed The whole of the transaction constitutes the installment transaction.
  • the transaction payment information of each payment stage recorded in the installment transaction specifically refers to the information that the payer needs to pay for each payment stage, the information that the paid party needs to collect payment funds, and the payment link specifically refers to the direction of payment. The path through which payment funds flow during payment processing by the payee.
  • the number of installments of the payment phase included in the installment payment firm can be selected by the payer, or the payer can recommend the number of installments, one of this embodiment
  • the specific implementation method for determining the number of installments is as follows: according to the historical transaction payment log of the payer of the installment transaction, determine the recommended installment number of the payment stage pushed to the payer, and according to The payment instruction submitted by the payer for the recommended installment number determines the installment number of the payment phase of the installment transaction.
  • the number of installments frequently used by the payer is four installments
  • the recommended installment number of the recommended payment stage pushed to the payer is determined to be four installments.
  • the user submits a payment instruction If it is equal to the recommended installment number, it can be determined that the installment transaction includes four payment stages. If the payment instruction submitted by the user determines that the installment data of the payment stage of the installment transaction is five installments, it can be determined that the installment transaction includes five payment stages. .
  • the installment duration and/or the number of installments of the installment payment transaction can also be determined according to the payment collection time interval of the payee.
  • the specific implementation is as follows:
  • the transaction records of the paid party of the installment payment transaction predict the payment time interval of the paid party, and determine the installment duration and/or the number of installments of the payment phase of the installment payment transaction according to the payment time interval .
  • the number of installments can be determined to be shorter.
  • the number of installments of the payment stage pushed to the payer can be determined according to the payment log of the payer, or the number of installments and/or the length of the installment can be determined according to the payment time interval of the payee, so that the payer The completion of pending transactions in the custom payment phase further improves the experience of the payer and the paid party.
  • Step S606 Analyze the installment payment transaction based on the payment method submitted for at least one payment phase of the installment payment transaction to obtain a target payment transaction corresponding to the payment method.
  • the payer purchases the goods in 10 payment stages, at this time, it is determined that the payment method submitted for the fifth payment stage is analyzed to analyze the installment payment transaction, and the target payment transaction corresponding to the payment method is determined to be the payment The party needs to perform payment processing for the payment transaction corresponding to the fifth payment stage.
  • the specific implementation manner is as follows:
  • the installment payment transaction is decomposed according to the installment payment method corresponding to the triggering of the payment conditions of the payment phase to obtain the same payment method as the installment payment method. Corresponding target payment transaction.
  • the payment limit will be automatically deducted from the payer.
  • the payment method of the payer needs to be determined, and the installment payment transaction must be broken down according to the payment method, and it is determined that the fifth payment stage needs to be instalmented Payment, the payment transaction corresponding to the fifth payment stage is determined as the target payment transaction.
  • the process of determining the target payment transaction can also be determined when the payer actively executes it.
  • the specific implementation is as follows: An installment payment request submitted by the paying party for the at least one payment stage; based on the installment payment method carried in the installment payment request, the installment payment transaction is decomposed, and the target payment transaction corresponding to the installment payment method is obtained.
  • the target transaction payment information and target payment link of the at least one payment stage are recorded, and the target transaction payment information is based on the at least one payment stage
  • the payment information of the transaction is determined, and the target payment link is determined based on the payment link of the at least one payment stage.
  • the payer when the payer submits an installment payment request for the fifth payment stage, it can be determined that the payer has the intention of actively processing the payment transaction in the fifth stage at this time. At this time, it can be based on the payment
  • the installment payment method carried in the installment payment request submitted by the party analyzes the installment payment transaction and determines that the target payment transaction corresponding to the installment payment method is the payment transaction corresponding to the fifth payment stage.
  • Step S608 Perform payment processing on the target payment transaction according to the target transaction payment information and target payment link of the at least one payment stage recorded in the target payment transaction.
  • the target payment transaction may be processed according to the target transaction payment information and target payment link of the at least one payment stage recorded in the target payment transaction.
  • the target payment transaction is the payment transaction for the fifth payment stage
  • it is determined that the transaction payment information of the fifth payment stage is 100 amount deducted from the payment amount of the transaction party, and the payment platform sends the paid
  • the party transfers 100 yuan of funds, and the funds are provided by the transaction agency, and the payer needs to repay the 100 yuan of funds corresponding to the payment limit of 100 to the payment platform within this month.
  • the corresponding amount can be deducted from the data account space of the paying party, and at the same time, the payment resources can be transferred to the paid party to realize the payment processing of the target payment transaction.
  • the payment processing process for the target payment transaction is as follows:
  • the target payment link deduct the deduction amount corresponding to the payment value from the data amount of the payer’s data account space, and transfer from the actual data account corresponding to the payer’s data account space
  • the payment resource corresponding to the payment value goes to the data account of the payee of the installment payment transaction.
  • the payment node of the target payment link corresponds to at least the data account space of the paying party and the data account of the payee; the duration of the data settlement cycle of the data account space is related to the installment payment transaction The duration of the payment processing cycle of the payment phase is equal, the data amount of the data account space is deducted from the data amount of the data account space in the previous data settlement cycle, and after the data settlement processing of the subsequent data settlement cycle, the deduction The deduction of the quota to the data quota is updated.
  • 100 credits can be deducted from the payment account of the payer, and then the payment is made from the fund account of the transaction agency of the payment platform.
  • the party transfers out 100 yuan of funds, and the payer needs to repay the 100 yuan of funds corresponding to the 100 amount to the payment platform within a set time, and the payment platform repays the funds to the transaction agency.
  • the payment resource can also be directly transferred to the paid party through the transaction.
  • the specific implementation manner is as follows: read all the information contained in the target transaction delivery information The payment value corresponding to the at least one payment stage; according to the target payment link, the payment resource corresponding to the payment value is transferred from the payment account of the paying party to the payment account of the payee.
  • the initial payment node of the target payment link corresponds to the payment account of the paying party
  • the termination payment node corresponds to the payment account of the payee.
  • the first payment additional fee needs to be calculated, and the first payment additional fee can be understood as a charge to the payee Management fees or service fees.
  • the process of settlement processing for the payee is as follows: According to the payment value and the first payment rate corresponding to the at least one payment stage Calculate the first payment surcharge corresponding to the at least one payment stage; perform settlement processing of the first payment surcharge on the paid party.
  • the first payment rate includes the payment rate generated by the payment processing of the installment transaction in the at least one payment stage, and the first payment obtained by calculating according to the first payment rate
  • the surcharge shall be borne by the paid party.
  • the payment platform transfers 100 yuan of funds to the payee, and the payer’s payment limit is deducted by 100
  • a management fee of 0.1 yuan will be charged to the payee, and this part of the management fee also includes the transaction agency’s payment to the payment platform Part of the administrative expenses of providing funds.
  • the paid party can make a pre-payment request as needed.
  • the payment resources will flow back to the paid party, and subsequent payments
  • the payment resources repaid by the party will flow into the transaction agency structure.
  • the specific implementation is as follows: the paid party that receives the installment transaction submits the second prepayment for the remaining payment phase Request; based on the second prepayment method carried in the second prepayment request, assemble the transaction payment information and payment link corresponding to the remaining payment segment to obtain the second prepayment method corresponding to the second prepayment method Intermediate payment transaction; the second intermediate payment transaction records the second total payment value corresponding to the second prepayment request; applying for the second total payment from the payment account of the transaction agency of the installment payment transaction The payment resource corresponding to the value is transferred to the payment account of the payee, and the second intermediate payment transaction is processed; according to the account of the data account of both the payer of the installment payment transaction and the transaction agency Path, determining the second installment payment link from the paying party to the transaction agency; according to the second installment payment link and the transaction payment information of the remaining payment stage, constructing the corresponding to the remaining payment stage The second installment payment transaction.
  • a second intermediate payment link is recorded in the second intermediate payment transaction, the initial payment node of the second intermediate payment link corresponds to the payment account of the transaction agency, and the termination payment node corresponds to the payment account of the transaction agency. State the payment account of the paid party.
  • the specific implementation manner is as follows: When the payment condition of at least one of the remaining execution phases of the two installment transaction is triggered, read the second installment value corresponding to the triggered remaining payment phase in the second installment transaction; according to the second installment transaction; The installment payment link deducts the deduction amount corresponding to the second installment payment value from the data amount of the data account space of the payer, and transfers out from the actual data account corresponding to the data account space of the payer The payment resource corresponding to the second installment payment value is sent to the payment account of the transaction agency.
  • the duration of the data settlement cycle of the data account space is equal to the duration of the payment processing cycle in the remaining payment phase of the second installment payment transaction, and the data quota of the data account space is deducted in the previous data settlement cycle.
  • the deduction quota is subtracted, and after the data settlement processing of the subsequent data settlement cycle, the deduction of the deduction quota to the data quota is updated.
  • the second intermediate payment transaction corresponding to the remaining payment stage is determined, and the second intermediate payment transaction is paid
  • the process of processing is to transfer the remaining funds to the paid party through the fund account of the transaction agency, and this is equivalent to the payment platform defaulting on the transaction agency’s funds, and the payer defaulting on the payment platform’s funds, through While freezing the payment amount corresponding to the funds in the payment account of the payer, transfer funds equivalent to the funds from the fund account of the payer to the fund account of the transaction agency.
  • the transaction processing method provided in this manual realizes the payment processing for pending transactions in a phased payment manner, so that the pending transaction can be completed by paying less payment resources in each payment stage, and the payer does not need to pay once Provide full payment funds, and will not occupy a large amount of payment lines in the payer’s data account space.
  • the payer only needs to perform payment processing in accordance with the payment transactions corresponding to each payment stage of the installment transaction to realize the pending transaction.
  • the payment processing method can not only improve the experience of the payer, but also avoid the situation that the transaction party pays additional payment resources, which effectively guarantees the interests of the payer.
  • FIG. 7 shows a processing flowchart of the second transaction processing method provided by the embodiment of this specification, which specifically includes the following steps S702 to S730.
  • Step S702 Obtain transaction metadata of the transaction to be processed.
  • the paying party in the process of payment processing between the paying party and the paid party for the payment demand, the paying party usually needs to pay all the funds to the paid party for the payment demand to obtain the ownership of the item corresponding to the payment demand.
  • the payer will pay all the funds at this time, which may cause the payer’s funds to flow unsmoothly.
  • the payment platform provides the payer with a sum that can be used for payment needs. The payer can pay for the payment demand through the payment line, and only needs to repay the payment platform corresponding to the payment line at the time of the payment line repayment.
  • the payment limit may not be available in the next period of time when too many payment limits are used for payment needs. Satisfying the payer’s other payment intentions, and the payer needs to bear the full payment line at one time during the process of repaying the payment line. This may reduce the frequency of the payer’s use of the payment line and cause the loss of payment service users.
  • the transaction processing method provided in this embodiment realizes that the payment platform can manage the payment limit in installments in the process of the payer’s payment of the payment demand. That is, after the payer purchases the goods, the payment platform can manage the payment by installments. The price of the purchased goods is paid in installments through the payment line, and the amount to be repaid in each period is borne by the transaction agency of the payment platform. The payment line corresponding to the amount to be repaid in each period will be in the payment account of the payer After freezing, the subsequent payment platform repays the funds to the payment platform, and then the payment platform repays the funds to the transaction agency, and the corresponding frozen payment quota will be unfrozen until the payment of the corresponding quota for all periods is completed, and the payment business ends.
  • the transaction processing requires data support involving multiple processing platforms.
  • the transaction processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the transaction to be processed, and based on the distributed system The coordination among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes enables the creation of distributed transactions based on transaction metadata, and the execution of distributed transactions according to the submitted execution mode. Processing, thereby further improving the processing efficiency and processing consistency of the transaction processing of the transaction to be processed.
  • This embodiment will be described as a process in which the payee actively performs payment processing for payment transactions in each payment stage.
  • Step S704 Create an installment payment transaction for the transaction to be processed according to the transaction metadata.
  • transaction payment information and payment links of each payment stage are recorded in the installment payment transaction.
  • an installment payment transaction of the pending transaction will be created based on the metadata, and the installment payment transaction specifically refers to the pending transaction.
  • the payment processing process of processing transactions is divided into one or more payment stages, and then the transaction to be processed is transactionized.
  • the transaction that requires payment processing in each payment stage is called a payment transaction, and the data of all payment stages of the transaction to be processed The whole of the transaction constitutes the installment transaction.
  • the transaction payment information of each payment stage recorded in the installment transaction specifically refers to the information that the payer needs to pay for each payment stage, the information that the paid party needs to collect payment funds, and the payment link specifically refers to the direction of payment. The path through which payment funds flow during payment processing by the payee.
  • Step S706 Receive a prepayment request submitted by the payee of the installment payment transaction for the at least one payment phase.
  • the paid party needs to recover the unpaid funds of the goods that are in installment. That is, the paid party needs to have the unpaid payer remaining unpaid. The paid funds are recovered so that the paid party can purchase new goods. In practical applications, the paid party can also recover part of the funds that the payer has not paid.
  • the target payment transaction at this time is the payment transaction composition for the payment transaction that needs to be processed in advance by the payee, and the process of determining the target payment transaction can be through step S708 to step S708.
  • S712 is implemented.
  • Step S708 Calculate the total payment value corresponding to the pre-payment request according to the target transaction payment information of the at least one payment stage corresponding to the pre-payment request.
  • the total amount of funds received for the prepayment request is calculated according to the payment requirements of the payee for payment information of multiple payment stages.
  • Step S710 Determine the target payment link based on the account path of the payment account of both the payee and the transaction agency of the installment payment transaction.
  • determining the target payment link is to determine the account path of the payment account of both the payee and the transaction agency. For example, in the process of the payee's application for collection, because the payee is to avoid paying too much at one time At this time, the transaction agency can provide the funds corresponding to the payment limit, so the account path of the payment account between the payee and the transaction agency is determined to facilitate subsequent payment.
  • step S712 an intermediate payment transaction is established based on the total payment value and the target payment link as the target payment transaction.
  • the initial payment node of the target payment link corresponds to the payment account of the transaction agency
  • the termination payment node corresponds to the payment account of the transaction agency
  • the total amount of funds paid by the payee to the payer is 500 yuan.
  • the transaction agency should provide the payee with 500 yuan of funds for the payment. This is based on the total payment funds and the difference between the payee and the transaction agency.
  • the account path of the inter-payment account determines the target payment transaction.
  • Step S714 Apply for the payment resource corresponding to the total payment value from the payment account of the transaction agency to the payment account of the payee.
  • Step S716 Determine the installment payment link from the payer to the transaction agency according to the account path of the payment account of both the payer and the transaction agency.
  • the account path of the payment account determines the installment payment link from the payer to the transaction agency.
  • the transaction agency transfers 500 yuan of funds to the paid party
  • the payer needs to repay the 500 yuan of funds at this time, and for the payer, it is equivalent to defaulting on the payment platform 500 payment limit, and The payment platform owes 500 yuan to the transaction agency.
  • the installment payment link is determined based on the account path between the payer and the transaction agency.
  • Step S718, according to the installment payment link and the data execution information of the execution section to be executed in the installment payment transaction, construct the first installment payment transaction of the payment stage to be paid in the installment payment transaction.
  • the initial payment node of the installment payment link corresponds to the payment account of the payer
  • the termination payment node corresponds to the payment account of the transaction agency. That is, the payment can be realized through the installment payment link.
  • Resources are transferred from the data account space of the payer to the payment account of the transaction agency; based on this, the first installment payment transaction of the payment stage to be paid in the segmented payment transaction needs to be established at this time.
  • the first installment payment transaction specifically refers to a payment transaction established between the payer and the transaction agency for the payment phase to be paid.
  • Step S720 in the case that the payment condition of the payment phase of the first installment payment transaction is triggered, read the first installment payment value corresponding to the triggered payment phase in the first installment transaction.
  • the payment stage of the first installment transaction can be performed at a set time node. Whether the payment condition is triggered for detection, if not, it means that the time node for payment processing for the first installment transaction has not been reached at this time, and nothing needs to be done; if it is, it means that the first installment transaction needs to be processed at this time Perform payment processing and read the first installment payment value corresponding to the triggered payment stage in the first installment transaction.
  • the first installment fund corresponding to the triggered payment stage in the first installment transaction is 500 yuan.
  • Step S722 According to the installment payment link, deduct the deduction amount corresponding to the first installment payment value from the data quota of the payer’s data account space, and correspond to the payer’s data account space The actual data account transfers the payment resource corresponding to the first installment value to the payment account of the transaction agency.
  • the duration of the data settlement cycle of the data account space is equal to the duration of the payment processing cycle in the execution phase of the first installment payment transaction, and the data quota of the data account space is deducted in the previous data settlement cycle
  • the deduction amount is updated after the data settlement processing of the subsequent data settlement cycle, the deduction amount of the deduction amount to the data amount.
  • the payment line corresponding to 500 yuan of funds needs to be deducted in the payment account of the payer.
  • the payer’s available payment line in the month will be short of 500.
  • the transfer of 500 yuan of funds from the payment amount account corresponding to the data account space of the payer to the transaction agency indicates that the 500 yuan fund between the payment platform and the transaction agency has been settled at this time.
  • the payment limit when the payer’s payment limit is used, the payment limit will be updated every settlement time. For example, the payer’s payment limit is 1000. When the payer uses the payment limit of 100, the payment will be made at this time.
  • the available payment limit of the party is 900, and when the settlement period is reached, and the payer repays the payment limit of 100, the payment limit of the payer after the settlement period is 1000.
  • Step S724 Calculate the second payment surcharge according to the total payment value and the corresponding second payment rate.
  • Step S726 Perform settlement processing of the second payment surcharge on the paid party.
  • the second payment rate includes the transaction rate generated by the transaction processing of the transaction agency, and the second payment surcharge calculated based on the second payment rate is paid by the paid Party bears.
  • the paid party needs to provide a certain amount for the total payment value.
  • the second payment surcharge needs to be calculated and determined based on the total payment value and the second payment rate for settlement processing.
  • Step S728 Calculate the first payment surcharge corresponding to the payment stage according to the first payment instalment value and the first payment rate corresponding to the payment stage.
  • Step S730 Perform settlement processing of the first payment surcharge on the payee.
  • the first payment rate includes the payment rate generated by the payment processing of the first instalment transaction in the payment stage, and the first payment obtained by calculation according to the first payment rate The surcharge shall be borne by the said paid.
  • the transaction processing method provided in this manual realizes the payment processing for pending transactions in a phased payment manner, so that the pending transaction can be completed by paying less payment resources in each payment stage, and the payer does not need to pay once Provide full payment funds, and will not occupy a large amount of payment lines in the payer’s data account space.
  • the payer only needs to perform payment processing in accordance with the payment transactions corresponding to each payment stage of the installment transaction to realize the pending transaction.
  • the payment processing method can not only improve the experience effect of the payer, but also avoid the situation that the transaction party pays with payment resources, which effectively guarantees the interests of the payer.
  • FIG. 8 it shows a schematic diagram of a transaction processing device provided by this embodiment, including: a data acquisition module 802, configured to acquire transaction metadata of a transaction to be processed; and a transaction creation module 804, configured to acquire transaction metadata according to The transaction metadata creates an installment payment transaction for the transaction to be processed; the installment payment transaction records transaction payment information and payment links of each payment stage; the transaction analysis module 806 is configured to be based on the installment payment transaction The payment method submitted in at least one payment phase of the transaction analyzes the installment payment transaction to obtain the target payment transaction corresponding to the payment method; the transaction processing module 808 is configured to follow all the records recorded in the target payment transaction. The target transaction payment information and target payment link of the at least one payment stage are used to perform payment processing on the target payment transaction.
  • the transaction processing device further includes: an installment number determining module configured to determine the recommended installment number of the payment stage pushed to the payer according to the historical transaction payment log of the payer of the installment payment transaction , And determine the number of installments in the payment phase of the installment transaction according to the payment instruction submitted by the payer for the recommended installment number; or, predict the payee based on the transaction record of the payee of the installment transaction
  • the payment collection time interval of the payer determines the installment duration and/or the number of installments of the payment phase of the installment payment transaction according to the collection time interval.
  • the transaction analysis module 806 includes: a transaction analysis sub-module configured to be triggered according to the payment conditions of the payment phase when the payment conditions of the payment phase of the installment transaction are triggered.
  • the installment payment method is to decompose the installment payment transaction to obtain the target payment transaction corresponding to the installment payment method; or, the payer who receives the installment payment transaction submits an installment payment request for the at least one payment stage Based on the installment payment method carried in the installment payment request, the installment payment transaction is decomposed, and the target payment transaction corresponding to the installment payment method is obtained; wherein, the target payment corresponding to the installment payment method In the transaction, the target transaction payment information and target payment link of the at least one payment stage are recorded, the target transaction payment information is determined based on the transaction payment information of the at least one payment stage, and the target payment link is based on the The payment link for at least one payment stage is determined.
  • the transaction processing module 808 includes: a first payment value reading sub-module configured to read the payment value corresponding to the at least one payment phase contained in the target transaction payment information; the first payment The resource transfer sub-module is configured to deduct the deduction amount corresponding to the payment value from the data amount of the data account space of the payer according to the target payment link, and from the data account of the payer The actual data account corresponding to the space transfers the payment resource corresponding to the payment value to the data account of the payee of the installment payment transaction; wherein, the payment node of the target payment link at least corresponds to the payer’s data The account space and the data account of the payee; the data settlement period of the data account space is equal to the payment processing period of the payment phase of the installment transaction, and the data is processed in the previous data settlement period.
  • the data quota of the account space deducts the deduction quota, and the deduction of the data quota by the deduction quota is updated after the data settlement processing in the subsequent data settlement cycle.
  • the transaction processing module 808 further includes: a second payment value reading sub-module configured to read the payment value corresponding to the at least one payment phase contained in the target transaction delivery information; second The payment resource transfer submodule is configured to transfer the payment resource corresponding to the payment value from the payment account of the payer to the payment account of the payee according to the target payment link; wherein, the target The initial payment node of the payment link corresponds to the payment account of the paying party, and the termination payment node corresponds to the payment account of the paid party.
  • the transaction processing module 808 further includes: a surcharge calculation sub-module configured to calculate the at least one payment stage based on the payment value and the first payment rate corresponding to the at least one payment stage The corresponding first payment surcharge; the fee settlement sub-module is configured to perform the settlement processing of the first payment fee on the paid party; wherein, the first payment fee rate includes the payment transaction of the installment For the payment rate generated by the payment processing in the at least one payment stage, the first payment surcharge calculated according to the first payment rate is borne by the paid party.
  • the transaction analysis module 806 further includes: a prepayment request receiving sub-module configured to receive a prepayment request submitted by the payee of the installment payment transaction for the at least one payment phase; payment transaction acquisition The sub-module is configured to assemble the transaction payment information and payment link corresponding to the at least one payment stage based on the pre-payment method carried in the pre-payment request to obtain the target payment transaction corresponding to the pre-payment method .
  • the payment transaction obtaining sub-module includes: a total payment value calculation unit configured to calculate the corresponding prepayment request according to the target transaction payment information of the at least one payment phase corresponding to the prepayment request
  • the target payment link determination unit is configured to determine the target payment link based on the account path of the payment account of both the payee and the transaction agency of the installment transaction; the target payment transaction determination unit is configured In order to establish an intermediate payment transaction based on the total payment value and the target payment link as the target payment transaction; wherein, the initial payment node of the target payment link corresponds to the payment account of the transaction agency, The termination payment node corresponds to the payment account of the transaction agency.
  • the transaction processing module 808 further includes: a resource processing sub-module configured to apply for the payment resource corresponding to the total payment value from the payment account of the transaction agency to the payment account of the payee
  • the installment payment link determination submodule is configured to determine the installment payment from the payer to the transaction agency according to the account path of the payment account of the payer of the installment transaction and the transaction agency Link; the installment payment transaction establishment sub-module, configured to construct the payment stage to be paid in the installment payment transaction according to the installment payment link and the data execution information of the execution section to be executed in the installment payment transaction The first installment payment transaction; wherein the start payment node of the installment payment link corresponds to the payment account of the payer, and the termination payment node corresponds to the payment account of the transaction agency.
  • the transaction processing device further includes: a payment value reading module configured to read the first installment payment when the payment condition of the payment phase of the first installment transaction is triggered The first instalment payment value corresponding to the payment phase triggered in the transaction; the payment value processing module is configured to deduct the first installment from the data amount of the payer’s data account space according to the instalment payment link The deduction amount corresponding to the payment value, and the payment resource corresponding to the first installment value is transferred from the actual data account corresponding to the data account space of the payer to the payment account of the transaction agency; where The duration of the data settlement cycle of the data account space is equal to the duration of the payment processing cycle in the execution phase of the first installment payment transaction, and the data quota of the data account space is deducted from the deduction in the previous data settlement cycle Quota, after the data settlement processing in the next data settlement cycle, the deduction of the deduction quota to the data quota is updated.
  • a payment value reading module configured to read the first installment payment when the payment condition of the payment phase of the first installment transaction
  • the transaction processing module 808 further includes: a surcharge calculation sub-module configured to calculate a second payment surcharge based on the total payment value and the corresponding second payment rate; a surcharge settlement sub-module , Configured to perform the settlement processing of the second payment surcharge on the paid party; wherein, the second payment rate includes the transaction rate generated by the transaction processing of the transaction agency, based on the The second payment surcharge obtained by calculating the second payment rate shall be borne by the paid party.
  • a surcharge calculation sub-module configured to calculate a second payment surcharge based on the total payment value and the corresponding second payment rate
  • a surcharge settlement sub-module Configured to perform the settlement processing of the second payment surcharge on the paid party
  • the second payment rate includes the transaction rate generated by the transaction processing of the transaction agency, based on the The second payment surcharge obtained by calculating the second payment rate shall be borne by the paid party.
  • the transaction processing device further includes: a surcharge calculation module configured to calculate the first payment rate corresponding to the payment stage based on the first installment payment value and the first payment rate corresponding to the payment stage A payment surcharge; a surcharge settlement module configured to perform settlement processing of the first payment surcharge on the payee; wherein, the first payment rate includes payment transactions for the first installment For the payment rate generated by the payment processing in the payment stage, the first payment surcharge calculated according to the first payment rate shall be borne by the paid.
  • a surcharge calculation module configured to calculate the first payment rate corresponding to the payment stage based on the first installment payment value and the first payment rate corresponding to the payment stage A payment surcharge
  • a surcharge settlement module configured to perform settlement processing of the first payment surcharge on the payee
  • the transaction processing device further includes: a prepayment request receiving module configured to receive a second prepayment request submitted by the payee of the installment payment transaction for the remaining payment phase; an intermediate payment transaction obtaining module, Is configured to assemble the transaction payment information and payment link corresponding to the remaining payment segment based on the second prepayment method carried in the second prepayment request, and obtain the second prepayment method corresponding to the second prepayment method.
  • a prepayment request receiving module configured to receive a second prepayment request submitted by the payee of the installment payment transaction for the remaining payment phase
  • an intermediate payment transaction obtaining module Is configured to assemble the transaction payment information and payment link corresponding to the remaining payment segment based on the second prepayment method carried in the second prepayment request, and obtain the second prepayment method corresponding to the second prepayment method.
  • the second intermediate payment transaction records the second total payment value corresponding to the second prepayment request;
  • the payment processing module is configured to pass payment from the transaction agency of the installment payment transaction The account applies for the payment resource corresponding to the second total payment value to the payment account of the payee to perform payment processing on the second intermediate payment transaction;
  • the installment payment link determination module is configured to The account path of the data account of the payer of the installment payment transaction and the transaction agency determines the second installment payment link from the payer to the transaction agency;
  • the installment payment transaction building module is configured to The second installment payment link and the transaction payment information of the remaining payment stage form a second installment payment transaction corresponding to the remaining payment stage; wherein, a second intermediate payment chain is recorded in the second intermediate payment transaction Road, the initial payment node of the second intermediate payment link corresponds to the payment account of the transaction agency, and the termination payment node corresponds to the payment account of the paid party.
  • the transaction processing device further includes: an installment payment value reading module configured to read when the payment condition of at least one of the remaining execution stages of the second installment transaction is triggered The second installment payment value corresponding to the remaining payment phase triggered in the second installment transaction; the deduction module is configured to perform data on the data account space of the payer according to the second installment link The amount deducts the deduction amount corresponding to the second installment payment value, and transfers the payment resource corresponding to the second installment payment value from the actual data account corresponding to the data account space of the payer to the transaction agent The payment account of the institution; wherein the duration of the data settlement cycle of the data account space is equal to the duration of the payment processing cycle of the remaining payment phase of the second installment payment transaction, and the data account space is The deduction quota is deducted from the data quota of, and the deduction of the data quota by the deduction quota is updated after the data settlement processing in the subsequent data settlement cycle.
  • an installment payment value reading module configured to read when the payment condition of at least one of the remaining execution stages of the second installment transaction is triggered
  • the transaction processing device further includes: a value judgment module configured to determine whether the value to be traded contained in the transaction metadata is less than or equal to the available data account space of the payer of the installment transaction Data quota; if the execution result of the numerical judgment module is yes, run the transaction creation module 804; if the execution result of the numerical judgment module is no, then run the push module; the push module is configured to The payer pushes a notification that the processing fails.
  • a value judgment module configured to determine whether the value to be traded contained in the transaction metadata is less than or equal to the available data account space of the payer of the installment transaction Data quota
  • the execution result of the numerical judgment module is yes, run the transaction creation module 804
  • the execution result of the numerical judgment module is no, then run the push module
  • the push module is configured to The payer pushes a notification that the processing fails.
  • FIG. 9 shows a processing flowchart of the second data processing method provided by the embodiment of this specification, which specifically includes the following steps S902 to S912.
  • Step S902 Receive a service processing request for the service to be processed submitted by the first client.
  • the data processing method provided in this embodiment is applied to the server side, and cooperates with the data processing method applied to the first client provided below to jointly realize the segmented execution processing of the service to be processed. Please refer to the following for reading this embodiment Provides an explanation of the corresponding part of the embodiment of the data processing method applied to the first client.
  • the second data processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the business to be processed, and based on the distribution The collaboration among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes in a distributed system realizes the creation of distributed transactions on the basis of metadata, as well as the implementation of distributed transactions based on the submitted execution mode. Transaction execution processing to further improve the processing efficiency and processing consistency of the business execution processing of the business to be processed.
  • the services to be processed in this embodiment include transaction services, data stream processing services, payment services, etc.
  • this embodiment uses payment business scenarios as an example to illustrate the data processing methods, transaction business scenarios and data volume processing
  • the implementation of the business scenario refer to the specific implementation of the data processing method applied to the payment business scenario provided in this embodiment, and this embodiment will not repeat them one by one.
  • the pending services include: transaction services, data stream processing services, and payment services; correspondingly, the transaction services specifically refer to transactions related to transaction processing related to item transactions, resource transactions, or data transactions;
  • the data stream processing business specifically refers to a related business related to data stream invocation processing;
  • the payment business specifically refers to a related business related to commodity payment processing.
  • the corresponding metadata refers to the calling task that needs to be performed on the data stream processing service; when the service to be processed is a transaction service, corresponding The metadata refers to the total transaction amount required for the transaction business; when the business to be processed is a payment business, the corresponding metadata refers to the total payment funds that need to be paid for the payment business.
  • the two parties involved in the payment business interaction are divided into the paying party (physical store users, electronic transaction platform purchase users) and the paid party (physical store, electronic transaction platform merchants), and the first customer
  • the end corresponds to the payer
  • the payee corresponds to the second client.
  • the payment service interaction between the payer and the payee is implemented through the first client and the second client and under the intermediary of the server.
  • the paying party wants to pay in installments for a completed transaction or a transaction to be concluded (ie: pending payment business)
  • the payment will be made first
  • the party selects the number of installments to be processed for the payment service to be processed through the first client, and submits the installment payment instruction based on the selected installment number
  • the first client uses the installment payment submitted by the payer
  • the instruction submits the corresponding installment payment request to the server, and writes the number of installments and the service ID of the pending payment service in the installment request.
  • the server receives the installment request and writes it in the installment request.
  • the subsequent installment payment processing is performed on the basis of the number of installments carried in the installment payment request and the service ID of the payment service to be processed.
  • Step S904 Create a segment data transaction corresponding to the service processing request according to the number of segments and the metadata corresponding to the service identifier.
  • the metadata corresponding to the service identifier is determined, that is, the metadata corresponding to the service to be processed. Based on the number of segments and metadata, a segment data transaction corresponding to the service processing request is created.
  • the execution process of the business to be processed is first divided according to the business processing node, and the execution process of the business to be processed is divided into one or more execution stages (execution sections), and then the business to be processed is executed.
  • the transaction that needs to be processed in each execution stage is called a data transaction, and the whole of the data transactions in all execution stages of the business to be processed is called a segmented data transaction.
  • the data transactions of each execution stage in the segmented data transaction are sequentially sorted according to the time sequence of the execution processing.
  • the data of each execution stage Transactions are also processed in sequence in order of sorting. Specifically, in the segmented data transaction, various data execution information and data links are also recorded.
  • the transactional business when the pending business is a transactional business, the transactional business will use a staged transaction method to execute a staged transactional transaction; when the pending business is a data stream processing business, The data volume processing service will adopt a phased processing method to execute a phased data flow processing transaction; in the case that the to-be-processed service is a payment service, the payment service adopts a phased payment method to execute a phased payment transaction.
  • a paying user purchases a product at a merchant through a payment line provided by the payment platform.
  • the price of the product is 1,000 yuan.
  • the paying user repays the payment line to the payment platform by installments.
  • the total period is The number is 10 periods, and the repayment limit for each period is 100.
  • the user needs to pay the payment platform to repay the payment platform with a payment amount equal to 100, and the payment platform will transfer the 100 yuan fund provided by the financial institution to the merchant.
  • This payment process can be referred to as a payment transaction in the payment phase, and the payment transaction composition corresponding to the ten payment phases in the payment business is referred to as the phased payment transaction in the payment business.
  • the following manners can also be used to implement the creation of a segmented data transaction corresponding to the business processing request: judging the Whether the processing value of the to-be-processed data contained in the metadata is less than or equal to the available data quota of the data account space of the data outflow object corresponding to the first client; if so, create the segment of the to-be-processed service based on the metadata Data transaction; if not, push a notification of processing failure to the first client.
  • Step S906 Deliver the segmented data transaction to the first client.
  • the segmented data transaction is issued to the first client, with the purpose of enabling the payer corresponding to the first client to know the segment Data transaction.
  • the first client corresponding to the payer sends the installment transaction of the payment service to be processed, so that the payer knows the number of installments of the payment service to be processed and the payment details of each installment payment stage.
  • Step S908 Analyze the segmented data transaction according to the segmented execution mode submitted by the first client for the segmented data transaction to obtain a target data transaction corresponding to the segmented execution mode.
  • the segmented data transaction is specifically analyzed in the following manner: receiving the segmented execution manner submitted by the first client for the at least one execution segment;
  • the segmented execution mode decomposes the segmented data transaction to obtain the target data transaction corresponding to the segmented execution mode; wherein, in the target data transaction corresponding to the segmented execution mode, there is recorded
  • the target data execution information and target data link of the at least one execution section the target data execution information is determined based on the data execution information of the at least one execution section, and the target data link is based on the data execution information of the at least one execution section.
  • the data link is determined.
  • the corresponding execution stage includes each transaction stage in the staged transaction process; in the case that the segmented data transaction is a staged data flow processing transaction, the corresponding execution stage includes each data processing stage in the staged processing process; In the case that the segmented data transaction is a phased payment transaction, the corresponding execution segment includes each payment phase in the phased payment process.
  • the first client corresponding to the payer sends the installment payment method submitted for the installment transaction to the server. At this time, it can be determined that the payer has at least one payment stage for the installment transaction. If payment processing is actively performed, the installment payment method submitted by the first client corresponding to the payer analyzes the installment payment transaction, and determines the target payment transaction corresponding to at least one payment stage in which the payer needs to perform payment processing.
  • the payer can also send the installment payment method to the server through the first client for multiple payment stages at the same time.
  • the target payment transaction created through multiple payment stages is also for multiple payment stages, so in the subsequent payment processing During the process, payment processing needs to be performed on the target payment transaction composed of payment transactions corresponding to multiple payment stages at the same time.
  • Step S910 Perform execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction.
  • the execution processing of the target data transaction is specifically implemented in the following manner: reading the data corresponding to the at least one execution segment contained in the target data execution information Flow value; according to the target data link, deduct the deduction amount corresponding to the data flow value from the data quota of the data account space of the data outflow object corresponding to the first client, and, from the data outflow
  • the actual data account corresponding to the data account space of the object transfers the data resource corresponding to the data flow value to the data account of the data inflow object corresponding to the second client; wherein, the data node of the target data link at least corresponds to all The data account space of the data outflow object and the data account of the data inflow object; the duration of the data settlement cycle of the data account space is equal to the duration of the execution processing cycle of the execution section of the segmented data transaction, which is in the previous The data settlement cycle deducts the deduction quota from the data quota of the data account space, and after the data settlement processing of the subsequent data settlement cycle
  • the first execution additional data value is borne by the data inflow object.
  • Step S912 Push the execution processing result of the target data transaction to the first client.
  • the payee can also choose to apply for data inflow in advance according to its actual business needs, and be The payer's application for data inflow in advance does not affect the payer's installment payment.
  • the payer's application for data inflow in advance is specifically implemented in the following manner.
  • the second intermediate data transaction Perform execution processing
  • a second intermediate data link is recorded in the second intermediate data transaction, the starting data node of the second intermediate data link corresponds to the data account of the intermediate data object, and the terminating data node corresponds to the Data flows into the data account of the subject.
  • the payer’s installment payment after the payee’s application for data inflow is specifically implemented in the following manner: in the remaining execution section of the second segment data transaction When the execution condition of at least one of the second segment data is triggered, read the second segment data flow value corresponding to the remaining execution segment triggered in the second segment data transaction; according to the second segment data link , Deduct the deduction amount corresponding to the second segment data flow value from the data quota of the data account space of the data outflow object, and transfer out from the actual data account corresponding to the data account space of the data outflow object The data resource corresponding to the second segment data flow value is transferred to the data account of the intermediate data object; wherein the duration of the data settlement period of the data account space is equal to the remaining execution period of the second segment
  • the second data processing method provided in this manual realizes that the corresponding execution segment can be processed more flexibly according to the submitted execution mode.
  • the business to be processed is executed in the form of data transaction, which improves the performance of business execution processing. Processing efficiency and processing consistency.
  • FIG. 10 shows a schematic diagram of a second data processing apparatus provided in this embodiment, including: a request receiving module 1002 configured to receive a service processing request for a service to be processed submitted by a first client;
  • the service processing request carries the service identifier and the number of segments;
  • the segment data transaction creation module 1004 is configured to create the segment data corresponding to the service processing request according to the number of segments and the metadata corresponding to the service identifier Transaction;
  • the segmented data transaction records the data execution information and data link of each execution segment;
  • the transaction sending module 1006 is configured to deliver the segmented data transaction to the first client; segmented data
  • the transaction analysis module 1008 is configured to analyze the segmented data transaction according to the segmented execution mode submitted by the first client for the segmented data transaction to obtain a target corresponding to the segmented execution mode Data transaction;
  • transaction processing module 1010 configured to perform execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the
  • the segmented data transaction analysis module 1008 includes: a receiving sub-module configured to receive a segmented execution mode submitted by the first client for the at least one execution segment; a decomposition sub-module configured to In order to decompose the segmented data transaction according to the segmented execution mode to obtain the target data transaction corresponding to the segmented execution mode; wherein, the target data transaction corresponding to the segmented execution mode is , The target data execution information and the target data link of the at least one execution section are recorded, the target data execution information is determined based on the data execution information of the at least one execution section, and the target data link is based on the at least one execution section. Perform the data link determination of the segment.
  • the transaction processing module 1010 further includes: a reading sub-module configured to read the data flow value corresponding to the at least one execution segment contained in the target data execution information; a data resource processing sub-module , Configured to deduct the deduction quota corresponding to the data flow value from the data quota of the data account space of the data outflow object corresponding to the first client according to the target data link, and, from the data The actual data account corresponding to the data account space of the outgoing object transfers the data resource corresponding to the data flow value to the data account of the data inflow object corresponding to the second client; wherein, the data node of the target data link corresponds to at least The data account space of the data outflow object and the data account of the data inflow object; the duration of the data settlement cycle of the data account space is equal to the duration of the execution processing cycle of the execution section of the segmented data transaction, and the preceding A data settlement cycle deducts the deduction quota from the data quota of the data account space, and after the data settlement
  • the transaction processing module 1010 further includes: a calculation sub-module configured to calculate the at least one execution based on the data flow value and the proportion of the first execution additional data corresponding to the at least one execution segment The first execution additional data value corresponding to the segment; a settlement sub-module configured to perform the data settlement processing of the first execution additional data value on the data inflow object; wherein the proportion of the first execution additional data includes The processing fee rate generated by the execution processing of the segmented data transaction in the at least one execution segment, the first execution additional data value obtained by calculating the proportion of the first execution additional data is flowed into the object by the data bear.
  • the data processing device further includes: a pre-execution request receiving module configured to receive a second pre-execution request submitted by the data inflow object corresponding to the second client for the remaining execution segments; an assembly module configured to Based on the second pre-execution mode carried in the second pre-execution request, the data execution information and data link corresponding to the remaining execution segments are assembled to obtain second intermediate data corresponding to the second pre-execution mode Transaction; the second intermediate data transaction records the second total data flow value corresponding to the second pre-execution request; the transaction execution processing module is configured to pass data from the intermediate data object of the segmented data transaction The account applies for the data resource corresponding to the second total data flow value to the data account of the data inflow object, and executes the processing of the second intermediate data transaction; the data link determination module is configured to perform processing according to the The account path of the data account of both the data outflow object corresponding to the first client and the intermediate data object determines the second segmented data link from the data outflow object to the intermediate data object;
  • the data processing device further includes: a value reading module configured to read the data when the execution condition of at least one of the remaining execution segments of the second segmented data transaction is triggered.
  • the resource transfer module is configured to perform data flow of the data out of the object according to the second segment data link.
  • the data quota of the account space deducts the deduction quota corresponding to the data flow value of the second segment, and transfers the data flow value of the second segment from the actual data account corresponding to the data account space of the data outflow object
  • the segmented data transaction creation module 1004 further includes: a judging sub-module configured to judge whether the processing value of the to-be-processed data contained in the metadata is less than or equal to the data corresponding to the first client The available data quota of the data account space of the outflow object; if the execution result of the judgment submodule is yes, then the creation submodule is run; if the execution result of the judgment module is no, then the reminder push submodule is run; The creation sub-module is configured to create a segmented data transaction of the service to be processed according to the metadata; the reminder push sub-module is configured to push a processing failure reminder to the first client.
  • a judging sub-module configured to judge whether the processing value of the to-be-processed data contained in the metadata is less than or equal to the data corresponding to the first client The available data quota of the data account space of the outflow object; if the execution result of the judgment submodule is yes, then the creation submodule is run; if
  • the to-be-processed services include: transaction services, data stream processing services, and payment services; correspondingly, the segmented data transactions of the to-be-processed services include: segmentation in which the transaction services are executed in a phased transaction mode.
  • a staged transaction transaction, the data stream processing business adopts a staged data stream processing transaction executed by a staged processing method, and the payment business adopts a staged payment transaction executed by a staged payment method; the execution of the segmented data transaction
  • the segments include: each transaction stage in the staged transaction process of the staged transaction transaction, each data processing stage of the staged data flow processing transaction in the staged processing process, the staged payment transaction in the staged payment The various payment stages in the process.
  • FIG. 11 shows a processing flowchart of the third data processing method provided by the embodiment of this specification, which specifically includes the following steps S1102 to S1110.
  • Step S1102 Receive a service processing instruction submitted for the service to be processed.
  • the third data processing method provided in this embodiment is applied to the first client, and cooperates with the second data processing method applied to the server provided above to jointly realize the segmented execution processing of the service to be processed, read this implementation
  • the third data processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the business to be processed, and based on the distribution The collaboration among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes in a distributed system realizes the creation of distributed transactions on the basis of metadata, as well as the implementation of distributed transactions based on the submitted execution mode. Transaction execution processing to further improve the processing efficiency and processing consistency of the business execution processing of the business to be processed.
  • Step S1104 according to the number of segments corresponding to the service processing instruction, submit a service processing request carrying the number of segments and the service identifier of the service to be processed to the server.
  • Step S1106 Receive and display the segmented data transaction issued by the server in response to the service processing request.
  • Step S1108 Submit a segmented execution mode to the server according to the segmented execution input for the segmented data transaction.
  • Step S1110 Receive the execution processing result of the target data transaction corresponding to the segmented execution mode returned by the server.
  • the third data processing method provided in this manual realizes that the corresponding execution segment can be processed more flexibly according to the submitted execution mode.
  • the business to be processed is executed in the form of data transaction, which improves the business execution processing. Processing efficiency and processing consistency.
  • the third embodiment of the data processing device provided in this specification is as follows.
  • FIG. 12 shows a schematic diagram of a third data processing apparatus provided in this embodiment, including: an instruction receiving module 1202, configured to receive a service processing instruction submitted for a service to be processed; a request submitting module 1204, received It is configured to submit a service processing request carrying the number of segments and the service identifier of the service to be processed to the server according to the number of segments corresponding to the service processing instruction; the transaction receiving module 1206 is configured to receive the service The segmented data transaction issued by the end for the business processing request and display; the segmented execution mode submission module 1208 is configured to submit the segmented data transaction to the server according to the segmented execution input for the segmented data transaction Execution mode; the processing result receiving module 1210 is configured to receive the execution processing result of the target data transaction corresponding to the segmented execution mode returned by the server.
  • an instruction receiving module 1202 configured to receive a service processing instruction submitted for a service to be processed
  • a request submitting module 1204 received It is configured to submit a service processing request carrying the number of
  • FIG. 13 shows a processing flowchart of the fourth data processing method provided by the embodiment of this specification, which specifically includes the following steps S1302 to S1312.
  • Step S1302 Receive a service processing request carrying a service identifier submitted by the second client.
  • the data processing method provided in this embodiment is applied to the server, and cooperates with the fifth data processing method applied to the second client provided below to jointly realize the segmented execution processing of the service to be processed. Please read this embodiment. Compare the description of the corresponding part of the embodiment of the fifth data processing method applied to the second client provided below.
  • the fourth data processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the business to be processed, and based on the distribution The collaboration among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes in a distributed system realizes the creation of distributed transactions on the basis of metadata, as well as the implementation of distributed transactions based on the submitted execution mode. Transaction execution processing to further improve the processing efficiency and processing consistency of the business execution processing of the business to be processed.
  • the services to be processed in this embodiment include transaction services, data stream processing services, payment services, etc.
  • this embodiment uses payment business scenarios as an example to illustrate the data processing method, transaction business scenarios and data volume
  • the implementation of the processing business scenario refer to the specific implementation of the data processing method applied to the payment business scenario provided in this embodiment, and this embodiment will not repeat them one by one.
  • the two parties involved in the payment business interaction are divided into the paying party (physical store users, electronic transaction platform purchase users) and the paid party (physical store, electronic transaction platform merchants), the first The client corresponds to the payer, and the payee corresponds to the second client.
  • the payment service interaction between the payer and the payee is implemented through the first client and the second client and under the intermediary of the server.
  • the payee will first The payer scans the image identification code (QR code) displayed by the payer through the first client through the second client, and then the second client scans the image identification code based on the payee’s
  • the installment collection instruction submits the corresponding installment payment request to the server, and writes the installment number and the service ID of the payment service to be processed in the installment request.
  • the server receives the installment request and sends it to the server.
  • the payment request carries the number of installments and the service ID of the payment service to be processed to perform subsequent installment payment processing.
  • Step S1304 Create a segmented data transaction corresponding to the service processing request according to the metadata corresponding to the service identifier.
  • the data execution information and data links of each execution segment are recorded in the segmented data transaction.
  • the metadata corresponding to the service identifier that is, the metadata corresponding to the service to be processed, is determined according to the number of segments and the service identifier carried in the service processing request described above.
  • the segment data transaction corresponding to the service processing request is created on the basis of the number of segments of the processing service and the metadata.
  • the execution process of the service to be processed is first divided according to the business service processing node, the execution process of the service to be processed is divided into one or more execution stages (execution sections), and then the service to be processed is performed Transactionalization, the transaction that needs to be processed in each execution stage is called a data transaction, and the whole of the data transactions in all execution stages of the business to be processed is called a segmented data transaction.
  • the data transactions of each execution stage in the segmented data transaction are sequentially sorted according to the time sequence of the execution processing.
  • the data of each execution stage The transactions are also processed in sequence according to the sort order; specifically, the data execution information and data links of each execution segment are recorded in the segmented data transaction.
  • a paying user purchases a product at a merchant through a payment line provided by the payment platform.
  • the price of the product is 1,000 yuan.
  • the paying user repays the payment line to the payment platform by installments.
  • the total period is The number is 10 periods, and the repayment limit for each period is 100.
  • the user needs to pay the payment platform to repay the payment platform with a payment amount equal to 100, and the payment platform will transfer the 100 yuan fund provided by the financial institution to the merchant.
  • This payment process can be referred to as a payment transaction in the payment phase, and the payment transaction composition corresponding to the ten payment phases in the payment business is referred to as the phased payment transaction in the payment business.
  • the transaction business in the case that the business to be processed is a transaction business, the transaction business will adopt a phased transaction method to execute a phased transaction transaction; in the case that the to-be-processed business is a data stream processing business, The data volume processing service uses a phased processing method to execute a phased data flow processing transaction; in the case that the to-be-processed service is a payment service, the payment service uses a phased payment method to execute a phased payment transaction.
  • Step S1306 Deliver the segmented data transaction to the first client and the second client.
  • the server determines the installment payment request made by the payee, and can issue the segmented data transaction to the first client and the second client, That is, the payer and the payee are sent to the payer and the payee of the payment service in stages, and the payer and the payee are reminded that the payer and the payee can perform subsequent installment payment processing for the payment service.
  • the corresponding execution stage includes each transaction stage in the staged transaction process; in the case that the segmented data transaction is a staged data flow processing transaction, the corresponding execution stage includes each data processing stage in the staged processing process; In the case that the segmented data transaction is a phased payment transaction, the corresponding execution segment includes each payment phase in the phased payment process.
  • Step S1308 Analyze the segmented data transaction according to the pre-execution mode submitted by the second client for the segmented data transaction to obtain a target data transaction corresponding to the pre-execution mode.
  • the pre-execution mode for the segmented data transaction is submitted In the case of, it indicates that the payee corresponding to the second client needs to perform processing in advance for the data transaction corresponding to the execution segment that is not processed in the segmented data transaction, so the split is performed through the pre-execution method.
  • the segment data transaction is analyzed, and the target data transaction corresponding to the pre-execution mode is determined.
  • the payee corresponding to the second client can actively make an execution request, and in this case, the target data is determined according to the pre-execution mode submitted by the second client Transaction.
  • the specific process of determining the target data transaction is as follows: receiving the pre-execution submitted by the data inflow object corresponding to the second client for the at least one execution segment Mode; According to the pre-execution mode, the data execution information and the data link corresponding to the at least one execution segment are assembled to obtain the target data transaction corresponding to the pre-execution mode.
  • the process of composing the data execution information and data link corresponding to at least one execution segment based on the pre-execution mode to obtain the target data transaction it specifically refers to the data inflow object corresponding to the second client and Target data transactions between intermediate data objects.
  • the specific process of determining the target data transaction is as follows: According to the target data of the at least one execution segment corresponding to the pre-execution mode Execution information, calculating the total data flow value corresponding to the pre-execution mode; determining the target data link based on the account path of the data account of both the data inflow object and the intermediate data object corresponding to the second client; based on the total data The flow value and the target data link form an intermediate data transaction as the target data transaction.
  • the starting data node of the target data link corresponds to the data account of the intermediate data object
  • the ending data node corresponds to the data account of the data inflow object
  • the paid party when the paid party actively uploads a collection request for the payment stage that has not yet been processed, the paid party will be provided with corresponding payment resources according to the paid party’s collection request (the transaction party has not yet The remaining payment resources paid to the paid party), and the payment resources will be paid to the paid party by the transaction agency in advance, and the payer can later repay the transaction agency with resources equal to the payment resources;
  • the target payment link can form the target payment transaction.
  • Step S1310 Perform execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction.
  • the target data transaction will be executed according to the request submitted by the second client, and the execution processing can be understood as The flow of data resources and the process of data deduction.
  • the process of performing execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction is as follows: apply for the data resource corresponding to the total data flow value from the data account of the intermediate data object of the segmented data transaction to the data account of the data inflow object; corresponding to the first client The account path of the data account of both the data outflow object and the intermediate data object is determined, and the segment data link from the data outflow object to the intermediate data object is determined; according to the segment data link and the segment The data execution information of the execution segment to be executed in the segment data transaction forms the first segment data transaction of the execution segment to be executed in the segment data transaction.
  • the starting data node of the segmented data link corresponds to the data account of the data outflow object
  • the ending data node corresponds to the data account of the intermediate data object.
  • the specific implementation The method is as follows: when the execution condition of the execution segment of the first segment data transaction is triggered, read the first segment data flow corresponding to the triggered execution segment in the first segment data transaction Numerical value; According to the segmented data link, the data limit of the data account space of the data outflow object is deducted by the deduction limit corresponding to the first segmented data flow value, and, from the data outflow object The actual data account corresponding to the data account space transfers the data resource corresponding to the first segmented data flow value to the data account of the intermediate data object; wherein, the duration of the data settlement period of the data account space is the same as the first The duration of the execution processing cycle of the execution section of a segmented data transaction is equal, and the deduction amount is deducted from the data quota of the data account space in the previous data settlement cycle, and after the data
  • the transaction agency should provide 500 yuan of funds to the payee for the payment
  • the payer is in a two-settlement state relative to the payer, and the payer is equivalent to defaulting on the payment platform's 500 payment limit, and the payment platform will default on the transaction agency's funds of 500 yuan;
  • the transaction agency transfers 500 yuan of funds to the paid party
  • the payer needs to repay the 500 yuan of funds at this time, and for the payer, it is equivalent to defaulting on the payment platform 500 payment limit, and the payment The platform owes 500 yuan to the transaction agency.
  • the installment payment link is determined based on the account path between the payer and the transaction agency. In the process of determining that the payer needs to perform payment processing for the first installment transaction, determine that the first installment fund corresponding to the triggered payment stage in the first installment transaction is 500 yuan;
  • the payment line corresponding to the 500 yuan fund needs to be deducted from the payer’s payment account.
  • the payer’s available payment line for the month will be short of 500, and at the same time
  • the transfer of 500 yuan of funds from the payment amount account corresponding to the data account space of the payer to the transaction agency indicates that the 500 yuan fund between the payment platform and the transaction agency has been settled at this time.
  • the payment limit of the payer when used, the payment limit will be updated every settlement time. For example, the payment limit of the payer is 1000. When the payer uses the payment limit of 100, the payment will be made at this time.
  • the available payment limit of the party is 900, and when the settlement period is reached, and the payer repays the payment limit of 100, the payment limit of the payer after the settlement period is 1000.
  • Step S1312 Push the execution processing result of the target data transaction to the second client.
  • the execution processing result will be pushed to the second client at this time, that is, the result of the transfer in/out of the payment resource will be sent to the paid party.
  • the payee invites the payer to perform payment processing for the payment business through installment payments by scanning, and when the installment transaction is executed, the payee needs to collect installment funds in advance, Send a collection request to the server through the second client.
  • the server will transfer the payment to the paid party’s fund account from the transaction agency to the outstanding amount corresponding to the collection request according to the payment request submitted by the second client.
  • the total instalment funds need to be paid for the transaction between the payer and the transaction agency, and finally the payment limit of the payer is successfully deducted, and the repayment of the total instalment funds for the transaction agency ends.
  • the fourth data processing method provided in this manual realizes that the corresponding execution segment can be processed more flexibly according to the submitted execution mode.
  • the business to be processed is executed in the form of data transaction, which improves the performance of business execution processing. Processing efficiency and processing consistency.
  • the embodiment of the fourth data processing device provided in this specification is as follows: In the above-mentioned embodiment, a data processing method is provided, and correspondingly, a fourth data processing device is also provided, which will be described below with reference to the accompanying drawings.
  • FIG. 14 it shows a schematic diagram of a fourth data processing apparatus provided in this embodiment, including: a request receiving module 1402 configured to receive a service processing request carrying a service identifier submitted by a second client; transaction creation The module 1404 is configured to create a segmented data transaction corresponding to the service processing request according to the metadata corresponding to the service identifier; the segmented data transaction records data execution information and data links of each execution segment; The transaction sending module 1406 is configured to deliver the segmented data transaction to the first client and the second client; the parsing module 1408 is configured to send the segmented data transaction according to the second client’s The submitted pre-execution mode analyzes the segmented data transaction to obtain the target data transaction corresponding to the pre-execution mode; the processing module 1410 is configured to execute according to the at least one recorded in the target data transaction The target data execution information and the target data link of the segment perform execution processing on the target data transaction; the result push module 1412 is configured to push the execution processing result of the target data transaction to
  • the parsing module 1408 includes: a receiving sub-module configured to receive a pre-execution mode submitted by the data inflow object corresponding to the second client for the at least one execution segment; an assembling sub-module, configured In order to assemble the data execution information and the data link corresponding to the at least one execution segment according to the pre-execution mode, to obtain the target data transaction corresponding to the pre-execution mode.
  • the assembly sub-module includes: a calculation unit configured to calculate the total data flow value corresponding to the pre-execution mode according to the target data execution information of the at least one execution segment corresponding to the pre-execution mode
  • the data link determining unit is configured to determine the target data link based on the account paths of the data accounts of both the data inflow object and the intermediate data object corresponding to the second client; the transaction determining unit is configured to determine the target data link based on the total
  • the data flow value and the target data link form an intermediate data transaction as the target data transaction; wherein the starting data node of the target data link corresponds to the data account of the intermediate data object, and the terminating data node corresponds to In the data account of the object where the data flows into.
  • the processing module 1410 includes: a resource processing sub-module configured to apply for the data resource corresponding to the total data flow value to the data inflow from the data account of the intermediate data object of the segmented data transaction The data account of the object; a segmented data link determination sub-module configured to determine the data outflow object from the data outflow object according to the account path of the data outflow object corresponding to the first client and the data account of the intermediate data object A segmented data link to the intermediate data object; a segmented data transaction building sub-module configured to execute data according to the segmented data link and the execution segment to be executed in the segmented data transaction, Establish the first segment data transaction of the execution segment to be executed in the segment data transaction; wherein, the start data node of the segment data link corresponds to the data account of the data outflow object, and the end data node corresponds to In the data account of the intermediate data object.
  • a resource processing sub-module configured to apply for the data resource corresponding to the total data flow value to the data in
  • the data processing device further includes: a data flow value reading module configured to read the first segment data transaction when the execution condition of the execution segment of the first segmented data transaction is triggered.
  • the data resource transfer module is configured to adjust the data quota of the data account space of the data outflow object according to the segment data link
  • the deduction amount corresponding to the first segment data flow value is deducted, and the data resource corresponding to the first segment data flow value is transferred from the actual data account corresponding to the data account space of the data outflow object to The data account of the intermediate data object; wherein the duration of the data settlement cycle of the data account space is equal to the duration of the execution processing cycle of the execution section of the first segmented data transaction, and the data settlement cycle is the same as that of the previous data settlement cycle.
  • the data quota of the data account space deducts the deduction quota, and the deduction of the data quota by the deduction quota is updated after the data settlement processing
  • the to-be-processed services include: transaction services, data stream processing services, and payment services; correspondingly, the segmented data transactions of the to-be-processed services include: segmentation in which the transaction services are executed in a phased transaction mode.
  • a staged transaction transaction, the data stream processing business adopts a staged data stream processing transaction executed by a staged processing method, and the payment business adopts a staged payment transaction executed by a staged payment method; the execution of the segmented data transaction
  • the segments include: each transaction stage in the staged transaction process of the staged transaction transaction, each data processing stage of the staged data flow processing transaction in the staged processing process, the staged payment transaction in the staged payment The various payment stages in the process.
  • FIG. 15 shows a processing flowchart of the fifth data processing method provided by the embodiment of this specification, which specifically includes the following steps S1502 to S1510.
  • Step S1502 Collect the service identification code of the service to be processed displayed by the terminal device corresponding to the first client.
  • the data processing method provided in this embodiment is applied to the second server side, and cooperates with the fourth data processing method applied to the server side provided above to jointly realize the segmented execution processing of the service to be processed. Please refer to this embodiment. The description of the corresponding part of the embodiment of the fourth data processing method applied to the server is provided above.
  • the execution of processing requires data support involving multiple processing platforms.
  • the fifth data processing method can be implemented on the basis of a distributed system. Specifically, by creating a distributed transaction corresponding to the business to be processed, and based on the distribution The collaboration among transaction-supporting servers, resource servers, and transaction managers deployed on different nodes in a distributed system realizes the creation of distributed transactions on the basis of metadata, as well as the implementation of distributed transactions based on the submitted execution mode. Transaction execution processing to further improve the processing efficiency and processing consistency of the business execution processing of the business to be processed.
  • Step S1504 Decode the service identification code, and submit a service processing request carrying the service identification to the server according to the service identification obtained by the decoding.
  • Step S1506 Receive and display the segmented data transaction issued by the server in response to the service processing request.
  • Step S1508 Submit a pre-execution mode to the server according to the pre-execution input for the segmented data transaction.
  • Step S1510 Receive the execution processing result of the target data transaction corresponding to the pre-execution mode returned by the server.
  • the fifth data processing method provided in this manual realizes that the corresponding execution segment can be processed more flexibly according to the submitted execution mode.
  • the business to be processed is executed in the form of data transaction, which improves the performance of business execution processing. Processing efficiency and processing consistency.
  • the embodiment of the fifth data processing device provided in this specification is as follows: In the above-mentioned embodiment, a data processing method is provided, and correspondingly, a fifth data processing device is also provided, which will be described below with reference to the accompanying drawings.
  • FIG. 16 shows a schematic diagram of a fifth data processing apparatus provided in this embodiment, including: a collection module 1602, configured to collect the service identification code of the service to be processed displayed by the terminal device corresponding to the first client
  • the decoding module 1604 is configured to decode the service identification code, and submit a service processing request carrying the service identification to the server according to the service identification obtained by decoding
  • the receiving module 1606 is configured to receive the service identification code
  • the business processes the segmented data transaction issued by the request and displays it
  • the submission module 1608 is configured to submit the pre-execution mode to the server according to the pre-execution input for the segmented data transaction
  • the processing result receiving module 1610 And configured to receive the execution processing result of the target data transaction corresponding to the pre-execution mode returned by the server.
  • the first computing device provided in this manual is as follows.
  • Fig. 17 shows a structural block diagram of a computing device 1700 according to an embodiment of the present specification.
  • the components of the computing device 1700 include, but are not limited to, a memory 1710 and a processor 1720.
  • the processor 1720 and the memory 1710 are connected through a bus 1730, and the database 1750 is used to store data.
  • the computing device 1700 also includes an access device 1740 that enables the computing device 1700 to communicate via one or more networks 1760.
  • networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet.
  • the access device 1740 may include one or more of any type of wired or wireless network interface (for example, a network interface card (NIC)), such as IEEE802.11 wireless local area network (WLAN) wireless interface, global interconnection for microwave access ( Wi-MAX) interface, Ethernet interface, universal serial bus (USB) interface, cellular network interface, Bluetooth interface, near field communication (NFC) interface, etc.
  • NIC network interface card
  • the aforementioned components of the computing device 1700 and other components not shown in FIG. 17 may also be connected to each other, for example, via a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 17 is only for the purpose of example, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
  • the computing device 1700 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (for example, tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (for example, smart phones). ), wearable computing devices (for example, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs.
  • the computing device 1700 may also be a mobile or stationary server.
  • the memory 1710 is used to store computer-executable instructions
  • the processor 1720 is used to execute the following computer-executable instructions: obtain metadata of the service to be processed; create a segmented data transaction of the service to be processed according to the metadata The data execution information and data link of each execution segment are recorded in the segmented data transaction; the segmented data transaction is analyzed based on the execution mode submitted for at least one execution segment of the segmented data transaction, Obtain the target data transaction corresponding to the execution mode; perform execution processing on the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction.
  • the foregoing is a schematic solution of the first computing device of this embodiment. It should be noted that the technical solution of the computing device belongs to the same concept as the technical solution of the above-mentioned first data processing method. For details that are not described in detail in the technical solution of the computing device, please refer to the above-mentioned first data processing method. Description of the technical solution.
  • Fig. 18 shows a structural block diagram of a computing device 1800 according to an embodiment of the present specification.
  • the components of the computing device 1800 include, but are not limited to, a memory 1810 and a processor 1820.
  • the processor 1820 and the memory 1810 are connected through a bus 1830, and the database 1850 is used to store data.
  • the computing device 1800 also includes an access device 1840 that enables the computing device 1800 to communicate via one or more networks 1860.
  • networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet.
  • the access device 1740 may include one or more of any type of wired or wireless network interface (for example, a network interface card (NIC)), such as IEEE802.11 wireless local area network (WLAN) wireless interface, global interconnection for microwave access ( Wi-MAX) interface, Ethernet interface, universal serial bus (USB) interface, cellular network interface, Bluetooth interface, near field communication (NFC) interface, etc.
  • NIC network interface card
  • the aforementioned components of the computing device 1800 and other components not shown in FIG. 18 may also be connected to each other, for example, via a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 18 is only for the purpose of example, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
  • the computing device 1800 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (for example, tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (for example, smart phones). ), wearable computing devices (for example, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs.
  • the computing device 1800 may also be a mobile or stationary server.
  • the memory 1810 is used to store computer-executable instructions
  • the processor 1820 is used to execute the following computer-executable instructions: obtain transaction metadata of a transaction to be processed; create installment payments for the transaction to be processed according to the transaction metadata Transaction; the instalment payment transaction records the transaction payment information and payment links of each payment stage; based on the payment method submitted for at least one payment stage of the instalment payment transaction, the instalment payment transaction is analyzed to obtain and The target payment transaction corresponding to the payment method; and perform payment processing on the target payment transaction according to the target transaction payment information and target payment link of the at least one payment stage recorded in the target payment transaction.
  • the foregoing is a schematic solution of the second computing device of this embodiment. It should be noted that the technical solution of the computing device belongs to the same concept as the technical solution of the foregoing transaction processing method. For details of the technical solution of the computing device that are not described in detail, please refer to the description of the technical solution of the foregoing transaction processing method.
  • the third computing device provided in this manual is as follows.
  • Fig. 19 shows a structural block diagram of a computing device 1900 according to an embodiment of the present specification.
  • the components of the computing device 1900 include, but are not limited to, a memory 1910 and a processor 1920.
  • the processor 1920 and the memory 1910 are connected through a bus 1930, and the database 1950 is used to store data.
  • the computing device 1900 also includes an access device 1940 that enables the computing device 1900 to communicate via one or more networks 1960.
  • networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet.
  • the access device 1940 may include one or more of any type of wired or wireless network interface (for example, a network interface card (NIC)), such as an IEEE802.11 wireless local area network (WLAN) wireless interface, and global interconnection for microwave access ( Wi-MAX) interface, Ethernet interface, universal serial bus (USB) interface, cellular network interface, Bluetooth interface, near field communication (NFC) interface, etc.
  • NIC network interface card
  • Wi-MAX microwave access
  • Ethernet interface Ethernet interface
  • USB universal serial bus
  • NFC near field communication
  • the aforementioned components of the computing device 1900 and other components not shown in FIG. 19 may also be connected to each other, for example, via a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 19 is only for the purpose of example, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
  • the computing device 1900 can be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (for example, a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (for example, a smart phone). ), wearable computing devices (for example, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs.
  • the computing device 1900 may also be a mobile or stationary server.
  • the memory 1910 is used to store computer-executable instructions
  • the processor 1920 is used to execute the following computer-executable instructions: receiving a service processing request for a service to be processed submitted by a first client; the service processing request carries a service identifier And the number of segments; create a segmented data transaction corresponding to the service processing request according to the number of segments and the metadata corresponding to the service identifier; the segmented data transaction records the data execution information of each execution segment And the data link; deliver the segmented data transaction to the first client; perform the segmented data transaction according to the segmented execution mode submitted by the first client for the segmented data transaction Analyze to obtain the target data transaction corresponding to the segmented execution mode; execute the target data transaction according to the target data execution information and target data link of the at least one execution segment recorded in the target data transaction Processing; Push the execution processing result of the target data transaction to the first client.
  • An example of the fourth computing device provided in this specification is as follows.
  • Fig. 20 shows a structural block diagram of a computing device 2000 provided according to an embodiment of the present specification.
  • the components of the computing device 2000 include but are not limited to a memory 2010 and a processor 2020.
  • the processor 2020 and the memory 2010 are connected through a bus 2030, and the database 2050 is used to store data.
  • the computing device 2000 also includes an access device 2040 that enables the computing device 2000 to communicate via one or more networks 2060.
  • networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet.
  • the access device 2040 may include one or more of any type of wired or wireless network interface (for example, a network interface card (NIC)), such as IEEE802.11 wireless local area network (WLAN) wireless interface, global interconnection for microwave access ( Wi-MAX) interface, Ethernet interface, universal serial bus (USB) interface, cellular network interface, Bluetooth interface, near field communication (NFC) interface, etc.
  • NIC network interface card
  • the aforementioned components of the computing device 2000 and other components not shown in FIG. 20 may also be connected to each other, for example, via a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 20 is only for the purpose of example, and is not a limitation on the scope of this specification. Those skilled in the art can add or replace other components as needed.
  • the computing device 2000 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (for example, tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (for example, smart phones). ), wearable computing devices (for example, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs.
  • the computing device 2000 may also be a mobile or stationary server.
  • the memory 2010 is used to store computer-executable instructions
  • the processor 2020 is used to execute the following computer-executable instructions: receiving business processing instructions submitted for the business to be processed; according to the number of segments corresponding to the business processing instructions, The server submits a service processing request carrying the number of segments and the service identifier of the service to be processed; receives and displays the segment data transaction issued by the server in response to the service processing request; The segmented execution input of the data transaction is submitted, and the segmented execution mode is submitted to the server; the execution processing result of the target data transaction corresponding to the segmented execution mode is received from the server.
  • the example of the fifth computing device provided in this specification is as follows:
  • Fig. 21 shows a structural block diagram of a computing device 2100 according to an embodiment of the present specification.
  • the components of the computing device 2100 include, but are not limited to, a memory 2110 and a processor 2120.
  • the processor 2120 and the memory 2110 are connected through a bus 2130, and the database 2150 is used to store data.
  • the computing device 2100 also includes an access device 2140 that enables the computing device 2100 to communicate via one or more networks 2160.
  • networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet.
  • the access device 2140 may include one or more of any type of wired or wireless network interface (for example, a network interface card (NIC)), such as IEEE802.11 wireless local area network (WLAN) wireless interface, global interconnection for microwave access ( Wi-MAX) interface, Ethernet interface, universal serial bus (USB) interface, cellular network interface, Bluetooth interface, near field communication (NFC) interface, etc.
  • NIC network interface card
  • the aforementioned components of the computing device 2100 and other components not shown in FIG. 21 may also be connected to each other, for example, via a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 21 is only for the purpose of example, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
  • the computing device 2100 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (for example, tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (for example, smart phones). ), wearable computing devices (for example, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs.
  • the computing device 2100 may also be a mobile or stationary server.
  • the memory 2110 is used to store computer-executable instructions
  • the processor 2120 is used to execute the following computer-executable instructions: receiving a service processing request carrying a service identification submitted by a second client; according to metadata corresponding to the service identification , Create a segmented data transaction corresponding to the service processing request; the segmented data transaction records the data execution information and data link of each execution segment; and deliver the data to the first client and the second client
  • the segmented data transaction according to the pre-execution mode submitted by the second client for the segmented data transaction, analyze the segmented data transaction to obtain the target data transaction corresponding to the pre-execution mode;
  • the target data execution information and the target data link of the at least one execution segment recorded in the target data transaction perform execution processing on the target data transaction; push the execution of the target data transaction to the second client process result.
  • the sixth computing device provided in this manual is as follows.
  • Fig. 22 shows a structural block diagram of a computing device 2200 provided according to an embodiment of the present specification.
  • the components of the computing device 2200 include, but are not limited to, a memory 2210 and a processor 2220.
  • the processor 2220 and the memory 2210 are connected through a bus 2230, and the database 2250 is used to store data.
  • the computing device 2200 also includes an access device 2240, which enables the computing device 2200 to communicate via one or more networks 2260.
  • networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet.
  • the access device 2240 may include one or more of any type of wired or wireless network interface (for example, a network interface card (NIC)), such as IEEE802.11 wireless local area network (WLAN) wireless interface, global interconnection for microwave access ( Wi-MAX) interface, Ethernet interface, universal serial bus (USB) interface, cellular network interface, Bluetooth interface, near field communication (NFC) interface, etc.
  • NIC network interface card
  • the aforementioned components of the computing device 2200 and other components not shown in FIG. 22 may also be connected to each other, for example, via a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 22 is only for the purpose of example, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
  • the computing device 2200 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (for example, tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (for example, smart phones). ), wearable computing devices (for example, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs.
  • the computing device 2200 may also be a mobile or stationary server.
  • the memory 2210 is used to store computer-executable instructions
  • the processor 2220 is used to execute the following computer-executable instructions: collect the service identification code of the service to be processed displayed by the terminal device corresponding to the first client; The code is decoded, and the service processing request carrying the service identifier is submitted to the server according to the service identifier obtained by decoding; the segmented data transaction issued by the server in response to the service processing request is received and displayed; The pre-execution input of the segment data transaction submits the pre-execution mode to the server; the execution processing result of the target data transaction corresponding to the pre-execution mode is received from the server.
  • An embodiment of the present specification also provides a first computer-readable storage medium storing computer instructions, which are used to implement the steps of the first data processing method when executed by a processor.
  • An embodiment of the present specification also provides a second computer-readable storage medium, which stores computer instructions, which are used to implement the steps of the transaction processing method when executed by a processor.
  • An embodiment of the present specification also provides a third type of computer-readable storage medium, which stores computer instructions, which are used to implement the steps of the second data processing method when executed by a processor.
  • An embodiment of the present specification also provides a fourth computer-readable storage medium, which stores computer instructions, which are used to implement the steps of the third data processing method when executed by a processor.
  • An embodiment of the present specification also provides a fifth computer-readable storage medium, which stores computer instructions, which are used to implement the steps of the fourth data processing method when executed by a processor.
  • An embodiment of the present specification also provides a sixth computer-readable storage medium, which stores computer instructions, which are used to implement the steps of the fifth data processing method when executed by a processor.
  • the computer instructions include computer program codes, and the computer program codes may be in the form of source code, object code, executable files, or some intermediate forms.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.

Landscapes

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

Abstract

La présente invention concerne un procédé et un appareil de traitement de données. Le procédé de traitement de données consiste à : acquérir des métadonnées d'un service à traiter (S102) ; créer, en fonction des métadonnées, une transaction de données de segment du service à traiter (S104), la transaction de données de segment enregistrant des informations d'exécution de données et les liaisons de données de segments d'exécution ; analyser la transaction de données de segment sur la base d'un mode d'exécution soumis à au moins un segment d'exécution de la transaction de données de segment, de façon à obtenir une transaction de données cible correspondant au mode d'exécution (S106) ; et traiter la transaction de données cible selon des informations d'exécution de données cibles et une liaison de données cible du ou des segments d'exécution enregistrés dans la transaction de données cible (S108).
PCT/CN2020/138222 2020-01-09 2020-12-22 Procédé et appareil de traitement de données WO2021139522A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010023913.0A CN111242604A (zh) 2020-01-09 2020-01-09 数据处理方法及装置
CN202010023913.0 2020-01-09

Publications (1)

Publication Number Publication Date
WO2021139522A1 true WO2021139522A1 (fr) 2021-07-15

Family

ID=70865633

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/138222 WO2021139522A1 (fr) 2020-01-09 2020-12-22 Procédé et appareil de traitement de données

Country Status (2)

Country Link
CN (1) CN111242604A (fr)
WO (1) WO2021139522A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886276A (zh) * 2021-12-06 2022-01-04 北京达佳互联信息技术有限公司 业务创建方法、装置、服务器及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242604A (zh) * 2020-01-09 2020-06-05 支付宝(杭州)信息技术有限公司 数据处理方法及装置
CN112215595B (zh) * 2020-10-09 2022-11-08 支付宝(杭州)信息技术有限公司 项目处理方法、系统以及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021959A (zh) * 2006-02-14 2007-08-22 中国银联股份有限公司 基于分期付款业务的交易处理系统及交易处理方法
CN101989337A (zh) * 2009-07-30 2011-03-23 上海薄荷信息科技有限公司 一种支付系统中实现安全支付的控制方法及控制装置
US20140129357A1 (en) * 2011-07-27 2014-05-08 Russell S. Goodwin Intelligent payment system
CN106557921A (zh) * 2016-11-30 2017-04-05 广州市万表科技股份有限公司 在线支付方法及装置
CN108364228A (zh) * 2018-03-30 2018-08-03 深圳市买买提信息科技有限公司 一种业务数据处理方法及其设备
CN111242604A (zh) * 2020-01-09 2020-06-05 支付宝(杭州)信息技术有限公司 数据处理方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7542935B2 (en) * 2005-06-28 2009-06-02 Sciac Investment Ltd Method and system for integrating savings and credits with different interest rates
CN103106575A (zh) * 2011-11-11 2013-05-15 阿里巴巴集团控股有限公司 一种交易信息的处理方法及装置
CN107369013A (zh) * 2017-07-20 2017-11-21 杭州闪宝科技有限公司 教育培训支付方法、装置以及系统
CN107590732A (zh) * 2017-07-26 2018-01-16 深圳市佰仟金融服务有限公司 一种业务数据试算方法及其设备、终端
CN108009819A (zh) * 2017-12-01 2018-05-08 中国光大银行股份有限公司信用卡中心 一种信用卡分期付款的方法和系统
CN109087190A (zh) * 2018-06-08 2018-12-25 阿里巴巴集团控股有限公司 一种融资贷款方法和装置
CN109711971A (zh) * 2018-08-17 2019-05-03 深圳壹账通智能科技有限公司 提前还款方法、装置、终端设备及计算机可读存储介质
CN110163744A (zh) * 2019-04-30 2019-08-23 阿里巴巴集团控股有限公司 一种基于区块链的支付方法和装置
CN110378760A (zh) * 2019-06-17 2019-10-25 平安银行股份有限公司 数据处理方法及终端设备
CN110335029A (zh) * 2019-06-26 2019-10-15 中通服创发科技有限责任公司 统一支付网关、方法和系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021959A (zh) * 2006-02-14 2007-08-22 中国银联股份有限公司 基于分期付款业务的交易处理系统及交易处理方法
CN101989337A (zh) * 2009-07-30 2011-03-23 上海薄荷信息科技有限公司 一种支付系统中实现安全支付的控制方法及控制装置
US20140129357A1 (en) * 2011-07-27 2014-05-08 Russell S. Goodwin Intelligent payment system
CN106557921A (zh) * 2016-11-30 2017-04-05 广州市万表科技股份有限公司 在线支付方法及装置
CN108364228A (zh) * 2018-03-30 2018-08-03 深圳市买买提信息科技有限公司 一种业务数据处理方法及其设备
CN111242604A (zh) * 2020-01-09 2020-06-05 支付宝(杭州)信息技术有限公司 数据处理方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886276A (zh) * 2021-12-06 2022-01-04 北京达佳互联信息技术有限公司 业务创建方法、装置、服务器及存储介质
CN113886276B (zh) * 2021-12-06 2022-03-25 北京达佳互联信息技术有限公司 业务创建方法、装置、服务器及存储介质

Also Published As

Publication number Publication date
CN111242604A (zh) 2020-06-05

Similar Documents

Publication Publication Date Title
WO2021139522A1 (fr) Procédé et appareil de traitement de données
RU2491634C2 (ru) Расчетный центр виртуальных очков
JP5044927B2 (ja) 複数の当事者間における少額決済の円滑化
RU2581784C2 (ru) Устройство и способ представления счета и его оплаты
US20120095873A1 (en) Escrow management system for marketplaces
AU2010306663B2 (en) System and method for non-credit card billers to accept credit card payments
US20080009263A1 (en) Package billing for micro-transactions
US20190318354A1 (en) Secure electronic billing with real-time funds availability
US20180121975A1 (en) Providing security in electronic real-time transactions
US11023873B1 (en) Resources for peer-to-peer messaging
CN111833169A (zh) 一种分账管理方法和装置
US10607236B2 (en) Universal system for enabling dynamically discounted buyer-vendor payments
US9922368B2 (en) System and method for purchasing a prepaid debit account
AU2006323098A1 (en) Method and system for loading and reloading portable consumer devices
US20170300881A1 (en) Secure electronic billing and collection with real-time funds availability
US20230334550A1 (en) Using data analysis to connect merchants
CN110610247B (zh) 一种业务数据处理方法及装置
KR20150000894A (ko) 비전통적인 가치 소스를 이용하여 지불을 제공하는 시스템, 방법, 및 컴퓨터 프로그램 제품
US7725390B2 (en) Method and system for processing an account
WO2010141239A1 (fr) Enchère inversée de services de transaction
CN110874728A (zh) 网上支付系统、网上支付方法、装置、介质及服务器
CN111680995B (zh) 一种支付链构建方法、装置、计算机设备及可读存储介质
CN112967047B (zh) 结算方法、装置、设备、存储介质以及程序产品
US20160063494A1 (en) Before-the-fact budgeting
JP7038969B2 (ja) 電子マネー(eマネー)支払処理

Legal Events

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

Ref document number: 20912533

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20912533

Country of ref document: EP

Kind code of ref document: A1