CN109657236B - Guidance information acquisition method, apparatus, electronic apparatus, and storage medium - Google Patents

Guidance information acquisition method, apparatus, electronic apparatus, and storage medium Download PDF

Info

Publication number
CN109657236B
CN109657236B CN201811497052.9A CN201811497052A CN109657236B CN 109657236 B CN109657236 B CN 109657236B CN 201811497052 A CN201811497052 A CN 201811497052A CN 109657236 B CN109657236 B CN 109657236B
Authority
CN
China
Prior art keywords
information
target
entity information
user
entity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811497052.9A
Other languages
Chinese (zh)
Other versions
CN109657236A (en
Inventor
陈云
傅成彬
罗佳晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201811497052.9A priority Critical patent/CN109657236B/en
Publication of CN109657236A publication Critical patent/CN109657236A/en
Application granted granted Critical
Publication of CN109657236B publication Critical patent/CN109657236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • G06F40/295Named entity recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for acquiring guide information, an electronic device and a storage medium, and belongs to the field of artificial intelligence. According to the embodiment of the invention, the determined target guide templates are various according to the obtained different target fields, target operation intentions and target entity information, the target guide templates can predict the next operation of the user, and then rich and various first guide information can be obtained based on the target guide templates, the first guide information can possibly meet the actual requirements of the user, the user can continue to perform related operations on the terminal through the first guide information, and the utilization rate of the user on the application program on the terminal is greatly improved.

Description

Guidance information acquisition method, apparatus, electronic apparatus, and storage medium
Technical Field
The present invention relates to the field of artificial intelligence, and in particular, to a method and an apparatus for acquiring guidance information, an electronic apparatus, and a storage medium.
Background
With the development of artificial intelligence technology, more and more intelligent terminals, such as intelligent sound boxes with voice recognition function, are emerging. Since a user may not be familiar with a method of using the smart terminal, the user may be guided to perform various operations on the smart terminal by displaying guidance information on the smart terminal.
Currently, a commonly used method for acquiring guidance information may include the following processes: when the intelligent terminal receives an operation instruction of a user for a certain function, the intelligent terminal can acquire the guide information corresponding to the operation instruction from the database and provide the guide information for the user in a display mode.
Based on the above method for acquiring the guidance information, the guidance information is preset by technicians based on each function of the intelligent sound box, and the guidance information acquired each time is fixed information, so that the guidance information can only guide the user to preliminarily know the basic function of the intelligent terminal, and the actual use requirement of the user cannot be met.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring guide information, an electronic device and a storage medium, which can solve the problem that the guide information cannot meet the actual use requirement of a user. The technical scheme is as follows:
in one aspect, a method for acquiring guidance information is provided, where the method includes:
determining a target field and a target operation intention of an information acquisition request based on information carried by the information acquisition request;
acquiring target entity information of the information acquisition request;
determining a target guide template according to the target field, the target operation intention and the target entity information;
and outputting first guide information according to the target guide template and the target entity information.
In one aspect, a guidance information acquiring apparatus is provided, the apparatus including:
the first determining module is used for determining a target field and a target operation intention of an information acquisition request based on information carried by the information acquisition request;
the first acquisition module is used for acquiring the target entity information of the information acquisition request;
the first determination module is further used for determining a target guide template according to the target field, the target operation intention and the target entity information;
and the output module is used for outputting first guide information according to the target guide template and the target entity information.
In one aspect, an electronic device is provided, and the electronic device includes a processor and a memory, where at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the operations performed by the above-mentioned boot information obtaining method.
In one aspect, a computer-readable storage medium is provided, and at least one instruction is stored in the storage medium and loaded and executed by a processor to implement the operations performed by the above-mentioned boot information obtaining method.
According to the embodiment of the invention, the determined target guide templates are various according to the obtained different target fields, target operation intentions and target entity information, the target guide templates can predict the next operation of the user, and then rich and various first guide information can be obtained based on the target guide templates, the first guide information can possibly meet the actual requirements of the user, the user can continue to perform related operations on the terminal through the first guide information, and the utilization rate of the user on the application program on the terminal is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram of an implementation environment provided by an embodiment of the invention;
fig. 2 is a flowchart of a method for acquiring guidance information according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for acquiring guidance information according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for acquiring guidance information according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for acquiring guidance information according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a guidance information acquiring apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a diagram of an implementation environment provided by an embodiment of the invention. The implementation environment comprises a plurality of terminals 101, a server 102 for providing services to the plurality of terminals. The plurality of terminals 101 are connected to the server 102 through a wireless or wired network, the plurality of terminals 101 may be electronic devices capable of accessing the server 102, and the electronic devices may be computers, smart phones, tablet computers, smart speakers and other electronic devices. The server 102 may be one or more web servers, the server 102 may serve as a carrier of multimedia files, the server 102 may provide multimedia functions such as video playing, audio playing, and the like for the user, and of course, the server 102 may also provide guidance information for the user on the basis of the multimedia functions. For the server 102, the server 102 may also have at least one database for storing user information, multimedia files, user search records, and the like.
Specifically, for example, the above-described implementation environment may include an application program on the terminal 101, based on which a user may click on the terminal 101, and further, the terminal 101 may include a voice message receiving function. When the terminal 101 receives a voice message or detects a click operation of the terminal 101 by a user, the terminal 101 may be triggered to send an information acquisition request to the server 102, and the server 102 may send guidance information acquired based on the information acquisition request to the terminal 101. That is, the terminal 101 may acquire the guidance information through interaction with the server 102, thereby performing operations such as playing music, playing video, or further searching on the terminal 101 based on the guidance information.
Based on the above implementation environment, the terminal 101 can also be used as a control terminal to control other electronic devices in the implementation environment to perform some operations, such as playing music, playing video, or further searching. That is, when the terminal 101 receives a voice message or detects a click operation of a user, the terminal 101 may be triggered to send an information acquisition request to the server 102, and the server 102 may acquire guidance information based on the information acquisition request and send the guidance information to the electronic device controlled by the terminal 101. For example, the terminal 101 may be a mobile phone, the electronic device may be a sound box, a program capable of controlling the sound box may be installed on the mobile phone, the user may input a song name in the program, after the server 102 searches for audio data matched with the song name, the audio data may be sent to the sound box, the sound box plays the audio data, and in addition, when the user inputs the song name in the program, the mobile phone may be triggered to send an information acquisition request to the server 102.
Fig. 2 is a flowchart of a guidance information obtaining method according to an embodiment of the present invention, where the guidance information obtaining method may be applied to a server. Referring to fig. 2, the embodiment includes:
200. the terminal sends an information acquisition request to the server.
In the embodiment of the present invention, the information acquisition request is used for the terminal to acquire guidance information from the server, and the guidance information is used for guiding the user to perform various operations on the terminal. The information acquisition request may be triggered by any one of the following conditions: the terminal receives the voice message; or the terminal detects the click operation of the user. Specifically, the following description is made for the triggering process under the above two conditions:
the first condition is as follows: under the condition that the terminal receives the voice message, the terminal can be considered to be operated or wants to operate the terminal, and wants to see expected information and the like through the terminal, at this time, the terminal can display guide information to predict the expected information of the user or the next operation of the user, and therefore, when the terminal receives the voice message, the terminal can trigger the information acquisition request.
Wherein, the terminal can receive the voice message through the following processes: (1) the terminal can have a voice awakening function and a voice recording function, when a user speaks a voice message in a preset decibel within a preset distance, the terminal can be awakened by the voice message through the voice awakening function, and the voice message is recorded into the terminal through the voice recording function, so that the purpose that the terminal receives the voice message is achieved. (2) The terminal can have a voice recording function and a voice recording control, a user can click or press the voice recording control for a long time and speak a voice message within a preset distance, when the terminal detects the click operation or the long-press operation of the user on the voice recording control, the terminal can start the voice recording function and start recording the voice message of the user until the terminal does not detect the click operation or the long-press operation of the user on the voice recording control, the terminal finishes recording and obtains the recorded voice message, and therefore the purpose that the terminal receives the voice message is achieved.
It should be noted that, under the trigger condition that the terminal receives the voice message, the triggered information acquisition request may carry the voice message, and besides the voice message, the information acquisition request may also carry information such as a user identifier, a current time point, a partner identifier, a terminal manufacturer identifier, and an application version identifier.
And a second condition: when the terminal detects the click operation of the user, it may be considered that the user is operating the terminal, and the user may not explicitly want to obtain the information, at this time, the terminal may display guidance information to predict desired information of the user or a next operation of the user, and therefore, when the terminal detects the click operation of the user, the terminal may trigger the information obtaining request.
The terminal detects the click operation of the user, which may include the following situations: (1) the terminal can detect the clicking operation of the user on the specific function interface on the terminal. In this case, the triggered information acquisition request may carry a function interface identifier, where the function interface identifier is used to uniquely represent the specific function interface. (2) The terminal can detect the clicking operation of the user on the operable function control on the terminal. In this case, the information acquisition request triggered may carry a function control identifier, where the function control identifier is used to uniquely represent the operable function control, and the operable function control is associated with the specific function interface to which the operable function control belongs, so that the information acquisition request may also carry a function interface identifier corresponding to the function control identifier. Of course, the information obtaining request may also carry information such as a user identifier, a current time point, a partner identifier, a terminal manufacturer identifier, and an application version identifier, in addition to the function control identifier and the function interface identifier.
201. And the server receives an information acquisition request sent by the terminal.
202. When the information acquisition request carries a voice message, the server converts the voice message into text information, and analyzes the text information to obtain a target field and a target operation intention of the information acquisition request.
The target field is used for representing the field corresponding to the next possible operation of the user, the target operation intention is used for representing the next possible operation of the user, and the next possible operation of the user can be predicted by acquiring the target field and the target operation intention, so that guiding information which is more in line with the use requirement of the user is provided for the user.
In the embodiment of the present invention, only the information acquisition request carries a voice message as an example for description, the server converts the voice message into text information, and the process of analyzing the text information may include the following steps (1) to (3):
(1) the server may convert the voice message into text information through a voice recognition function.
(2) The server can perform word segmentation on the text information to obtain a plurality of keywords.
(3) And the server performs semantic analysis on the keywords to obtain a target field and a target operation intention corresponding to the information acquisition request.
Wherein the semantic analysis process can be performed based on queries of the domain library and the operation intention library. The domain library may include a plurality of domains and a plurality of terms in each domain, and accordingly, the server may query the domain library according to a plurality of keywords, and for any keyword, when the plurality of terms in a certain domain include the keyword, the domain is determined as the target domain. The operation intention library may include a plurality of operation intentions and a plurality of terms corresponding to the respective operation intentions, and accordingly, the server may query the operation intention library according to a plurality of keywords, and for any keyword, when the plurality of terms under a certain operation intention include the keyword, determine the operation intention as the target operation intention. Of course, the domain library and the operation intention library may also be implemented by one database, that is, for any term in the database, the domain and the operation intention of the term are stored correspondingly, and then the query may be performed in the database according to the keyword, so as to obtain at least one of the domain and the operation intention corresponding to the keyword.
For example, the text message may be "i want to listen to ice rain of liu xx", and the text message is segmented to obtain the following keywords: "listen", "Liu xx" and "ice rain". The server can obtain the target operation intention of the information acquisition request as 'play' and the target field of the information acquisition request as 'music' based on the keywords.
It should be noted that the semantic analysis may be performed through a semantic model, that is, the multiple keywords are input into the semantic model to output the target fields and the target operation intents of the multiple keywords, and the embodiment of the present invention does not limit which form is specifically adopted to obtain the fields and intents.
203. The server acquires first entity information from the text information, and takes the first entity information as the target entity information.
In the embodiment of the present invention, the first entity information may include first entity content and a first entity attribute corresponding to the first entity content, and the server may use the first entity information as entity information corresponding to a next possible operation of the user, that is, target entity information.
For example, the server obtaining the first entity information from the text information may include the following steps 203A and 203B:
203A, the server carries out semantic analysis on the keywords of the text information to obtain the keywords belonging to the entity content as the first entity content.
The semantic analysis of the keywords may be performed based on an entity library. The entity library may pre-define an entity condition, such as a part of speech of an entity or a specific entity tag. The server may identify entity content from the textual information based on the keywords and entity conditions defined in the entity library, e.g., the entity library may define parts of speech of the entities as nouns, and the server may identify keywords from the keywords based on the parts of speech, the parts of speech being nouns. For another example, the entity library may further define a plurality of entity contents, and when the server queries corresponding entity contents in the entity library according to the keyword, the keyword is determined as the first entity content.
For example, the keywords "listen", "liuxx" and "ice rain" obtained by segmenting the text message "i want to listen to ice rain" of liuxx "may be determined as the first entity content of the text message, where the parts of speech of" liuxx "and" ice rain "are nouns.
203B, the server performs attribute classification on the first entity content to obtain a first entity attribute corresponding to each first entity content.
The above-mentioned process of attribute classification of the first entity content may be performed based on an entity attribute library. The server may query the corresponding entity content in the entity attribute library according to the entity content, and when the entity attribute library includes the first entity content, determine an entity attribute corresponding to the first entity content as the first entity attribute.
For example, the attribute category library is preset with an entity attribute of a singer, and the entity attribute includes a plurality of singer names, when the keyword includes any singer name in the entity attribute library, the keyword is determined as the first entity content, and the entity attribute corresponding to the keyword is used as the first entity attribute corresponding to the first entity content. Still taking the text information "i want to listen to the ice and rain of liu xx" in the step (1) above as an example, where the attribute category is "singer" found in the attribute category library based on "liu xx", then it may be determined that the first entity attribute of the first entity content is singer.
Of course, the entity library and the entity attribute library in the step (1) and the step (2) may also be implemented by one entity attribute library, and the specific implementation manner may include: the server queries the entity attribute library according to the keyword, and when the entity attribute library comprises the keyword, the keyword is used as first entity content, and the entity attribute corresponding to the keyword in the entity attribute library is used as the first entity attribute of the first entity content.
It should be noted that the above processes of semantic analysis and attribute classification may be implemented not only by the above described processes, but also by a semantic model, an information vector may be composed by a plurality of keywords of the text information, and after the information vector is input into the semantic model, the first entity content and the first entity attribute in the text information may be output.
204. The server acquires first entity information from the text information, acquires second entity information from the search result associated with the first entity information based on the search result associated with the first entity information, and takes the second entity information as the target entity information.
In the embodiment of the present invention, the first entity information may be used as a search condition of the current information acquisition request, that is, the first entity information may represent a field and an intention corresponding to the current operation of the user, and generally, the previous and subsequent operations of the user have a certain relevance, and the operation that the user may perform next time may be predicted based on a search result of the previous operation.
In one possible implementation manner, the server obtains first entity information from the text information, obtains second entity information from the search result associated with the first entity information based on the search result associated with the first entity information, and may include the following steps 204A to 204D to use the second entity information as the target entity information:
204A, the server obtains the first entity information in the text message, the process is similar to the process of obtaining the first entity information in step 203, and details are not repeated here in the embodiments of the present invention.
204B, the server searches based on the first entity information and stores the search result in the server.
It should be noted that, when the server performs a search based on the first entity information, the server may respond to the terminal based on the search result, and in order to facilitate display of the terminal, the server may return the search result meeting the preset condition to the terminal. For example, the search result of which the correlation is greater than the preset threshold in the search results is sent to the terminal, or the search result of which the correlation is located at the previous preset position in the search results is sent to the terminal. Accordingly, the server may store the search result based on the first entity information after responding to the information acquisition request.
Of course, the above-mentioned search may be performed not only based on the first entity information, but also based on the field and intention of the information acquisition request, so as to further improve the search accuracy.
204C, the server obtains the second entity information from the search results associated with the first entity information.
The specific implementation process of step 204C may be the same as the implementation process of obtaining the first entity information from the text information in step 203, and is not described in detail in this embodiment of the present invention.
In combination with the above steps 204A to 204C, there may be the following example: the first entity information acquired by the server may be [ singer: zhou xx ], the search results stored in the server and associated with the first entity information may be "i want to listen to rainbow of zhou xx", "i want to listen to rice of zhou xx", and "i want to listen to blue and white porcelain of zhou xx", etc., and the server may extract second entity information [ singer: zhou xx ], [ song: rainbow, [ song ]: rice aroma ] and [ song: blue and white porcelain.
It should be noted that, when the information acquisition request carries a voice message, the server may not perform the process of step 204, and of course, the server may also combine step 204 to implement the embodiment of the present invention on the basis of step 203 described above, that is, the acquired target entity information may include entity information obtained by analyzing various information, and the embodiment of the present invention is not limited herein.
205. And the server acquires third entity information from the historical search result associated with the user identification according to the user identification carried by the information acquisition request, and takes the third entity information as the target entity information.
In the embodiment of the invention, the entity information which is possibly interested by the user can be determined according to the searching habit of the user, and the user identification is used for uniquely representing the user logged in the terminal.
The specific implementation process of step 205 may be the same as the implementation process of obtaining the first entity information from the text information in step 203, and is not described in detail in this embodiment of the present invention.
It should be noted that, each time an information acquisition request is received, the server may obtain a search result based on the information acquisition request, and in order to reflect the search habit of the user, the server may store the user identifier and the search result correspondingly, that is, a large number of historical search results may be stored in the server, so as to provide reliable data support for subsequent field prediction and intention prediction. Optionally, when the server stores the historical search result corresponding to the user identifier, only the historical search result in the latest period of time may be stored, so as to save the storage space of the server, for example, the server may only store the historical search result within one week, and the length of the period of time may be adjusted based on the storage capability of the server, which is not limited herein.
It should be noted that, when the information obtaining request carries a voice message, the server may not perform the process of step 205, and of course, the server may also obtain the target entity information by combining any step from step 203 to step 205, that is, the obtained target entity information may include entity information obtained by analyzing a plurality of information, which is not limited herein in the embodiment of the present invention.
206. And the server acquires the first user portrait data according to the user identification carried by the information acquisition request.
In an embodiment of the present invention, first user representation data is used to represent user attributes, user preferences, and the like, and the first user representation data is associated with a corresponding user identifier, so that the server may obtain the first user representation data associated with the user identifier based on the user identifier. The server can perform data analysis on personal data of each user, interaction information of the user and the terminal and the like to obtain first user portrait data of each user. The interactive information is historical operation information of the user on the terminal and feedback information of the terminal.
Alternatively, for example, the server performs data analysis on the interaction information between the user and the terminal, and the server may perform data analysis on the interaction information through a data analysis function to obtain image data such as singers, songs, authors, and song styles that the user approximately likes. For example, the server may perform voiceprint analysis on a voice message input by a user to obtain approximate age information of the user, and store the age information as first user representation data in a first user representation database. In addition, the server may further analyze a favorite music style of the user based on the search record of the user and a frequently used function interface, for example, if the server detects that the number of times the user uses the music function in the last week is large and the terminal plays a large number of ballad songs, the server may obtain the portrait data of the user as a "ballad song".
Of course, in addition to obtaining the first user portrait data based on the personal data of the user and the interaction information between the user and the terminal, the server may also obtain the corresponding first user portrait data according to other information of the user, which is not limited herein.
207. The server filters fourth entity information based on the first user portrait data to obtain fifth entity information matched with the first user portrait data, and the fifth entity information is used as the target entity information.
In an embodiment of the present invention, the fourth entity information is entity information with a heat degree greater than a target threshold, and the fifth entity information is entity information with a heat degree greater than a target threshold corresponding to the first user image data. The specific process of the server acquiring the fifth volume information may include the following steps 207A to 207C:
207A, the server may count the heat of the entity information on the network, and sort according to the heat of the entity information from large to small.
The server can crawl the webpage through a crawler tool and the like, and analyze the webpage to obtain a plurality of fourth entity information and the heat degree of each fourth entity information. The popularity can be used to express any kind of metric value of the searched condition, the presented condition or the clicked condition of the entity information. For example, the popularity may refer to a frequency of occurrence, e.g., in one possible implementation, the higher the frequency of occurrence, the higher the popularity, and the more times searched, the higher the popularity.
207B, based on the sorted entity information, the server may take the entity information with the order located in the top preset number as the fourth entity information.
For example, the preset number may be 10, and the server may take the entity information ranked in the top 10 as the fourth entity information. Further, the fourth entity information may also carry a date, which may be used to indicate when the fourth entity information is currently hot.
207C, the server filters the fourth entity information based on the first user portrait data, and if any of the fourth entity information matches the first user portrait data, the fourth entity information is regarded as the fifth entity information. For example, when a song style is included in the first pictorial data, the server may regard fourth entity information belonging to the song style as fifth entity information. For example, when the first user portrait data includes a song genre preferred by the current user as ballad song, the fourth entity information of the song type belonging to the ballad song may be used as the fifth entity information, for example, the fifth entity information obtained by the server may be [ favorite singer: zhao xx ″) and [ favorite songs: achievement ], and the like.
It should be noted that, when the information acquisition request carries a voice message, the server may not perform the processes in steps 206 to 207, and of course, the server may also obtain the target entity information by combining with any one of the entity information acquisition processes in steps 203 to 207, that is, the obtained target entity information may include entity information obtained by analyzing a plurality of information, which is not limited herein in the embodiment of the present invention.
208. And the server acquires sixth entity information matched with the target field according to the target field, wherein the sixth entity information is entity information with the heat degree larger than a target threshold value, and the sixth entity information is taken as the target entity information.
In the embodiment of the invention, only the entity information with higher heat in the target field can be acquired, so that the possibility of hitting the next operation of the user is improved. In this embodiment of the present invention, a specific process of the server acquiring the sixth entity information may include the following steps 208A to 208B:
208A, the server may count the heat of the entity information in the target domain on the network, and sort the entity information according to the heat of the entity information from large to small.
208B, based on the sorted entity information, the server may take the entity information with the preset number of the top sorted entities as the sixth entity information.
For example, the preset number may be 10, and the server may take the entity information ranked in the top 10 as the sixth entity information.
The implementation of the above steps 208A to 208 is similar to the steps 207A and 208B, and the difference is only that the areas are distinguished in step 208, so that the search amount is reduced, and the possibility of hitting the next operation of the user is improved.
It should be noted that, when the information acquisition request carries a voice message, the server may not perform the process of step 208, and of course, the server may also acquire the target entity information by combining with any entity information acquisition process from step 203 to step 208, that is, the acquired target entity information may include entity information obtained by analyzing a plurality of information, which is not limited herein in the embodiment of the present invention.
209. The server acquires seventh entity information associated with the first user portrait data based on the first user portrait data, and takes the seventh entity information as the target entity information.
In an embodiment of the present invention, the server may use the first user representation data to obtain seventh entity information of interest to the user. In a possible implementation manner, the server may obtain the seventh entity information from the webpage information within a preset time period. For example, the specific process of the server acquiring the seventh entity information may include: the server searches webpage information in a preset time period based on the first user portrait data to obtain a search result associated with the first user portrait data, and the server acquires seventh entity information from the search result associated with the first user portrait data. The process of obtaining the seventh entity information from the search result is the same as the process of obtaining the first entity information from the text information in step 203, and details are not repeated here. The preset time period may be a time period with the current system time as an end point, and is used to determine a search time range and ensure that the searched web page information is all newer information.
For example, the first user representation data may be that the singer liked by the current user is "liu xx", and based on that other information about "liu xx" may be included in the webpage information in the preset time period, for example, the latest song "ice rain" of "liu xx" may be included in the webpage information of the last 24 hours, the server may obtain the seventh entity content of "ice rain" associated with the first user representation data of "liu xx" in the webpage information.
It should be noted that, when the information acquisition request carries a voice message, the server may not perform the process of step 209, and of course, the server may also acquire the target entity information in combination with any entity information acquisition process in steps 203 to 209, that is, the acquired target entity information may include entity information obtained by analyzing a plurality of information, which is not limited herein in the embodiment of the present invention.
210. The server acquires second user portrait data corresponding to the time point according to the user identification and the time point carried by the information acquisition request, acquires eighth entity information corresponding to the second user portrait data based on the second user portrait data, and takes the eighth entity information as the target entity information.
In embodiments of the present invention where the second user representation data is used to represent preferences of the user over a period of time, and the like, the preferences of the user may be different over different periods of time, the server may analyze the user's interaction with the terminal over different periods of time to obtain the second user representation data for the user. The second user image data is obtained in the same manner as the first user image data, but the difference is that the interactive information for constructing the second user image data is divided according to time periods, and the server may store the second user image data of each user in correspondence with the corresponding time period based on the second user image data of each user obtained in different time periods, that is, the second image data corresponding to each user identifier may be associated with the corresponding time period. For example, taking 24 hours a day as an example, 24 hours may be divided into time periods such as (0 hour-6 hour), (6 hour-9 hour), (9 hour-12 hour), (12 hour-14 hour), (14 hour-18 hour), and (18 hour-0 hour), the server may analyze the second user profile data of the user in the time periods based on the related information of each user, for example, the server may analyze that the user frequently listens to news before 6 hours to 9 hours, and the server may associate the second user profile data that the user prefers to listen to news with the time period of (6 hour-9 hour).
When the server obtains the user identifier carried in the information obtaining request, the server can determine a time period corresponding to the current time point, and then obtain second user portrait data associated with the user identifier from user portrait data correspondingly stored in the time period according to the user identifier. For example, the server may recognize that the current system time is 8 hours (6 hours-9 hours), and may obtain the second user representation data associated with the time period (6 hours-9 hours) according to the user identifier, where the above-described process is described as determining the time period and then obtaining the user representation data, and in some embodiments, may also determine the second user representation data for a plurality of time periods associated with the user identifier and then determine the second user representation data based on the time periods, which is not limited herein.
It should be noted that the process of acquiring the eighth entity information from the acquired second user image data is the same as the process of acquiring the seventh entity information based on the first user image data in step 209, and the details of the embodiment of the present invention are not repeated herein.
It should be noted that, when the information acquisition request carries a voice message, the server may not perform the process of step 210, and of course, the server may also acquire the target entity information by combining with any entity information acquisition process in steps 203 to 210, that is, the acquired target entity information may include entity information obtained by analyzing a plurality of information, which is not limited herein in the embodiment of the present invention.
211. And the server acquires ninth entity information associated with the eighth entity information based on the eighth entity information, wherein the ninth entity information belongs to a field other than the target field and is used as the target entity information.
In this embodiment of the present invention, since the entity information may be cross-domain, for example, for the entity information "liu xx", that is, the singer and the actor, the entity information may be further obtained from a domain other than the target domain based on the obtained entity information, so as to expand the range of the available entity information and provide more diversified choices for the user, for example, obtaining the ninth entity information in the domain other than the target domain based on the eighth entity information, where the specific process of the server obtaining the ninth entity information may include the following step 211A:
(1) the server searches in a field outside the target field based on the eighth entity information of the target field to obtain similar entity information of the eighth entity information, where the similar entity information may refer to entity information having a common part with the eighth entity information, and the common part may be entity content.
For example, the server may obtain the eighth entity information [ singer: liuxx ], based on the eighth entity information [ singer: liu xx, the server can obtain similar entity information [ actor: liuxx ], wherein, the ratio of [ singer: liu xx) is related to (singer: liu xx in Liu xi is the same as Liu xx in the interior of the entity.
(2) The server may acquire ninth entity information associated with the similar entity information from a field to which the similar entity information belongs.
For example, the similar entity information obtained in the video field is [ actor: liu xx), based on [ actor: liu xx), the server may get a video in the video domain with [ actor: liu xx) associated ninth entity information [ movie: bomb disposal expert ]. Of course, in other fields outside the target field, the server may also obtain other ninth entity information, and the embodiment of the present invention is not limited herein.
It should be noted that the above-mentioned entity information obtaining process may be performed based on a relationship between a stored domain and entity information, or may be performed by obtaining web page information through a network, which is not limited in the embodiment of the present invention.
It should be noted that, when the information acquisition request carries a voice message, the server may not perform the process of step 211, and of course, the server may also acquire the target entity information in combination with any entity information acquisition process from step 203 to step 211, that is, the acquired target entity information may include entity information obtained by analyzing various information, which is not limited herein in the embodiment of the present invention.
212. The server acquires third user portrait data associated with the partner identifier according to the user identifier and the partner identifier carried by the information acquisition request, acquires tenth entity information corresponding to the third user portrait data based on the third user portrait data, and takes the tenth entity information as the target entity information.
In the embodiment of the invention, the server can also determine the use habit of the user based on the performance of the user on other products, such as use information on certain applications and the like. Wherein the partner identification is used for representing a partner belonging to the same domain as the target domain, and the third user portrait data is used for representing the user attribute of the user on the partner product, the preference of the user and the like. The specific process of the server acquiring the tenth entity information may include the following steps: the server may determine, from the user identification, a partner identification corresponding to the user identification, and obtain, from the server of the partner, third user representation data associated with the user identification based on the partner identification.
It should be noted that the above process may involve a user authorization server to perform the third user portrait data acquisition process, for example, the user may log in through an account registered with the partner, that is, the user identifier is actually a user identifier registered with the partner product, so that the server may acquire the user authorization to acquire the third user portrait data when logging in based on the user identifier.
In a possible implementation manner, the process of the server obtaining the tenth entity information corresponding to the third user portrait data based on the third user portrait data associated with the user identifier may be the same as the process of obtaining the seventh entity information based on the first user portrait data in step 209, which is not described in detail herein in the embodiment of the present invention.
It should be noted that, when the information acquisition request carries a voice message, the server may not perform the process of step 212, and of course, the server may also acquire the target entity information by combining with any entity information acquisition process from step 203 to step 212, that is, the acquired target entity information may include entity information obtained by analyzing a plurality of information, which is not limited herein in the embodiment of the present invention.
The above steps 203 to 212 are various ways for the server to obtain the target entity information, and the server may obtain the target entity information based on one or more of the above ways. The steps 205 to 212 may also be applied to a case where the information acquisition request does not carry a voice message, which is not limited in the embodiment of the present invention.
213. And the server acquires the alternative guide template according to the target field, the target operation intention and the target entity information.
Based on the target field, the target operation intention and the target entity information, a possible operation object and a specific operation type of a next operation of the user can be determined, and different target fields, the target operation intention and the target entity information can correspond to different guide templates, so that alternative guide templates need to be obtained from a large number of guide templates. In this embodiment of the present invention, a specific process of the server acquiring the alternative guidance template may include the following steps 213A to 213C:
213A, the server performs an exact match with the preset guide templates based on the target field, the target operation intention and the target entity information, and if the exact match is not matched with the guide template, step 213B is executed.
Wherein the exact match is: and the server matches the target field, the target operation intention and the entity attribute in each target entity information with the parameters in the preset guide template. For example, when the target domain is [ music ], the target operation intent is [ play ], and the target entity information is [ singer: liu xx ] and [ song: ice rain, the server may compare [ field: music, intention: playing, entity information: and matching the singer with the Liu xx and the song with the ice rain with each parameter of a plurality of preset guide templates.
When the server matches a guidance template having the same parameters as the target field, the target operation intention, and the target entity attribute, the server may use the guidance template as a candidate guidance template, and may provide a guidance template with higher accuracy by performing exact matching, and in order to ensure that guidance information can be output, when the server does not match a guidance template based on the target field, the target operation intention, and the target entity attribute, fuzzy matching may be performed, that is, the following step 213B is performed.
213B, the server carries out fuzzy matching with the preset guide templates based on the target field, the target operation intention and the target entity information.
Wherein the fuzzy matching means: the server may match partial information in the target field, the target operation intention, and the target entity attribute with parameters of the plurality of guidance templates, and use a guidance template having the same parameter as any of the partial information as described above as a candidate guidance template.
The target field is music, the target operation intention is play, and the target entity information is singer: liu xx ] and [ song: ice rain ], for example, the server may be based on [ field: register, intent: playing, entity information: singer ═ Liu xx [ ], [ field: register, intent: playing, entity information: song ═ ice rain ] and [ field: register, intent: playing, entity information: and matching the three pieces of information with each parameter in the preset guide templates respectively, and taking the guide template as a candidate template when the server obtains the guide template with the same parameter as any one piece of information. Wherein the symbol "+" is a wildcard, i.e., for [ field: register, intent: playing, entity information: the server may perform matching of the guidance template based on information about the field and the intention therein.
Of course, in other embodiments, the server may obtain an alternative guidance template based on other information besides the target field, the target operation intention, and the target entity information, which is not limited herein.
It should be noted that, after the server performs the fuzzy matching in step 213B, if the candidate boot template that meets the requirement is not matched yet, the process of template matching is not performed any more, at this time, the server may return an error instruction to the terminal, and the terminal may send an information acquisition request and the like carrying other information to the server again based on the error instruction.
In the embodiment of the present invention, the server may preset a plurality of guidance templates, where the guidance templates may be guidance templates that are sorted by product managers in various fields according to various intentions and operations that may be performed next by the user, that is, each guidance template may be associated with a corresponding field and intention, and each guidance template has at least one parameter. For example, the guidance template associated with the broadcast intention of the broadcasting station field may be "album" that i want to listen to [ author ], wherein [ author ] and [ category ] are parameters in the guidance template. In addition, the parameters in the above guidance template may be further subdivided into [ authors in context ], [ recommended authors ], [ authors in the current page ], [ authors in a hot spot ], and [ authors that users like ], etc. When the server presets a guidance template, a different guidance template may be set based on the first user image data obtained as described above. For example, the server recognizes that the age of the user is about 20 years old based on the voice of the user, and the server analyzes and obtains the ballad songs that the user frequently searches in the last week, when the server sets the guide template, the server may add parameters such as "ballad singer" and "ballad song" to the guide template corresponding to the field of music, for example, the guide template may be "ballad song" that i want to listen to [ ballad singer ]. Of course, other guide templates may be set for other fields and intentions, and the parameters in each guide template may also be other contents, and the embodiment of the present invention does not limit the specific parameters of each guide template herein. It should be noted that the guide template may be continuously updated based on maintenance of a technician, which is not limited in the embodiment of the present invention.
214. After the server acquires the alternative guide templates according to the target field, the target operation intention and the target entity information, determining the alternative guide template with the priority meeting the preset conditions as the target guide template according to the preset priority information of each alternative guide template.
In the embodiment of the present invention, when a plurality of guidance templates are preset, corresponding priority information may be set for the plurality of guidance templates, where the priority information may be used to indicate characteristics of the guidance templates, for example, the priority information is used to indicate a hit rate of each guidance template, and based on ranking of the hit rates, the possibility of selecting subsequently generated guidance information may be increased based on popular preferences of the public, so that the guidance information better meets actual use requirements of users.
In step 214, the server may obtain one or more alternative guidance templates based on the obtained alternative guidance templates, and when there is one alternative guidance template, the server may determine that the one alternative guidance template is the target guidance template. When there are multiple candidate guide templates, the server may sort the multiple candidate guide templates according to the order of priority from high to low based on the preset priority information, and then the server may select the candidate guide templates with the top preset number as the target guide templates. For example, the server may select the candidate guidance template ranked in the first three as the target guidance template, which is the guidance template predicted by the server to meet the user requirement. Of course, in other embodiments, the server may also determine the target guidance template based on other priority information and other preset conditions, and the specific content and the specific preset conditions of the priority information are not limited in this embodiment of the present invention.
215. And the server obtains a plurality of candidate guide information according to the target guide template and the target entity information.
In the embodiment of the present invention, each target guidance template includes at least one parameter, each target entity information includes an entity attribute and an entity content thereof, and the server may replace the corresponding parameter in the target guidance template with the entity content based on the entity attribute in each target entity information, so as to obtain the alternative guidance information.
For example, the target entity information may be [ singer: liu xx ], and [ song name: ice rain ], wherein "singer" and "singer name" are entity attributes of the target entity information, and "liuxx" and "ice rain" are entity contents of the target entity information, based on [ singer: liu xx ], and [ song name: the target guidance template matched with the ice rain may be "song title" that i want to listen to [ singer ], wherein [ singer ] and [ song title ] are parameters of the target guidance template, and the server may replace the parameters [ singer ] and [ song title ] with "liuxx" and "ice rain", respectively, to obtain alternative guidance information "ice rain that i want to listen to liuxx".
Of course, a plurality of target entity information may be obtained based on steps 203 to 212, and a plurality of target guidance templates may also be obtained based on step 214, so that the server may obtain a plurality of candidate guidance information based on the plurality of target entity information and the plurality of target guidance templates, and the candidate guidance information may be information in different expression forms in various fields.
It should be noted that, the embodiment of the present invention is described by taking the alternative guidance information obtained in the above step 215 as an example, and in some embodiments, the server may directly obtain guidance information to be output according to the target guidance template and the target entity information without performing subsequent steps such as calibration, so as to provide diversified guidance information.
216. And the server calibrates the plurality of candidate guide information according to a preset calibration rule and outputs the first guide information.
In the embodiment of the present invention, the server may calibrate the obtained multiple candidate guidance information to delete the candidate guidance information that does not meet the requirement, and finally obtain the more accurate first guidance information, where the first guidance information meets the grammar-based syntax and is smooth in sentences, and the calibration process may greatly improve the experience quality of the user, and avoid the problem that some unpredictability causes the candidate guidance information obtained in step 215 to have information that does not meet normal logic or other errors.
Specifically, the server may calibrate the plurality of candidate guidance information according to a preset calibration rule, delete the candidate guidance information that meets the calibration rule, and finally obtain the first guidance information that meets the user requirement. The calibration rule at least comprises one or more of album name judgment calibration, keyword repeated calibration, calibration of character string length exceeding a preset threshold, calibration of guide information quantity exceeding a preset threshold, multi-information sequence calibration, calibration of name quantity exceeding a preset threshold, calibration of data not conforming to user portrait, English calibration and guide information repeated recommendation calibration. The following describes the calibration rules respectively:
(1) and (4) judging and calibrating the album name: when the server detects that the corresponding album name in the alternative boot information is "empty", the server may delete the alternative boot information.
(2) And (3) repeatedly calibrating the keywords: when the server detects that two or more identical keywords are included in one piece of alternative guidance information, the server may delete the alternative guidance information. For example, when the alternative guidance information is "i want to listen to xx stories", the server may detect that there are two adjacent identical keywords "stories" in the alternative guidance information, and the server may delete the alternative guidance information "i want to listen to xx stories".
(3) Calibrating the character string length exceeding a preset threshold: the server may preset a string length threshold, and when the string length of each alternative guidance information exceeds the threshold, the server may delete the alternative guidance information. For example, the server may set the string length threshold to 10, and when the alternative guidance information is "i want to listen to a ballad swaying in youth and pass through a test tube in late wind", the server may detect that the string length of the alternative guidance information exceeds 10, and the server may delete the alternative guidance information.
(4) And (3) calibrating the guiding information quantity exceeding a preset threshold: the server may preset a guidance information quantity threshold, and when the quantity of the candidate guidance information exceeds the threshold, the server may sort the candidate guidance information according to the priority information of each candidate guidance information, and finally use the candidate guidance information that is sorted before the threshold as the first guidance information. For example, the server may set the guidance information quantity threshold to be 4, and when the number of candidate guidance information is 50, the server may rank the candidate guidance information based on the priority information, with the first 4 candidate guidance information as the first guidance information.
(5) Multi-information sequential calibration: when the candidate guidance information is multiple pieces, the server may sort the candidate guidance information according to a descending order of the priority information of the candidate guidance information, to obtain the first guidance information.
(6) Calibrating the number of the names exceeding a preset threshold value: the server may preset a number threshold of names, and when the server detects that the number of names in the alternative guidance information exceeds the threshold, the server may delete the alternative guidance information. For example, the server may preset a number of names threshold of 2, the alternative guidance information may be "song i want to listen to permission xx, wangxx, simplicity xx, high xx, li xx, and sinus xx", the server may detect that the number of names in the alternative guidance information is 6, and the server may delete the alternative guidance information if the number of names exceeds the threshold of 2.
(7) Non-compliance with user portrait data calibration: the server may compare the alternative guidance information with all information in the user portrait data corresponding to the user identifier, and may delete the alternative guidance information when the alternative guidance information does not correspond to any information in the user portrait data. For example, when the candidate guidance information is used to obtain an adult song and the server obtains that the user is a child from the user image data, the server may determine that the candidate guidance information is inappropriate information and may delete the candidate guidance information.
(8) English calibration: when the server detects that the alternative guidance information is in english, the server may delete the alternative guidance information.
(9) And (3) repeatedly recommending calibration by the guide information: when the server detects that the number of the same characters among the multiple pieces of alternative guide information exceeds a preset threshold value, the server randomly selects one of the multiple pieces of alternative guide information as first guide information. For example, the server may preset the same threshold of the number of characters to be 4, and when the alternative guidance information is "i want to listen to the music beginning AAA" and "i want to listen to the music ending AAA", respectively, the server may detect that the number of characters between the two alternative guidance information is 7, and exceeds the threshold 4, the server may randomly select one of the two alternative guidance information as the first guidance information.
Of course, the server may calibrate the alternative guidance information based on one or more of the calibration rules, and besides the calibration rules, the server may also calibrate the alternative guidance information based on other calibration rules, which is not specifically limited herein.
It should be noted that the process of outputting the first guidance information includes a process in which the server acquires the first guidance information from a plurality of candidate guidance information and a process in which the first guidance information is transmitted to the terminal.
The above steps 201 to 216 are processes of acquiring, by the server, the first guidance information based on the related information carried in the received information acquisition request. In the obtaining process, the server may obtain the first guidance information based on one or more information carried in the information obtaining request, where the one or more information may include a voice message, a user identifier, a target field, a target operation intention, and the like, and the embodiment of the present invention is not limited herein.
217. And the server outputs second guide information associated with the terminal manufacturer identification based on the terminal manufacturer identification carried by the information acquisition request.
In the embodiment of the present invention, the server may acquire the first guidance information based on a user identifier or a voice message, etc. carried by the information acquisition request, and may acquire other guidance information based on other information carried by the information acquisition request, so as to extend the source of the guidance information. In an embodiment, the information obtaining request may further carry a terminal manufacturer identifier, the terminal manufacturer identifier is used to uniquely indicate a manufacturer brand of the terminal, and a server may store a plurality of preset guide information, where the plurality of preset guide information may include a plurality of second guide information, and the plurality of second guide information may be associated with the terminal manufacturer identifier. The second guiding message can be used to guide the user to know about the terminal manufacturer, such as purchasing other peripheral products of the terminal manufacturer, thereby providing a feasible business method.
In another embodiment, the information obtaining request may further carry an application version identifier, the guidance information base may further store a plurality of pieces of third guidance information, the third guidance information may be associated with the application version identifier, and when the server receives the application version identifier, the server may obtain the plurality of pieces of third guidance information associated with the application version identifier from the guidance information base, and send the plurality of pieces of third guidance information to the terminal. The third guidance information may be used to guide the user to know the current application program, for example, to upgrade the application program or provide a small operation trick, and of course, the third guidance information may also play other guidance roles for the user, which is not limited herein.
In another embodiment, the guidance information base may further store a plurality of fourth guidance information, where the plurality of fourth guidance information may be associated with a partner identifier in a field to which the fourth guidance information belongs, and the fourth guidance information is used to guide a user to know a related product of the partner, and the like. Based on the target domain acquired in step 202, the server may acquire an identifier of a partner belonging to the target domain, for example, when the target domain is a music domain, the identifier of the partner belonging to the music domain may be an identifier of music a, and the server may acquire fourth guidance information associated with the identifier of music a based on the identifier of music a and transmit the fourth guidance information to the terminal. Of course, each target field may also have other partner identities, and the partner identities are not specifically limited in this embodiment of the present invention.
It should be noted that, the process of acquiring the second guidance information, the third guidance information, or the fourth guidance information, and sending the second guidance information, the third guidance information, or the fourth guidance information to the terminal respectively is a process of outputting the second guidance information, the third guidance information, or the fourth guidance information.
According to the embodiment of the invention, the determined target guide templates are various according to the obtained different target fields, target operation intentions and target entity information, the target guide templates can predict the next operation of the user, and then rich and various first guide information can be obtained based on the target guide templates, the first guide information can possibly meet the actual requirements of the user, the user can continue to perform related operations on the terminal through the first guide information, and the utilization rate of the user on the application program on the terminal is greatly improved. Furthermore, various methods for acquiring the target entity information are provided, so that the information range covered by the guide information is expanded, and the possibility of matching the guide information with the user requirements is improved.
The embodiment shown in fig. 2 is described by taking an example that the information acquisition request carries a voice message, but in some embodiments, the information acquisition request may not carry a voice message, that is, the information acquisition request may be triggered by some operation performed by the user on the terminal, for example, a switching operation on a certain function interface, based on which, the steps 202 to 204 may be replaced by the following steps 301 to 302. Fig. 3 is a flowchart of a method for acquiring guidance information according to an embodiment of the present invention, and referring to fig. 3, the embodiment includes:
301. when the information acquisition request does not carry the voice message, the server determines a domain keyword corresponding to the function interface identifier according to the function interface identifier carried by the information acquisition request, and takes the domain keyword as the target domain.
In this embodiment of the present invention, the domain keyword is used to represent a domain corresponding to the specific function interface in step 200. Each function interface identifier is associated with a domain keyword corresponding to the specific function interface, for example, a music function interface identifier may be associated with a domain keyword of "music", and a weather function interface identifier may be associated with a domain keyword of "weather". Therefore, the server can acquire the domain keyword associated with the function domain interface identifier based on the received function interface identifier.
302. The server takes the intention keyword corresponding to the domain keyword as the target operation intention.
In the embodiment of the present invention, as shown in step 200, when the terminal detects a click operation on an operable function control, the information acquisition request may carry a function control identifier, where the function control identifier corresponds to the function interface identifier. Wherein each functionality control identification may be associated with an intent keyword. When the server receives the function control identifier carried in the information acquisition request, the server may acquire an intention keyword associated with the function control identifier based on the function control identifier, where the intention keyword corresponds to the domain keyword, and the server may use the intention keyword as a target operation intention.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
The above embodiments shown in fig. 2 and fig. 3 are described by taking the terminal as a display end only for sending the information acquisition request and the guidance information, but in some embodiments, the terminal may also be a generation end of the guidance information, which is described below by taking the embodiment shown in fig. 4, where fig. 4 is a flowchart of a guidance information acquisition method provided by an embodiment of the present invention, and referring to fig. 4, the embodiment includes:
401. the terminal triggers an information acquisition request.
In the embodiment of the present invention, the information acquisition request may be received by the terminal as a voice message; or, the terminal detects any condition trigger in the click operation of the user, and the embodiment of the present invention is not limited herein.
402. When the triggered information acquisition request comprises a voice message, the terminal converts the voice message into text information, and analyzes the text information to obtain a target field and a target operation intention of the information acquisition request.
403. And the terminal acquires the first entity information from the text information and takes the first entity information as target entity information.
404. The terminal acquires first entity information from the text information, and based on the search result associated with the first entity information, the terminal acquires second entity information from the search result associated with the first entity information, and the second entity information is used as target entity information.
The search result associated with the first entity information may be stored on the terminal in correspondence with the first entity information, or the terminal may acquire the search result associated with the first entity information from the server through interaction with the server.
405. And the terminal acquires third entity information from the historical search result associated with the user identifier according to the user identifier, and takes the third entity information as target entity information.
The user identifier is the user identifier of the user currently logged in by the terminal. The historical search result associated with the user identifier may be stored on the terminal in correspondence with the user identifier, or the terminal may acquire the historical search result associated with the user identifier from the server through interaction with the server.
406. And the terminal acquires first user portrait data according to the user identification.
The first user portrait data may be stored on the terminal in correspondence with the user identifier, or the first user portrait data associated with the user identifier may be acquired from the server by the terminal through interaction with the server.
407. The terminal screens fourth entity information based on the first user portrait data to obtain fifth entity information matched with the first user portrait data, and the fifth entity information is used as target entity information.
The fourth entity information may be entity information that is acquired by the terminal from the server and has a heat degree greater than a target threshold, the fourth entity information may be stored on the terminal, or the fourth entity information may be acquired from the server by the terminal through interaction with the server. The fifth volume information may be volume information having a heat degree corresponding to the first user image data larger than a target threshold.
408. And the terminal acquires sixth entity information matched with the target field according to the target field, wherein the sixth entity information is entity information with the heat degree larger than a target threshold value, and the sixth entity information is taken as target entity information.
The sixth entity information may be stored on the terminal corresponding to the target field, or the sixth entity information matched with the target field may be acquired from the server through interaction between the terminal and the server.
409. The terminal acquires seventh entity information associated with the first user portrait data based on the first user portrait data, and takes the seventh entity information as target entity information.
The seventh entity information may be stored in the terminal in correspondence with the first portrait data, or the seventh entity information associated with the first user portrait data may be acquired from the server by the terminal through interaction with the server.
410. The terminal acquires second user portrait data corresponding to the time point according to the user identification and the time point, acquires eighth entity information corresponding to the second user portrait data based on the second user portrait data, and takes the eighth entity information as target entity information.
The second user portrait data may be stored on the terminal corresponding to the user identifier and the time point, or the second user portrait data associated with the user identifier and the time may be obtained from the server through interaction between the terminal and the server.
411. And the terminal acquires ninth entity information associated with the eighth entity information based on the eighth entity information, wherein the ninth entity information belongs to a field other than the target field and is used as target entity information.
The ninth entity information may be stored on the terminal in correspondence with the eighth entity information, or the ninth entity information associated with the eighth entity information may be acquired from the server by the terminal through interaction with the server.
412. The terminal acquires third user portrait data associated with the partner identifier according to the user identifier and the partner identifier, acquires tenth entity information corresponding to the third user portrait data based on the third user portrait data, and takes the tenth entity information as target entity information.
The third user portrait data may be stored on the terminal in correspondence with the partner identifier, or the third user portrait data associated with the partner identifier may be acquired from the server by the terminal through interaction with the server.
413. And the terminal acquires the alternative guide template according to the target field, the target operation intention and the target entity information.
The candidate guide template may be stored on the terminal in correspondence with the target field, the target operation intention, and the target entity information, or the candidate guide template corresponding to the target field, the target operation intention, and the target entity information may be acquired from the server by the terminal through interaction with the server.
414. After the terminal acquires the alternative guide templates according to the target field, the target operation intention and the target entity information, the terminal determines the alternative guide templates with the priority meeting the preset conditions as the target guide templates according to the preset priority information of each alternative guide template.
415. And the terminal obtains a plurality of candidate guide information according to the target guide template and the target entity information.
416. And the terminal calibrates the plurality of candidate guide information according to a preset calibration rule and outputs the first guide information.
The calibration rule may be stored in the terminal, or the terminal may obtain the calibration rule from the server through interaction with the server.
417. And the terminal outputs second guide information associated with the terminal manufacturer identification based on the terminal manufacturer identification carried by the information acquisition request.
The second guiding information may be stored on the terminal in correspondence with the terminal manufacturer identifier, or the second guiding information associated with the terminal manufacturer identifier may be acquired from the server by the terminal through interaction with the server.
It should be noted that, the above is described by taking an example that the terminal acquires the guidance information through multiple implementation manners, in other embodiments, the terminal may also acquire the guidance information through a combination of one or more of the above implementation manners, and the embodiment of the present invention is not limited specifically herein.
It should be noted that the above description is given by taking an example of performing most of the implementation processes on the terminal, and in practical applications, a part of the implementation processes may be executed by the server. For example, the obtaining process of the target entity information may be executed by the server, and the terminal executes the processes of obtaining the alternative guidance template and obtaining the first guidance information, or for example, the obtaining process of the target entity information and the processes of obtaining the alternative guidance template may be executed by the server, and the terminal executes the processes of generating the guidance information and calibrating the guidance information, which is not limited in the embodiment of the present invention.
According to the embodiment of the invention, the determined target guide templates are various according to the obtained different target fields, target operation intentions and target entity information, the target guide templates can predict the next operation of the user, and then rich and various first guide information can be obtained based on the target guide templates, the first guide information can possibly meet the actual requirements of the user, the user can continue to perform related operations on the terminal through the first guide information, and the utilization rate of the user on the application program on the terminal is greatly improved. Further, the execution main body of the embodiment can be a terminal, and the intelligence of the terminal is greatly improved.
The embodiment shown in fig. 4 is described by taking an example that the information acquisition request is triggered by the terminal receiving a voice message, but in some embodiments, the information acquisition request may also not be triggered by the terminal receiving a voice message, that is, the information acquisition request may be triggered by some operation of the user on the terminal, for example, a switching operation of the user on a certain function interface, based on which, the above steps 402 to 404 may be replaced by the following steps 501 to 502. Fig. 5 is a flowchart of a method for acquiring guidance information according to an embodiment of the present invention, and referring to fig. 5, the embodiment includes:
501. and when the triggered information acquisition request does not comprise a voice message, the terminal determines a domain keyword corresponding to the function interface identifier according to the function interface identifier, and takes the domain keyword as a target domain.
The domain keyword may be stored on the terminal in correspondence with the functional interface identifier, or the domain keyword associated with the functional interface provider identifier may be obtained from the server by the terminal through interaction with the server.
502. The terminal takes the intention keyword corresponding to the domain keyword as the target operation intention.
The intention keyword may be stored in the terminal in correspondence with the domain keyword, or the terminal may acquire the intention keyword associated with the domain keyword from the server through interaction with the server.
Fig. 6 is a schematic structural diagram of a guidance information acquiring apparatus according to an embodiment of the present invention. Referring to fig. 6, the apparatus includes: a first determining module 601, a first obtaining module 602, and an output module 603.
A first determining module 601, configured to determine a target field and a target operation intention of an information obtaining request based on information carried by the information obtaining request;
a first obtaining module 602, configured to obtain target entity information of the information obtaining request;
the first determining module 601 is further configured to determine a target guidance template according to the target field, the target operation intention, and the target entity information;
the output module 603 is configured to output the first guidance information according to the target guidance template and the target entity information.
In some embodiments, the first determining module 601 is configured to:
when the information acquisition request carries a voice message, the voice message is converted into text information, and the text information is analyzed to obtain a target field and a target operation intention of the information acquisition request.
In some embodiments, the first obtaining module 602 is configured to:
and acquiring first entity information from the text information, and taking the first entity information as the target entity information.
In some embodiments, the first obtaining module 602 is configured to:
and acquiring first entity information from the text information, acquiring second entity information from the search result associated with the first entity information based on the search result associated with the first entity information, and taking the second entity information as the target entity information.
In some embodiments, the first obtaining module 602 is configured to:
and acquiring third entity information from the historical search result associated with the user identifier according to the user identifier carried by the information acquisition request, and taking the third entity information as the target entity information. In some embodiments, the first obtaining module 602 is configured to:
acquiring first user portrait data according to the user identification carried by the information acquisition request;
and screening fourth entity information based on the first user portrait data to obtain fifth entity information matched with the first user portrait data, wherein the fourth entity information is entity information with the heat degree larger than a target threshold value, and the fifth entity information is taken as the target entity information.
In some embodiments, the first obtaining module 602 is configured to:
and acquiring sixth entity information matched with the target field according to the target field, wherein the sixth entity information is entity information with the heat degree larger than a target threshold value, and the sixth entity information is taken as the target entity information.
In some embodiments, the first obtaining module 602 is configured to:
acquiring first user portrait data according to the user identification carried by the information acquisition request;
seventh entity information associated with the first user representation data is acquired based on the first user representation data, and the seventh entity information is taken as the target entity information.
In some embodiments, the first obtaining module 602 is configured to:
acquiring second user portrait data corresponding to the time point according to the user identification and the time point carried by the information acquisition request;
and acquiring eighth entity information corresponding to the second user portrait data based on the second user portrait data, and taking the eighth entity information as the target entity information.
In some embodiments, the first obtaining module 602 is configured to:
and acquiring ninth entity information associated with the eighth entity information based on the eighth entity information, wherein the ninth entity information belongs to a field other than the target field, and the ninth entity information is taken as the target entity information.
In some embodiments, the first obtaining module 602 is configured to:
acquiring third user portrait data associated with the partner identifier according to the user identifier and the partner identifier carried by the information acquisition request;
and acquiring tenth entity information corresponding to the third user portrait data based on the third user portrait data, and taking the tenth entity information as the target entity information.
In some embodiments, the first determining module 601 includes:
and the determining unit is used for determining the target field and the target operation intention according to the functional interface identifier carried by the information acquisition request when the information acquisition request does not carry the voice message.
In some embodiments, the determining unit is to:
determining a domain keyword corresponding to the function interface identifier according to the function interface identifier carried by the information acquisition request, and taking the domain keyword as the target domain;
and taking an intention keyword corresponding to the domain keyword as the target operation intention.
In some embodiments, the apparatus further comprises:
and the second acquisition module is used for acquiring second guide information associated with the terminal manufacturer identifier based on the terminal manufacturer identifier carried by the information acquisition request.
In some embodiments, the apparatus further comprises:
and the third obtaining module is used for obtaining third guiding information associated with the application program version identification based on the application program version identification carried by the information obtaining request.
In some embodiments, the apparatus further comprises:
a second determining module, configured to determine, based on the information carried by the information obtaining request, a partner identifier associated with a target domain of the information obtaining request;
and the fourth acquisition module is used for acquiring fourth guide information associated with the partner identifier based on the partner identifier.
In some embodiments, the first determining module 601 is further configured to:
when an alternative guide template is obtained according to the target field, the target operation intention and the target entity information, determining the alternative guide template as the target guide template;
when a plurality of candidate guide templates are obtained according to the target field, the target operation intention and the target entity information, determining the candidate guide template with the priority meeting the preset conditions as the target guide template according to the preset priority information of each candidate guide template.
In some embodiments, the first determining module 601 is further configured to:
when the target field, the target operation intention and the target entity information are not all matched with the target guide template, determining the target guide template according to the target field, the target operation intention and parts in the target entity information.
In some embodiments, the output module 603 is configured to:
obtaining a plurality of candidate guide information according to the target guide template and the target entity information;
and calibrating the plurality of candidate guide information according to a preset calibration rule, and outputting the first guide information.
In some embodiments, the preset calibration rule comprises:
the method comprises the following steps of album name judgment calibration, keyword repeated calibration, calibration of character string length exceeding a preset threshold, calibration of guide information quantity exceeding a preset threshold, multi-information sequence calibration, calibration of name quantity exceeding a preset threshold, non-conformity with user portrait data calibration, English calibration and one or more of guide information repeated recommendation calibration.
It should be noted that: the guidance information acquiring apparatus provided in the above embodiment is only illustrated by dividing the above functional modules when acquiring guidance information, and in practical applications, the above function allocation may be completed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the above described functions. In addition, the embodiments of the guidance information obtaining apparatus and the guidance information obtaining method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
The above embodiments may be implemented by an electronic device, which may be a terminal or a server, and the electronic device is described below with reference to fig. 7 and 8:
fig. 7 is a block diagram of a terminal 700 according to an embodiment of the present invention. The terminal 700 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
In general, terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 702 is used to store at least one instruction for execution by the processor 701 to implement the method for obtaining guidance information provided by the method embodiment of the present invention.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera 706, audio circuitry 707, positioning components 708, and power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 704 may further include NFC (Near Field Communication) related circuits, which are not limited in this disclosure.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 709 is provided to supply power to various components of terminal 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power source 709 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of terminal 700 and/or an underlying layer of touch display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually becomes larger, the processor 701 controls the touch display 705 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 8 is a schematic structural diagram of a server 800 according to an embodiment of the present invention, where the server 800 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 801 and one or more memories 802, where the memory 802 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 801 to implement the guidance information obtaining method provided by each method embodiment. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, including instructions executable by a processor in a terminal to perform the method of obtaining guidance information in the above-described embodiments is also provided. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present invention and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method for acquiring guidance information, the method comprising:
determining a target field and a target operation intention of an information acquisition request based on information carried by the information acquisition request, wherein the target field is used for representing a field corresponding to the next possible operation of a user on a terminal, and the target operation intention is used for representing the next possible operation of the user on the terminal;
acquiring second user portrait data corresponding to the time point according to a user identifier and the time point carried by the information acquisition request, acquiring eighth entity information interested by the user from the second user portrait data, and taking the eighth entity information as target entity information of the information acquisition request, wherein the second user portrait data is used for representing the preference of the user in a time period, and the target entity information is entity information corresponding to the next possible operation of the user on the terminal;
searching in a field other than the target field based on the eighth entity information to obtain similar entity information of the eighth entity information, wherein the similar entity information and the eighth entity information have common entity content;
acquiring ninth entity information associated with the similar entity information from the field to which the similar entity information belongs, and taking the ninth entity information as the target entity information, wherein the ninth entity information belongs to the field other than the target field;
determining a target guide template according to the target field, the target operation intention and the target entity information, wherein the target guide template is used for predicting the next operation of the user;
and outputting first guide information according to the target guide template and the target entity information, wherein the first guide information is used for guiding the user to carry out various operations on the terminal.
2. The method according to claim 1, wherein the determining the target domain and the target operation intention of the information acquisition request based on the information carried by the information acquisition request comprises:
and when the information acquisition request carries a voice message, converting the voice message into text information, and analyzing the text information to obtain a target field and a target operation intention of the information acquisition request.
3. The method of claim 2, wherein obtaining the target entity information of the information obtaining request further comprises at least one of:
acquiring first entity information from the text information, and taking the first entity information as the target entity information;
and acquiring the first entity information from the text information, acquiring second entity information from the search result associated with the first entity information based on the search result associated with the first entity information, and taking the second entity information as the target entity information.
4. The method of claim 1, wherein obtaining the target entity information of the information obtaining request further comprises at least one of:
acquiring third entity information from a historical search result associated with the user identification according to the user identification carried by the information acquisition request, and taking the third entity information as the target entity information;
acquiring first user portrait data according to a user identifier carried by the information acquisition request, screening fourth entity information based on the first user portrait data to obtain fifth entity information matched with the first user portrait data, wherein the fourth entity information is entity information with the heat degree greater than a target threshold value, and the fifth entity information is used as the target entity information;
according to the target field, sixth entity information matched with the target field is obtained, the sixth entity information is entity information with the heat degree larger than a target threshold value, and the sixth entity information is used as the target entity information;
acquiring first user portrait data according to a user identifier carried by the information acquisition request, acquiring seventh entity information associated with the first user portrait data based on the first user portrait data, and taking the seventh entity information as the target entity information;
and acquiring third user portrait data associated with the partner identifier according to the user identifier and the partner identifier carried by the information acquisition request, acquiring tenth entity information corresponding to the third user portrait data based on the third user portrait data, and taking the tenth entity information as the target entity information.
5. The method according to claim 1, wherein the determining the target domain and the target operation intention of the information acquisition request based on the information carried by the information acquisition request comprises:
and when the information acquisition request does not carry a voice message, determining the target field and the target operation intention according to a functional interface identifier carried by the information acquisition request.
6. The method according to claim 5, wherein the determining the target field and the target operation intention according to the function interface identifier carried by the information acquisition request comprises:
determining a domain keyword corresponding to the function interface identifier according to the function interface identifier carried by the information acquisition request, and taking the domain keyword as the target domain;
and taking an intention keyword corresponding to the domain keyword as the target operation intention.
7. The method of claim 1, further comprising at least one implementation of:
acquiring second guide information associated with the terminal manufacturer identification based on the terminal manufacturer identification carried by the information acquisition request;
acquiring third guiding information associated with the application program version identification based on the application program version identification carried by the information acquisition request;
and determining a partner identifier associated with a target field of the information acquisition request based on the information carried by the information acquisition request, and acquiring fourth guide information associated with the partner identifier based on the partner identifier.
8. The method of claim 1, wherein the determining a target guidance template according to the target domain, the target operation intention, and the target entity information comprises:
when an alternative guide template is obtained according to the target field, the target operation intention and the target entity information, determining the alternative guide template as the target guide template;
when a plurality of alternative guide templates are obtained according to the target field, the target operation intention and the target entity information, determining the alternative guide template with the priority meeting preset conditions as the target guide template according to the preset priority information of each alternative guide template;
when the target field, the target operation intention and the target entity information are not all matched with the target guide template, determining the target guide template according to parts of the target field, the target operation intention and the target entity information.
9. The method of claim 1, wherein outputting the first guidance information according to the target guidance template and the target entity information comprises:
obtaining a plurality of candidate guide information according to the target guide template and the target entity information;
and calibrating the plurality of candidate guide information according to a preset calibration rule, and outputting the first guide information.
10. The method of claim 9, wherein the preset calibration rule comprises:
the method comprises the following steps of album name judgment calibration, keyword repeated calibration, calibration of character string length exceeding a preset threshold, calibration of guide information quantity exceeding a preset threshold, multi-information sequence calibration, calibration of name quantity exceeding a preset threshold, non-conformity with user portrait data calibration, English calibration and one or more of guide information repeated recommendation calibration.
11. A guidance information acquisition apparatus, characterized in that the apparatus comprises:
a first determining module, configured to determine, based on information carried by an information acquisition request, a target field and a target operation intention of the information acquisition request, where the target field is used to represent a field corresponding to a next possible operation of a user on a terminal, and the target operation intention is used to represent a next possible operation of the user on the terminal;
a first obtaining module, configured to obtain second user portrait data corresponding to a time point according to a user identifier and the time point carried by the information obtaining request, obtain eighth entity information that is interested by the user from the second user portrait data, and use the eighth entity information as target entity information of the information obtaining request, where the second user portrait data is used to indicate a preference of the user in a time period, and the target entity information is entity information corresponding to a next possible operation of the terminal by the user; searching in a field other than the target field based on the eighth entity information to obtain similar entity information of the eighth entity information, wherein the similar entity information and the eighth entity information have common entity content; acquiring ninth entity information associated with the similar entity information from the field to which the similar entity information belongs, and taking the ninth entity information as the target entity information, wherein the ninth entity information belongs to the field other than the target field;
the first determining module is further configured to determine a target guidance template according to the target field, the target operation intention, and the target entity information, where the target guidance template is used to predict a next operation of the user;
and the output module is used for outputting first guide information according to the target guide template and the target entity information, wherein the first guide information is used for guiding the user to carry out various operations on the terminal.
12. The apparatus of claim 11, wherein the first determining module is configured to:
and when the information acquisition request carries a voice message, converting the voice message into text information, and analyzing the text information to obtain a target field and a target operation intention of the information acquisition request.
13. An electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the operations performed by the guidance information obtaining method according to any one of claims 1 to 10.
14. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to perform operations performed by the guidance information acquisition method according to any one of claims 1 to 10.
CN201811497052.9A 2018-12-07 2018-12-07 Guidance information acquisition method, apparatus, electronic apparatus, and storage medium Active CN109657236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811497052.9A CN109657236B (en) 2018-12-07 2018-12-07 Guidance information acquisition method, apparatus, electronic apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811497052.9A CN109657236B (en) 2018-12-07 2018-12-07 Guidance information acquisition method, apparatus, electronic apparatus, and storage medium

Publications (2)

Publication Number Publication Date
CN109657236A CN109657236A (en) 2019-04-19
CN109657236B true CN109657236B (en) 2022-02-18

Family

ID=66113712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811497052.9A Active CN109657236B (en) 2018-12-07 2018-12-07 Guidance information acquisition method, apparatus, electronic apparatus, and storage medium

Country Status (1)

Country Link
CN (1) CN109657236B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334352B (en) * 2019-07-08 2023-07-07 腾讯科技(深圳)有限公司 Guide information display method, device, terminal and storage medium
CN110400563A (en) * 2019-07-18 2019-11-01 平安科技(深圳)有限公司 Vehicle-mounted voice instruction identification method, device, computer equipment and storage medium
CN111324409B (en) * 2020-02-14 2023-03-10 腾讯科技(深圳)有限公司 Artificial intelligence-based interaction method and related device
CN111638928B (en) * 2020-05-21 2023-09-01 阿波罗智联(北京)科技有限公司 Operation guiding method, device and equipment of application program and readable storage medium
CN112948669A (en) * 2020-08-02 2021-06-11 吕维东 Business processing method based on big data and artificial intelligence and block chain financial platform
CN112331185B (en) * 2020-11-10 2023-08-11 珠海格力电器股份有限公司 Voice interaction method, system, storage medium and electronic equipment
CN112732257A (en) * 2020-12-31 2021-04-30 北京声智科技有限公司 Terminal interface configuration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399862A (en) * 2013-07-04 2013-11-20 百度在线网络技术(北京)有限公司 Method and equipment for confirming searching guide information corresponding to target query sequences
CN106557576A (en) * 2016-11-24 2017-04-05 百度在线网络技术(北京)有限公司 Information based on artificial intelligence recommends method and device
CN108287739A (en) * 2017-12-19 2018-07-17 维沃移动通信有限公司 A kind of guiding method of operating and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8385723B2 (en) * 2010-06-18 2013-02-26 Microsoft Corporation Recording of sports related television programming

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399862A (en) * 2013-07-04 2013-11-20 百度在线网络技术(北京)有限公司 Method and equipment for confirming searching guide information corresponding to target query sequences
CN106557576A (en) * 2016-11-24 2017-04-05 百度在线网络技术(北京)有限公司 Information based on artificial intelligence recommends method and device
CN108287739A (en) * 2017-12-19 2018-07-17 维沃移动通信有限公司 A kind of guiding method of operating and mobile terminal

Also Published As

Publication number Publication date
CN109657236A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN109657236B (en) Guidance information acquisition method, apparatus, electronic apparatus, and storage medium
CN108304441B (en) Network resource recommendation method and device, electronic equipment, server and storage medium
CN109740068B (en) Media data recommendation method, device and storage medium
CN108874967B (en) Dialogue state determining method and device, dialogue system, terminal and storage medium
CN110556127B (en) Method, device, equipment and medium for detecting voice recognition result
CN109040297B (en) User portrait generation method and device
US11409817B2 (en) Display apparatus and method of controlling the same
CN109918669B (en) Entity determining method, device and storage medium
CN108717432B (en) Resource query method and device
CN110377195B (en) Method and device for displaying interaction function
CN109068160B (en) Method, device and system for linking videos
CN110989847B (en) Information recommendation method, device, terminal equipment and storage medium
CN110248236B (en) Video playing method, device, terminal and storage medium
CN110572716B (en) Multimedia data playing method, device and storage medium
CN113411680B (en) Multimedia resource playing method, device, terminal and storage medium
WO2022057435A1 (en) Search-based question answering method, and storage medium
CN111782950B (en) Sample data set acquisition method, device, equipment and storage medium
CN112269853A (en) Search processing method, search processing device and storage medium
CN112148899A (en) Multimedia recommendation method, device, equipment and storage medium
CN109917988B (en) Selected content display method, device, terminal and computer readable storage medium
CN109189978B (en) Method, device and storage medium for audio search based on voice message
CN109547847B (en) Method and device for adding video information and computer readable storage medium
CN111935516A (en) Audio file playing method, device, terminal, server and storage medium
CN110929137B (en) Article recommendation method, device, equipment and storage medium
CN113377976A (en) Resource searching method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant