Information retrieval prompting method and device, electronic equipment and storage medium

By constructing a suggestion dictionary, a thesaurus, and a pinyin dictionary, the problem of information redundancy in the IoT device retrieval platform was solved, enabling accurate retrieval suggestions and fast searching, thus improving the user experience.

CN116402044BActive Publication Date: 2026-03-31INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In IoT device retrieval platforms, providing users with accurate search suggestions to help them quickly and effectively find IoT devices of interest presents a challenge given the increasing amount of device data and attribute information.

Method used

Construct a suggestion dictionary, a thesaurus, and a pinyin dictionary based on IoT device attribute information. By preprocessing the search information input by the user, determine the search keywords, and match them with these dictionaries in turn to provide multiple suggestion messages.

Benefits of technology

It improves the ability of IoT devices to provide multi-dimensional prompts and accurate searches, providing a superior user experience and enabling users to quickly and effectively retrieve the attribute information of devices of interest.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116402044B_ABST
    Figure CN116402044B_ABST
Patent Text Reader

Abstract

The application provides an information retrieval prompting method and device, electronic equipment and a storage medium, the method comprising: preprocessing device retrieval information input by a user to determine a retrieval keyword; sequentially matching the retrieval keyword with a prompt word library, a synonym library and a pinyin word library to obtain multiple prompt information corresponding to the device retrieval information; the prompt word library is constructed based on attribute information of various devices, the synonym library is constructed based on synonymous words corresponding to the attribute information of various devices, and the pinyin word library is determined based on the prompt word library; and the multiple prompt information is sent to a front end for display. The application can provide accurate retrieval prompt information for a user, help the user quickly and effectively retrieve attribute information of an Internet of Things device of interest, improve the multi-dimensional prompting and accurate retrieval capability of the Internet of Things device, and provide a good user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to an information retrieval prompting method, apparatus, electronic device, and storage medium. Background Technology

[0002] In the era of the Internet of Everything, with the continuous development of IoT device functions and the rapid increase in the number of devices, the attribute dimensions and information of various devices have increased significantly, and users' demand for understanding the attributes of IoT devices is also increasing day by day.

[0003] To meet user needs, and given the ever-increasing amount of device data and attribute information on various IoT device retrieval platforms, providing users with accurate search suggestions to help them quickly and effectively find IoT devices of interest presents a new challenge to the field of information retrieval. Summary of the Invention

[0004] This invention provides an information retrieval suggestion method, device, electronic device, and storage medium to provide users with accurate retrieval suggestion information, helping users to quickly and effectively retrieve IoT devices of interest.

[0005] This invention provides an information retrieval suggestion method, comprising:

[0006] Preprocess the device search information entered by the user to determine the search keywords;

[0007] The search keywords are sequentially matched with the prompt word library, the thesaurus, and the pinyin word library to obtain multiple prompt messages corresponding to the device search information; the prompt word library is constructed based on the attribute information of various types of devices, the thesaurus is constructed based on the synonyms corresponding to the attribute information of various types of devices, and the pinyin word library is determined based on the prompt word library;

[0008] The multiple prompts are sent to the front end for display.

[0009] According to an information retrieval suggestion method provided by the present invention, the search keywords are sequentially matched with a suggestion word library, a thesaurus, and a pinyin word library to obtain multiple suggestion messages corresponding to the device search information, including:

[0010] The search keywords are sequentially matched with the suggestion dictionary, the thesaurus, and the pinyin dictionary for text similarity.

[0011] If a match is successful, multiple prompt messages corresponding to the successfully matched device retrieval information are obtained in descending order of similarity.

[0012] or,

[0013] If the match fails, the search keywords are segmented to obtain multiple search sub-keywords;

[0014] Each of the search sub-keywords is sequentially matched with the prompt word library, the synonym word library, and the pinyin word library to obtain multiple prompt messages corresponding to the successfully matched device search information.

[0015] According to an information retrieval suggestion method provided by the present invention, the step of preprocessing the device retrieval information input by the user to determine the retrieval keywords includes:

[0016] Illegal characters in the device retrieval information are filtered to obtain filtered device retrieval information;

[0017] Based on the filtered device retrieval information, at least one retrieval condition is determined;

