CN111209374B - Data query display method, device, computer system and readable storage medium - Google Patents

Data query display method, device, computer system and readable storage medium Download PDF

Info

Publication number
CN111209374B
CN111209374B CN202010012714.XA CN202010012714A CN111209374B CN 111209374 B CN111209374 B CN 111209374B CN 202010012714 A CN202010012714 A CN 202010012714A CN 111209374 B CN111209374 B CN 111209374B
Authority
CN
China
Prior art keywords
query
carrier
keywords
intention
label
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
CN202010012714.XA
Other languages
Chinese (zh)
Other versions
CN111209374A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010012714.XA priority Critical patent/CN111209374B/en
Publication of CN111209374A publication Critical patent/CN111209374A/en
Priority to PCT/CN2020/112517 priority patent/WO2021139184A1/en
Application granted granted Critical
Publication of CN111209374B publication Critical patent/CN111209374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • 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/9535Search customisation based on user profiles and personalisation
    • 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
    • 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 invention discloses a data query display method, a device, a computer system and a readable storage medium, which are based on an artificial intelligence technology and comprise the following steps: creating at least one front-end carrier, creating a query interface in the front-end carrier, generating a carrier label according to the query interface and associating the carrier label with the corresponding front-end carrier; receiving a query term output by a user terminal, and identifying an intention keyword and a named entity in the query term; comparing the intention keywords with the carrier labels to obtain target carrier labels corresponding to the intention keywords, and inquiring an inquiry result matched with the named entity through an inquiry interface corresponding to the target carrier labels; and loading the query result into a front-end carrier to form a display carrier, and outputting the display carrier to a user side. The invention realizes the technical effect of accurately understanding the query intention of the query term, and solves the problems of large query workload, low query efficiency and low query result accuracy caused by more query keywords in the prior art.

Description

Data query display method, device, computer system and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data query display method, a data query display device, a computer system, and a readable storage medium.
Background
When a user browses applications, the information to be obtained is obtained through a search engine according to the requirements of the user, however, after the user inputs a query term, the search engine generally divides the term into words to obtain keywords, and then obtains the required webpage information from the Internet according to the keywords.
The keyword matching-based method can lead a search engine to acquire matched information from the internet based on all keywords at the same time because the number of the keywords is too large and the keywords are not classified, such as classification of named entities and intentions of inquirers, and then time or relevance ranking is carried out on the information.
The information queried in this way has keywords, but the query workload is large, the query efficiency is low and the query accuracy is low because the intention of the querier is not understood.
Disclosure of Invention
The invention aims to provide a data query display method, a data query display device, a computer system and a readable storage medium, which are used for solving the problems of large query workload, low query efficiency and low query accuracy caused by the fact that no classification processing is carried out on the intention of a querier in the prior art.
In order to achieve the above object, the present invention provides a data query display method, comprising the following steps:
creating at least one front-end carrier, creating a query interface in the front-end carrier, generating a carrier label according to the query interface and associating the carrier label with the corresponding front-end carrier;
receiving a query term output by a user terminal, and identifying an intention keyword and a named entity in the query term;
comparing the intention keywords with the carrier labels to obtain target carrier labels corresponding to the intention keywords, and inquiring inquiry results matched with the named entities through inquiry interfaces corresponding to the target carrier labels;
and loading the query result into the front-end carrier to form a display carrier, and outputting the display carrier to the user side.
In the above solution, creating at least one front-end carrier and creating a query interface in the front-end carrier, generating a carrier label according to the query interface and associating the carrier label with the corresponding front-end carrier includes:
creating a sample library, wherein the sample library is provided with an ejection layer component for configuring and controlling an ejection layer;
extracting an ejection layer assembly from the sample library, and creating an ejection layer according to the ejection layer assembly to serve as a front-end carrier;
creating a query interface in the front-end carrier through the popup layer component, wherein the query interface has a predefined method;
a carrier tag describing the method in the query interface is formulated and added to the front-end carrier to be associated with the front-end carrier.
In the above scheme, the shape of the ejection layer is in the form of a card, and the ejection layer is provided with a text area capable of writing a carrier label;
the front end carrier associated with the carrier tag is stored in a preset database.
In the above solution, before identifying the intent keywords and the named entities in the query term, the method includes:
a natural language processing model is created having an intent recognition algorithm and an entity recognition algorithm.
In the above scheme, the identifying the intent keywords and the named entities in the query term includes:
identifying intent keywords in the query term through the intent identification algorithm;
and identifying the named entities in the query entry through the entity identification algorithm.
In the above solution, the querying, through a query interface corresponding to the target carrier tag, a query result matched with the named entity includes:
acquiring a front-end carrier with the target carrier tag, and taking a query interface of the front-end carrier as a query interface corresponding to the target carrier tag;
and calling the query interface to query information matched with the named entity in the Internet, and setting the information as a query result.
In the above solution, the loading the query result into the front-end carrier includes:
the front-end carrier has an editable area for displaying information;
loading the query results into the editable area to convert the front-end carrier into a presentation carrier.
In order to achieve the above object, the present invention further provides a data query display apparatus, including:
the system comprises a creation module, a search module and a storage module, wherein the creation module is used for creating at least one front-end carrier and creating a query interface in the front-end carrier, and generating a carrier label according to the query interface and associating the carrier label with the corresponding front-end carrier;
the recognition module is used for receiving the query term output by the user end and recognizing the intention key words and named entities in the query term;
the query module is used for comparing the intention keywords with the carrier tags to obtain target carrier tags corresponding to the intention keywords, and querying query results matched with the named entities through query interfaces corresponding to the target carrier tags;
and the display module is used for loading the query result into the front-end carrier to form a display carrier and outputting the display carrier to the user side. The present invention also provides a computer system comprising a plurality of computer devices, each computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processors of the plurality of computer devices collectively implementing the steps of the data query presentation method described above when the computer program is executed.
In order to achieve the above object, the present invention further provides a computer readable storage medium, which includes a plurality of storage media, each storage medium storing a computer program, where the steps of the data query presentation method are jointly implemented when the computer programs stored in the plurality of storage media are executed by a processor.
According to the data query display method, the device, the computer system and the readable storage medium, through identifying the intention keywords and the named entities in the query terms and obtaining the front-end carrier matched with the intention keywords and the query interface thereof, the technical effect of accurately understanding the query intention of the query terms is achieved by calling the query interface and obtaining the query result according to the named entities, and further the problems of large query workload, low query efficiency and low query result accuracy caused by more query keywords in the prior art are solved.
Drawings
FIG. 1 is a flowchart of a data query display method according to a first embodiment of the present invention;
FIG. 2 schematically illustrates an environmental application diagram of a data query presentation method according to an embodiment one of the present application;
FIG. 3 is a schematic diagram illustrating a program module of a second embodiment of a data query display apparatus according to the present invention;
fig. 4 is a schematic hardware structure of a computer device in a third embodiment of the computer system according to the present invention.
Reference numerals:
1. data query display device 2, server 3, network 4 and user
5. Computer device 11, creation module 12, identification module 13, and query module
14. Display module 51, memory 52, processor
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The data query display method, the device, the computer system and the readable storage medium are suitable for the field of communication and provide the data query display method based on the creation module, the identification module, the query module and the display module. The method comprises the steps of creating a front-end carrier, creating a query interface in the front-end carrier, and generating a carrier label according to the query interface and associating the carrier label with the front-end carrier; identifying the intention keywords and named entities in the query terms; acquiring a front-end carrier matched with the intention keywords, acquiring a query interface of the front-end carrier, and acquiring a query result through the query interface according to the named entity; and loading the query result into the front-end carrier to form a display carrier.
Example 1
Referring to fig. 1, a data query display method of the present embodiment includes the following steps:
s101: creating at least one front-end carrier, creating a query interface in the front-end carrier, generating a carrier label according to the query interface and associating the carrier label with the corresponding front-end carrier;
s102: receiving a query term output by a user terminal, and identifying an intention keyword and a named entity in the query term;
s103: comparing the intention keywords with the carrier labels to obtain target carrier labels corresponding to the intention keywords, and inquiring inquiry results matched with the named entities through inquiry interfaces corresponding to the target carrier labels;
s104: and loading the query result into the front-end carrier to form a display carrier, and outputting the display carrier to the user side.
Referring to fig. 2, the data query and display method of the present embodiment operates in a server 2, and the server 2 is connected to a plurality of clients 4 through a network 3;
a front-end carrier is created in the server 2 and a query interface is created in the front-end carrier, from which a carrier label is generated and associated with the front-end carrier. It should be noted that, the front-end carrier is an ejecting layer, and the ejecting layer is a window generated based on a layer component and used for ejecting on a display screen and displaying the content carrier; the query interface in the application is an interface for querying information according to named entities, wherein the interface is a set of named method signatures, and the named method signatures define methods, attributes and events.
The user terminal 4 outputs a query term comprising an intention keyword and a named entity, and the query term is output to the server 2 by the user terminal through the network 3 in the form of a data packet; the server 2 decodes the received data packet to obtain the query term and identifies the intended keywords and named entities therein.
The server 2 obtains front-end carriers matched with the intention keywords, wherein the front-end carriers can be multiple and are respectively used for querying different contents through a query interface of the front-end carriers; a plurality of front-end carriers respectively have carrier labels for describing a method of an inquiry interface thereof; therefore, comparing the intended keywords with the carrier labels of the front-end carriers to obtain front-end carriers matched with the intended keywords, so as to realize the front-end carriers which are most in line with the intended keywords in the query terms; the server 2 acquires the query interface of the front-end carrier, invokes the query interface, queries from the Internet according to the named entity and acquires a query result.
The server 2 loads the query result into the editable area of the front-end carrier to form a display carrier, and outputs the display carrier to the user terminal 4.
The server 2 may provide services through one or more networks 3, and the networks 3 may include various network devices such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and/or the like. The network 3 may include physical links such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and/or the like. The network 3 may include wireless links, such as cellular links, satellite links, wi-Fi links, and/or the like. The client 4 may comprise various client devices such as a cell phone, desktop computer, notebook computer, and/or the like.
The server 2 may be comprised of a single or multiple computer devices (e.g., servers). The single or multiple computing devices may include virtualized computing instances. Virtualized computing instances may include virtual machines such as emulation of computer systems, operating systems, servers, and the like. The computing device may load the virtual machine based on a virtual image and/or other data defining particular software (e.g., operating system, dedicated application, server) for emulation. As the demand for different types of processing services changes, different virtual machines may be loaded and/or terminated on one or more computing devices. A hypervisor may be implemented to manage the use of different virtual machines on the same computing device.
In a preferred embodiment, creating at least one front-end bearer and creating a query interface in the front-end bearer in S101, generating a bearer tag according to the query interface and associating it with the corresponding front-end bearer comprises:
creating a sample library, wherein the sample library is provided with an popup layer component used for configuring and controlling the popup layer, and the popup layer component can be a layer, a jQuery popup layer plug-in or a vue popup layer component;
extracting an ejection layer assembly from the sample library, and creating an ejection layer according to the ejection layer assembly to serve as a front-end carrier; wherein a user can configure parameters in the pop-up layer assembly as needed to generate the front-end carrier;
creating a query interface in the front-end carrier through the popup layer component, wherein the query interface has a predefined method;
formulating a carrier tag for describing a method in the query interface, and adding the carrier tag in a front-end carrier to be associated with the front-end carrier; for example, a text area is added in the front-end carrier, and the carrier label is written in the text area so as to be associated with the front-end carrier.
Further, the shape of the ejection layer is in the form of a card, and the ejection layer is provided with a text area capable of being written with a carrier label, wherein the text area is a part of the ejection layer for adding the text area according to the requirement of a user.
Further, the front end carrier associated with the carrier tag is stored in a preset database.
It should be noted that the configuration parameter is a configuration information stored in a configuration file of the pop-up layer assembly and used for expressing the size, style, color, text area and pop-up animation of the pop-up layer; the method in the query interface is a code for querying the specified information, and the carrier tag is tag information for describing the method in the query interface; the predefined method is a method for executing a specific action written by a developer through a computer, such as "crawling stock price charts of each financial institution from the internet", and the "stock price charts" in the method can be used as carrier labels to describe the method.
Therefore, by creating the front-end carrier and the query interface thereof and adding the carrier label for describing the method in the query interface on the front-end carrier, the query requirement of the query entry is met by providing a plurality of different query methods, the front-end carrier is guaranteed to be in one-to-one correspondence with the query interface and the carrier label, the information obtained through the query interface is loaded into the designated front-end carrier and displayed, the condition that certain information cannot be loaded in the carrier and ejected due to the fact that the unified carrier is used is avoided, and the identification degree of the information displayed on the user side is improved by displaying the specific information through the specific front-end carrier.
In a preferred embodiment, the identifying the intended keywords and named entities in the query term in S102 includes, before:
a natural language processing model is created having an intent recognition algorithm and an entity recognition algorithm.
In this embodiment, the intent recognition algorithm is an algorithm formed by a combination of a mature CNN model and a softmax function.
Further, the CNN (Convolutional Neural Network ) model is a feed-forward neural network whose artificial neurons can respond to surrounding cells within a portion of the coverage area.
Obtaining a training vocabulary item with an intention label, wherein the intention label is used for expressing the real intention of the training vocabulary item, for example, the training vocabulary item is ' stock price of China's bank to be seen by me ', and then the intention label of the training vocabulary item is ' stock price '; and training the CNN model by using the training vocabulary entry to obtain parameters of each layer of the CNN model. Specifically, firstly, a Chinese word segmentation algorithm of a natural language processing model is adopted to segment training vocabulary entries to form word collections, for example, the 'stock price of China' to be seen by me 'is divided into' stock price of China 'to be seen by me, china's bank; converting training vocabulary entries into vocabulary vectors through a Word Embedding (Distributional Vectors) component or a distributed vector (Distributional Vectors) component of a natural language processing model, wherein the vocabulary Embedding component and the distributed vector component are techniques for converting words represented by natural language into vectors or matrix forms that can be understood by a computer; the word vector in the training vocabulary entry with the intention label is used as the input of an initial CNN model, and the word vector of each word is processed through a Hidden Layer (Hidden Layer), a convolution Layer (Convolution Layer) and a pooling Layer (Polling Layer) and then is transformed through a temporary Layer (Dropout Layer), and then is transformed through a full communication Layer (Full Connect Layer, FCL) to obtain a processing result; and adopting a loss function categorical cross-entopy corresponding to the softmax, calculating the loss function according to the processing result and the intention label to obtain a loss function value, and optimizing the CNN model based on the loss function value and through an error counter-propagation algorithm until the iteration condition is met.
In this embodiment, the entity recognition algorithm is a mature RNN model.
Further, the RNN (Recurrent Neural Network ) model is an artificial neural network with nodes connected in a directed loop. The internal state of such a network may exhibit dynamic timing behavior.
Obtaining a training vocabulary item with an entity tag, wherein the entity tag is used for expressing the real intention of the training vocabulary item, for example, the training vocabulary item is ' stock price of China's bank to be seen by me ', and then the entity tag of the training vocabulary item is ' China ' bank; training the RNN by using the training vocabulary entry to obtain parameters of an RNN model: hidden layer parameters, convolution layer parameters, and pooling layer parameters, and using these bottom layer parameters as bottom layer parameters in the initial domain identification model. Specifically, firstly, a Chinese word segmentation algorithm of a natural language processing model is adopted to segment training vocabulary entries to form word collections, for example, the 'stock price of China' to be seen by me 'is divided into' stock price of China 'to be seen by me, china's bank; converting training vocabulary entries into vocabulary vectors through a Word Embedding (Distributional Vectors) component or a distributed vector (Distributional Vectors) component of a natural language processing model, wherein the vocabulary Embedding component and the distributed vector component are techniques for converting words represented by natural language into vectors or matrix forms that can be understood by a computer; and training the RNN named entity recognition model by taking word vectors in training vocabulary entries with entity tags as input of an initial RNN model until the iteration condition positions are met.
It should be noted that the CNN model and the RNN model belong to the prior art, so that a person skilled in the art can train the CNN model and the RNN model according to common general knowledge and obtain a target model; the technical problem to be solved in the application is how to obtain the intention keywords and the named entities from the query vocabulary entry, so that the intention keywords and the named entities are respectively identified by creating an intention identification algorithm and an entity identification algorithm so as to improve the accuracy of identification; therefore, specific training processes of the CNN model and the RNN model are not described herein.
Therefore, the condition that the identification accuracy is reduced due to the fact that a single neural network is adopted to simultaneously identify a plurality of information is avoided; thus improving the accuracy of recognition of the intended keywords and named entities.
In a preferred embodiment, the identifying the intent keywords and named entities in the query term in S102 includes:
identifying intent keywords in the query term through the intent identification algorithm;
and identifying the named entities in the query entry through the entity identification algorithm.
The method comprises the steps of setting an intention keyword obtained through an intention recognition algorithm as a query object of a query term, and setting a named entity obtained through an entity recognition algorithm as a query object of the query term; by separating the query method and the query object from the query term, the method and the purpose of the query term are understood separately, so that the intention of the inquirer can be grasped more accurately.
In a preferred embodiment, the comparing the intent keyword with the front-end carrier in S103 to obtain a target front-end carrier corresponding to the intent keyword includes:
comparing the intended keywords with the carrier labels of the front-end carriers to obtain carrier labels matched with the intended keywords, and setting the front-end carrier corresponding to the carrier labels as a target front-end carrier.
Wherein the carrier tag is information describing a method in the query interface of the front-end carrier.
For example, if the intention keyword is "stock price", the carrier label with the content of "stock price chart" in each front-end carrier is used as the carrier label matched with the intention keyword, the front-end carrier corresponding to the carrier label is obtained, the query interface corresponding to the front-end carrier is obtained, and the method in the query interface is to crawl the stock price chart of each financial institution from the internet.
Therefore, the effect of accurately grasping the query method of the query term is realized by obtaining the front-end carrier matched with the intention key words, and the information is queried from the Internet by taking the query stock price chart as a method based on the example, so that the actual intention of a user is ensured to be realized, and the accuracy and the reliability of query are further improved.
In a preferred embodiment, the querying, in S103, the query result matched with the named entity through the query interface corresponding to the target carrier label includes:
acquiring a front-end carrier with the target carrier label from the database, and taking a query interface of the front-end carrier as a query interface corresponding to the target carrier label;
and calling the query interface to query information matched with the named entity in the Internet, and setting the information as a query result.
Based on the above example, the named entity is "chinese bank", and since the method in the query interface is "crawling the stock price chart of each financial institution from the internet", the method in the query interface is called, and the "chinese bank" is used as the parameter of the request url, for example,/stock pricecompany=chinese bank, the "stock price chart" of the "chinese bank" is queried and obtained from the internet, and then the "stock price chart" is set as the query result.
The query result may be text information, PDF format information, picture format information, or table format information.
Therefore, the technical effect of accurately grasping the intention of the query term by taking the intention keyword as a target and taking the named entity as an object is realized by inquiring the named entity from the Internet by calling the query interface of the front-end carrier, and the information is inquired from the Internet and the query result is obtained based on the example, namely taking the query stock price chart as a method and taking the Chinese bank as an object; the corresponding query result is queried through the query interface according to the named entity, and the query interface is only responsible for querying the named entity based on the interface method without understanding the intention of a querier, so that the situations of large query workload, low query efficiency and low accuracy caused by more query keywords and disordered query result ordering of the current query interface are avoided, and the effects of reducing the query workload and improving the query accuracy are further realized.
In a preferred embodiment, loading the query result into the front-end carrier in S104 includes:
the front-end carrier has an editable area for displaying information;
loading the query results into the editable area to convert the front-end carrier into a presentation carrier.
Specifically, if the query result is text information, writing the query result into the editable area in a paste mode; if the query result is PDF format information, picture format information or table format information, the query result is written into the editable area in an 'inserting' mode.
Therefore, the display carrier is displayed on the user side rapidly and simply, a user can acquire the required query result rapidly through the display carrier on the user side, the information acquisition efficiency of the user is improved, and the problem that the query result loading speed is low due to the fact that the user side only displays the display carrier simply and the display carrier is solved, and the problem that the current user side needs to display a large amount of redundant information or information related to the redundant information is solved.
Further, the query result is displayed on the user side in a card mode, and the user side can manage the display carrier through operations such as moving, deleting and the like, so that the dependence of the user side on a system menu is eliminated. The user does not need to search for the function wanted by the user in a plurality of menus; and because the front-end carrier is related to the intention keywords, the information corresponding to the intention of the inquirer and the named entity can be transmitted to the user only through the display of the display carrier, so that the user can intuitively know the wanted result, the steps of the user operation are reduced, the usability is improved, and the convenience is improved.
Example two
Referring to fig. 3, a data query display apparatus 1 of the present embodiment includes:
a creating module 11, configured to create at least one front-end carrier and create a query interface in the front-end carrier, generate a carrier label according to the query interface, and associate the carrier label with the corresponding front-end carrier;
the recognition module 12 is used for receiving the query term output by the user end and recognizing the intention keywords and the named entities in the query term;
the query module 13 is configured to compare the intent keyword with the carrier label to obtain a target carrier label corresponding to the intent keyword, and query a query result matched with the named entity through a query interface corresponding to the target carrier label;
and the display module 14 is used for loading the query result into the front-end carrier to form a display carrier, and outputting the display carrier to the user side.
According to the technical scheme, based on an intelligent decision technology in the artificial intelligence field, through adopting an intention recognition algorithm formed by combining a mature CNN model in a neural network and a softmax function, intention keywords in query terms are recognized, and adopting an entity recognition algorithm formed by the mature CNN model in the neural network, a mode of recognizing named entities in the query terms is adopted, and the technical effect of accurately judging the intention of the query terms through a classification model established by the intention recognition algorithm and the entity recognition algorithm is realized.
Embodiment III:
in order to achieve the above objective, the present invention further provides a computer system, which includes a plurality of computer devices 5, where the components of the data query display apparatus 1 of the second embodiment may be distributed in different computer devices, and the computer devices may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including an independent server or a server cluster formed by a plurality of servers), etc. The computer device of the present embodiment includes at least, but is not limited to: a memory 51, a processor 52, which may be communicatively coupled to each other via a system bus, as shown in fig. 4. It should be noted that fig. 4 only shows a computer device with components-but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead.
In the present embodiment, the memory 51 (i.e., readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 51 may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the memory 51 may also be an external storage device of a computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like. Of course, the memory 51 may also include both internal storage units of the computer device and external storage devices. In this embodiment, the memory 51 is typically used for storing an operating system and various application software installed on a computer device, such as program codes of the data query presentation device of the first embodiment. Further, the memory 51 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 52 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 52 is typically used to control the overall operation of the computer device. In this embodiment, the processor 52 is configured to execute the program code stored in the memory 51 or process data, for example, execute the data query presentation device, so as to implement the data query presentation method of the first embodiment.
Embodiment four:
to achieve the above object, the present invention also provides a computer-readable storage system including a plurality of storage media such as flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, server, app application store, etc., on which a computer program is stored that when executed by the processor 52 performs the corresponding functions. The computer readable storage medium of the present embodiment is configured to store the data query presentation device, and when executed by the processor 52, implements the data query presentation method of the first embodiment.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (6)

1. The data query display method is characterized by comprising the following steps of:
creating a sample library, wherein the sample library is provided with an ejection layer component for configuring and controlling an ejection layer; the shape of the ejection layer is in the form of a card, and the ejection layer is provided with a text area capable of being written with a carrier label;
extracting an ejection layer assembly from the sample library, and creating an ejection layer according to the ejection layer assembly to serve as a front-end carrier;
creating a query interface in the front-end carrier through the popup layer component, wherein the query interface has a predefined method;
formulating a carrier label for describing a method in the query interface, adding the carrier label into a front-end carrier to enable the carrier label to be associated with the front-end carrier, and storing the front-end carrier associated with the carrier label into a preset database;
receiving a query term output by a user terminal, and identifying an intention keyword and a named entity in the query term;
comparing the intended keywords with the carrier tags to obtain target carrier tags corresponding to the intended keywords, obtaining front-end carriers with the target carrier tags, and taking query interfaces of the front-end carriers as query interfaces corresponding to the target carrier tags; calling the query interface to query information matched with the named entity in the Internet, and setting the information as a query result;
the front-end carrier has an editable area for displaying information; loading the query result into the editable area to convert the front-end carrier into a display carrier; and outputting the display carrier to the user side.
2. The method of claim 1, wherein the identifying intent keywords and named entities in the query term is preceded by:
a natural language processing model is created having an intent recognition algorithm and an entity recognition algorithm.
3. The data query presentation method of claim 2, wherein the identifying intent keywords and named entities in the query terms comprises:
identifying intent keywords in the query term through the intent identification algorithm;
and identifying the named entities in the query entry through the entity identification algorithm.
4. A data query presentation device, comprising:
the system comprises a creation module, a storage module and a storage module, wherein the creation module is used for creating a sample library, and an ejection layer component used for configuring and controlling an ejection layer is arranged in the sample library; the shape of the ejection layer is in the form of a card, and the ejection layer is provided with a text area capable of being written with a carrier label; extracting an ejection layer assembly from the sample library, and creating an ejection layer according to the ejection layer assembly to serve as a front-end carrier; creating a query interface in the front-end carrier through the popup layer component, wherein the query interface has a predefined method; formulating a carrier label for describing a method in the query interface, adding the carrier label into a front-end carrier to enable the carrier label to be associated with the front-end carrier, and storing the front-end carrier associated with the carrier label into a preset database;
the recognition module is used for receiving the query term output by the user end and recognizing the intention key words and named entities in the query term;
the query module is used for comparing the intention keywords with the carrier tags to obtain target carrier tags corresponding to the intention keywords, acquiring front-end carriers with the target carrier tags, and taking query interfaces of the front-end carriers as query interfaces corresponding to the target carrier tags; calling the query interface to query information matched with the named entity in the Internet, and setting the information as a query result;
the display module is used for displaying the editable area of the information on the front-end carrier; loading the query result into the editable area to convert the front-end carrier into a display carrier; and outputting the display carrier to the user side.
5. A computer system comprising a plurality of computer devices, each computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processors of the plurality of computer devices collectively implement the steps of the data query presentation method of any one of claims 1 to 3 when the computer program is executed.
6. A computer readable storage medium comprising a plurality of storage media, each storage medium having stored thereon a computer program, characterized in that the computer programs stored on the plurality of storage media when executed by a processor collectively implement the steps of the data query presentation method of any of claims 1 to 3.
CN202010012714.XA 2020-01-07 2020-01-07 Data query display method, device, computer system and readable storage medium Active CN111209374B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010012714.XA CN111209374B (en) 2020-01-07 2020-01-07 Data query display method, device, computer system and readable storage medium
PCT/CN2020/112517 WO2021139184A1 (en) 2020-01-07 2020-08-31 Data query and display method, device, computer system, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010012714.XA CN111209374B (en) 2020-01-07 2020-01-07 Data query display method, device, computer system and readable storage medium

Publications (2)

Publication Number Publication Date
CN111209374A CN111209374A (en) 2020-05-29
CN111209374B true CN111209374B (en) 2023-06-06

Family

ID=70785551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010012714.XA Active CN111209374B (en) 2020-01-07 2020-01-07 Data query display method, device, computer system and readable storage medium

Country Status (2)

Country Link
CN (1) CN111209374B (en)
WO (1) WO2021139184A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209374B (en) * 2020-01-07 2023-06-06 平安科技(深圳)有限公司 Data query display method, device, computer system and readable storage medium
CN111859195A (en) * 2020-07-31 2020-10-30 北京字节跳动网络技术有限公司 Information display method, information search method and device
CN113342965B (en) * 2021-06-24 2023-11-14 平安国际融资租赁有限公司 Intention prediction and feedback method, device, computer equipment and readable storage medium
CN113707300A (en) * 2021-08-30 2021-11-26 康键信息技术(深圳)有限公司 Search intention identification method, device, equipment and medium based on artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372215A (en) * 2016-09-06 2017-02-01 江苏通付盾科技有限公司 Credit inquiring system and method
CN108804532A (en) * 2018-05-03 2018-11-13 腾讯科技(深圳)有限公司 A kind of recognition methods, the device of the excavation and query intention of query intention
CN109299129A (en) * 2018-09-05 2019-02-01 深圳壹账通智能科技有限公司 Data query method, apparatus, computer equipment and the storage medium of natural language
CN109522393A (en) * 2018-10-11 2019-03-26 平安科技(深圳)有限公司 Intelligent answer method, apparatus, computer equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951503B (en) * 2017-03-16 2020-06-23 百度在线网络技术(北京)有限公司 Information providing method, device, equipment and storage medium
CN107220380A (en) * 2017-06-27 2017-09-29 北京百度网讯科技有限公司 Question and answer based on artificial intelligence recommend method, device and computer equipment
US11132503B2 (en) * 2017-10-30 2021-09-28 Nohold, Inc. Query a system via natural language NLP2X
US11157533B2 (en) * 2017-11-08 2021-10-26 International Business Machines Corporation Designing conversational systems driven by a semantic network with a library of templated query operators
CN109829037A (en) * 2017-11-22 2019-05-31 上海智臻智能网络科技股份有限公司 Method, system, server and the storage medium of intelligent automatic question answering
CN110046231B (en) * 2018-12-21 2023-08-04 创新先进技术有限公司 Customer service information processing method, server and system
CN111209374B (en) * 2020-01-07 2023-06-06 平安科技(深圳)有限公司 Data query display method, device, computer system and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372215A (en) * 2016-09-06 2017-02-01 江苏通付盾科技有限公司 Credit inquiring system and method
CN108804532A (en) * 2018-05-03 2018-11-13 腾讯科技(深圳)有限公司 A kind of recognition methods, the device of the excavation and query intention of query intention
CN109299129A (en) * 2018-09-05 2019-02-01 深圳壹账通智能科技有限公司 Data query method, apparatus, computer equipment and the storage medium of natural language
CN109522393A (en) * 2018-10-11 2019-03-26 平安科技(深圳)有限公司 Intelligent answer method, apparatus, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111209374A (en) 2020-05-29
WO2021139184A1 (en) 2021-07-15

Similar Documents

Publication Publication Date Title
CN111209374B (en) Data query display method, device, computer system and readable storage medium
US11392838B2 (en) Method, equipment, computing device and computer-readable storage medium for knowledge extraction based on TextCNN
CN102053983B (en) Method, system and device for querying vertical search
US10872236B1 (en) Layout-agnostic clustering-based classification of document keys and values
CN111104514B (en) Training method and device for document tag model
CN109583970A (en) Advertisement placement method, device, computer equipment and storage medium
EP4053802A1 (en) Video classification method and apparatus, device and storage medium
CN107798001B (en) Webpage processing method, device and equipment
US11663280B2 (en) Search engine using joint learning for multi-label classification
CN111459977B (en) Conversion of natural language queries
US20230206670A1 (en) Semantic representation of text in document
EP3961426A2 (en) Method and apparatus for recommending document, electronic device and medium
CN110909768B (en) Method and device for acquiring marked data
CN114429633A (en) Text recognition method, model training method, device, electronic equipment and medium
CN114327374A (en) Business process generation method and device and computer equipment
CN112528610A (en) Data labeling method and device, electronic equipment and storage medium
CN116738057A (en) Information recommendation method, device, computer equipment and storage medium
CN110704650A (en) OTA picture tag identification method, electronic device and medium
CN115576789A (en) Method and system for identifying lost user
CN112948584B (en) Short text classification method, device, equipment and storage medium
CN113221035A (en) Method, apparatus, device, medium, and program product for determining an abnormal web page
CN113806536A (en) Text classification method and device, equipment, medium and product thereof
CN112861504A (en) Text interaction method, device, equipment, storage medium and program product
CN117251621A (en) Service matching method, device, computer equipment, storage medium and product
CN113032609A (en) Picture retrieval method and device, electronic equipment and storage medium

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
GR01 Patent grant