CN116955856A - Information display method, device, electronic equipment and storage medium - Google Patents

Information display method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116955856A
CN116955856A CN202310953109.6A CN202310953109A CN116955856A CN 116955856 A CN116955856 A CN 116955856A CN 202310953109 A CN202310953109 A CN 202310953109A CN 116955856 A CN116955856 A CN 116955856A
Authority
CN
China
Prior art keywords
index
target
queried
query
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310953109.6A
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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202310953109.6A priority Critical patent/CN116955856A/en
Publication of CN116955856A publication Critical patent/CN116955856A/en
Pending legal-status Critical Current

Links

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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data
    • 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/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/45Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/483Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • 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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • 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

Abstract

The disclosure provides an information display method, an information display device, electronic equipment and a storage medium, relates to the technical field of data processing, and particularly relates to the technical field of big data and the technical field of financial science and technology. The specific implementation scheme is as follows: determining index attributes corresponding to a plurality of indexes to be queried in the received index query information; determining a plurality of indexes to be queried as at least one target index set to be queried according to the index attribute; performing query operation on the target index set to be queried to obtain index query results; and displaying the index query result in the interactive interface.

Description

Information display method, device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to the field of big data technologies and financial technology. And in particular, to an information display method, an information display device, electronic equipment and a storage medium.
Background
In the application scenarios such as financial risk control, a server is required to process financial data to obtain relevant wind control indexes. Meanwhile, intelligent equipment such as a database server is needed to store financial data or related wind control indexes so as to conveniently and timely inquire the wind control indexes.
Disclosure of Invention
The disclosure provides an information display method, an information display device, electronic equipment and a storage medium.
According to an aspect of the present disclosure, there is provided an information display method including: determining index attributes corresponding to a plurality of indexes to be queried in the received index query information; determining a plurality of indexes to be queried as at least one target index set to be queried according to the index attribute; performing query operation on the target index set to be queried to obtain index query results; and displaying the index query result in the interactive interface.
According to another aspect of the present disclosure, there is provided an information display apparatus including: the index attribute determining module is used for determining index attributes corresponding to a plurality of indexes to be queried in the received index query information; the target index set to be queried determining module is used for determining a plurality of indexes to be queried as at least one target index set to be queried according to index attributes; the index query result obtaining module is used for executing query operation aiming at the target index set to be queried to obtain an index query result; and the index query result display module is used for displaying the index query result in the interactive interface.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method provided in accordance with an embodiment of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform a method provided according to an embodiment of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method provided according to embodiments of the present disclosure.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 schematically illustrates an exemplary system architecture to which information presentation methods and apparatuses may be applied according to embodiments of the present disclosure.
Fig. 2 schematically shows a flowchart of an information presentation method according to an embodiment of the present disclosure.
Fig. 3 schematically illustrates a schematic diagram of an information query system according to an embodiment of the present disclosure.
Fig. 4 schematically illustrates a schematic diagram of an information presentation method according to an embodiment of the present disclosure.
Fig. 5 schematically illustrates a schematic diagram of an information presentation method according to another embodiment of the present disclosure.
Fig. 6 schematically shows a block diagram of an information presentation apparatus according to an embodiment of the present disclosure.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related personal information of the user all conform to the regulations of related laws and regulations, necessary security measures are taken, and the public order harmony is not violated.
Financial risk prevention and control is a very important task for financial institutions. The risk control for financial data requires strong software technical support. Software platforms such as a wind control engine and the like can simplify the wind control flow, and timely discover potential risk attributes in the risk indexes. The financial data is monitored through the software platform, so that corresponding wind control indexes can be generated, and the wind control strategy can be adjusted according to the query result of the key wind control indexes. Software platforms such as a wind control engine are widely applied to financial institutions such as banks and the like and widely applied to various financial business scenes.
An index (e.g., a wind control index) may be considered as a data tool that can intuitively reflect business changes. The index may be, for example, daily transactions, number of logins in 10 minutes, etc. By aggregating, analyzing and processing the wind control index metadata, a wind control index for assessing the level of wind control may be further obtained. After the relevant wind control indexes are obtained, the wind control indexes can be analyzed according to the service requirements and the relevant legal requirements, so that the problems in the service development process can be solved, and necessary prevention and control measures can be timely taken.
The present disclosure provides an information display method, including: determining index attributes corresponding to a plurality of indexes to be queried in the received index query information; determining a plurality of indexes to be queried as at least one target index set to be queried according to the index attribute; performing query operation on the target index set to be queried to obtain index query results; and displaying the index query result in the interactive interface.
According to the embodiment of the disclosure, the multiple indexes to be queried are determined to be the target index sets to be queried with the same index attribute, so that the parallel execution of query operations on different target index sets to be queried can be realized, the query efficiency of the indexes to be queried is further improved, and meanwhile, the index query results can be timely fed back to the user through displaying the index query results in the interactive interface, so that the index query requirements of the user can be met in real time.
Fig. 1 schematically illustrates an exemplary system architecture to which information presentation methods and apparatuses may be applied according to embodiments of the present disclosure.
It should be noted that fig. 1 is only an example of a system architecture to which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios. For example, in another embodiment, an exemplary system architecture to which the information display method and apparatus may be applied may include a terminal device, but the terminal device may implement the information display method and apparatus provided by the embodiments of the present disclosure without interaction with a server.
As shown in fig. 1, a system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired and/or wireless communication links, and the like.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 101, 102, 103, such as a knowledge reading class application, a web browser application, a search class application, an instant messaging tool, a mailbox client and/or social platform software, etc. (as examples only).
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for content browsed by the user using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the information presentation method provided by the embodiments of the present disclosure may be generally performed by the server 105. Accordingly, the information presentation apparatus provided by the embodiments of the present disclosure may be generally provided in the server 105. The information presentation method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the information presentation apparatus provided by the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
Alternatively, the information presentation method provided by the embodiments of the present disclosure may be generally performed by the terminal device 101, 102, or 103. Accordingly, the information presentation apparatus provided by the embodiments of the present disclosure may also be provided in the terminal device 101, 102, or 103.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically shows a flowchart of an information presentation method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S210 to S240.
In operation S210, index attributes corresponding to the multiple indexes to be queried in the received index query information are determined.
In operation S220, a plurality of indexes to be queried are determined as at least one target index set to be queried according to the index attribute.
In operation S230, a query operation is performed with respect to the target index set to be queried, to obtain an index query result.
In operation S240, the index query result is displayed in the interactive interface.
According to embodiments of the present disclosure, the index query information may be obtained based on a query instruction of a user, or may also be obtained after parsing an index query request from a client. The respective index attributes of the indexes to be queried can be any type of attribute representing the index type, index data format, index production time and the like of the indexes to be queried, the specific attribute type of the index attribute is not limited in the embodiment of the disclosure, and a person skilled in the art can select according to actual requirements.
According to the embodiment of the disclosure, the target to-be-queried index set may include one or more target to-be-queried indexes, the target to-be-queried indexes in the target to-be-queried index set may have the same index attribute, and the index query result corresponding to the target to-be-queried index set may represent the user for the target to-be-queried index
According to the embodiment of the disclosure, in the case that the target index set to be queried includes a plurality of target index sets, query operations can be performed in parallel for the plurality of target index sets to be queried, so as to improve query efficiency. The query operation is carried out on the target to-be-queried index set with the same index attribute, and the index query result related to the index attribute of the target to-be-queried index set can be generated, so that fine-grained query can be carried out on index query information from the dimension of the index attribute, and the query result corresponding to the index attribute is displayed in the interactive interface, so that the classified display of the index query result can be realized, the classified feedback of the query information according to the index attribute is further realized, the intuitiveness of the index query result is improved, and the query requirement of a user is met.
It should be noted that, the index query result may include index data corresponding to the target query index. The index data may be any type of data such as numerical values, charts, etc. suitable for generating index query results. The index data can be directly inquired from the database based on the expression, or the index data to be inquired can be obtained after the index metadata are processed based on the related expression.
Fig. 3 schematically illustrates a schematic diagram of an information query system according to an embodiment of the present disclosure.
As shown in fig. 3, the information query system 300 may be a system adapted to perform the information presentation method provided in accordance with an embodiment of the present disclosure. The information query system 300 may include a software development kit module 310, an index update module 321, a query engine module 322, an index management module 323, and a storage engine module 330.
The software development kit module 310 may support a user to interact with other modules through various APIs (Application Programming Interface, application programming interfaces) provided by the SDK (Software Development Kit ). For example, the index update module 321, the query engine module 322, and the index management module 323 may be respectively corresponding based on an index update toolkit, an index query toolkit, an index routing toolkit, and an index management toolkit included in the software development toolkit module 310. The software development kit module 310 can provide a kit suitable for managing and inquiring the index data for the user, so that the user can configure the index through the calling interface, the compatibility and flexibility of sum management of the index are improved through an SDK mode, and the development cost is saved.
The index management module 323 can define index metadata or a structure of the index data, namely, define the data structure of the index to be queried, for example, can define the index metadata or the structure of the index data based on an array, so that the index metadata or the index data related to the index to be queried is divided into independent storage spaces, logical nesting among the index metadata or the index data with different index attributes is avoided, and the accuracy of index query is improved.
For example, an index namespace management unit in the index management module 323 may define a data structure of the index to be queried based on the following six-tuple structure.
< namespace >, < operator name >, < index storage type >, < index storage data type >, < index name >, < value (index value >).
For another example, the index metadata management unit in the index management module 323 may map the index metadata of different index storage types in the storage engine module 330 to six tuples to meet the call requirement of the index metadata.
According to embodiments of the present disclosure, index metadata or a storage structure of index data may also be defined based on the form of table 1.
TABLE 1
According to embodiments of the present disclosure, index metadata or the storage structure of index data is defined by the contents of table 1, an independent storage space range may be provided for stored indexes through a namespace, i.e., index identifications (or index names) are unique within the namespace and cannot span the namespace, and different namespaces cannot be nested with each other. Furthermore, the value in the six-tuple constructed according to table 1 may be a data value, for example, a data value stored based on a key value type. Alternatively, the value may have a data structure of another data type, for example, based on the index stored in the key type, the value may be set as a hash table containing index data, that is, a set of index data may be mounted on one index identifier. The storage structure based on the defined index can realize parallel query of target index sets to be queried aiming at different index attributes, for example, a plurality of key values in a hash table can be taken out at one time for processing. In addition, the data structure corresponding to the value can also be changed for different index storage types, so that the storage flexibility and suitability of index data or index metadata are improved.
It should be noted that the index attribute may include any one or more of an index storage type, an index storage data type, an operator identifier, or a namespace in a six-tuple, which is not limited by embodiments of the present disclosure.
As shown in fig. 3, the storage engine module 330 may be a module integrating a plurality of storage components, and the main function of the storage engine module 330 may be to respond to a request of an upper module (e.g., the index management module 323, the index update module 321, etc.), and distribute the six-tuple and index metadata therein to different types of database storage units according to index storage data types of the six-tuple related to the request.
According to embodiments of the present disclosure, the data type of the index data (i.e., index storage data type) may include at least one of: a time sequence data type, a text data type, a map data type, an image data type, a video data type, an audio data type, a key value data type, a vector data type, a space data type.
According to an embodiment of the present disclosure, the index data of the time series data type may be data having a time series attribute, for example, may be transaction data related to transaction time, or the like.
According to embodiments of the present disclosure, the index data of the text data type may be any text data of a contract, an agreement, or the like.
According to an embodiment of the present disclosure, the index data of the profile data type may be knowledge-profile information, or graph information having a graph structure.
According to an embodiment of the present disclosure, the index data of the spatial data type may be data related to a spatial position for indicating the spatial position, the spatial trajectory, or the like. For example, the index data of the spatial data type may be GIS (Geographic Information System ) data or the like.
According to embodiments of the present disclosure, index data of an image data type may be stored in a database, and the index data of the image data type may be converted based on an image recognition algorithm. For example, text data in index data of image data may be recognized based on OCR (Optical Character Recognition ), index data of a text data type may be obtained, and the index data of the text data type may be associated with the index data of the image data type. For example, an image representation of the index data of the image data type is determined, and a plurality of first similarities are obtained by determining similarities between the index data of the image data type and each of the first index data of the plurality of text data types based on the image representation and the first text representations corresponding to each of the first index data of the plurality of text data types. According to the first similarities, first target index data of the text data type is determined from the first index data of the text data types, and the first target index data of the text data type is associated with the index data of the image data type.
According to the embodiment of the disclosure, the index data of the audio data type can be processed based on the audio recognition algorithm to obtain the index data of the text data type. For example, index data of a text data type corresponding to the index data of a speech data type is recognized based on speech recognition (Automatic Speech Recognition, ASR), and the index data of the text data type is associated with the index data of an audio data type. For example, an audio representation of the index data of the audio data type is determined, and a plurality of second similarities are obtained by determining similarities between the index data of the audio data type and each of the second index data of the plurality of text data types based on the audio representation and each of the second text representations corresponding to each of the second index data of the plurality of text data types. And determining second target index data of the text data type from the second index data of the text data types according to the second similarities, and associating the second target index data of the text data type with the index data of the audio data type.
According to the embodiment of the disclosure, the index data of the video data type can be subjected to voice recognition based on voice recognition, and the identified caption is used as the index data of the text data type to be associated with the index data of the video data type. For example, it is possible to identify index data of a video data type based on an image classification algorithm, and associate the classification result obtained by the identification as index data of a text data type with index data of a video data type. For example, a video representation of the index data of the video data type is determined, and a plurality of third similarities are obtained by determining similarities between the index data of the video data type and each of the third index data of the plurality of text data types based on the video representation and each of the third text representations corresponding to each of the third index data of the plurality of text data types. And determining third target index data of the text data type from the third index data of the text data types according to the third similarity, and associating the third target index data of the text data type with the index data of the video data type.
According to embodiments of the present disclosure, the index storage data type may further include other data types such as a key value data type, a vector data type, and the specific data type of the index data is not limited in the embodiments of the present disclosure.
The storage engine module shown in fig. 3 may be constructed based on the contents shown in table 2 according to an embodiment of the present disclosure.
TABLE 2
As shown in fig. 3, the storage engine module 330 may include a timing storage unit, a text storage unit, a vector storage unit, a collection storage unit, a key value storage unit, a space storage unit, and a map data storage unit. The time sequence storage unit can be constructed based on a Redis database and is suitable for storing index data or index metadata of time sequence data types. The text storage unit can be constructed based on an elastic search full-text search engine and is suitable for storing index data or index metadata of a text data type. The vector storage unit may be constructed based on a vector search database, and is adapted to store index data or index metadata of a vector data type. The key value storage unit can be constructed based on a Redis database and is suitable for storing index data or index metadata of the key value data type. The space storage unit can be constructed based on a MongoDB Geo database, and is suitable for storing index data or index metadata of space data types so as to support query and processing operations on the geospatial data. The map data storage unit can be constructed based on a Dgraph database and is suitable for storing index data or index metadata of the map data type so as to support query and processing operation of entities and relations of the map data.
In accordance with an embodiment of the present disclosure, in the case where the index storage type of the index metadata is a vector data type, for example, authorized fingerprint information may be embedded into a vector index library (e.g., vearch). This allows searching of fingerprint information in the vector index library based on the index query information. So as to improve the information query efficiency. For another example, in some business scenarios, the target index to be queried may be a set of a long string of entities and relationships, so that the entities and relationships of the index data may be stored based on a graph database (e.g., dgraph) to facilitate subsequent index query or calculation of the index data.
According to the embodiment of the disclosure, a user may perform information interaction with the query engine module 322, for example, the query engine module 322 may obtain index query information, obtain an index storage type related to target information to be queried according to an index identifier to be queried in the index query information, further call an index operator in an index operator library to construct an expression, query index data from a storage unit corresponding to the storage engine module according to the expression, return the queried index data as an index query result to a client of the user, and display the index query result on an interactive interface of the client.
According to the embodiment of the disclosure, by constructing the corresponding storage units for the index data and/or the index metadata of different index storage types, the differentiation processing of the index data and/or the index metadata of different index storage types can be realized, so that the accuracy and generalization capability of the generated index are improved, the generation requirement of the wind control scene for the diversified index is further improved, and the accuracy of the index query result is improved.
As shown in FIG. 3, the index update module 321 may be used to update the six tuples defined by the index management module 323. For example, the index six-tuple to be updated may be obtained based on the name space of the index update statement, the index attribute such as the index value in the index six-tuple to be updated may be updated, or the index metadata to be updated stored in the storage engine module 330 may be located according to the index type and the index identifier of the six-tuple, and the index metadata to be updated may be updated according to the index update statement, so as to implement the mapping relationship between the updated six-tuple and the index metadata in the storage engine module 330.
According to the information presentation method provided by the embodiment of the disclosure, index metadata or index data can be further updated based on the index update statement. The index update statement may be a DML (Data Definition Language ) statement that only supports insert and delete operations and does not support update operations, and when performing an index metadata update operation, the index storage six-tuple of the previous insert index metadata is deleted, and then a new insert operation statement is executed. Therefore, the data type change of index metadata generated by different index storage types can be avoided, the storage errors of the index metadata are reduced, the query errors of index query results are reduced, and the query efficiency is improved.
According to an embodiment of the present disclosure, determining index attributes corresponding to each of a plurality of indexes to be queried in the received index query information may include: determining the index identification to be queried of each of a plurality of indexes to be queried from index query information; and determining the index attribute corresponding to the index to be queried from the index array matched with the index identifier to be queried.
According to an embodiment of the present disclosure, the index array includes an index identifier and an index attribute, the index attribute includes an index storage type, the index storage type characterizes a data type of index data related to the index identifier, and target indexes to be queried in the target index set have the same index storage type.
According to the embodiment of the disclosure, by determining the index storage type of each index identifier to be queried, a plurality of indexes to be queried can be determined as one or more target index sets to be queried, so that the indexes to be queried can be grouped according to the index storage types, and thus different types of storage areas can be accessed in parallel, for example, different types of storage units can be accessed, parallel query on index query information can be realized, and query efficiency can be improved.
According to the embodiment of the disclosure, the index attribute may further include a named name, and the index to be queried having the same named name in the index query information may be determined as the target index set to be queried, so that index data or index metadata may be queried from a storage space related to the named name, and thus an index query result may be obtained.
According to the embodiment of the disclosure, the service rule attribute associated with each of the plurality of index identifiers to be queried can be determined according to the index query information, the service rule relation among the plurality of index identifiers to be queried is determined according to the service rule attribute, and the plurality of index identifiers to be queried with the service rule relation association are determined as the target index set to be queried, so that the target index set to be queried of the service rule relation can be combined and queried, and the index query result error is avoided.
According to an embodiment of the present disclosure, the index array may further include an index operator identification, the index operator identification being associated with the index operator.
According to an embodiment of the present disclosure, performing a query operation with respect to a target index set to be queried, obtaining an index query result may include: determining a target index operator identifier related to the target index to be queried from a target index array related to the target index to be queried, wherein the target index array is an index array matched with the target index identifier to be queried; invoking a target index operator related to the target index operator identification to construct a target expression; according to the target expression, query operation aiming at target indexes to be queried is executed, and index query sub-results are obtained; and determining an index query result according to the index query sub-result.
According to an embodiment of the disclosure, the target index array related to the target index to be queried may be an index array including the target index identifier to be queried. The target index operator related to the target index operator identification can be called from the target index array according to the query requirement configured by the user in the index query information, so that a target expression (such as a query statement) which is suitable for meeting the query requirement of the index query information is constructed. In this way, the index data related to the target index to be queried can be obtained according to the target expression, and the index data related to the target index to be queried is used as an index query sub-result.
According to the embodiment of the disclosure, the index metadata related to the target index to be queried can be obtained according to the target expression, the index metadata is processed based on the target index operator, the index data related to the target index to be queried is obtained, and the index data related to the target index to be queried is used as an index query sub-result.
According to the embodiment of the disclosure, the target expression is constructed by calling the target index operator related to the target index operator identification, so that the query requirement information configured by the user in the index query information can be flexibly and automatically constructed into the execution statement capable of executing the query operation through the user-defined index operator, and the problem of overlong time length generated by editing the query statement is avoided. Meanwhile, the target index operator identification and the target index identification are stored in the same array, so that the efficiency of inquiring the target index operator can be improved, the index operator inquiring error is avoided, and the accuracy of index inquiring sub-results is improved.
It should be noted that an averager expression engine may be introduced, and the averager expression engine may perform and execute a query operation or an operation by directly translating an expression into a corresponding code. Meanwhile, a whole set of built-in operators of the query engine can be expanded by combining query language of the database data engine and a pre-constructed index operator library, so that the automatic editing capability of a target expression is optimized according to the constructed index operator library, the processing capability of diversified index metadata is realized by combining the computing capability of the database engine, and the accuracy and the diversity of index query results are improved.
Fig. 4 schematically illustrates a schematic diagram of an information presentation method according to an embodiment of the present disclosure.
As shown in fig. 4, the front end index query module 401 may send the received index query information to the query engine module 410. The index attribute extraction unit 411 in the query engine module 410 may determine index attributes of each of the plurality of indexes to be queried, for example, may determine index storage types of each of the plurality of indexes to be queried. According to the index storage type, a plurality of indexes to be queried can be determined as two target index sets to be queried, and target index identifiers associated with the two target index sets to be queried are respectively sent to the parallel executors 412 and 413.
The parallel executor 412 may determine a target index operator to be invoked based on the target index identifier related to the first target index set to be queried, and construct a target expression according to the target index operator. Thus, a first set of target index metadata associated with a first target set of targets to be queried may be queried from a first storage unit 421 in the storage engine module 420 based on the target expression, and an operation for the first set of target index metadata may be performed based on a target index operator in the target expression, thereby obtaining an index query sub-result associated with the first target set of targets to be queried.
The parallel executor 413 may determine a target index operator to be called based on the target index identifier to be queried related to the second target index set to be queried, and construct a target expression according to the target index operator. Thus, a second set of target index metadata associated with a second target set of targets to be queried may be queried from a second storage unit 422 in the storage engine module 420 based on the target expression, and an operation may be performed on the second set of target index metadata based on a target index operator in the target expression, resulting in an index query sub-result associated with the second target set of targets to be queried.
It should be noted that, according to the information display method provided by the embodiment of the present disclosure, a plurality of index query information may be processed at the same time, and indexes to be queried in the plurality of index query information may be integrated into one or more target index sets to be queried, so that parallel query for the plurality of index query information may be implemented, so as to improve query efficiency.
According to an embodiment of the present disclosure, an index storage type is associated with an index cache expiration time.
According to an embodiment of the present disclosure, performing a query operation with respect to a target index set to be queried, obtaining an index query result may include: determining the index storage expiration time associated with the index storage type according to the index storage type of the target index set to be queried; under the condition that the index storage expiration time is after the current time, inquiring target index data related to target indexes to be inquired in a target cache area related to the index storage type; and determining an index query result according to the target index data.
According to an embodiment of the present disclosure, the index cache expiration time may be determined based on the queried frequency of the index data or the index metadata related to the index storage type, for example, the index cache expiration time longer than the current time duration may be set for the index storage type having the queried frequency greater than the preset query frequency threshold. For another example, for the index storage type with the queried frequency less than or equal to the preset query frequency threshold, an index cache expiration time longer than the current time can be set. In this way, the index cache expiration time of a longer period of time can be set for index data or index metadata which is queried more frequently, so that the index data or index metadata related to the index storage type is stored in the cache area, and the index metadata or index data can be read quickly.
According to an embodiment of the present disclosure, the information presentation method may further include: determining the called frequency of a target index operator; and storing the target index operator into an operator cache area under the condition that the called frequency is greater than or equal to a preset frequency threshold value.
According to an embodiment of the present disclosure, the frequency of the target index operator being invoked may be the number of times the target index operator is invoked within a preset time period. Under the condition that the called frequency of the target index operator is greater than or equal to a preset frequency threshold value, the target index operator can be confirmed to be frequently called in a preset time period, so that the target index operator can be stored in an operator cache area to improve the reading speed of the target index operator and improve the query efficiency of index query.
According to an embodiment of the present disclosure, the information presentation method may further include: determining operator execution time consumption associated with the target index operator; and storing the target index operator into an operator cache area under the condition that the operator execution time consumption is greater than or equal to a preset time length threshold.
According to the embodiment of the disclosure, the target index operator can be stored in the operator buffer area through the result of combining the operator execution time consumption related to the target index operator and the called frequency of the target index operator, so that the target index operator which is frequently called and has long execution time length can be quickly read under the condition of small buffer space.
According to the embodiment of the disclosure, the expression and the index data (i.e. the calculation result of the index metadata) can be stored in the cache area, and the history record table is created to record the query times of the index identification frequently queried, so that the user can trace back the index data in time.
According to the embodiment of the disclosure, a registration and management system for the index operator can be formed by constructing the index operator library so as to realize information processing operation according to each module in the index operator supporting system and ensure that the index operator can operate efficiently. In addition, the index operator library can be used for recording index operators used in index construction, counting the reference times and time consumption of each index operator and adding a monitoring function according to actual requirements. The index operators are continuously and newly increased along with iteration of the product, and the diversity and the richness of the index operators in the index operator library are also important indexes for measuring whether the functions of the product are complete.
According to embodiments of the present disclosure, the cache expiration time of the index operator and the index data in the target cache region may be determined based on the contents of table 3 below, so as to facilitate maintenance for the index data of the index operator in the cache.
TABLE 3 Table 3
id Operator identification
datatyp e Index storage type
status Status of
variable Variable(s)
funcsign Function identification
refercount Number of references
createdtime Creation time
updatetime Update time
label Label (Label)
category Species of type
cost Time consuming
According to an embodiment of the present disclosure, the index attribute includes a backtracking period, and the information presentation method may further include: and under the condition that the backtracking time period is greater than or equal to the preset duration, determining a plurality of backtracking time windows corresponding to the backtracking time period, wherein the duration of the backtracking time window representation is smaller than the duration of the backtracking time period representation.
According to an embodiment of the present disclosure, performing a query operation with respect to a target index set to be queried, obtaining an index query result may further include: inquiring index data related to the target index to be inquired according to the backtracking time window to obtain window index data corresponding to the backtracking time window, wherein the target index set to be inquired comprises at least one target index to be inquired; determining index query sub-results related to the target index to be queried according to window index data corresponding to each of the backtracking time windows; and obtaining an index query result according to the index query sub-result.
According to the embodiment of the disclosure, the index data related to the target index to be queried is queried according to the backtracking time window, and the window index metadata corresponding to the backtracking time window can be obtained by calling the window index metadata corresponding to the backtracking time window and calculating the window index metadata according to the target expression corresponding to the window index metadata.
According to the embodiment of the disclosure, according to window index data corresponding to each of the plurality of backtracking time windows, an index query sub-result related to the target index to be queried is determined, and the window index data may be spliced according to a time sequence relationship of each corresponding backtracking time window to obtain the index query sub-result related to the target index to be queried.
According to the embodiment of the disclosure, for business application scenes such as financial wind control, index data in a longer historical time period (for example, a time period 6 months before the current moment) needs to be queried to meet wind control specification requirements. By determining the backtracking time period with a longer time length from the current time as a plurality of backtracking time windows, the index metadata in the backtracking time windows can be queried, so that the excessive transient computing expense caused by the calculation of a large amount of index metadata is avoided, and the computing load of obtaining index query results by query is reduced.
Fig. 5 schematically illustrates a schematic diagram of an information presentation method according to another embodiment of the present disclosure.
As shown in fig. 5, N window index metadata 511, 512..to 51N corresponding to each of the N backtracking time windows may be extracted from the storage engine module 500 according to the N backtracking time windows. N window index metadata 511, 512..to 51N, by sending the doubly linked list as a complete data stream to the index metadata processing unit 520. The index metadata processing unit 520 may call the target index operators related to each of the N window index metadata 511, 512..once again to 51N in parallel based on the multithreaded executor, and construct the target expressions related to each of the N window index metadata 511, 512..once again to 51N according to the target index operators. The N window index metadata 511, 512..once again, to 51N can thus be processed in parallel in real time based on the target expression and the parallel processing mechanism of the multi-threaded executor. The N window index metadata 511, 512..the window index data corresponding to each of the N to 51N are obtained.
For another example, the N window index data may also be sent to an asynchronous memory (e.g., kafka message queue unit) so that the front end asynchronously consumes the N window index data to obtain an index query sub-result related to the target index to be queried. This reduces the data input/output pressure with the front end.
According to the embodiment of the present disclosure, the index metadata processing unit 520 may further obtain a target expression suitable for processing window index metadata by disassembling the pre-constructed expression, so that N window index metadata 511, 512..to 51N may be processed in different batches.
According to an embodiment of the present disclosure, a plurality of window index data is sent to an asynchronous storage area.
According to an embodiment of the present disclosure, determining an index query sub-result related to a target index to be queried according to window index data corresponding to each of a plurality of backtracking time windows includes: extracting a plurality of window index data from the asynchronous storage region; splicing the window index data according to the index time attribute related to each window index data to obtain target index data; and determining an index query sub-result according to the target index data.
According to an embodiment of the present disclosure, displaying the index query result in the interactive interface may include: and displaying an index query result in an index display window related to the target index set to be queried in the interactive interface, wherein the index display window corresponds to the index storage type.
According to the index display window, index query results corresponding to the index storage types are indicated, classified rendering of the index query results of different index storage types can be achieved, classified viewing of the index query results by a user is achieved, and therefore page rendering efficiency and index viewing efficiency of the user are improved.
Fig. 6 schematically shows a block diagram of an information presentation apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, the information presentation apparatus 600 includes: the system comprises an index attribute determining module 610, a target to-be-queried index set determining module 620, an index query result obtaining module 630 and an index query result displaying module 640.
The index attribute determining module 610 is configured to determine index attributes corresponding to a plurality of indexes to be queried in the received index query information.
The target index set to be queried determining module 620 is configured to determine a plurality of indexes to be queried as at least one target index set to be queried according to the index attribute.
The index query result obtaining module 630 is configured to perform a query operation on the target index set to be queried, so as to obtain an index query result.
The index query result display module 640 is configured to display the index query result in the interactive interface.
According to an embodiment of the present disclosure, the index attribute includes a backtracking time period, and the information consolidation apparatus may further include a backtracking time window determining module.
The backtracking time window determining module is used for determining a plurality of backtracking time windows corresponding to the backtracking time period when the backtracking time period is greater than or equal to the preset duration, and the duration of the backtracking time window representation is smaller than the duration of the backtracking time period representation.
The index query result obtaining module comprises: the system comprises a window index data obtaining unit, a first index query sub-result determining unit and a first index query result obtaining unit.
The window index data obtaining unit is used for inquiring index data related to the target index to be inquired according to the backtracking time window to obtain window index data corresponding to the backtracking time window, and the target index set to be inquired comprises at least one target index to be inquired.
The first index query sub-result determining unit is used for determining index query sub-results related to the target index to be queried according to window index data corresponding to each of the plurality of backtracking time windows.
The first index query result obtaining unit is used for obtaining an index query result according to the index query sub-result.
According to an embodiment of the present disclosure, a plurality of window index data is sent to an asynchronous storage area.
Wherein the first index query sub-result determining unit includes: the window index data obtaining subunit, the target index data obtaining subunit and the first index query sub-result obtaining subunit.
And a window index data obtaining subunit for extracting a plurality of window index data from the asynchronous storage area.
The target index data obtaining subunit is used for splicing the window index data according to the index time attribute related to each window index data to obtain target index data; and
the first index query sub-result obtaining sub-unit is used for determining an index query sub-result according to target index data.
According to an embodiment of the present disclosure, the index attribute determination module includes: the index attribute query device comprises an index identification determining unit and an index attribute determining unit to be queried.
The index identification determining unit is used for determining the index identification to be queried of each of the multiple indexes to be queried from the index query information.
The index attribute determining unit is used for determining an index attribute corresponding to the index to be queried from an index array matched with the index identifier to be queried; the index array comprises index identifications and index attributes, wherein the index attributes comprise index storage types, the index storage types represent data types of index data related to the index identifications, and target indexes to be queried in the target index set have the same index storage types.
According to an embodiment of the present disclosure, an index storage type is associated with an index cache expiration time.
The index query result obtaining module comprises: the system comprises an index storage expiration time determining unit, a target index data inquiring unit and a second index inquiring result obtaining unit.
And the index storage expiration time determining unit is used for determining index storage expiration time associated with the index storage type according to the index storage type of the target index set to be queried.
And the target index data query unit is used for querying target index data related to target indexes to be queried in the target index set from a target cache area related to the index storage type under the condition that the index storage expiration time is after the current time.
And the second index query result obtaining unit is used for determining an index query result according to the target index data.
According to an embodiment of the present disclosure, the index array further includes an index operator identifier, the index operator identifier being associated with an index operator, the index query result obtaining module including: the target index operator identification determining unit, the target index operator calling unit, the second index query sub-result obtaining sub-unit and the third index query result obtaining unit.
The target index operator identification determining unit is used for determining a target index operator identification related to the target index to be queried from a target index array related to the target index to be queried, wherein the target index array is an index array matched with the target index identification to be queried.
The target index operator calling unit is used for calling a target index operator related to the target index operator identification and constructing a target expression.
And the second index query sub-result obtaining sub-unit is used for executing query operation aiming at the target index to be queried according to the target expression to obtain an index query sub-result.
And the third index query result obtaining unit is used for determining an index query result according to the index query sub-result.
According to an embodiment of the present disclosure, the information display apparatus further includes: the device comprises a called frequency determining module and a first storage module.
And the called frequency determining module is used for determining the called frequency of the target index operator.
The first storage module is used for storing the target index operator into the operator buffer area under the condition that the called frequency is larger than or equal to a preset frequency threshold value.
According to an embodiment of the present disclosure, the information display apparatus further includes: the operator executes the time consuming determining module and the second storing module.
And the operator execution time consumption determining module is used for determining the operator execution time consumption related to the target index operator.
The second storage module is used for storing the target index operator to the operator buffer area under the condition that the operator execution time consumption is greater than or equal to a preset time length threshold value.
According to an embodiment of the present disclosure, the data type of the index data includes at least one of:
a time sequence data type, a text data type, a map data type, an image data type, a video data type, an audio data type, a key value data type, a vector data type, a space data type.
According to an embodiment of the present disclosure, the index query result display module includes an index query result display unit.
And the index query result display unit is used for displaying an index query result through an index display window related to the target index set to be queried in the interactive interface, wherein the index display window corresponds to the index storage type.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
According to an embodiment of the present disclosure, an electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method as described above.
According to an embodiment of the present disclosure, a computer program product comprising a computer program which, when executed by a processor, implements a method as described above.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in device 700 are connected to I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the respective methods and processes described above, such as an information presentation method. For example, in some embodiments, the information presentation method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the information presentation method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the information presentation method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (14)

