CN113901101A - Data processing delay judgment method and device based on block chain - Google Patents

Data processing delay judgment method and device based on block chain Download PDF

Info

Publication number
CN113901101A
CN113901101A CN202011195202.8A CN202011195202A CN113901101A CN 113901101 A CN113901101 A CN 113901101A CN 202011195202 A CN202011195202 A CN 202011195202A CN 113901101 A CN113901101 A CN 113901101A
Authority
CN
China
Prior art keywords
record
data interaction
block chain
data
association
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.)
Withdrawn
Application number
CN202011195202.8A
Other languages
Chinese (zh)
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.)
Suzhou Loushanglou Information Technology Co Ltd
Original Assignee
Suzhou Loushanglou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Loushanglou Information Technology Co Ltd filed Critical Suzhou Loushanglou Information Technology Co Ltd
Priority to CN202011195202.8A priority Critical patent/CN113901101A/en
Publication of CN113901101A publication Critical patent/CN113901101A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Fuzzy Systems (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data processing delay judging method and device based on a block chain. Therefore, the equipment information safety detection of the second block chain equipment can be realized, and the information safety of different block chain equipment is ensured.

Description

Data processing delay judgment method and device based on block chain
Technical Field
The invention relates to the technical field of block chains and data processing, in particular to a data processing delay judgment method and device based on a block chain.
Background
The rapid development of block chains can provide a lot of convenience for the processing of data information. In practical applications, as the amount of data increases, a block chain may have a delay in running, which may affect normal processing of data. Therefore, how to detect the running delay of the block chain is a technical problem to be solved at the present stage.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and an apparatus for determining data processing delay based on a block chain.
A data processing delay judging method based on a block chain comprises the following steps:
acquiring a first data interaction record and a second data interaction record in the running process of a target block chain, wherein the first data interaction record and the second data interaction record are data interaction records corresponding to a common identification check thread in the running process of the target block chain;
acquiring a correlation record of the first data interaction record and the second data interaction record, wherein the correlation record represents a correlation index between corresponding record events between the first data interaction record and the second data interaction record;
converting the associated record into a record list, wherein the record list comprises a plurality of record events;
and determining the delay condition of the target block chain in the running process within the record statistic time period from the first data interaction record to the second data interaction record according to the event heat value of the record event in the record list.
Further, the obtaining the association record of the first data interaction record and the second data interaction record includes: determining a first data interaction path corresponding to the first data interaction record and a second data interaction path corresponding to the second data interaction record; and associating the first data interaction path with the second data interaction path to obtain the association record, wherein the association record is expressed in a form of a record track, and the record track comprises index description values corresponding to association indexes among the record events.
Further, the converting the associated record into a record list includes: acquiring the index description value in the record track corresponding to the associated record; and converting the index description value into an event heat value to obtain the record list, wherein the record list is expressed in the form of an event heat value matrix.
Further, the determining, according to the event heat value of the recording event in the recording list, a delay condition of the target block chain in the running time within the recording statistic time period between the recording of the first data interaction to the recording of the second data interaction includes: determining a maximum event heat value for the recorded event from the recording list; and in response to the maximum event heat value being smaller than a preset heat value, determining that there is a delay in the running of the target block chain within a record statistic time period between the first data interaction record and the second data interaction record.
A device for determining data processing delay based on a block chain, the device comprising:
the interactive record acquisition module is used for acquiring a first data interactive record and a second data interactive record in the running process of a target block chain, wherein the first data interactive record and the second data interactive record are data interactive records corresponding to common identification check threads of the target block chain in the running process;
the association record acquisition module is used for acquiring an association record of the first data interaction record and the second data interaction record, wherein the association record represents an association index between corresponding record events between the first data interaction record and the second data interaction record;
the system comprises an association record conversion module, a record management module and a record management module, wherein the association record conversion module is used for converting the association record into a record list, and the record list comprises a plurality of record events;
and the running delay judging module is used for determining the delay condition of the target block chain in the running process within the record counting time period from the first data interaction record to the second data interaction record according to the event heat value of the record event in the record list.
By executing the method and the device for judging the data processing delay based on the block chain, a first data interaction record and a second data interaction record in the running process of a target block chain are firstly obtained, then an association record of the first data interaction record and the second data interaction record is obtained, the association record represents an association index between corresponding record events between the first data interaction record and the second data interaction record, then the association record is converted into a record list, and finally the delay condition of the target block chain in the running process within the record statistic time period from the first data interaction record to the second data interaction record is determined according to the event heat value of the record events in the record list. Thus, the running delay of the block chain can be detected.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a block chain-based data processing delay determination method according to an embodiment of the present invention.
Fig. 2 is a functional block diagram of a block chain-based data processing delay determination apparatus according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a hardware structure of a delay detection server according to an embodiment of the present invention.
Detailed Description
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
Referring to fig. 1, a flowchart of a block chain-based data processing delay determination method is shown, which includes the following steps S110 to S140.
Step S110, acquiring a first data interaction record and a second data interaction record in the running process of a target block chain, wherein the first data interaction record and the second data interaction record are data interaction records corresponding to a common identification check thread in the running process of the target block chain;
step S120, obtaining a correlation record of the first data interaction record and the second data interaction record, wherein the correlation record represents a correlation index between corresponding record events between the first data interaction record and the second data interaction record;
step S130, converting the associated record into a record list, wherein the record list comprises a plurality of record events;
step S140, determining a delay condition of the target block chain during operation in the record statistic time period between the first data interaction record and the second data interaction record according to the event heat value of the record event in the record list.
Based on the above steps S110 to S140, first, a first data interaction record and a second data interaction record in the running process of the target block chain are obtained, then, a correlation record of the first data interaction record and the second data interaction record is obtained, the correlation record represents a correlation index between corresponding record events between the first data interaction record and the second data interaction record, then, the correlation record is converted into a record list, and finally, a delay condition during the running of the target block chain is determined in a record statistic time period between the first data interaction record and the second data interaction record according to an event heat value of the record event in the record list. Thus, the running delay of the block chain can be detected.
Further, the obtaining the association record of the first data interaction record and the second data interaction record includes: determining a first data interaction path corresponding to the first data interaction record and a second data interaction path corresponding to the second data interaction record; and associating the first data interaction path with the second data interaction path to obtain the association record, wherein the association record is expressed in a form of a record track, and the record track comprises index description values corresponding to association indexes among the record events.
Further, the converting the associated record into a record list includes: acquiring the index description value in the record track corresponding to the associated record; and converting the index description value into an event heat value to obtain the record list, wherein the record list is expressed in the form of an event heat value matrix.
Further, the determining, according to the event heat value of the recording event in the recording list, a delay condition of the target block chain in the running time within the recording statistic time period between the recording of the first data interaction to the recording of the second data interaction includes: determining a maximum event heat value for the recorded event from the recording list; and in response to the maximum event heat value being smaller than a preset heat value, determining that there is a delay in the running of the target block chain within a record statistic time period between the first data interaction record and the second data interaction record.
Referring to fig. 2, an apparatus 200 for determining a block chain-based data processing delay is provided, the apparatus comprising:
an interaction record obtaining module 210, configured to obtain a first data interaction record and a second data interaction record in an operation process of a target block chain, where the first data interaction record and the second data interaction record are data interaction records corresponding to a common identification check thread in the operation process of the target block chain;
an association record obtaining module 220, configured to obtain an association record of the first data interaction record and the second data interaction record, where the association record represents an association index between corresponding record events between the first data interaction record and the second data interaction record;
an association record conversion module 230, configured to convert the association record into a record list, where the record list includes a plurality of record events;
and an operation delay determining module 240, configured to determine, according to the event heat value of the recording event in the recording list, a delay condition when the target block chain operates in a recording statistical time period between the first data interaction record and the second data interaction record.
Referring to fig. 3, a hardware structure diagram of the delay detection server 110 is provided.
Fig. 3 is a block diagram illustrating a latency detection server 110 according to an embodiment of the present invention. In an embodiment of the present invention, a delay detection server 110 may be a server with data storage, transmission, and processing functions, as shown in fig. 3, the delay detection server 110 includes: the device comprises a memory 111, a processor 112, a network module 113 and a block chain-based data processing delay judging device 200.
The memory 111, the processor 112, and the network module 113 are electrically connected directly or indirectly to enable transmission or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 111 stores therein a device 200 for determining delay in data processing based on a block chain, the device 200 for determining delay in data processing based on a block chain includes at least one software function module that can be stored in the memory 111 in a form of software or firmware (firmware), and the processor 112 executes various function applications and data processing by running the software program and the module stored in the memory 111, for example, the device 200 for determining delay in data processing based on a block chain in the embodiment of the present invention, so as to implement the method for determining delay in data processing based on a block chain in the embodiment of the present invention.
The Memory 111 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 111 is used for storing a program, and the processor 112 executes the program after receiving the execution instruction.
The processor 112 may be an integrated circuit chip having data processing capabilities. The Processor 112 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps and logic blocks disclosed in embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The network module 113 is configured to establish a communication connection between the delay detection server 110 and other communication terminal devices through a network, so as to implement transceiving operations of network signals and data. The network signal may include a wireless signal or a wired signal.
It is to be understood that the configuration shown in fig. 3 is merely exemplary, and a latency detection server 110 may include more or fewer components than shown in fig. 3, or have a different configuration than shown in fig. 3. The components shown in fig. 3 may be implemented in hardware, software, or a combination thereof.
An embodiment of the present invention also provides a computer-readable storage medium, which includes a computer program. The computer program controls the readable storage medium to execute the following block chain-based data processing delay determination method in a delay detection server 110.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, the delay detection server 10, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, 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 above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (5)

1. A data processing delay judging method based on a block chain is characterized by comprising the following steps:
acquiring a first data interaction record and a second data interaction record in the running process of a target block chain, wherein the first data interaction record and the second data interaction record are data interaction records corresponding to a common identification check thread in the running process of the target block chain;
acquiring a correlation record of the first data interaction record and the second data interaction record, wherein the correlation record represents a correlation index between corresponding record events between the first data interaction record and the second data interaction record;
converting the associated record into a record list, wherein the record list comprises a plurality of record events;
and determining the delay condition of the target block chain in the running process within the record statistic time period from the first data interaction record to the second data interaction record according to the event heat value of the record event in the record list.
2. The method of claim 1, wherein obtaining the association record of the first data interaction record and the second data interaction record comprises: determining a first data interaction path corresponding to the first data interaction record and a second data interaction path corresponding to the second data interaction record; and associating the first data interaction path with the second data interaction path to obtain the association record, wherein the association record is expressed in a form of a record track, and the record track comprises index description values corresponding to association indexes among the record events.
3. The method of claim 2, wherein converting the associated record into a record list comprises: acquiring the index description value in the record track corresponding to the associated record; and converting the index description value into an event heat value to obtain the record list, wherein the record list is expressed in the form of an event heat value matrix.
4. The method according to any one of claims 1 to 3, wherein the determining a delay condition of the target block chain in the running process during the recording statistical time period between the recording of the first data interaction to the recording of the second data interaction according to the event heat value of the recording event in the recording list comprises: determining a maximum event heat value for the recorded event from the recording list; and in response to the maximum event heat value being smaller than a preset heat value, determining that there is a delay in the running of the target block chain within a record statistic time period between the first data interaction record and the second data interaction record.
5. A device for determining data processing delay based on a block chain, the device comprising:
the interactive record acquisition module is used for acquiring a first data interactive record and a second data interactive record in the running process of a target block chain, wherein the first data interactive record and the second data interactive record are data interactive records corresponding to common identification check threads of the target block chain in the running process;
the association record acquisition module is used for acquiring an association record of the first data interaction record and the second data interaction record, wherein the association record represents an association index between corresponding record events between the first data interaction record and the second data interaction record;
the system comprises an association record conversion module, a record management module and a record management module, wherein the association record conversion module is used for converting the association record into a record list, and the record list comprises a plurality of record events;
and the running delay judging module is used for determining the delay condition of the target block chain in the running process within the record counting time period from the first data interaction record to the second data interaction record according to the event heat value of the record event in the record list.
CN202011195202.8A 2020-10-30 2020-10-30 Data processing delay judgment method and device based on block chain Withdrawn CN113901101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011195202.8A CN113901101A (en) 2020-10-30 2020-10-30 Data processing delay judgment method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011195202.8A CN113901101A (en) 2020-10-30 2020-10-30 Data processing delay judgment method and device based on block chain

Publications (1)

Publication Number Publication Date
CN113901101A true CN113901101A (en) 2022-01-07

Family

ID=79186167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011195202.8A Withdrawn CN113901101A (en) 2020-10-30 2020-10-30 Data processing delay judgment method and device based on block chain

Country Status (1)

Country Link
CN (1) CN113901101A (en)

Similar Documents

Publication Publication Date Title
CN108540533B (en) Request answering method and device
CN109656786B (en) Log acquisition method and device
US11038587B2 (en) Method and apparatus for locating fault cause, and storage medium
CN114154990B (en) Big data anti-attack method based on online payment and storage medium
CN111459782A (en) Method and device for monitoring business system, cloud platform system and server
CN112231359A (en) Method and device for detecting working condition of cast iron equipment
CN109918221B (en) Hard disk error reporting analysis method, system, terminal and storage medium
CN114531341A (en) Block chain network parameter adjusting method and device and server
CN111159009B (en) Pressure testing method and device for log service system
CN113536360A (en) Information security processing method and device based on intelligent manufacturing and electronic equipment
CN113901101A (en) Data processing delay judgment method and device based on block chain
CN116932072A (en) Service configuration method, device, computer readable storage medium and terminal equipment
CN113568815A (en) Industrial manufacturing equipment fault diagnosis method and device based on big data and electronic equipment
CN113568957A (en) Data processing method and device based on intelligent manufacturing analysis
CN112256660B (en) Cast iron production safety monitoring method and device and server
CN113609111A (en) Big data testing method and system
CN113312671A (en) Digital business operation safety processing method and system applied to big data mining
CN113283956A (en) Online order processing method and device based on artificial intelligence
CN111629005A (en) Anti-cheating method and device, electronic equipment and storage medium
CN113568387A (en) Data processing method and device based on intelligent manufacturing and electronic equipment
CN114441873A (en) Fault detection method and device for office equipment
CN113903462A (en) Practitioner health monitoring data analysis method, device and platform
CN113569427A (en) Method and device for detecting service life of intelligent manufacturing equipment and server
CN113902139A (en) Self-service borrowing and returning machine operation and maintenance control method and device based on Internet of things and server
CN115038089B (en) Multi-terminal data monitoring and collecting method based on information extraction

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220107