Device function search method and device
By receiving search input and obtaining matching knowledge articles, the device function entrance is directly displayed, which solves the problem of difficulty for users in finding device functions and improves search efficiency.
Patent Information
- Application Number
- CN202011194291.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-10-30
AI Technical Summary
It is difficult for users to accurately find the device function entrance, resulting in low search efficiency.
By receiving search input, target knowledge articles matching the search terms are obtained, and the device function entrances involved are determined and displayed directly to the user.
Improved device function search efficiency, users do not need to read the article content to query the target device function.
Smart Images

Figure CN112307293B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and specifically to a method and apparatus for searching for device functions. Background Art
[0002] With the development of communication technology, the functions of terminal devices are becoming more and more abundant. Since the description of device functions is usually obscure, some users have a low level of knowledge of device functions, which results in the inability to accurately know the name of the device function, the difficulty in identifying the entry location of the device function, or even the lack of knowledge of the existence of the device function.
[0003] In the prior art, users usually choose to use various search engines to seek help related to device functions, such as entering questions such as "What should I do if my phone has insufficient memory?" to obtain content related to the question (such as question and answer content, usage experience, etc.), resulting in low efficiency in searching for device functions. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a device function search method and apparatus, which can solve the technical problem of low efficiency in searching device function entries.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a device function search method, comprising: receiving a search input, the search input comprising a search term; in response to the search input, obtaining a target knowledge article matching the search term; determining a target device function involved in the target knowledge article, and displaying an entry for the target device function.
[0007] In the second aspect, an embodiment of the present application provides a device function search apparatus, comprising: a receiving unit, for receiving a search input, wherein the search input comprises a search term; an acquisition unit, for acquiring a target knowledge article matching the search term in response to the search input; and a display unit, for determining a target device function involved in the target knowledge article and displaying an entry for the target device function.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect above.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect above are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0011] In an embodiment of the present application, by receiving a search input and then responding to the search input, a target knowledge article matching the search term is obtained, and finally the target device function involved in the target knowledge article is displayed, and an entrance to the target device function is displayed. Thus, the entrance to the target device function can be directly displayed after the user inputs a search term for device usage knowledge, without the user having to read the article content and query the target device function according to the prompts in the article content, thereby improving the efficiency of searching for device functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0013] Figure 1 is a flow chart of a device function search method provided in an embodiment of the present application;
[0014] Figure 2 is a flowchart of a first index rule establishment process of a device function search method provided in an embodiment of the present application;
[0015] Figure 3 is a schematic diagram of search results of the device function search method provided in an embodiment of the present application;
[0016] Figure 4 is a flowchart of a process of determining a target device function of a device function search method provided in an embodiment of the present application;
[0017] Figure 5 Schematic diagram of the corresponding relationship between data in the device function search method provided in an embodiment of the present application;
[0018] Figure 6 is a structural diagram of a device function search apparatus provided in an embodiment of the present application;
[0019] Figure 7 It is a schematic diagram of the hardware structure of an electronic device used to implement an embodiment of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0022] The device function search method and apparatus provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0023] Please refer to Figure 1 , which shows a flow chart of a device function search method provided in an embodiment of the present application. The device function search method provided in an embodiment of the present application can be applied to electronic devices. In practice, the electronic devices can be electronic devices such as smart phones, tablet computers, laptop computers, wearable devices, etc.
[0024] The process of the device function search method provided in the embodiment of the present application includes the following steps:
[0025] Step 101, receiving search input.
[0026] In this embodiment, the execution subject of the device function search method (such as the above-mentioned electronic device) can receive a search input, wherein the search input can include a search word.
[0027] In some scenarios, the search input for device usage knowledge can be implemented through text input. Users can call the search function provided by the device system to perform search input. In this case, the search term in the search input is a string.
[0028] In other scenarios, the search input for device usage knowledge can be realized through voice input. The user can perform search input by calling the voice input function of the device system. At this time, the search input can include voice information. The execution subject can convert the voice information into text to obtain the search term. In this way, the device usage knowledge can be searched when it is inconvenient for the user to input manually, thereby improving the convenience of search.
[0029] In this embodiment, the above-mentioned search input may specifically include a search input for device usage knowledge. Among them, device usage knowledge may be knowledge related to device functions, such as device function setting methods, device function entry locations, etc. Users usually have a need to use device functions during the use of the device. In this case, device usage knowledge may be searched. At this time, the search terms in the search input may specifically be search terms for device usage knowledge, such as "What should I do if my phone memory is insufficient?", "How do I set the night mode for a XX phone?", etc.
[0030] Step 102, in response to the search input, obtaining target knowledge articles matching the search term.
[0031] In this embodiment, in response to the search input, the execution subject may obtain target knowledge articles matching the search term. The target knowledge articles may include one or more articles related to device usage knowledge.
[0032] Here, the target knowledge article that matches the search term may refer to a knowledge article whose subject feature words match the search term (or a keyword in the search term). Among them, for a certain knowledge article, its subject feature words can be used to characterize the subject of the knowledge article, and its subject feature words can be extracted from the knowledge article. For example, a certain knowledge article is "Do you know that iButler also has this function?", and its content mainly explains the security detection function provided by "iButler", then the subject feature words of the knowledge article may include words such as "security detection".
[0033] In practice, subject feature words can be set in advance for a large number of knowledge articles. After receiving the search input, the search words can be matched with the subject feature words of each knowledge article, such as performing similarity calculation, so that the knowledge articles whose subject feature words match the search words (such as the similarity calculation result is greater than a preset threshold) are taken as target knowledge articles.
[0034] In some optional implementations of this embodiment, the execution subject can query the target subject feature words matching the search term based on the pre-established first index rule, and obtain the target knowledge article corresponding to the target subject feature words. The first index rule can be used to indicate the correspondence between the subject feature words and the knowledge article. Here, the index in the first index rule can be specifically an inverted index, so as to facilitate the search for knowledge articles based on the subject feature words.
[0035] See also Figure 2 In some examples, the first index rule may be pre-established through the following sub-steps S11 to S13:
[0036] Sub-step S11, obtaining a set of knowledge articles related to device usage knowledge.
[0037] Here, knowledge articles related to device usage knowledge may be obtained by crawling, and the obtained knowledge articles may be aggregated into a set to obtain a knowledge article set.
[0038] Optionally, after obtaining the knowledge article set, abnormal articles, articles that do not meet the equipment use requirements, and articles that are outdated may be eliminated, thereby making the articles in the knowledge article set more targeted and more effective.
[0039] Sub-step S12, performing word segmentation on each knowledge article in the knowledge article set to obtain a word segmentation result for each knowledge article.
[0040] Here, a statistical word segmentation method can be used for word segmentation. Specifically, the frequency of the combination of adjacent characters in each knowledge article can be counted to calculate the frequency of the word combination. When the above probability is higher than the preset probability threshold, it is determined that the above combination constitutes a word, thereby achieving word segmentation for each knowledge article.
[0041] In addition, a word segmentation method based on the string matching principle can also be used for word segmentation. Specifically, the string matching principle can be used to match each knowledge article with a string in a machine dictionary preset in the above-mentioned execution subject, and word segmentation can be performed based on the matching result. Among them, the above-mentioned string matching principle can be a forward maximum matching method, a reverse maximum matching method, a segmentation and labeling method, a word-by-word traversal matching method, a forward best matching method, a reverse best matching method, etc., which are not limited here.
[0042] Sub-step S13, selecting subject feature words from the word segmentation results of each knowledge article, and establishing a first indexing rule between the selected subject feature words and the knowledge articles in the knowledge article set.
[0043] In some examples, topic feature words can be selected from the word segmentation results of each knowledge article based on the term frequency-inverse document frequency (TF-IDF) method. Among them, the main idea of the term frequency-inverse document frequency method is that if a word or phrase appears in an article with a high frequency (TermFrequency, TF) and rarely appears in other articles, it is considered that this word or phrase has a good ability to distinguish categories and is suitable for classification. The inverse document frequency (IDF) mainly means that if there are fewer documents containing a certain word or phrase, the larger the IDF, it means that the word or phrase has a good ability to distinguish categories. Therefore, using the term frequency-inverse document frequency method, the importance of a word or phrase in a certain article can be calculated to facilitate the selection of topic feature words in the article.
[0044] Specifically, the above-mentioned execution entity can first calculate the TF value and IDF value of each word segmentation result (such as an entry) of each knowledge article, thereby obtaining the TF-IDF value. For a certain word in a certain knowledge article, the TF value of the word is the ratio of the number of times the word appears in the knowledge article to the total number of words in the knowledge article. The IDF value of the word is the ratio of the number of articles in the entire network (such as the number of articles in the above-mentioned knowledge article set) to the total number of articles in the entire network (such as the above-mentioned knowledge article set) containing the word. The TF-IDF value of the word is the product of the TF value and the IDF value of the word.
[0045] After calculating the TF-IDF value of each word segmentation result (such as an entry) of each knowledge article, the word segmentation result of each knowledge article can be sorted in descending order according to the TF-IDF value, so as to select some entries in order of TF-IDF from high to low as the subject feature words of the knowledge article, establish an inverted index of the subject feature words and the article, and obtain the first index rule.
[0046] In other examples, for each knowledge article, the word segmentation results can be combined into a word sequence, and the word sequence is input into a pre-trained topic feature word extraction model to obtain the topic feature words of the knowledge article. The topic feature word extraction model can be pre-trained by a machine learning method (such as a supervised learning method).
[0047] Through the first index rule, the target subject feature word that matches the search term can be conveniently and quickly selected, and the target knowledge article corresponding to the target subject feature word can be conveniently and quickly determined, thereby further improving the search efficiency of the device function.
[0048] Step 103, determining the target device function involved in the target knowledge article, and displaying the entry of the target device function.
[0049] In this embodiment, each knowledge article related to device usage knowledge may involve one or more device functions. The device function here can be either a device system function or a function provided by an application (Application, APP) installed in the device. For example, a knowledge article may simultaneously involve the security detection function and space cleaning function of a certain brand of mobile phone. The above-mentioned security detection function can be provided by the application installed in the device, and the space cleaning function can be provided by the application installed in the device or a function that comes with the device system.
[0050] After acquiring the target knowledge article, the execution subject can determine the target device function involved in the target knowledge article. As an example, a large number of device functions involved in the knowledge article can be labeled in advance, so that the target device function involved in the target knowledge article can be known based on the label of the target knowledge article.
[0051] After determining the target device function involved in the target knowledge article, the execution subject may display the entry of the target device function. Figure 3 A schematic diagram of the search results is shown. Figure 3 As shown in the figure, after searching for "insufficient mobile phone memory", the user can display the entrance to "i Manager" and the entrance to the setting of "Memory and Storage Space" in the search results. In addition, targeted knowledge articles can also be displayed, such as the article "What to do if the mobile phone memory is insufficient" in "Mobile Q&A" and the articles in "Mobile Phone Usage Guide".
[0052] In some optional implementations of this embodiment, see Figure 4 The above execution subject can determine the target device function involved in the target knowledge article according to the following sub-steps S21 to S23:
[0053] Sub-step S21, based on the pre-established second index rule, query the device functions involved in the above target knowledge article.
[0054] Here, the second index rule can be used to indicate the correspondence between knowledge articles and device functions. In some examples, the second index rule can be pre-established through the following steps: First, the knowledge articles in the knowledge article set are matched with a preset device function dictionary to obtain a matching result. Among them, the words in the device function dictionary may include but are not limited to words built into the device, function names, aliases of function names, synonyms of function names, etc. Then, based on the above matching results, a second index rule for the knowledge articles in the knowledge article set and device functions can be established. Specifically, if a knowledge article matches a function vocabulary in the device function dictionary, an index of the knowledge article and the function vocabulary can be established, thereby summarizing the second index rule.
[0055] Sub-step S22, sorting the queried device functions to obtain a sorting result.
[0056] In practice, the device functions may be sorted according to various preset sorting rules. For example, the queried device functions may be sorted according to the historical number of clicks by the current user, or the queried device functions may be sorted according to the number of clicks by all users, etc. The sorting method is not specifically limited here.
[0057] Optionally, you can sort the queried device functions as follows:
[0058] The first step is to obtain a first matching degree between the search term and the target subject feature word, a second matching degree between the target subject feature word and the target knowledge article, and a third matching degree between the target knowledge article and the queried device function.
[0059] Here, the first matching degree between the search term and the target topic feature word can be calculated using a similarity calculation method such as Euclidean distance. The second matching degree between each target topic feature word and its corresponding target knowledge article can be the TF-IDF value of the target topic feature word. The third matching degree between each knowledge article and the device function it involves can be determined based on the historical click data of the entrance of the device function after obtaining the article.
[0060] The following is a specific example to illustrate. Figure 5 The diagram of the corresponding relationship between the data shown in the figure shows that the search term is "safety detection", and the target subject feature terms include "safety detection" and "safety inspection". The target knowledge articles corresponding to the target subject feature terms are A and B, and the target knowledge articles corresponding to the target subject feature term "safety inspection" are B and C. Target knowledge article A involves device function 1 and device function 2, target knowledge article B involves device function 1, and target knowledge article C involves device function 3.
[0061] In the above example, the similarity between the search term "safety detection" and the target subject feature words "safety detection" and "safety inspection" can be calculated by using the Euclidean distance calculation method to obtain the first matching degree. For example, the first matching degree between "safety detection" and the target subject feature word "safety detection" is 1, and the first matching degree between "safety detection" and the target subject feature word "safety inspection" is 0.95.
[0062] Continuing with the above example, if the TF-IDF value of the term "safety detection" in the target knowledge article A is 0.011, the TF-IDF value of the term "safety detection" in the target knowledge article B is 0.016, the TF-IDF value of the term "safety check" in the target knowledge article B is 0.014, and the TF-IDF value of the term "safety check" in the target knowledge article C is 0.012, then the second matching degree of the target topic feature word "safety detection" with the target knowledge article A is 0.011, the second matching degree of the target topic feature word "safety detection" with the target knowledge article B is 0.016, the second matching degree of the target topic feature word "safety check" with the target knowledge article B is 0.014, and the second matching degree of the target topic feature word "safety check" with the target knowledge article C is 0.012.
[0063] Continuing with the above example, for the target knowledge article A, if the entry of device function 1 corresponds to the historical click data after knowledge article A is acquired, the third matching degree between the device function 1 and the knowledge article A can be calculated based on the historical click count of the entry. Here, the relationship between the third matching degree and the historical click count can be preset so that the third matching degree is positively correlated with the historical click count, thereby determining the third matching degree based on the relationship. If the entry of device function 2 does not have the historical click data after knowledge article A is acquired, the third matching degree between the device function 2 and the knowledge article A can be assigned based on the frequency of occurrence of device function 2 in knowledge article A. The same is true for target knowledge articles B and C, which will not be repeated here. Finally, it can be known that the third matching degree between target knowledge article A and device function 1, the third matching degree between target knowledge article A and device function 2, the third matching degree between target knowledge article B and device function 1, and the third matching degree between target knowledge article C and device function 3.
[0064] It should be noted that the specific calculation method of the first matching degree, the second matching degree and the third matching degree is not limited to the above examples, and other settings can be made as needed, which is not limited here.
[0065] It should be pointed out that the second matching degree between each subject feature word and its corresponding knowledge article, as well as the third matching degree between each knowledge article and the device function it involves can be pre-calculated and stored, so that after obtaining the target subject feature word and the target knowledge article, the second matching degree between the target subject feature word and the target knowledge article can be directly obtained from the stored data, and the third matching degree between the target knowledge article and the queried device function can be directly obtained, thereby improving online search efficiency.
[0066] In the second step, based on the first matching degree, the second matching degree and the third matching degree, a score of the queried device function is determined.
[0067] Here, the score of each device function found can be calculated respectively. When calculating the score of each device function, various preset calculation methods can be used.
[0068] As an example, for each device function, the first matching degree, the second matching degree, and the third matching degree involved in the device function may be summed to obtain three summation results, and then the three summation results may be multiplied to obtain the score of the device function.
[0069] As another example, for each device function, the score of each path involved in the device function may be calculated first (such as calculating the product of the three matching degrees of the path), and then the scores of the paths involved in the device function may be summed to obtain the score of the device function.
[0070] Continuing with the above example and Figure 5 For device function 1, it involves three pathways, namely: device function 1-target knowledge article A-target subject feature word “safety detection”-search word “safety detection”, device function 1-target knowledge article B-target subject feature word “safety detection”-search word “safety detection”, device function 1-target knowledge article B-target subject feature word “safety inspection”-search word “safety detection”.
[0071] Taking the path of device function 1-target knowledge article A-target subject feature word "safety detection"-search word "safety detection" as an example, the third matching degree between device function 1 and target knowledge article A is 0.8, the second matching degree between target knowledge article A and target subject feature word "safety detection" is 0.011, and the first matching degree between target subject feature word "safety detection" and search word "safety detection" is 1. These three matching degrees can be multiplied to obtain the calculation result of this path. The calculation method for other paths is similar and will not be repeated here. The score of device function 1 is obtained by summing the scores of these three paths. The calculation method for the scores of device function 2 and device function 3 is similar and will not be repeated here.
[0072] It should be noted that the method for determining the score of the queried device function can be set in other ways as needed and is not limited to the above example.
[0073] The third step is to sort the queried device functions based on the scores to obtain a sorting result. Here, the queried device functions can be sorted in descending order of scores to obtain a sorting result.
[0074] Sub-step S23, based on the sorting result, determining the target device function involved in the target knowledge article.
[0075] Here, either the device function ranked first or the device function ranked in the top three can be selected as the target device function, and no specific limitation is made here.
[0076] Therefore, when a large number of device functions are determined, more targeted device functions can be screened out to facilitate user selection.
[0077] The method provided by the above-mentioned embodiments of the present application receives a search input, and then responds to the search input to obtain a target knowledge article that matches the search term, and finally displays the target device function involved in the target knowledge article, thereby directly displaying the entrance to the target device function after the user inputs a search term for device usage knowledge, without the need for the user to read the article content and query the target device function according to the prompts in the article content, thereby improving the efficiency of searching for device functions.
[0078] It should be noted that the device function search method provided in the embodiment of the present application can be executed by a device function search apparatus or a control module in the device function search apparatus for executing the method for loading device function search. In the embodiment of the present application, the device function search method provided in the embodiment of the present application is described by taking the device function search apparatus executing the method for loading device function search as an example.
[0079] like Figure 6 As shown, the device function search apparatus 600 described in this embodiment includes: a receiving unit 601, used to receive a search input, wherein the search input includes a search term; an acquisition unit 602, used to acquire a target knowledge article matching the search term in response to the search input; and a display unit 603, used to determine a target device function involved in the target knowledge article and display an entry for the target device function.
[0080] In some optional implementations of this embodiment, the acquisition unit 602 is further used to: based on a pre-established first index rule, query the target subject feature words that match the search term, and obtain the target knowledge articles corresponding to the target subject feature words, wherein the first index rule is used to indicate the correspondence between the subject feature words and the knowledge articles.
[0081] In some optional implementations of the present embodiment, the first indexing rule is pre-established through the following steps: obtaining a set of knowledge articles related to device usage knowledge; performing word segmentation on each knowledge article in the set of knowledge articles to obtain the word segmentation results of each knowledge article; selecting subject feature words from the word segmentation results of each knowledge article, and establishing the first indexing rule between the selected subject feature words and the knowledge articles in the set of knowledge articles.
[0082] In some optional implementations of this embodiment, the display unit 603 is further used to: query the device function involved in the target knowledge article based on a pre-established second index rule, wherein the second index rule is used to indicate the correspondence between the knowledge article and the device function; sort the queried device functions to obtain a sorting result; and determine the target device function involved in the target knowledge article based on the sorting result.
[0083] In some optional implementations of this embodiment, the second indexing rule is pre-established through the following steps: matching the knowledge articles in the knowledge article set with a preset device function dictionary to obtain a matching result; and establishing a second indexing rule between the knowledge articles in the knowledge article set and the device functions based on the matching result.
[0084] In some optional implementations of the present embodiment, the display unit 603 is further used to: obtain a first matching degree between the search term and the target subject feature term, a second matching degree between the target subject feature term and the target knowledge article, and a third matching degree between the target knowledge article and the queried device function; determine a score for the queried device function based on the first matching degree, the second matching degree, and the third matching degree; and sort the queried device functions based on the score to obtain a sorting result.
[0085] The device function search device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0086] The device function search device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0087] The device function search apparatus provided in the embodiment of the present application can achieve Figure 1 In order to avoid repetition, the various processes implemented by the device function search device in the method embodiment will not be described here.
[0088] The device provided by the above-mentioned embodiment of the present application receives a search input, and then responds to the search input to obtain a target knowledge article that matches the search term, and finally displays the target device function involved in the target knowledge article, thereby directly displaying the entrance to the target device function after the user inputs a search term for device usage knowledge, without the need for the user to read the article content and query the target device function according to the prompts in the article content, thereby improving the efficiency of searching for device functions.
[0089] Optionally, an embodiment of the present application also provides an electronic device, including a processor 710, a memory 709, and a program or instruction stored in the memory 709 and executable on the processor 710. When the program or instruction is executed by the processor 710, each process of the above-mentioned device function search method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0090] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0091] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0092] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
[0093] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0094] Among them, the processor 710 is used to receive a search input, which includes a search term; in response to the search input, obtain a target knowledge article matching the search term; determine a target device function involved in the target knowledge article, and display an entry for the target device function.
[0095] In an embodiment of the present application, by receiving a search input and then responding to the search input, a target knowledge article matching the search term is obtained, and finally the target device function involved in the target knowledge article is displayed, and an entrance to the target device function is displayed. Thus, the entrance to the target device function can be directly displayed after the user inputs a search term for device usage knowledge, without the user having to read the article content and query the target device function according to the prompts in the article content, thereby improving the efficiency of searching for device functions.
[0096] Optionally, the processor 710 is further used to query the target subject feature words matching the search term based on a pre-established first index rule, and obtain the target knowledge articles corresponding to the target subject feature words, wherein the first index rule is used to indicate the correspondence between the subject feature words and the knowledge articles.
[0097] Optionally, the first indexing rule is pre-established through the following steps: obtaining a set of knowledge articles related to device usage knowledge; performing word segmentation on each knowledge article in the set of knowledge articles to obtain the word segmentation results of each knowledge article; selecting subject feature words from the word segmentation results of each knowledge article, and establishing the first indexing rule of the selected subject feature words and the knowledge articles in the set of knowledge articles.
[0098] Optionally, the processor 710 is further used to query the device function involved in the target knowledge article based on a pre-established second index rule, wherein the second index rule is used to indicate the correspondence between the knowledge article and the device function; sort the queried device functions to obtain a sorting result; and determine the target device function involved in the target knowledge article based on the sorting result.
[0099] Optionally, the second indexing rule is pre-established through the following steps: matching the knowledge articles in the knowledge article set with a preset device function dictionary to obtain a matching result; and establishing a second index of the knowledge articles in the knowledge article set and the device functions based on the matching result.
[0100] Optionally, the processor 710 is further used to obtain a first matching degree between the search term and the target subject feature term, a second matching degree between the target subject feature term and the target knowledge article, and a third matching degree between the target knowledge article and the queried device function; determine a score for the queried device function based on the first matching degree, the second matching degree, and the third matching degree; and sort the queried device functions based on the score to obtain a sorting result.
[0101] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned device function search method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0102] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0103] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned device function search method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0104] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0105] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0106] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0107] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A device function search method, characterized in that: The method comprises: receiving a search input, the search input comprising a search term for device usage knowledge; In response to the search input, obtaining target knowledge articles matching the search term, wherein the target knowledge articles include one or more articles related to device usage knowledge; Determine the target device function involved in the target knowledge article, and display the entry of the target device function; The acquiring of a target knowledge article matching the search term comprises: Based on a pre-established first index rule, querying a target subject feature word matching the search term, and acquiring a target knowledge article corresponding to the target subject feature word, wherein the first index rule is used to indicate a corresponding relationship between a subject feature word and a knowledge article; The determining of the target device function involved in the target knowledge article includes: Based on a pre-established second index rule, querying the device function involved in the target knowledge article, wherein the second index rule is used to indicate the correspondence between the knowledge article and the device function; Sort the queried device functions to obtain a sorting result; Based on the sorting results, determining the target device function involved in the target knowledge article; The entry for displaying the target device function includes: Displaying the entrance of the target device function and the article summary of the target knowledge article; The queried device functions are sorted to obtain a sorting result, including: Obtaining a first matching degree between the search term and the target subject feature word, a second matching degree between the target subject feature word and the target knowledge article, and a third matching degree between the target knowledge article and the queried device function; Determining a score of the queried device function based on the first matching degree, the second matching degree, and the third matching degree; Based on the scores, the queried device functions are sorted to obtain a sorting result.
2. The method according to claim 1, characterized in that: The first index rule is pre-established by the following steps: Get a collection of knowledge articles related to device usage knowledge; Performing word segmentation on each knowledge article in the knowledge article set to obtain a word segmentation result for each knowledge article; A subject feature word is selected from the word segmentation result of each knowledge article, and a first indexing rule is established between the selected subject feature word and the knowledge articles in the knowledge article set.
3. The method according to claim 1, characterized in that The second index rule is pre-established by the following steps: Get a collection of knowledge articles related to device usage knowledge; Matching the knowledge articles in the knowledge article set with a preset device function dictionary to obtain a matching result; Based on the matching result, a second indexing rule between the knowledge articles and device functions in the knowledge article set is established.
4. A device function search apparatus, characterized in that: The device comprises: A receiving unit, configured to receive a search input, wherein the search input includes a search term for device usage knowledge; an acquisition unit, configured to acquire, in response to the search input, target knowledge articles matching the search term, wherein the target knowledge articles include one or more articles related to device usage knowledge; A display unit, used to determine the target device function involved in the target knowledge article and display the entry of the target device function; The acquisition unit is further used for: Based on a pre-established first index rule, querying a target subject feature word matching the search term, and obtaining a target knowledge article corresponding to the target subject feature word, wherein the first index rule is used to indicate a corresponding relationship between a subject feature word and a knowledge article; The display unit is further used for: Based on a pre-established second index rule, querying the device function involved in the target knowledge article, wherein the second index rule is used to indicate the correspondence between the knowledge article and the device function; Sort the queried device functions to obtain a sorting result; Based on the sorting result, determining the target device function involved in the target knowledge article; The entry for displaying the target device function includes: Displaying the entrance of the target device function and the article summary of the target knowledge article; The display unit is further used to: obtain a first matching degree between the search term and the target subject feature word, a second matching degree between the target subject feature word and the target knowledge article, and a third matching degree between the target knowledge article and the queried device function; determine a score for the queried device function based on the first matching degree, the second matching degree, and the third matching degree; and sort the queried device functions based on the score to obtain a sorting result.
5. The device according to claim 4, characterized in that The first index rule is pre-established by the following steps: Get a collection of knowledge articles related to device usage knowledge; Performing word segmentation on each knowledge article in the knowledge article set to obtain a word segmentation result for each knowledge article; A subject feature word is selected from the word segmentation result of each knowledge article, and a first indexing rule is established between the selected subject feature word and the knowledge articles in the knowledge article set.
Citation Information
Patent Citations
Information ranking method, and method and device for generating information ranking model
CN104899310A
Promotion information pushing method and device
CN105808685A
Search method and apparatus, and apparatus used for search
CN107798011A