1. An information display method, comprising:
determining index attributes corresponding to a plurality of indexes to be queried in the received index query information;
determining a plurality of indexes to be queried as at least one target index set to be queried according to the index attribute;
performing query operation on the target index set to be queried to obtain index query results; and
and displaying the index query result in the interactive interface.
2. The method of claim 1, wherein the indicator attribute comprises a backtracking period, the method further comprising:
determining a plurality of backtracking time windows corresponding to the backtracking time period under the condition that the backtracking time period is greater than or equal to a preset time period, wherein the time period represented by the backtracking time window is smaller than the time period represented by the backtracking time period;
the query operation is executed for the target index set to be queried, and the obtaining of the index query result includes:
inquiring index data related to a target index to be inquired according to the backtracking time window to obtain window index data corresponding to the backtracking time window, wherein the target index set to be inquired comprises at least one target index to be inquired;
determining index query sub-results related to the target index to be queried according to window index data corresponding to each of the backtracking time windows; and
and obtaining the index query result according to the index query sub-result.
3. The method of claim 2, wherein a plurality of the window indicator data is sent to an asynchronous storage area;
wherein, determining the index query sub-result related to the target index to be queried according to window index data corresponding to each of the backtracking time windows includes:
Extracting a plurality of window index data from the asynchronous storage region;
splicing the window index data according to the index time attribute related to each window index data to obtain target index data; and
and determining the index query sub-result according to the target index data.
4. The method of claim 1, wherein the determining the index attribute corresponding to each of the plurality of indexes to be queried in the received index query information comprises:
determining the index identification to be queried of each of a plurality of indexes to be queried from the index query information; and
determining index attributes corresponding to the index to be queried from an index array matched with the index identifier to be queried;
the index array comprises an index identifier and the index attribute, the index attribute comprises an index storage type, the index storage type represents the data type of index data related to the index identifier, and the target indexes to be queried in the target index set have the same index storage type.
5. The method of claim 4, wherein the index storage type is associated with an index cache expiration time;
The query operation is executed aiming at the target index set to be queried, and the obtaining of the index query result comprises the following steps:
determining an index storage expiration time associated with the index storage type according to the index storage type of the target index set to be queried;
querying target index data related to target indexes to be queried in the target index set to be queried from a target cache area related to the index storage type under the condition that the index storage expiration time is after the current time; and
and determining the index query result according to the target index data.
6. The method of claim 4, wherein the index array further comprises an index operator identification associated with an index operator, the performing a query operation on the target set of indices to be queried to obtain index query results comprising:
determining a target index operator identifier related to the target index to be queried from a target index array related to the target index to be queried, wherein the target index array is an index array matched with the target index identifier to be queried;
invoking a target index operator related to the target index operator identification to construct a target expression;
According to the target expression, query operation aiming at the target index to be queried is executed, and an index query sub-result is obtained; and
and determining the index query result according to the index query sub-result.
7. The method of claim 6, further comprising:
determining the called frequency of the target index operator;
and storing the target index operator to an operator cache area under the condition that the called frequency is greater than or equal to a preset frequency threshold value.
8. The method of claim 6, further comprising:
determining operator execution time consumption associated with the target index operator;
and storing the target index operator to an operator cache area under the condition that the operator execution time consumption is greater than or equal to a preset time length threshold value.
9. The method of claim 4, wherein the data type of the index data comprises at least one of:
a time sequence data type, a text data type, a map data type, an image data type, a video data type, an audio data type, a key value data type, a vector data type, a space data type.
10. The method of claim 4, wherein the presenting the index query results in an interactive interface comprises:
And displaying the index query result in the index display window related to the target index set to be queried in the interactive interface, wherein the index display window corresponds to the index storage type.
11. An information presentation apparatus comprising:
the index attribute determining module is used for determining index attributes corresponding to a plurality of indexes to be queried in the received index query information;
the target index set to be queried determining module is used for determining a plurality of indexes to be queried as at least one target index set to be queried according to the index attribute;
the index query result obtaining module is used for executing query operation on the target index set to be queried to obtain an index query result; and
and the index query result display module is used for displaying the index query result in the interactive interface.
12. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 10.
13. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1 to 10.
14. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 10.
CN202310953109.6A 2023-07-31 2023-07-31 Information display method, device, electronic equipment and storage medium Pending CN116955856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310953109.6A CN116955856A (en) 2023-07-31 2023-07-31 Information display method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310953109.6A CN116955856A (en) 2023-07-31 2023-07-31 Information display method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116955856A true CN116955856A (en) 2023-10-27