[0018] Determine the search keywords corresponding to each of the search conditions; the search keywords include the search keywords corresponding to each of the search conditions.

[0019] According to an information retrieval suggestion method provided by the present invention, determining at least one search condition based on the filtered device retrieval information includes:

[0020] If the filtered device retrieval information does not contain the target logical symbol, the filtered device retrieval information will be used as a retrieval condition.

[0021] or,

[0022] If the filtered device retrieval information contains the target logical symbol, the filtered device retrieval information is segmented to obtain multiple retrieval conditions.

[0023] According to an information retrieval suggestion method provided by the present invention, before preprocessing the device retrieval information input by the user, the method further includes:

[0024] Cluster analysis is performed on the attribute information of various types of equipment in the equipment attribute library to determine the equipment attribute classification information;

[0025] The prompt word library is generated based on the device attribute classification information;

[0026] Establish the association between the prompt word library and the device attribute library.

[0027] According to an information retrieval suggestion method provided by the present invention, before preprocessing the device retrieval information input by the user, the method further includes:

[0028] Convert all vocabulary information stored in the prompt dictionary into words in pinyin format to generate a pinyin dictionary;

[0029] Establish the association between the pinyin dictionary and the device attribute library; the device attribute library stores attribute information of various types of the devices.

[0030] According to an information retrieval prompting method provided by the present invention, after sending the plurality of prompting messages to the front end for display, the method further includes:

[0031] Receive a first input from the user, the first input being used to select a target prompt from the plurality of prompts;

[0032] In response to the first input, the device attribute information corresponding to the target prompt information is displayed.

[0033] The present invention also provides an information retrieval prompting device, comprising:

[0034] The processing module is used to preprocess the device search information input by the user and determine the search keywords;

[0035] The matching module is used to match the search keywords sequentially with the prompt word library, the thesaurus, and the pinyin word library to obtain multiple prompt messages corresponding to the device search information; the prompt word library is constructed based on various attribute information of various types of devices, the thesaurus is constructed based on the synonyms corresponding to the attribute information of various types of devices, and the pinyin word library is determined based on the prompt word library;

[0036] The sending module is used to send the multiple prompt messages to the front end for display.

[0037] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the information retrieval and prompting method as described above.

[0038] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the information retrieval and prompting method as described above.

[0039] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the information retrieval and prompting method as described above.

[0040] The information retrieval suggestion method, device, electronic device, and storage medium provided by this invention analyze and classify multi-dimensional attribute information of various IoT devices to construct a suggestion dictionary. Simultaneously, to improve the effectiveness of user retrieval, a thesaurus and a pinyin dictionary are constructed. This allows users to extract search keywords after inputting device search information and sequentially match them with the suggestion dictionary, the thesaurus, and the pinyin dictionary to obtain multiple suggestions corresponding to the successfully matched device search information. This provides users with accurate search suggestions, helping them quickly and effectively retrieve attribute information of IoT devices of interest, improving the multi-dimensional suggestion and accurate retrieval capabilities of IoT devices, and providing a superior user experience. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0042] Figure 1 This is a flowchart illustrating the information retrieval and prompting method provided by the present invention;

[0043] Figure 2 This is a schematic diagram of the process of constructing a thesaurus in the information retrieval suggestion method provided by the present invention;

[0044] Figure 3 This is a schematic diagram of the information retrieval and prompting device provided by the present invention;

[0045] Figure 4 This is a schematic diagram of the physical structure of the electronic device provided by the present invention. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0047] In the description of the invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0048] The following is combined with Figures 1-4 The present invention describes an information retrieval prompting method, apparatus, electronic device, and storage medium.

[0049] Figure 1 This is a flowchart illustrating the information retrieval and suggestion method provided by the present invention, such as... Figure 1 As shown, it includes steps 110, 120 and 130.

[0050] Step 110: Preprocess the device search information entered by the user to determine the search keywords;

[0051] Step 120: Match the search keywords sequentially with the prompt word library, the thesaurus, and the pinyin word library to obtain multiple prompt messages corresponding to the device search information; the prompt word library is constructed based on the attribute information of various types of devices, the thesaurus is constructed based on the synonyms corresponding to the attribute information of various types of devices, and the pinyin word library is determined based on the prompt word library;

[0052] Step 130: Send multiple prompt messages to the front end for display.

