CN111626871B - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111626871B
CN111626871B CN202010450301.XA CN202010450301A CN111626871B CN 111626871 B CN111626871 B CN 111626871B CN 202010450301 A CN202010450301 A CN 202010450301A CN 111626871 B CN111626871 B CN 111626871B
Authority
CN
China
Prior art keywords
data
type
target
trusted account
processing
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.)
Active
Application number
CN202010450301.XA
Other languages
Chinese (zh)
Other versions
CN111626871A (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.)
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Taikang Pension Insurance 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 Taikang Insurance Group Co Ltd, Taikang Pension Insurance Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN202010450301.XA priority Critical patent/CN111626871B/en
Publication of CN111626871A publication Critical patent/CN111626871A/en
Application granted granted Critical
Publication of CN111626871B publication Critical patent/CN111626871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Abstract

The embodiment of the invention provides a data processing method, a device, equipment and a storage medium, wherein the method comprises the following steps: receiving at least one service request sent by a target terminal; if the current trusted account type is inconsistent with the target trusted account type, acquiring a hosting system and a processing mode matched with the current trusted account type; if the processing mode is decentralized processing, a first scribing instruction is generated; if the processing mode is merging processing, classifying all the data to be processed in all the service requests meeting the merging processing to obtain at least one type of merging data, and generating a second scribing instruction; and sending the first and second scribing instructions to corresponding target hosting systems, and indicating the target hosting systems to execute scribing operation. The method provided by the embodiment can provide various processing modes for processing the service request, so that the data can be flexibly processed.

Description

