CN114791969A - Data query method and device - Google Patents

Data query method and device Download PDF

Info

Publication number
CN114791969A
CN114791969A CN202210406390.7A CN202210406390A CN114791969A CN 114791969 A CN114791969 A CN 114791969A CN 202210406390 A CN202210406390 A CN 202210406390A CN 114791969 A CN114791969 A CN 114791969A
Authority
CN
China
Prior art keywords
data
target
statistical
data query
task
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
CN202210406390.7A
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.)
Beijing Gaotu Yunji Education Technology Co Ltd
Original Assignee
Beijing Gaotu Yunji Education 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 Beijing Gaotu Yunji Education Technology Co Ltd filed Critical Beijing Gaotu Yunji Education Technology Co Ltd
Priority to CN202210406390.7A priority Critical patent/CN114791969A/en
Publication of CN114791969A publication Critical patent/CN114791969A/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/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results

Landscapes

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

Abstract

The method firstly responds to a data query request, and generates a data query task corresponding to the data query request based on data description information carried by the data query request; then, based on the target data type and the target statistical mode indicated by the data query task, screening out a target statistical data module matched with the data query task from a plurality of statistical data modules; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode; and finally, calling the target statistical data module to obtain a data statistical result corresponding to the data query task. The embodiment of the disclosure realizes integration of various query and statistic tasks by setting a plurality of statistic data modules and a universal statistic data module calling logic, and is convenient for maintenance and development of different data query tasks.

Description