[0053] Specifically, in the embodiments of the present invention, the attribute information of the IoT devices that need to be prompted is first preprocessed. From billions of IoT devices, the attribute information of various types of devices in multiple dimensions is analyzed in order to generate a prompt dictionary, a thesaurus, and a pinyin dictionary.

[0054] Furthermore, based on the above embodiments, as an optional embodiment, before preprocessing the user-inputted device retrieval information in step 110, the method further includes:

[0055] Cluster analysis is performed on the attribute information of various types of equipment in the equipment attribute database to determine the equipment attribute classification information;

[0056] Generate a prompt word library based on device attribute classification information;

[0057] Establish the association between the prompt word library and the device attribute library.

[0058] Specifically, in this embodiment of the invention, a device attribute library is pre-built based on the attribute information of various devices in multiple dimensions. In other words, the device attribute library stores the attribute information of various devices.

[0059] In an embodiment of the present invention, by performing cluster analysis on the attribute information of various types of devices in the device attribute library, the attribute information of different devices is clustered according to attribute categories to obtain device attribute classification information.

[0060] Specifically, in this embodiment, cluster analysis is performed on the following twenty-plus dimensions of device information in the existing device attribute database containing billions of devices, and the resulting device attribute classification information is stored in the prompt word database. Thus, the device attribute classification information is stored to generate the prompt word database.

[0061] The device attribute classification information may include:

[0062] (1) Equipment attributes: equipment type, equipment brand, equipment model, equipment version;

[0063] (2) Software attributes: software type, software product, software version;

[0064] (3) Operating system attributes: operating system type, operating system product, operating system version;

[0065] (4) Location attributes: Country, province, city, district / county, and street where the device is located;

[0066] (5) Attribution attributes: industry, owner, autonomous system number (ASN), internet service provider (ISP);

[0067] (6) Vulnerability attributes: vulnerability number, vulnerability name, vulnerability level;

[0068] (7) Network attributes: port, protocol, domain name.

[0069] Optionally, all device attribute classification information can be segmented into words to form a segmented word library, and a prompt word library can be generated based on the segmented word library. That is, the prompt word library can also contain vocabulary information from the segmented word library, and the corresponding prompt words in the prompt word library can be searched through the vocabulary of the segmented word library.

[0070] To ensure the effectiveness of word segmentation, the word segmentation lexicon not only includes a general lexicon of device attributes, but also incorporates a device attribute identification fingerprint lexicon and an Internet asset fingerprint lexicon. This part defines the standardized attribute descriptions of IoT devices, and its content is consistent with the device attributes marked in the device attribute lexicon. The addition of this part of the lexicon can solve the problem of inaccurate word segmentation and ensure the effectiveness of word segmentation.

[0071] In embodiments of the present invention, the device attribute identification fingerprint database is constructed based on device fingerprint information of various IoT devices. This device fingerprint information may include inherent, difficult-to-tamper-with, and unique device identifiers. For example, a device's hardware ID is used to uniquely identify the device; another example is a network interface card (NIC), which is assigned a unique MAC address during the manufacturing process. These unique device identifiers can be considered as device fingerprint information.

[0072] At the same time, the set of features of a device can also be used as a device fingerprint. For example, the device's name, model, function, and other features can be combined to form a device identifier.

[0073] In the specific implementation process, the call to the fingerprint database of the above system is determined based on the response information of the services opened by IoT devices. By extracting the unique identifier of the device in the fingerprint database, such as the web page structure information with unique identification function (different types of devices have different functions and different naming habits of developers), web page tags and attribute information, JS code (determined by the development habits of developers from different manufacturers), access path, brand, model, version, certificate information (generally, manufacturers will attach the manufacturer identifier when generating the certificate, and each generated certificate is unique), icon information, etc., the IoT device corresponding to the identifier and its device attributes can be searched.

[0074] For the Internet asset fingerprint database, the fingerprint rules of the assets are found in the metadata of the Internet assets, which are the characteristics of the assets. The metadata of Internet assets includes data such as the asset's protocol, banner, body, title, server, header, and certificate.

[0075] Furthermore, in an embodiment of the present invention, an association is established between a prompt word library and a device attribute library, thereby allowing the corresponding device attribute information to be searched from the device attribute library using device attribute category words in the prompt word library.

[0076] The method of this invention constructs a prompt word library by performing cluster analysis on a large amount of various device attribute information, and associates the mapping relationship between the prompt word library and the device attribute library. This facilitates the quick retrieval of corresponding prompt information and device attribute information based on the search information entered by the user, thereby improving the efficiency and effectiveness of user retrieval.

[0077] In embodiments of this invention, because the terminology for device attributes is quite specialized, such as device types being categorized as video surveillance equipment, routing and switching equipment, and industrial control equipment, users would need to be familiar with hundreds of thousands of technical terms to obtain accurate suggestions, which is virtually impossible. To improve the usability of the search suggestion function, a thesaurus was designed before step 110. For each technical term, a set of general terms with the same meaning is provided, including English terms. Furthermore, user-defined insertions and additions are supported.

[0078] Based on the above embodiments, as an optional embodiment, before preprocessing the device retrieval information input by the user in step 110, the method further includes:

[0079] Convert all vocabulary information stored in the prompt dictionary into words in pinyin format to generate a pinyin dictionary;

[0080] Establish a relationship between the pinyin dictionary and the device attribute database; the device attribute database stores attribute information for various types of devices.

[0081] It should be noted that the search prompt is a dynamic process, and prompts will be provided continuously during the user's input. In order to ensure that the user can get effective feedback when inputting pinyin, a pinyin dictionary is also designed in the embodiments of the present invention.

[0082] The process of generating the pinyin dictionary is as follows: For all the vocabulary information stored in the prompt dictionary, call the Chinese character to pinyin interface to convert all the vocabulary information stored in the prompt dictionary into words in pinyin format, and construct the pinyin dictionary from the words in pinyin format.

[0083] Similarly, in embodiments of the present invention, an association is established between a pinyin dictionary and a device attribute library, thereby allowing the device attribute information corresponding to the pinyin words in the pinyin dictionary to be searched from the device attribute library.

[0084] The method in this embodiment of the invention, by constructing a pinyin dictionary, ensures that users can obtain effective feedback when they input pinyin, which helps to further improve the efficiency and effectiveness of user retrieval.

[0085] Figure 2 This is a schematic diagram of the process of constructing a thesaurus in the information retrieval suggestion method provided by the present invention, such as... Figure 2As shown, the device attribute database stores attribute information for various IoT devices. When the attribute information of various devices is updated, the database can be updated periodically. After the update, cluster analysis is performed on the attribute information of various devices in the database to obtain multi-dimensional data corresponding to the device attribute classification information, such as device type, device brand, device model, device version, software type, software product, software version, operating system type, operating system product, operating system version, location-country, location-province, location-city, location-district / county, location-street, and domain name. Further, a prompt word library is generated based on the multi-dimensional data corresponding to the device attribute classification information. Based on the multi-dimensional data corresponding to all device attribute classification information stored in the prompt word library, a pinyin word library and a thesaurus are then constructed.

[0086] Furthermore, after receiving a user's request by inputting device search information at the front end, the system provides search suggestions. First, in step 110, the input device search information is preprocessed to determine the search keywords.

[0087] Based on the above embodiments, as an optional embodiment, the device search information input by the user is preprocessed to determine search keywords, including:

[0088] Filter out illegal characters in the device search information to obtain filtered device search information;

[0089] Based on the filtered device retrieval information, at least one retrieval condition is determined;

[0090] Determine the search keywords corresponding to each search condition; the search keywords include the search keywords corresponding to each search condition.

[0091] It should be noted that the device search information entered by the user may include special characters that do not conform to the system's grammar rules, such as "#" or "¥".

[0092] In this embodiment, illegal characters in the device retrieval information are filtered out to remove illegal special characters, thereby obtaining filtered device retrieval information.

[0093] Furthermore, based on the result of determining whether the filtered device retrieval information contains the target logical symbol, at least one retrieval condition is determined.

[0094] Optionally, based on the filtered device retrieval information, at least one retrieval condition is determined, including:

[0095] If the filtered device retrieval information does not contain the target logical symbol, the filtered device retrieval information will be used as a retrieval condition.

