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

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

Info

Publication number
CN111209374A
CN111209374A CN202010012714.XA CN202010012714A CN111209374A CN 111209374 A CN111209374 A CN 111209374A CN 202010012714 A CN202010012714 A CN 202010012714A CN 111209374 A CN111209374 A CN 111209374A
Authority
CN
China
Prior art keywords
query
carrier
end carrier
intention
creating
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.)
Granted
Application number
CN202010012714.XA
Other languages
Chinese (zh)
Other versions
CN111209374B (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

Landscapes

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

Abstract

The invention discloses a data query display method, a data query display 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 entry output by a user side, and identifying an intention keyword and a named entity in the query entry; comparing the intention keywords with the carrier tags to obtain target carrier tags corresponding to the intention keywords, and querying a query result matched with the named entity through a query interface corresponding to the target carrier tags; and loading the query result into a front-end carrier to form a display carrier, and outputting the display carrier to the user side. The invention realizes the technical effect of accurately understanding the query intention of the query entry, 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 and 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, an apparatus, a computer system, and a readable storage medium.
Background
When a user browses applications, the user can obtain information to be obtained through a search engine according to the requirement of the user, however, after the user inputs a query entry, the search engine generally divides the entry into words to obtain keywords, and then obtains required webpage information from the internet according to the keywords.
The way based on keyword matching can lead a search engine to acquire matched information from the internet and sort the information by time or relevance 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 the classification of named entities and the intention of a querier.
Although the information queried in this way has keywords, 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 the intention of a querier is not classified in the prior art.
In order to achieve the above object, the present invention provides a data query display method, which comprises the following steps:
creating at least one front-end carrier, creating a query interface in the front-end carrier, generating a carrier tag according to the query interface and associating the carrier tag with the corresponding front-end carrier;
receiving a query entry output by a user side, and identifying an intention keyword and a named entity in the query entry;
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 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 scheme, the creating at least one front end bearer and creating an inquiry interface in the front end bearer, and generating a bearer tag according to the inquiry interface and associating the bearer tag with the corresponding front end bearer includes:
creating a sample library, wherein the sample library is provided with a popup layer component for configuring and controlling a popup layer;
extracting a pop-up layer assembly from the sample library, and establishing a new pop-up layer according to the pop-up layer assembly to serve as a front-end carrier;
creating, by the popup layer component, a query interface in the front-end carrier, the query interface having a predefined method therein;
and formulating a carrier label for describing a method in the query interface, and adding the carrier label in a front-end carrier to be associated with the front-end carrier.
In the above scheme, the shape of the pop-up layer is in the form of a card, and the pop-up layer is provided with a text area in which a carrier label can be written;
the front-end carrier associated with the carrier tag is stored in a preset database.
In the above scheme, the identifying the intention keyword and the named entity in the query term comprises:
a natural language processing model having an intent recognition algorithm and an entity recognition algorithm is created.
In the above scheme, the identifying the intention keyword and the named entity in the query term includes:
identifying, by the intent recognition algorithm, intent keywords in the query term;
identifying named entities in the query term through the entity identification algorithm.
In the above scheme, the querying, through the query interface corresponding to the target carrier tag, the query result matched with the named entity includes:
acquiring a front-end carrier with the target carrier label, 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 the information matched with the named entity in the Internet, and setting the information as a query result.
In the foregoing solution, the loading the query result into the front-end carrier includes:
the front-end carrier has an editable area for displaying information;
and loading the query result into the editable area to convert the front-end carrier into a display carrier.
In order to achieve the above object, the present invention further provides a data query display device, including:
the system comprises a creating module, a searching module and a processing module, wherein the creating module is used for 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;
the system comprises an identification module, a search module and a search module, wherein the identification module is used for receiving a query entry output by a user side and identifying an intention keyword and a named entity in the query entry;
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 a query interface 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 processor and the computer program stored on the memory and capable of running on the processor jointly realize the steps of the data query presentation method when the processor of the plurality of computer devices executes the computer program.
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 having a computer program stored thereon, and the computer programs stored in the storage media, when executed by a processor, collectively implement the steps of the data query presentation method.
According to the data query display method, the data query display device, the computer system and the readable storage medium, the intention keywords and the named entities in the query entries are identified, the front-end carrier matched with the intention keywords and the query interface of the front-end carrier are obtained, the query interface is called, and the query results are obtained according to the named entities, so that the technical effect of accurately understanding the query intention of the query entries is achieved, and the problems of large query workload, low query efficiency and low query result accuracy caused by a large number of query keywords in the prior art are solved.
Drawings
FIG. 1 is a flowchart of a first embodiment of a data query presentation method according to the present invention;
FIG. 2 is a schematic diagram illustrating an environment application of a data query presentation method according to a first embodiment of the present application;
FIG. 3 is a schematic diagram of program modules of a second data query presentation device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a computer device in the 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 side
5. Computer equipment 11, creation module 12, identification module 13 and query module
14. Display module 51, memory 52, processor
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a data query display method, a data query display device, a computer system and a readable storage medium, which are suitable for the field of communication and provide the data query display method based on a creation module, an identification module, a query module and a display module. The method comprises the steps of creating a front-end carrier, creating an inquiry interface in the front-end carrier, generating a carrier label according to the inquiry interface and associating the carrier label with the front-end carrier; by identifying intent keywords and named entities in the query term; obtaining a front-end carrier matched with the intention keywords, obtaining a query interface of the front-end carrier, and obtaining 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 one
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 tag according to the query interface and associating the carrier tag with the corresponding front-end carrier;
s102: receiving a query entry output by a user side, and identifying an intention keyword and a named entity in the query entry;
s103: 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;
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 display method of the present embodiment is executed in a server 2, and the server 2 is connected to a plurality of clients 4 through a network 3;
creating a front-end carrier in the server 2, creating a query interface in the front-end carrier, generating a carrier tag according to the query interface and associating the carrier tag with the front-end carrier. It should be noted that the front-end carrier is a pop-up layer, and the pop-up layer is generated based on a layer component and is used for popping up on a display screen and serving as a window for displaying a content carrier; the query interface in the application is an interface for information query according to named entities, wherein the interface is a set of named method signatures, and methods, attributes and events are defined.
The user end 4 outputs an inquiry entry comprising the intention keyword and the named entity, and the inquiry entry is output to the server 2 from the user end 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 keyword and the named entity therein.
The server 2 obtains a front-end carrier matched with the intention keywords, wherein the front-end carrier can be provided with a plurality of front-end carriers respectively used for inquiring different contents through the inquiry interfaces thereof; a plurality of the front-end carriers are respectively provided with carrier tags used for describing methods of the query interfaces thereof; therefore, the intention keywords are compared with the carrier labels of the front-end carrier to obtain the front-end carrier matched with the intention keywords, so that the front-end carrier which best accords with the intention keywords in the query vocabulary entry is realized; the server 2 acquires the query interface of the front-end carrier, calls 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, which 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 user end 4 may include various user end devices, such as a cell phone, a desktop computer, a notebook computer, and/or the like.
The server 2 may be composed of a single or a plurality of computer devices (e.g., servers). The single or multiple computing devices may include virtualized compute instances. The virtualized computing instance may include a virtual machine, such as an emulation of a computer system, an operating system, a server, and so forth. The computing device may load the virtual machine based on a virtual image and/or other data that defines the particular software (e.g., operating system, dedicated application, server) used 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, the creating at least one front end bearer and creating a query interface in the front end bearer in S101, and the generating a bearer tag according to the query interface and associating the bearer tag with the corresponding front end bearer includes:
creating a sample library, wherein the sample library is provided with a popup layer component for configuring and controlling a popup layer, and the popup layer component can be a layer, a jQuery popup layer plug-in or an vue popup layer component;
extracting a pop-up layer assembly from the sample library, and establishing a new pop-up layer according to the pop-up layer assembly to serve as a front-end carrier; wherein, the user can configure parameters in the pop-up layer assembly according to the requirement to generate the front-end carrier;
creating, by the popup layer component, a query interface in the front-end carrier, the query interface having a predefined method therein;
formulating a carrier label for describing a method in the query interface and adding the carrier label 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 and is associated with the front-end carrier.
Further, the shape of the popup layer is in the form of a card, and the popup layer is provided with a text area which can be written with the carrier label, wherein the text area is a part of the popup layer used 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 component 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 specified information, and the carrier tag is tag information for describing the method in the query interface; the predefined method is a method written by a developer through a computer to perform a specific action, such as "crawling stock price chart of each financial institution from internet", and the "stock price chart" in the method can be used as a carrier label 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 querying entries is met by providing a plurality of different query methods, the front-end carrier is ensured 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 specified front-end carrier and then displayed, the situation that certain information cannot be loaded in the carrier to cause that the information cannot be popped up due to the fact that a unified carrier is used is avoided, and the identification degree of the information displayed at a user end is improved by adopting the specific front-end carrier to display the specific information.
In a preferred embodiment, the identifying the intention keywords and the named entities in the query term in S102 previously comprises:
a natural language processing model having an intent recognition algorithm and an entity recognition algorithm is created.
In the present embodiment, the intention identification algorithm is an algorithm formed by a combination of the mature CNN model and the softmax function.
Further, the CNN (Convolutional Neural Network) model is a feed-forward Neural Network whose artificial neurons can respond to a portion of the coverage of surrounding cells.
Obtaining a training entry having an intention label, wherein the intention label is used for expressing the real intention of the training entry, for example, if the training entry is "stock price i want to see the Chinese bank", then the intention label of the training entry 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, the Chinese word segmentation algorithm of the natural language processing model is firstly adopted to segment the training entries to form word collection, for example, the stock price of the Chinese bank is divided into the stock price of the Chinese bank; converting the training vocabulary entry into a word vector through a word embedding (WordEmbedding) component or a distributed vector (distributed Vectors) component of the natural language processing model, wherein the word embedding component and the distributed vector component are technologies for converting words represented by natural language into vector or matrix forms which can be understood by a computer; the method comprises the steps that a word vector in a training entry with an intention label is used as input of an initial CNN model, the initial CNN model processes the word vector of each word through bottom layers of a Hidden Layer (Hidden Layer), a convolutional Layer (convolutional Layer) and a pooling Layer (Polling Layer), then transforms the word vector through a Dropout Layer (Dropout Layer), and transforms the word vector through a Full Connectivity Layer (FCL) to obtain a processing result; and calculating the loss function according to the processing result and the intention label by adopting a loss function, namely, coordinated cross-entry corresponding to softmax to obtain a loss function value, and optimizing the CNN model by an error reverse direction propagation algorithm based on the loss function value until an iteration condition is met.
In this embodiment, the entity identification algorithm is a mature RNN model.
Further, the RNN (Recurrent Neural Network) model is an artificial Neural Network in which nodes are connected in a ring in a directed manner. The internal state of such a network may exhibit dynamic timing behavior.
Obtaining a training entry having an entity label, wherein the entity label is used for expressing the real intention of the training entry, for example, if the training entry is "i want to see the stock price of the Chinese bank", then the entity label of the training entry is "Chinese bank"; training the RNN by using the training entries to obtain the parameters of an RNN model: and hiding the layer parameters, the convolutional layer parameters and the pooling layer parameters, and taking the bottom layer parameters as the bottom layer parameters in the initial domain identification model. Specifically, the Chinese word segmentation algorithm of the natural language processing model is firstly adopted to segment the training entries to form word collection, for example, the stock price of the Chinese bank is divided into the stock price of the Chinese bank; converting the training vocabulary entry into a word vector through a word embedding (WordEmbedding) component or a distributed vector (distributed Vectors) component of the natural language processing model, wherein the word embedding component and the distributed vector component are technologies for converting words represented by natural language into vector or matrix forms which can be understood by a computer; the RNN named entity recognition model is trained by taking word vectors in training entries with entity labels as input of an initial RNN model until an iteration condition position is met.
It should be noted that, the CNN model and the RNN model belong to the prior art, so a person skilled in the art can train the CNN model and the RNN model according to common knowledge and obtain a target model; the technical problem to be solved by the application is how to obtain the intention keywords and the named entities from the query terms, 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 identification accuracy; therefore, the specific training process of the CNN model and the RNN model is not described herein.
Therefore, the situation that the identification precision is reduced due to the fact that a single neural network is adopted to identify multiple kinds of information at the same time is avoided; thus improving the accuracy of the identification of the intent keywords and named entities.
In a preferred embodiment, the identifying the intention keywords and the named entities in the query term in S102 includes:
identifying, by the intent recognition algorithm, intent keywords in the query term;
identifying named entities in the query term through the entity identification algorithm.
The method comprises the steps of setting an intention keyword obtained through an intention recognition algorithm as a query entry, and setting a named entity obtained through an entity recognition algorithm as a query object of the query entry; the method and the purpose of the query terms are separately understood in a mode of separating the query method and the query object from the query terms, so that the intention of a querier is more accurately grasped.
In a preferred embodiment, the comparing the intention keyword with the front end carrier to obtain a target front end carrier corresponding to the intention keyword in S103 includes:
and comparing the intention keywords with the carrier tags of the front-end carriers to obtain carrier tags matched with the intention keywords, and setting the front-end carriers corresponding to the carrier tags as target front-end carriers.
Wherein the carrier tag is information describing a method in a query interface of the front-end carrier.
For example, if the intention keyword is "stock price", a carrier tag whose content is "stock price chart" in each front-end carrier is used as a carrier tag matched with the intention keyword, a front-end carrier corresponding to the carrier tag is obtained, and an inquiry interface corresponding to the front-end carrier is obtained, where the inquiry interface is used for crawling the stock price charts of each financial institution from the internet.
Therefore, the effect of accurately mastering the query method of the query entry is realized by obtaining the front-end carrier matched with the intention keyword, and based on the example, the information is queried from the internet by taking the query stock price chart as a method, so that the real intention of the user is ensured to be actually achieved, and the query accuracy and reliability 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 bearer tag 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 the 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 "china bank", and since the method in the query interface is "crawl stock price charts of financial institutions from the internet", the method in the query interface is called, and "china bank" is used as a parameter of the request url, e.g.,/stock prices? The company refers to the chinese bank, and queries and obtains the stock price chart of the "chinese bank" from the internet, and sets the "stock price chart" as a query result.
The query result may be text information, or PDF format information, or picture format information, or table format information.
Therefore, the named entity is inquired from the internet by calling the inquiry interface of the front-end carrier, the technical effect that the intention keyword is used as a premise, the named entity is used as an object, and the intention of the inquired entry is accurately grasped is realized, based on the example, namely, a stock price chart is inquired as a method, a Chinese bank is used as an object, information is inquired from the internet, and an inquiry result is obtained; because 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, the conditions of large query workload, low query efficiency and low accuracy caused by disordered query result sequencing of the current query interface due to more query keywords are avoided, and the effects of reducing the query workload and improving the query accuracy are further realized.
In a preferred embodiment, the loading the query result into the front-end carrier in S104 includes:
the front-end carrier has an editable area for displaying information;
and loading the query result into the editable area to convert the front-end carrier into a display carrier.
Specifically, if the query result is text information, writing the query result into the editable area in a 'paste' manner; and if the query result is PDF format information, picture format information or table format information, writing the query result into the editable area in an 'inserting' mode.
Therefore, the display carrier is displayed on the user side quickly and simply, a user can obtain the required query result quickly through the display carrier on the user side, the efficiency of the user for obtaining information is improved, and the problem of low query result loading speed caused by the fact that the user side needs to display a large amount of redundant or related information due to the fact that the user side only displays the display carrier simply is solved.
Furthermore, the query result is displayed on the user terminal in a 'card' form, so that the user terminal can manage the display carrier through operations such as moving, deleting and the like, and the dependence of the user terminal on a system menu is eliminated. The user does not need to search for the function wanted by the user in various menus; and because the front-end carrier is associated with the intention keywords, the intention of the inquirer and the information corresponding to the named entity can be conveyed to the user only by displaying the carrier, so that the user can intuitively know the result wanted by the user, the steps of user operation are reduced, and the usability and the convenience are improved.
Example two
Referring to fig. 3, a data query display device 1 of the present embodiment includes:
a creating module 11, configured to create at least one front-end carrier, create a query interface in the front-end carrier, generate a carrier tag according to the query interface, and associate the carrier tag with the corresponding front-end carrier;
the identification module 12 is used for receiving the query terms output by the user side and identifying the intention keywords and the named entities in the query terms;
the query module 13 is configured to compare the intention keyword with the carrier tag to obtain a target carrier tag corresponding to the intention keyword, and query a query result matched with the named entity through a query interface corresponding to the target carrier tag;
and the display module 14 is configured to load the query result into the front-end carrier to form a display carrier, and output the display carrier to the user side.
The technical scheme is based on an intelligent decision making technology in the field of artificial intelligence, and the technical effect of accurately judging the intention of the query vocabulary entry through a classification model established by an intention recognition algorithm and an entity recognition algorithm is achieved by adopting an intention recognition algorithm formed by combining a mature CNN model and a softmax function in a neural network to recognize the intention keywords in the query vocabulary entry and adopting an entity recognition algorithm formed by a mature RNN model in the neural network to recognize the named entities in the query vocabulary entry.
Example three:
in order to achieve the above object, the present invention further provides a computer system, where the computer system includes a plurality of computer devices 5, and the components of the data query and display apparatus 1 according to the second embodiment may be distributed in different computer devices, and the computer devices may be smartphones, tablet computers, notebook computers, desktop computers, rack servers, blade servers, tower servers, or rack servers (including independent servers or a server cluster formed by a plurality of servers) that execute programs, and the like. The computer device of the embodiment at least includes 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 shown components are required to be implemented, and more or fewer components may be implemented instead.
In this embodiment, the memory 51 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type 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 the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 51 may 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, provided on the computer device. Of course, the memory 51 may also include both internal and external storage devices of the computer device. In this embodiment, the memory 51 is generally used for storing an operating system and various application software installed on the computer device, such as the program code of the data query presentation apparatus in 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 (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 run the program code stored in the memory 51 or process data, for example, run a data query presentation device, so as to implement the data query presentation method according to the first embodiment.
Example four:
to achieve the above objects, the present invention also provides a computer-readable storage system including a plurality of storage media such as a flash memory, a hard disk, a multimedia card, a card type 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, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor 52, implements corresponding functions. The computer-readable storage medium of this embodiment is used for storing a data query presentation apparatus, and when being executed by the processor 52, the data query presentation method of the first embodiment is implemented.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A data query display method is characterized by comprising the following steps:
creating at least one front-end carrier, creating a query interface in the front-end carrier, generating a carrier tag according to the query interface and associating the carrier tag with the corresponding front-end carrier;
receiving a query entry output by a user side, and identifying an intention keyword and a named entity in the query entry;
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 loading the query result into the front-end carrier to form a display carrier, and outputting the display carrier to the user side.
2. The method of claim 1, wherein the creating at least one front-end carrier and creating a query interface in the front-end carrier, and the generating a carrier tag according to the query interface and associating the carrier tag with the corresponding front-end carrier comprises:
creating a sample library, wherein the sample library is provided with a popup layer component for configuring and controlling a popup layer;
extracting a pop-up layer assembly from the sample library, and establishing a new pop-up layer according to the pop-up layer assembly to serve as a front-end carrier;
creating, by the popup layer component, a query interface in the front-end carrier, the query interface having a predefined method therein;
and formulating a carrier label for describing a method in the query interface, and adding the carrier label in a front-end carrier to be associated with the front-end carrier.
3. The data query presentation method according to claim 2, wherein the pop-up layer is in a form of a card, and has a text area on which the carrier label can be written;
the front-end carrier associated with the carrier tag is stored in a preset database.
4. The data query presentation method of claim 1, wherein the identifying intent keywords and named entities in the query term previously comprises:
a natural language processing model having an intent recognition algorithm and an entity recognition algorithm is created.
5. The method of claim 4, wherein the identifying the intent keywords and the named entities in the query term comprises:
identifying, by the intent recognition algorithm, intent keywords in the query term;
identifying named entities in the query term through the entity identification algorithm.
6. The method for displaying data query according to claim 1, wherein the querying the query result matched with the named entity through the query interface corresponding to the target carrier tag comprises:
acquiring a front-end carrier with the target carrier label, 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 the information matched with the named entity in the Internet, and setting the information as a query result.
7. The method according to claim 1, wherein the loading the query result into the front-end carrier comprises:
the front-end carrier has an editable area for displaying information;
and loading the query result into the editable area to convert the front-end carrier into a display carrier.
8. A data query presentation device, comprising:
the system comprises a creating module, a searching module and a processing module, wherein the creating module is used for 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;
the system comprises an identification module, a search module and a search module, wherein the identification module is used for receiving a query entry output by a user side and identifying an intention keyword and a named entity in the query entry;
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 a query interface 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.
9. 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 when executing the computer program collectively implement the steps of the data query presentation method of any one of claims 1 to 7.
10. A computer-readable storage medium comprising a plurality of storage media, each storage medium having a computer program stored thereon, wherein the computer programs stored in the storage media, when executed by a processor, collectively implement the steps of the data query presentation method of any one of claims 1 to 7.
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 true CN111209374A (en) 2020-05-29
CN111209374B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111859195A (en) * 2020-07-31 2020-10-30 北京字节跳动网络技术有限公司 Information display method, information search method and device
WO2021139184A1 (en) * 2020-01-07 2021-07-15 平安科技(深圳)有限公司 Data query and display method, device, computer system, and readable storage medium
CN113342965A (en) * 2021-06-24 2021-09-03 平安国际融资租赁有限公司 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
CN114580386A (en) * 2020-12-01 2022-06-03 腾讯科技(深圳)有限公司 Method and device for extracting subject term

Citations (6)

* 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
US20190130026A1 (en) * 2017-10-30 2019-05-02 Nohold, Inc. Query a System via Natural Language NLP2X
US20190138647A1 (en) * 2017-11-08 2019-05-09 International Business Machines Corporation Designing conversational systems driven by a semantic network with a library of templated query operators

Family Cites Families (5)

* 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
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 (6)

* 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
US20190130026A1 (en) * 2017-10-30 2019-05-02 Nohold, Inc. Query a System via Natural Language NLP2X
US20190138647A1 (en) * 2017-11-08 2019-05-09 International Business Machines Corporation Designing conversational systems driven by a semantic network with a library of templated query operators
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021139184A1 (en) * 2020-01-07 2021-07-15 平安科技(深圳)有限公司 Data query and 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
CN114580386A (en) * 2020-12-01 2022-06-03 腾讯科技(深圳)有限公司 Method and device for extracting subject term
CN113342965A (en) * 2021-06-24 2021-09-03 平安国际融资租赁有限公司 Intention prediction and feedback method, device, computer equipment and readable storage medium
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

Also Published As

Publication number Publication date
WO2021139184A1 (en) 2021-07-15
CN111209374B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN111209374B (en) Data query display method, device, computer system and readable storage medium
US20220198327A1 (en) Method, apparatus, device and storage medium for training dialogue understanding model
US10872236B1 (en) Layout-agnostic clustering-based classification of document keys and values
US20230206670A1 (en) Semantic representation of text in document
CN111243061B (en) Commodity picture generation method, device and system
US20210209526A1 (en) Landing page processing method, device and medium
EP3961426A2 (en) Method and apparatus for recommending document, electronic device and medium
CN117033249B (en) Test case generation method and device, computer equipment and storage medium
CA3155031A1 (en) Improved search engine using joint learning for multi-label classification
CN114239504A (en) Form configuration method, device, equipment, readable storage medium and program product
CN110909768B (en) Method and device for acquiring marked data
CN114139052B (en) Ranking model training method for intelligent recommendation, intelligent recommendation method and device
CN111625567A (en) Data model matching method, device, computer system and readable storage medium
CN109063059B (en) Behavior log processing method and device and electronic equipment
WO2022001233A1 (en) Pre-labeling method based on hierarchical transfer learning and related device
CN113656737A (en) Webpage content display method and device, electronic equipment and storage medium
US20190196794A1 (en) Visual programming method, system and terminal device
CN112528610A (en) Data labeling method and device, electronic equipment and storage medium
CN111143568A (en) Method, device and equipment for buffering during paper classification and storage medium
CN114265777B (en) Application program testing method and device, electronic equipment and storage medium
CN113641933B (en) Abnormal webpage identification method, abnormal site identification method and device
CN115576789A (en) Method and system for identifying lost user
CN115562662A (en) Application page creating method and device, computer equipment and storage medium
CN113221035A (en) Method, apparatus, device, medium, and program product for determining an abnormal web page
CN112861504A (en) Text interaction method, device, equipment, storage medium and program product

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