CN111444223A - Double-cache method, device, equipment and storage medium based on asynchronous decorator - Google Patents

Double-cache method, device, equipment and storage medium based on asynchronous decorator Download PDF

Info

Publication number
CN111444223A
CN111444223A CN202010164811.0A CN202010164811A CN111444223A CN 111444223 A CN111444223 A CN 111444223A CN 202010164811 A CN202010164811 A CN 202010164811A CN 111444223 A CN111444223 A CN 111444223A
Authority
CN
China
Prior art keywords
target data
decorator
data
asynchronous
target
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.)
Pending
Application number
CN202010164811.0A
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.)
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 CN202010164811.0A priority Critical patent/CN111444223A/en
Publication of CN111444223A publication Critical patent/CN111444223A/en
Pending 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/2455Query execution
    • G06F16/24552Database cache management
    • 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/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Landscapes

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

Abstract

The invention relates to the technical field of cloud, and discloses a double-cache method, a double-cache device, double-cache equipment and a double-cache storage medium based on an asynchronous decorator, which are used for extracting cache data through the asynchronous decorator and improving cache efficiency. The method comprises the following steps: acquiring a data extraction instruction, and generating a target task layer asynchronous decorator according to the data extraction instruction; acquiring a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule; acquiring first target data in a first cache space through a target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator; if the first target data is null, acquiring second target data in a second cache space, and judging whether the second target data is null or not; and if the second target data is null, acquiring the target data in the database according to the second target data key value pair, and sending the target data to the preset terminal.

Description

