CN112446783B - Method and device for displaying transaction data - Google Patents

Method and device for displaying transaction data Download PDF

Info

Publication number
CN112446783B
CN112446783B CN201910801008.0A CN201910801008A CN112446783B CN 112446783 B CN112446783 B CN 112446783B CN 201910801008 A CN201910801008 A CN 201910801008A CN 112446783 B CN112446783 B CN 112446783B
Authority
CN
China
Prior art keywords
transaction data
type
transaction
stored
fund
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
CN201910801008.0A
Other languages
Chinese (zh)
Other versions
CN112446783A (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.)
Beike Technology Co Ltd
Original Assignee
Beike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201910801008.0A priority Critical patent/CN112446783B/en
Publication of CN112446783A publication Critical patent/CN112446783A/en
Application granted granted Critical
Publication of CN112446783B publication Critical patent/CN112446783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The embodiment of the invention provides a method and a device for displaying transaction data, wherein the method comprises the following steps: if a query request of the transaction fund information is detected, determining a target third party related to the transaction fund information according to the identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; and comparing the first type transaction data and the second type transaction data with pre-stored transaction data respectively, and displaying all the pre-stored transaction data if the comparison results are judged to be all consistent. The device performs the above method. The method and the device for displaying the transaction data provided by the embodiment of the invention are convenient for management and user query.

Description

