CN105303430B - Transaction index acquisition method and device - Google Patents

Transaction index acquisition method and device Download PDF

Info

Publication number
CN105303430B
CN105303430B CN201510763236.5A CN201510763236A CN105303430B CN 105303430 B CN105303430 B CN 105303430B CN 201510763236 A CN201510763236 A CN 201510763236A CN 105303430 B CN105303430 B CN 105303430B
Authority
CN
China
Prior art keywords
data
transaction
index
request
index data
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
CN201510763236.5A
Other languages
Chinese (zh)
Other versions
CN105303430A (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201510763236.5A priority Critical patent/CN105303430B/en
Publication of CN105303430A publication Critical patent/CN105303430A/en
Application granted granted Critical
Publication of CN105303430B publication Critical patent/CN105303430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a transaction index acquisition method and a device, wherein the method comprises the following steps: receiving a query request of an online transaction initiated by a user, wherein the query request comprises a query condition, analyzing the query request to obtain a request object consisting of the query condition, referring to a preset field data extraction rule, extracting data of a specified field from a plurality of field data of the request object to obtain index data carried by the request object, and monitoring the running state of the online transaction to obtain running index data of the online transaction. The transaction index acquisition method does not need to record transaction indexes through a transaction log, saves log space, and does not influence the running efficiency of an online transaction program.

Description

Transaction index acquisition method and device
Technical Field
The present application relates to the field of online transaction processing technologies, and in particular, to a method and an apparatus for collecting transaction indicators.
Background
The indexes of online transactions refer to non-business data reflecting the operation conditions of online transactions, and can be divided into two types according to generation sources: when a user requests online transaction service, the type of the service is brought by a request object, and the type of the service generally reflects the service condition of a service function; another type of index data is generated during online transactions, and this type of index generally reflects the operating state of the online transaction.
The online transaction index plays an important role in an information system oriented to a service architecture, and index data is often an important information source of a monitoring and counting function of the information system, so that the online transaction index is beneficial to optimizing and improving the performance of the online transaction system and is used as an important basis for formulating an expansion plan of the information system. Currently, the collection of online transaction indicators mostly depends on the data of transaction logs. In specific implementation, the format and content of the transaction log need to be strictly specified, and then the script is used for extracting transaction index data in the online transaction log. For information systems with large transaction amount and high concurrency, the method can greatly increase the volume of the log file and influence the running efficiency of the online transaction program.
Disclosure of Invention
In view of the above, the present application provides a transaction index collection method and device, which are used to solve the problems of the existing transaction log collection method of transaction index data that the volume of log files is increased and the running efficiency of online transaction programs is reduced.
In order to achieve the above object, the following solutions are proposed:
a transaction index collection method comprises the following steps:
receiving an inquiry request of an online transaction initiated by a user, wherein the inquiry request comprises inquiry conditions;
analyzing the query request to obtain a request object consisting of the query conditions;
referring to a preset field data extraction rule, extracting data of a specified field from a plurality of field data of the request object to obtain index data carried by the request object;
and monitoring the running state of the online transaction to obtain running index data of the online transaction.
Preferably, the method further comprises the following steps:
and taking the index data carried by the request object and the operation index data as the index data of the online transaction to be written into a distributed cache.
Preferably, the method further comprises the following steps:
in the distributed cache, the number of online transactions falling within each group is counted according to the grouping mode of the specified type index data.
Preferably, the method further comprises the following steps:
and according to a preset period, storing the number of online transactions in each group of the specified type index data counted in the distributed cache into a database, and emptying the data in the distributed cache.
Preferably, the method further comprises the following steps:
receiving a transaction index query request transmitted from the outside;
and accessing the distributed cache through an API (application programming interface) interface of the distributed cache, and/or accessing the database through a Mybatis interface of the database, acquiring the data requested by the transaction index query request, and outputting and displaying the data.
A transaction index collection device comprising:
the request receiving unit is used for receiving an inquiry request of online transaction initiated by a user, wherein the inquiry request comprises an inquiry condition;
the request analysis unit is used for analyzing the query request to obtain a request object consisting of the query conditions;
the field extraction unit is used for extracting data of a specified field from the plurality of field data of the request object by referring to a preset field data extraction rule to obtain index data carried by the request object;
and the state monitoring unit is used for monitoring the running state of the online transaction to obtain running index data of the online transaction.
Preferably, the method further comprises the following steps:
and the index data caching unit is used for writing the index data carried by the request object and the operation index data into a distributed cache as the index data of the online transaction.
Preferably, the method further comprises the following steps:
and the transaction counting unit is used for counting the number of online transactions in each group according to the grouping mode of the specified type index data in the distributed cache.
Preferably, the method further comprises the following steps:
and the database storage unit is used for storing the number of online transactions in each group of the specified type index data counted in the distributed cache into the database according to a preset period and emptying the data in the distributed cache.
Preferably, the method further comprises the following steps:
the index query request receiving unit is used for receiving a transaction index query request transmitted from the outside;
and the index display unit is used for accessing the distributed cache through an API (application program interface) of the distributed cache and/or accessing the database through a Mybatis interface of the database, acquiring the data requested by the transaction index query request, and outputting and displaying the data.
According to the technical scheme, the transaction index acquisition method provided by the embodiment of the application receives the query request of the online transaction initiated by the user, wherein the query request contains the query condition, the query request is analyzed to obtain the request object consisting of the query condition, the preset field data extraction rule is referred, the data of the specified field is extracted from the field data of the request object to obtain the index data carried by the request object, and meanwhile, the running state of the online transaction is monitored to obtain the running index data of the online transaction. The transaction index acquisition method has the advantages that the fields needing to extract data in the request object are preset, the request object is obtained through analysis after the query request of the online transaction is received, the data of the specified fields are further extracted from the fields, index data carried by the request object are obtained, meanwhile, the running state of the online transaction is monitored, the running index data of the online transaction is obtained, the collection of transaction indexes is achieved, the transaction logs are not needed to record, the log space is saved, and meanwhile, the running efficiency of the online transaction program is not affected.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a transaction index collection method disclosed in an embodiment of the present application;
FIG. 2 is a flow chart of another transaction index collection method disclosed in the embodiments of the present application;
FIG. 3 is a flowchart of another transaction index collection method disclosed in the embodiments of the present application;
FIG. 4 is a flowchart of another transaction index collection method disclosed in the embodiments of the present application;
FIG. 5 is a flowchart of another transaction index collection method disclosed in the embodiments of the present application;
fig. 6 is a schematic structural diagram of a transaction index collecting device disclosed in the embodiment of the present application;
fig. 7 is a schematic structural diagram of another transaction index collection device disclosed in the embodiment of the present application;
fig. 8 is a schematic structural diagram of another transaction index collecting device disclosed in the embodiment of the present application;
fig. 9 is a schematic structural diagram of another transaction index collecting device disclosed in the embodiment of the present application;
fig. 10 is a schematic structural diagram of another transaction index collecting device disclosed in the embodiment of the present application.
Detailed Description
Before introducing the scheme of the present application, the nouns and Chinese and English words involved in the scheme are explained.
AOP: the abbreviation of Aspect organized Programming means a technology for realizing the unified maintenance of program functions by a precompilation mode and a running-time dynamic proxy facing to the section Programming. The AOP is a continuation of the OOP, is a hot spot in software development, is also an important content in a Spring framework, and is a derivative paradigm of functional programming. By utilizing the AOP, all parts of the business logic can be isolated, so that the coupling degree between all parts of the business logic is reduced, the reusability of a program is improved, and the development efficiency is improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a transaction index collection method disclosed in the embodiment of the present application.
As shown in fig. 1, the method includes:
step S100, receiving an inquiry request of an online transaction initiated by a user, wherein the inquiry request comprises an inquiry condition;
specifically, when a user initiates a query request for an online transaction, a query condition is generally specified. The query condition may be single or multiple, for example, specifying a query time range or the like.
Step S110, analyzing the query request to obtain a request object composed of the query conditions;
and analyzing the query request to obtain a request object consisting of query conditions. The request object may contain a plurality of field data, each of which may be considered a query condition.
The method and the device have the advantages that the field data extraction rule of the request object is preset, and the field name of the data to be extracted is also appointed.
Step S120, referring to a preset field data extraction rule, extracting data of a specified field from a plurality of field data of the request object to obtain index data carried by the request object;
in the step, for the request object, according to a preset field data extraction rule, data of a specified field is extracted from a plurality of field data of the request object, and index data carried by the request object is obtained.
For example, focusing on the date range of the online transaction query, the start date field may be marked with "@ QueryStartDate" and the end date field may be marked with "@ queryrendeddate", and the data in this field may be read.
Step S130, monitoring the running state of the online transaction to obtain running index data of the online transaction.
Specifically, the acquisition method of the operation index data can be defined through the AOP section, and the section function comprises monitoring the operation state of the online transaction to obtain the operation index data of the online transaction.
Online transaction performance metrics data includes, but is not limited to, the following:
an online transaction initiating channel, online transaction receiving request time, online transaction response time, an abnormal code and the like.
The transaction index acquisition method provided by the embodiment of the application receives an inquiry request of online transaction initiated by a user, wherein the inquiry request contains inquiry conditions, a request object consisting of the inquiry conditions is obtained by analyzing the inquiry request, the preset field data extraction rule is referred, data of a specified field is extracted from a plurality of field data of the request object, index data carried by the request object is obtained, and meanwhile, the running state of the online transaction is monitored, and the running index data of the online transaction is obtained. The transaction index acquisition method has the advantages that the fields needing to extract data in the request object are preset, the request object is obtained through analysis after the query request of the online transaction is received, the data of the specified fields are further extracted from the fields, index data carried by the request object are obtained, meanwhile, the running state of the online transaction is monitored, the running index data of the online transaction is obtained, the collection of transaction indexes is achieved, the transaction logs are not needed to record, the log space is saved, and meanwhile, the running efficiency of the online transaction program is not affected.
Optionally, the AOP cut-in point defines a trigger point for the acquisition of the indicator data. The online transaction implementation can be divided into a service access layer, a service logic layer and a data access layer, a trigger point of the index data is defined in the service access layer, and the index data is intercepted through the service access layer.
Referring to fig. 2, fig. 2 is a flowchart of another transaction index data collection method disclosed in the embodiment of the present application.
As shown in fig. 2, the method includes:
step S200, receiving a query request of online transaction initiated by a user, wherein the query request comprises a query condition;
specifically, when a user initiates a query request for an online transaction, a query condition is generally specified. The query condition may be single or multiple, for example, specifying a query time range or the like.
Step S210, analyzing the query request to obtain a request object composed of the query conditions;
and analyzing the query request to obtain a request object consisting of query conditions. The request object may contain a plurality of field data, each of which may be considered a query condition.
The method and the device have the advantages that the field data extraction rule of the request object is preset, and the field name of the data to be extracted is also appointed.
Step S220, referring to a preset field data extraction rule, extracting data of a specified field from a plurality of field data of the request object to obtain index data carried by the request object;
in the step, for the request object, according to a preset field data extraction rule, data of a specified field is extracted from a plurality of field data of the request object, and index data carried by the request object is obtained.
Step S230, monitoring the running state of the online transaction to obtain running index data of the online transaction;
step S240, writing the index data carried by the request object and the operation index data into a distributed cache as the index data of the online transaction.
Compared with the previous embodiment, the process of writing the collected index data of the online transaction into the distributed cache is added in the embodiment.
Further, referring to fig. 3, fig. 3 is a flowchart of another transaction index collection method disclosed in the embodiment of the present application.
As shown in fig. 3, the method includes:
step S300, receiving an inquiry request of online transaction initiated by a user, wherein the inquiry request comprises inquiry conditions;
specifically, when a user initiates a query request for an online transaction, a query condition is generally specified. The query condition may be single or multiple, for example, specifying a query time range or the like.
Step S310, analyzing the query request to obtain a request object composed of the query conditions;
and analyzing the query request to obtain a request object consisting of query conditions. The request object may contain a plurality of field data, each of which may be considered a query condition.
The method and the device have the advantages that the field data extraction rule of the request object is preset, and the field name of the data to be extracted is also appointed.
Step S320, referring to a preset field data extraction rule, extracting data of a specified field from the plurality of field data of the request object to obtain index data carried by the request object;
in the step, for the request object, according to a preset field data extraction rule, data of a specified field is extracted from a plurality of field data of the request object, and index data carried by the request object is obtained.
Step S330, monitoring the running state of the online transaction to obtain running index data of the online transaction;
step S340, in the distributed cache, according to the grouping mode of the specified type index data, counting the number of online transactions in each group.
Specifically, a plurality of counter groups are maintained in a distributed cache in a key-value pair mode, and index data of online transactions are stored in the counters.
According to different types of metric data, the counters may include, but are not limited to, the following:
online transaction response duration indicator counter group: and grouping according to the response time of the online transaction, and setting an index counter for each response time interval for counting the online transaction number in the interval. For example: [0,50), [50,100), [100,300), [300,600), [600, + ∞), each interval (unit: milliseconds) are set, one index counter is set each.
Online transaction anomaly indicator counter group: grouping according to the abnormal codes, and setting an index counter for each type of abnormality for counting the online transaction number of the abnormality.
Online transactions are invoked with a slot index counter group: and grouping according to the called time sections of the online transactions, and setting an index counter for each calling time interval for counting the number of the called online transactions in the time section. For example: [00:00,2:00), [02:00,04:00), [04:00,06:00), [06:00,08:00), [08:00,10:00), [10:00,12:00), [12:00,14:00), [14:00,16:00), [16:00,18:00), [18:00,20:00), [20:00,22:00), [22:00,24:00), an index counter is provided for each period.
Online transaction initiation channel indicator counter group: and according to the channel grouping of the initiated online transaction inquiry requests, setting an index counter for each channel, and counting the number of the transaction requests initiated by the channel.
Referring to fig. 4, fig. 4 is a flowchart of another transaction index collection method disclosed in the embodiment of the present application.
As shown in fig. 4, the method includes:
step S400, receiving a query request of online transaction initiated by a user, wherein the query request comprises a query condition;
specifically, when a user initiates a query request for an online transaction, a query condition is generally specified. The query condition may be single or multiple, for example, specifying a query time range or the like.
Step S410, analyzing the query request to obtain a request object composed of the query conditions;
and analyzing the query request to obtain a request object consisting of query conditions. The request object may contain a plurality of field data, each of which may be considered a query condition.
The method and the device have the advantages that the field data extraction rule of the request object is preset, and the field name of the data to be extracted is also appointed.
Step S420, referring to a preset field data extraction rule, extracting data of a specified field from the plurality of field data of the request object to obtain index data carried by the request object;
in the step, for the request object, according to a preset field data extraction rule, data of a specified field is extracted from a plurality of field data of the request object, and index data carried by the request object is obtained.
Step S430, monitoring the running state of the online transaction to obtain running index data of the online transaction;
step S440, in the distributed cache, according to the grouping mode of the index data of the designated type, counting the number of online transactions in each group;
and step S450, storing the online transaction quantity in each group of the specified type index data counted in the distributed cache into a database according to a preset period, and emptying the data in the distributed cache.
Compared with the previous embodiment, the live data persistence scheme is provided in this embodiment, that is, the data in the distributed cache is periodically stored in the database, so that the historical traceability of the live data and the rapidity of real-time index data query are ensured.
Referring further to fig. 5, fig. 5 is a flowchart of another transaction index collection method disclosed in the embodiment of the present application.
As shown in fig. 5, the method includes:
step S500, receiving a query request of an online transaction initiated by a user, wherein the query request comprises a query condition;
specifically, when a user initiates a query request for an online transaction, a query condition is generally specified. The query condition may be single or multiple, for example, specifying a query time range or the like.
Step S510, analyzing the query request to obtain a request object composed of the query conditions;
and analyzing the query request to obtain a request object consisting of query conditions. The request object may contain a plurality of field data, each of which may be considered a query condition.
The method and the device have the advantages that the field data extraction rule of the request object is preset, and the field name of the data to be extracted is also appointed.
Step S520, referring to a preset field data extraction rule, extracting data of a specified field from the plurality of field data of the request object to obtain index data carried by the request object;
in the step, for the request object, according to a preset field data extraction rule, data of a specified field is extracted from a plurality of field data of the request object, and index data carried by the request object is obtained.
Step S530, monitoring the running state of the online transaction to obtain running index data of the online transaction;
step S540, in the distributed cache, according to the grouping mode of the index data of the designated type, counting the number of online transactions in each group;
step S550, according to a preset period, storing the number of online transactions in each group of the specified type index data counted in the distributed cache into a database, and simultaneously emptying the data in the distributed cache;
step S560, receiving a transaction index query request transmitted from outside;
and step S570, accessing the distributed cache through an API (application program interface) interface of the distributed cache, and/or accessing the database through a Mybatis interface of the database, acquiring the data requested by the transaction index query request, and outputting and displaying the data.
In this embodiment, a user may input a query request of a transaction index, and the application accesses the distributed cache by calling an API interface of the distributed cache, or accesses the database by calling a Mybatis interface of the database, obtains transaction index data to be queried by the user from the API interface, and outputs and displays the transaction index data to the user.
The following describes the transaction index collecting device provided in the embodiment of the present application, and the transaction index collecting device described below and the transaction index collecting method described above may be referred to in a corresponding manner.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a transaction index collecting device disclosed in the embodiment of the present application.
As shown in fig. 6, the apparatus includes:
a request receiving unit 61, configured to receive an inquiry request of an online transaction initiated by a user, where the inquiry request includes an inquiry condition;
a request analysis unit 62, configured to analyze the query request to obtain a request object composed of the query conditions;
a field extracting unit 63, configured to extract data of a specified field from the multiple field data of the request object by referring to a preset field data extraction rule, so as to obtain index data carried by the request object;
and the state monitoring unit 64 is configured to monitor an operation state of the online transaction to obtain operation index data of the online transaction.
The transaction index acquisition device provided by the embodiment of the application receives an inquiry request of an online transaction initiated by a user, wherein the inquiry request contains an inquiry condition, a request object consisting of the inquiry condition is obtained by analyzing the inquiry request, a preset field data extraction rule is referred, data of a specified field is extracted from a plurality of field data of the request object, index data carried by the request object is obtained, and meanwhile, the running state of the online transaction is monitored, and the running index data of the online transaction is obtained. The transaction index acquisition method has the advantages that the fields needing to extract data in the request object are preset, the request object is obtained through analysis after the query request of the online transaction is received, the data of the specified fields are further extracted from the fields, index data carried by the request object are obtained, meanwhile, the running state of the online transaction is monitored, the running index data of the online transaction is obtained, the collection of transaction indexes is achieved, the transaction logs are not needed to record, the log space is saved, and meanwhile, the running efficiency of the online transaction program is not affected.
Optionally, the embodiment of the present application discloses another optional structure of the transaction index collecting device, and as can be seen from fig. 6 and 7, the device may further include:
and an index data caching unit 65, configured to write the index data carried by the request object and the operation index data into a distributed cache as the index data of the online transaction.
Optionally, the embodiment of the present application discloses another optional structure of the above transaction index collecting device, and as can be seen from fig. 6 and 8, the device may further include:
and the transaction counting unit 66 is used for counting the number of online transactions falling in each group according to the grouping mode of the specified type index data in the distributed cache.
Optionally, the embodiment of the present application discloses another optional structure of the transaction index collecting device, and as can be seen from fig. 8 and 9, the device may further include:
and the database storage unit 67 is configured to store the number of online transactions in each group of the specified type index data counted in the distributed cache into the database according to a preset period, and simultaneously empty the data in the distributed cache.
Optionally, the embodiment of the present application discloses another optional structure of the transaction index collecting device, and as can be seen from fig. 9 and 10, the device may further include:
an index query request receiving unit 68, configured to receive an externally transmitted transaction index query request;
and an index display unit 69, configured to access the distributed cache through an API interface of the distributed cache, and/or access the database through a Mybatis interface of the database, obtain data requested by the transaction index query request, and output and display the data.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A transaction index collection method is characterized by comprising the following steps:
receiving an inquiry request of an online transaction initiated by a user, wherein the inquiry request comprises inquiry conditions;
analyzing the query request to obtain a request object consisting of the query conditions;
referring to a preset field data extraction rule, extracting data of a specified field from a plurality of field data of the request object to obtain index data carried by the request object;
monitoring the running state of the online transaction to obtain running index data of the online transaction, and specifically comprising the following steps: defining an acquisition method of operation index data through an AOP section, wherein the section function comprises monitoring the operation state of online transaction to obtain the operation index data of the online transaction;
and taking the index data carried by the request object and the operation index data as the index data of the online transaction to be written into a distributed cache.
2. The method of claim 1, further comprising:
in the distributed cache, the number of online transactions falling within each group is counted according to the grouping mode of the specified type index data.
3. The method of claim 2, further comprising:
and according to a preset period, storing the number of online transactions in each group of the specified type index data counted in the distributed cache into a database, and emptying the data in the distributed cache.
4. The method of claim 3, further comprising:
receiving a transaction index query request transmitted from the outside;
and accessing the distributed cache through an API (application programming interface) interface of the distributed cache, and/or accessing the database through a Mybatis interface of the database, acquiring the data requested by the transaction index query request, and outputting and displaying the data.
5. A transaction index collection device, comprising:
the request receiving unit is used for receiving an inquiry request of online transaction initiated by a user, wherein the inquiry request comprises an inquiry condition;
the request analysis unit is used for analyzing the query request to obtain a request object consisting of the query conditions;
the field extraction unit is used for extracting data of a specified field from the plurality of field data of the request object by referring to a preset field data extraction rule to obtain index data carried by the request object;
the state monitoring unit is used for monitoring the running state of the online transaction to obtain running index data of the online transaction, and specifically comprises: defining an acquisition method of operation index data through an AOP section, wherein the section function comprises monitoring the operation state of online transaction to obtain the operation index data of the online transaction;
and the index data caching unit is used for writing the index data carried by the request object and the operation index data into a distributed cache as the index data of the online transaction.
6. The apparatus of claim 5, further comprising:
and the transaction counting unit is used for counting the number of online transactions in each group according to the grouping mode of the specified type index data in the distributed cache.
7. The apparatus of claim 6, further comprising:
and the database storage unit is used for storing the number of online transactions in each group of the specified type index data counted in the distributed cache into the database according to a preset period and emptying the data in the distributed cache.
8. The apparatus of claim 6, further comprising:
the index query request receiving unit is used for receiving a transaction index query request transmitted from the outside;
and the index display unit is used for accessing the distributed cache through an API (application program interface) of the distributed cache and/or accessing the database through a Mybatis interface of the database, acquiring the data requested by the transaction index query request, and outputting and displaying the data.
CN201510763236.5A 2015-11-10 2015-11-10 Transaction index acquisition method and device Active CN105303430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510763236.5A CN105303430B (en) 2015-11-10 2015-11-10 Transaction index acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510763236.5A CN105303430B (en) 2015-11-10 2015-11-10 Transaction index acquisition method and device

Publications (2)

Publication Number Publication Date
CN105303430A CN105303430A (en) 2016-02-03
CN105303430B true CN105303430B (en) 2020-08-28

Family

ID=55200660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510763236.5A Active CN105303430B (en) 2015-11-10 2015-11-10 Transaction index acquisition method and device

Country Status (1)

Country Link
CN (1) CN105303430B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095877A (en) * 2016-06-07 2016-11-09 中国建设银行股份有限公司 A kind of red packet data processing method and device
CN107038185A (en) * 2016-10-17 2017-08-11 联动优势科技有限公司 A kind of method and device of Transaction Information processing
CN106875110A (en) * 2017-02-06 2017-06-20 泰康保险集团股份有限公司 Operational indicator layered calculation method and device, distributed computing method and system
CN110196868A (en) * 2019-06-06 2019-09-03 四川新网银行股份有限公司 Based on distributed work order flow monitoring method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079172A (en) * 2007-07-20 2007-11-28 中国建设银行股份有限公司 Self-aid service system and on-line transaction method
CN103106218A (en) * 2011-11-15 2013-05-15 中国银联股份有限公司 Plug-in type online transaction processing system and plug-in type online transaction processing method
CN103514201A (en) * 2012-06-27 2014-01-15 阿里巴巴集团控股有限公司 Method and device for querying data in non-relational database
CN103839182A (en) * 2012-11-23 2014-06-04 中国银联股份有限公司 Method and system for monitoring transaction data processing of online transaction system in real time
CN104574188A (en) * 2015-01-08 2015-04-29 中国农业银行股份有限公司 Transaction service system and transaction processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317660B (en) * 2014-11-18 2017-12-12 中国建设银行股份有限公司 A kind of bank's parameter management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079172A (en) * 2007-07-20 2007-11-28 中国建设银行股份有限公司 Self-aid service system and on-line transaction method
CN103106218A (en) * 2011-11-15 2013-05-15 中国银联股份有限公司 Plug-in type online transaction processing system and plug-in type online transaction processing method
CN103514201A (en) * 2012-06-27 2014-01-15 阿里巴巴集团控股有限公司 Method and device for querying data in non-relational database
CN103839182A (en) * 2012-11-23 2014-06-04 中国银联股份有限公司 Method and system for monitoring transaction data processing of online transaction system in real time
CN104574188A (en) * 2015-01-08 2015-04-29 中国农业银行股份有限公司 Transaction service system and transaction processing method

Also Published As

Publication number Publication date
CN105303430A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN107145489B (en) Information statistics method and device for client application based on cloud platform
CN105303430B (en) Transaction index acquisition method and device
US7526670B2 (en) Method and system to monitor a diverse heterogeneous application environment
CN111274095B (en) Log data processing method, device, equipment and computer readable storage medium
CN107609913B (en) Data analysis tracking method and system
CN102999314A (en) Immediate delay tracker tool
CN108647357B (en) Data query method and device
WO2020000726A1 (en) Performance test report generating method, electronic device, and readable storage medium
CN111614483A (en) Link monitoring method and device, storage medium and computer equipment
CN110147470B (en) Cross-machine-room data comparison system and method
CN111143286A (en) Cloud platform log management method and system
CN102231673A (en) System and method for monitoring business server
CN112084249A (en) Access record extraction method and device
CN105302730A (en) Calculation model detection method, testing server and service platform
CN110941530B (en) Method, device, computer equipment and storage medium for acquiring monitoring data
CN111258819A (en) Data acquisition method, device and system for MySQL database backup file
CN111046081A (en) Access method and system for industrial time sequence data
CN113190623B (en) Data processing method, device, server and storage medium
CN112800061B (en) Data storage method, device, server and storage medium
CN110990235A (en) Performance data management method, device, equipment and medium of heterogeneous storage equipment
CN110011845B (en) Log collection method and system
CN113297245A (en) Method and device for acquiring execution information
CN116881277A (en) Data aggregation method, apparatus and computer readable medium
CN112543127A (en) Monitoring method and device of micro-service architecture
CN111784176A (en) Data processing method, device, server and medium

Legal Events

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