Family

ID=88448930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310953109.6A Pending CN116955856A (en) 2023-07-31 2023-07-31 Information display method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116955856A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117407428A (en) * 2023-11-21 2024-01-16 杭州沃趣科技股份有限公司 Data processing system for acquiring target configuration file of target database

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117407428A (en) * 2023-11-21 2024-01-16 杭州沃趣科技股份有限公司 Data processing system for acquiring target configuration file of target database
CN117407428B (en) * 2023-11-21 2024-04-19 杭州沃趣科技股份有限公司 Data processing system for acquiring target configuration file of target database

Similar Documents

Publication Publication Date Title
CN111782824B (en) Information query method, device, system and medium
CN113836314B (en) Knowledge graph construction method, device, equipment and storage medium
CN113239295A (en) Search method, search device, electronic equipment and storage medium
CN111553556A (en) Business data analysis method and device, computer equipment and storage medium
CN114461644A (en) Data acquisition method and device, electronic equipment and storage medium
CN116955856A (en) Information display method, device, electronic equipment and storage medium
US20240037084A1 (en) Method and apparatus for storing data
CN111651552A (en) Structured information determination method and device and electronic equipment
CN113609100A (en) Data storage method, data query method, data storage device, data query device and electronic equipment
CN113220710A (en) Data query method and device, electronic equipment and storage medium
CN112559717A (en) Search matching method and device, electronic equipment and storage medium
CN114880498B (en) Event information display method and device, equipment and medium
CN114491253B (en) Method and device for processing observation information, electronic equipment and storage medium
CN116450723A (en) Data extraction method, device, computer equipment and storage medium
CN115329150A (en) Method and device for generating search condition tree, electronic equipment and storage medium
CN112887426B (en) Information stream pushing method and device, electronic equipment and storage medium
CN112507098B (en) Question processing method, question processing device, electronic equipment, storage medium and program product
CN114528378A (en) Text classification method and device, electronic equipment and storage medium
CN115828915B (en) Entity disambiguation method, device, electronic equipment and storage medium
CN117271840B (en) Data query method and device of graph database and electronic equipment
US20230086429A1 (en) Method of recognizing address, electronic device and storage medium
CN115458103B (en) Medical data processing method, medical data processing device, electronic equipment and readable storage medium
CN115511014B (en) Information matching method, device, equipment and storage medium
CN116578885A (en) Data processing method and device and electronic equipment
CN117033148A (en) Alarm method, device, electronic equipment and medium of risk service interface

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