Method and device for displaying transaction data
Technical Field
The invention relates to the technical field of transaction data processing, in particular to a method and a device for displaying transaction data.
Background
For the fund transaction of a target large commodity, such as a real estate transaction, when the real estate transaction is performed on a line, multiple parties are often required to participate, such as a seller, a buyer, a bank and the like. For example: the inconvenience of managing the interfaces of each business subsystem and the inconvenience of inquiring users are also the inconvenience of uniformly inquiring the detailed information of transaction data such as the whole fund transaction flow of a certain transaction contract.
Therefore, how to avoid the above-mentioned defects, effectively integrate and display the transaction data of commodity fund transaction, thereby facilitating management and user inquiry becomes a problem to be solved urgently.
Disclosure of Invention
To solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for displaying transaction data.
The embodiment of the invention provides a method for displaying transaction data, which comprises the following steps:
if a query request of transaction fund information is detected, determining a target third party related to the transaction fund information according to an identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers;
receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data;
and comparing the first type transaction data and the second type transaction data with prestored transaction data in a first type field and a second type field which are prestored in the local area respectively, and displaying all prestored transaction data if the comparison results are judged to be all consistent.
The embodiment of the invention provides a device for displaying transaction data, which comprises:
the sending unit is used for determining a target third party related to the transaction fund information according to the identification and the preset relation if the inquiry request of the transaction fund information is detected, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers;
the acquisition unit is used for receiving a response message returned by the target third party aiming at the transaction data request, analyzing the transaction data and respectively acquiring first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data;
and the display unit is used for comparing the first type transaction data and the second type transaction data with prestored transaction data in a first type field and a second type field which are prestored in the local respectively, and if the comparison results are judged to be all consistent, displaying all prestored transaction data.
An embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein,
the processor, when executing the program, implements the method steps of:
if a query request of transaction fund information is detected, determining a target third party related to the transaction fund information according to an identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers;
receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data;
and comparing the first type transaction data and the second type transaction data with prestored transaction data in a first type field and a second type field which are prestored in the local area respectively, and displaying all prestored transaction data if the comparison results are judged to be all consistent.
An embodiment of the invention provides a non-transitory computer readable storage medium having a computer program stored thereon, which when executed by a processor implements the following method steps:
if a query request of transaction fund information is detected, determining a target third party related to the transaction fund information according to an identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers;
receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data;
and comparing the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field which are pre-stored in the local, and displaying all the pre-stored transaction data if the comparison results are judged to be all consistent.
According to the method and the device for displaying transaction data, provided by the embodiment of the invention, the target third party related to the transaction fund information is determined, the transaction data returned by the target third party is analyzed to respectively obtain the first type transaction data and the second type transaction data, then the first type transaction data and the second type transaction data are respectively compared with the pre-stored transaction data stored in the local in advance, if the comparison results are all consistent, all the pre-stored transaction data are displayed, the transaction data of commodity fund transaction can be effectively integrated and displayed, and therefore, the management and the user query are facilitated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of a method for displaying transaction data according to the present invention;
FIG. 2 is a schematic diagram of an embodiment of a device for displaying transaction data according to the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Fig. 1 is a flowchart of an embodiment of a method for displaying transaction data according to the present invention, and as shown in fig. 1, the embodiment of the present invention provides a method for displaying transaction data, including the following steps:
s101: if a query request of transaction fund information is detected, determining a target third party related to the transaction fund information according to an identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers.
Specifically, if the device detects a query request of transaction fund information, a target third party related to the transaction fund information is determined according to an identifier and a preset relation, and a transaction data request aiming at the transaction fund information is sent to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers. The execution of the method may be performed in a funding platform, and the device may be embodied as the funding platform described above. The inquiring user can input the transaction contract and the fund type to which the transaction fund information to be inquired belongs on the fund platform, can input a transaction contract number and a fund type code, and the fund type can comprise initial payment, house-delivery deposit and the like. The identification may be represented in the following format: transaction contract number-fund type code, i.e. by means of which identification it can be determined to which transaction contract the transaction fund information to be queried belongs, and which fund type. The third party identifier may be a number of the service subsystem, a preset relationship, that is, a corresponding relationship between the number and the identifier of the service subsystem, that is, which service subsystem handles which transaction contracts and which fund types may be indicated. The target third party can understand that the target business subsystem for processing the transaction fund information to be inquired, the transaction data in the business subsystem is more real-time generally, and in order to enable the inquiry result to be more effective, the transaction data request is sent to the target third party by the fund platform and aims to acquire real-time and effective transaction data.
S102: receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data.
Specifically, the device receives a response message returned by the target third party for the transaction data request, and analyzes the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data. The transaction data includes data corresponding to each field, which may include, for example: the method comprises the following steps that a payer, the amount of fund circulation, the serial number of each fund change, the payment mode, the loan type, the fund escrow type and the like are distinguished, in order to ensure the stability and subsequent expandability of data and facilitate management, the data corresponding to each field are distinguished according to whether the data are related to the service type, namely, the data are distinguished into first type transaction data corresponding to a first type field which is unrelated to the service type, second type transaction data corresponding to a second type field which is related to the service type, and by referring to the example, the first type transaction data can be the payer, the amount of fund circulation, the serial number of each fund change and the payment mode, namely, the fields exist in all service subsystems; the second type transaction data can be a loan type and a fund escrow type, namely, the fields exist only in a certain business subsystem, namely, the business subsystem a processes the second type transaction data related to the loan type, and the loan type can comprise a commercial loan, a public fund loan and the like; i.e., the business subsystem b processes a second type of transaction data related to the type of funds escrow, which may include seller escrow, buyer escrow, etc.
S103: and comparing the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field which are pre-stored in the local, and displaying all the pre-stored transaction data if the comparison results are judged to be all consistent.
Specifically, the device compares the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field which are pre-stored locally, and displays all the pre-stored transaction data if the comparison results are judged to be all consistent. The method comprises the steps that real-time first-type transaction data returned by a target third party are compared with pre-stored transaction data stored in a first-type field of a fund platform in advance, real-time second-type transaction data are compared with pre-stored transaction data stored in a second-type field of the fund platform in advance, if the comparison results are consistent, the fact that the pre-stored transaction data stored in the first-type field and the pre-stored transaction data stored in the second-type field in advance in the local are updated transaction data is indicated, and the pre-stored transaction data stored in the first-type field and the pre-stored transaction data stored in the second-type field in advance in the local can be displayed on a front-end display interface of the fund platform.
According to the method for displaying transaction data provided by the embodiment of the invention, the target third party related to the transaction fund information is determined, the transaction data returned by the target third party is analyzed to respectively obtain the first type transaction data and the second type transaction data, then the first type transaction data and the second type transaction data are respectively compared with the pre-stored transaction data stored in the local in advance, if the comparison results are all consistent, all the pre-stored transaction data are displayed, the transaction data of commodity fund transaction can be effectively integrated and displayed, and therefore, the management and the user query are facilitated.
On the basis of the above embodiment, before the step of comparing the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field which are pre-stored locally, the obtaining of the pre-stored transaction data includes:
and if the pre-stored transaction data are judged and known to be stored in the local cache, directly obtaining the pre-stored transaction data from the local cache.
Specifically, if the device judges that the pre-stored transaction data is stored in the local cache, the device directly obtains the pre-stored transaction data from the local cache. Further, the prestored transaction data can be directly obtained from the local cache by adopting a redis cache technology. The redis is an open source log-type and Key-Value database which is written by using ANSI C language, supports network, can be based on memory and can also be persistent, and provides API of multiple languages. That is, as long as part of the pre-stored transaction data is stored in the local cache, the part of the pre-stored transaction data can be directly obtained from the local cache by adopting a redis cache technology.
And if judging that the pre-stored transaction data are not stored in the local cache, acquiring the pre-stored transaction data from the local database.
Specifically, if the device determines that no pre-stored transaction data is stored in the local cache, the device acquires the pre-stored transaction data from the local database. That is, when the pre-stored transaction data is obtained, the transaction data is preferentially obtained from the local cache, and if the transaction data cannot be obtained from the local cache, the transaction data is obtained from the local database.
According to the method for displaying the transaction data, which is provided by the embodiment of the invention, the pre-stored transaction data is directly acquired from the local cache, so that the efficiency of data query and display can be improved.
On the basis of the above embodiment, if it is determined that the pre-stored transaction data is stored in the local cache, directly obtaining the pre-stored transaction data from the local cache includes:
and if the fact that the pre-stored transaction data are stored in the local cache is judged and known, the pre-stored transaction data are directly obtained from the local cache by adopting a redis cache technology.
Specifically, if the device determines that the pre-stored transaction data is stored in the local cache, the device directly acquires the pre-stored transaction data from the local cache by using a redis cache technology. And are not described in detail with reference to the above description.
According to the method for displaying the transaction data, the pre-stored transaction data is directly obtained from the local cache by adopting the redis cache technology, and the efficiency of data query and display is further improved.
On the basis of the above embodiment, the method further includes:
and if the comparison results are not completely consistent, generating a prompt message.
Specifically, if the device judges that the comparison results are not completely consistent, a prompt message is generated. The prompt message for prompting the inquiry user can be generated by adopting voice, text and other modes.
And displaying confirmed transaction data according to the confirmation result aiming at the prompt message.
Specifically, the device displays the confirmed transaction data according to the confirmation result aiming at the prompt message. The inquiry user can further confirm which data comparison results are inconsistent, real-time transaction data returned by the target third party and whether the pre-stored transaction data are correct data through the prompt message, confirm the correct transaction data and display the confirmed transaction data.
The method for displaying the transaction data provided by the embodiment of the invention ensures the correctness of inquiring and displaying the transaction data by displaying the confirmed transaction data.
On the basis of the above embodiment, the pre-storing of all pre-stored transaction data includes:
receiving fund flow information pushed by all third parties; and the fund flow information carries the identification and the fund flow data.
Specifically, the device receives fund flow information pushed by all third parties; and the fund flow information carries the identification and the fund flow data. All the fund flow information pushed by the third party can be received regularly, and the specific time of the regular reception can be set autonomously according to the actual situation, for example, 24 click-through every day can be selected. Further, the fund flow information pushed by all third parties by the kafka can be received periodically. Kafka is mainly a message queue used for data migration in an enterprise, a fund platform mainly focuses on fund information of transaction contract dimensionality, kafka can guarantee stability of pushing of high data volume, meanwhile, a series of pushing disaster tolerance processing is carried out, and for external mechanisms, since central processing components cannot be shared, the fund information can be pushed through http. The fund flow information can also carry a third party identifier, and the fund flow information can be obtained by which third party to push the fund flow information. The fund flow data can be understood as the fund flow data related to the transaction contract and the fund type.
And respectively writing the fund running water data into a first type field which is corresponding to the identifier and is irrelevant to the service type and a second type field which is relevant to the service type.
Specifically, the device writes the fund flow data into a first type field which is not related to the service type and corresponds to the identifier and a second type field which is related to the service type respectively. The first type field and the second type field may refer to the above description, and are not described again. Namely, the fund flow data is stored locally in the fund platform in advance in a writing mode.
According to the method for displaying the transaction data provided by the embodiment of the invention, the fund flow data is respectively written into the first type field and the second type field, so that the transaction data of commodity fund transaction can be further effectively integrated and displayed, and management and user query are facilitated.
On the basis of the above embodiment, the receiving the fund flow information pushed by all third parties includes:
and periodically receiving the fund flow information pushed by all third parties.
Specifically, the device receives fund flow information pushed by all third parties periodically. Reference is made to the above description and no further description is made.
The method for displaying transaction data provided by the embodiment of the invention can further effectively integrate and display the transaction data of commodity fund transaction by regularly receiving fund flow information pushed by all third parties, thereby facilitating management and user inquiry.
On the basis of the above embodiment, the periodically receiving the fund flow information pushed by all third parties includes:
and periodically receiving the fund flow information pushed by all third parties by the kafka.
Specifically, the device periodically receives the capital flow information pushed by all third parties by kafka. Reference is made to the above description and no further description is made.
The method for displaying the transaction data provided by the embodiment of the invention can further effectively integrate and display the transaction data of commodity fund transaction by regularly receiving fund flow information pushed by all third parties by kafka, thereby facilitating management and user query.
More specifically, the embodiment of the present invention may be implemented in a form design manner, for example:
the Biz _ basic _ fund table records the full amount of funds information in the dimension of the trading contract, i.e. the set of all trading contracts.
The Biz _ fund _ type table records information for the various fund types in each transaction contract (including the amount of funds, the time at which funds of this type were created, etc.)
The Biz _ fund _ record records the first type transaction data corresponding to the first type field independent of the service type.
The Biz _ fund _ variable records second type transaction data corresponding to a second type field related to the service type.
For data reception, the full fund amount information may be initialized, and specifically, the method may include:
receiving fund flow information pushed by a third party through kafka, and if a transaction contract corresponding to the fund flow information exists in a fund platform, updating accounts receivable in a Biz _ basic _ fund table and finishing initializing fund full amount information;
and if the transaction contract corresponding to the fund flow information does not exist in the fund platform, establishing the transaction contract corresponding to the fund flow information, updating the receivable item in the Biz _ basic _ fund table, and finishing initializing the fund full-amount information.
Recording the fund flow information into a corresponding table, which specifically comprises the following steps:
and obtaining a base _ id according to the Biz _ base _ function table and the Biz _ function _ type table, namely obtaining which transaction contract and which fund type the fund flow information belongs to, finding the Biz _ function _ record and the Biz _ function _ variable corresponding to the transaction contract and the fund type according to the base _ id, and writing data in the fund flow information into the Biz _ function _ record and the Biz _ function _ variable respectively.
For data display, the method specifically includes:
when a query request of transaction fund information is detected, a redis cache is queried preferentially, and if a record exists in the cache, a query result is obtained from the cache; and if no record exists in the cache, obtaining the query result from the database DB.
Fig. 2 is a schematic structural diagram of an embodiment of a device for displaying transaction data according to the present invention, and as shown in fig. 2, an embodiment of the present invention provides a device for displaying transaction data, which includes a sending unit 201, an obtaining unit 202, and a display unit 203, where:
the sending unit 201 is configured to, if a query request of transaction fund information is detected, determine a target third party related to the transaction fund information according to an identifier and a preset relationship, and send a transaction data request for the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers; the obtaining unit 202 is configured to receive a response message returned by the target third party for the transaction data request, and analyze the transaction data to obtain first type transaction data corresponding to a first type field unrelated to the service type and second type transaction data corresponding to a second type field related to the service type; wherein the response message carries the transaction data; the display unit 203 is configured to compare the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field that are pre-stored locally, respectively, and if it is determined that all comparison results are consistent, display all pre-stored transaction data.
Specifically, the sending unit 201 is configured to determine, according to the identifier and the preset relationship, a target third party related to the transaction fund information if the query request of the transaction fund information is detected, and send a transaction data request for the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers; the obtaining unit 202 is configured to receive a response message returned by the target third party for the transaction data request, and analyze the transaction data to obtain first type transaction data corresponding to a first type field unrelated to the service type and second type transaction data corresponding to a second type field related to the service type; wherein the response message carries the transaction data; the display unit 203 is configured to compare the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field that are pre-stored locally, respectively, and if it is determined that all comparison results are consistent, display all pre-stored transaction data.
The device for displaying transaction data provided by the embodiment of the invention is used for respectively acquiring the first type transaction data and the second type transaction data by determining the target third party related to the transaction fund information and analyzing the transaction data returned by the target third party, then respectively comparing the first type transaction data and the second type transaction data with the pre-stored transaction data which is pre-stored in the local, and if the comparison results are all consistent, displaying all the pre-stored transaction data, so that the transaction data of commodity fund transaction can be effectively integrated and displayed, and the management and the user query are facilitated.
The device for displaying transaction data provided in the embodiment of the present invention may be specifically configured to execute the processing flow of each of the method embodiments, and the functions thereof are not described herein again, and reference may be made to the detailed description of the method embodiments.
Fig. 3 is a schematic structural diagram of an entity of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device includes: a processor (processor) 301, a memory (memory) 302, and a bus 303;
the processor 301 and the memory 302 complete communication with each other through a bus 303;
the processor 301 is configured to call program instructions in the memory 302 to perform the methods provided by the above-mentioned method embodiments, including: if a query request of the transaction fund information is detected, determining a target third party related to the transaction fund information according to the identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers; receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data; and comparing the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field which are pre-stored in the local, and displaying all the pre-stored transaction data if the comparison results are judged to be all consistent.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above method embodiments, for example, including: if a query request of transaction fund information is detected, determining a target third party related to the transaction fund information according to an identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers; receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data; and comparing the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field which are pre-stored in the local, and displaying all the pre-stored transaction data if the comparison results are judged to be all consistent.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: if a query request of the transaction fund information is detected, determining a target third party related to the transaction fund information according to the identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking the transaction contract and the fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers; receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data; and comparing the first type transaction data and the second type transaction data with prestored transaction data in a first type field and a second type field which are prestored in the local area respectively, and displaying all prestored transaction data if the comparison results are judged to be all consistent.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of displaying transaction data, comprising:
if a query request of transaction fund information is detected, determining a target third party related to the transaction fund information according to an identification and a preset relation, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking a transaction contract to which the transaction fund information belongs and a fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers;
receiving a response message returned by the target third party aiming at the transaction data request, and analyzing the transaction data to respectively obtain first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data;
and comparing the first type transaction data and the second type transaction data with prestored transaction data in a first type field and a second type field which are prestored in the local area respectively, and displaying all prestored transaction data if the comparison results are judged to be all consistent.
2. The method of claim 1, wherein prior to the step of comparing the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field pre-stored locally, respectively, the obtaining of the pre-stored transaction data comprises:
if judging that the pre-stored transaction data are stored in the local cache, directly acquiring the pre-stored transaction data from the local cache;
and if judging that the pre-stored transaction data are not stored in the local cache, acquiring the pre-stored transaction data from the local database.
3. The method for displaying transaction data according to claim 2, wherein if it is determined that the pre-stored transaction data is stored in the local cache, directly obtaining the pre-stored transaction data from the local cache comprises:
and if the pre-stored transaction data are judged and known to be stored in the local cache, the pre-stored transaction data are directly obtained from the local cache by adopting a redis cache technology.
4. The method of displaying transaction data of claim 1, further comprising:
if the comparison result is judged to be not completely consistent, a prompt message is generated;
and displaying the confirmed transaction data according to the confirmation result aiming at the prompt message.
5. The method for displaying transaction data according to any one of claims 1 to 4, wherein the pre-storing of all pre-stored transaction data comprises:
receiving fund flow information pushed by all third parties, and acquiring identifiers corresponding to the fund flow information according to third party identifiers and the preset relation; the fund flow information carries the third party identifier and the fund flow data;
and respectively writing the fund running water data into a first type field which is corresponding to the identifier and is irrelevant to the service type and a second type field which is relevant to the service type.
6. The method for displaying transaction data according to claim 5, wherein the receiving all third party pushed fund flow information comprises:
and periodically receiving the fund flow information pushed by all third parties.
7. The method for displaying transaction data according to claim 6, wherein the periodically receiving all third party pushed funds movement information comprises:
and periodically receiving the fund flow information pushed by all third parties by the kafka.
8. An apparatus for displaying transaction data, comprising:
the sending unit is used for determining a target third party related to the transaction fund information according to the identification and the preset relation if the inquiry request of the transaction fund information is detected, and sending a transaction data request aiming at the transaction fund information to the target third party; the query request carries the identifier, the identifier is used for marking a transaction contract to which the transaction fund information belongs, a fund type to which the transaction fund information belongs, and the preset relationship comprises corresponding relationships between all third party identifiers and all identifiers;
the acquisition unit is used for receiving a response message returned by the target third party aiming at the transaction data request, analyzing the transaction data and respectively acquiring first type transaction data corresponding to a first type field irrelevant to the service type and second type transaction data corresponding to a second type field relevant to the service type; wherein the response message carries the transaction data;
and the display unit is used for comparing the first type transaction data and the second type transaction data with pre-stored transaction data in a first type field and a second type field which are pre-stored in the local, and displaying all the pre-stored transaction data if the comparison results are judged to be all consistent.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the program.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910801008.0A 2019-08-28 2019-08-28 Method and device for displaying transaction data Active CN112446783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910801008.0A CN112446783B (en) 2019-08-28 2019-08-28 Method and device for displaying transaction data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910801008.0A CN112446783B (en) 2019-08-28 2019-08-28 Method and device for displaying transaction data

Publications (2)

Publication Number Publication Date
CN112446783A CN112446783A (en) 2021-03-05
CN112446783B true CN112446783B (en) 2023-02-17

Family

ID=74742059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910801008.0A Active CN112446783B (en) 2019-08-28 2019-08-28 Method and device for displaying transaction data

Country Status (1)

Country Link
CN (1) CN112446783B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1021100A (en) * 1996-06-28 1998-01-23 Nec Corp Sharing system for multi-transaction processing systems
CN104657808A (en) * 2014-08-25 2015-05-27 北京齐尔布莱特科技有限公司 System and method capable of realizing real-time inquiry and management of fund data of enterprise
CN104715416A (en) * 2013-12-17 2015-06-17 远光软件股份有限公司 Method and system for entrusted loan and trust loan business management
CN108965380A (en) * 2018-05-31 2018-12-07 平安医疗科技有限公司 Service request processing method, device, computer equipment and storage medium
CN109377198A (en) * 2018-12-24 2019-02-22 上海金融期货信息技术有限公司 A kind of signing system known together in many ways based on alliance's chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009137788A2 (en) * 2008-05-08 2009-11-12 Pramata Corporation Legal instrument management platform with transaction management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1021100A (en) * 1996-06-28 1998-01-23 Nec Corp Sharing system for multi-transaction processing systems
CN104715416A (en) * 2013-12-17 2015-06-17 远光软件股份有限公司 Method and system for entrusted loan and trust loan business management
CN104657808A (en) * 2014-08-25 2015-05-27 北京齐尔布莱特科技有限公司 System and method capable of realizing real-time inquiry and management of fund data of enterprise
CN108965380A (en) * 2018-05-31 2018-12-07 平安医疗科技有限公司 Service request processing method, device, computer equipment and storage medium
CN109377198A (en) * 2018-12-24 2019-02-22 上海金融期货信息技术有限公司 A kind of signing system known together in many ways based on alliance's chain