[0096] In this embodiment, the target logical symbol may include the "OR" logical symbol. If the filtered device retrieval information does not contain the "OR" logical symbol, or if the device retrieval information contains "AND" or "NOT" logical symbols, or does not contain any logical symbols, the filtered device retrieval information is used as a retrieval condition for a retrieval operation.

[0097] Alternatively, if the filtered device search information contains the target logical symbol, the filtered device search information can be segmented to obtain multiple search conditions. For example, if the filtered search information is "port==80&&location='Country A-City B'", which contains the "AND" logical symbol, it can be used as a search condition. When searching, logical combinations are required, and the device being searched is the one that satisfies the condition of port number 80 and geographical location "Country A-City B".

[0098] In this embodiment, when the filtered device retrieval information contains an "OR" logical symbol, the information on both sides of the "OR" logical symbol is segmented according to its position. Each segment is used as a retrieval condition, resulting in multiple retrieval conditions. A retrieval operation is performed for each retrieval condition. For example, if the filtered retrieval information is "port==80‖port==81", which contains an "OR" logical symbol, it is segmented into two retrieval conditions: "port==80" and "port==81". The devices to be searched during the retrieval are the devices with port number 80 and the devices with port number 81.

[0099] The method of this invention determines whether to segment the device retrieval information by detecting whether the device retrieval information contains an "OR" logical symbol, thereby ensuring a precise retrieval of the device retrieval information, making it easier for users to quickly find device prompts of interest, and improving the user experience.

[0100] Furthermore, after determining at least one search condition, the prefixes of each search condition are obtained. If they conform to the system's grammar rules, the scope of suggestions can be narrowed, and the text words can be extracted to obtain the search keywords corresponding to each search condition.

[0101] In embodiments of the present invention, if the search type is a device attribute type, keywords can be searched within the device scope, including device type, device brand, device model, and device version. For example, the corresponding search condition can be described as "device = 'camera'", where "device" represents the prefix of the search condition, and "camera" is the search keyword corresponding to the search condition. If the search type is a location attribute type, keywords can be searched within the geographical location scope, including country, province, city, district, etc. For example, the corresponding search condition can be described as "location = 'Country A - City B'", where "location" represents the prefix of the search condition, and "Country A - City B" is the search keyword corresponding to the search condition.

[0102] The method of this invention performs preprocessing operations such as filtering illegal characters and segmenting search conditions on the device search information input by the user, ensuring that the obtained search keywords are accurate and effective, which helps to improve the effectiveness of user searches.

[0103] Furthermore, in step 120, the search keywords are matched sequentially with the prompt word library, the synonym word library, and the pinyin word library to obtain multiple prompt messages corresponding to the device search information.

[0104] Based on the above embodiments, as an optional embodiment, the search keywords are sequentially matched with the suggestion dictionary, the thesaurus, and the pinyin dictionary to obtain multiple suggestion messages corresponding to the device search information, including:

[0105] The search keywords are sequentially matched with the suggestion dictionary, the thesaurus, and the pinyin dictionary for text similarity.

[0106] If a match is successful, multiple prompt messages corresponding to the successfully matched device retrieval information are obtained in descending order of similarity.

[0107] Specifically, in the embodiments of the present invention, a text similarity calculation method can be used for text matching. The search keywords are sequentially matched with the prompt word library, the synonym word library and the pinyin word library. By calculating the similarity between the search keywords and the words in the word library, if the similarity reaches 85% or more, the match can be considered successful.

[0108] In this embodiment, the search keywords are first matched with all vocabulary information in the prompt word library. If a match is successful, multiple prompt messages corresponding to the successfully matched device search information are obtained in descending order of similarity. For example, the top ten prompt messages can be obtained and provided to the user to stop the search.

[0109] In this embodiment, if the search keyword fails to match the suggestion dictionary, the search keyword is matched with all vocabulary information in the thesaurus, and the matching is continued in the manner described above according to the text similarity matching method to obtain multiple suggestion messages corresponding to the successfully matched device search information. Otherwise, if the matching fails, the search keyword is matched with the pinyin vocabulary information in the pinyin dictionary until multiple successfully matched suggestion messages are obtained.

[0110] Optionally, if the above matching fails, the search keywords are segmented to obtain multiple search sub-keywords;