Double-cache method, device, equipment and storage medium based on asynchronous decorator
Technical Field
The invention relates to the technical field of cloud, in particular to a double-cache method, a double-cache device, double-cache equipment and a storage medium based on an asynchronous decorator.
Background
With the development of technology, caching has become a technology widely used in computers to improve performance. In the context of Web applications, caching is used to retain pages or data between Http requests and use them multiple times without the need for new creation. The purpose is as follows: application processing time and resources are saved.
Tornado is an open source version of a Web server and a common tool thereof, Tornado is obviously different from the current mainstream Web server framework, Tornado is a non-blocking server and has a relatively high speed, and Tornado can process thousands of connections per second based on the asynchronous function of Tornado, so Tornado is an ideal framework of real-time Web service.
However, the asynchronous calling function relates to concepts such as asynchrony, corotation, concurrency, non-blocking and the like, development requirements are improved, the Tornado framework is used for caching and calling abnormal trouble from the data layer, even no cache corresponding to the task layer exists, and the efficiency of caching data through the cache mechanism is low.
Disclosure of Invention
The invention provides a double-cache method, a double-cache device, double-cache equipment and a double-cache storage medium based on an asynchronous decorator, which are used for constructing the asynchronous decorator on a task layer and a data layer, extracting cache data through the asynchronous decorator, solving the problem that calling target data from the data layer is complicated, and improving the cache efficiency.
The first aspect of the embodiments of the present invention provides a double-cache method based on an asynchronous decorator, including: acquiring a data extraction instruction, and generating a target task layer asynchronous decorator according to the data extraction instruction; acquiring a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, wherein the first target data key value pair is composed of a parent identification and a subclass identification, and the parent identification and the subclass identification are extracted according to the data extraction instruction; acquiring first target data in a first cache space through the target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair; if the first target data is null, forwarding the data extraction instruction to a preset data layer to obtain a second target data key value pair, obtaining second target data in a second cache space, and judging whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair; and if the second target data is a null value, forwarding the second target data key value pair to a database, acquiring target data in the database according to the second target data key value pair, and sending the target data to a preset terminal.
Optionally, in a first implementation manner of the first aspect of the embodiment of the present invention, the obtaining a data extraction instruction, and generating a target task layer asynchronous decorator according to the data extraction instruction includes: constructing a synchronous decorator on a preset task layer according to the data extraction instruction to obtain a task layer synchronous decorator; constructing an asynchronous decorator on the preset task layer based on the task layer synchronous decorator to obtain an initial task layer asynchronous decorator; and processing the initial task layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain a target task layer asynchronous decorator.
Optionally, in a second implementation manner of the first aspect of the embodiment of the present invention, if the first target data is null, the forwarding the data extraction instruction to a preset data layer to obtain a second target data key value pair, obtaining second target data in a second cache space, and determining whether the second target data is null, where the second target data is data corresponding to the second target data key value pair includes: acquiring a target data layer asynchronous decorator according to the data extraction instruction; obtaining a second target data key value pair through the target data layer asynchronous decorator, the data extraction instruction and a preset construction rule; acquiring parent data corresponding to the parent identification in the second cache space according to the second target data key value pair; obtaining sub-class data corresponding to the sub-class identification in the second cache space according to the second target data key value pair; and synthesizing the parent data and the child data to obtain second target data, and judging whether the second target data is a null value or not through the target data layer asynchronous decorator.
Optionally, in a third implementation manner of the first aspect of the embodiment of the present invention, the obtaining, by the data extraction instruction, the target data layer asynchronous decorator includes: constructing a synchronous decorator on a preset data layer according to the data extraction instruction to obtain a data layer synchronous decorator; constructing an asynchronous decorator based on the data layer synchronous decorator to obtain an initial data layer asynchronous decorator; and processing the initial data layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain a target data layer asynchronous decorator.
Optionally, in a fourth implementation manner of the first aspect of the embodiment of the present invention, if the second target data is a null value, forwarding the second target data key value pair to a database, obtaining the target data in the database according to the second target data key value pair, and sending the target data to a preset terminal includes: determining first transition target data in a database through the second target data key-value pair; setting the first transition target data in a second cache space through the target data layer asynchronous decorator to obtain second transition target data; setting the second target transition data in the first cache space through the target task layer asynchronous decorator to obtain third transition target data; and determining the third transition target data as target data, and sending the target data to a preset front end.
Optionally, in a fifth implementation manner of the first aspect of the embodiment of the present invention, the obtaining, according to the target task layer asynchronous decorator and a preset construction rule, a first target data key value pair, where the first target data key value pair is composed of a parent identifier and a child identifier, and the extracting, according to the data extraction instruction, of the parent identifier and the child identifier includes: acquiring a parent identification and a child identification according to the target task layer asynchronous decorator and the data extraction instruction; and performing key value pair construction on the parent identification and the child identification according to the preset construction rule and the asynchronous decorator to obtain a first target data key value pair.
Optionally, in a sixth implementation manner of the first aspect of the embodiment of the present invention, the obtaining, by the target task layer asynchronous decorator, first target data in a first cache space, and determining, by the target task layer asynchronous decorator, whether the first target data is a null value, where the first target data is data corresponding to a key value pair of the first target data further includes: and if the first target data is not a null value, determining that the first target data is the target data, and sending the target data to a preset front end.
A second aspect of the embodiments of the present invention provides a double-buffer device based on an asynchronous decorator, including: the generating unit is used for acquiring a data extraction instruction and generating a target task layer asynchronous decorator according to the data extraction instruction; a first obtaining unit, configured to obtain a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, where the first target data key value pair is composed of a parent identifier and a child identifier, and the parent identifier and the child identifier are extracted according to the data extraction instruction; the first processing unit is used for acquiring first target data in a first cache space through the target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair; the second processing unit is used for forwarding the data extraction instruction to a preset data layer to acquire a second target data key value pair if the first target data is null, acquiring second target data in a second cache space, and judging whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair; and the second obtaining unit is used for forwarding the second target data key value pair to a database if the second target data is a null value, obtaining the target data in the database according to the second target data key value pair, and sending the target data to a preset terminal.
Optionally, in a first implementation manner of the second aspect of the embodiment of the present invention, the generating unit is specifically configured to: constructing a synchronous decorator on a preset task layer according to the data extraction instruction to obtain a task layer synchronous decorator; constructing an asynchronous decorator on the preset task layer based on the task layer synchronous decorator to obtain an initial task layer asynchronous decorator; and processing the initial task layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain a target task layer asynchronous decorator.
Optionally, in a second implementation manner of the second aspect of the embodiment of the present invention, the first processing unit specifically includes: the first acquisition module is used for acquiring the target data layer asynchronous decorator through the data extraction instruction; the second acquisition module is used for acquiring a second target data key value pair through the target data layer asynchronous decorator, the data extraction instruction and a preset construction rule; a third obtaining module, configured to obtain, according to the second target data key value pair, parent data corresponding to the parent identifier in the second cache space; a fourth obtaining module, configured to obtain, according to the second target data key value pair, sub-class data corresponding to the sub-class identifier in the second cache space; and the data synthesis and judgment module is used for synthesizing the parent data and the child data to obtain second target data, and judging whether the second target data is a null value or not through the target data layer asynchronous decorator.
Optionally, in a third implementation manner of the second aspect of the embodiment of the present invention, the first obtaining module is specifically configured to: constructing a synchronous decorator on a preset data layer according to the data extraction instruction to obtain a data layer synchronous decorator; constructing an asynchronous decorator based on the data layer synchronous decorator to obtain an initial data layer asynchronous decorator; and processing the initial data layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain a target data layer asynchronous decorator.
Optionally, in a fourth implementation manner of the second aspect of the embodiment of the present invention, the second processing unit is specifically configured to: determining first transition target data in a database through the second target data key-value pair; setting the first transition target data in a second cache space through the target data layer asynchronous decorator to obtain second transition target data; setting the second target transition data in the first cache space through the target task layer asynchronous decorator to obtain third transition target data; and determining the third transition target data as target data, and sending the target data to a preset front end.
Optionally, in a fifth implementation manner of the second aspect of the embodiment of the present invention, the first obtaining unit is specifically configured to: acquiring a parent identification and a child identification according to the target task layer asynchronous decorator and the data extraction instruction; and performing key value pair construction on the parent identification and the child identification according to the preset construction rule and the asynchronous decorator to obtain a first target data key value pair.
Optionally, in a sixth implementation manner of the second aspect of the embodiment of the present invention, the first processing unit is further specifically configured to: and if the first target data is not a null value, determining that the first target data is the target data, and sending the target data to a preset front end.
A third aspect of the embodiments of the present invention provides a double-cache device based on an asynchronous decorator, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the double-cache method based on the asynchronous decorator according to any one of the above embodiments when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method of the first aspect described above.
According to the technical scheme, the embodiment of the invention has the following advantages: the invention provides a double-cache method, a double-cache device, double-cache equipment and a double-cache storage medium based on an asynchronous decorator, wherein a data extraction instruction is obtained, and a target task layer asynchronous decorator is generated according to the data extraction instruction; acquiring a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, wherein the first target data key value pair is composed of a parent identification and a subclass identification; acquiring first target data in a first cache space through the target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair; if the first target data is null, forwarding the data extraction instruction to a preset data layer to obtain a second target data key value pair, obtaining second target data in a second cache space, and judging whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair; and if the second target data is a null value, forwarding the second target data key value pair to a database, acquiring target data in the database according to the second target data key value pair, and sending the target data to a preset terminal. According to the embodiment of the invention, the asynchronous decorators are constructed on the task layer and the data layer, and the cache data is extracted through the asynchronous decorators, so that the problem that the calling of the target data from the data layer is complicated is solved, and the cache efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of an embodiment of an asynchronous decorator-based double-cache method of the present invention;
FIG. 2 is a schematic diagram of another embodiment of the asynchronous decorator-based double-cache method of the present invention;
FIG. 3 is a schematic diagram of an embodiment of an asynchronous decorator-based dual buffer device according to the present invention;
FIG. 4 is a schematic diagram of another embodiment of an asynchronous decorator-based dual buffer device of the present invention;
fig. 5 is a schematic diagram of an embodiment of an asynchronous decorator-based dual buffer device according to the present invention.
Detailed Description
The invention provides a double-cache method based on an asynchronous decorator, which is used for constructing the asynchronous decorator on a task layer and a data layer, and extracting cache data through the asynchronous decorator, so that the problem that calling target data from the data layer is complicated is solved, and the cache efficiency is improved.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, an embodiment of a double-buffering method based on an asynchronous decorator according to the present invention includes:
101. and acquiring a data extraction instruction, and generating the target task layer asynchronous decorator according to the data extraction instruction.
And the server acquires the data extraction instruction and generates the target task layer asynchronous decorator according to the data extraction instruction.
The server extracts instructions according to the data and constructs a synchronous decorator on a preset task layer by using a preset decorator to obtain a task layer synchronous decorator, the server constructs an asynchronous decorator on the preset task layer based on the task layer synchronous decorator to obtain an initial task layer asynchronous decorator, the initial task layer asynchronous decorator does not have an asynchronous function at the moment, the server needs to adopt a preset asynchronous module and a preset asynchronous function to realize the asynchronous function of the initial task layer asynchronous decorator, and finally the target task layer asynchronous decorator is obtained.
It should be noted that the preset service layer belongs to an upper layer structure, i.e. a logic layer, and can run service logic; in this embodiment, the preset decorator is the decorator in python language.
102. And acquiring a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, wherein the first target data key value pair is composed of a parent identification and a subclass identification, and the parent identification and the subclass identification are extracted according to the data extraction instruction.
And the server acquires a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, wherein the first target data key value pair is composed of a parent identification and a subclass identification, and the parent identification and the subclass identification are extracted according to the data extraction instruction.
The server acquires a parent identification and a subclass identification according to the target task layer asynchronous decorator and the data extraction instruction, and acquires a first target data key value pair according to a preset construction rule, the parent identification and the subclass identification. For example, if the data extraction instruction is to acquire an article, the article category is science and technology, and the article author is a, the server first acquires the parent identification as the article and the child identification as science and author a through the target task layer asynchronous decorator, and then the parent identification article, the child identification science and author a form a first target data key value pair.
103. And acquiring first target data in the first cache space through the target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair.
The server obtains first target data in the first cache space through the target task layer asynchronous decorator, and judges whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair.
The server acquires first target data corresponding to the key value pair of the first target data in the first cache space through the target task layer asynchronous decorator, judges whether the acquired first target data corresponding to the key value pair of the first target data is a null value or not through the target task layer asynchronous decorator, and directly sends the first data serving as the target data to a preset terminal if the first target data is not the null value; and if the first target data is null, the first target data is not the target data, and the target data needs to be acquired again from other cache spaces and sent to the preset terminal.
104. And if the first target data is null, forwarding the data extraction instruction to a preset data layer to acquire a second target data key value pair, acquiring second target data in a second cache space, and judging whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair.
And if the first target data is null, the server forwards the data extraction instruction to a preset data layer to acquire a second target data key value pair, acquires second target data in a second cache space, and judges whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair.
And after the judgment of the server, if the first target data is a null value, the server constructs a second target data key value pair through the target data layer asynchronous decorator according to the construction rule of the target task layer asynchronous decorator, wherein the second target data key value pair comprises a parent identification and a subclass identification. And the server acquires the parent data matched with the parent identification in the second cache space according to the parent identification, acquires the child data matched with the child identification in the second cache space according to the child identification, and synthesizes the parent data and the child data to obtain second target data.
It should be noted that the second target data key value pair constructed by the target data layer asynchronous decorator is different from the first target data key value pair constructed by the target task layer asynchronous decorator in prefix difference. For example, the parent class is identified as an article, and the child class is identified as a second target data key-value pair of science and technology and author a as: dao, article: science and technology, a, while the parent identifies an article, the child identifies a first target data key-value pair of science and technology and author a: handle: article: science and technology: A.
105. And if the second target data is null, forwarding the second target data key value pair to the database, acquiring the target data in the database according to the second target data key value pair, and sending the target data to the preset terminal.
And if the second target data is a null value, the server forwards the second target data key value pair to the database, acquires the target data in the database according to the second target data key value pair, and sends the target data to the preset terminal.
After the judgment of the server, if the second target data is null, the server forwards the second target data key value pair to the database, the server searches the database for target data corresponding to the second target key value pair, the target data is firstly extracted into a second cache space, after the judgment that the target data in the second cache space is not null, the target data is extracted into the first cache space, and after the judgment that the target data in the first cache space is not null, the target data is sent to the preset terminal.
According to the embodiment of the invention, the asynchronous decorators are constructed on the task layer and the data layer, and the cache data is extracted through the asynchronous decorators, so that the problem that the calling of the target data from the data layer is complicated is solved, and the cache efficiency is improved.
Referring to fig. 2, another embodiment of the dual-buffering method based on the asynchronous decorator in the embodiment of the present invention includes:
201. and constructing a synchronous decorator on a preset task layer according to the data extraction instruction to obtain the task layer synchronous decorator.
And the server constructs a synchronous decorator on a preset task layer according to the data extraction instruction to obtain the task layer synchronous decorator.
It should be noted that the preset service layer belongs to an upper layer structure, i.e. a logic layer, and can run service logic; in this embodiment, the preset decorator is the decorator in python language.
202. And constructing an asynchronous decorator on a preset task layer based on the task layer synchronous decorator to obtain an initial task layer asynchronous decorator.
And the server constructs an asynchronous decorator on a preset task layer based on the task layer synchronous decorator to obtain an initial task layer asynchronous decorator.
The server builds an asynchronous decorator on a preset task layer based on a task layer synchronous decorator to obtain an initial task layer asynchronous decorator, the initial task layer asynchronous decorator does not have an asynchronous function at the moment, the server needs to adopt a preset asynchronous module and a preset asynchronous function to achieve the asynchronous function of the initial task layer asynchronous decorator, and finally the target task layer asynchronous decorator is obtained.
203. And processing the initial task layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain the target task layer asynchronous decorator.
And the server processes the initial task layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain the target task layer asynchronous decorator.
After the initial task layer asynchronous decorator is obtained, the initial task layer asynchronous decorator does not have an asynchronous function, namely, the initial task layer asynchronous decorator cannot process a second event while processing a first event, so that the server needs to process the initial task layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain a target task layer asynchronous decorator, and the target task layer asynchronous decorator has an asynchronous function at the moment and can process the second event while processing the first event.
204. And acquiring a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, wherein the first target data key value pair is composed of a parent identification and a subclass identification, and the parent identification and the subclass identification are extracted according to the data extraction instruction.
And the server acquires a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, wherein the first target data key value pair is composed of a parent identification and a subclass identification, and the parent identification and the subclass identification are extracted according to the data extraction instruction.
Specifically, the server acquires a parent identifier and a child identifier according to the target task layer asynchronous decorator and the data extraction instruction; and the server constructs the key value pair of the parent identification and the child identification according to a preset construction rule and the asynchronous decorator to obtain a first target data key value pair.
The server acquires a parent identification and a subclass identification according to the target task layer asynchronous decorator and the data extraction instruction, and acquires a first target data key value pair according to a preset construction rule, the parent identification and the subclass identification. For example, the data extraction instruction is to acquire an article, the article category is science and technology, the article author is a, the server first acquires the father identification as the article and the subclass identification as science and author a through the target task layer asynchronous decorator, and then the father identification article, the subclass identification science and author a form a first target data key value pair.
The server performs Key-value pair construction on the obtained attached column identifier and the obtained subclass identifier according to a preset construction rule and an asynchronous decorator to obtain a first target data Key-value pair, namely Key, wherein the first target data Key-value pair is a character string, and the preset construction rule can be a father identifier: and the subclass identifier, the parent identifier and the subclass identifier are separated by colons. For example, the parent class is identified as an article, the child class is identified as a first target data key-value pair of science and technology and author A as a handle: science and technology: A.
It should be noted that the parent class identifier and the child class identifier are determined according to the data extraction instruction, the parent class identifier may be a service name, a type name, a database name, or the like, and the child class identifier may be a function name, a parameter value, or the like.
205. And acquiring first target data in the first cache space through the target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair.
The server obtains first target data in the first cache space through the target task layer asynchronous decorator, and judges whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair.
Optionally, the server obtains the first target data in the first cache space through the target task layer asynchronous decorator, and determines whether the first target data is a null value through the target task layer asynchronous decorator, where the first target data is data corresponding to the first target data key value pair and further includes: and if the first target data is not a null value, the server determines that the first target data is the target data and sends the target data to the preset front end.
The server acquires first target data corresponding to the key value pair of the first target data in the first cache space through the target task layer asynchronous decorator, judges whether the acquired first target data corresponding to the key value pair of the first target data is a null value or not through the target task layer asynchronous decorator, and directly sends the first data serving as the target data to a preset terminal if the first target data is not the null value; and if the first target data is null, the first target data is not the target data, and the target data needs to be acquired again from other cache spaces and sent to the preset terminal.
206. And if the first target data is null, forwarding the data extraction instruction to a preset data layer to acquire a second target data key value pair, acquiring second target data in a second cache space, and judging whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair.
And if the first target data is null, the server forwards the data extraction instruction to a preset data layer to acquire a second target data key value pair, acquires second target data in a second cache space, and judges whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair.
And after the judgment of the server, if the first target data is a null value, the server forms a second target data key value pair according to the father identification and the subclass identification by the target data layer asynchronous decorator according to the construction rule of the target task layer asynchronous decorator. And the server acquires the parent data matched with the parent identification in the second cache space according to the parent identification, acquires the child data matched with the child identification in the second cache space according to the child identification, and synthesizes the parent data and the child data to obtain second target data.
It should be noted that the second target data key value pair constructed by the target data layer asynchronous decorator is different from the first target data key value pair constructed by the target task layer asynchronous decorator in prefix difference. For example, the parent class is identified as an article, and the child class is identified as a second target data key-value pair of science and technology and author a as: dao, article: science and technology, a, while the parent identifies an article, the child identifies a first target data key-value pair of science and technology and author a: handle: article: science and technology: A.
Specifically, the server acquires the target data layer asynchronous decorator through a data extraction instruction; the server obtains a second target data key value pair through the target data layer asynchronous decorator, the data extraction instruction and a preset construction rule; the server acquires the parent data corresponding to the parent identification in the second cache space according to the second target data key value pair; the server acquires the subclass data corresponding to the subclass identification in the second cache space according to the second target data key value pair; and the server synthesizes the parent data and the child data to obtain second target data, and judges whether the second target data is a null value or not through the target data layer asynchronous decorator.
For ease of understanding, the following description is made in conjunction with specific application scenarios:
the server acquires the parent data matched with the parent identification in the second cache space according to the second target data key value pair, acquires the sub-data matched with the sub-identification in the second cache space according to the parent data, for example, acquires the article data corresponding to the article according to the second target data key value pair dao, article, science and technology, A, and acquires the article data corresponding to the article according to the second target data key value pair dao, article: science and technology A acquires the scientific article data corresponding to science and technology, and according to the second target data key value pair dao: science and technology a obtains author data corresponding to a. The server synthesizes the article data, the scientific and technological article data and the author data to obtain second target data, wherein the second target data is the scientific and technological article data with an author A.
The server obtains second target data according to the parent data and the child data, judges whether the second target data are null values or not, sets the second target data into the first cache space if the second target data are not null values, obtains target data, and sends the target data to the preset terminal; and if the second target data is a null value, the second target data is not the target data, and the target data needs to be acquired from the database and sent to the preset terminal.
Specifically, the server obtains the asynchronous decorator of the target data layer through a data extraction instruction and includes: the server acquires a target data layer asynchronous decorator through a data extraction instruction, and constructs a synchronous decorator on a preset data layer according to the data extraction instruction to obtain a data layer synchronous decorator; the server constructs an asynchronous decorator based on the data layer synchronous decorator to obtain an initial data layer asynchronous decorator; and the server processes the initial data layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain the target data layer asynchronous decorator.
The server extracts an instruction according to data and constructs a synchronous decorator on a preset data layer by using a preset decorator to obtain a data layer synchronous decorator, the server constructs an asynchronous decorator on the preset data layer based on the data layer synchronous decorator to obtain an initial data layer asynchronous decorator, the initial data layer asynchronous decorator does not have an asynchronous function at the moment, the server needs to adopt a preset asynchronous module and a preset asynchronous function to realize the asynchronous function of the initial data layer asynchronous decorator, and finally the target data layer asynchronous decorator is obtained.
207. And if the second target data is null, forwarding the second target data key value pair to the database, acquiring the target data in the database according to the second target data key value pair, and sending the target data to the preset terminal.
And if the second target data is a null value, the server forwards the second target data key value pair to the database, acquires the target data in the database according to the second target data key value pair, and sends the target data to the preset terminal.
Specifically, the server determines first transition target data in the database through the second target data key value pair; the server sets the first transition target data in a second cache space through the target data layer asynchronous decorator to obtain second transition target data; the server sets the second target transition data in the first cache space through the target task layer asynchronous decorator to obtain third transition target data; and the server determines the third transition target data as target data and sends the target data to a preset front end.
It should be noted that the first transition target data is data in the database that matches the second target data key-value pair, the second transition target data is data in the second cache space that matches the second target data key-value pair, and the third transition target data is data in the first cache space that matches the first target data key-value pair.
After the judgment of the server, if the second target data is null, the server determines first transition target data in the database according to the key value pair of the second target data, after the server determines that the first transition target data is not null, the first transition target data is set in a second cache space, at the moment, the second transition target data is obtained, the server sets the second transition target data in the first cache space, after the second transition target data is determined not to be null, third transition target data is obtained, the third transition target data is determined to be target data, and finally the server sends the third transition target data to the preset terminal.
According to the embodiment of the invention, the asynchronous decorators are constructed on the task layer and the data layer, and the cache data is extracted through the asynchronous decorators, so that the problem that the calling of the target data from the data layer is complicated is solved, and the cache efficiency is improved.
In the above description of the double-cache method based on the asynchronous decorator in the embodiment of the present invention, the following description of the double-cache device based on the asynchronous decorator in the embodiment of the present invention refers to fig. 3, and an embodiment of the double-cache device based on the asynchronous decorator in the embodiment of the present invention includes:
the generating unit 301 is configured to obtain a data extraction instruction, and generate a target task layer asynchronous decorator according to the data extraction instruction;
a first obtaining unit 302, configured to obtain a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, where the first target data key value pair is composed of a parent identifier and a child identifier, and the parent identifier and the child identifier are extracted according to a data extraction instruction;
the first processing unit 303 is configured to obtain first target data in the first cache space through the target task layer asynchronous decorator, and determine whether the first target data is a null value through the target task layer asynchronous decorator, where the first target data is data corresponding to a first target data key value pair;
the second processing unit 304, if the first target data is null, is configured to forward the data extraction instruction to the preset data layer to obtain a second target data key value pair, obtain the second target data in the second cache space, and determine whether the second target data is null, where the second target data is data corresponding to the second target data key value pair;
the second obtaining unit 305, if the second target data is null, is configured to forward the key-value pair of the second target data to the database, obtain the target data in the database according to the key-value pair of the second target data, and send the target data to the preset terminal.
According to the embodiment of the invention, the asynchronous decorators are constructed on the task layer and the data layer, and the cache data is extracted through the asynchronous decorators, so that the problem that the calling of the target data from the data layer is complicated is solved, and the cache efficiency is improved.
Referring to fig. 4, another embodiment of the dual buffer device based on the asynchronous decorator in the embodiment of the present invention includes:
the generating unit 301 is configured to obtain a data extraction instruction, and generate a target task layer asynchronous decorator according to the data extraction instruction;
a first obtaining unit 302, configured to obtain a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, where the first target data key value pair is composed of a parent identifier and a child identifier, and the parent identifier and the child identifier are extracted according to a data extraction instruction;
the first processing unit 303 is configured to obtain first target data in the first cache space through the target task layer asynchronous decorator, and determine whether the first target data is a null value through the target task layer asynchronous decorator, where the first target data is data corresponding to a first target data key value pair;
the second processing unit 304, if the first target data is null, is configured to forward the data extraction instruction to the preset data layer to obtain a second target data key value pair, obtain the second target data in the second cache space, and determine whether the second target data is null, where the second target data is data corresponding to the second target data key value pair;
the second obtaining unit 305, if the second target data is null, is configured to forward the key-value pair of the second target data to the database, obtain the target data in the database according to the key-value pair of the second target data, and send the target data to the preset terminal.
Optionally, the generating unit 301 is specifically configured to:
constructing a synchronous decorator on a preset task layer according to the data extraction instruction to obtain a task layer synchronous decorator;
constructing an asynchronous decorator on a preset task layer based on a task layer synchronous decorator to obtain an initial task layer asynchronous decorator;
and processing the initial task layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain the target task layer asynchronous decorator.
Optionally, the first processing unit 303 specifically includes:
a first obtaining module 3031, configured to obtain the target data layer asynchronous decorator through the data extraction instruction;
a second obtaining module 3032, configured to obtain a second target data key value pair through the target data layer asynchronous decorator, the data extraction instruction, and the preset construction rule;
a third obtaining module 3033, configured to obtain, according to the second target data key value pair, parent data corresponding to the parent identifier in the second cache space;
a fourth obtaining module 3034, configured to obtain, according to the second target data key value pair, the sub-data corresponding to the sub-class identifier in the second cache space;
and the data synthesis and judgment module 3035 is configured to synthesize the parent data and the child data to obtain second target data, and judge whether the second target data is a null value through the target data layer asynchronous decorator.
Optionally, the first obtaining module 3031 is specifically configured to:
constructing a synchronous decorator on a preset data layer according to the data extraction instruction to obtain a data layer synchronous decorator;
constructing an asynchronous decorator based on the data layer synchronous decorator to obtain an initial data layer asynchronous decorator;
and processing the initial data layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain the target data layer asynchronous decorator.
Optionally, the second processing unit 304 is specifically configured to:
determining first transition target data in the database through the second target data key-value pair;
setting the first transition target data in a second cache space through the target data layer asynchronous decorator to obtain second transition target data;
setting the second target transition data in the first cache space through the target task layer asynchronous decorator to obtain third transition target data;
and determining the third transition target data as target data, and sending the target data to a preset front end.
Optionally, the first obtaining unit 302 is specifically configured to:
acquiring a parent identification and a child identification according to the target task layer asynchronous decorator and the data extraction instruction;
and performing key value pair construction on the parent identification and the child identification according to a preset construction rule and the asynchronous decorator to obtain a first target data key value pair.
Optionally, the first processing unit 303 is further specifically configured to:
and if the first target data is not a null value, determining that the first target data is the target data, and sending the target data to a preset front end.
According to the embodiment of the invention, the asynchronous decorators are constructed on the task layer and the data layer, and the cache data is extracted through the asynchronous decorators, so that the problem that the calling of the target data from the data layer is complicated is solved, and the cache efficiency is improved.
Fig. 3 to 4 describe the asynchronous decorator-based dual buffer apparatus in the embodiment of the present invention in detail from the perspective of a modular functional entity, and the asynchronous decorator-based dual buffer apparatus in the embodiment of the present invention is described in detail from the perspective of hardware processing.
The following describes the components of the asynchronous decorator-based double-buffer device in detail with reference to fig. 5:
fig. 5 is a schematic structural diagram of an asynchronous decorator-based dual-cache device 500 according to an embodiment of the present invention, which may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 501 (e.g., one or more processors) and a memory 509, and one or more storage media 508 (e.g., one or more mass storage devices) storing an application 507 or data 506. Memory 509 and storage medium 508 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 508 may include one or more modules (not shown), each of which may include a series of instruction operations for a check-in management device. Still further, the processor 501 may be configured to communicate with the storage medium 508 to execute a series of instruction operations in the storage medium 508 on the asynchronous decorator-based dual cache device 500.
Asynchronous decorator-based dual cache device 500 may also include one or more power supplies 502, one or more wired or wireless network interfaces 503, one or more input-output interfaces 504, and/or one or more operating systems 505, such as Windows Server, Mac OS X, Unix, L inux, FreeBSD, etc. those skilled in the art will appreciate that the asynchronous decorator-based dual cache device architecture shown in FIG. 5 does not constitute a limitation of asynchronous decorator-based dual cache devices, may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the asynchronous decorator-based double-buffer device in detail with reference to fig. 5:
the processor 501 is a control center of a double-cache device based on an asynchronous decorator, and can perform processing according to a double-cache method based on an asynchronous decorator. The processor 501 connects various parts of the entire asynchronous decorator-based dual buffer device using various interfaces and lines, and extracts buffer data through the task decorator by running or executing software programs and/or modules stored in the memory 509 and calling the data stored in the memory 509, thereby improving buffer efficiency. The storage medium 508 and the memory 509 are carriers for storing data, in the embodiment of the present invention, the storage medium 508 may be an internal memory with a small storage capacity but a high speed, and the memory 509 may be an external memory with a large storage capacity but a low storage speed.
The memory 509 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing of the asynchronous decorator-based dual buffer device 500 by operating the software programs and modules stored in the memory 509. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the asynchronous decorator-based dual buffer device, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. The asynchronous decorator-based double-buffer program and the received data stream provided in the embodiment of the present invention are stored in the memory, and the processor 501 calls from the memory 509 when it is needed.
The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, optical fiber, twisted pair) or wirelessly (e.g., infrared, wireless, microwave, etc.). A computer-readable storage medium may be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., compact disk), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A double-cache method based on an asynchronous decorator is characterized by comprising the following steps:
acquiring a data extraction instruction, and generating a target task layer asynchronous decorator according to the data extraction instruction;
acquiring a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, wherein the first target data key value pair is composed of a parent identification and a subclass identification, and the parent identification and the subclass identification are extracted according to the data extraction instruction;
acquiring first target data in a first cache space through the target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair;
if the first target data is null, forwarding the data extraction instruction to a preset data layer to obtain a second target data key value pair, obtaining second target data in a second cache space, and judging whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair;
and if the second target data is a null value, forwarding the second target data key value pair to a database, acquiring target data in the database according to the second target data key value pair, and sending the target data to a preset terminal.
2. The asynchronous decorator-based double-cache method of claim 1, wherein the obtaining a data extraction instruction and generating a target task layer asynchronous decorator according to the data extraction instruction comprises:
constructing a synchronous decorator on a preset task layer according to the data extraction instruction to obtain a task layer synchronous decorator;
constructing an asynchronous decorator on the preset task layer based on the task layer synchronous decorator to obtain an initial task layer asynchronous decorator;
and processing the initial task layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain a target task layer asynchronous decorator.
3. The asynchronous decorator-based double-cache method according to claim 1, wherein if the first target data is null, forwarding the data extraction instruction to a preset data layer to obtain a second target data key value pair, obtaining second target data in a second cache space, and determining whether the second target data is null, wherein the second target data is data corresponding to the second target data key value pair includes:
acquiring a target data layer asynchronous decorator according to the data extraction instruction;
obtaining a second target data key value pair through the target data layer asynchronous decorator, the data extraction instruction and a preset construction rule;
acquiring parent data corresponding to the parent identification in the second cache space according to the second target data key value pair;
obtaining sub-class data corresponding to the sub-class identification in the second cache space according to the second target data key value pair;
and synthesizing the parent data and the child data to obtain second target data, and judging whether the second target data is a null value or not through the target data layer asynchronous decorator.
4. The asynchronous decorator-based double-cache method of claim 3, wherein the obtaining of the target data layer asynchronous decorator through the data fetch instruction comprises:
constructing a synchronous decorator on a preset data layer according to the data extraction instruction to obtain a data layer synchronous decorator;
constructing an asynchronous decorator based on the data layer synchronous decorator to obtain an initial data layer asynchronous decorator;
and processing the initial data layer asynchronous decorator through a preset asynchronous module and a preset asynchronous function to obtain a target data layer asynchronous decorator.
5. The asynchronous decorator-based double-cache method of claim 1, wherein if the second target data is null, forwarding the second target data key-value pair to a database, obtaining target data in the database according to the second target data key-value pair, and sending the target data to a preset terminal comprises:
determining first transition target data in a database through the second target data key-value pair;
setting the first transition target data in a second cache space through the target data layer asynchronous decorator to obtain second transition target data;
setting the second target transition data in the first cache space through the target task layer asynchronous decorator to obtain third transition target data;
and determining the third transition target data as target data, and sending the target data to a preset front end.
6. The asynchronous decorator-based double-cache method of claim 1, wherein the obtaining of the first target data key-value pair according to the target task layer asynchronous decorator and preset construction rules, the first target data key-value pair consisting of a parent class identifier and a child class identifier, the parent class identifier and the child class identifier being extracted according to the data extraction instruction comprises:
acquiring a parent identification and a child identification according to the target task layer asynchronous decorator and the data extraction instruction;
and performing key value pair construction on the parent identification and the child identification according to the preset construction rule and the asynchronous decorator to obtain a first target data key value pair.
7. The asynchronous decorator-based double-cache method of any one of claims 1-6, wherein the obtaining, by the target task layer asynchronous decorator, first target data in a first cache space and determining, by the target task layer asynchronous decorator, whether the first target data is null, the first target data being data corresponding to a first target data key-value pair, further comprises:
and if the first target data is not a null value, determining that the first target data is the target data, and sending the target data to a preset front end.
8. A double-cache device based on an asynchronous decorator, comprising:
the generating unit is used for acquiring a data extraction instruction and generating a target task layer asynchronous decorator according to the data extraction instruction;
a first obtaining unit, configured to obtain a first target data key value pair according to the target task layer asynchronous decorator and a preset construction rule, where the first target data key value pair is composed of a parent identifier and a child identifier, and the parent identifier and the child identifier are extracted according to the data extraction instruction;
the first processing unit is used for acquiring first target data in a first cache space through the target task layer asynchronous decorator, and judging whether the first target data is a null value or not through the target task layer asynchronous decorator, wherein the first target data is data corresponding to a first target data key value pair;
the second processing unit is used for forwarding the data extraction instruction to a preset data layer to acquire a second target data key value pair if the first target data is null, acquiring second target data in a second cache space, and judging whether the second target data is null or not, wherein the second target data is data corresponding to the second target data key value pair;
and the second obtaining unit is used for forwarding the second target data key value pair to a database if the second target data is a null value, obtaining the target data in the database according to the second target data key value pair, and sending the target data to a preset terminal.
9. A double-cache device based on an asynchronous decorator, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the double-cache method based on an asynchronous decorator according to any one of claims 1 to 7.
10. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the asynchronous decorator-based double caching method of any one of claims 1 to 7.
CN202010164811.0A 2020-03-11 2020-03-11 Double-cache method, device, equipment and storage medium based on asynchronous decorator Pending CN111444223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010164811.0A CN111444223A (en) 2020-03-11 2020-03-11 Double-cache method, device, equipment and storage medium based on asynchronous decorator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010164811.0A CN111444223A (en) 2020-03-11 2020-03-11 Double-cache method, device, equipment and storage medium based on asynchronous decorator

Publications (1)

Publication Number Publication Date
CN111444223A true CN111444223A (en) 2020-07-24

Family

ID=71627447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010164811.0A Pending CN111444223A (en) 2020-03-11 2020-03-11 Double-cache method, device, equipment and storage medium based on asynchronous decorator

Country Status (1)

Country Link
CN (1) CN111444223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485810A (en) * 2021-07-23 2021-10-08 平安科技(深圳)有限公司 Task scheduling execution method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485810A (en) * 2021-07-23 2021-10-08 平安科技(深圳)有限公司 Task scheduling execution method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11550829B2 (en) Systems and methods for load balancing in a system providing dynamic indexer discovery
CN111625452B (en) Flow playback method and system
US10778761B2 (en) Processing search responses returned by search peers
CN104346433B (en) Method and system for the scalable acceleration of database query operations
US20180157713A1 (en) Automated log analysis
US20120096043A1 (en) Data graph cloud system and method
US20120324290A1 (en) Key Based Cluster Log Coalescing
CN111897638A (en) Distributed task scheduling method and system
WO2018035799A1 (en) Data query method, application and database servers, middleware, and system
CN110083627B (en) Data processing method, system, computer device and storage medium
US10984111B2 (en) Data driven parser selection for parsing event logs to detect security threats in an enterprise system
US20160006633A1 (en) Monitoring item selection method and device, and storage medium
US20170060922A1 (en) Method and device for data search
CN115329170A (en) Webpage crawling method, device, equipment and storage medium
CN111444223A (en) Double-cache method, device, equipment and storage medium based on asynchronous decorator
EP3010194B1 (en) Method of tracing a transaction in a network
CN116932147A (en) Streaming job processing method and device, electronic equipment and medium
CN110908780A (en) Task combing method, device and equipment of scheduling platform and storage medium
CN113965515B (en) Virtualized network link visualization method, system, computer and storage medium
CN111352810A (en) Performance monitoring method and device based on multiple processes and computing equipment
CN112073505B (en) Method for unloading on cloud server, control device and storage medium
CN111292223B (en) Graph calculation processing method and device, electronic equipment and storage medium
CN113392311A (en) Field searching method, field searching device, electronic equipment and storage medium
CN115525440A (en) Method, device, medium and equipment for processing microservice calling data
CN113556370A (en) Service calling 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