Also Published As

Publication number Publication date
CN112446783A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US10867356B2 (en) Simplified tax interview
US20190222540A1 (en) Automated chat assistant systems for providing interactive data using natural language processing
CN110716951B (en) Label configuration method, device and equipment convenient to configure and storage medium
US20080270303A1 (en) Method and system for detecting fraud in financial transactions
US10546348B1 (en) Cleaning noise words from transaction descriptions
US10496817B1 (en) Detecting anomalous values in small business entity data
US10417059B1 (en) Staged application programming interface
US11636078B2 (en) Personally identifiable information storage detection by searching a metadata source
CN112037026A (en) Automatic abnormal transaction work order processing method, device and system
CN111427971A (en) Business modeling method, device, system and medium for computer system
CN110942392A (en) Service data processing method, device, equipment and medium
US10733240B1 (en) Predicting contract details using an unstructured data source
WO2017132072A1 (en) Methods, systems and computer program products for calculating an estimated result of a tax return
US20160034895A1 (en) Personalized budgets for financial services
CN110705981B (en) Real-time settlement method and device
CN106663121B (en) Descriptor exchange
US11816742B2 (en) Intelligent data gathering
CN112446783B (en) Method and device for displaying transaction data
US11222026B1 (en) Platform for staging transactions
US20210304162A1 (en) Configuration of data transfer recipient
US20130318088A1 (en) Management of Class of Service
US10810640B1 (en) Automated time tracking of events in a calendar and use of the same to generate invoices
CN113344680A (en) Order processing method, related device, equipment and storage medium
CN112559320A (en) Test data construction method and device
CN109858641B (en) Exchange service processing method and system

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