[0111] Each search sub-keyword is matched sequentially with the suggestion dictionary, the thesaurus, and the pinyin dictionary to obtain multiple suggestion messages corresponding to the successfully matched device search information.

[0112] Specifically, in an embodiment of the present invention, if the above matching fails, the search keyword is sequentially matched with the prompt word library, the thesaurus, and the pinyin word library for text similarity. If all matches fail, the search keyword can be segmented into multiple search sub-keywords. Each search sub-keyword is then sequentially matched with the prompt word library, thesaurus, and the pinyin word library, following the text similarity matching method described above, until a match is successful. Multiple prompt messages with high similarity and ranked at the top are obtained and returned to the user, and the search is stopped.

[0113] The method of this invention employs text similarity matching to sequentially match search keywords with a prompt word library, a synonym word library, and a pinyin word library, ensuring the accuracy of the matched prompt information. This improves the ability to accurately retrieve multi-dimensional attribute information of IoT devices and enhances the effectiveness of user searches.

[0114] Furthermore, after obtaining multiple prompts corresponding to the device retrieval information, in step 130, the multiple prompts are sent to the front end for display so that the user can make a selection.

[0115] The information retrieval suggestion method of this invention analyzes and classifies multi-dimensional attribute information of various IoT devices to construct a suggestion dictionary. Simultaneously, to improve the effectiveness of user retrieval, a thesaurus and a pinyin dictionary are constructed. This allows users to extract search keywords after inputting device search information and sequentially match them with the suggestion dictionary, thesaurus, and the pinyin dictionary to obtain multiple suggestions corresponding to the successfully matched device search information. This provides users with accurate search suggestions, helping them quickly and effectively retrieve attribute information of IoT devices of interest, improving the multi-dimensional suggestion and accurate retrieval capabilities of IoT devices, and resulting in a superior user experience.

[0116] Based on the above embodiments, as an optional embodiment, after sending multiple prompt messages to the front end for display, the method further includes:

[0117] Receive the user's first input, which is used to select the target prompt from multiple prompts;

[0118] In response to the first input, display the device attribute information corresponding to the target prompt information.

[0119] Specifically, the first input described in this embodiment of the invention refers to an operation for selecting a target prompt from multiple prompts. Specifically, it can be an input operation by the user on the front-end prompt display interface, used by the user to select a target prompt from multiple prompts.

[0120] The user's first input can be presented in at least one of the following ways:

[0121] Firstly, it can manifest as touch input, including but not limited to editing operations such as click input, swipe input, and press input. In this embodiment, receiving the user's first input can be manifested as receiving the input selected by the user through touch click on the prompt information display interface on the front-end display screen.

[0122] Secondly, it can be expressed as physical button input. In this embodiment, the system receives the user's initial input through an external input device, such as a mouse. Specifically, it can be expressed as receiving input from the user clicking on the prompt information display interface on the front-end display screen using the mouse.

[0123] Of course, in other embodiments, user input may also take other forms, such as voice control, which can be determined according to actual needs. This embodiment of the invention does not limit this.

[0124] Furthermore, in an embodiment of the present invention, the backend server can respond to the first input by searching for the device attribute information corresponding to the target prompt information from the associated device attribute library, and send the device attribute information to the front-end display interface for the user to browse and view.

[0125] The method of this invention improves the user experience by making it easier for users to obtain the attribute information of IoT devices of interest through the visual design of the retrieval system's operation interface.

[0126] Based on the above embodiments of the present invention, the present invention designs processes for generating and updating various thesauruses, as well as search suggestion processes. The present invention is not only applicable to search suggestions for multi-dimensional information from IoT devices, but also to search suggestions for other massive amounts of multi-dimensional information.

[0127] The information retrieval prompting device provided by the present invention is described below. The information retrieval prompting device described below can be referred to in correspondence with the information retrieval prompting method described above.

[0128] Figure 3 This is a schematic diagram of the information retrieval and prompting device provided by the present invention, as shown below. Figure 3 As shown, it includes:

[0129] Processing module 310 is used to preprocess the device search information input by the user and determine the search keywords;

[0130] The matching module 320 is used to match the search keywords sequentially with the prompt dictionary, the thesaurus, and the pinyin dictionary to obtain multiple prompts corresponding to the device search information. The prompt dictionary is constructed based on various attribute information of various devices, the thesaurus is constructed based on the synonyms corresponding to the attribute information of various devices, and the pinyin dictionary is determined based on the prompt dictionary.

