CN111143327A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN111143327A
CN111143327A CN201911369126.5A CN201911369126A CN111143327A CN 111143327 A CN111143327 A CN 111143327A CN 201911369126 A CN201911369126 A CN 201911369126A CN 111143327 A CN111143327 A CN 111143327A
Authority
CN
China
Prior art keywords
settlement
data
information
target object
settled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911369126.5A
Other languages
Chinese (zh)
Other versions
CN111143327B (en
Inventor
段轶轩
罗亮
华志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201911369126.5A priority Critical patent/CN111143327B/en
Publication of CN111143327A publication Critical patent/CN111143327A/en
Application granted granted Critical
Publication of CN111143327B publication Critical patent/CN111143327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a data processing method, which comprises the following steps: obtaining voucher verification and marketing stream data of a target object, and obtaining first to-be-settled data provided by a first settlement system according to the voucher verification and marketing stream data; splitting the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list; and associating the certificate checking and selling flow data with the first object order to obtain a first object order associated with the certificate checking and selling flow data, splitting a first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, and using the second sub-settlement list as settlement information of the target object. By adopting the method, the problem of cross-system integration of settlement data under the condition that the service application system is not aware is solved.

Description

Data processing method and device
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method, apparatus, and device. The application also relates to a data processing system.
Background
Currently, a business application system is generally connected with a settlement system. However, with the evolution of network technology and the diversification of services, it is an important service migration scenario to migrate a service application system from a first settlement system interfacing with the service application system to a second settlement system interfacing with the first settlement system and having a different system architecture. In addition, in the service migration process, a situation may occur in which settlement systems having different system architectures, which interface with the service application system, coexist. For example, the settlement processing granularity of the first settlement system is batch settlement; the settlement processing granularity of the second settlement system is atomic granularity settlement.
In the prior art, because the first settlement system and the second settlement system have different technical architectures, the settlement processing granularity is different, so that required field information cannot be obtained, and seamless integration of the service application system to the first settlement system and the second settlement system is difficult to realize.
Therefore, how to integrate settlement data across systems without awareness of business application systems is a problem to be solved.
Disclosure of Invention
The data processing method provided by the embodiment of the application solves the problem of cross-system integration of settlement data under the condition that a service application system is not aware.
An embodiment of the present application provides a data processing method, including: obtaining voucher verification and marketing stream data of a target object, and obtaining first to-be-settled data provided by a first settlement system according to the voucher verification and marketing stream data; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects; splitting the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list; and associating the certificate checking and selling flow data with the first object order to obtain a first object order associated with the certificate checking and selling flow data, splitting a first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, and using the second sub-settlement list as settlement information of the target object.
Optionally, the method further includes: if the second data to be settled provided by a second settlement system is determined to be required to be obtained according to the certificate verification and cancellation stream data, the second data to be settled is obtained and is used as settlement information of the target object; wherein the second data to be settled is atomic granularity settlement data for the target object.
Optionally, the method further includes: obtaining settlement detail information of the target object according to the voucher verification and marketing flow data and the settlement information of the target object; the settlement detail information is settlement information including resource circulation data and target object information corresponding to the resource circulation data.
Optionally, the method further includes: and generating settlement detail information of the target object according to the voucher verification and cancellation flow data, the first object order correlated with the voucher verification and cancellation flow data and the second sub-settlement list.
Optionally, the method further includes: constructing a joint main key as a proxy main key according to the specific field of the settlement information of the target object and the specific field of the voucher verification assembly data; and generating settlement detail information of the target object according to the proxy main key.
Optionally, the constructing a joint primary key according to the specific field of the settlement information of the target object and the specific field of the voucher verification assembly data includes: taking a specific field of the second word settlement list or a specific field of the second data to be settled as a specific field of settlement information of the target object; generating the federated primary key using the particular field and a particular field of the credential verification marketing data.
Optionally, the method further includes: receiving a query request containing specific key value information of the proxy primary key; and providing settlement detail information corresponding to the specific key information.
Optionally, the obtaining the voucher verification marketing flow data of the target object includes: obtaining a settlement request for the target object; and acquiring the voucher verification streamline data according to the settlement request.
Optionally, the obtaining the first data to be settled provided by the first settlement system according to the voucher verification running water data includes: and requesting a first settlement system to obtain first data to be settled according to settlement identification information contained in the voucher verification and cancellation flow data.
Optionally, the settlement information of the target object is atomic-granularity settlement data.
The present application further provides a data processing method, including: obtaining voucher verification marketing flow data of a target object; acquiring data to be settled according to the voucher verification and marketing flow data; the data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects; splitting the data to be settled to obtain atom granularity settlement information of the target object; wherein, the atom granularity settlement information is the settlement information of a unit object.
The present application also provides a data processing system, comprising: a certificate verification and cancellation subsystem and a first operator system; the certificate verifying and selling subsystem is used for providing the certificate verifying and selling pipelining data of the target object; the first settlement subsystem is used for acquiring the certificate verification and cancellation running water data and acquiring first to-be-settled data provided by the first settlement subsystem according to the certificate verification and cancellation running water data; splitting the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list; associating the certificate checking and selling flow data with the first object order to obtain a first object order associated with the certificate checking and selling flow data, splitting a first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, and using the second sub-settlement list as settlement information of the target object; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects.
Optionally, the method further includes: a second settlement subsystem; the second settlement subsystem is used for judging whether second data to be settled provided by a second settlement system needs to be obtained or not according to the voucher verification and marketing pipelining data, and if so, obtaining the second data to be settled as settlement information of the target object; wherein the second data to be settled is atomic granularity settlement data for the target object.
Optionally, the method further includes: a settlement data merging subsystem; the settlement data merging subsystem is used for constructing a combined main key as an agent main key according to the specific field of the second sub-settlement list or the specific field of the second data to be settled and the specific field of the voucher verification running water data; and generating settlement detail information of the target object according to the proxy main key.
The present application also provides a data processing apparatus, comprising: the data acquisition unit to be settled is used for acquiring the voucher verification and sales stream data of the target object and acquiring first data to be settled provided by a first settlement system according to the voucher verification and sales stream data; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects; a primary splitting unit, configured to split the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list; and the secondary splitting unit is used for associating the voucher verification and sales stream data with the first object order to obtain a first object order associated with the voucher verification and sales stream data, and splitting the first sub-settlement list associated with the first object order to obtain a second sub-settlement list subjected to secondary splitting, wherein the second sub-settlement list is used as settlement information of the target object.
An embodiment of the present application further provides an electronic device, including: a memory, and a processor; the memory is used for storing a computer program, and the computer program is executed by the processor to execute the data processing method provided by the embodiment of the application.
The embodiment of the present application further provides a storage device, in which a computer program is stored, and the computer program is executed by the processor to execute the data processing method provided in the embodiment of the present application.
Compared with the prior art, the method has the following advantages:
according to the data processing method, the data processing device and the data processing equipment, the first to-be-settled data provided by the first settlement system is split, so that a first sub settlement list corresponding to each service type after one-time splitting and a first object order corresponding to each object and related to the first sub settlement list are obtained; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects; and associating the certificate verification and sales stream data with the first object order to obtain a first object order associated with the certificate verification and sales stream data, and splitting the first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, wherein the second sub-settlement list is used as settlement information of the target object. And the settlement information obtained through secondary splitting is the information with the same granularity as the certificate verification and cancellation stream data. Further, the settlement information obtained by splitting is atom granularity settlement data. Therefore, the business application system does not need to be modified, and can simultaneously interface the settlement systems with different system architectures, thereby solving the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of.
According to the data processing method and the data processing device, the data to be settled corresponding to the voucher verification and marketing flow data are split, and atomic granularity settlement data of the target object are obtained; the data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects. Therefore, the business application system supporting the atomic granularity settlement data does not need to be modified, and can be simultaneously connected with settlement systems with different system architectures, so that the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of is solved.
The data processing system provided by the embodiment of the application comprises: a certificate verification and cancellation subsystem and a first operator system; the first settlement subsystem is used for acquiring first data to be settled according to the voucher verification marketing pipelining data; splitting the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list; and associating the certificate checking and selling flow data with the first object order to obtain a first object order associated with the certificate checking and selling flow data, splitting a first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, and using the second sub-settlement list as settlement information of the target object. And splitting batch settlement data containing settlement information of a plurality of service types and a plurality of objects to obtain settlement information with the same granularity as the certificate verification and cancellation stream data through secondary splitting. Therefore, the business application system does not need to be modified, and can simultaneously interface the settlement systems with different system architectures, thereby solving the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of the settlement information.
Drawings
Fig. 1 is a schematic system architecture diagram of a data processing method according to a first embodiment of the present application;
FIG. 2 is a process flow diagram of a data processing method according to a first embodiment of the present application;
FIG. 3 is a flow chart of a data processing method according to a second embodiment of the present application;
FIG. 4 is a schematic diagram of a data processing system according to a third embodiment of the present application;
FIG. 5 is a schematic diagram of a data processing apparatus according to a fourth embodiment of the present application;
fig. 6 is a schematic diagram of an electronic device provided herein.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The embodiment of the application provides a data processing method and device, electronic equipment and storage equipment. The embodiment of the application also provides another data processing method. The embodiment of the application also provides a data processing system. Details are described in the following examples one by one.
For ease of understanding, a system environment for a data processing method is first presented. Referring to fig. 1, the system environment shown in fig. 1 includes: and the business application system 101 is used for providing the voucher verification marketing flow data of the target object. The first settlement system 102 is configured to provide first data to be settled, which is batch settlement data including settlement information of a plurality of service types and a plurality of objects. And a second settlement system 103, configured to provide second data to be settled, where the second data to be settled may be data including atomic granularity settlement information of an object. The settlement intermediate layer 104 is used for obtaining the certificate verification and cancellation stream data of the verification and cancellation object provided by the business application system; and acquiring first data to be settled provided by a first settlement system or acquiring second data to be settled provided by a second settlement system according to the voucher verification and marketing streamline data. And if the first data to be checked and sold is obtained, splitting the first data to be checked and sold to obtain the settlement information of the target object, wherein the granularity of the settlement information is the same as that of the voucher checking and selling pipeline data. For example, if the voucher verification stream data is data of the smallest verification and cancellation granularity of the indivisible verification and cancellation, the settlement information is atomic-granularity settlement information. For another example, the first data to be settled is batch settlement data for a secondary card, the target object is a primary specific consumption behavior for checking and canceling according to secondary using the card, the voucher checking and canceling flow data of the target object is checking and canceling flow data for the specific consumption behavior, and the settlement information obtained by splitting is settlement information for the specific consumption behavior. The settlement intermediate layer provides a function of adapting to settlement systems having different system architectures by splitting the settlement information of the target object from the batch settlement data. And the settlement intermediate layer is also used for generating settlement detail information of the target object according to the voucher verification and cancellation flow data and the settlement information of the target object obtained by splitting. Specifically, a joint main key can be constructed according to a specific field of settlement information of the target object obtained by splitting, a specific field of the second data to be settled and a specific field of the certificate verification marketing stream data, and is used as a proxy main key; and generating settlement detail information of the target object according to the proxy main key.
The data processing method provided in the first embodiment of the present application is described below with reference to fig. 2. The data processing method shown in fig. 2 includes: step S201 to step S203.
Step S201, obtaining voucher verification and marketing stream data of a target object, and obtaining first to-be-settled data provided by a first settlement system according to the voucher verification and marketing stream data; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects.
The service scenes related to the verification and settlement in the practical application are as follows: the first party computing equipment requests the second party computing equipment to use resource exchange to obtain one or more objects through ordering by the third party platform, and the resources are transferred to the third party by the first party. The first party actually obtains at least one object of the one or more objects from the second party as a verification. Transferring, by the third party, the particular resource for exchanging the at least one object to the second party as settlement. The resource may be funds and the one or more objects may be physical or services. And the settlement system generates data to be settled according to the order placing information. The verification may trigger settlement, which may be a concurrent atomic-granular business action. In this embodiment, the service application system of the third party platform is connected to the settlement system through the settlement intermediate layer, and there is no limitation on whether the settlement system belongs to the third party platform. The data processing method provided by this embodiment may be applied to the settlement intermediate layer, and the service application system splits the data to be settled through the settlement intermediate layer and interfaces with settlement systems having different system architectures. For example, business application systems interface with batch settlement-based settlement systems, as well as with atomic-granularity settlement-based settlement systems. In one embodiment, the target object is a minimum core-pin granularity object of the atomic core-pin. The voucher verification and cancellation flow data of the target object are atom-granularity verification and cancellation flow data, and specifically are verification and cancellation flow data of unit objects of the atomic-granularity verification and cancellation. The business application system may be used to process atom-granular nuclear marketing stream data as well as atom-granular settlement data. For example, one consumption behavior by verification is a target object by verification, or one physical object by verification is a target object by verification; the voucher verification and cancellation stream data of the target object is atom granularity data, verification and cancellation can not be split, and the settlement information corresponding to the target object is atom granularity settlement data which can not be split and settled. The first settlement system supports processing of batch settlement data, and the settlement intermediate layer divides first data to be settled including the batch settlement data into atomic granularity settlement data. Thus, a business application system that supports processing of atomic granularity settlement data can interface with a first settlement system through a settlement intermediary layer. Meanwhile, the second settlement system processes the atom granularity settlement data, and the service application system can also be directly connected with the second settlement system. Thus, when a settlement service is deployed, the first settlement system and the second settlement system can coexist while interfacing with the service application system. In addition, the settlement service can be migrated from the second settlement system to the first settlement system without being perceived by the service application system. The step specifically obtains the voucher verification marketing flow data of the target object through the following processing: obtaining a settlement request for the target object; and acquiring the voucher verification streamline data according to the settlement request. And the settlement identification information in the voucher verification and cancellation flow data records a settlement system mark triggering the settlement request, and a settlement system providing data to be settled can be determined according to the settlement identification information. In one embodiment, the first data to be settled is requested to the first settlement system according to the settlement identification information contained in the voucher verification marketing flow data. In one embodiment, if it is determined that second data to be settled provided by a second settlement system needs to be obtained according to the voucher verification streamline data, the second data to be settled is obtained as settlement information of the target object; wherein the second data to be settled is atomic granularity settlement data for the target object. Specifically, the second data to be settled and the voucher verification and cancellation stream data are in one-to-one correspondence.
Step S202, splitting the first data to be settled to obtain a first sub-settlement list corresponding to each service type after one-time splitting and a first object order corresponding to each object and associated with the first sub-settlement list.
In this embodiment, the first sub-settlement list and the first object order of the object granularity are split from the batch settlement data by one-time splitting. The batch settlement is a settlement data for one settlement including object settlement information of a plurality of service types. For example, the batch settlement triggered by the verification is performed for 2 cups of milk tea and 1 hairdressing reservation service, and the batch settlement data correspondingly generated by the batch settlement contains settlement information of two service types, namely the target service and the reservation service. Continuing with the above example, the batch settlement data is split once into 2 sub-settlement tickets: a first sub statement for the subject service and a first sub statement for the predetermined service. The order is disassembled to 3 object granularities.
Step S203, associating the voucher verification and cancellation running water data with the first object order to obtain a first object order associated with the voucher verification and cancellation running water data, and splitting the first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, which is used as the settlement information of the target object.
In this embodiment, the first sub-statement of account is further split according to the voucher verification and cancellation flow data, and a second sub-statement of account corresponding to the verified and cancelled target object is obtained and is the settlement information of the target object. Further, the settlement information of the target object is atomic granularity settlement data. The business application system supports processing atomic granularity settlement data and, therefore, can interface with the first settlement system. In this embodiment, the method further includes: obtaining settlement detail information of the target object according to the voucher verification and marketing flow data and the settlement information of the target object; the settlement detail information is settlement information including resource circulation data and target object information corresponding to the resource circulation data. Further, generating settlement detail information of the target object according to the voucher verification and cancellation flow data, the first object order related to the voucher verification and cancellation flow data and the second sub-settlement list. The voucher verification and cancellation running water data can be associated with settlement information of the target object to obtain settlement detail information. The voucher verification and cancellation stream data can provide object information, the settlement information can provide resource circulation information, the object information and the resource circulation information are related, and detail information comprising the following contents can be obtained: fund flow information during settlement and object information corresponding to the settlement. The data analysis system for analyzing the settlement service can acquire the settlement detail information through the settlement intermediate layer, so that the data analysis system does not need to be modified in the process of transferring the settlement service between the first settlement system and the second settlement system, and the non-perception switching is realized. In this embodiment, the following process is further included: constructing a joint main key as a proxy main key according to the specific field of the settlement information of the target object and the specific field of the voucher verification assembly data; and generating settlement detail information of the target object according to the proxy main key. By means of the surrogate key, the settlement details data based on the first settlement system can be merged together with the settlement details data based on the second settlement system, for example, into one database table. The proxy key can ensure the uniqueness of the key in the settlement middle layer, and can be used for seamlessly integrating the settlement detail data of the first settlement system and the settlement detail data of the second settlement system across systems, wherein the second settlement system and the first settlement system have different system architectures. Specifically, the following processes are adopted to construct the joint primary key: taking a specific field of the second word settlement list or a specific field of the second data to be settled as a specific field of settlement information of the target object; generating the federated primary key using the particular field and a particular field of the credential verification marketing data. In this embodiment, the method further includes: receiving a query request containing specific key value information of the proxy primary key; and providing settlement detail information corresponding to the specific key information.
To this end, the data processing method provided in this embodiment is described in detail, in which the method obtains, by splitting first to-be-settled data provided by a first settlement system, a first sub-settlement list corresponding to each service type after one-time splitting and a first object order associated with the first sub-settlement list and corresponding to each object; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects; and obtaining settlement information of the target object through secondary splitting, wherein the settlement information is the information with the same granularity as the certificate verification and cancellation stream data. Further, the settlement information obtained by splitting is atom granularity settlement data. Therefore, the business application system does not need to be modified, and can simultaneously interface the settlement systems with different system architectures, thereby solving the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of.
Based on the above embodiments, a second embodiment of the present application provides another data processing method. The method provided by the second embodiment is described below with reference to fig. 3, and for related parts, reference is made to the description of corresponding parts of the above embodiment. The data processing method shown in fig. 3 includes: step S301 to step S303.
Step S301, obtaining the voucher verification marketing flow data of the target object.
The data processing method provided by this embodiment may be applied to the settlement intermediate layer, and the service application system splits the data to be settled through the settlement intermediate layer and interfaces with settlement systems having different system architectures. For example, business application systems interface with batch settlement-based settlement systems, as well as with atomic-granularity settlement-based settlement systems. In one embodiment, the target object is a minimum core-pin granularity object of the atomic core-pin. The voucher verification and cancellation flow data of the target object are atom-granularity verification and cancellation flow data, and specifically are verification and cancellation flow data of unit objects of the atomic-granularity verification and cancellation. The business application system may be used to process atom-granular nuclear marketing stream data as well as atom-granular settlement data. The verification and settlement may be an atomic granularity business action. For example, one consumption behavior by verification is a target object by verification, or one physical object by verification is a target object by verification; the voucher verification and cancellation stream data of the target object is atom granularity data, verification and cancellation can not be split, and the settlement information corresponding to the target object is atom granularity settlement data which can not be split and settled. The settlement system interfacing with the service application system may be a settlement system supporting processing of batch settlement data, and the settlement intermediate layer splits data to be settled including the batch settlement data into atomic granularity settlement data. The business application system can also directly interface with a second settlement system supporting atomic granularity settlement data. Therefore, when the settlement service is deployed, the first settlement system and the second settlement system can coexist and are in butt joint with the service application system. In addition, the settlement service can also be migrated between the second settlement system and the first settlement system without the service application system being aware of it. The step specifically obtains the voucher verification marketing flow data of the target object through the following processing: obtaining a settlement request for the target object; and acquiring the voucher verification streamline data according to the settlement request.
Step S302, acquiring data to be settled according to the voucher verification and cancellation flow data; the data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects.
In this embodiment, the settlement identification information in the voucher approval streamline data records a settlement system flag that triggers the settlement request, and a settlement system that provides data to be settled can be determined according to the settlement identification information. In a specific embodiment, according to the settlement identification information included in the voucher verification streamline data, a request is made to a first settlement system to obtain first data to be settled, which is used as the data to be settled. In one embodiment, if it is determined that second data to be settled provided by a second settlement system needs to be obtained according to the voucher verification streamline data, the second data to be settled is obtained as settlement information of the target object; wherein the second data to be settled is atomic granularity settlement data for the target object. Specifically, the second data to be settled and the voucher verification and cancellation stream data are in one-to-one correspondence.
Step S303, splitting the data to be settled to obtain atom granularity settlement information of the target object; wherein, the atom granularity settlement information is the settlement information of a unit object.
In this embodiment, the atomic granularity settlement information of the target object is obtained by splitting from batch settlement data. The batch settlement is a settlement data for one settlement including object settlement information of a plurality of service types. For example, the batch settlement triggered by the verification is performed for 2 cups of milk tea and 1 hairdressing reservation service, and the batch settlement data correspondingly generated by the batch settlement contains settlement information of two service types, namely the target service and the reservation service. And splitting the batch settlement data to split settlement information of 3 objects. In this embodiment, the method further includes: obtaining settlement detail information of the target object according to the voucher verification and cancellation flow data and the atomic granularity settlement information of the target object; the settlement detail information is settlement information including resource circulation data and target object information corresponding to the resource circulation data. Specifically, the voucher verification running water data may be associated with atomic granularity settlement information of the target object to obtain the settlement detail information. The voucher verification and cancellation stream data can provide object information, the settlement information can provide resource circulation information, the object information and the resource circulation information are related, and detail information comprising the following contents can be obtained: fund flow information during settlement and object information corresponding to the settlement. The data analysis system for analyzing settlement services may acquire the settlement detail information through the settlement intermediate layer, and thus, the settlement system may include a first settlement system and a second settlement system having different system architectures. The settlement service can be switched between the first settlement system and the second settlement system without the data analysis system being aware of it. In this embodiment, the following process is further included: constructing a joint main key as a proxy main key according to the specific field of the settlement information of the target object and the specific field of the voucher verification assembly data; and generating settlement detail information of the target object according to the proxy main key. By means of the surrogate key, the settlement detail data of different settlement systems can be merged together, for example, into one database table. The agent main key can ensure the uniqueness of the main key of the settlement intermediate layer and can be used for seamless cross-system integration. In this embodiment, the method further includes: receiving a query request containing specific key value information of the proxy primary key; and providing settlement detail information corresponding to the specific key information.
The data processing method provided by this embodiment is described in detail, and the method obtains the atomic-granularity settlement data of the target object by splitting the data to be settled corresponding to the certificate verification and cancellation stream data; the data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects. Therefore, the business application system supporting the atomic granularity settlement data does not need to be modified, and can be simultaneously connected with settlement systems with different system architectures, so that the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of is solved.
Based on the above embodiments, a third embodiment of the present application provides a data processing system. The data processing system is described below with reference to fig. 4, and the relevant portions refer to the description of the corresponding portions of the above embodiments. The data processing system shown in FIG. 4 includes: a credential revocation subsystem 401, a first operator system 402.
And the certificate verifying and canceling subsystem is used for providing the certificate verifying and canceling flow data of the target object.
In this embodiment, the certificate verification and cancellation subsystem may be a subsystem for processing verification and cancellation service applications, and may be capable of interfacing with a settlement system having a different system architecture. The method is specifically used for carrying out the following treatment: obtaining a settlement request for the target object; and acquiring the voucher verification streamline data according to the settlement request.
The first settlement subsystem is used for acquiring the certificate verification and cancellation running water data and acquiring first to-be-settled data provided by the first settlement subsystem according to the certificate verification and cancellation running water data; splitting the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list; associating the certificate checking and selling flow data with the first object order to obtain a first object order associated with the certificate checking and selling flow data, splitting a first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, and using the second sub-settlement list as settlement information of the target object; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects. ,
in this embodiment, the first sub-settlement list and the first object order of the object granularity are split from the batch settlement data by one-time splitting. For example, the batch settlement triggered by the verification is performed for 2 cups of milk tea and 1 hairdressing reservation service, and the batch settlement data correspondingly generated by the batch settlement contains settlement information of two service types, namely the target service and the reservation service. Continuing with the above example, the batch settlement data is split once into 2 sub-settlement tickets: a first sub statement for the subject service and a first sub statement for the predetermined service. The order is disassembled to 3 object granularities. Further, the first sub-settlement list is further split according to the voucher verification and cancellation streamline data, a second sub-settlement list corresponding to the verified and cancelled target object is obtained, and the second sub-settlement list is the atomic granularity settlement data of the target object. In this embodiment, the first computation subsystem is further configured to: obtaining settlement detail information of the target object according to the voucher verification and marketing flow data and the settlement information of the target object; the settlement detail information is settlement information including resource circulation data and target object information corresponding to the resource circulation data. Specifically, the settlement detail information of the target object is generated according to the voucher verification and cancellation running water data, the first object order correlated with the voucher verification and cancellation running water data, and the second sub-settlement list. The voucher verification and cancellation running water data can be associated with settlement information of the target object to obtain settlement detail information. The voucher verification and cancellation stream data can provide object information, the settlement information can provide resource circulation information, the object information and the resource circulation information are related, and detail information comprising the following contents can be obtained: fund flow information during settlement and object information corresponding to the settlement.
In this embodiment, the system further includes: and a second settlement subsystem. The second settlement subsystem is used for judging whether second data to be settled provided by a second settlement system needs to be obtained or not according to the voucher verification and marketing pipelining data, and if so, obtaining the second data to be settled as settlement information of the target object; wherein the second data to be settled is atomic granularity settlement data for the target object. Thus, the first settlement system and the second settlement system may coexist while interfacing with the credential underwriting subsystem at the time of deployment of the settlement service. In addition, the settlement service can be migrated from the second settlement system to the first settlement system without being perceived by the service application system. Specifically, the settlement identification information in the voucher approval streamline data records a settlement system mark triggering the settlement request, and a settlement system providing data to be settled can be determined according to the settlement identification information. Further, the second data to be settled and the voucher verification and cancellation stream data are in one-to-one correspondence.
In this embodiment, the system further includes: a settlement data merging subsystem; the settlement data merging subsystem is used for constructing a combined main key as an agent main key according to the specific field of the second sub-settlement list or the specific field of the second data to be settled and the specific field of the voucher verification running water data; and generating settlement detail information of the target object according to the proxy main key. By means of the surrogate key, the settlement details data based on the first settlement system can be merged together with the settlement details data based on the second settlement system, for example, into one database table. The proxy key can ensure the uniqueness of the key in the settlement middle layer, and can be used for seamlessly integrating the settlement detail data of the first settlement system and the settlement detail data of the second settlement system across systems, wherein the second settlement system and the first settlement system have different system architectures. The further settlement data merging subsystem is further configured to: receiving a query request containing specific key value information of the proxy primary key; and providing settlement detail information corresponding to the specific key information. The data analysis system for analyzing the settlement service can acquire the settlement detail information through the settlement data merging subsystem, so that the data analysis system does not need to be modified in the process of transferring the settlement service between the first settlement system and the second settlement system, and the non-perception switching is realized.
To this end, the data processing system provided in the third embodiment is explained, where the first settlement subsystem of the system is configured to obtain first data to be settled according to the voucher verification marketing pipeline data; splitting the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list; and associating the certificate checking and selling flow data with the first object order to obtain a first object order associated with the certificate checking and selling flow data, splitting a first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, and using the second sub-settlement list as settlement information of the target object. And splitting batch settlement data containing settlement information of a plurality of service types and a plurality of objects to obtain settlement information with the same granularity as the certificate verification and cancellation stream data through secondary splitting. Therefore, the business application system does not need to be modified, and can simultaneously interface the settlement systems with different system architectures, thereby solving the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of the settlement information.
A fourth embodiment of the present application provides a data processing apparatus corresponding to the first embodiment. The following describes the apparatus provided in the fourth embodiment with reference to fig. 5. The data processing apparatus shown in fig. 5 includes: a to-be-settled data obtaining unit 501, configured to obtain credential verification and cancellation stream data of a target object, and obtain first to-be-settled data provided by a first settlement system according to the credential verification and cancellation stream data; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects;
a primary splitting unit 502, configured to split the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list;
the secondary splitting unit 503 is configured to associate the voucher verification and sales pipeline data with the first object order to obtain a first object order associated with the voucher verification and sales pipeline data, and split the first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, where the second sub-settlement list is used as the settlement information of the target object.
Optionally, the apparatus further includes a second settlement system docking unit, where the second settlement system docking unit is configured to determine, according to the voucher verification and cancellation flow data, that second data to be settled provided by a second settlement system needs to be obtained, and obtain the second data to be settled, where the second data to be settled is used as settlement information of the target object; wherein the second data to be settled is atomic granularity settlement data for the target object.
Optionally, the apparatus further includes a merging unit, where the merging unit is configured to: obtaining settlement detail information of the target object according to the voucher verification and marketing flow data and the settlement information of the target object; the settlement detail information is settlement information including resource circulation data and target object information corresponding to the resource circulation data.
Optionally, the merging unit is further configured to: and generating settlement detail information of the target object according to the voucher verification and cancellation flow data, the first object order correlated with the voucher verification and cancellation flow data and the second sub-settlement list.
Optionally, the merging unit is specifically configured to: constructing a joint main key as a proxy main key according to the specific field of the settlement information of the target object and the specific field of the voucher verification assembly data; and generating settlement detail information of the target object according to the proxy main key.
Optionally, the merging unit is specifically configured to: taking a specific field of the second word settlement list or a specific field of the second data to be settled as a specific field of settlement information of the target object; generating the federated primary key using the particular field and a particular field of the credential verification marketing data.
Optionally, the merging unit is specifically configured to: receiving a query request containing specific key value information of the proxy primary key; and providing settlement detail information corresponding to the specific key information.
Optionally, the to-be-settled data obtaining unit is specifically configured to: obtaining a settlement request for the target object; and acquiring the voucher verification streamline data according to the settlement request.
Optionally, the to-be-settled data obtaining unit is specifically configured to: and requesting a first settlement system to obtain first data to be settled according to settlement identification information contained in the voucher verification and cancellation flow data.
Optionally, the settlement information of the target object is atomic-granularity settlement data.
To this end, the apparatus provided in this embodiment is described, in which a primary splitting unit of the apparatus splits first to-be-settled data provided by a first settlement system to obtain a first sub-settlement list corresponding to each service type after the primary splitting and a first object order associated with the first sub-settlement list and corresponding to each object; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects; and obtaining settlement information of the target object through a secondary splitting unit, wherein the settlement information is the same as the granularity of the voucher verification and cancellation stream data. Further, the settlement information obtained by splitting is atom granularity settlement data. Therefore, the business application system does not need to be modified, and can simultaneously interface the settlement systems with different system architectures, thereby solving the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of.
A fifth embodiment of the present application provides an electronic apparatus, which corresponds to the first and second embodiments. Fig. 6 is a schematic diagram of the electronic device, which includes: a memory 601, and a processor 602; the memory is used for storing a computer program, and the computer program is executed by the processor to execute the data processing method provided by the above embodiment of the present application.
Now, the electronic device provided in this embodiment is described, where the electronic device splits first to-be-settled data provided by a first settlement system to obtain a first sub-settlement list corresponding to each service type after one-time splitting and a first object order corresponding to each object and associated with the first sub-settlement list; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects; and obtaining settlement information of the target object through a secondary splitting unit, wherein the settlement information is the same as the granularity of the voucher verification and cancellation stream data. Further, the settlement information obtained by splitting is atom granularity settlement data. Therefore, the business application system does not need to be modified, and can simultaneously interface the settlement systems with different system architectures, thereby solving the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of.
A sixth embodiment of the present application provides a storage device corresponding to the first and second embodiments, and please refer to the corresponding description of the above embodiments for related parts. The schematic diagram of the storage device is similar to fig. 6. The storage device stores a computer program, and the computer program is executed by the processor to execute the data processing method provided by the above embodiment.
The storage device provided in this embodiment is described, where the storage device stores an instruction, and the instruction splits first to-be-settled data provided by a first settlement system to obtain a first sub-settlement list corresponding to each service type after one-time splitting and a first object order associated with the first sub-settlement list and corresponding to each object; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects; and obtaining settlement information of the target object through a secondary splitting unit, wherein the settlement information is the same as the granularity of the voucher verification and cancellation stream data. Further, the settlement information obtained by splitting is atom granularity settlement data. Therefore, the business application system does not need to be modified, and can simultaneously interface the settlement systems with different system architectures, thereby solving the problem of integrating the settlement information of the settlement systems with different architectures under the condition that the business application system is not aware of.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.

Claims (10)

1. A data processing method, comprising:
obtaining voucher verification and marketing stream data of a target object, and obtaining first to-be-settled data provided by a first settlement system according to the voucher verification and marketing stream data; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects;
splitting the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list;
and associating the certificate checking and selling flow data with the first object order to obtain a first object order associated with the certificate checking and selling flow data, splitting a first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, and using the second sub-settlement list as settlement information of the target object.
2. The method of claim 1, further comprising:
if the second data to be settled provided by a second settlement system is determined to be required to be obtained according to the certificate verification and cancellation stream data, the second data to be settled is obtained and is used as settlement information of the target object; wherein the second data to be settled is atomic granularity settlement data for the target object.
3. The method of claim 1 or 2, further comprising:
obtaining settlement detail information of the target object according to the voucher verification and marketing flow data and the settlement information of the target object; the settlement detail information is settlement information including resource circulation data and target object information corresponding to the resource circulation data.
4. The method of claim 3, further comprising:
and generating settlement detail information of the target object according to the voucher verification and cancellation flow data, the first object order correlated with the voucher verification and cancellation flow data and the second sub-settlement list.
5. The method of claim 3, further comprising:
constructing a joint main key as a proxy main key according to the specific field of the settlement information of the target object and the specific field of the voucher verification assembly data;
and generating settlement detail information of the target object according to the proxy main key.
6. The method of claim 5, wherein constructing a federated primary key from the specific field of the settlement information of the target object and the specific field of the credential verification pipelining data comprises:
taking a specific field of the second word settlement list or a specific field of the second data to be settled as a specific field of settlement information of the target object;
generating the federated primary key using the particular field and a particular field of the credential verification marketing data.
7. The method of claim 5, further comprising:
receiving a query request containing specific key value information of the proxy primary key;
and providing settlement detail information corresponding to the specific key information.
8. The method of claim 1, wherein obtaining the credential core of the target object sells the pipelining data, comprising:
obtaining a settlement request for the target object;
and acquiring the voucher verification streamline data according to the settlement request.
9. A data processing method, comprising:
obtaining voucher verification marketing flow data of a target object;
acquiring data to be settled according to the voucher verification and marketing flow data; the data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects;
splitting the data to be settled to obtain atom granularity settlement information of the target object; wherein, the atom granularity settlement information is the settlement information of a unit object.
10. A data processing system, comprising: a certificate verification and cancellation subsystem and a first operator system; wherein,
the certificate verifying and canceling subsystem is used for providing the certificate verifying and canceling flow data of the target object;
the first settlement subsystem is used for acquiring the certificate verification and cancellation running water data and acquiring first to-be-settled data provided by the first settlement subsystem according to the certificate verification and cancellation running water data; splitting the first to-be-settled data to obtain a first sub-settlement list corresponding to each service type after primary splitting and a first object order corresponding to each object and associated with the first sub-settlement list; associating the certificate checking and selling flow data with the first object order to obtain a first object order associated with the certificate checking and selling flow data, splitting a first sub-settlement list associated with the first object order to obtain a second sub-settlement list after secondary splitting, and using the second sub-settlement list as settlement information of the target object; the first data to be settled is batch settlement data containing settlement information of a plurality of service types and a plurality of objects.
CN201911369126.5A 2019-12-26 2019-12-26 Data processing method and device Active CN111143327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911369126.5A CN111143327B (en) 2019-12-26 2019-12-26 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911369126.5A CN111143327B (en) 2019-12-26 2019-12-26 Data processing method and device

Publications (2)

Publication Number Publication Date
CN111143327A true CN111143327A (en) 2020-05-12
CN111143327B CN111143327B (en) 2023-06-20

Family

ID=70520548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911369126.5A Active CN111143327B (en) 2019-12-26 2019-12-26 Data processing method and device

Country Status (1)

Country Link
CN (1) CN111143327B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113988773A (en) * 2020-07-09 2022-01-28 顺丰科技有限公司 Certificate verification method, device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8612596B1 (en) * 2010-03-31 2013-12-17 Amazon Technologies, Inc. Resource planning for computing
CN104537515A (en) * 2015-01-20 2015-04-22 北京京东尚科信息技术有限公司 Order splitting method and device
CN108242018A (en) * 2018-02-24 2018-07-03 北京车和家信息技术有限公司 The processing method of order, apparatus and system
CN110135882A (en) * 2019-03-26 2019-08-16 口口相传(北京)网络技术有限公司 Business checks and writes off the integration method and device, storage medium, terminal of data
CN110544122A (en) * 2019-08-29 2019-12-06 海南喜福家具制造有限公司 Custom furniture part pricing method, coordination server, system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8612596B1 (en) * 2010-03-31 2013-12-17 Amazon Technologies, Inc. Resource planning for computing
CN104537515A (en) * 2015-01-20 2015-04-22 北京京东尚科信息技术有限公司 Order splitting method and device
CN108242018A (en) * 2018-02-24 2018-07-03 北京车和家信息技术有限公司 The processing method of order, apparatus and system
CN110135882A (en) * 2019-03-26 2019-08-16 口口相传(北京)网络技术有限公司 Business checks and writes off the integration method and device, storage medium, terminal of data
CN110544122A (en) * 2019-08-29 2019-12-06 海南喜福家具制造有限公司 Custom furniture part pricing method, coordination server, system and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
R.YAMAMOTO ET AL: "Order Splitting and Long-memory in an Order-driven Market", 《THE EUROPEAN PHYSICAL JOURNAL B》, pages 51 - 57 *
赵晨: "大型超市网上拆分订单的合并打包方案决策方法研究", 《万方学位论文》, pages 1 - 70 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113988773A (en) * 2020-07-09 2022-01-28 顺丰科技有限公司 Certificate verification method, device, server and storage medium

Also Published As

Publication number Publication date
CN111143327B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
TWI705346B (en) Transaction method and system based on centralized settlement and blockchain deposit certificate
CN110956275B (en) Risk prediction and risk prediction model training method and device and electronic equipment
CN107122296B (en) Method and apparatus for data assertion for test interface
CN108173706B (en) Service marking method, device and equipment under multi-service system
JP2017514218A (en) Running third-party applications
CN108091384B (en) Medical image processing system based on micro-service framework
CN107092535B (en) Method and apparatus for data storage of test interface
WO2019180599A1 (en) Data anonymization
CN112930530B (en) Client application for network application execution
CN111813379B (en) Application deployment method and device, electronic equipment and computer readable storage medium
CN108647102B (en) Service request processing method and device of heterogeneous system and electronic equipment
CN113094414B (en) Method and device for generating circulation map
CN111143327B (en) Data processing method and device
US11003652B1 (en) Multi-write database modification
CN115174158B (en) Cloud product configuration checking method based on multi-cloud management platform
CN109582476B (en) Data processing method, device and system
CN112734349A (en) Interface generation method, data calling method, device and electronic equipment
CN111062057A (en) Neutral data application method, device and system
WO2022053048A1 (en) Ensuring secure provisioning of blockchain infrastructure
CN111260411B (en) Resource processing method and device
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN106548331B (en) Method and device for determining release sequence
CN115063198A (en) Method, equipment and medium for performing data access on EPR (expressed resource Server) software under SaaS (software as a service) service
CN106844038B (en) Method and device for determining resource use authority and resource provision
CN106569791B (en) Data object processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant