CN109241067A - transaction data management method and device - Google Patents

transaction data management method and device Download PDF

Info

Publication number
CN109241067A
CN109241067A CN201810956542.4A CN201810956542A CN109241067A CN 109241067 A CN109241067 A CN 109241067A CN 201810956542 A CN201810956542 A CN 201810956542A CN 109241067 A CN109241067 A CN 109241067A
Authority
CN
China
Prior art keywords
transaction data
transaction
management server
share management
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810956542.4A
Other languages
Chinese (zh)
Other versions
CN109241067B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201810956542.4A priority Critical patent/CN109241067B/en
Publication of CN109241067A publication Critical patent/CN109241067A/en
Application granted granted Critical
Publication of CN109241067B publication Critical patent/CN109241067B/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The present invention proposes a kind of transaction data management method and device, which comprises detects the trigger event for obtaining transaction data;Current transaction data is obtained to share management server according to the trigger event detected;The transaction data base being pre-created is updated using the transaction data, so that inquiring updated transaction data base, and the transaction data of corresponding transaction data inquiry request is fed back to client when the transaction data inquiry request at customer in response end.When the present invention can be realized the data such as user query remaining sum, transaction details, guard system no longer needs to inquiry share management system afterwards, promote treatment effeciency and system performance, convenient for providing complete remaining sum, transaction details data for local analytics, in addition, so that other need to simplify operation independent of share management system with remaining sum and the function of transaction details.

Description

Transaction data management method and device
Technical field
The present invention relates to computer systems technology field more particularly to a kind of transaction data management method and devices.
Background technique
Share management system is the management system of account behind product, and which stores the fund quota informations of user.For example, The share management system of the prosperous wealth behind of golden house keeper is the TA system of the big magnificent fund of safety, the share management system of Alipay Yuebao System is that the share management system of fund is expanded in the day of Yuebao behind.Since current system management of balance is there are certain deficiency, Cause to need to query the balance in user or when other transaction details data, rear guard system needs are continually obtained to share management system It takes data required for family and feeds back to client, directly affect treatment effeciency.
In existing technical solution, the system management of balance of not system of account is at least had the following deficiencies:
1, when the data such as user query remaining sum, transaction details, rear guard system needs to inquire share management system again, influences to locate Manage efficiency;
2, share management system is frequently inquired, leads to waste of resource, influences system performance;
3, it is not easy to provide complete remaining sum, transaction details data for local analytics;
4, other functions of needing to use remaining sum and transaction details need to rely on share management system, cumbersome.
To sum up, in existing technical solution, cumbersome, treatment effeciency is low, and the data of acquisition are imperfect, influences system Performance.
Summary of the invention
The present invention provides a kind of transaction data management method and corresponding device and readable storage medium storing program for executing, mainly realizes In data such as user query remaining sum, transaction details, inquiry share management system is no longer needed to, so that other are needed with remaining sum and friendship The function of easy detail needs to rely on share management system, promotes treatment effeciency.
It the computer equipment that the present invention also provides a kind of for executing transaction data management method of the invention and readable deposits Storage media.
To solve the above problems, the present invention uses the technical solution of following various aspects:
In a first aspect, the present invention provides a kind of transaction data management method, which comprises
Detect the trigger event for obtaining transaction data;
Current transaction data is obtained to share management server according to the trigger event detected;
Update the transaction data base that is pre-created using the transaction data so that the number of deals at customer in response end it is investigated that When asking request, updated transaction data base is inquired, and the transaction data of corresponding transaction data inquiry request is fed back into visitor Family end.
Specifically, the trigger event includes the transaction request that client is initiated or the pre-set acquisition friendship of arrival The triggering moment of easy data.
Specifically, described obtain corresponding transaction data, tool to the share management server according to the trigger event Body includes:
Receive the transaction request that the client is sent;
The transaction request is forwarded to the share management server so that the share management server is according to described in The notification message that transaction request executes corresponding transaction and executed to client feedback transaction;
After receiving the notification message, the corresponding number of deals of the transaction request is obtained from the share management server According to.
Specifically, described obtain corresponding transaction data, tool to the share management server according to the trigger event Body includes:
When detecting that current time meets the pre-set triggering moment, obtained to the share management server Transaction data in the corresponding period.
Preferably, further includes:
Creation transaction data base simultaneously obtains the initial value of the transaction data of each account to share management server and is stored in The transaction data base.
Specifically, the transaction data includes following any one or more:
The account information that account balance, type of transaction, transaction odd numbers, transaction amount, exchange hour, transaction are related to.
Specifically, described update the transaction data base being pre-created using the transaction data, specifically include:
It is calculated after the transaction amount of each transaction in the transaction data is merged using the transaction amount after merging The remaining sum of current account is simultaneously updated to the account balance in the transaction data base.
Second aspect, the present invention provide a kind of transaction data managing device, and described device includes:
Detection module, for detecting the trigger event for obtaining transaction data;
Module is obtained, for obtaining current number of deals to share management server according to the trigger event detected According to;
Update module, for updating the transaction data base being pre-created using the transaction data, so that customer in response When the transaction data inquiry request at end, updated transaction data base, and the friendship that transaction data inquiry request will be corresponded to are inquired Easy data feedback is to client.
The third aspect, the present invention provide a kind of computer equipment, including memory and processor, store in the memory There is computer-readable instruction, when the computer-readable instruction is executed by the processor, so that the processor executes such as the The step of transaction data management method described in any one of one side claim.
Fourth aspect, the present invention provide a kind of computer readable storage medium, wrap in the computer readable storage medium The program of transaction node configuration is included to realize when the program of the transaction node configuration is executed by processor as appointed in first aspect The step of one transaction data management method.
Compared with the existing technology, technical solution of the present invention at least has following advantage:
1, the present invention provides a kind of transaction data management method, and the trigger event of transaction data is obtained by detection;Foundation The trigger event obtains newest transaction data to the share management server;Wound in advance is updated using the transaction data The transaction data base built, so that inquiring the updated transaction data after the transaction data inquiry request at customer in response end Library, and corresponding transaction data is fed back into client.The present invention obtains data to share management system by timing and updates The transaction data base when realizing user query transaction details data, no longer needs to frequently inquire share management system, at promotion Manage efficiency;
2, the present invention can receive client send transaction request when and the share management server executed When the corresponding transaction of the transaction request to the share management server obtain the corresponding transaction data of the transaction request with Update the transaction data base.Or the present invention can meet the pre-set triggering moment detecting current time When, the transaction data in the corresponding period, which is obtained, to the share management server updates the transaction data base.Energy of the present invention Timely update the transaction data base, to safeguard the transaction data base, guarantees the accuracy for the data that user obtains.
3, the present invention can be to the share pipe when updating the transaction data base being pre-created using the transaction data Reason server is calculated currently after obtaining the transaction amount in the corresponding transaction data of the transaction request using the transaction amount The account balance of account simultaneously updates the account balance in the transaction data base;Alternatively, can be taken to the share management Business device obtains the account balance in the corresponding transaction data of the transaction request and the account balance is updated to the transaction In database.The present invention provides a variety of modes for updating the data in the transaction data base, and scheme is flexible.
To sum up, the present invention solves in the prior art, and when the data such as user query remaining sum, transaction details, rear guard system is needed Share management system is inquired again, influence treatment effeciency;Frequently inquiry share management system, leads to waste of resource, influences system Performance;It is not easy to provide complete remaining sum, transaction details data for local analytics;Other are needed with remaining sum and other transaction details numbers According to function when need to rely on share management system, it is cumbersome the problems such as.
Detailed description of the invention
Fig. 1 is a kind of embodiment flow diagram of transaction data management method of the present invention;
A kind of embodiment flow diagram of Fig. 2 transaction data managing device of the present invention;
Fig. 3 is the internal structure block diagram of computer equipment in one embodiment.
The object of the invention is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and the serial number of operation such as S11, S12 etc. be only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
It will appreciated by the skilled person that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
It will appreciated by the skilled person that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description in which the same or similar labels are throughly indicated same or similar element or has same or like function Element.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this Embodiment in invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, a kind of configuration method of transaction node provided by the present invention, wherein a kind of specific embodiment party In formula, include the following steps:
S11, trigger event for obtaining transaction data is detected.
In a kind of embodiment, application scenarios involved in transaction data management method of the present invention be comprising client, The transaction system of intermediate node and share management server.Wherein, transaction data management method of the present invention is implemented in institute Intermediate node is stated, the intermediate node can be a data management server.
Further, during obtaining the transaction data when trading and initiating, client receives the friendship of user's triggering It easily instructs to the intermediate node and submits corresponding transaction request, and the transaction request is forwarded to the share management service Device, the share management server disappear after executing corresponding transaction to the notice that the intermediate node feedback trading executes completion It ceases, sends transaction data acquisition request to the share management server after the intermediate node reception notification message.
During transaction data inquiry, client receives the transaction data inquiry instruction of user's triggering, in described Intermediate node submits transaction data inquiry request, and the intermediate node responds are pre-created in transaction data inquiry request inquiry Transaction data base and to the corresponding transaction data of client feedback.
To sum up, client, for receiving the transaction triggering command of user and corresponding transaction request being committed in described Intermediate node receives Client-initiated transaction data inquiry request;
The intermediate node, the transaction request for receiving client submission forward the friendship to the share management system The easily transaction data acquisition request of request or reception client transmission;
Share management server executes corresponding transaction or receives the friendship when for receiving the transaction request Corresponding transaction data is fed back when easy data acquisition request.
In the embodiment of the present invention, transaction data base is pre-created and obtains the number of deals of each account to share management server According to initial value and the remaining sum initial value is stored in the preset field in a preset database.The number of deals According to including following any one or more: user account ID, account balance, type of transaction, transaction odd numbers, transaction amount, transaction The account information that time, transaction are related to.
In the embodiment of the present invention, the corresponding share management system of share management server is the management system of account behind product System, for example, the share management system of the prosperous wealth of golden house keeper is the TA system of the big magnificent fund of safety, the share pipe of Alipay Yuebao Reason system is that the share management system of fund is expanded in the day of Yuebao.The corresponding base of each account is stored in the share management system Golden quota information.In a kind of embodiment, the transaction of the corresponding each transaction of each account is stored in the share management server Data.
In the embodiment of the present invention, the trigger event includes the transaction request or pre-set acquisition institute that client is initiated State the triggering moment of transaction data.For example, transaction event or preset 24 points of daily acquisitions that client is initiated are worked as Transaction data in it 24 hours.
Further, the trigger event that detection obtains transaction data can be by whether capture the transaction of client initiation Whether reach preset triggering moment at the time of requesting to realize, and judge current.
S12, current transaction data is obtained to share management server according to the trigger event detected.
In the embodiment of the present invention, the transaction request is forwarded to by the transaction request that can be sent by receiving client Share management server executes corresponding transaction and feedback trading according to the transaction request so as to the share management server The notification message executed obtains the transaction request pair to the share management server after receiving the notification message The transaction data answered.
In the embodiment of the present invention, the execution of transaction is to be completed by the share management server, and transaction request is by visitor Family end is initiated to intermediate node, therefore the intermediate node needs the transaction request being forwarded to the share management server To execute.
Specifically, the transaction request includes but is not limited to following several: being transferred to request, produce request, payment request, hair Red packet request, refund request etc..
In a kind of embodiment, the share management described in the forward direction for forwarding the transaction request to the share management server Server inquires current account balance, and by the balance updates into the transaction data base.In the embodiment, initiating to work as It to the current account balance of the share management server queries is in advance in order to ensure more than current before preceding transaction request Volume value is enough or possible current remaining sum is changed and needs first to update in advance to execute transaction again.
In another embodiment of the invention, when detecting that current time meets the pre-set triggering moment, The transaction data in the corresponding period is obtained to the share management server.Although the received friendship of share management server Easy number of requests is huge, but there is the relatively busy and idle period, therefore, can set relatively idle daily Time obtain the same day one time in transaction data.Under normal circumstances, daytime and at night 18 points to 23 points of transaction request Quantity can be significantly greater than morning.And for trade every time all more new account balances the case where, due to based on every time transaction calculate one Secondary remaining sum requires to spend certain processing time, therefore, it is opposite the share management server can be arranged in this work The idle period carries out, so as to mitigate the overall load of the share management server.For example, in scheduled 23:30 The transaction data base is updated using the transaction data of record in 30 minutes of 24:00 this relative free.
It may include following two when obtaining the transaction data to the share management server in the embodiment of the present invention Mode:
Each transaction details data traded in one, the acquisition share management server, by the transaction details Data are updated in the transaction data base after doing corresponding integration processing.
Second, the transaction data after integrating in advance in the share management server is obtained, by the transaction after the integration Data are updated in the transaction data base.
S13, the transaction data base being pre-created is updated using the transaction data, so that the number of deals at customer in response end When according to inquiry request, updated transaction data base is inquired, and the transaction data of corresponding transaction data inquiry request is fed back To client.
In the embodiment of the present invention, the mode of the transaction data is obtained corresponding to two kinds in above-mentioned steps S12, utilizes institute Stating transaction data to update the mode for the transaction data base being pre-created includes the following two kinds:
Each transaction data traded in one, the acquisition share management server, by the transaction details data It is updated in the transaction data base after doing corresponding integration processing.For example, obtaining the friendship to the share management server The account balance of current account is calculated using the transaction amount after easily requesting the transaction amount in corresponding transaction data and is incited somebody to action The account balance updates in the transaction data base.
This kind of mode, although the period for being selected in server relative free carries out, due to being still based on each number of deals According to updating the account balance, and when updating the account balance based on each transaction data and requiring to spend certain processing Between, therefore, comparatively which occupies more resource only for more new data.
For example, the transaction data obtained is as shown in table 1 below:
The transaction data table that table 1 is obtained from the share management system
The transaction amount -100 on 1 same day of User ID is updated in the account balance in the transaction data base.
In a kind of possible embodiment, the transaction data respectively traded stored in the transaction data base is as shown in table 2 below:
A kind of data structure of possible transaction data base of table 2
Transaction odd numbers User ID Exchange hour Type of transaction Transaction amount Account balance
A ID2 9:00 It is transferred to 50 500
B ID3 10:00 It produces 100 400
C ID4 11:00 It gives bonus 50 350
Secondly, obtain the transaction data after integrating in advance in the share management server, by the transaction after the integration Data are updated in the transaction data base, and the merging of the transaction data is implemented in the share management server.For example, to The share management server obtains the account balance in the corresponding transaction data of the transaction request and by the account balance It is updated in the transaction data base.
The second way, it is final only to utilize the transaction after merging due in advance being merged each transaction data The amount of money updates the transaction data in the transaction data base, that is, only having updated to the transaction data in the transaction data base Once.Obvious which, can effectively in the transaction data base transaction data renewal time, so as to improve processing effect Rate.
Further, the invention also includes the transaction data inquiry request for receiving client transmission, the number of deals is inquired Corresponding transaction data is fed back to client according to library to show, the transaction data inquiry request includes that the detailed data of transaction is looked into Ask request or inquiry into balance request.It is asked for example, user triggers inquiry into balance by the virtual key of one inquiry into balance of touch-control It asks.
Alternatively, it is automatically the corresponding transaction of oneself push that user, which wishes the intermediate node for a long time, in another embodiment Data only push transactions balances, then can be inputted by user interface when to newest transaction data oneself is pushed, such as weekly Six 8 points of mornings, namely the response time of server is specified, when reaching the response time, i.e., most to user client push New transaction data.
Referring to FIG. 2, the embodiment of the present invention also provides a kind of transaction data managing device, in a kind of the present embodiment, packet It includes detection module 11, obtain module 12, update module 13.Wherein,
Detection module 11, for detecting the trigger event for obtaining transaction data.
In a kind of embodiment, application scenarios involved in transaction data management method of the present invention be comprising client, The transaction system of intermediate node and share management server.Wherein, transaction data management method of the present invention is implemented in institute Intermediate node is stated, the intermediate node can be a data management server.
Further, during obtaining the transaction data when trading and initiating, client receives the friendship of user's triggering It easily instructs to the intermediate node and submits corresponding transaction request, and the transaction request is forwarded to the share management service Device, the share management server execute the notification message completed after corresponding transaction to intermediate node feedback trading execution Afterwards, the intermediate node sends transaction data acquisition request to the share management server.
During transaction data inquiry, client receives the transaction data inquiry instruction of user's triggering, in described Intermediate node submits transaction data inquiry request, and the intermediate node responds are pre-created in transaction data inquiry request inquiry Transaction data base and to the corresponding transaction data of client feedback.
To sum up, client, for receiving the transaction triggering command of user and corresponding transaction request being committed in described Intermediate node receives Client-initiated transaction data inquiry request;
The intermediate node, the transaction request for receiving client submission forward the friendship to the share management system The easily transaction data acquisition request of request or reception client transmission;
Share management server executes corresponding transaction or receives the friendship when for receiving the transaction request Corresponding transaction data is fed back when easy data acquisition request.
In the embodiment of the present invention, transaction data base is pre-created and obtains the number of deals of each account to share management server According to initial value and the remaining sum initial value is stored in the preset field in a preset database.The number of deals According to including following any one or more: user account ID, account balance, type of transaction, transaction odd numbers, transaction amount, transaction The account information that time, transaction are related to.
In the embodiment of the present invention, the corresponding share management system of share management server is the management system of account behind product System, for example, the share management system of the prosperous wealth of golden house keeper is the TA system of the big magnificent fund of safety, the share pipe of Alipay Yuebao Reason system is that the share management system of fund is expanded in the day of Yuebao.The corresponding base of each account is stored in the share management system Golden quota information.In a kind of embodiment, the transaction of the corresponding each transaction of each account is stored in the share management server Data.
In the embodiment of the present invention, the trigger event includes the transaction request or pre-set acquisition institute that client is initiated State the triggering moment of transaction data.For example, transaction event or preset 24 points of daily acquisitions that client is initiated are worked as Transaction data in it 24 hours.
Further, the trigger event that detection obtains transaction data can be by whether capture the transaction of client initiation Whether reach preset triggering moment at the time of requesting to realize, and judge current.
Module 12 is obtained, for obtaining current transaction to share management server according to the trigger event detected Data.
In the embodiment of the present invention, the transaction request is forwarded to by the transaction request that can be sent by receiving client Share management server executes corresponding transaction and feedback trading according to the transaction request so as to the share management server The notification message executed obtains the transaction request pair to the share management server after receiving the notification message The transaction data answered.
In the embodiment of the present invention, the execution of transaction is to be completed by the share management server, and transaction request is by visitor Family end is initiated to intermediate node, therefore the intermediate node needs the transaction request being forwarded to the share management server To execute.
Specifically, the transaction request includes but is not limited to following several: being transferred to request, produce request, payment request, hair Red packet request, refund request etc..
In a kind of embodiment, the share management described in the forward direction for forwarding the transaction request to the share management server Server inquires current account balance, and by the balance updates into the transaction data base.In the embodiment, initiating to work as It to the current account balance of the share management server queries is in advance in order to ensure more than current before preceding transaction request Volume value is enough or possible current remaining sum is changed and needs first to update in advance to execute transaction again.
In another embodiment of the invention, when detecting that current time meets the pre-set triggering moment, The transaction data in the corresponding period is obtained to the share management server.Although the received friendship of share management server Easy number of requests is huge, but there is the relatively busy and idle period, therefore, can set relatively idle daily Time obtain the same day one time in transaction data.Under normal circumstances, daytime and at night 18 points to 23 points of transaction request Quantity can be significantly greater than morning.And for trade every time all more new account balances the case where, due to based on every time transaction calculate one Secondary remaining sum requires to spend certain processing time, therefore, it is opposite the share management server can be arranged in this work The idle period carries out, so as to mitigate the overall load of the share management server.For example, in scheduled 23:30 The transaction data base is updated using the transaction data of record in 30 minutes of 24:00 this relative free.
It may include following two when obtaining the transaction data to the share management server in the embodiment of the present invention Mode:
Each transaction details data traded in one, the acquisition share management server, by the transaction details Data are updated in the transaction data base after doing corresponding integration processing.
Second, the transaction data after integrating in advance in the share management server is obtained, by the transaction after the integration Data are updated in the transaction data base.
Update module 13, for updating the transaction data base being pre-created using the transaction data, so that response visitor When the transaction data inquiry request at family end, updated transaction data base is inquired, and transaction data inquiry request will be corresponded to Transaction data feeds back to client.
In the embodiment of the present invention, the mode of the transaction data is obtained corresponding to two kinds in above-mentioned steps S12, utilizes institute Stating transaction data to update the mode for the transaction data base being pre-created includes the following two kinds:
Each transaction data traded in one, the acquisition share management server, by the transaction details data It is updated in the transaction data base after doing corresponding integration processing.For example, obtaining the friendship to the share management server The account balance of current account is calculated using the transaction amount after easily requesting the transaction amount in corresponding transaction data and is incited somebody to action The account balance updates in the transaction data base.
This kind of mode, although the period for being selected in server relative free carries out, due to being still based on each number of deals According to updating the account balance, and when updating the account balance based on each transaction data and requiring to spend certain processing Between, therefore, comparatively which occupies more resource only for more new data.
For example, the transaction data obtained is as shown in table 1 below:
The transaction data table that table 1 is obtained from the share management system
The transaction amount -100 on 1 same day of User ID is updated in the account balance in the transaction data base.
In a kind of possible embodiment, the transaction data respectively traded stored in the transaction data base is as shown in table 2 below:
A kind of data structure of possible transaction data base of table 2
Transaction odd numbers User ID Exchange hour Type of transaction Transaction amount Account balance
A ID2 9:00 It is transferred to 50 500
B ID3 10:00 It produces 100 400
C ID4 11:00 It gives bonus 50 350
Secondly, obtain the transaction data after integrating in advance in the share management server, by the transaction after the integration Data are updated in the transaction data base, and the merging of the transaction data is implemented in the share management server.For example, to The share management server obtains the account balance in the corresponding transaction data of the transaction request and by the account balance It is updated in the transaction data base.
The second way, it is final only to utilize the transaction after merging due in advance being merged each transaction data The amount of money updates the transaction data in the transaction data base, that is, only having updated to the transaction data in the transaction data base Once.Obvious which, can effectively in the transaction data base transaction data renewal time, so as to improve processing effect Rate.
Further, the invention also includes the transaction data inquiry request for receiving client transmission, the number of deals is inquired Corresponding transaction data is fed back to client according to library to show, the transaction data inquiry request includes that the detailed data of transaction is looked into Ask request or inquiry into balance request.It is asked for example, user triggers inquiry into balance by the virtual key of one inquiry into balance of touch-control It asks.
Alternatively, it is automatically the corresponding transaction of oneself push that user, which wishes the intermediate node for a long time, in another embodiment Data only push transactions balances, then can be inputted by user interface when to newest transaction data oneself is pushed, such as weekly Six 8 points of mornings, namely the response time of server is specified, it is when reaching the response time, i.e., newest to client push Transaction data.
In one embodiment, the invention also provides a kind of computer equipment, the computer equipment include memory, Processor and it is stored in the computer program that can be run on the memory and on the processor, the processor executes institute The trigger event that detection obtains transaction data is performed the steps of when stating computer program;According to the trigger event to described Share management server obtains newest transaction data;The transaction data base being pre-created is updated using the transaction data, with So that inquire the updated transaction data base after the transaction data inquiry request at customer in response end, and by corresponding friendship Easy data feedback is to client.
In one embodiment, following steps are also executed when processor executes computer-readable instruction: creation transaction data Library simultaneously obtains the initial value of the transaction data of each account to share management server and is stored in the transaction data base.
Referring to FIG. 3, Fig. 3 is the schematic diagram of internal structure of computer equipment in one embodiment.As shown in figure 3, the meter Calculating machine equipment includes processor 1, storage medium 2, memory 3 and the network interface 4 connected by system bus.Wherein, the meter The storage medium 2 for calculating machine equipment is stored with operating system, database and computer-readable instruction, can be stored with control in database Information sequence may make processor 1 to realize a kind of transaction data manager when the computer-readable instruction is executed by processor 1 Method, processor 1 is able to achieve detection module in one of embodiment illustrated in fig. 2 transaction data managing device, obtain module and The function of update module.The processor 1 of the computer equipment supports entire computer equipment for providing calculating and control ability Operation.It can be stored with computer-readable instruction in the memory 3 of the computer equipment, the computer-readable instruction is by processor When 1 execution, processor 1 may make to execute a kind of transaction data management method.The network interface 4 of the computer equipment is used for and end Hold connection communication.It will be understood by those skilled in the art that structure shown in Fig. 3, only portion relevant to application scheme The block diagram of separation structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer Equipment may include perhaps combining certain components or with different component cloth than more or fewer components as shown in the figure It sets.
In addition, the invention also provides a kind of storage medium for being stored with computer-readable instruction, the computer-readable finger When order is executed by one or more processors, so that one or more processors execute following steps: detection obtains transaction data Trigger event;Newest transaction data is obtained to the share management server according to the trigger event;Utilize the friendship Easy data update the transaction data base being pre-created, so that inquiring update after the transaction data inquiry request at customer in response end The transaction data base afterwards, and corresponding transaction data is fed back into client.One or more processors are able to achieve Fig. 2 The function of the detection module in transaction data managing device, acquisition module and update module in illustrated embodiment.
In one embodiment, following steps are also executed when processor executes computer-readable instruction: creation transaction data Library simultaneously obtains the initial value of the transaction data of each account to share management server and is stored in the transaction data base.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note Recall body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of transaction data management method, which is characterized in that the described method includes:
Detect the trigger event for obtaining transaction data;
Current transaction data is obtained to share management server according to the trigger event detected;
The transaction data base being pre-created is updated using the transaction data, so that the transaction data inquiry at customer in response end is asked When asking, updated transaction data base is inquired, and the transaction data of corresponding transaction data inquiry request is fed back into client.
2. transaction data management method according to claim 1, which is characterized in that the trigger event includes client hair The pre-set triggering moment for obtaining the transaction data of transaction request or arrival risen.
3. transaction data management method according to claim 2, which is characterized in that it is described according to the trigger event to institute It states share management server and obtains corresponding transaction data, specifically include:
Receive the transaction request that the client is sent;
The transaction request is forwarded to the share management server so that the share management server is according to the transaction The notification message that request executes corresponding transaction and executed to client feedback transaction;
After receiving the notification message, the corresponding transaction data of the transaction request is obtained from the share management server.
4. transaction data management method according to claim 2, which is characterized in that it is described according to the trigger event to institute It states share management server and obtains corresponding transaction data, specifically include:
When detecting that current time meets the pre-set triggering moment, obtains and correspond to the share management server Transaction data in period.
5. transaction data management method according to claim 1, which is characterized in that further include:
Creation transaction data base simultaneously obtains the initial value of the transaction data of each account to share management server and is stored in described Transaction data base.
6. transaction data management method according to claim 1, which is characterized in that the transaction data includes following any It is one or more:
The account information that account balance, type of transaction, transaction odd numbers, transaction amount, exchange hour, transaction are related to.
7. transaction data management method according to claim 6, which is characterized in that described to be updated using the transaction data The transaction data base being pre-created, specifically includes:
The transaction amount after merging is utilized to calculate after the transaction amount of each transaction in the transaction data is merged current Account remaining sum and be updated to the account balance in the transaction data base.
8. a kind of transaction data managing device, which is characterized in that described device includes:
Detection module, for detecting the trigger event for obtaining transaction data;
Module is obtained, for obtaining current transaction data to share management server according to the trigger event detected;
Update module, for updating the transaction data base being pre-created using the transaction data, so that customer in response end When transaction data inquiry request, updated transaction data base, and the number of deals that transaction data inquiry request will be corresponded to are inquired According to feeding back to client.
9. a kind of computer equipment, which is characterized in that including memory and processor, being stored with computer in the memory can Reading instruction, when the computer-readable instruction is executed by the processor, so that the processor executes such as claim 1 to 7 Any one of transaction data management method described in claim the step of.
10. a kind of computer readable storage medium, which is characterized in that include transaction node in the computer readable storage medium When the program of the program of configuration, the transaction node configuration is executed by processor, realize such as any one of claims 1 to 7 institute The step of stating transaction data management method.
CN201810956542.4A 2018-08-21 2018-08-21 Transaction data management method and device Active CN109241067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810956542.4A CN109241067B (en) 2018-08-21 2018-08-21 Transaction data management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810956542.4A CN109241067B (en) 2018-08-21 2018-08-21 Transaction data management method and device

Publications (2)

Publication Number Publication Date
CN109241067A true CN109241067A (en) 2019-01-18
CN109241067B CN109241067B (en) 2023-08-22

Family

ID=65071045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810956542.4A Active CN109241067B (en) 2018-08-21 2018-08-21 Transaction data management method and device

Country Status (1)

Country Link
CN (1) CN109241067B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110135984A (en) * 2019-04-04 2019-08-16 深圳壹账通智能科技有限公司 Exchange management method, device, computer equipment and storage medium
CN110309185A (en) * 2019-05-24 2019-10-08 平安银行股份有限公司 Data query method, system, computer equipment and storage medium
CN110321364A (en) * 2019-05-24 2019-10-11 平安银行股份有限公司 Transaction data querying method, device and the terminal of credit card management system
CN110580623A (en) * 2019-08-02 2019-12-17 浙江融易区块链科技有限公司 method for self-establishing account system
CN111179090A (en) * 2020-01-02 2020-05-19 中国银行股份有限公司 Transaction data processing method, device and equipment
CN113476853A (en) * 2021-07-26 2021-10-08 北京达佳互联信息技术有限公司 Data processing method and device for interactive tasks, electronic equipment and storage medium
CN113570442A (en) * 2020-12-16 2021-10-29 上海堉古网络科技有限公司 Financial management system, method, terminal and payment method for agricultural product transaction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040002807A (en) * 2003-07-12 2004-01-07 주식회사 조흥은행 System for managing account aggregation being used in transaction of bank and method therefor
US20060047593A1 (en) * 2004-09-01 2006-03-02 Ubs Financial Services Inc. Method and system for funds management
WO2011100076A1 (en) * 2010-02-11 2011-08-18 Alibaba Group Holding Limited Method and system for e-commerce transaction data accounting
US20110218872A1 (en) * 2010-03-02 2011-09-08 Shopkeep Llc System and Method for Remote Management of Sale Transaction Data
JP2017167843A (en) * 2016-03-16 2017-09-21 株式会社日立製作所 Transaction detail management system and transaction detail management method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040002807A (en) * 2003-07-12 2004-01-07 주식회사 조흥은행 System for managing account aggregation being used in transaction of bank and method therefor
US20060047593A1 (en) * 2004-09-01 2006-03-02 Ubs Financial Services Inc. Method and system for funds management
WO2011100076A1 (en) * 2010-02-11 2011-08-18 Alibaba Group Holding Limited Method and system for e-commerce transaction data accounting
US20110218872A1 (en) * 2010-03-02 2011-09-08 Shopkeep Llc System and Method for Remote Management of Sale Transaction Data
JP2017167843A (en) * 2016-03-16 2017-09-21 株式会社日立製作所 Transaction detail management system and transaction detail management method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110135984A (en) * 2019-04-04 2019-08-16 深圳壹账通智能科技有限公司 Exchange management method, device, computer equipment and storage medium
CN110309185A (en) * 2019-05-24 2019-10-08 平安银行股份有限公司 Data query method, system, computer equipment and storage medium
CN110321364A (en) * 2019-05-24 2019-10-11 平安银行股份有限公司 Transaction data querying method, device and the terminal of credit card management system
CN110321364B (en) * 2019-05-24 2023-07-25 平安银行股份有限公司 Transaction data query method, device and terminal of credit card management system
CN110580623A (en) * 2019-08-02 2019-12-17 浙江融易区块链科技有限公司 method for self-establishing account system
CN111179090A (en) * 2020-01-02 2020-05-19 中国银行股份有限公司 Transaction data processing method, device and equipment
CN111179090B (en) * 2020-01-02 2024-04-19 中国银行股份有限公司 Transaction data processing method, device and equipment
CN113570442A (en) * 2020-12-16 2021-10-29 上海堉古网络科技有限公司 Financial management system, method, terminal and payment method for agricultural product transaction
CN113476853A (en) * 2021-07-26 2021-10-08 北京达佳互联信息技术有限公司 Data processing method and device for interactive tasks, electronic equipment and storage medium
CN113476853B (en) * 2021-07-26 2023-10-03 北京达佳互联信息技术有限公司 Data processing method and device for interactive task, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109241067B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN109241067A (en) transaction data management method and device
CN108520307A (en) Data processing method and relevant apparatus
CN109783512A (en) Data processing method, device, computer equipment and storage medium
CN106022706A (en) Holographic presentation system of E-contract main body and correlation execution process information
CN111026769B (en) Working method of dual-core front-end system and related equipment thereof
CN112669157A (en) Transaction method, device and system based on block chain and readable storage medium
CN104580428B (en) A kind of data routing method, data administrator and distributed memory system
WO2017205024A1 (en) System and method for account security
CN106250501A (en) Report processing method and reporting system
CN113342863A (en) Business document processing method and device, computer equipment and storage medium
CN108629582A (en) Method for processing business and device
CN111028074A (en) Overdue bill updating and inquiring method, system, server and storage medium
CN114363179B (en) Cost optimization method and device for cloud product
WO2019232952A1 (en) List clearing method, system, computer device, and storage medium
CN114493598A (en) Computing resource management method, device, computer equipment and storage medium
CN112035681B (en) Method and device for determining credit card rate information based on knowledge graph
CN107609942A (en) A kind of processing method and processing device of business datum
CN113344680A (en) Order processing method, related device, equipment and storage medium
CN113177843A (en) Cross-bank loan service processing method and device based on block chain
CN110363515B (en) Rights and interests card account information inquiry method, system, server and readable storage medium
US20170185976A1 (en) Methods, systems, and computer readable media for an electronic infrastructure for a rotating savings and credit association
CN105095248B (en) A kind of data base cluster system and its restoration methods, management node
CN115271835A (en) Invoice generation method and device, electronic equipment and storage medium
CN112669160A (en) Data processing method and device, electronic equipment and storage medium
CN111415263A (en) Data matching method and device

Legal Events

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