[0131] The sending module 330 is used to send multiple prompt messages to the front end for display.

[0132] The information retrieval prompting device described in this embodiment can be used to execute the above-described information retrieval prompting method embodiment. Its principle and technical effects are similar, and will not be repeated here.

[0133] The information retrieval prompting device of this invention analyzes and classifies multi-dimensional attribute information of various IoT devices to construct a prompting word library. Simultaneously, to improve the effectiveness of user retrieval, a thesaurus and a pinyin word library are constructed. This allows users to extract search keywords after inputting device search information and sequentially match them with the prompting word library, the thesaurus, and the pinyin word library to obtain multiple prompts corresponding to the device search information. This provides users with accurate search prompts, helping them quickly and effectively retrieve attribute information of IoT devices of interest, improving the multi-dimensional prompting and accurate retrieval capabilities of IoT devices, and resulting in a superior user experience.

[0134] Optionally, the matching module 320 is specifically used for:

[0135] The search keywords are sequentially matched with the suggestion dictionary, the thesaurus, and the pinyin dictionary for text similarity.

[0136] If a match is successful, retrieve multiple prompt messages corresponding to the successfully matched device retrieval information in descending order of similarity.

[0137] or,

[0138] If the match fails, the search keywords are segmented to obtain multiple search sub-keywords;

[0139] Each search sub-keyword is matched sequentially with the suggestion dictionary, the thesaurus, and the pinyin dictionary to obtain multiple suggestion messages corresponding to the successfully matched device search information.

[0140] Optionally, the processing module 310 includes:

[0141] The filtering submodule is used to filter illegal characters in the device retrieval information to obtain the filtered device retrieval information;

[0142] The first processing submodule is used to determine at least one search condition based on the filtered device retrieval information.

[0143] The second processing submodule is used to determine the search keywords corresponding to each search condition; the search keywords include the search keywords corresponding to each search condition.

[0144] Optionally, the first processing submodule is specifically used for:

[0145] If the filtered device retrieval information does not contain the target logical symbol, the filtered device retrieval information will be used as a retrieval condition.

[0146] or,

[0147] If the filtered device retrieval information contains the target logical symbol, the filtered device retrieval information is segmented to obtain multiple retrieval conditions.

[0148] Optionally, the device further includes:

[0149] The clustering module is used to perform cluster analysis on the attribute information of various types of equipment in the equipment attribute library to determine the equipment attribute classification information;

[0150] The first generation module is used to generate a prompt word library based on device attribute classification information;

[0151] The first module is used to establish the association between the prompt word library and the device attribute library.

[0152] Optionally, the device further includes:

[0153] The second generation module is used to convert all the vocabulary information stored in the prompt vocabulary database into words in pinyin format, and generate a pinyin vocabulary database.

[0154] The second module is used to establish the association between the pinyin dictionary and the device attribute library; the device attribute library stores attribute information of various types of devices.

[0155] Optionally, the device further includes:

[0156] The receiving module is used to receive the user's first input, which is used to select the target prompt message from multiple prompt messages;

[0157] The display module is used to respond to the first input and display the device attribute information corresponding to the target prompt information.

[0158] Figure 4 This is a schematic diagram of the physical structure of the electronic device provided by the present invention, such as... Figure 4 As shown, the electronic device may include a processor 410, a communication interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute the information retrieval and prompting methods provided by the above methods. The method includes: preprocessing the device retrieval information input by the user to determine the retrieval keywords; matching the retrieval keywords sequentially with a prompt word library, a thesaurus, and a pinyin word library to obtain multiple prompt messages corresponding to the device retrieval information; the prompt word library is constructed based on the attribute information of various types of devices, the thesaurus is constructed based on the synonyms corresponding to the attribute information of various types of devices, and the pinyin word library is determined based on the prompt word library; and sending the multiple prompt messages to the front end for display.

[0159] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0160] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the information retrieval prompting method provided by the above methods. The method includes: preprocessing the device retrieval information input by the user to determine retrieval keywords; matching the retrieval keywords sequentially with a prompt word library, a thesaurus, and a pinyin word library to obtain multiple prompt messages corresponding to the device retrieval information; the prompt word library is constructed based on the attribute information of various types of devices, the thesaurus is constructed based on the synonyms corresponding to the attribute information of various types of devices, and the pinyin word library is determined based on the prompt word library; and sending the multiple prompt messages to the front end for display.

