CN117951185B - Dynamic data intelligent query method, system and storage medium - Google Patents

Dynamic data intelligent query method, system and storage medium Download PDF

Info

Publication number
CN117951185B
CN117951185B CN202410354346.5A CN202410354346A CN117951185B CN 117951185 B CN117951185 B CN 117951185B CN 202410354346 A CN202410354346 A CN 202410354346A CN 117951185 B CN117951185 B CN 117951185B
Authority
CN
China
Prior art keywords
data
logic
query
dynamic
instantaneous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410354346.5A
Other languages
Chinese (zh)
Other versions
CN117951185A (en
Inventor
邢军
张健
朱锡军
李国辉
龚春生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jishu Technology Co ltd
Original Assignee
Guangzhou Jishu 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 Guangzhou Jishu Technology Co ltd filed Critical Guangzhou Jishu Technology Co ltd
Priority to CN202410354346.5A priority Critical patent/CN117951185B/en
Publication of CN117951185A publication Critical patent/CN117951185A/en
Application granted granted Critical
Publication of CN117951185B publication Critical patent/CN117951185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application relates to the technical field of data processing, and discloses a dynamic data intelligent query method, a system and a storage medium, wherein the method comprises the following steps: configuring data dynamic logic; acquiring a query logic item based on the data query condition; acquiring instantaneous data slice data based on the time-sequential data stream in the dynamic database; acquiring data transient logic based on transient data slice data; matching the query logic item with the data transient logic to obtain at least one dynamic data and a data address thereof as a query result; and repeatedly matching the query logic item with the data transient logic and updating the query result. The dynamic data intelligent inquiry system and the storage medium are corresponding to the method. According to the application, through the configuration of the data dynamic logic, the analysis of the query logic item, the acquisition of the data instantaneous logic and the matching between the query logic item and the data instantaneous logic, the high correlation between the query condition and the queried dynamic data is realized, and the accuracy of the query result is improved.

Description

Dynamic data intelligent query method, system and storage medium
Technical Field
The application relates to the technical field of data processing, in particular to a dynamic data intelligent query method, a system and a storage medium.
Background
To ensure the efficiency of data query, conventional data query methods generally use a plurality of keywords such as: the data query method is generally suitable for static data query, and the data characteristics of dynamic data are variable and possibly various, so that the query method which is the same as the static data cannot meet the requirement of query service, and the problem of low efficiency and poor accuracy exists in the query of the dynamic data in the static data query method.
Disclosure of Invention
The application aims to provide a dynamic data intelligent query method, a system and a storage medium, so as to ensure the accuracy of a detection result.
In order to achieve the above purpose, the present application discloses the following technical solutions:
In a first aspect, the application discloses a dynamic data intelligent query method, which comprises the following steps:
configuring data dynamic logic based on the data type of the queried data;
inputting data query conditions, and carrying out logic analysis on the data query conditions to obtain query logic items;
Acquiring a time-sequential data stream in a dynamic database, wherein the time-sequential data stream comprises a dynamic data segment generated by dynamic data at least at two dynamic change time nodes, and performing data slicing on the time-sequential data stream to acquire instantaneous data slice data;
performing logic analysis on the instantaneous data slice data to obtain data instantaneous logic;
Matching the query logic item with the data transient logic, and obtaining at least one dynamic data and a data address thereof as a query result to output;
and repeatedly matching the query logic item with the data transient logic, and updating the query result in real time.
Preferably, the data type configuration data dynamic logic based on the queried data specifically includes:
And acquiring the dynamic change of the queried data based on the data type of the queried data of the big data, and extracting the logic characteristic corresponding to the dynamic change as the data dynamic logic corresponding to the queried data.
Preferably, the logic analysis is performed on the data query condition to obtain a query logic item, which specifically includes:
carrying out data analysis on the data query conditions;
performing traversal matching on the data query conditions after data analysis according to preset logic characteristics;
and taking the matched logic characteristics as the query logic items.
Preferably, the instantaneous data slice data includes at least one data dynamic logic corresponding to the time-sequential data stream.
Preferably, when the instantaneous data slice data does not have the corresponding data dynamic logic, the instantaneous data slice data is discarded as invalid data, and the data slice is carried out on the sequential data stream again until the generated instantaneous data slice data comprises at least one data dynamic logic corresponding to the sequential data stream, the instantaneous data slice data is reserved and the logic analysis is carried out.
Preferably, the logic analysis specifically includes:
Performing traversal matching on the instantaneous data slice data according to preset logic characteristics;
and taking the matched logic characteristic as the data transient logic.
Preferably, in the matching of the query logic item and the data transient logic, when the matching is unsuccessful, the transient data slice data is discarded as invalid data, and the dynamic data corresponding to the transient data slice data is acquired again in a time-wise manner.
Preferably, in said matching of the query logic terms with said data transient logic, when the result of the matching isAnd/o-Is a positive integer and/>At this time, query logic terms and the/>, are computedAnd carrying out matching degree calculation on data transient logic of dynamic data corresponding to the matched results, generating a result sequence according to a ranking mode of the matching degree from large to small, and assigning a data address to each dynamic data in the result sequence to serve as the query result.
The application discloses a dynamic data intelligent query system, which is suitable for the dynamic data intelligent query method, and comprises a logic configuration module, a query analysis module, a slice processing module, a logic analysis module and a result output module;
The logic configuration module is configured to: configuring data dynamic logic based on the data type of the queried data;
the query parsing module is configured to: inputting data query conditions, and carrying out logic analysis on the data query conditions to obtain query logic items;
The slice processing module is configured to: acquiring a time-sequential data stream in a dynamic database, wherein the time-sequential data stream comprises a dynamic data segment generated by dynamic data at least at two dynamic change time nodes, and performing data slicing on the time-sequential data stream to acquire instantaneous data slice data;
the logic analysis module is configured to: performing logic analysis on the instantaneous data slice data to obtain data instantaneous logic;
the result output module is configured to: and matching the query logic item with the data transient logic, and obtaining at least one dynamic data and a data address thereof as a query result to output.
In a third aspect, the present application discloses a computer readable storage medium having stored thereon a computer program executable by a processor, which when executed by the processor, implements a dynamic data intelligent query method as described above.
The beneficial effects are that: according to the intelligent query method, system and storage medium for the dynamic data, through configuration of the dynamic data logic, analysis of the query logic items, acquisition of the instantaneous data logic and matching between the query logic items and the instantaneous data logic, high correlation between query conditions and the queried dynamic data is achieved, and then through updating of the continuously performed query results, accuracy of the results when the dynamic data is queried is achieved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a dynamic data intelligent query method according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be clear and complete, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In a first aspect, the embodiment discloses a dynamic data intelligent query method as shown in fig. 1, which includes the following steps:
S1: data dynamic logic is configured based on the data type of the queried data. The data type configuration data dynamic logic based on the queried data specifically comprises the following steps:
And acquiring the dynamic change of the queried data based on the data type of the queried data of the big data, and extracting the logic characteristic corresponding to the dynamic change as the data dynamic logic corresponding to the queried data.
S2: inputting data query conditions, and carrying out logic analysis on the data query conditions to obtain query logic items. The method comprises the steps of carrying out logic analysis on the data query conditions to obtain query logic items, and specifically comprises the following steps:
carrying out data analysis on the data query conditions;
performing traversal matching on the data query conditions after data analysis according to preset logic characteristics;
and taking the matched logic characteristics as the query logic items.
S3: and acquiring a time-sequential data stream in the dynamic database, wherein the time-sequential data stream comprises a dynamic data segment generated by dynamic data at least at two dynamic change time nodes, and performing data slicing on the time-sequential data stream to acquire instantaneous data slice data. Wherein the instantaneous data slice data comprises at least one data dynamic logic corresponding to the time-sequential data stream. And in the inquiring process, when the instantaneous data slice data does not have the corresponding data dynamic logic, discarding the instantaneous data slice data as invalid data, and carrying out data slicing on the sequential data stream again until the generated instantaneous data slice data comprises at least one data dynamic logic corresponding to the sequential data stream, reserving the instantaneous data slice data and carrying out logic analysis.
S4: and carrying out logic analysis on the instantaneous data slice data to obtain data instantaneous logic. The logic analysis specifically comprises the following steps:
Performing traversal matching on the instantaneous data slice data according to preset logic characteristics;
and taking the matched logic characteristic as the data transient logic.
S5: and matching the query logic item with the data transient logic, and obtaining at least one dynamic data and a data address thereof as a query result to output. And in the process of matching the query logic item with the data transient logic, when the matching is unsuccessful, discarding the transient data slice data as invalid data, and re-acquiring the dynamic data corresponding to the transient data slice data in a time-consuming manner. And in the matching of the query logic item and the data transient logic, when the matching result is thatAnd/o-Is a positive integer and/>At this time, query logic terms and the/>, are computedAnd carrying out matching degree calculation on data transient logic of dynamic data corresponding to the matched results, generating a result sequence according to a ranking mode of the matching degree from large to small, and assigning a data address to each dynamic data in the result sequence to serve as the query result.
S6: and repeatedly matching the query logic item with the data transient logic, and updating the query result in real time. It will be appreciated that when the query conditions are more accurate, the number of dynamic data corresponding to the output query results will generally be less and less in a continuous update over a period of time, and thus the query results will more and more correspond to the query conditions.
By means of the intelligent query method for the dynamic data, the high correlation between the query condition and the queried dynamic data is achieved through the configuration of the dynamic data logic, the analysis of the query logic items, the acquisition of the instantaneous data logic and the matching between the query logic items and the instantaneous data logic, and the accuracy of the results when the dynamic data is queried is achieved through the continuous updating of the query results.
The embodiment in a second aspect discloses a dynamic data intelligent query system suitable for the dynamic data intelligent query method, which comprises a logic configuration module, a query analysis module, a slice processing module, a logic analysis module and a result output module;
The logic configuration module is configured to: configuring data dynamic logic based on the data type of the queried data;
the query parsing module is configured to: inputting data query conditions, and carrying out logic analysis on the data query conditions to obtain query logic items;
The slice processing module is configured to: acquiring a time-sequential data stream in a dynamic database, wherein the time-sequential data stream comprises a dynamic data segment generated by dynamic data at least at two dynamic change time nodes, and performing data slicing on the time-sequential data stream to acquire instantaneous data slice data;
the logic analysis module is configured to: performing logic analysis on the instantaneous data slice data to obtain data instantaneous logic;
the result output module is configured to: and matching the query logic item with the data transient logic, and obtaining at least one dynamic data and a data address thereof as a query result to output.
It should be noted that, the dynamic data intelligent query system of the present embodiment corresponds to the foregoing dynamic data intelligent query method, so that the technical effects generated by the dynamic data intelligent query system correspond to the corresponding technical effects in the dynamic data intelligent query method, which is not described herein.
The present embodiment in a third aspect discloses a computer readable storage medium having stored thereon a computer program executable by a processor, which when executed by the processor, implements a dynamic data intelligent querying method as described above.
In the embodiments provided by the present application, it is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, code, or any suitable combination thereof. For a hardware implementation, the processor may be implemented in one or more of the following units: an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, other electronic units designed to perform the functions described herein, or a combination thereof. For a software implementation, some or all of the flow of an embodiment may be accomplished by a computer program to instruct the associated hardware. When implemented, the above-described programs may be stored in or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. The computer-readable storage media may include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
Finally, it should be noted that: the foregoing description is only illustrative of the preferred embodiments of the present application, and although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described, or equivalents may be substituted for elements thereof, and any modifications, equivalents, improvements or changes may be made without departing from the spirit and principles of the present application.

Claims (7)

1. The intelligent query method for the dynamic data is characterized by comprising the following steps of:
configuring data dynamic logic based on the data type of the queried data;
inputting data query conditions, and carrying out logic analysis on the data query conditions to obtain query logic items;
Acquiring a time-sequential data stream in a dynamic database, wherein the time-sequential data stream comprises a dynamic data segment generated by dynamic data at least at two dynamic change time nodes, and performing data slicing on the time-sequential data stream to acquire instantaneous data slice data;
performing logic analysis on the instantaneous data slice data to obtain data instantaneous logic;
Matching the query logic item with the data transient logic, and obtaining at least one dynamic data and a data address thereof as a query result to output;
Repeatedly matching the query logic item with the data transient logic, and updating the query result in real time;
the data type configuration data dynamic logic based on the queried data specifically comprises the following steps:
Acquiring the dynamic change of the queried data based on the data type of the queried data of the big data, and extracting the logic characteristic corresponding to the dynamic change as the data dynamic logic corresponding to the queried data;
The logic analysis is carried out on the data query condition to obtain a query logic item, which comprises the following steps:
carrying out data analysis on the data query conditions;
performing traversal matching on the data query conditions after data analysis according to preset logic characteristics;
taking the matched logic characteristics as the query logic items;
And when the instantaneous data slice data does not have the corresponding data dynamic logic, discarding the instantaneous data slice data as invalid data, and carrying out data slicing on the time-sequential data stream again until the generated instantaneous data slice data comprises at least one data dynamic logic corresponding to the time-sequential data stream, reserving the instantaneous data slice data and carrying out logic analysis.
2. The intelligent query method for dynamic data according to claim 1, wherein said instantaneous data slice data comprises at least one data dynamic logic corresponding to said time-sequential data stream.
3. The intelligent query method for dynamic data according to claim 1, wherein the logic analysis specifically comprises:
Performing traversal matching on the instantaneous data slice data according to preset logic characteristics;
and taking the matched logic characteristic as the data transient logic.
4. The intelligent query method of claim 1, wherein in said matching the query logic item with the data transient logic, when the matching is unsuccessful, discarding the transient data slice data as invalid data, and re-acquiring the dynamic data corresponding to the transient data slice data in a time-wise data stream.
5. The intelligent query method according to claim 1, wherein in said matching of query logic terms to said data transient logic, when the result of the matching isAnd/o-Is a positive integer and/>At this time, query logic terms and the/>, are computedAnd carrying out matching degree calculation on data transient logic of dynamic data corresponding to the matched results, generating a result sequence according to a ranking mode of the matching degree from large to small, and assigning a data address to each dynamic data in the result sequence to serve as the query result.
6. A dynamic data intelligent query system, which is suitable for the dynamic data intelligent query method according to any one of claims 1-5, and is characterized by comprising a logic configuration module, a query analysis module, a slice processing module, a logic analysis module and a result output module;
The logic configuration module is configured to: configuring data dynamic logic based on the data type of the queried data;
the query parsing module is configured to: inputting data query conditions, and carrying out logic analysis on the data query conditions to obtain query logic items;
The slice processing module is configured to: acquiring a time-sequential data stream in a dynamic database, wherein the time-sequential data stream comprises a dynamic data segment generated by dynamic data at least at two dynamic change time nodes, and performing data slicing on the time-sequential data stream to acquire instantaneous data slice data;
the logic analysis module is configured to: performing logic analysis on the instantaneous data slice data to obtain data instantaneous logic;
The result output module is configured to: matching the query logic item with the data transient logic, and obtaining at least one dynamic data and a data address thereof as a query result to output;
the data type configuration data dynamic logic based on the queried data specifically comprises the following steps:
Acquiring the dynamic change of the queried data based on the data type of the queried data of the big data, and extracting the logic characteristic corresponding to the dynamic change as the data dynamic logic corresponding to the queried data;
The logic analysis is carried out on the data query condition to obtain a query logic item, which comprises the following steps:
carrying out data analysis on the data query conditions;
performing traversal matching on the data query conditions after data analysis according to preset logic characteristics;
taking the matched logic characteristics as the query logic items;
And when the instantaneous data slice data does not have the corresponding data dynamic logic, discarding the instantaneous data slice data as invalid data, and carrying out data slicing on the time-sequential data stream again until the generated instantaneous data slice data comprises at least one data dynamic logic corresponding to the time-sequential data stream, reserving the instantaneous data slice data and carrying out logic analysis.
7. A computer readable storage medium, having stored thereon a computer program executable by a processor, which when executed by the processor, implements the dynamic data intelligent querying method according to any of claims 1-5.
CN202410354346.5A 2024-03-27 2024-03-27 Dynamic data intelligent query method, system and storage medium Active CN117951185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410354346.5A CN117951185B (en) 2024-03-27 2024-03-27 Dynamic data intelligent query method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410354346.5A CN117951185B (en) 2024-03-27 2024-03-27 Dynamic data intelligent query method, system and storage medium

Publications (2)

Publication Number Publication Date
CN117951185A CN117951185A (en) 2024-04-30
CN117951185B true CN117951185B (en) 2024-06-07

Family

ID=90798359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410354346.5A Active CN117951185B (en) 2024-03-27 2024-03-27 Dynamic data intelligent query method, system and storage medium

Country Status (1)

Country Link
CN (1) CN117951185B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104064051A (en) * 2014-06-23 2014-09-24 银江股份有限公司 Locating information dynamic matching method for passenger portable mobile terminal and taken bus
CN111261290A (en) * 2020-01-08 2020-06-09 来康科技有限责任公司 Method and system for determining characteristic information of target object
CN111897849A (en) * 2020-08-21 2020-11-06 中国工商银行股份有限公司 Data query method and device
CN112948439A (en) * 2021-03-05 2021-06-11 北京北大千方科技有限公司 Method, device, medium and equipment for processing GIS data query request in real time
CN112988781A (en) * 2021-02-02 2021-06-18 北京金山云网络技术有限公司 Data query method and device, electronic equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9262494B2 (en) * 2013-12-30 2016-02-16 Microsoft Technology Licensing, Llc Importing data into dynamic distributed databases

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104064051A (en) * 2014-06-23 2014-09-24 银江股份有限公司 Locating information dynamic matching method for passenger portable mobile terminal and taken bus
CN111261290A (en) * 2020-01-08 2020-06-09 来康科技有限责任公司 Method and system for determining characteristic information of target object
CN111897849A (en) * 2020-08-21 2020-11-06 中国工商银行股份有限公司 Data query method and device
CN112988781A (en) * 2021-02-02 2021-06-18 北京金山云网络技术有限公司 Data query method and device, electronic equipment and computer readable storage medium
CN112948439A (en) * 2021-03-05 2021-06-11 北京北大千方科技有限公司 Method, device, medium and equipment for processing GIS data query request in real time

Also Published As

Publication number Publication date
CN117951185A (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN111523072B (en) Page access data statistics method and device, electronic equipment and storage medium
CN104361115A (en) Entry weight definition method and device based on co-clicking
CN105005567B (en) Interest point query method and system
CN113704307A (en) Data query method, device, server and computer readable storage medium
CN108241709B (en) Data integration method, device and system
CN117951185B (en) Dynamic data intelligent query method, system and storage medium
CN110555034B (en) Data query paging method, device, server and medium
CN106815179B (en) Text similarity determination method and device
US20170277687A1 (en) System and methods for searching documents in a relational database using a tree structure stored in a tabular format
CN111797095B (en) Index construction method and JSON data query method
CN111814041A (en) NPM package recommendation method and device, storage medium and computer equipment
JP2018055648A (en) Acceleration system and acceleration method
CN112699260A (en) Species identification method and device
CN115114321A (en) Dynamic query method and system
CN113297204B (en) Index generation method and device
CN112100313B (en) Data indexing method and system based on finest granularity segmentation
CN113626651A (en) Data matching method and device
CN114742028A (en) Feature-based JSON consistency comparison detection method and system
CN110990611B (en) Picture caching method and device, electronic equipment and storage medium
CN106874400A (en) A kind of data processing method and server
CN111259121A (en) Log processing method, device, equipment and computer readable storage medium
CN109725982B (en) Data object construction method and device
CN113296687A (en) Data processing method, device, computing equipment and medium
CN111552856A (en) Microblog public opinion propagation path analysis method
CN114338528B (en) Method and device for inquiring table items

Legal Events

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