Data query method and device
Technical Field
The disclosure relates to the technical field of computers, in particular to a data query method and device.
Background
At present, data queries of different services usually require different data types and statistical modes, and are usually distributed at different function points of a system, query statistical tasks generated by the function points are different and independent from each other, developers need to perform complete development aiming at different query statistical tasks, however, many similar functions exist in the query statistical tasks, and the development and maintenance are not easy.
Disclosure of Invention
The embodiment of the disclosure at least provides a data query method and device.
In a first aspect, an embodiment of the present disclosure provides a data query method, including:
responding to a data query request, and generating a data query task corresponding to the data query request based on data description information carried by the data query request;
screening out a target statistical data module matched with the data query task from a plurality of statistical data modules based on the target data type and the target statistical mode indicated by the data query task; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode;
and calling the target statistical data module to obtain a data statistical result corresponding to the data query task.
In an optional embodiment, the generating a data query task corresponding to the data query request based on the data description information carried in the data query request includes:
acquiring a preset task information template;
determining a target data type and a target statistical mode corresponding to the data description information;
and configuring the task information template by using the target data type and the target statistical mode to obtain the data query task.
In an optional implementation manner, the invoking the target statistical data module to obtain a data statistical result corresponding to the data query task includes:
selecting a target thread from the multiple candidate threads according to the task execution conditions of the multiple candidate threads, and distributing the selected target thread to the data query task;
and calling the target statistical data module by using the target thread to obtain a data statistical result corresponding to the data query task.
In an optional implementation manner, after obtaining a data statistical result corresponding to the data query task, the method further includes:
and sending the data statistical result to a client corresponding to the data query request so that the client can display the data statistical result.
In an optional embodiment, the method further comprises:
responding to a task state query request sent by a client, and searching a target data query task corresponding to the task state query request from generated data query tasks;
and sending the state information of the target data query task to the client so that the client can display the state information.
In an optional embodiment, the method further comprises:
responding to a data downloading request aiming at the target data query task and sent by the client based on the state information, and searching a data statistical result corresponding to the target data query task;
and sending the data statistical result corresponding to the target data query task to the client so that the client can display the data statistical result.
In an optional embodiment, the method further comprises:
responding to an adding instruction aiming at the statistical data module, and adding the statistical data module to be added corresponding to the adding instruction into the plurality of statistical data modules.
In a second aspect, an embodiment of the present disclosure further provides a data query apparatus, including:
the generating module is used for responding to a data query request and generating a data query task corresponding to the data query request based on data description information carried by the data query request;
the screening module is used for screening out a target statistical data module matched with the data query task from the plurality of statistical data modules based on the target data type and the target statistical mode indicated by the data query task; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode;
and the calling module is used for calling the target statistical data module to obtain a data statistical result corresponding to the data query task.
In an optional embodiment, the generating module is specifically configured to:
acquiring a preset task information template;
determining a target data type and a target statistical mode corresponding to the data description information;
and configuring the task information template by using the target data type and the target statistical mode to obtain the data query task.
In an optional implementation manner, the calling module is specifically configured to:
selecting a target thread from the multiple candidate threads according to the task execution conditions of the multiple candidate threads, and distributing the selected target thread to the data query task;
and calling the target statistical data module by using the target thread to obtain a data statistical result corresponding to the data query task.
In an optional implementation manner, the apparatus further includes a sending module, configured to, after obtaining a data statistical result corresponding to the data query task:
and sending the data statistical result to a client corresponding to the data query request so that the client can display the data statistical result.
In an optional implementation manner, the sending module is further configured to:
responding to a task state query request sent by a client, and searching a target data query task corresponding to the task state query request from the generated data query tasks;
and sending the state information of the target data query task to the client so that the client can display the state information.
In an optional implementation manner, the sending module is further configured to:
responding to a data downloading request aiming at the target data query task and sent by the client based on the state information, and searching a data statistical result corresponding to the target data query task;
and sending the data statistical result corresponding to the target data query task to the client so that the client can display the data statistical result.
In an optional embodiment, the apparatus further comprises an adding module configured to:
responding to an adding instruction aiming at the statistical data module, and adding the statistical data module to be added corresponding to the adding instruction into the plurality of statistical data modules.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions being executable by the processor to perform the steps of the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, the disclosed embodiments further provide a computer-readable storage medium, where a computer program is stored, and the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
The data query method and the data query device provided by the embodiment of the disclosure firstly respond to a data query request, and generate a data query task corresponding to the data query request based on data description information carried by the data query request; then, based on the target data type and the target statistical mode indicated by the data query task, screening out a target statistical data module matched with the data query task from a plurality of statistical data modules; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode; and finally, calling the target statistical data module to obtain a data statistical result corresponding to the data query task. The embodiment of the disclosure realizes integration of various query and statistic tasks by setting a plurality of statistic data modules and a universal statistic data module call logic, and is convenient for maintenance and development of different data query tasks.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is to be understood that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art to which the disclosure pertains without the benefit of the inventive faculty, and that additional related drawings may be derived therefrom.
FIG. 1 is a flow chart illustrating a data query method provided by an embodiment of the disclosure;
FIG. 2 is a schematic diagram of a data query device provided by an embodiment of the disclosure;
fig. 3 shows a schematic diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The term "and/or" herein merely describes an associative relationship, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Research shows that data queries of different services usually need different data types and statistical modes, and are usually distributed at different function points of a system, query statistical tasks generated by the function points are different and independent from each other, developers need to perform complete development aiming at the different query statistical tasks, but the query statistical tasks have many similar functions, and are not easy to develop and maintain.
Based on the research, the present disclosure provides a data query method and apparatus, which implement integration of multiple query and statistics tasks by setting up multiple statistics modules and a universal statistics module call logic, and facilitate maintenance and development of different data query tasks.
For the convenience of understanding of the present embodiment, a detailed description is first given of a data query method disclosed in the embodiments of the present disclosure, and an execution subject of the data query method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, such as a server. In some possible implementations, the data query method may be implemented by a processor invoking computer readable instructions stored in a memory.
Referring to fig. 1, a flowchart of a data query method provided in the embodiment of the present disclosure is shown, where the method includes steps S101 to S103, where:
s101, responding to a data query request, and generating a data query task corresponding to the data query request based on data description information carried by the data query request.
In this step, the data query request may be sent by a client, the data query request may carry data description information, the data description information may indicate a target data type and a target statistical manner, the data type may include an access amount, a download amount, an access user, and the like, the statistical manner may include an average value, a maximum value, and the like, and the data description information may further include a data query range, such as a date range, a number range, and the like.
The data query method comprises the steps that a pre-configured task generation module is utilized, corresponding data query tasks can be generated according to data query requests, codes for generating the data query tasks are written in the task generation module, the task generation module is universal for various data query requests, illustratively, a preset task information template is obtained, a target data type and a target statistical mode corresponding to data description information are determined, and then the task information template is configured through the determined target data type and the target statistical mode to obtain the data query tasks.
S102, screening out a target statistical data module matched with the data query task from a plurality of statistical data modules based on the target data type and the target statistical mode indicated by the data query task; and the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode.
In this step, a target statistical data module corresponding to the target data type and the target statistical mode may be determined from the plurality of statistical data modules according to a pre-configured mapping list, and a data query task may be completed using computational logic written in the target statistical data module.
S103, calling the target statistical data module to obtain a data statistical result corresponding to the data query task.
Specifically, a target thread may be selected from the multiple candidate threads according to task execution conditions of the multiple candidate threads, and the selected target thread may be allocated to the data query task; then, the target statistical data module can be called by using the target thread to obtain a data statistical result corresponding to the data query task.
Therefore, parallel processing of a plurality of data query tasks can be realized, and the data query efficiency is improved.
In the embodiment of the disclosure, developers only need to develop different statistical data modules for different query tasks, and for different query tasks, generation tasks and other logics can be shared, which is convenient for development and maintenance.
After the data statistical result corresponding to the data query task is obtained, the data statistical result can be sent to the client corresponding to the data query request, so that the client can display the data statistical result.
Furthermore, the user can send a task state query request to the server through the client, and the server can search a target data query task corresponding to the task state query request from the generated data query tasks and send corresponding state information to the client, so that the client can display the state information to the user.
The user can also select an interested data query task according to the state information, a data download request aiming at the interested data query task is sent to the server through the client, and the server can query a corresponding data statistical result and send the data statistical result to the client so that the client can display the data statistical result to the user.
For the development of the statistical data module, a user can add the developed statistical data module to the plurality of statistical data modules by using an adding instruction aiming at the statistical data module, and when a new data query task is generated, the newly added statistical data module can be called.
The data query method provided by the embodiment of the disclosure includes firstly responding to a data query request, and generating a data query task corresponding to the data query request based on data description information carried by the data query request; then, based on the target data type and the target statistical mode indicated by the data query task, screening out a target statistical data module matched with the data query task from a plurality of statistical data modules; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode; and finally, calling the target statistical data module to obtain a data statistical result corresponding to the data query task. The embodiment of the disclosure realizes integration of various query and statistic tasks by setting a plurality of statistic data modules and a universal statistic data module call logic, and is convenient for maintenance and development of different data query tasks.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, the embodiment of the present disclosure further provides a data query apparatus corresponding to the data query method, and as the principle of solving the problem of the apparatus in the embodiment of the present disclosure is similar to the data query method in the embodiment of the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and the repeated parts are not described again.
Referring to fig. 2, a schematic diagram of a data query apparatus provided in an embodiment of the present disclosure is shown, where the apparatus includes:
a generating module 210, configured to respond to a data query request, and generate a data query task corresponding to the data query request based on data description information carried in the data query request;
a screening module 220, configured to screen out, from multiple statistical data modules, a target statistical data module matched with the data query task based on the target data type and the target statistical manner indicated by the data query task; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode;
and the calling module 230 is configured to call the target statistical data module to obtain a data statistical result corresponding to the data query task.
In an optional implementation manner, the generating module 210 is specifically configured to:
acquiring a preset task information template;
determining a target data type and a target statistical mode corresponding to the data description information;
and configuring the task information template by using the target data type and the target statistical mode to obtain the data query task.
In an optional implementation, the invoking module 230 is specifically configured to:
selecting a target thread from the multiple candidate threads according to the task execution conditions of the multiple candidate threads, and distributing the selected target thread to the data query task;
and calling the target statistical data module by using the target thread to obtain a data statistical result corresponding to the data query task.
In an optional implementation manner, the apparatus further includes a sending module, configured to, after obtaining a data statistical result corresponding to the data query task:
and sending the data statistical result to a client corresponding to the data query request so that the client can display the data statistical result.
In an optional implementation manner, the sending module is further configured to:
responding to a task state query request sent by a client, and searching a target data query task corresponding to the task state query request from generated data query tasks;
and sending the state information of the target data query task to the client so as to enable the client to display the state information.
In an optional implementation manner, the sending module is further configured to:
responding to a data downloading request aiming at the target data query task and sent by the client based on the state information, and searching a data statistical result corresponding to the target data query task;
and sending the data statistical result corresponding to the target data query task to the client so that the client can display the data statistical result.
In an optional embodiment, the apparatus further comprises an adding module configured to:
responding to an adding instruction aiming at the statistical data module, and adding the statistical data module to be added corresponding to the adding instruction into the plurality of statistical data modules.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Corresponding to the data query method in fig. 1, an embodiment of the present disclosure further provides an electronic device 300, as shown in fig. 3, which is a schematic structural diagram of the electronic device 300 provided in the embodiment of the present disclosure, and includes:
a processor 31, a memory 32, and a bus 33; the storage 32 is used for storing execution instructions and includes a memory 321 and an external storage 322; the memory 321 is also referred to as an internal memory, and is used for temporarily storing the operation data in the processor 31 and the data exchanged with the external memory 322 such as a hard disk, the processor 31 exchanges data with the external memory 322 through the memory 321, and when the electronic device 300 operates, the processor 31 communicates with the memory 32 through the bus 33, so that the processor 31 executes the following instructions:
responding to a data query request, and generating a data query task corresponding to the data query request based on data description information carried by the data query request;
screening out a target statistical data module matched with the data query task from a plurality of statistical data modules based on the target data type and the target statistical mode indicated by the data query task; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode;
and calling the target statistical data module to obtain a data statistical result corresponding to the data query task.
In an optional implementation manner, when generating a data query task corresponding to the data query request based on the data description information carried in the data query request, the processor 31 is configured to perform:
acquiring a preset task information template;
determining a target data type and a target statistical mode corresponding to the data description information;
and configuring the task information template by using the target data type and the target statistical mode to obtain the data query task.
In an optional implementation manner, when the processor 31 calls the target statistical data module to obtain a data statistical result corresponding to the data query task, the processor is configured to perform:
selecting a target thread from the multiple candidate threads according to the task execution conditions of the multiple candidate threads, and distributing the selected target thread to the data query task;
and calling the target statistical data module by using the target thread to obtain a data statistical result corresponding to the data query task.
In an optional embodiment, after obtaining the data statistics corresponding to the data query task, the processor 31 is further configured to perform:
and sending the data statistical result to a client corresponding to the data query request so that the client can display the data statistical result.
In an optional embodiment, the processor 31 is further configured to:
responding to a task state query request sent by a client, and searching a target data query task corresponding to the task state query request from generated data query tasks;
and sending the state information of the target data query task to the client so as to enable the client to display the state information.
In an optional embodiment, the processor 31 is further configured to:
responding to a data downloading request aiming at the target data query task and sent by the client based on the state information, and searching a data statistical result corresponding to the target data query task;
and sending the data statistical result corresponding to the target data query task to the client so that the client can display the data statistical result.
In an optional embodiment, the processor 31 is further configured to:
responding to an adding instruction aiming at the statistical data module, and adding the statistical data module to be added corresponding to the adding instruction into the plurality of statistical data modules.
The embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the data query method in the foregoing method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
An embodiment of the present disclosure further provides a computer program product, where the computer program product carries a program code, and an instruction included in the program code may be used to execute the step of the data query method in the foregoing method embodiment, which may be specifically referred to the foregoing method embodiment, and is not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK) or the like.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system and the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present disclosure, which are essential or part of the technical solutions contributing to the prior art, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method of querying data, comprising:
responding to a data query request, and generating a data query task corresponding to the data query request based on data description information carried by the data query request;
screening out a target statistical data module matched with the data query task from a plurality of statistical data modules based on the target data type and the target statistical mode indicated by the data query task; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode;
and calling the target statistical data module to obtain a data statistical result corresponding to the data query task.
2. The method according to claim 1, wherein the generating a data query task corresponding to the data query request based on the data description information carried in the data query request includes:
acquiring a preset task information template;
determining a target data type and a target statistical mode corresponding to the data description information;
and configuring the task information template by using the target data type and the target statistical mode to obtain the data query task.
3. The method according to claim 1 or 2, wherein the calling the target statistical data module to obtain the data statistical result corresponding to the data query task includes:
selecting a target thread from the multiple candidate threads according to the task execution conditions of the multiple candidate threads, and distributing the selected target thread to the data query task;
and calling the target statistical data module by using the target thread to obtain a data statistical result corresponding to the data query task.
4. The method of claim 1, wherein after obtaining the data statistics corresponding to the data query task, the method further comprises:
and sending the data statistical result to a client corresponding to the data query request so that the client can display the data statistical result.
5. The method of claim 1, further comprising:
responding to a task state query request sent by a client, and searching a target data query task corresponding to the task state query request from the generated data query tasks;
and sending the state information of the target data query task to the client so that the client can display the state information.
6. The method of claim 5, further comprising:
responding to a data downloading request aiming at the target data query task and sent by the client based on the state information, and searching a data statistical result corresponding to the target data query task;
and sending the data statistical result corresponding to the target data query task to the client so that the client can display the data statistical result.
7. The method of claim 1, further comprising:
responding to an adding instruction aiming at the statistical data module, and adding the statistical data module to be added corresponding to the adding instruction into the plurality of statistical data modules.
8. A data query device, comprising:
the generating module is used for responding to a data query request and generating a data query task corresponding to the data query request based on data description information carried by the data query request;
the screening module is used for screening out a target statistical data module matched with the data query task from the plurality of statistical data modules based on the target data type and the target statistical mode indicated by the data query task; the target statistical data module is written with the calculation logic corresponding to the target data type and the target statistical mode;
and the calling module is used for calling the target statistical data module to obtain a data statistical result corresponding to the data query task.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the data query method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the data query method according to one of claims 1 to 7.
CN202210406390.7A 2022-04-18 2022-04-18 Data query method and device Pending CN114791969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210406390.7A CN114791969A (en) 2022-04-18 2022-04-18 Data query method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210406390.7A CN114791969A (en) 2022-04-18 2022-04-18 Data query method and device