Data processing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method, a device, equipment and a storage medium.
Background
The annuity refers to the supplementary endowment insurance which is voluntarily built by enterprises and staff thereof on the basis of participating in the basic endowment insurance by law. Annuity is a better investment arrangement, with more and more employees opting to participate in the annuity program of the enterprise. Therefore, it is important to manage annuity business.
In the prior art, enterprise annuity business management relates to a four-way management system: a trusted system, a hosted system, an account management system, and a drop management system. Wherein the enterprise is a principal and is a user; the trusted system is a system for receiving enterprise consignment and managing the annuity funds of the enterprise; the hosting system is a banking system for accepting consignees to consignee and keeping the annuity fund property of enterprises; the account management system is a system for accepting consignee consignment and accounting; the management system is a system for receiving consignee entrustment and managing resources of enterprise annuity. When an enterprise or staff in the enterprise makes service change, an instruction is generated for each service trusted system, the instruction is continuously sent to the hosting system and the account management system, and the instruction can be also sent to the administration system, so that the hosting system, the account management system and the administration system execute corresponding operations to realize the processing of service requests, but the service processing mode is single and cannot flexibly process data.
Thus, the trusted system in the prior art cannot provide multiple service processing modes, resulting in poor flexibility of data processing.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a device, equipment and a storage medium, which are used for solving the problem that the trusted system in the prior art cannot provide a plurality of service processing modes, so that the flexibility of data processing is poor.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
receiving at least one service request sent by a target terminal, wherein each service request carries at least one piece of data to be processed, a service type and a service request sending time, and each piece of data to be processed comprises a current trusted account type and a target trusted account type;
responding to each service request, comparing the current trusted account type with the target trusted account type in each piece of data to be processed, and if the current trusted account type is inconsistent with the target trusted account type, acquiring a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the service request, wherein the processing mode comprises decentralized processing and merging processing;
If the processing mode is decentralized processing, generating a first scribing instruction according to the target trusted account type, the service type and the service request time;
if the processing mode is merging processing, classifying each data to be processed in all the service requests meeting the merging processing according to the hosting system, the current trusted account type, the target trusted account type, the service type and the service request time to obtain at least one type of merging data;
generating a second scribing instruction according to the various merging data;
and sending the first and second scribing instructions to corresponding target hosting systems, and indicating the target hosting systems to execute scribing operation.
Optionally, the acquiring the hosting system matched with the current trusted account type and the processing manner matched with the hosting system for processing the service request include:
obtaining a mapping table from a preset database, wherein the mapping table stores mapping relations among the type of the trusted account, the hosting system and the processing mode;
determining a target mapping relation matched with the current trusted account type from the mapping table;
And determining a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the data to be processed according to the target mapping relation.
Optionally, the classifying the to-be-processed data in all the service requests meeting the merging processing according to the hosting system, the current trusted account type, the target trusted account type, the service type and the service request time to obtain at least one type of merging data includes:
determining an influence factor of the combination processing according to a hosting system corresponding to the data to be processed in each service request, wherein the influence factor is at least one of a current trusted account type, a target trusted account type, a service type and service request time;
and classifying all pieces of data to be processed in all the service requests meeting the combination processing according to the influence factors to obtain at least one type of combination data.
Optionally, the determining, according to the hosting system corresponding to the data to be processed in each service request, an influencing factor of the merging process includes:
Acquiring a category to which the hosting system belongs, wherein the category comprises a first category and a second category;
if the class of the managed system is the first class, the influence factors of the merging process are the current trusted account type, the target trusted account type and the service request time;
and if the class of the managed system is the second class, the influence factors of the merging process are the current trusted account type, the target trusted account type, the service type and the service request time.
Optionally, the classifying processing is performed on each piece of the data to be processed in all the service requests meeting the merging processing according to the influencing factors to obtain at least one type of merged data, including:
if the influencing factors are the current trusted account type, the target trusted account type and the service request time, taking the service requests with the same current trusted account type, the same target trusted account type and the service request time in the same preset time period in all the service requests meeting the combination processing as one type of combination data;
if the influencing factors are the current trusted account type, the target trusted account type, the service type and the service request time, taking the service requests with the same current trusted account type, the same service type, the same target trusted account type and the same service request time in the same preset time period in all the service requests meeting the combination processing as one type of combination data;
Wherein the merged data is of at least one type.
Optionally, the data to be processed further includes: treating money;
before sending the first scribing instruction to the corresponding target hosting system, the method further comprises:
acquiring first remaining money data in a current trusted account corresponding to the current trusted account type;
if the first remaining money data is smaller than the drawing data in the to-be-processed money, generating a first redemption instruction, wherein the first redemption instruction is used for instructing the target hosting system to redeem the difference funds of the first remaining money data and the drawing data in the to-be-processed money into the current trusted account number from a posting system;
before sending the second scribing instruction to the corresponding target hosting system, the method further comprises:
accumulating all the money to be processed in the combined data to obtain target money drawing data;
acquiring second remaining money data in the current trusted account corresponding to the current trusted account type;
and if the second remaining money data is smaller than the target money drawing data, generating a second redemption instruction, wherein the second redemption instruction is used for instructing the target hosting system to redeem the difference funds of the second remaining money data and the target money drawing data from a pipe throwing system into the current trusted account.
Optionally, the first drawing instruction and the second drawing instruction both contain the money to be processed;
after determining that the current trusted account type and the target trusted account type are inconsistent, the method further comprises:
sending each request object and corresponding money drawing data of each request object in each service request meeting the inconsistent current trusted account type and the target trusted account type to an account management system;
receiving accounting information fed back by the accounting management system;
after the instructing the target hosting system to perform a scribing operation, the method further comprises:
receiving successful information of the money transfer fed back by the target hosting system, wherein the successful information of the money transfer comprises transaction reconciliation information;
after receiving the accounting information fed back by the accounting management system and the successful information of the money transfer fed back by the target hosting system, the method further comprises:
comparing the money to be processed, the billing information and the transaction checking information, and if the money to be processed, the billing information and the transaction checking information are consistent, sending indication information for indicating that the service request is successfully executed to the target terminal.
In a second aspect, an embodiment of the present invention provides a data processing apparatus, including:
the service request receiving module is used for receiving at least one service request sent by the target terminal, wherein each service request carries at least one piece of data to be processed, a service type and service request sending time, and each piece of data to be processed comprises a current trusted account type and a target trusted account type;
the service request response module is used for responding to each service request, comparing the current trusted account type with the target trusted account type in each piece of data to be processed, and if the current trusted account type is inconsistent with the target trusted account type, acquiring a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the service request, wherein the processing mode comprises decentralized processing and merging processing;
the first money drawing instruction generation module is used for generating a first money drawing instruction according to the type of the target trusted account, the service type and the service request time when the processing mode is decentralized processing;
the data merging module is used for classifying and processing all the data to be processed in all the service requests meeting the merging processing according to the hosting system, the type of the current trusted account, the type of the target trusted account, the service type and the service request time when the processing mode is merging processing, so as to obtain at least one type of merging data;
The second money drawing instruction generation module is used for generating a second money drawing instruction according to various merged data;
the indication module is used for sending the first and second scribing instructions to the corresponding target hosting systems and indicating the target hosting systems to execute scribing operation.
In a third aspect, an embodiment of the present invention provides a data processing apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored in the memory such that the at least one processor performs the data processing method as described above in the first aspect and the various possible designs of the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the data processing method according to the first aspect and the various possible designs of the first aspect.
The data processing method, the device, the equipment and the storage medium provided by the embodiment firstly receive at least one service request sent by a target terminal, wherein each service request carries at least one piece of data to be processed, a service type and a service request sending time, and the data to be processed comprises a current trusted account type and a target trusted account type; and then, responding to each service request, comparing the current trusted account type with the target trusted account type in each piece of data to be processed, determining whether the current trusted account type is inconsistent with the target trusted account type, and acquiring a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the data to be processed when the current trusted account type is inconsistent with the target trusted account type, wherein the processing mode can comprise scattered processing and combined processing, and determining which processing mode is according to the specific scene of the service request, so that the flexibility of service processing is reflected. Specifically, if the processing mode is decentralized processing, generating a first scribing instruction according to the type of the target trusted account, the service type and the service request time, wherein one service request corresponds to one scribing instruction, and then sending the first scribing instruction to a corresponding target hosting system to instruct the target hosting system to execute scribing operation; if the processing mode is merging processing, all the service requests meeting the merging processing are classified according to the hosting system, the current trusted account type, the target trusted account type, the service type and the service request time corresponding to the service requests, at least one type of merging data is obtained, a second money drawing instruction is further generated, then the second money drawing instruction is sent to the corresponding target hosting system, and the target hosting system is instructed to execute money drawing operation. Therefore, in the data processing process, the method provides a plurality of processing modes for processing the service requests through analyzing the actual application scenes corresponding to the service requests, so that the data can be flexibly processed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is an interactive schematic diagram of data processing according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a data processing method according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a data processing method according to another embodiment of the present invention;
FIG. 5 is a flowchart of a data processing method according to another embodiment of the present invention;
FIG. 6 is a flowchart illustrating a data processing method according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a data processing device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented, for example, in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to solve the technical problem that the trusted system in the prior art cannot provide multiple service processing modes, resulting in poor flexibility of data processing, an embodiment of the present invention provides a data processing method to solve the above problem.
Referring to fig. 1, fig. 1 is an interaction schematic diagram of data processing provided by an embodiment of the present invention, in which in fig. 1, an execution body may be a trusted system, and specific steps for implementing data processing in this embodiment are:
an enterprise or an individual (employee) in the enterprise initiates a service request to the trusted system 10 through the terminal device 20 (the terminal device here may be an internal terminal provided by the trusted authority or a user terminal configured to communicate with the trusted system, that is, a target terminal), where the service request may be a member annuity transfer service request, an enterprise annuity plan transfer service request, or an enterprise annuity payment service request, and one service request carries data to be processed, a service type, and a service request sending time; the data to be processed includes a current trusted account type and a target trusted account type, where the current trusted account type is a trusted account type matched with the trusted system 10, and the service data may be a money transfer or a payment.
Then the trusted system 10 receives at least one service request sent by the terminal device 20, wherein each service request comprises at least one piece of data to be processed, a service type and a service request sending time, and the data to be processed comprises a current trusted account type and a target trusted account type; the trusted system 10 compares the current trusted account type corresponding to each piece of data to be processed in the service request with the target trusted account type according to the service request. Since one trusted system can manage a plurality of trusted accounts, one trusted account corresponds to one annuity plan, if the current trusted account type is consistent with the target trusted account type, the annuity plan and the trusted account corresponding to the piece of data to be processed are not changed, and since one trusted system 10 has at least one trusted account in the corresponding trusted system 30, if the annuity plan and the trusted account are not changed, operations such as money transfer and the like by the trusted system 30 are not needed, and only the trusted system 10 and the account management system 50 need to record respectively; if they are inconsistent, the annuity plan is changed, and the trusted account is changed, and the escrow system 30 is required to perform operations such as money transfer.
Specifically, before instructing the hosting system 30 to perform operations such as money transfer and the like, in order to solve the singleness of data processing in the prior art, flexibility of data processing is presented, the hosting system 10 may further obtain a processing manner of processing the data to be processed, which is matched with the hosting system 30, by obtaining the hosting system 30 matched with the current trusted account type, where the processing manner may include a decentralized processing, a merging processing, and a special type processing, the decentralized processing is used for indicating that one service request corresponds to at least one processing of a money transfer instruction, the merging processing is used for indicating that a plurality of service requests are merged, and one merged data corresponds to one processing of a money transfer instruction, and the special type processing is used for indicating processing of a payment service. According to different processing modes, the trusted system 10 can generate corresponding target instructions including a first scribing instruction, a second scribing instruction, a payment instruction and the like, and then the trusted system 10 sends the target instructions to the hosting system 30, and the hosting system 30 executes corresponding operations according to the received target instructions; meanwhile, if the balance of the trusted account corresponding to the trusted system 10 in the trusted system 30 is insufficient, the trusted system 10 may generate a redemption instruction and send the redemption instruction to the trusted system 30, so that the trusted system 30 transfers funds from the conduit system 40 to the trusted account corresponding to the trusted system 10, and further, the trusted system 30 may transfer the money amount corresponding to the money transfer instruction to the target trusted account corresponding to the target trusted account type, complete the money transfer operation, and feed back the money transfer result to the trusted system 10.
In addition, the trusted system 10 needs to send the list of annuity plan changes in the service request and change information to the accounting system 50 to perform accounting operations and feed back accounting results to the accounting system 50. Trusted system 10 determines whether the transaction request was successfully processed based on information fed back by escrow system 30 and ledger system 50. According to the scheme, through analysis of the actual application scene corresponding to the service request in the data processing process, various processing modes for processing the service request are provided, so that the data can be flexibly processed.
Specifically, referring to fig. 2, fig. 2 is a schematic flow chart of a data processing method according to an embodiment of the present invention, where an execution body of the embodiment may be a terminal or a server, and the embodiment is not limited herein.
Referring to fig. 1, the data processing method includes:
s101, receiving a plurality of service requests sent by a target terminal, wherein each service request carries data to be processed, and the data to be processed comprises a service type, a current trusted account type corresponding to the data to be processed, a target trusted account type and service request sending time.
In practical application, taking the execution main body as the trusted system as an example, the target terminal is the terminal device, and the trusted person can send a service request to the trusted system through the target terminal, where one service request may include one or more delegates, and in general, after the target terminal receives a service request event input by the delegates, the target terminal may integrate data to be processed of the same service type in the current time period into one service request, or when an enterprise applies for the service request by using the delegates as a delegate, integrate the data to be processed corresponding to the delegate into one service request. Therefore, how the service request is formed is not limited herein, and is not described in detail. And the trusted system can receive each service request sent by the target terminal, so that in a scene with more and complex service requests, the number of the service requests is multiple, and the trusted system can process the multiple service requests by receiving the multiple service requests.
S102, responding to each service request, comparing the current trusted account type with the target trusted account type in each piece of data to be processed, and if the current trusted account type is inconsistent with the target trusted account type, acquiring a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the service request, wherein the processing mode comprises decentralized processing and merging processing.
In this embodiment, in order to implement rapid processing of service requests, the service requests need to be screened in advance, and whether the current trusted account type of each piece of data to be processed in each service request is consistent with the target trusted account type is compared.
If the two data are consistent, the annuity plan corresponding to the data to be processed is not changed, and operations such as money transfer and the like do not need to be carried out by the hosting system 30, and only the trusted system 10 and the account management system 50 need to be respectively recorded. Specifically, the trusted system 10 performs change records on the enterprise corresponding to the principal in the piece of data to be processed, and sends the piece of data to be processed to the account management system 50, and instructs the account management system 50 to perform change records on the enterprise corresponding to the principal in the piece of data to be processed, and meanwhile, eliminates the piece of data to be processed from the corresponding service request.
For example, principal a, employed by enterprise a, participates in enterprise a's annuity plan "a company annuity plan", whose principal for enterprise a is principal a, and whose annuity funds trusted account is principal account a; principal a leaves enterprise a and enters enterprise B, and expects to join in the annuity plan of B, and its principal of enterprise B is still principal a, so annuity funds principal account is still principal account a, and since one annuity plan corresponds to one principal account, although principal a's company changes, principal a's annuity plan and principal account are not changed, only principal a corresponds to enterprise B, and no principal system is required to be instructed to pay, because all money is still in the same principal account.
If the two types of the trusted accounts are inconsistent, the annuity plan and the trusted account are changed, and operations such as money transfer and the like are required to be carried out by the trusted system 30, at this time, the trusted system can acquire the trusted system matched with each piece of data to be processed which meets the inconsistent condition according to the type of the current trusted account in the data to be processed, and the processing mode matched with the trusted system for processing the business request.
And S103, if the processing mode is decentralized processing, generating a first scribing instruction according to the target trusted account type, the service type and the service request time.
In practical application, a service request may include a plurality of pieces of data to be processed of the same service type, and the data to be processed of the same target trusted account type in the service request are removed first to obtain a new service request, and if the processing mode corresponding to the service request is decentralized processing, the data to be processed of the same target trusted account type in the new service request is combined into a new piece of data to be processed. One piece of data to be processed corresponds to one scribing instruction, so that one service request can comprise at least one scribing instruction, namely a first scribing instruction.
S104, if the processing mode is merging processing, classifying each data to be processed in all the service requests meeting the merging processing according to the hosting system, the type of the current trusted account, the type of the target trusted account, the service type and the service request time to obtain at least one type of merging data;
s105, generating a second scribing instruction according to the combined data of various types.
In this embodiment, the to-be-processed data of the service request, where the type of the current trusted account is consistent with the type of the target trusted account, is removed first to obtain a new service request, and if the processing mode corresponding to the service request is merging processing, all service applications corresponding to the same hosting system, the type of the current trusted account, the type of the target trusted account, the type of the service, and the service request time in the same time period need to be merged to generate a second scribing instruction.
S106, sending the first and second scribing instructions to corresponding target hosting systems, and indicating the target hosting systems to execute scribing operation.
In this embodiment, the first scribing instruction and the second scribing instruction may be at least one, and if the first scribing instruction is generated, the trusted system sends the first scribing instruction to the target hosting system carried by the first scribing instruction, so as to instruct the target hosting system to execute the scribing operation; and if the second scribing instruction is generated, the trusted system sends the second scribing instruction to the target hosting system carried by the second scribing instruction, and instructs the target hosting system to execute the scribing operation. The target hosting system is a hosting system corresponding to the data to be processed when the first scribing instruction or the second scribing instruction is generated.
In this embodiment, at least one service request sent by a target terminal is received first, where each service request carries at least one piece of data to be processed, a service type, and a service request sending time, where the data to be processed includes a current trusted account type and a target trusted account type; and then, responding to each service request, comparing the current trusted account type with the target trusted account type in each piece of data to be processed, determining whether the current trusted account type is inconsistent with the target trusted account type, and acquiring a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the data to be processed when the current trusted account type is inconsistent with the target trusted account type, wherein the processing mode can comprise scattered processing and combined processing, and determining which processing mode is according to the specific scene of the service request, so that the flexibility of service processing is reflected. Specifically, if the processing mode is decentralized processing, generating a first scribing instruction according to the type of the target trusted account, the service type and the service request time, wherein one service request corresponds to one scribing instruction, and then sending the first scribing instruction to a corresponding target hosting system to instruct the target hosting system to execute scribing operation; if the processing mode is merging processing, all the service requests meeting the merging processing are classified according to the hosting system, the current trusted account type, the target trusted account type, the service type and the service request time corresponding to the service requests, at least one type of merging data is obtained, a second money drawing instruction is further generated, then the second money drawing instruction is sent to the corresponding target hosting system, and the target hosting system is instructed to execute money drawing operation. Therefore, in the data processing process, the method provides a plurality of processing modes for processing the service requests through analyzing the actual application scenes corresponding to the service requests, so that the data can be flexibly processed.
How to determine the processing manner of the service request is shown in fig. 3, fig. 3 is a schematic flow chart of a data processing method according to another embodiment of the present invention, and the embodiment is based on the above embodiment, for example, the embodiment shown in fig. 2, and details of S102 are described. The obtaining the hosting system matched with the current trusted account type and the processing mode matched with the hosting system for processing the service request comprises the following steps:
s201, acquiring a mapping table from a preset database, wherein the mapping table stores mapping relations among trusted account types, a hosting system and a processing mode;
s202, determining a target mapping relation matched with the current trusted account type from the mapping table;
s203, determining a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the data to be processed according to the target mapping relation.
In this embodiment, the trusted system corresponds to a preset database, and the preset database stores a mapping relationship representing the type of the trusted account, the trusted system and the processing mode. For each piece of to-be-processed, the trusted system can find a target mapping relation matched with the current trusted account type through a mapping table according to the current trusted account type, and then based on the target mapping relation, a trusted system matched with the current trusted account type and a processing mode matched with the trusted system for processing the to-be-processed data can be obtained.
Specifically, how to implement the combination of data and further implement the combination of instructions is shown in fig. 4, and fig. 4 is a schematic flow chart of a data processing method according to still another embodiment of the present invention, where the embodiment is described in detail in S104 based on the above embodiment, for example, the embodiment described in fig. 3. The classifying processing is performed on each data to be processed in all the service requests meeting the merging processing according to the hosting system, the current trusted account type, the target trusted account type, the service type and the service request time, so as to obtain at least one type of merging data, including:
s301, determining influence factors of the combination processing according to hosting systems corresponding to the data to be processed in each service request, wherein the influence factors are at least one of a current trusted account type, a target trusted account type, a service type and service request time;
s302, classifying each piece of data to be processed in all the service requests meeting the combination processing according to the influence factors to obtain at least one type of combination data.
In this embodiment, for each service request that satisfies the merging process, a factor that affects the merging process is determined according to a hosting system corresponding to data to be processed in each service request as a merging evaluation index, where the affecting factor may include at least one of a current trusted account type, a target trusted account type, a service type, and a service request time. And then, based on the influence factors, merging all pieces of data to be processed which belong to the same influence factors to obtain merged data.
Specifically, referring to fig. 5, fig. 5 is a schematic flow chart of a data processing method according to another embodiment of the present invention, where S301 is described in detail based on the above embodiment, for example, based on the embodiment described in fig. 4. The determining the influencing factors of the merging process according to the hosting system corresponding to the data to be processed in each service request includes:
s401, acquiring a category to which the hosting system belongs, wherein the category comprises a first category and a second category;
s402, if the class of the managed system is the first class, the influence factors of the merging process are the current trusted account type, the target trusted account type and the service request time;
s403, if the class of the managed system is the second class, the influence factors of the merging process are the current trusted account type, the target trusted account type, the service type and the service request time.
In this embodiment, each hosting system corresponds to a class, where the class to which the hosting system belongs may include at least two classes, namely a first class and a second class. The first class distinguishes between service types but not service request times, and the second class does not distinguish between service types and service request times. Therefore, if the class to which the hosting system belongs is the first class, the influence factors of the merging process include the current trusted account type, the target trusted account type and the service request time; if the class of the managed system is the second class, the influence factors of the merging process include the current trusted account type, the target trusted account type, the service type and the service request time.
How to implement the classification merging process according to the influence factors is shown in fig. 6, fig. 6 is a flow chart of a data processing method according to still another embodiment of the present invention, and the embodiment is described in detail in S302 based on the above embodiment, for example, the embodiment described in fig. 5. And classifying each piece of data to be processed in all the service requests meeting the combination processing according to the influencing factors to obtain at least one type of combination data, wherein the method comprises the following steps:
s501, if the influencing factors are the current trusted account type, the target trusted account type and the service request time, taking the service requests with the same current trusted account type, the same target trusted account type and the service request time in the same preset time period in all the service requests meeting the combination processing as one type of combination data;
s502, if the influencing factors are the current trusted account type, the target trusted account type, the service type and the service request time, service requests with the same current trusted account type, the same service type, the same target trusted account type and the same service request time in the same preset time period in all the service requests meeting the combination processing are taken as one type of combination data; wherein the merged data is of at least one type.
In this embodiment, since each hosting system has a processing period (i.e., a pricing period), if the pricing period is 7 days, the pricing days of 1, 8, 15, 22, 29, etc. are respectively regarded as the processing days, so when merging data, the service request time belonging to the same period (or the same preset time period) needs to be regarded as a merging term, and therefore, if the influencing factors are the current trusted account type, the target trusted account type and the service request time, the to-be-processed data satisfying the same current trusted account type, the same target trusted account type and the service request time belonging to the same period in all the service requests of the merging process are regarded as one type of merging data; and if the influencing factors are the current trusted account type, the target trusted account type, the service type and the service request time, taking the to-be-processed data which have the same current trusted account type, the same service type, the same target trusted account type and the service request time belonging to the same period in all the service requests which meet the combination processing as the combination data.
In this embodiment, a new piece of data to be processed may be generated by data merging, so as to generate an instruction, reduce the number of instruction generation, and further reduce frequent interaction with other systems, which results in risk or resource waste of the data.
In practical application, since the trusted people can invest the enterprise annuity according to the trusted people delegate, and realize asset increment, the trusted system needs to check whether the balance in the trusted account number in the corresponding trusted system is sufficient or not for the transfer service (such as member annuity transfer service and enterprise annuity plan transfer service) of the service request, because the trusted people delegate can manage the enterprise annuity through the trusted system and not in the corresponding trusted account, if the balance in the trusted account is insufficient, the trusted system needs to send a redemption instruction of funds to the trusted system, so that the enterprise annuity of the trusted people is put back into the current trusted account corresponding to the corresponding current trusted account type.
Alternatively, the present embodiment describes the data processing method in detail on the basis of the above-described embodiment, for example, on the basis of the embodiment described in fig. 6. Wherein the data to be processed further comprises: treating money;
before sending the first scribing instruction to the corresponding target hosting system, the method further comprises:
acquiring first remaining money data in a current trusted account corresponding to the current trusted account type; and if the first remaining money data is smaller than the drawing data in the to-be-processed money, generating a first redemption instruction, wherein the first redemption instruction is used for instructing the target hosting system to redeem the difference funds of the first remaining money data and the drawing data in the to-be-processed money into the current trusted account number from a posting system.
Before sending the second scribing instruction to the corresponding target hosting system, the method further comprises:
accumulating all the money to be processed in the combined data to obtain target money drawing data; acquiring second remaining money data in the current trusted account corresponding to the current trusted account type; and if the second remaining money data is smaller than the target money drawing data, generating a second redemption instruction, wherein the second redemption instruction is used for instructing the target hosting system to redeem the difference funds of the second remaining money data and the target money drawing data from a pipe throwing system into the current trusted account.
In this embodiment, whether the first and second instructions are generated, it is necessary to determine whether the balance of the trusted account is sufficient, but different instructions may be generated for different processing methods, or different redemption instructions may be generated. For example, if the processing is a decentralized processing, each piece of data to be processed in each service request is subjected to pre-merging processing, that is, the data to be processed belonging to the same current trusted account type and the target trusted account type are pre-merged, so as to generate a first scribing instruction. Before generating the first money drawing instruction, overlapping money drawing data in the pre-combined data, and if the obtained first remaining money data in the current trusted account is smaller than the total money drawing data corresponding to the first money drawing instruction, generating a first redemption instruction, and indicating the target hosting system to redeem the difference funds of the first remaining money data and the money drawing data in the to-be-processed money from a pipe throwing system into the current trusted account.
And if the combined processing is performed, accumulating all the to-be-processed funds in the combined data to obtain target money drawing data, then acquiring second remaining money data in the current trusted account corresponding to the current trusted account type, and if the second remaining money data is smaller than the target money drawing data, generating a second redemption instruction to instruct the target hosting system to redeem the difference funds of the second remaining money data and the target money drawing data from a pipe throwing system into the current trusted account.
In practical applications, the service types may include member annuity transfer service, enterprise annuity plan transfer service, enterprise annuity payment service, and the like. For example, 2019.1.2 initiates a member to roll out service, i.e., service request 1, comprising: principal A participates in the original annuity plan A1, principal A1, 500 yuan of funds are transferred to annuity plan B1 at A1 trusted user, principal B1, and funds are drawn into B1 trusted user; principal B refers to the original annual gold plan A1, principal A1, 600 yuan of funds are transferred to the plan C1 at the principal A1, principal C1, and funds are drawn into the principal C1; principal C refers to the original annual gold plan A1, principal A1, the 700 yuan of funds are transferred to the plan B1 at the principal A1, the principal is safe, and the funds are drawn into the principal B1. 2019.1.3A plan transfer service, namely a service request 2, is initiated, wherein the service request 2 comprises an enterprise M original plan A1, a trustee A1, 100 ten thousand yuan of funds are transferred to a plan B1 at the trusted user A1, the trustee B1 and the funds are to be drawn into the trusted user B1. 2019.1.4 initiates a member to roll out service, service request 3 comprising: principal D participates in the original annuity plan A2, principal A1, funds 800 in A2 principal, and transfers to annuity plan A4, principal A1; principal F participates in the original annuity program A2, principal A1, the 900 yuan of funds at A2 trusted user, no receiving units and/or the new enterprise does not participate in the annuity program, at which time such personnel are unified to a particular trusted user U for administration, principal A1. 2019.1.5 initiates a payment service, namely service request 4, where service request 4 includes enterprise N participating in annuity plan A1, delegate A1, and 50 thousands to A1 delegates.
Scene one: for the four service requests, if the processing mode of the four service requests is decentralized processing:
1. 2019.1.2 generates a (500+600+700) funds redemption instruction (here, a first redemption instruction), redeems the investor's funds back to the A1 trusted user, regenerates a two stroke instruction (here, a first money instruction), and a money instruction (500+700), from A1 to B1; a scratch instruction of 600 from A1 to C1.
2. 2019.1.3 generates 100 ten thousand funds redemption instructions, redeems the investors funds back to the A1 trusted user, regenerates one stroke instruction, 100 ten thousand money transfer instructions, transfers from A1 to B1.
3. 2019.1.4 generates 800+900 funds redemption instructions, redeems investors' funds to A1 trusted users, regenerates two stroke instructions, one 800 money instruction, and transfers from A2 to A4; a scratch instruction of 900 from A2 to U.
4. 2019.1.5 generates 50 ten thousand collection instructions (or payment instructions), collects the payment to the A1 trusted user, regenerates the investment allocation instructions, and invests 50 ten thousand into the investor to make investment benefits.
Scene II: for the four service requests, if the processing mode of the four service requests is merging processing, and the category of the hosting system is the second category, namely the service type is not concerned, the service application time is not concerned, namely the service initiation date, and once-time money drawing instructions are received in each period, as long as the money drawing and account drawing account (the current trusted account) is the same, the money drawing and account drawing account (the target trusted account) is the same, namely merging money drawing processing:
1. In this example, a transaction type instruction (i.e., an investment buying instruction, or a redemption instruction) is first generated, because the funds of the current A1 trusted user are all at the investor, when a business requiring payment occurs, money needs to be redeemed from the investor to the A1 trusted user before payment is made; when the payment occurs, the A1 supported user receives the money and needs to invest the money into the investor for investment increment; when the account is checked out and the account is checked in, the rolling stock is adopted, in the example, the enterprise N pays 50 ten thousand to the A1 trusted user, A1 needs to be paid (500 yuan+700 yuan+100 ten thousand yuan) to B1, A1 needs to be paid 600 yuan to C1, the rolling stock (500 yuan+600 yuan+700 yuan+100 ten thousand yuan) -50 ten thousand is obtained, and the redemption funds carried in the redemption instructions are generated and are sent to the target escrow system.
2. Second, the trusted system automatically generates two-stroke instructions (here, a second money transfer instruction) based on the money transfer recipient account (i.e., the target trusted account)
(1) Principal A, principal C and enterprise M (including member transfer and plan transfer) generate a money transfer instruction carrying money transfer data (500 yuan +700 yuan +100 ten thousand yuan) and send the money transfer instruction to a target hosting system, and the target hosting system can integrally transfer a money from an A1 trusted user to a B1 trusted user without paying attention to the specific money which is composed of the two businesses.
(2) And generating a drawing instruction carrying 600 yuan of drawing data by the principal B, and sending the drawing instruction to a target hosting system, wherein the target hosting system draws a money from the A1 trusted user to the C1 trusted user.
3. One member of 2019.1.4 goes out of service and no longer generates redemption instructions, money transfer instructions and investment allocation instructions as the delegate is unchanged, to avoid the time consuming cycle of these operations causing a shrinkage of the capital investment. The account management billing is required to be updated in time, and the account is transferred from A2 (800 yuan) to A4 and the account is transferred from A2 (900 yuan) to U.
Scene III: for the four service requests, if the processing mode of the four service requests is merging processing, and the category of the hosting system is a first category, namely the concerned service type:
1. in this example, the trusted system first generates a transaction type instruction (i.e., an investment buy instruction, or an investment redemption instruction) because the funds of the current A1 trusted user are all at the investor, and when a business requiring payment occurs, the money needs to be redeemed from the investor to the A1 trusted user before payment is made; when the payment occurs, the A1 supported user receives the money and needs to invest the money into the investor for investment increment; when the account is checked out and the account is checked in, the rolling stock is adopted, in the example, the enterprise N pays 50 ten thousand to the A1 trusted user, A1 needs to be paid (500 yuan+700 yuan+100 ten thousand yuan) to B1, A1 needs to be paid 600 yuan to C1, the rolling stock (500 yuan+600 yuan+700 yuan+100 ten thousand yuan) -50 ten thousand is obtained, and a redemption instruction carrying redemption funds (500 yuan+600 yuan+700 yuan+50 ten thousand yuan) is generated and sent to the target hosting system.
2. Secondly, the trusted system automatically generates a three-stroke money instruction according to the service type and the money drawing receiving account:
(1) Principal a, principal C (including member transfer only), generates a transfer instruction carrying transfer data (500-element + 700-element) and sends to the target hosting system, which transfers (500-element + 700-element) from the A1 trusted to the B1 trusted.
(2) And (3) generating a 100-ten thousand-element money drawing instruction carrying money drawing data by the enterprise M (only including plan transfer) to send the money drawing instruction to the target hosting system, wherein the target hosting system can draw 100 ten thousand money from the A1 trusted user to the B1 trusted user.
(3) And transferring the principal B (only including members) to generate a money transfer instruction with money transfer data of 600 yuan, and sending the money transfer instruction to a target hosting system, wherein the target hosting system transfers a money from the A1 trusted user to the C1 trusted user.
Optionally, the present embodiment describes the data processing method in detail on the basis of the above embodiment. Wherein, the first and second money drawing instructions both contain the money to be processed; after determining that the current trusted account type and the target trusted account type are inconsistent, the method further comprises:
sending each request object and corresponding money drawing data of each request object in each service request meeting the inconsistent current trusted account type and the target trusted account type to an account management system; receiving accounting information fed back by the accounting management system;
Optionally, after the instructing the target hosting system to perform a scribing operation, the method further comprises:
receiving successful information of the money transfer fed back by the target hosting system, wherein the successful information of the money transfer comprises transaction reconciliation information;
after receiving the accounting information fed back by the accounting management system and the successful information of the money transfer fed back by the target hosting system, the method further comprises:
comparing the money to be processed, the billing information and the transaction checking information, and if the money to be processed, the billing information and the transaction checking information are consistent, sending indication information for indicating that the service request is successfully executed to the target terminal.
In this embodiment, in the data processing process, by analyzing the actual application scenario corresponding to the service request, multiple processing modes for processing the service request are provided, so that the data can be flexibly processed.
The invention avoids that the hosting system can not process the instruction because the pricing period is not reached after receiving the instruction through the adjustment of the time point of generating the instruction; the instruction generation mode is flexibly configured, so that the docking of >10 home hosting systems is met, and different scribing modes of the home hosting systems are supported; meanwhile, as the managed system is upgraded, when the operation mode is converted, the trusted system does not need to re-develop codes, so that the aims of realizing different layers of combination of instructions, reducing the number of instruction files and reducing occupied storage space can be achieved, and if an account is transferred out and an account is transferred in, the trusted system does not need to generate instructions, update accounting and avoid fund loss.
In order to implement the data processing method, the present embodiment provides a data processing apparatus. Referring to fig. 7, fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention; the data processing device 70 includes: the service request receiving module 701 is configured to receive at least one service request sent by a target terminal, where each service request carries at least one piece of data to be processed, a service type, and a service request sending time, and each piece of data to be processed includes a current trusted account type and a target trusted account type; a service request response module 702, configured to compare a current trusted account type and the target trusted account type in each piece of data to be processed in response to each piece of service request, and if the current trusted account type is inconsistent with the target trusted account type, obtain a hosting system matched with the current trusted account type and a processing manner matched with the hosting system for processing the service request, where the processing manner includes a decentralized processing and a merging processing; the first scribing instruction generation module 703 is configured to generate a first scribing instruction according to the target trusted account type, the service type, and the service request time when the processing manner is decentralized processing; the data merging module 704 is configured to, when the processing manner is merging processing, perform classification processing on each data to be processed in all the service requests that satisfy the merging processing according to the hosting system, a current trusted account type, a target trusted account type, a service type, and a service request time, so as to obtain at least one type of merged data; a second scribing instruction generation module 705, configured to generate a second scribing instruction according to the various merged data; and the indication module 706 is configured to send the first and second scribing instructions to corresponding target hosting systems, and instruct the target hosting systems to execute a scribing operation.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Optionally, the service request response module is specifically configured to: obtaining a mapping table from a preset database, wherein the mapping table stores mapping relations among the type of the trusted account, the hosting system and the processing mode; determining a target mapping relation matched with the current trusted account type from the mapping table; and determining a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the data to be processed according to the target mapping relation.
Optionally, the data merging module 704 includes: an influence factor determination unit and a classification processing unit;
the influence factor determining unit is used for determining the influence factor of the merging processing according to the hosting system corresponding to the data to be processed in each service request, wherein the influence factor is at least one of the current trusted account type, the target trusted account type, the service type and the service request time; and the classification processing unit is used for carrying out classification processing on each piece of data to be processed in all the service requests meeting the combination processing according to the influence factors to obtain at least one type of combination data.
Optionally, the influence factor determining unit is specifically configured to:
acquiring a category to which the hosting system belongs, wherein the category comprises a first category and a second category; if the class of the managed system is the first class, the influence factors of the merging process are the current trusted account type, the target trusted account type and the service request time; and if the class of the managed system is the second class, the influence factors of the merging process are the current trusted account type, the target trusted account type, the service type and the service request time.
Optionally, the classification processing unit is specifically configured to: if the influencing factors are the current trusted account type, the target trusted account type and the service request time, taking the service requests with the same current trusted account type, the same target trusted account type and the service request time in the same preset time period in all the service requests meeting the combination processing as one type of combination data; if the influencing factors are the current trusted account type, the target trusted account type, the service type and the service request time, taking the service requests with the same current trusted account type, the same service type, the same target trusted account type and the same service request time in the same preset time period in all the service requests meeting the combination processing as one type of combination data; wherein the merged data is of at least one type.
Optionally, the data to be processed further includes: treating money; the data processing apparatus further includes: a first redemption instruction processing module and a second redemption instruction processing module.
The first redemption instruction processing module is used for acquiring first remaining money data in the current trusted account corresponding to the current trusted account type before sending the first payment instruction to the corresponding target escrow system; if the first remaining money data is smaller than the drawing data in the to-be-processed money, generating a first redemption instruction, wherein the first redemption instruction is used for instructing the target hosting system to redeem the difference funds of the first remaining money data and the drawing data in the to-be-processed money into the current trusted account number from a posting system; the second redemption instruction processing module is used for accumulating all pending funds in the various combined data before sending the second redemption instruction to the corresponding target escrow system to obtain target payment data; acquiring second remaining money data in the current trusted account corresponding to the current trusted account type; and if the second remaining money data is smaller than the target money drawing data, generating a second redemption instruction, wherein the second redemption instruction is used for instructing the target hosting system to redeem the difference funds of the second remaining money data and the target money drawing data from a pipe throwing system into the current trusted account.
Optionally, the first drawing instruction and the second drawing instruction both contain the money to be processed; the apparatus further comprises: a checking module; the checking module is used for:
after the fact that the current trusted account type is inconsistent with the target trusted account type is determined, sending all request objects and corresponding money drawing data of all request objects in all service requests meeting the fact that the current trusted account type is inconsistent with the target trusted account type to an account management system; receiving accounting information fed back by the accounting management system; after the target hosting system is instructed to execute the money drawing operation, receiving money drawing success information fed back by the target hosting system, wherein the money drawing success information comprises transaction reconciliation information; comparing the money to be processed, the billing information and the transaction checking information, and if the money to be processed, the billing information and the transaction checking information are consistent, sending indication information for indicating that the service request is successfully executed to the target terminal.
In order to implement the data processing method, the present embodiment provides a data processing apparatus. Fig. 8 is a schematic structural diagram of a data processing device according to an embodiment of the present invention. As shown in fig. 8, the data processing apparatus 80 of the present embodiment includes: a processor 801 and a memory 802; wherein, the memory 802 is used for storing computer execution instructions; a processor 801 for executing computer-executable instructions stored in a memory to perform the steps performed in the above embodiments. Reference may be made in particular to the relevant description of the embodiments of the method described above.
The embodiment of the invention also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the data processing method is realized.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms. In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the invention. It should be understood that the above processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc. The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present invention are not limited to only one bus or to one type of bus. The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). It is also possible that the processor and the storage medium reside as discrete components in an electronic device or a master device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (10)