[0161] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the information retrieval and prompting method provided by the above-described methods. The method includes: preprocessing device retrieval information input by a user to determine retrieval keywords; sequentially matching the retrieval keywords with a prompt word library, a thesaurus, and a pinyin word library to obtain multiple prompt messages corresponding to the device retrieval information; wherein the prompt word library is constructed based on the attribute information of various types of devices, the thesaurus is constructed based on the synonyms corresponding to the attribute information of various types of devices, and the pinyin word library is determined based on the prompt word library; and sending the multiple prompt messages to a front end for display.

[0162] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0163] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0164] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An information retrieval prompting method characterized by comprising: The method comprises the following steps: preprocessing device search information input by a user to determine a search keyword; sequentially matching the search keyword with a prompt library, a synonym library and a pinyin library to obtain a plurality of prompt information corresponding to the device search information; the prompt library is constructed based on attribute information of various devices, the synonym library is constructed based on synonymous words corresponding to the attribute information of the various devices, and the pinyin library is determined based on the prompt library; the plurality of prompt information is sent to a front end for display.

2. The information retrieval prompting method of claim 1, wherein, The step of sequentially matching the search keyword with the prompt library, the synonym library and the pinyin library to obtain the plurality of prompt information corresponding to the device search information comprises the following steps: sequentially performing text similarity matching on the search keyword with the prompt library, the synonym library and the pinyin library; if the matching is successful, obtaining the plurality of prompt information corresponding to the device search information that is matched successfully in descending order of similarity; or, if the matching is unsuccessful, performing word segmentation on the search keyword to obtain a plurality of search sub-keywords; sequentially matching each search sub-keyword with the prompt library, the synonym library and the pinyin library to obtain the plurality of prompt information corresponding to the device search information that is matched successfully.

3. The information retrieval prompting method of claim 1, wherein, The step of preprocessing the device search information input by the user to determine the search keyword comprises the following steps: filtering illegal characters in the device search information to obtain filtered device search information; determining at least one search condition based on the filtered device search information; determining a search keyword corresponding to each search condition; the search keyword comprises a search keyword corresponding to each search condition.

4. The information retrieval prompting method of claim 3, wherein, The step of determining at least one search condition based on the filtered device search information comprises the following steps: in a case where it is detected that the filtered device search information does not contain a target logical symbol, taking the filtered device search information as a search condition; or, in a case where it is detected that the filtered device search information contains the target logical symbol, segmenting the filtered device search information to obtain a plurality of search conditions.

5. The information retrieval prompting method according to any one of claims 1 to 4, characterized by, Before the step of preprocessing the device search information input by the user, the method further comprises the following steps: performing cluster analysis on attribute information of various devices in a device attribute library to determine device attribute classification information; generating the prompt library based on the device attribute classification information; establishing an association relationship between the prompt library and the device attribute library.

6. The information retrieval prompting method according to any one of claims 1 to 4, characterized by, Before the step of preprocessing the device search information input by the user, the method further comprises the following steps: converting all word information stored in the prompt library into pinyin format to generate a pinyin library; establishing an association relationship between the pinyin library and a device attribute library; the device attribute library stores attribute information of various devices.

7. The information retrieval prompting method according to any one of claims 1 to 4, characterized by, After the step of sending the plurality of prompt information to the front end for display, the method further comprises the following steps: receiving a first input of a user; the first input is used to select target prompt information in the plurality of prompt information; in response to the first input, displaying device attribute information corresponding to the target prompt information.

8. An information retrieval prompting device, characterized by comprising: The application relates to an information retrieval prompting method and device. The application relates to an information retrieval prompting method and device. The application relates to an information retrieval prompting method and device. The application relates to an information retrieval prompting method and device. The application relates to an information retrieval prompting method and device.

9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The application relates to an information retrieval prompting method and device. 10.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, ​

Citation Information

Patent Citations

  • Distributed data searching system and method

    CN110162522A

  • Information retrieval method and device, equipment and medium

    CN111259262A