Publications (1)

Publication Number Publication Date
CN114791969A true CN114791969A (en) 2022-07-26

Family

ID=82461428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210406390.7A Pending CN114791969A (en) 2022-04-18 2022-04-18 Data query method and device

Country Status (1)

Country Link
CN (1) CN114791969A (en)

Similar Documents

Publication Publication Date Title
EP3896569A1 (en) Method and apparatus for allocating server resource, electronic device and storage medium
US9778967B2 (en) Sophisticated run-time system for graph processing
US9400700B2 (en) Optimized system for analytics (graphs and sparse matrices) operations
CN112527848B (en) Report data query method, device and system based on multiple data sources and storage medium
CN112347748A (en) Data report generation method and device, computer equipment and readable storage medium
US20190303466A1 (en) Customized code configurations for a multiple application service environment
JP6796994B2 (en) Information processing system
CN112131230B (en) Application software as a service (SaaS) realization method, device, equipment and storage medium
US11489731B2 (en) Techniques and architectures for efficient allocation of under-utilized resources
CN111988429A (en) Algorithm scheduling method and system
CN112463376A (en) Resource allocation method and device
CN111427887A (en) Method, device and system for rapidly scanning HBase partition table
CN114791969A (en) Data query method and device
CN110781375A (en) User state identification determining method and device
CN114443181A (en) Service processing method, application generation method, server, device and equipment
US10972353B1 (en) Identifying change windows for performing maintenance on a service
CN113961610A (en) Data processing method, device, equipment and storage medium
CN109951529B (en) Resource management method and device
CN111930720A (en) Data tilt processing method, system, electronic device and medium
CN113467823B (en) Configuration information acquisition method, device, system and storage medium
CN111582398B (en) Data clustering method, device, system, server and storage medium
CN114860350B (en) Data processing method and device based on cloud diskless tree-like mirror image
CN111782482B (en) Interface pressure testing method and related equipment
CN113590085B (en) Processing method of multi-source heterogeneous data, computer equipment and storage medium
CN114721664A (en) Compiling 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