1. A method of data processing, comprising:
receiving at least one service request sent by a target terminal, wherein each service request carries at least one piece of data to be processed, a service type and a service request sending time, and each piece of data to be processed comprises a current trusted account type and a target trusted account type;
responding to each service request, comparing the current trusted account type with the target trusted account type in each piece of data to be processed, and if the current trusted account type is inconsistent with the target trusted account type, acquiring a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the service request, wherein the processing mode comprises decentralized processing and merging processing;
if the processing mode is decentralized processing, generating a first scribing instruction according to the target trusted account type, the service type and the service request time; if the processing mode is decentralized processing, merging the data to be processed of the same target trusted account type in the service request into a new piece of data to be processed; wherein, one piece of data to be processed corresponds to one scribing instruction;
If the processing mode is merging processing, classifying each data to be processed in all the service requests meeting the merging processing according to the hosting system, the current trusted account type, the target trusted account type, the service type and the service request time to obtain at least one type of merging data;
generating a second scribing instruction according to the various merging data; if the processing mode is merging processing, merging all service applications corresponding to the same hosting system, the current trusted account type, the target trusted account type, the service type and the service request time in the same time period to generate a second money drawing instruction;
and sending the first and second scribing instructions to corresponding target hosting systems, and indicating the target hosting systems to execute scribing operation.
2. The method of claim 1, wherein the obtaining a hosted system that matches the current trusted account type and a manner of processing the business request that matches the hosted system comprises:
obtaining a mapping table from a preset database, wherein the mapping table stores mapping relations among the type of the trusted account, the hosting system and the processing mode;
Determining a target mapping relation matched with the current trusted account type from the mapping table;
and determining a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the data to be processed according to the target mapping relation.
3. The method according to claim 2, wherein the classifying the data to be processed in all the service requests satisfying the merging processing according to the hosting system, the current trusted account type, the target trusted account type, the service type and the service request time to obtain at least one type of merging data includes:
determining an influence factor of the combination processing according to a hosting system corresponding to the data to be processed in each service request, wherein the influence factor is at least one of a current trusted account type, a target trusted account type, a service type and service request time;
and classifying all pieces of data to be processed in all the service requests meeting the combination processing according to the influence factors to obtain at least one type of combination data.
4. A method according to claim 3, wherein the determining, according to the hosting system corresponding to the data to be processed in each service request, an influencing factor of the merging process includes:
Acquiring a category to which the hosting system belongs, wherein the category comprises a first category and a second category;
if the class of the managed system is the first class, the influence factors of the merging process are the current trusted account type, the target trusted account type and the service request time;
and if the class of the managed system is the second class, the influence factors of the merging process are the current trusted account type, the target trusted account type, the service type and the service request time.
5. The method of claim 4, wherein the classifying each piece of the data to be processed in all the service requests satisfying the merging processing according to the influencing factors to obtain at least one type of merged data includes:
if the influencing factors are the current trusted account type, the target trusted account type and the service request time, taking the service requests with the same current trusted account type, the same target trusted account type and the service request time in the same preset time period in all the service requests meeting the combination processing as one type of combination data;
if the influencing factors are the current trusted account type, the target trusted account type, the service type and the service request time, taking the service requests with the same current trusted account type, the same service type, the same target trusted account type and the same service request time in the same preset time period in all the service requests meeting the combination processing as one type of combination data;
Wherein the merged data is of at least one type.
6. The method of claim 5, wherein the data to be processed further comprises: treating money;
before sending the first scribing instruction to the corresponding target hosting system, the method further comprises:
acquiring first remaining money data in a current trusted account corresponding to the current trusted account type;
if the first remaining money data is smaller than the drawing data in the to-be-processed money, generating a first redemption instruction, wherein the first redemption instruction is used for instructing the target hosting system to redeem the difference funds of the first remaining money data and the drawing data in the to-be-processed money into the current trusted account number from a posting system;
before sending the second scribing instruction to the corresponding target hosting system, the method further comprises:
accumulating all the money to be processed in the combined data to obtain target money drawing data;
acquiring second remaining money data in the current trusted account corresponding to the current trusted account type;
and if the second remaining money data is smaller than the target money drawing data, generating a second redemption instruction, wherein the second redemption instruction is used for instructing the target hosting system to redeem the difference funds of the second remaining money data and the target money drawing data from a pipe throwing system into the current trusted account.
7. The method of claim 6, wherein the first and second money transfer instructions each include the pending money;
after determining that the current trusted account type and the target trusted account type are inconsistent, the method further comprises:
sending each request object and corresponding money drawing data of each request object in each service request meeting the inconsistent current trusted account type and the target trusted account type to an account management system;
receiving accounting information fed back by the accounting management system;
after the instructing the target hosting system to perform a scribing operation, the method further comprises:
receiving successful information of the money transfer fed back by the target hosting system, wherein the successful information of the money transfer comprises transaction reconciliation information;
after receiving the accounting information fed back by the accounting management system and the successful information of the money transfer fed back by the target hosting system, the method further comprises:
comparing the money to be processed, the billing information and the transaction checking information, and if the money to be processed, the billing information and the transaction checking information are consistent, sending indication information for indicating that the service request is successfully executed to the target terminal.
8. A data processing apparatus, comprising:
the service request receiving module is used for receiving at least one service request sent by the target terminal, wherein each service request carries at least one piece of data to be processed, a service type and service request sending time, and each piece of data to be processed comprises a current trusted account type and a target trusted account type;
the service request response module is used for responding to each service request, comparing the current trusted account type with the target trusted account type in each piece of data to be processed, and if the current trusted account type is inconsistent with the target trusted account type, acquiring a hosting system matched with the current trusted account type and a processing mode matched with the hosting system for processing the service request, wherein the processing mode comprises decentralized processing and merging processing;
the first money drawing instruction generation module is used for generating a first money drawing instruction according to the type of the target trusted account, the service type and the service request time when the processing mode is decentralized processing; if the processing mode is decentralized processing, merging the data to be processed of the same target trusted account type in the service request into a new piece of data to be processed; wherein, one piece of data to be processed corresponds to one scribing instruction;
The data merging module is used for classifying and processing all the data to be processed in all the service requests meeting the merging processing according to the hosting system, the type of the current trusted account, the type of the target trusted account, the service type and the service request time when the processing mode is merging processing, so as to obtain at least one type of merging data;
the second money drawing instruction generation module is used for generating a second money drawing instruction according to various merged data; if the processing mode is merging processing, merging all service applications corresponding to the same hosting system, the current trusted account type, the target trusted account type, the service type and the service request time in the same time period to generate a second money drawing instruction;
the indication module is used for sending the first and second scribing instructions to the corresponding target hosting systems and indicating the target hosting systems to execute scribing operation.
9. A data processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the data processing method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which computer-executable instructions are stored which, when executed by a processor, implement the data processing method according to any one of claims 1 to 7.
CN202010450301.XA 2020-05-25 2020-05-25 Data processing method, device, equipment and storage medium Active CN111626871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010450301.XA CN111626871B (en) 2020-05-25 2020-05-25 Data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010450301.XA CN111626871B (en) 2020-05-25 2020-05-25 Data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111626871A CN111626871A (en) 2020-09-04
CN111626871B true CN111626871B (en) 2023-08-18

Family

ID=72260750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010450301.XA Active CN111626871B (en) 2020-05-25 2020-05-25 Data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111626871B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615188B1 (en) * 1999-10-14 2003-09-02 Freedom Investments, Inc. Online trade aggregating system
CN101655950A (en) * 2009-06-30 2010-02-24 阿里巴巴集团控股有限公司 Method, device and system for realizing merging payment
CN103020227A (en) * 2012-12-13 2013-04-03 中国银行股份有限公司 Data processing method and system in computer equipment
WO2016172961A1 (en) * 2015-04-30 2016-11-03 深圳市银信网银科技有限公司 Payment system based on different funds servers, and payment method, device and server therefor
CN110020846A (en) * 2019-03-18 2019-07-16 阿里巴巴集团控股有限公司 A kind of transferred account service processing method and system
CN110111209A (en) * 2019-05-05 2019-08-09 泰康保险集团股份有限公司 Pay processing method, device and the readable storage medium storing program for executing of notice business

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615188B1 (en) * 1999-10-14 2003-09-02 Freedom Investments, Inc. Online trade aggregating system
CN101655950A (en) * 2009-06-30 2010-02-24 阿里巴巴集团控股有限公司 Method, device and system for realizing merging payment
CN103020227A (en) * 2012-12-13 2013-04-03 中国银行股份有限公司 Data processing method and system in computer equipment
WO2016172961A1 (en) * 2015-04-30 2016-11-03 深圳市银信网银科技有限公司 Payment system based on different funds servers, and payment method, device and server therefor
CN110020846A (en) * 2019-03-18 2019-07-16 阿里巴巴集团控股有限公司 A kind of transferred account service processing method and system
CN110111209A (en) * 2019-05-05 2019-08-09 泰康保险集团股份有限公司 Pay processing method, device and the readable storage medium storing program for executing of notice business

Also Published As

Publication number Publication date
CN111626871A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN110599276B (en) Bill reimbursement method, device and equipment and computer storage medium
JP5522868B1 (en) Fund transfer control device and fund transfer control method
CN112529687A (en) Loan and repayment bookkeeping method and device, equipment and storage medium thereof
CN102208061A (en) Data cancel after verification processing device and method
JP2015530689A (en) System and method for providing computer automated adjustable entry
CN111639911A (en) Asset hosting instruction online processing method and device, storage medium and electronic equipment
WO2020061093A1 (en) Computer system for handling securitized token and voting contracts and distribution and voting transactions
US8027887B2 (en) Data processing method
CN111626871B (en) Data processing method, device, equipment and storage medium
Herbert et al. BITCO IN & CO: AN ONTOLOGY FOR CATEGOR ISING CRYPTOC URRENCIES
CN116523670A (en) Credential management method, device, equipment and storage medium
CN110084692A (en) A kind of bookkeeping methods and device
CN111028025B (en) Bill data processing method, device, equipment and medium based on big data
CN112085461B (en) Cross-selling-oriented commission settlement method, device and storage medium
CN115099884A (en) Billing method and system
CN114971637A (en) Risk early warning method, device, equipment and medium
CN1969293A (en) System and method for providing access to detailed payment experience
CN112258306A (en) Accounting information checking method and device, electronic equipment and storage medium
CN112099934A (en) Batch processing method, system, computer equipment and storage medium
JP5256539B2 (en) Collateral stock management system and collateral stock management method
CN115587883B (en) Cost pricing method and device
JP7371842B1 (en) Information processing device, information processing method and program
CN113988773A (en) Certificate verification method, device, server and storage medium
US20210065309A1 (en) Accounting Management Apparatus, Method and System
CN112581245A (en) Resource processing method, device and equipment

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