WO2020258082A1 - Information recommendation method and apparatus, electronic device and storage medium - Google Patents

Information recommendation method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2020258082A1
WO2020258082A1 PCT/CN2019/093050 CN2019093050W WO2020258082A1 WO 2020258082 A1 WO2020258082 A1 WO 2020258082A1 CN 2019093050 W CN2019093050 W CN 2019093050W WO 2020258082 A1 WO2020258082 A1 WO 2020258082A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
slot
information
voice
restaurant
Prior art date
Application number
PCT/CN2019/093050
Other languages
French (fr)
Chinese (zh)
Inventor
郭子亮
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2019/093050 priority Critical patent/WO2020258082A1/en
Priority to CN201980090701.XA priority patent/CN113366467A/en
Publication of WO2020258082A1 publication Critical patent/WO2020258082A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation

Definitions

  • This application relates to the field of computer technology, and more specifically, to an information recommendation method, device, electronic equipment, and storage medium.
  • voice assistants to interact with users of electronic devices.
  • users can use voice assistants to complete some operations.
  • voice assistant responding to users' needs the user experience needs to be improved.
  • this application proposes an information recommendation method, device, electronic equipment, and storage medium to improve the above problems.
  • this application provides an information recommendation method applied to a voice assistant.
  • the method includes: acquiring voice information; recognizing the voice information based on multiple slots corresponding to target search requirements; When the target parameter corresponding to the target slot of the multiple slots is successfully identified in the voice information, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated, and the target corresponding to the target slot is generated.
  • the parameter is the parameter about the restaurant; the search instruction is sent to the target restaurant information providing platform, and the restaurant information returned by the target restaurant information providing platform in response to the search instruction is received; the card is displayed, and the card is displayed Restaurant information.
  • the present application provides an information recommendation device.
  • the device includes: a voice information receiving unit for acquiring voice information; and a voice recognition unit for responding to the voice information based on multiple slots corresponding to target search requirements.
  • Information the instruction generation unit is used to generate the corresponding target parameter of the multiple slots if the target parameter corresponding to the target slot of the multiple slots is successfully recognized from the voice information
  • the target parameter search instruction, the target parameter corresponding to the target slot is the parameter about the restaurant
  • the restaurant information acquisition unit is used to send the search instruction to the target restaurant information providing platform, and receive the target restaurant information providing platform response
  • the restaurant information returned by the search instruction an information display unit for displaying a card, and displaying the restaurant information in the card.
  • this application provides an electronic device including one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be The one or more processors execute the above-mentioned methods.
  • the present application provides a computer-readable storage medium with program code stored in the computer-readable storage medium, wherein the above method is executed when the program code is running, and control confusion can also be avoided.
  • the present application provides an information recommendation method, device, electronic equipment, and storage medium that recognize the voice information in multiple slots corresponding to target search requirements; if the voice information is successfully recognized from the voice information
  • a search instruction carrying the target parameter corresponding to each of the multiple slots is generated; the search instruction is sent to the target restaurant information providing platform, and the search instruction is received.
  • the target restaurant information providing platform returns restaurant information in response to the contraction instruction; displaying a card, and displaying the restaurant information in the card. In this way, the slot required by configuring the search requirement is realized, and then the subsequent search instruction is generated based on the set slot, thereby improving the accuracy of the feedback for the restaurant search.
  • Fig. 1 shows a flowchart of an information recommendation method proposed by an embodiment of the present application
  • Fig. 2 shows a schematic diagram of a voice information collection interface proposed by an embodiment of the present application
  • FIG. 3 shows a schematic diagram of a parameter setting interface proposed by an embodiment of the present application
  • FIG. 4 shows a schematic diagram of a result of adding a parameter voice setting interface according to an embodiment of the present application
  • Fig. 5 shows a schematic diagram of a card proposed in an embodiment of the present application
  • Fig. 6 shows a flowchart of an information recommendation method proposed by another embodiment of the present application.
  • FIG. 7 shows a schematic diagram of a voice assistant communicating with a server of a client for providing restaurant information according to an embodiment of the present application
  • FIG. 8 shows a flowchart of an information recommendation method proposed by still another embodiment of the present application.
  • FIG. 9 shows a flowchart of an information recommendation method proposed by another embodiment of the present application.
  • FIG. 10 shows a structural block diagram of a voice information processing device proposed in an embodiment of the present application.
  • FIG. 11 shows a structural block diagram of a voice information processing device proposed by another embodiment of the present application.
  • FIG. 12 shows a structural block diagram of a voice information processing device proposed by still another embodiment of the present application.
  • FIG. 13 shows a structural block diagram of an electronic device of the present application for executing the information recommendation method according to an embodiment of the present application
  • Fig. 14 is a storage unit for storing or carrying program code for implementing the information recommendation method according to the embodiment of the present application.
  • voice assistants For example, Apple's Siri, Samsung's Bixby, Google Assistant, Amazon Alex, etc.
  • the voice assistant can be regarded as an intelligent application.
  • the user can help the user solve some practical problems or replace the user in operating the electronic device through the intelligent interaction of the intelligent dialogue with the voice assistant and the instant question and answer.
  • the voice assistant of an electronic device detects that the user input "Help me open Baidu map”
  • the electronic device can recognize that the user's intention is to use the Baidu map application, so that it can start Baidu The map starts.
  • the voice assistant of the electronic device detects that the user input "Where is there a parking lot nearby"
  • the electronic device can recognize that the user is looking for a parking lot within a certain range, then the electronic device can be based on the location Search for parking lots and display the search results.
  • the relevant voice assistant recognizes the user input I want to eat hot pot, it either uses "hot pot” or "eat hot pot” as keywords to search for resources in a similar way to search engines, and then displays the searched , Or it may be directly searched for nearby hot pot restaurants for display.
  • the relevant voice assistant's response to the restaurant-related parameters is not the user's real intention, resulting in an unprepared search for the user's intention, thereby failing to improve the user's experience or satisfy the user's actual needs.
  • the inventor proposes an information recommendation method, device, electronic device, and storage medium that can improve the above-mentioned problems in this application, thereby realizing the slot required by configuring the search requirement in this way, and then based on the set slot Generate subsequent search instructions, thereby improving the accuracy of feedback for restaurant search.
  • an information recommendation method provided by an embodiment of the present application is applied to a voice assistant, and the method includes:
  • Step S110 Acquire voice information.
  • the voice assistant may be an application program that runs independently in an electronic device. It can also be a component configured in a certain application. During the user's use, the user can trigger the activation of the voice assistant by touching the physical buttons of the electronic device, or trigger the activation of the voice assistant by touching the virtual buttons displayed on the electronic device.
  • the electronic device when the electronic device is equipped with the HOME button, the electronic device can be configured in advance to trigger the associated target application to start by long pressing the HOME button or double-clicking the HOME button, or long pressing the HOME button or double-clicking the HOME button In the case of triggering a component in the associated target application to start, configure the associated target application or a component in the target application as a voice assistant, so that the voice can be triggered by long pressing the HOME button or double-clicking the HOME button The assistant starts.
  • the electronic device if the electronic device is equipped with a touch screen, the electronic device can be configured with an entrance that triggers the activation of the voice assistant on the desktop of the system or in an application.
  • the portal can be a desktop application icon named as the voice assistant, and when an portal that triggers the voice assistant to start is configured in a certain application, the portal can be a certain A control named Voice Assistant, for example, a text control or a button control.
  • Voice Assistant for example, a text control or a button control.
  • the electronic device can display the interface 99 as shown in Figure 2. After the interface 99 is displayed, the electronic device will trigger the configured microphone or other physical voice collection components to start sound collection, so as to start Your voice assistant can get the collected voice information.
  • Step S120 Recognizing the voice information based on multiple slots corresponding to the target search requirement.
  • search requirements for restaurants may be pre-configured, and the slots corresponding to the search requirements for restaurants may include restaurant location, restaurant type, and restaurant evaluation.
  • search requirements for travel may be pre-configured, and the slots corresponding to the search requirements for travel may include travel departure point, travel time, and travel destination. Then, when the voice assistant recognizes that the current scene is based on restaurant search, it can use the restaurant search requirement as the target search requirement, and further perform voice recognition based on the slot corresponding to the restaurant search requirement.
  • the voice information received by the voice assistant is still a voice signal
  • the voice assistant also needs to convert the voice information in the form of the voice signal into the voice information in the text form, and this conversion process is to respond to the received voice information.
  • the process of identification is a voice signal
  • the voice assistant has multiple ways to realize the recognition of the received voice information.
  • the API Application Programming Interface
  • the voice assistant can wait for the third-party speech recognition system based on the pre-configured API of the third-party speech recognition system.
  • the recognized voice signal is transmitted to a third party for recognition, and then the voice information in text form returned by the third party is received.
  • the API of a third-party speech recognition system provided by Microsoft or Google can be used.
  • the neural network model can be trained in advance to obtain a model capable of converting voice information in the form of sound signals into voice information in text form. Then the trained model is deployed in a designated server or service cluster, and the voice assistant can transmit the received voice information in the form of voice signals to the process of recognizing the received voice information.
  • the server or service cluster performs recognition, and then receives the recognized text voice information returned by the server or service cluster.
  • the voice assistant can call the API of a third-party speech recognition system for recognition, and transmit it to a designated server or service cluster for recognition and real-time selection, so as to enhance the flexibility of recognition.
  • the voice assistant can determine which form of recognition to perform according to the current network status. It is understandable that the communication process will be more stable when directly connected to the network through the WIFI hotspot than through the mobile communication base station. Then the voice assistant can recognize that the current access to the network is through WIFI, Call the API of the third-party speech recognition system for recognition, and when it is recognized that the mobile communication base station is currently connected to the network, it is transmitted to the designated server or service cluster for recognition. Furthermore, the voice assistant can also switch the recognition mode based on the recognition success rate. It is understandable that the pronunciation habits or speaking styles of different users will be different, so even for the same recognition method, there will be different recognition results due to the user's own pronunciation habits or speaking styles.
  • the voice assistant can switch the recognition mode according to the user's own habits and combined with the recognition success rate.
  • the voice assistant can determine that the recognition fails when it detects that the user has repeatedly recognized similar sound signals.
  • the voice assistant can switch to another recognition method after recognizing a specified number of failures using a certain recognition method. For example, if the voice assistant starts to use the API of a third-party voice recognition system for recognition, and detects that it has recognized three similar sound signals in a row (the specified number of times is 3), then it is determined to switch to transmission to the server or service Identify in the cluster. It should be noted that similar sound signals can be judged by judging the error energy of the two sound signals.
  • more parameters need to be obtained as search conditions. For example, if the user wants to eat hot pot, if only the hot pot is used as a parameter to search, then only some hot pot restaurants are found in the search, and it may be any location. However, if you not only use hot pot as a parameter in the search, but also add a location (for example, the user's current location), then it can be more in line with the user's needs.
  • the search requirements for restaurant search In order to facilitate more accurate recommendation, you can pre-configure the search requirements for restaurant search, and define the required slots in the search requirements.
  • the content corresponding to each slot is the search parameter in the previous example.
  • the slots required for restaurant search may include restaurant type, restaurant rating, and restaurant location.
  • the voice assistant can obtain the target search requirements in a variety of ways.
  • the target search requirement can be pre-stored locally (for example, pre-stored in the installation file of the voice assistant), then when the voice assistant recognizes that the user needs to obtain a designated restaurant before performing step S120, The target search requirement is acquired, so that when step S120 is performed, the voice information can be recognized based on the multiple slots corresponding to the acquired target search requirement.
  • the voice assistant can also get updates from the network Then use the obtained updated target search requirements to replace the local target search requirements, so that the voice assistant can dynamically perform voice recognition based on the latest slots to improve the accuracy of user search feedback.
  • the slots before the update include restaurant type, restaurant rating, and restaurant location. Then when the user says "I'm going to Chongqing to eat a hot pot with high ratings", the voice assistant can recognize that the target parameter corresponding to the slot of restaurant type is "hot pot” after voice recognition through the slot, and the slot of restaurant rating is this slot.
  • the target parameter corresponding to the position is "high evaluation”
  • the target parameter corresponding to the slot of restaurant location is "Chongqing”.
  • the corresponding hot pot restaurants may also have more subdivisions. For example, hot pots will distinguish oil hot pots or butter hot pots, and the corresponding hot pot restaurants will also be classified as butter hot pots. Shop or Qingyou hot pot restaurant. So in this case, if you search for hot pot directly, users with more segmented needs may need to manually filter to search for the hot pot restaurant they need.
  • the voice assistant can detect that the user has a more segmented search request, and send the information to the information providing platform.
  • the information providing platform can automatically search The slot corresponding to the demand is updated so that the user's demand can be searched more accurately. For example, you can generate a more subdivided slot for the restaurant type slot. In this way, the information providing platform can directly transmit the updated target search requirements to the voice assistant for storage.
  • the information providing platform is updating the slots, it can also adjust the structure of the data table storing the information, so as to better match the search requirements. For example, as shown in the following table:
  • the fields in the data table shown in the above table include primary key (ID), restaurant name, restaurant type, restaurant rating, and restaurant location. Then in this case, each slot will have a corresponding field value in the data table, so that the data can be searched accurately. Then, after the slot is updated based on the aforementioned content, the information providing platform can automatically modify the above-mentioned data table to match the new slot. As shown in the following table:
  • the information providing platform has added the subdivision type field to match the increased slots.
  • more subdivided slots can also be added for other slots. For example, for the restaurant location, only the city name was originally marked. Then after the voice assistant recognizes that the user will often search for restaurants in specific areas or roads, it can add a more detailed field for the location of the restaurant, so that the location of the restaurant corresponds to the slot of the restaurant. match.
  • Step S130 If the target parameter corresponding to the target slot of the multiple slots is not successfully identified from the voice information, the process ends.
  • Step S131 If the target parameter corresponding to the target slot of the multiple slots is successfully identified from the voice information, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated, so The target parameter corresponding to the target slot is a parameter about the restaurant.
  • the voice assistant can use multiple slots as the target slot, or only some slots or a certain slot as the target slot.
  • the parameters of the restaurant there are many ways to configure the parameters of the restaurant.
  • several common restaurant-related parameters obtained after statistics can be configured by default when the voice assistant is installed.
  • the aforementioned "hot pot”, “steak” or “western food” and so on can be configured by users according to their own needs.
  • users As user needs change, more users expect to adopt a more personalized way to control electronic devices. For example, some users like to say “hot pot” or "noodles", etc.
  • the user can be configured to configure the parameters of the restaurant.
  • the parameter setting interface 98 shown in FIG. 3 includes a parameter addition control 97 related to the restaurant and a display control 96 to which parameters related to the restaurant have been added. Furthermore, after the user clicks on the parameter adding control 97 about the restaurant, a new parameter about the restaurant can be added. In addition to adding text in the form of adding, it can also be added in the form of sound signals at the same time. For example, when the user clicks on the parameter addition control 97 about the restaurant, the user will be triggered to enter the parameter about the restaurant in the form of voice.
  • the voice assistant receives the voice information, in order to improve the final feedback effect, it can directly compare the received voice signal with the pre-stored voice signal. It is understandable that the voice In the signal process, the aforementioned method of comparing the signal similarity can be used to determine whether the received sound signal is similar to the pre-stored sound signal. If so, the target product information can be directly obtained without further follow-up Language to text conversion recognition, thereby improving the efficiency of information feedback.
  • hot pot can be configured to correspond to hot pot.
  • Step S140 Send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
  • Step S150 Display a card, and display the restaurant information in the card.
  • the restaurant information can be displayed in the card 92 in the interface 99.
  • the restaurant information may include restaurant name, restaurant icon, restaurant rating, restaurant location, etc.
  • the voice assistant displays the card and displays restaurant information
  • it can display more information in response to the user's touch operation, for example, display the detailed introduction of the target restaurant selected from the restaurant information, and can also display information according to the user’s Operate to make restaurant reservations.
  • the target parameter corresponding to the target slot of the plurality of slots is successfully recognized from the voice information, it is generated carrying the corresponding corresponding to each of the plurality of slots.
  • the search instruction for the target parameter of the target restaurant the search instruction is sent to the target restaurant information providing platform, and the restaurant information returned by the target restaurant information providing platform in response to the contraction instruction is received; a card is displayed, and the card is displayed Item restaurant information.
  • the slot required by configuring the search requirement is realized, and then the subsequent search instruction is generated based on the set slot, thereby improving the accuracy of the feedback for the restaurant search.
  • an information recommendation method provided by an embodiment of the present application is applied to a voice assistant, and the method includes:
  • Step S210 Acquire voice information.
  • Step S220 Based on the received voice, it is determined whether it is in a closed-domain voice dialogue scene about the restaurant.
  • an open domain voice dialogue scenario and a closed domain voice dialogue scenario may be pre-configured.
  • the voice assistant when in an open domain dialogue scenario, randomly selects one feedback content for feedback when recognizing that there are multiple feedback content available for responding to the received voice information. It is understandable that when in an open-domain dialogue scenario, the voice assistant has not yet determined what kind of information the user is searching for, so random information can be used for feedback. For example, when the voice assistant recognizes that the user has said "Today's weather is really good", the voice assistant can feed back information such as "Yes”, "Why don't you go out for a walk", and even feedback the current weather.
  • the voice assistant When in a closed-domain voice dialogue scene about a restaurant, after completing the recognition of the voice information, if it is recognized that the slot lacks target parameters, the voice assistant will issue a prompt message to prompt the user to enter the lack of target parameters The target parameter required by the slot. It is understandable that when in a closed-domain voice dialogue scene related to a certain direction, the voice assistant has determined the information actually needed by the user, and will obtain as many parameters as possible so that the search can be performed more accurately. Among them, the voice assistant will actively send voice or text prompt information to prompt the user to input more parameters.
  • the voice assistant can determine whether to enter which closed domain voice dialogue scene according to the recognized specified words.
  • the specified words can be stored by building a dictionary or word database.
  • the designated words corresponding to the closed-domain voice dialogue scene about the restaurant may include: I want to eat, I am hungry, etc., which indicate that I want to eat, or may be specific food such as hot pot, small noodles, or steak.
  • the designated words corresponding to the closed-domain voice dialogue scene about travel may include: I want to go to Shenzhen Bay, I want to go to a football game, etc. to indicate travel intention.
  • Step S230 If not, it is determined that it is in an open-domain voice dialogue scenario, and when it is recognized that multiple feedback content can be used to respond to the received voice information, one feedback content is randomly selected for feedback.
  • the voice information is segmented to obtain multiple words, a card is displayed, and the card is displayed based on the multiple The content of the search term.
  • Step S240 If yes, recognize the voice information based on multiple slots corresponding to the target search requirement.
  • Step S250 If the target parameter corresponding to the target slot of the plurality of slots is successfully recognized from the voice information, a search instruction carrying the target parameter corresponding to each of the plurality of slots is generated, so The target parameter corresponding to the target slot is a parameter about the restaurant.
  • Step S260 Send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
  • the voice assistant has multiple ways to obtain restaurant information.
  • the target restaurant information providing platform is a client for providing restaurant information.
  • the voice assistant can obtain restaurant information based on a data interface with the client for providing restaurant information.
  • the voice assistant will send a search instruction generated based on the foregoing method to the client for providing restaurant information, and the search instruction is used to trigger the client for providing restaurant information to obtain according to specified rules Restaurant information; receiving the restaurant information returned by the client for providing restaurant information.
  • the voice assistant will first perform the communication channel 95 and send the search command to the client for providing restaurant information.
  • the client for providing restaurant information can first query whether there is a cache locally.
  • the target restaurant information if it is available, is directly returned to the voice assistant. If no cached target restaurant information is detected, a request for obtaining target restaurant information is sent to the server based on the communication channel 94, and then through the communication channel 94 and the communication channel 95 in turn Return to the voice assistant.
  • the client used to provide restaurant information is a client that can be used to independently complete shopping order generation and order placement, similar to the Dianping client or Meituan client.
  • a search instruction is sent to the server corresponding to the client for providing restaurant information, and the search instruction is used to trigger the server to obtain the target restaurant information according to a specified rule; and receive the information returned by the server Target restaurant information.
  • the voice assistant will directly send a search command to the server through the communication channel 93, and then the restaurant information will still be returned to the voice assistant through the communication channel 93.
  • the voice assistant can forward the search instruction to the server through the client for providing restaurant information, and the server directly returns the restaurant information to the voice assistant instead of providing restaurant information.
  • the application program is distinguished by the port number occupied by the application program. For example, the browser client occupies port 80 and the voice assistant occupies port 8080. If the returned information points to port 8080, the electronic device will know that this information is returned to the voice assistant. In this way, the voice assistant adds the port number occupied by the voice assistant to the generated search command, and then when the server generates the returned information, the voice assistant’s port number is added to the returned information so that the information can be Send directly to the voice assistant.
  • Step S270 Display a card, and display the restaurant information in the card.
  • the information recommendation method provided by the present application realizes the slot required by configuring the search requirement, and then generates the subsequent search instruction based on the set slot, thereby improving the feedback for restaurant search Accuracy.
  • a closed-domain dialogue scenario and an open-domain dialogue scenario are configured, so that the voice assistant will only start to perform the voice analysis based on the multiple slots corresponding to the target search requirement after recognizing that it has entered the closed-domain dialogue scenario. Information is recognized, thereby improving the accuracy of recognition and reducing power consumption at the same time.
  • an information recommendation method provided by an embodiment of the present application is applied to a voice assistant, and the method includes:
  • Step S310 Acquire voice information.
  • Step S320 Recognizing the voice information based on multiple slots corresponding to the target search requirement.
  • Step S330 If the target parameter corresponding to the target slot of the multiple slots is not successfully recognized from the voice information, the process ends.
  • Step S331 If the target parameter corresponding to the target slot of the multiple slots is successfully identified from the voice information, obtain the parameters corresponding to each of the multiple slots identified from the voice information quantity.
  • Step S332 Identify the quantity.
  • Step S340 If the number of parameters corresponding to the multiple slots is one, the identified parameters corresponding to the multiple slots are used as the target parameters of each slot.
  • Step S350 If there are multiple slots in the multiple slots, the number of corresponding parameters is multiple slots as the slot to be processed.
  • Step S360 Determine one parameter from the multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the target rule.
  • the voice assistant may have multiple ways to determine the target parameter from multiple parameters.
  • the voice assistant can identify the positions in the voice information of multiple parameters corresponding to the slots to be processed; and use the parameters after the specified attribute words in the voice information as the target parameters.
  • the specified attribute words can be stored by establishing a dictionary or word database.
  • the words that specify attributes can be words that represent actions. For example, eat, come, go, or play. For example, if the voice message recognized by the voice assistant is "I am in Chengdu, I am going to Chongqing to eat hot pot", then the parameters corresponding to this slot at the restaurant location include Chengdu and Chongqing, and furthermore, it is assigned to Chongqing as a designated attribute After the word "go", Chongqing is determined as the target parameter corresponding to the slot of the restaurant location.
  • the voice assistant may determine a parameter from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on at least one of the user's location information, historical portrait information, and user selection.
  • Step S370 Generate a search instruction carrying the target parameter corresponding to each of the multiple slots, and the target parameter corresponding to the target slot is a parameter about a restaurant.
  • Step S380 Send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
  • Step S390 Display a card, and display the restaurant information in the card.
  • the information recommendation method provided by the present application realizes the slot required by configuring the search requirement, and then generates the subsequent search instruction based on the set slot, thereby improving the feedback for restaurant search Accuracy. And in the case of identifying that there are multiple parameters corresponding to a slot, one parameter can be selected as the target parameter of the slot according to the target rule, so that it can still be more accurately identified in a more complex language environment The real intention of the user.
  • an information recommendation method provided by an embodiment of the present application is applied to a voice assistant, and the method includes:
  • Step S410 Acquire voice information.
  • Step S420 After receiving the voice information, identify the length of the received voice information
  • Step S421 If the length is less than the specified length, search directly based on the received voice information, and display the searched content.
  • Step S430 If the length is not less than the specified length, recognize the voice information based on multiple slots corresponding to the target search requirement.
  • Step S440 If the target parameter corresponding to the target slot of the multiple slots is successfully recognized from the voice information, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated, so The target parameter corresponding to the target slot is a parameter about the restaurant.
  • Step S450 Send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
  • Step S460 Display a card, and display the restaurant information in the card.
  • This application provides an information recommendation method, which realizes that after recognizing that the length of the voice message is not less than the specified length, the slot required by the search requirement is configured, and then the subsequent search is generated based on the set slot Instructions, which in turn improves the accuracy of feedback for restaurant searches.
  • an information recommendation apparatus 500 provided by an embodiment of the present application, the apparatus 500 includes:
  • the voice information receiving unit 510 is used to obtain voice information.
  • the voice recognition unit 520 is configured to recognize the voice information based on multiple slots corresponding to the target search requirement.
  • the voice recognition unit 520 is specifically configured to obtain the target search requirement locally after receiving the voice information; and recognize the voice information based on multiple slots corresponding to the obtained target search requirement.
  • the device further includes a requirement obtaining unit 521, configured to obtain a target search request from the network, and receive an updated target search requirement obtained from the network; The target search demand of covers the local target search demand.
  • the voice recognition unit 520 is specifically configured to recognize the length of the received voice information; if the length is not less than a specified length, recognize the voice information based on multiple slots corresponding to the target search requirement. If the length is less than the specified length, perform semantic recognition on the received voice information. In this way, the card is displayed, and the content corresponding to the recognized semantics is displayed in the card.
  • the instruction generation unit 530 is configured to, if the target parameter corresponding to the target slot of the plurality of slots is successfully recognized from the voice information, generate a target parameter that carries the target parameter corresponding to each of the plurality of slots.
  • the target parameter corresponding to the target slot is a parameter about the restaurant.
  • the restaurant information acquiring unit 540 is configured to send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
  • the information display unit 550 is configured to display a card, and display the restaurant information in the card.
  • the apparatus 500 further includes:
  • the scene processing unit 560 is configured to determine whether it is in a closed-domain voice dialogue scene about the restaurant based on the received voice. In this way,
  • the voice recognition unit 520 executes the multiple slots corresponding to the target search requirements to recognize the voice information; wherein, when in a closed-domain voice dialogue scene about the restaurant, after completing the voice information recognition If it is recognized that the slot lacks a target parameter, the voice assistant will issue a prompt message to prompt the user to enter the target parameter required by the slot lacking the target parameter.
  • the voice recognition unit 520 after receiving the voice information, performs word segmentation on the voice information to obtain multiple words.
  • the information display unit 550 is configured to display a card, and display the content after searching based on the multiple words in the card.
  • the scene processing unit 560 is also used for determining that it is in a closed-domain voice conversation scene about a restaurant in an open-domain voice dialogue scene when it is recognized that there are designated words related to dining in the received voice;
  • the voice assistant randomly selects one feedback content for feedback when recognizing that there are multiple feedback content available for responding to the received voice information.
  • the instruction generating unit 530 is specifically configured to obtain the number of parameters corresponding to each of the multiple slots recognized from the voice information; if the number of parameters corresponding to the multiple slots is all One is to use the identified parameters corresponding to each of the multiple slots as the target parameters of each slot; generate a search instruction that carries the target parameters corresponding to each of the multiple slots.
  • the instruction generating unit 530 is specifically further configured to, if there are multiple slots corresponding to the number of parameters in the multiple slots, set the number of corresponding parameters to multiple slots as Slot to be processed: Based on the target rule, a parameter is determined from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed.
  • the instruction generating unit 530 is specifically configured to identify the positions in the voice information of multiple parameters corresponding to the slot to be processed; and use the parameters after the specified attribute word in the voice information as the target parameter .
  • the designated attribute words are words that characterize user actions.
  • the instruction generation unit 530 is specifically configured to determine a parameter from the multiple parameters corresponding to the slot to be processed as the slot to be processed based on at least two conditions of the user's location information, historical portrait information, and user selection The target parameter.
  • the instruction generation unit 530 is specifically configured to determine a parameter from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the historical portrait information of the user.
  • the instruction generation unit 530 is specifically configured to determine a parameter from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the user's selection.
  • an embodiment of the present application also provides another electronic device 200 that can execute the foregoing information recommendation method.
  • the electronic device 200 includes one or more (only one is shown in the figure) a processor 102, a memory 104, and a network module 106 coupled to each other.
  • the memory 104 stores a program that can execute the content in the foregoing embodiment
  • the processor 102 can execute the program stored in the memory 104.
  • the processor 102 may include one or more processing cores.
  • the processor 102 uses various interfaces and lines to connect various parts of the entire electronic device 200, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and calling data stored in the memory 104.
  • Various functions and processing data of the electronic device 200 may use at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 102 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 102, but may be implemented by a communication chip alone.
  • the memory 104 may include random access memory (RAM) or read-only memory (Read-Only Memory). The memory 104 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 104 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions for implementing the following method embodiments, etc.
  • the data storage area can also store data (such as phone book, audio and video data, chat record data) created by the terminal 100 during use.
  • the network module 106 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as with audio playback devices.
  • the network module 106 may include various existing circuit elements for performing these functions, for example, an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a subscriber identity module (SIM) card, a memory, etc. .
  • the network module 106 can communicate with various networks such as the Internet, an intranet, and a wireless network, or communicate with other devices through a wireless network.
  • the aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the network module 106 can exchange information with the base station. Please refer to FIG. 14, which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable medium 1100 stores program code, and the program code can be invoked by a processor to execute the method described in the foregoing method embodiment.
  • the computer-readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 1100 has a storage space for executing the program code 810 of any method step in the foregoing method.
  • These program codes can be read out from or written into one or more computer program products.
  • the program code 1110 may be compressed in a suitable form, for example.
  • the present application provides an information recommendation method, device, electronic equipment, and storage medium that recognize the voice information in multiple slots corresponding to target search requirements; if the voice information is successfully recognized from the voice information
  • a search instruction carrying the target parameter corresponding to each of the multiple slots is generated; the search instruction is sent to the target restaurant information providing platform, and the search instruction is received.
  • the target restaurant information providing platform returns restaurant information in response to the contraction instruction; displaying a card, and displaying the restaurant information in the card. In this way, the slot required by configuring the search requirement is realized, and then the subsequent search instruction is generated based on the set slot, thereby improving the accuracy of the feedback for the restaurant search.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiments of the present application disclose an information recommendation method and apparatus, an electronic device and a storage medium. Said method comprises: a voice assistant receiving voice information upon being started; identifying the voice information on the basis of a plurality of slots corresponding to a target search requirement; if a target parameter corresponding to a target slot in the plurality of slots is successfully identified from the voice information, generating a search instruction carrying target parameters respectively corresponding to the plurality of slots, the target parameter corresponding to the target slot being the parameter related to a restaurant; sending the search instruction to a target restaurant information providing platform, and receiving restaurant information returned by the target restaurant information providing platform in response to the search instruction; and displaying a card and displaying restaurant information on the card. Said method allows setting a required slot by configuring a search requirement, and then generating a subsequent search instruction on the basis of the set slot, thereby improving the accuracy of feedback for restaurant searching.

Description

信息推荐方法、装置、电子设备以及存储介质Information recommendation method, device, electronic equipment and storage medium 技术领域Technical field
本申请涉及计算机技术领域,更具体地,涉及一种信息推荐方法、装置、电子设备以及存储介质。This application relates to the field of computer technology, and more specifically, to an information recommendation method, device, electronic equipment, and storage medium.
背景技术Background technique
随着语音识别技术的发展,更多的电子设备上安装有语音助手来与电子设备的用户进行交互,而用户在与语音助手的交互过程中,可以通过语音助手来完成部分操作,然而相关的语音助手在响应用户的需求过程中,用户体验还有待提升。With the development of voice recognition technology, more electronic devices are equipped with voice assistants to interact with users of electronic devices. In the process of interacting with voice assistants, users can use voice assistants to complete some operations. However, related In the process of voice assistant responding to users' needs, the user experience needs to be improved.
发明内容Summary of the invention
鉴于上述问题,本申请提出了一种信息推荐方法、装置、电子设备以及存储介质,以改善上述问题。In view of the above problems, this application proposes an information recommendation method, device, electronic equipment, and storage medium to improve the above problems.
第一方面,本申请提供了一种信息推荐方法,应用于语音助手,所述方法包括:获取语音信息;基于目标搜索需求对应的多个槽位对所述语音信息进行识别;若从所述语音信息中成功识别到所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数;向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息;显示卡片,并在所述卡片中显示所述餐厅信息。In the first aspect, this application provides an information recommendation method applied to a voice assistant. The method includes: acquiring voice information; recognizing the voice information based on multiple slots corresponding to target search requirements; When the target parameter corresponding to the target slot of the multiple slots is successfully identified in the voice information, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated, and the target corresponding to the target slot is generated. The parameter is the parameter about the restaurant; the search instruction is sent to the target restaurant information providing platform, and the restaurant information returned by the target restaurant information providing platform in response to the search instruction is received; the card is displayed, and the card is displayed Restaurant information.
第二方面,本申请提供了一种信息推荐装置,所述装置包括:语音信息接收单元,用于获取语音信息;语音识别单元,用于基于目标搜索需求对应的多个槽位对所述语音信息进行识别;指令生成单元,用于若从所述语音信息中成功识别到所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数;餐厅信息获取单元,用于向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息;信息显示单元,用于显示卡片,并在所述卡片中显示所述餐厅信息。In a second aspect, the present application provides an information recommendation device. The device includes: a voice information receiving unit for acquiring voice information; and a voice recognition unit for responding to the voice information based on multiple slots corresponding to target search requirements. Information; the instruction generation unit is used to generate the corresponding target parameter of the multiple slots if the target parameter corresponding to the target slot of the multiple slots is successfully recognized from the voice information The target parameter search instruction, the target parameter corresponding to the target slot is the parameter about the restaurant; the restaurant information acquisition unit is used to send the search instruction to the target restaurant information providing platform, and receive the target restaurant information providing platform response The restaurant information returned by the search instruction; an information display unit for displaying a card, and displaying the restaurant information in the card.
第三方面,本申请提供了一种电子设备,包括一个或多个处理器以及存储器;一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行上述的方法。In a third aspect, this application provides an electronic device including one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be The one or more processors execute the above-mentioned methods.
第四方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码运行时执行上述的方法,并且也可以避免控制混乱。In a fourth aspect, the present application provides a computer-readable storage medium with program code stored in the computer-readable storage medium, wherein the above method is executed when the program code is running, and control confusion can also be avoided.
本申请提供的一种信息推荐方法、装置、电子设备以及存储介质,在基于目标搜索需求对应的多个槽位对所述语音信息进行识别;若从所述语音信息中成功识别到与所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令;向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述收缩指令返回的餐厅信息;显示卡片,并在所述卡片中显示所述目 餐厅信息。从而通过该方式实现了通过配置搜索需求来需要的槽位,然后基于该设置的槽位来生成后续的搜索指令,进而提升了对于用于关于餐厅搜索反馈的准确度。The present application provides an information recommendation method, device, electronic equipment, and storage medium that recognize the voice information in multiple slots corresponding to target search requirements; if the voice information is successfully recognized from the voice information When the target parameter corresponding to the target slot of the multiple slots is generated, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated; the search instruction is sent to the target restaurant information providing platform, and the search instruction is received. The target restaurant information providing platform returns restaurant information in response to the contraction instruction; displaying a card, and displaying the restaurant information in the card. In this way, the slot required by configuring the search requirement is realized, and then the subsequent search instruction is generated based on the set slot, thereby improving the accuracy of the feedback for the restaurant search.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
图1示出了本申请实施例提出的一种信息推荐方法的流程图;Fig. 1 shows a flowchart of an information recommendation method proposed by an embodiment of the present application;
图2示出了本申请实施例提出的一种语音信息采集界面的示意图;Fig. 2 shows a schematic diagram of a voice information collection interface proposed by an embodiment of the present application;
图3示出了本申请实施例提出的一种参数设置界面的示意图;FIG. 3 shows a schematic diagram of a parameter setting interface proposed by an embodiment of the present application;
图4示出了本申请实施例提出的一种参数语音设置界面添加结果的示意图;FIG. 4 shows a schematic diagram of a result of adding a parameter voice setting interface according to an embodiment of the present application;
图5示出了本申请实施例提出的一种卡片的示意图;Fig. 5 shows a schematic diagram of a card proposed in an embodiment of the present application;
图6示出了本申请另一实施例提出的一种信息推荐方法的流程图;Fig. 6 shows a flowchart of an information recommendation method proposed by another embodiment of the present application;
图7示出了本申请实施例提出的一种语音助手与用于提供餐厅信息的客户端的服务端进行通信的示意图;FIG. 7 shows a schematic diagram of a voice assistant communicating with a server of a client for providing restaurant information according to an embodiment of the present application;
图8示出了本申请再一实施例提出的一种信息推荐方法的流程图;FIG. 8 shows a flowchart of an information recommendation method proposed by still another embodiment of the present application;
图9示出了本申请又一实施例提出的一种信息推荐方法的流程图;FIG. 9 shows a flowchart of an information recommendation method proposed by another embodiment of the present application;
图10示出了本申请实施例提出的一种语音信息处理装置的结构框图;FIG. 10 shows a structural block diagram of a voice information processing device proposed in an embodiment of the present application;
图11示出了本申请另一实施例提出的一种语音信息处理装置的结构框图;FIG. 11 shows a structural block diagram of a voice information processing device proposed by another embodiment of the present application;
图12示出了本申请再一实施例提出的一种语音信息处理装置的结构框图;FIG. 12 shows a structural block diagram of a voice information processing device proposed by still another embodiment of the present application;
图13示出了本申请的用于执行根据本申请实施例的信息推荐方法的电子设备的结构框图;FIG. 13 shows a structural block diagram of an electronic device of the present application for executing the information recommendation method according to an embodiment of the present application;
图14是本申请实施例的用于保存或者携带实现根据本申请实施例的信息推荐方法的程序代码的存储单元。Fig. 14 is a storage unit for storing or carrying program code for implementing the information recommendation method according to the embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.
随着语音识别技术的发展,类似于智能手机、平板电脑以及计算机等电子设备都配置有智能语音助手。比如苹果的Siri、三星的Bixby、Google Assistant、Amazon Alex等。语音助手可以看做是一个智能应用,用户通过与语音助手的智能对话与即时问答的智能交互,从而可以帮助用户解决一些实际的问题或者替代用户对电子设备进行操作。例如,在一个相关的场景中,电子设备的语音助手在检测到用户输入有“帮我打开百度地图”时,电子设备可以识别到用户的意图是使用百度地图这个应用程序,从而就可以出发百度地图启动。在另一个相关的场景中,电子设备的语音助手在检测到用户输入有“附近哪里有停车场”时,电子设备可以识别出用户是期望查找一定范围内的停车场,那么电子设备可以基于位置进行停车场的搜索,并将搜索结果进行展示。With the development of voice recognition technology, electronic devices such as smart phones, tablets, and computers are equipped with intelligent voice assistants. For example, Apple's Siri, Samsung's Bixby, Google Assistant, Amazon Alex, etc. The voice assistant can be regarded as an intelligent application. The user can help the user solve some practical problems or replace the user in operating the electronic device through the intelligent interaction of the intelligent dialogue with the voice assistant and the instant question and answer. For example, in a related scenario, when the voice assistant of an electronic device detects that the user input "Help me open Baidu map", the electronic device can recognize that the user's intention is to use the Baidu map application, so that it can start Baidu The map starts. In another related scenario, when the voice assistant of the electronic device detects that the user input "Where is there a parking lot nearby", the electronic device can recognize that the user is looking for a parking lot within a certain range, then the electronic device can be based on the location Search for parking lots and display the search results.
但是,发明人在对语音助手进行研究中发现,相关的语音助手还无法对用户输入的关于餐厅的参数的语义进行良好的识别,或者即使能够进行响应,也无法给用户带来更好的用户体验。例如,在一种方式中,相关的语音助手在识别到用户输入我要吃火锅后,要么就是以“火锅”或者“吃火锅”作为关键词进行类似搜索引擎方式进行资源搜索,然后显示所搜索的文本资料,要么就可能是直接搜索附近的火锅店进行展示。然而,发明人发现,相关的语 音助手对于关于餐厅的参数的响应并不是用户的真正意图,造成无法准备的对用户的意图进行搜索,进而无法提升用户的体验也无法满足用户的实际需求。再者,发明人还发现,在直接采用相关的购物软件进行的餐厅搜索的过程中,用户需要多次反复进行页面的滑动才能找到自己所需的餐厅,进而也会造成用户体验不佳。However, the inventor found in his research on voice assistants that the related voice assistants still cannot well recognize the semantics of the restaurant-related parameters entered by the user, or even if they can respond, they cannot bring users better users. Experience. For example, in one way, after the relevant voice assistant recognizes the user input I want to eat hot pot, it either uses "hot pot" or "eat hot pot" as keywords to search for resources in a similar way to search engines, and then displays the searched , Or it may be directly searched for nearby hot pot restaurants for display. However, the inventor found that the relevant voice assistant's response to the restaurant-related parameters is not the user's real intention, resulting in an unprepared search for the user's intention, thereby failing to improve the user's experience or satisfy the user's actual needs. Furthermore, the inventor also found that in the process of directly using related shopping software for restaurant search, users need to repeatedly slide the page to find the restaurant they need, which will also cause a poor user experience.
因此,发明人提出了本申请中可以改善上述问题的信息推荐方法、装置、电子设备以及存储介质,从而通过该方式实现了通过配置搜索需求来需要的槽位,然后基于该设置的槽位来生成后续的搜索指令,进而提升了对于用于关于餐厅搜索反馈的准确度。Therefore, the inventor proposes an information recommendation method, device, electronic device, and storage medium that can improve the above-mentioned problems in this application, thereby realizing the slot required by configuring the search requirement in this way, and then based on the set slot Generate subsequent search instructions, thereby improving the accuracy of feedback for restaurant search.
下面将结合附图具体描述本申请的各实施例。The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
请参阅图1,本申请实施例提供的一种信息推荐方法,应用于语音助手,所述方法包括:Please refer to FIG. 1, an information recommendation method provided by an embodiment of the present application is applied to a voice assistant, and the method includes:
步骤S110:获取语音信息。Step S110: Acquire voice information.
其中,可以理解的是,语音助手可以是一个独立运行在电子设备中的应用程序。也可以是配置在某一个应用程序中的组件。在用户使用过程中,用户可以通过触控电子设备的物理按键来触发语音助手启动,也可以通过触控电子设备所显示的虚拟按键来触发语音助手启动。Among them, it is understandable that the voice assistant may be an application program that runs independently in an electronic device. It can also be a component configured in a certain application. During the user's use, the user can trigger the activation of the voice assistant by touching the physical buttons of the electronic device, or trigger the activation of the voice assistant by touching the virtual buttons displayed on the electronic device.
例如,作为一种方式,在电子设备设置有HOME键的情况下,电子设备可以在预先配置长按HOME键或者双击HOME键就触发关联的目标应用程序启动,或者长按HOME键或者双击HOME键就触发关联的目标应用程序中的某个组件启动的情况下,将关联的目标应用程序或者目标应用程序中的某个组件配置为语音助手,从而实现长按HOME键或者双击HOME键就触发语音助手启动。而作为另外一种方式,电子设备配置有触控显示屏,那么电子设备可以在系统的桌面或者某个应用程序中配置有触发语音助手启动的入口。在桌面配置语音助手入口的这种情况下,入口可以为名称为语音助手的桌面应用程序图标,而在某个应用程序中配置有触发语音助手启动的入口的这种情况下,入口为可以某个名称为语音助手的控件,例如,文本控件或者按钮控件。For example, as a way, when the electronic device is equipped with the HOME button, the electronic device can be configured in advance to trigger the associated target application to start by long pressing the HOME button or double-clicking the HOME button, or long pressing the HOME button or double-clicking the HOME button In the case of triggering a component in the associated target application to start, configure the associated target application or a component in the target application as a voice assistant, so that the voice can be triggered by long pressing the HOME button or double-clicking the HOME button The assistant starts. As another way, if the electronic device is equipped with a touch screen, the electronic device can be configured with an entrance that triggers the activation of the voice assistant on the desktop of the system or in an application. In the case where the voice assistant portal is configured on the desktop, the portal can be a desktop application icon named as the voice assistant, and when an portal that triggers the voice assistant to start is configured in a certain application, the portal can be a certain A control named Voice Assistant, for example, a text control or a button control.
当语音助手启动后,电子设备可以显示如图2所示的界面99,在该界面99显示以后电子设备就会触发所配置的麦克风或者其它的物理语音采集元件开始进行声音的采集,以便启动后的语音助手可以获取到所采集的语音信息。When the voice assistant is started, the electronic device can display the interface 99 as shown in Figure 2. After the interface 99 is displayed, the electronic device will trigger the configured microphone or other physical voice collection components to start sound collection, so as to start Your voice assistant can get the collected voice information.
步骤S120:基于目标搜索需求对应的多个槽位对所述语音信息进行识别。Step S120: Recognizing the voice information based on multiple slots corresponding to the target search requirement.
可以理解的是,可以预先配置多个搜索需求,并且可以预先给每个搜索需求配置对应的槽位。例如,可以预先配置关于餐厅的搜索需求,而关于餐厅的搜索需求对应的槽位可以包括餐厅位置、餐厅类型以及餐厅评价。再例如,可以预先配置关于出行的搜索需求,而关于出行的搜索需求对应的槽位可以包括出行出发点、出行时间以及出行目的地。那么当语音助手识别到当当前为基于餐厅搜索的场景时,可以将关于餐厅的搜索需求作为目标搜索需求,并进一步的基于关于餐厅的搜索需求对应的槽位来进行语音识别。It is understandable that multiple search requirements can be configured in advance, and a corresponding slot can be configured for each search requirement in advance. For example, search requirements for restaurants may be pre-configured, and the slots corresponding to the search requirements for restaurants may include restaurant location, restaurant type, and restaurant evaluation. For another example, search requirements for travel may be pre-configured, and the slots corresponding to the search requirements for travel may include travel departure point, travel time, and travel destination. Then, when the voice assistant recognizes that the current scene is based on restaurant search, it can use the restaurant search requirement as the target search requirement, and further perform voice recognition based on the slot corresponding to the restaurant search requirement.
其中,可以理解的是,对于语音助手接受到的语音信息都还是声音信号,语音助手还需要将声音信号形式的语音信息转换为文本形式的语音信息,而这个转换过程就是对接收到的语音信息进行识别的过程。Among them, it is understandable that the voice information received by the voice assistant is still a voice signal, and the voice assistant also needs to convert the voice information in the form of the voice signal into the voice information in the text form, and this conversion process is to respond to the received voice information. The process of identification.
在本申请实施例中,语音助手有多种方式来实现对所述接收到的语音信息进行识别。作为一种方式,可以预先配置第三方语音识别系统的API(Application Programming Interface,应用程序编程接口),那么在在这种方式下,语音助手可以基于预先配置的第三方语音识别系统的API将待识别的声音信号传输给第三方进行识别,然后接收第三方返回的文本形式的语音信息。例如,可以采用微软或者谷歌提供的第三方语音识别系统的API。In the embodiment of the present application, the voice assistant has multiple ways to realize the recognition of the received voice information. As a way, the API (Application Programming Interface) of the third-party speech recognition system can be pre-configured. In this way, the voice assistant can wait for the third-party speech recognition system based on the pre-configured API of the third-party speech recognition system. The recognized voice signal is transmitted to a third party for recognition, and then the voice information in text form returned by the third party is received. For example, the API of a third-party speech recognition system provided by Microsoft or Google can be used.
作为另外一种方式,可以预先对神经网络模型进行训练,得到一个具备将声音信号形式的语音信息转换为文本形式的语音信息的模型。然后将该训练好的模型部署在一个指定的服务器或者服务集群中,进而语音助手在需要对所述接收到的语音信息进行识别的过程中,可以将接收到的声音信号形式的语音信息传输给该服务器或者服务集群中进行识别,然后再接收服务器或者服务集群所返回的识别后的文本形式的语音信息。而在另外一种方式中,语音助手可以在调用第三方语音识别系统的API进行识别,和传输给指定的服务器或者服务集群 进行识别进行实时的选择,以便增强识别的灵活性。As another way, the neural network model can be trained in advance to obtain a model capable of converting voice information in the form of sound signals into voice information in text form. Then the trained model is deployed in a designated server or service cluster, and the voice assistant can transmit the received voice information in the form of voice signals to the process of recognizing the received voice information. The server or service cluster performs recognition, and then receives the recognized text voice information returned by the server or service cluster. In another way, the voice assistant can call the API of a third-party speech recognition system for recognition, and transmit it to a designated server or service cluster for recognition and real-time selection, so as to enhance the flexibility of recognition.
在这种方式中,可选的,语音助手可以根据当前的网络状态确定进行哪种形式的识别。可以理解的是,直接通过WIFI热点接入到网络相比通过移动通信基站接入网络而言通信过程会更加的稳定,那么语音助手可以在识别到当前是通过WIFI方式接入网络的情况下,调用第三方语音识别系统的API进行识别,而在识别到当前是通过移动通信基站接入网络的情况下,传输给指定的服务器或者服务集群进行识别。再者,语音助手还可以通过识别成功率进行识别方式的切换。可以理解的是,不同用户的发音习惯或者说话方式都会有所差别,那么即使是对于同一种识别方式,也会因为用户自身的发音习惯或者说话方式而造成识别出现不同的结果。那么在这种情况下,语音助手可以根据用户自身的习惯以及结合识别的成功率进行识别方式的切换。其中,语音助手可以在检测到用户重复对相似的声音信号进行识别的情况下,判断识别出现失败。那么语音助手可以在识别到采用某种识别方式出现指定次数失败后,转而切换为另一种识别方式。例如,若语音助手开始采用的是调用第三方语音识别系统的API进行识别,检测到连续识别了三次相似的声音信号(指定次数为3),那么就判定转而切换为传输给该服务器或者服务集群中进行识别。需要说明的是,其中相似的声音信号可以通过判断两个声音信号的误差能量来进行判断。In this way, optionally, the voice assistant can determine which form of recognition to perform according to the current network status. It is understandable that the communication process will be more stable when directly connected to the network through the WIFI hotspot than through the mobile communication base station. Then the voice assistant can recognize that the current access to the network is through WIFI, Call the API of the third-party speech recognition system for recognition, and when it is recognized that the mobile communication base station is currently connected to the network, it is transmitted to the designated server or service cluster for recognition. Furthermore, the voice assistant can also switch the recognition mode based on the recognition success rate. It is understandable that the pronunciation habits or speaking styles of different users will be different, so even for the same recognition method, there will be different recognition results due to the user's own pronunciation habits or speaking styles. Then in this case, the voice assistant can switch the recognition mode according to the user's own habits and combined with the recognition success rate. Among them, the voice assistant can determine that the recognition fails when it detects that the user has repeatedly recognized similar sound signals. Then the voice assistant can switch to another recognition method after recognizing a specified number of failures using a certain recognition method. For example, if the voice assistant starts to use the API of a third-party voice recognition system for recognition, and detects that it has recognized three similar sound signals in a row (the specified number of times is 3), then it is determined to switch to transmission to the server or service Identify in the cluster. It should be noted that similar sound signals can be judged by judging the error energy of the two sound signals.
可以理解的是,为了能够更加准确的为用户推荐所需的信息,需要获取到更多的参数作为搜索条件。例如,用户想吃火锅,那么如果仅仅以火锅为参数进行搜索,那么所述搜索到的仅仅是一些火锅店,并且可能是任一地点的。但是如果在搜索中不仅以火锅作为参数,还加入位置(例如,用户当前所处的位置),那么就可以更加符合用户的需求。It is understandable that in order to be able to recommend the required information for the user more accurately, more parameters need to be obtained as search conditions. For example, if the user wants to eat hot pot, if only the hot pot is used as a parameter to search, then only some hot pot restaurants are found in the search, and it may be any location. However, if you not only use hot pot as a parameter in the search, but also add a location (for example, the user's current location), then it can be more in line with the user's needs.
那么为了便于实现更加准确的进行推荐,可以预先配置进行餐厅搜索的搜索需求,并在搜索需求中定义好所需的槽位。其中,每个槽位对应的内容就是前面实例中进行搜索的参数。例如,对于餐厅搜索所需要的槽位可以包括餐厅类型、餐厅评价度以及餐厅位置等。In order to facilitate more accurate recommendation, you can pre-configure the search requirements for restaurant search, and define the required slots in the search requirements. Among them, the content corresponding to each slot is the search parameter in the previous example. For example, the slots required for restaurant search may include restaurant type, restaurant rating, and restaurant location.
而语音助手可以通过多种方式来获取到目标搜索需求。作为一种方式,目标搜索需求可以预先存储在本地(例如,预先存储于语音助手的安装文件中),那么当语音助手在执行步骤步骤S120之前识别到用户需要获取一个指定的餐厅时,从本地获取目标搜索需求,以便在执行步骤S120时,可以基于获取的目标搜索需求对应的多个槽位对所述语音信息进行识别。The voice assistant can obtain the target search requirements in a variety of ways. As a way, the target search requirement can be pre-stored locally (for example, pre-stored in the installation file of the voice assistant), then when the voice assistant recognizes that the user needs to obtain a designated restaurant before performing step S120, The target search requirement is acquired, so that when step S120 is performed, the voice information can be recognized based on the multiple slots corresponding to the acquired target search requirement.
再者,随着用户需求的变换,用户对搜索反馈内容也会有所变化,那么为了更好的动态更新目标搜索需求中的槽位,作为一种方式,语音助手也可以从网络中获取更新后的目标搜索需求,然后利用获取到的更新后的目标搜索需求替换本地的目标搜索需求,从而便于语音助手可以动态的根据最新的槽位进行语音识别,以提升用户搜索反馈的准确度。Furthermore, as user needs change, the user's search feedback content will also change, so in order to better dynamically update the slots in the target search requirements, as a way, the voice assistant can also get updates from the network Then use the obtained updated target search requirements to replace the local target search requirements, so that the voice assistant can dynamically perform voice recognition based on the latest slots to improve the accuracy of user search feedback.
例如,在更新之前的槽位包括餐厅类型、餐厅评价度以及餐厅位置等。那么当用户说出“我要去重庆吃评价高的火锅”后,语音助手通过槽位进行语音识别后,可以识别到餐厅类型这个槽位对应的目标参数为“火锅”,餐厅评价度这个槽位对应的目标参数为“评价高”,而餐厅位置这个槽位对应的目标参数为“重庆”。但是,随着火锅的种类的细分,对应的火锅餐厅也可能会出现更多的细分,例如,火锅会分清油火锅或者牛油火锅,那么对应的火锅餐厅也会分为为牛油火锅店或者清油火锅店。那么在这种情况下,如果直接搜索火锅,那么有更为细分需求的用户可能还需要再通过手动筛选才能搜索到自己所需的火锅餐厅。For example, the slots before the update include restaurant type, restaurant rating, and restaurant location. Then when the user says "I'm going to Chongqing to eat a hot pot with high ratings", the voice assistant can recognize that the target parameter corresponding to the slot of restaurant type is "hot pot" after voice recognition through the slot, and the slot of restaurant rating is this slot. The target parameter corresponding to the position is "high evaluation", and the target parameter corresponding to the slot of restaurant location is "Chongqing". However, as the types of hot pots are subdivided, the corresponding hot pot restaurants may also have more subdivisions. For example, hot pots will distinguish oil hot pots or butter hot pots, and the corresponding hot pot restaurants will also be classified as butter hot pots. Shop or Qingyou hot pot restaurant. So in this case, if you search for hot pot directly, users with more segmented needs may need to manually filter to search for the hot pot restaurant they need.
那么在这种情况下,语音助手可以检测到用户有更细分的搜索需求的情况下,将该信息发送给信息提供平台,信息提供平台在接收到该细分搜索需求后,可以自动对搜索需求对应的槽位进行更新,以便可以更加精准的对用户的需求进行搜索。例如,可以对餐厅类型这个槽位生成一个更加细分的槽位。那么在这种方式下,信息提供平台可以直接将更新后的目标搜索需求传给语音助手进行存储。Then in this case, the voice assistant can detect that the user has a more segmented search request, and send the information to the information providing platform. After receiving the segmented search request, the information providing platform can automatically search The slot corresponding to the demand is updated so that the user's demand can be searched more accurately. For example, you can generate a more subdivided slot for the restaurant type slot. In this way, the information providing platform can directly transmit the updated target search requirements to the voice assistant for storage.
需要说明的是,信息提供平台在对槽位进行更新的同时,也可以对存储信息的数据表的结构进行调整,以便可以更好的匹配搜索需求。例如,如下表所示:It should be noted that while the information providing platform is updating the slots, it can also adjust the structure of the data table storing the information, so as to better match the search requirements. For example, as shown in the following table:
IDID 餐厅类型Restaurant type 餐厅评价度Restaurant rating 餐厅位置Restaurant location 餐厅名称Restaurant name
11 火锅Hot Pot SS 重庆Chongqing 老火锅Old hot pot
22 西餐Western food SS 成都Chengdu 真西餐Real Western Food
33 面食pasta SS 西安Xi'an 手工面Handmade noodles
在上表所示的数据表中的字段包括主键(ID)、餐厅名称、餐厅类型、餐厅评价度以及餐厅位置。那么在这种情况下,每个槽位都会在数据表中对应有字段值,以便可以精准的进行数据搜索。那么在基于前述的内容进行槽位的更新后,信息提供平台可以自动的对上述数据表进行更改,以便匹配新的槽位。如下表所示:The fields in the data table shown in the above table include primary key (ID), restaurant name, restaurant type, restaurant rating, and restaurant location. Then in this case, each slot will have a corresponding field value in the data table, so that the data can be searched accurately. Then, after the slot is updated based on the aforementioned content, the information providing platform can automatically modify the above-mentioned data table to match the new slot. As shown in the following table:
IDID 餐厅类型Restaurant type 细分类型Subdivision type 餐厅评价度Restaurant rating 餐厅位置Restaurant location 餐厅名称Restaurant name
11 火锅Hot Pot 牛油butter SS 重庆Chongqing 老火锅Old hot pot
22 西餐Western food 法国西餐French Western Food SS 成都Chengdu 真西餐Real Western Food
33 面食pasta 西北面食Northwest Pasta SS 西安Xi'an 手工面Handmade noodles
如上表所示,除了之前的餐厅类型外,信息提供平台增加了细分类型这个字段,以便与增加的槽位进行匹配。当然,除了可以对餐厅类型进行更加细分以便增加槽位外,对于其他的槽位也可以增加更加细分的槽位。例如,对于餐厅位置,原来只标记有城市名称。那么语音助手识别到用户会经常搜索具体到什么区或者什么路的餐厅后,可以增加对于餐厅位置的更加细分字段,以便与餐厅位置这个槽位多对应的更细细分的位置槽位进行匹配。As shown in the above table, in addition to the previous restaurant types, the information providing platform has added the subdivision type field to match the increased slots. Of course, in addition to subdividing the restaurant type to increase slots, more subdivided slots can also be added for other slots. For example, for the restaurant location, only the city name was originally marked. Then after the voice assistant recognizes that the user will often search for restaurants in specific areas or roads, it can add a more detailed field for the location of the restaurant, so that the location of the restaurant corresponds to the slot of the restaurant. match.
步骤S130:若从所述语音信息中未成功识别到所述多个槽位中的目标槽位对应的目标参数时,结束流程。Step S130: If the target parameter corresponding to the target slot of the multiple slots is not successfully identified from the voice information, the process ends.
步骤S131:若从所述语音信息中成功识别到所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数。Step S131: If the target parameter corresponding to the target slot of the multiple slots is successfully identified from the voice information, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated, so The target parameter corresponding to the target slot is a parameter about the restaurant.
作为一种方式,语音助手可以将多个槽位均作为目标槽位,也可以仅将部分槽位或者某一个槽位作为目标槽位。As a way, the voice assistant can use multiple slots as the target slot, or only some slots or a certain slot as the target slot.
其中,对于关于餐厅的参数的配置方式有多种。作为一种方式,可以在语音助手安装时就默认配置几种经过统计后得到的常见的关于餐厅的参数。例如,前述的“火锅”、“牛排”或者“西餐”等。再者,作为另外一种方式,还可以由用户根据自己的需求进行配置。随着用户需求的变化,更多的用户期望采用更具有个性化的方式进行电子设备的控制。例如,有的用户喜欢说“火锅锅”或者喜欢说“面面”等,那么为了使得语音助手可以适应不同语言表达习惯的用户,可以配置由用户来进行关于餐厅的参数的配置。Among them, there are many ways to configure the parameters of the restaurant. As a way, several common restaurant-related parameters obtained after statistics can be configured by default when the voice assistant is installed. For example, the aforementioned "hot pot", "steak" or "western food" and so on. Furthermore, as another way, it can also be configured by users according to their own needs. As user needs change, more users expect to adopt a more personalized way to control electronic devices. For example, some users like to say "hot pot" or "noodles", etc. Then, in order to make the voice assistant adapt to users with different language expression habits, the user can be configured to configure the parameters of the restaurant.
例如,如图3所示,在图3所示的参数设置界面98中包括有关于餐厅的参数添加控件97以及已添加关于餐厅的参数的展示控件96。进而在用户点击关于餐厅的参数添加控件97后可以添加新的关于餐厅的参数。并且在添加过程中除了可以以文本形式添加后,还可以同时以声音信号的方式添加。例如,当用户点击关于餐厅的参数添加控件97触发用户录入声音形式的关于餐厅的参数,例如在用户输入的为“火锅锅”后,除了会在图4所示的关于餐厅的参数的展示控件96展示文本形式的“火锅锅”后,还会同时存储“火锅锅”对应的声音信号。那么在这种方式下,语音助手在接收到语音信息后,为了提升最终的反馈效果,可以先直接比对所接收到的声音信号和预先存储的声音信号,可以理解的是,在比对声音信号的过程中可以采用前述的比较信号相似的方式,来确定所接收到的声音信号和预先存储的声音信号是否有相似匹配的,若有,则可以直接获取目标商品信息,而不用再进行后续的语言到文本的转换识别,从而提升信息反馈的效率。For example, as shown in FIG. 3, the parameter setting interface 98 shown in FIG. 3 includes a parameter addition control 97 related to the restaurant and a display control 96 to which parameters related to the restaurant have been added. Furthermore, after the user clicks on the parameter adding control 97 about the restaurant, a new parameter about the restaurant can be added. In addition to adding text in the form of adding, it can also be added in the form of sound signals at the same time. For example, when the user clicks on the parameter addition control 97 about the restaurant, the user will be triggered to enter the parameter about the restaurant in the form of voice. For example, after the user input is "hot pot", in addition to the display control for the parameter about the restaurant shown in Figure 4 After 96 displays "hot pot pot" in text form, the sound signal corresponding to "hot pot pot" will be stored at the same time. Then in this way, after the voice assistant receives the voice information, in order to improve the final feedback effect, it can directly compare the received voice signal with the pre-stored voice signal. It is understandable that the voice In the signal process, the aforementioned method of comparing the signal similarity can be used to determine whether the received sound signal is similar to the pre-stored sound signal. If so, the target product information can be directly obtained without further follow-up Language to text conversion recognition, thereby improving the efficiency of information feedback.
当然,对于其中的用户自己添加的关于餐厅的参数,为了便于提升识别准确性,可以在本地配置一个对应的常用称呼。例如,对于“火锅锅”可以配置对应火锅。Of course, for the restaurant-related parameters added by the user, in order to facilitate the improvement of recognition accuracy, a corresponding common name can be configured locally. For example, “hot pot” can be configured to correspond to hot pot.
步骤S140:向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息。Step S140: Send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
步骤S150:显示卡片,并在所述卡片中显示所述餐厅信息。Step S150: Display a card, and display the restaurant information in the card.
如图5所示,当搜索到餐厅信息后,可以将餐厅信息显示在界面99中的卡片92中。其中餐厅信息可以包括餐厅名称、餐厅图标、餐厅评分以及餐厅位置等。As shown in FIG. 5, when the restaurant information is searched, the restaurant information can be displayed in the card 92 in the interface 99. The restaurant information may include restaurant name, restaurant icon, restaurant rating, restaurant location, etc.
可选的,当语音助手显示卡片并显示餐厅信息后,可以响应用户的触控操作展示更多的信息,例如展示从所述餐厅信息中选中的目标餐厅的详细介绍,并且还可以根据用户的操作进行餐厅餐位的预订。Optionally, after the voice assistant displays the card and displays restaurant information, it can display more information in response to the user's touch operation, for example, display the detailed introduction of the target restaurant selected from the restaurant information, and can also display information according to the user’s Operate to make restaurant reservations.
本申请提供的一种信息推荐方法,若从所述语音信息中成功识别到与所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述收缩指令返回的餐厅信息;显示卡片,并在所述卡片中显示所述目餐厅信息。从而通过该方式实现了通过配置搜索需求来需要的槽位,然后基于该设置的槽位来生成后续的搜索指令,进而提升了对于用于关于餐厅搜索反馈的准确度。In the information recommendation method provided by the present application, if the target parameter corresponding to the target slot of the plurality of slots is successfully recognized from the voice information, it is generated carrying the corresponding corresponding to each of the plurality of slots. The search instruction for the target parameter of the target restaurant, the search instruction is sent to the target restaurant information providing platform, and the restaurant information returned by the target restaurant information providing platform in response to the contraction instruction is received; a card is displayed, and the card is displayed Item restaurant information. In this way, the slot required by configuring the search requirement is realized, and then the subsequent search instruction is generated based on the set slot, thereby improving the accuracy of the feedback for the restaurant search.
请参阅图6,本申请实施例提供的一种信息推荐方法,应用于语音助手,所述方法包括:Please refer to FIG. 6, an information recommendation method provided by an embodiment of the present application is applied to a voice assistant, and the method includes:
步骤S210:获取语音信息。Step S210: Acquire voice information.
步骤S220:基于接收到的语音,判断否处于关于餐厅的封闭域语音对话场景。Step S220: Based on the received voice, it is determined whether it is in a closed-domain voice dialogue scene about the restaurant.
需要说明的是,可以预先配置有开放域语音对话场景以及封闭域语音对话场景。It should be noted that an open domain voice dialogue scenario and a closed domain voice dialogue scenario may be pre-configured.
其中,当处于开放域对话场景中,所述语音助手在识别到有多个反馈内容可用于响应接收到的语音信息时,随机选择一个反馈内容进行反馈。可以理解的是,当处于开放域对话场景时,语音助手还未确定用户具体要进行何种信息的搜索,所以可以以随机的信息进行反馈。例如,当语音助手识别到用户说出了“今天天气真不错”,那么语音助手可以反馈“是啊”、“要不出去走走”等信息,甚至还可以再反馈当前的天气等。Wherein, when in an open domain dialogue scenario, the voice assistant randomly selects one feedback content for feedback when recognizing that there are multiple feedback content available for responding to the received voice information. It is understandable that when in an open-domain dialogue scenario, the voice assistant has not yet determined what kind of information the user is searching for, so random information can be used for feedback. For example, when the voice assistant recognizes that the user has said "Today's weather is really good", the voice assistant can feed back information such as "Yes", "Why don't you go out for a walk", and even feedback the current weather.
当处于关于餐厅的封闭域语音对话场景后,在完成对所述语音信息识别后,若识别到有所述槽位缺乏目标参数,所述语音助手会发出提示信息,以提示用户录入缺乏目标参数的槽位所需的目标参数。可以理解的是,当处于某个方向相关的封闭域语音对话场景后,语音助手已经确定了用户实际所需要的信息,那么会尽可能的获取到更多的参数以便可以更精确的进行搜索。其中,语音助手会通过主动发送语音或者文本的提示信息,以提示用户输入更多的参数。When in a closed-domain voice dialogue scene about a restaurant, after completing the recognition of the voice information, if it is recognized that the slot lacks target parameters, the voice assistant will issue a prompt message to prompt the user to enter the lack of target parameters The target parameter required by the slot. It is understandable that when in a closed-domain voice dialogue scene related to a certain direction, the voice assistant has determined the information actually needed by the user, and will obtain as many parameters as possible so that the search can be performed more accurately. Among them, the voice assistant will actively send voice or text prompt information to prompt the user to input more parameters.
其中,作为一种方式,语音助手可以根据识别出的指定的词语来确定是否要进入哪一个封闭域语音对话场景。其中,该指定的词语可以通过建立字典或者词语库的方式来存储。例如,对于关于餐厅的封闭域语音对话场景所对应的指定的词语可以包括:我要吃饭、我饿了等表示要吃东西的内容,也可以为火锅、小面或者牛排等具体的美食。再者,对于关于出行的封闭域语音对话场景对应的指定的词语可以包括:我要去深圳湾、我想去看球赛等表示出行意图的内容。Among them, as a way, the voice assistant can determine whether to enter which closed domain voice dialogue scene according to the recognized specified words. Among them, the specified words can be stored by building a dictionary or word database. For example, the designated words corresponding to the closed-domain voice dialogue scene about the restaurant may include: I want to eat, I am hungry, etc., which indicate that I want to eat, or may be specific food such as hot pot, small noodles, or steak. Furthermore, the designated words corresponding to the closed-domain voice dialogue scene about travel may include: I want to go to Shenzhen Bay, I want to go to a football game, etc. to indicate travel intention.
步骤S230:若否,判定处于开放域语音对话场景中,在识别到有多个反馈内容可用于响应接收到的语音信息时,随机选择一个反馈内容进行反馈。Step S230: If not, it is determined that it is in an open-domain voice dialogue scenario, and when it is recognized that multiple feedback content can be used to respond to the received voice information, one feedback content is randomly selected for feedback.
其中,作为一种方式,若不是封闭域语音对话场景,当接收到语音信息后,将所述语音信息进行分词以后得到多个词语,显示卡片,并在所述卡片中展示基于所述多个词语进行搜索后的内容。Among them, as a way, if it is not a closed-domain voice dialogue scenario, when the voice information is received, the voice information is segmented to obtain multiple words, a card is displayed, and the card is displayed based on the multiple The content of the search term.
步骤S240:若是,基于目标搜索需求对应的多个槽位对所述语音信息进行识别。Step S240: If yes, recognize the voice information based on multiple slots corresponding to the target search requirement.
步骤S250:若从所述语音信息中成功识别到所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数。Step S250: If the target parameter corresponding to the target slot of the plurality of slots is successfully recognized from the voice information, a search instruction carrying the target parameter corresponding to each of the plurality of slots is generated, so The target parameter corresponding to the target slot is a parameter about the restaurant.
步骤S260:向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息。Step S260: Send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
而在本申请实施例中语音助手有多种方式来获取到餐厅信息。作为一种方式,目标餐厅信息提供平台为用于提供餐厅信息的客户端,在这种方式下语音助手可以基于与用于提供餐厅信息的客户端之间的数据接口来获取餐厅信息。在这种方式下,语音助手会向所述用 于提供餐厅信息的客户端发送基于前述方式生成的搜索指令,所述搜索指令用于触发所述用于提供餐厅信息的客户端按照指定规则获取餐厅信息;接收所述用于提供餐厅信息的客户端返回餐厅信息。如图7所示,在这种方式下,语音助手会先进行通信通道95将搜索指令发送到用于提供餐厅信息的客户端,用于提供餐厅信息的客户端可以先查询本地是否有缓存的目标餐厅信息,如果有就直接返回给语音助手,若检测到没有缓存的目标餐厅信息,就基于通信通道94向服务端发送获取目标餐厅信息的请求,进而再依次通过通信通道94以及通信通道95返回给语音助手。In the embodiment of the present application, the voice assistant has multiple ways to obtain restaurant information. As a way, the target restaurant information providing platform is a client for providing restaurant information. In this way, the voice assistant can obtain restaurant information based on a data interface with the client for providing restaurant information. In this way, the voice assistant will send a search instruction generated based on the foregoing method to the client for providing restaurant information, and the search instruction is used to trigger the client for providing restaurant information to obtain according to specified rules Restaurant information; receiving the restaurant information returned by the client for providing restaurant information. As shown in Figure 7, in this way, the voice assistant will first perform the communication channel 95 and send the search command to the client for providing restaurant information. The client for providing restaurant information can first query whether there is a cache locally. The target restaurant information, if it is available, is directly returned to the voice assistant. If no cached target restaurant information is detected, a request for obtaining target restaurant information is sent to the server based on the communication channel 94, and then through the communication channel 94 and the communication channel 95 in turn Return to the voice assistant.
可以理解的是,这里的用于提供餐厅信息的客户端为可以用于独立完成购物订单生成以及下单的客户端,类似于大众点评客户端或者美团户端。作为另外一种方式,向用于提供餐厅信息的客户端所对应的服务端发送搜索指令,所述搜索指令用于触发所述服务端按照指定规则获取目标餐厅信息;接收所述服务端返回的目标餐厅信息。例如,请再次参阅图7,在这种方式下,语音助手就会通过通信通道93直接向服务端发送搜索指令,进而依然是通过通信通道93将餐厅信息返回给语音助手。而在再一种方式中,语音助手可以将搜索指令通过用于提供餐厅信息的客户端转发给服务器,而服务器则是通过直接将餐厅信息返回给语音助手,而不用再通过用于提供餐厅信息的客户端进行转换,进而提升信息传输速率。可以理解的是,对于语音助手所在的电子设备以外的设备是通过应用程序所占用的端口号来区分应用程序的。例如,浏览器客户端占用80端口,语音助手占用8080端口,那么若返回的信息指向的为8080端口,那么电子设备就会知道这个信息是返回给语音助手的。在这种方式中,语音助手在生成搜索指令中添加语音助手所占用的端口号,进而当服务端在生成返回的信息时,就将返回信息中添加语音助手的端口号,以便该信息可以被直接发送给语音助手。It is understandable that the client used to provide restaurant information here is a client that can be used to independently complete shopping order generation and order placement, similar to the Dianping client or Meituan client. As another way, a search instruction is sent to the server corresponding to the client for providing restaurant information, and the search instruction is used to trigger the server to obtain the target restaurant information according to a specified rule; and receive the information returned by the server Target restaurant information. For example, please refer to FIG. 7 again. In this manner, the voice assistant will directly send a search command to the server through the communication channel 93, and then the restaurant information will still be returned to the voice assistant through the communication channel 93. In yet another way, the voice assistant can forward the search instruction to the server through the client for providing restaurant information, and the server directly returns the restaurant information to the voice assistant instead of providing restaurant information. Of the client to convert, thereby increasing the information transmission rate. It is understandable that, for devices other than the electronic device where the voice assistant is located, the application program is distinguished by the port number occupied by the application program. For example, the browser client occupies port 80 and the voice assistant occupies port 8080. If the returned information points to port 8080, the electronic device will know that this information is returned to the voice assistant. In this way, the voice assistant adds the port number occupied by the voice assistant to the generated search command, and then when the server generates the returned information, the voice assistant’s port number is added to the returned information so that the information can be Send directly to the voice assistant.
步骤S270:显示卡片,并在所述卡片中显示所述餐厅信息。Step S270: Display a card, and display the restaurant information in the card.
本申请提供的一种信息推荐方法,通过该方式实现了通过配置搜索需求来需要的槽位,然后基于该设置的槽位来生成后续的搜索指令,进而提升了对于用于关于餐厅搜索反馈的准确度。并且在本实施例中配置有封闭域对话场景以及开放域对话场景,进而使得语音助手在识别到进入到封闭域对话场景后,才会开始基于目标搜索需求对应的多个槽位对所述语音信息进行识别,进而提升识别的准确度,并同时降低功耗。The information recommendation method provided by the present application realizes the slot required by configuring the search requirement, and then generates the subsequent search instruction based on the set slot, thereby improving the feedback for restaurant search Accuracy. In addition, in this embodiment, a closed-domain dialogue scenario and an open-domain dialogue scenario are configured, so that the voice assistant will only start to perform the voice analysis based on the multiple slots corresponding to the target search requirement after recognizing that it has entered the closed-domain dialogue scenario. Information is recognized, thereby improving the accuracy of recognition and reducing power consumption at the same time.
请参阅图8,本申请实施例提供的一种信息推荐方法,应用于语音助手,所述方法包括:Referring to FIG. 8, an information recommendation method provided by an embodiment of the present application is applied to a voice assistant, and the method includes:
步骤S310:获取语音信息。Step S310: Acquire voice information.
步骤S320:基于目标搜索需求对应的多个槽位对所述语音信息进行识别。Step S320: Recognizing the voice information based on multiple slots corresponding to the target search requirement.
步骤S330:若从所述语音信息中未成功识别到所述多个槽位中的目标槽位对应的目标参数时,结束流程。Step S330: If the target parameter corresponding to the target slot of the multiple slots is not successfully recognized from the voice information, the process ends.
步骤S331:若从所述语音信息中成功识别到所述多个槽位中的目标槽位对应的目标参数时,获取从所述语音信息识别出的所述多个槽位各自所对应的参数的数量。Step S331: If the target parameter corresponding to the target slot of the multiple slots is successfully identified from the voice information, obtain the parameters corresponding to each of the multiple slots identified from the voice information quantity.
步骤S332:对所述数量进行识别。Step S332: Identify the quantity.
步骤S340:若所述多个槽位对应的参数的数量均为一个,将识别出的所述多个槽位各自对应的参数作为各个槽位的目标参数。Step S340: If the number of parameters corresponding to the multiple slots is one, the identified parameters corresponding to the multiple slots are used as the target parameters of each slot.
步骤S350:若所述多个槽位中存在有槽位对应的参数的数量为多个,将所述对应的参数的数量为多个槽位作为待处理槽位。Step S350: If there are multiple slots in the multiple slots, the number of corresponding parameters is multiple slots as the slot to be processed.
步骤S360:基于目标规则从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。Step S360: Determine one parameter from the multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the target rule.
在本实施例中,语音助手可以有多种方式来从多个参数中确定目标参数。In this embodiment, the voice assistant may have multiple ways to determine the target parameter from multiple parameters.
作为一种方式,语音助手可以识别所述待处理槽位对应的多个参数在所述语音信息中的位置;将处于所述语音信息中的指定属性词语之后的参数作为目标参数。可选的,对于其中的指定属性词语可以通过建立词典或者词语库的方式来存储。而其中的指定属性的词语可以为表示动作的词语。例如,吃、到、去或者玩等。例如,若语音助手识别 到的语音信息为“我现在在成都,我要去重庆吃火锅”,那么在餐厅位置这个槽位对应的参数包括成都和重庆,进一步的是被到重庆为在指定属性词语“去”之后,那么就将重庆确定为餐厅位置这个槽位对应的目标参数。As a way, the voice assistant can identify the positions in the voice information of multiple parameters corresponding to the slots to be processed; and use the parameters after the specified attribute words in the voice information as the target parameters. Optionally, the specified attribute words can be stored by establishing a dictionary or word database. The words that specify attributes can be words that represent actions. For example, eat, come, go, or play. For example, if the voice message recognized by the voice assistant is "I am in Chengdu, I am going to Chongqing to eat hot pot", then the parameters corresponding to this slot at the restaurant location include Chengdu and Chongqing, and furthermore, it is assigned to Chongqing as a designated attribute After the word "go", Chongqing is determined as the target parameter corresponding to the slot of the restaurant location.
作为另外一种方式,语音助手可以基于用户的位置信息、历史画像信息以及用户的选择中的至少一个条件从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。As another way, the voice assistant may determine a parameter from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on at least one of the user's location information, historical portrait information, and user selection.
步骤S370:生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数。Step S370: Generate a search instruction carrying the target parameter corresponding to each of the multiple slots, and the target parameter corresponding to the target slot is a parameter about a restaurant.
步骤S380:向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息。Step S380: Send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
步骤S390:显示卡片,并在所述卡片中显示所述餐厅信息。Step S390: Display a card, and display the restaurant information in the card.
本申请提供的一种信息推荐方法,通过该方式实现了通过配置搜索需求来需要的槽位,然后基于该设置的槽位来生成后续的搜索指令,进而提升了对于用于关于餐厅搜索反馈的准确度。并且在识别到有槽位对应的参数有多个的情况下可以根据目标规则选出一个参数作为该槽位的目标参数,从而进一步的在比较复杂的语言环境下,依然可以较为准确的识别出用户的真实意图。The information recommendation method provided by the present application realizes the slot required by configuring the search requirement, and then generates the subsequent search instruction based on the set slot, thereby improving the feedback for restaurant search Accuracy. And in the case of identifying that there are multiple parameters corresponding to a slot, one parameter can be selected as the target parameter of the slot according to the target rule, so that it can still be more accurately identified in a more complex language environment The real intention of the user.
请参阅图9,本申请实施例提供的一种信息推荐方法,应用于语音助手,所述方法包括:Please refer to FIG. 9, an information recommendation method provided by an embodiment of the present application is applied to a voice assistant, and the method includes:
步骤S410:获取语音信息。Step S410: Acquire voice information.
步骤S420:当接收到语音信息后,识别所述接收到语音信息的长度;Step S420: After receiving the voice information, identify the length of the received voice information;
步骤S421:若所述长度小于指定长度,直接基于接收到的语音信息进行搜索,显示搜索到的内容。Step S421: If the length is less than the specified length, search directly based on the received voice information, and display the searched content.
步骤S430:若所述长度不小于指定长度,基于目标搜索需求对应的多个槽位对所述语音信息进行识别。Step S430: If the length is not less than the specified length, recognize the voice information based on multiple slots corresponding to the target search requirement.
步骤S440:若从所述语音信息中成功识别到所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数。Step S440: If the target parameter corresponding to the target slot of the multiple slots is successfully recognized from the voice information, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated, so The target parameter corresponding to the target slot is a parameter about the restaurant.
步骤S450:向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息。Step S450: Send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
步骤S460:显示卡片,并在所述卡片中显示所述餐厅信息。Step S460: Display a card, and display the restaurant information in the card.
本申请提供的一种信息推荐方法,通过该方式实现了在识别到语音信息的长度不小于指定长度后,通过配置搜索需求来需要的槽位,然后基于该设置的槽位来生成后续的搜索指令,进而提升了对于用于关于餐厅搜索反馈的准确度。This application provides an information recommendation method, which realizes that after recognizing that the length of the voice message is not less than the specified length, the slot required by the search requirement is configured, and then the subsequent search is generated based on the set slot Instructions, which in turn improves the accuracy of feedback for restaurant searches.
请参阅图10,本申请实施例提供的一种信息推荐装置500,所述装置500包括:Please refer to FIG. 10, an information recommendation apparatus 500 provided by an embodiment of the present application, the apparatus 500 includes:
语音信息接收单元510,用于获取语音信息。The voice information receiving unit 510 is used to obtain voice information.
语音识别单元520,用于基于目标搜索需求对应的多个槽位对所述语音信息进行识别。The voice recognition unit 520 is configured to recognize the voice information based on multiple slots corresponding to the target search requirement.
作为一种方式,语音识别单元520,具体用于当接收到语音信息后,从本地获取目标搜索需求;基于获取的目标搜索需求对应的多个槽位对所述语音信息进行识别。在这种方式下,如图11所示,所述装置还包括需求获取单元521,用于从网络中获取目标搜索请求,并接收从网络获取的更新后的目标搜索需求;使所述更新后的目标搜索需求覆盖本地的目标搜索需求。As a way, the voice recognition unit 520 is specifically configured to obtain the target search requirement locally after receiving the voice information; and recognize the voice information based on multiple slots corresponding to the obtained target search requirement. In this manner, as shown in FIG. 11, the device further includes a requirement obtaining unit 521, configured to obtain a target search request from the network, and receive an updated target search requirement obtained from the network; The target search demand of covers the local target search demand.
作为一种方式,语音识别单元520,具体用于识别所述接收到语音信息的长度;若所述长度不小于指定长度,基于目标搜索需求对应的多个槽位对所述语音信息进行识别。若所述长度小于指定长度,对所述接收到语音信息进行语义识别。在这方式下,显示卡片,并在所述卡片中显示与识别出的语义对应的内容。As a way, the voice recognition unit 520 is specifically configured to recognize the length of the received voice information; if the length is not less than a specified length, recognize the voice information based on multiple slots corresponding to the target search requirement. If the length is less than the specified length, perform semantic recognition on the received voice information. In this way, the card is displayed, and the content corresponding to the recognized semantics is displayed in the card.
指令生成单元530,用于若从所述语音信息中成功识别到所述多个槽位中的目标槽位对 应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数。The instruction generation unit 530 is configured to, if the target parameter corresponding to the target slot of the plurality of slots is successfully recognized from the voice information, generate a target parameter that carries the target parameter corresponding to each of the plurality of slots. In the search instruction, the target parameter corresponding to the target slot is a parameter about the restaurant.
餐厅信息获取单元540,用于向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息。The restaurant information acquiring unit 540 is configured to send the search instruction to the target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction.
信息显示单元550,用于显示卡片,并在所述卡片中显示所述餐厅信息。The information display unit 550 is configured to display a card, and display the restaurant information in the card.
作为一种方式,如图12所示,所述装置500,还包括:As a way, as shown in FIG. 12, the apparatus 500 further includes:
场景处理单元560,用于基于接收到的语音,判断否处于关于餐厅的封闭域语音对话场景。在这种方式下,The scene processing unit 560 is configured to determine whether it is in a closed-domain voice dialogue scene about the restaurant based on the received voice. In this way,
若是,语音识别单元520执行所述基于目标搜索需求对应的多个槽位对所述语音信息进行识别;其中,当处于关于餐厅的封闭域语音对话场景后,在完成对所述语音信息识别后,若识别到有所述槽位缺乏目标参数,所述语音助手会发出提示信息,以提示用户录入缺乏目标参数的槽位所需的目标参数。If yes, the voice recognition unit 520 executes the multiple slots corresponding to the target search requirements to recognize the voice information; wherein, when in a closed-domain voice dialogue scene about the restaurant, after completing the voice information recognition If it is recognized that the slot lacks a target parameter, the voice assistant will issue a prompt message to prompt the user to enter the target parameter required by the slot lacking the target parameter.
若不是,语音识别单元520,当接收到语音信息后,将所述语音信息进行分词以后得到多个词语。信息显示单元550,用于显示卡片,并在所述卡片中展示基于所述多个词语进行搜索后的内容。If not, the voice recognition unit 520, after receiving the voice information, performs word segmentation on the voice information to obtain multiple words. The information display unit 550 is configured to display a card, and display the content after searching based on the multiple words in the card.
场景处理单元560,还用于在开放域语音对话场景中,当识别到接收到的语音中有关于用餐的指定词语后,判定处于关于餐厅的封闭域语音对话场景;其中,当处于开放域对话场景中,所述语音助手在识别到有多个反馈内容可用于响应接收到的语音信息时,随机选择一个反馈内容进行反馈。The scene processing unit 560 is also used for determining that it is in a closed-domain voice conversation scene about a restaurant in an open-domain voice dialogue scene when it is recognized that there are designated words related to dining in the received voice; In the scenario, the voice assistant randomly selects one feedback content for feedback when recognizing that there are multiple feedback content available for responding to the received voice information.
作为一种方式,指令生成单元530,具体用于获取从所述语音信息识别出的所述多个槽位各自所对应的参数的数量;若所述多个槽位对应的参数的数量均为一个,将识别出的所述多个槽位各自对应的参数作为各个槽位的目标参数;生成携带有所述多个槽位各自所对应的目标参数的搜索指令。As a way, the instruction generating unit 530 is specifically configured to obtain the number of parameters corresponding to each of the multiple slots recognized from the voice information; if the number of parameters corresponding to the multiple slots is all One is to use the identified parameters corresponding to each of the multiple slots as the target parameters of each slot; generate a search instruction that carries the target parameters corresponding to each of the multiple slots.
在这种方式下,指令生成单元530,具体还用于若所述多个槽位中存在有槽位对应的参数的数量为多个,将所述对应的参数的数量为多个槽位作为待处理槽位;基于目标规则从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。In this manner, the instruction generating unit 530 is specifically further configured to, if there are multiple slots corresponding to the number of parameters in the multiple slots, set the number of corresponding parameters to multiple slots as Slot to be processed: Based on the target rule, a parameter is determined from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed.
可选的,指令生成单元530,具体用于识别所述待处理槽位对应的多个参数在所述语音信息中的位置;将处于所述语音信息中的指定属性词语之后的参数作为目标参数。其中,所述指定属性词语为表征用户动作的词语。Optionally, the instruction generating unit 530 is specifically configured to identify the positions in the voice information of multiple parameters corresponding to the slot to be processed; and use the parameters after the specified attribute word in the voice information as the target parameter . Wherein, the designated attribute words are words that characterize user actions.
可选的,指令生成单元530,具体用于基于用户的位置信息、历史画像信息以及用户的选择中的至少两个条件从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。Optionally, the instruction generation unit 530 is specifically configured to determine a parameter from the multiple parameters corresponding to the slot to be processed as the slot to be processed based on at least two conditions of the user's location information, historical portrait information, and user selection The target parameter.
可选的,指令生成单元530,具体用于基于用户的历史画像信息从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。Optionally, the instruction generation unit 530 is specifically configured to determine a parameter from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the historical portrait information of the user.
可选的,指令生成单元530,具体用于基于用户的选择从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。Optionally, the instruction generation unit 530 is specifically configured to determine a parameter from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the user's selection.
需要说明的是,本申请中装置实施例与前述方法实施例是相互对应的,装置实施例中具体的原理可以参见前述方法实施例中的内容,此处不再赘述。It should be noted that the device embodiment in this application and the foregoing method embodiment correspond to each other, and the specific principles in the device embodiment can be referred to the content in the foregoing method embodiment, which is not repeated here.
下面将结合图13对本申请提供的一种电子设备进行说明。Hereinafter, an electronic device provided by the present application will be described with reference to FIG. 13.
请参阅图13,基于上述的信息推荐方法、装置,本申请实施例还提供的另一种可以执行前述信息推荐方法的电子设备200。电子设备200包括相互耦合的一个或多个(图中仅示出一个)处理器102、存储器104以及网络模块106。其中,该存储器104中存储有可以执行前述实施例中内容的程序,而处理器102可以执行该存储器104中存储的程序。其中,处理器102可以包括一个或者多个处理核。处理器102利用各种接口和线路连接整个电子设备200内的各个部分,通过运行或执行存储在存储器104内的指令、程序、代码集或指令集,以及调用存储在存储器104内的数据,执行电子设备200的各种功能和处理数据。可选地,处理 器102可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器102可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器102中,单独通过一块通信芯片进行实现。存储器104可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器104可用于存储指令、程序、代码、代码集或指令集。存储器104可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。所述网络模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯,例如和音频播放设备进行通讯。所述网络模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述网络模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。例如,网络模块106可以与基站进行信息交互。请参考图14,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质1100中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。计算机可读存储介质1100可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1100包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质1100具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1110可以例如以适当形式进行压缩。Referring to FIG. 13, based on the above-mentioned information recommendation method and apparatus, an embodiment of the present application also provides another electronic device 200 that can execute the foregoing information recommendation method. The electronic device 200 includes one or more (only one is shown in the figure) a processor 102, a memory 104, and a network module 106 coupled to each other. Wherein, the memory 104 stores a program that can execute the content in the foregoing embodiment, and the processor 102 can execute the program stored in the memory 104. The processor 102 may include one or more processing cores. The processor 102 uses various interfaces and lines to connect various parts of the entire electronic device 200, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and calling data stored in the memory 104. Various functions and processing data of the electronic device 200. Optionally, the processor 102 may use at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). A kind of hardware form to realize. The processor 102 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 102, but may be implemented by a communication chip alone. The memory 104 may include random access memory (RAM) or read-only memory (Read-Only Memory). The memory 104 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 104 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions for implementing the following method embodiments, etc. The data storage area can also store data (such as phone book, audio and video data, chat record data) created by the terminal 100 during use. The network module 106 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as with audio playback devices. The network module 106 may include various existing circuit elements for performing these functions, for example, an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a subscriber identity module (SIM) card, a memory, etc. . The network module 106 can communicate with various networks such as the Internet, an intranet, and a wireless network, or communicate with other devices through a wireless network. The aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the network module 106 can exchange information with the base station. Please refer to FIG. 14, which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable medium 1100 stores program code, and the program code can be invoked by a processor to execute the method described in the foregoing method embodiment. The computer-readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 1100 has a storage space for executing the program code 810 of any method step in the foregoing method. These program codes can be read out from or written into one or more computer program products. The program code 1110 may be compressed in a suitable form, for example.
本申请提供的一种信息推荐方法、装置、电子设备以及存储介质,在基于目标搜索需求对应的多个槽位对所述语音信息进行识别;若从所述语音信息中成功识别到与所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令;向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述收缩指令返回的餐厅信息;显示卡片,并在所述卡片中显示所述目餐厅信息。从而通过该方式实现了通过配置搜索需求来需要的槽位,然后基于该设置的槽位来生成后续的搜索指令,进而提升了对于用于关于餐厅搜索反馈的准确度。The present application provides an information recommendation method, device, electronic equipment, and storage medium that recognize the voice information in multiple slots corresponding to target search requirements; if the voice information is successfully recognized from the voice information When the target parameter corresponding to the target slot of the multiple slots is generated, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated; the search instruction is sent to the target restaurant information providing platform, and the search instruction is received. The target restaurant information providing platform returns restaurant information in response to the contraction instruction; displaying a card, and displaying the restaurant information in the card. In this way, the slot required by configuring the search requirement is realized, and then the subsequent search instruction is generated based on the set slot, thereby improving the accuracy of the feedback for the restaurant search.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种信息推荐方法,其特征在于,应用于语音助手,所述方法包括:An information recommendation method, characterized in that it is applied to a voice assistant, and the method includes:
    获取语音信息;Get voice information;
    基于目标搜索需求对应的多个槽位对所述语音信息进行识别;Recognizing the voice information based on multiple slots corresponding to the target search requirement;
    若从所述语音信息中成功识别到所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数;If the target parameter corresponding to the target slot of the multiple slots is successfully identified from the voice information, a search instruction carrying the target parameter corresponding to each of the multiple slots is generated, and the target slot The target parameter corresponding to the bit is the parameter about the restaurant;
    向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息;Sending the search instruction to a target restaurant information providing platform, and receiving restaurant information returned by the target restaurant information providing platform in response to the search instruction;
    显示卡片,并在所述卡片中显示所述餐厅信息。A card is displayed, and the restaurant information is displayed in the card.
  2. 根据权利要求1所述的方法,其特征在于,基于目标搜索需求对应的多个槽位对所述语音信息进行识别的步骤之前还包括:The method according to claim 1, wherein before the step of recognizing the voice information based on multiple slots corresponding to the target search requirement, the method further comprises:
    基于接收到的语音,判断否处于关于餐厅的封闭域语音对话场景;Based on the received voice, determine whether it is in a closed-domain voice dialogue scene about the restaurant;
    若是,执行所述基于目标搜索需求对应的多个槽位对所述语音信息进行识别;其中,当处于关于餐厅的封闭域语音对话场景后,在完成对所述语音信息识别后,若识别到有所述槽位缺乏目标参数,所述语音助手会发出提示信息,以提示用户录入缺乏目标参数的槽位所需的目标参数。If yes, execute the multiple slots corresponding to the target search requirement to recognize the voice information; wherein, when in a closed-domain voice dialogue scene about the restaurant, after completing the voice information recognition, if the voice information is recognized If the slot lacks a target parameter, the voice assistant will issue a prompt message to prompt the user to enter the target parameter required by the slot lacking the target parameter.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    若不是,当接收到语音信息后,将所述语音信息进行分词以后得到多个词语,显示卡片,并在所述卡片中展示基于所述多个词语进行搜索后的内容。If not, when the voice information is received, the voice information is segmented to obtain multiple words, a card is displayed, and the content of the search based on the multiple words is displayed in the card.
  4. 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:The method according to claim 2 or 3, wherein the method further comprises:
    在开放域语音对话场景中,当识别到接收到的语音中有关于用餐的指定词语后,判定处于关于餐厅的封闭域语音对话场景;其中,当处于开放域对话场景中,所述语音助手在识别到有多个反馈内容可用于响应接收到的语音信息时,随机选择一个反馈内容进行反馈。In the open-domain voice dialogue scenario, when it is recognized that there are designated words about dining in the received voice, it is determined that it is in the closed-domain voice dialogue scenario about the restaurant; wherein, when in the open-domain dialogue scenario, the voice assistant is When it is recognized that multiple feedback content can be used to respond to the received voice information, one feedback content is randomly selected for feedback.
  5. 根据权利要求1-4任一所述的方法,其特征在于,所述生成携带有所述槽位所对应的目标参数的搜索指令的步骤包括:The method according to any one of claims 1 to 4, wherein the step of generating a search instruction carrying the target parameter corresponding to the slot comprises:
    获取从所述语音信息识别出的所述多个槽位各自所对应的参数的数量;Acquiring the number of parameters corresponding to each of the multiple slots identified from the voice information;
    若所述多个槽位对应的参数的数量均为一个,将识别出的所述多个槽位各自对应的参数作为各个槽位的目标参数;If the number of parameters corresponding to the multiple slots is one, the identified parameters corresponding to the multiple slots are used as the target parameters of each slot;
    生成携带有所述多个槽位各自所对应的目标参数的搜索指令。Generate a search instruction carrying target parameters corresponding to each of the multiple slots.
  6. 根据权利要求5所述的方法,其特征在于,所述生成携带有所述槽位所对应的参数的搜索指令的步骤还包括:The method according to claim 5, wherein the step of generating the search instruction carrying the parameter corresponding to the slot further comprises:
    若所述多个槽位中存在有槽位对应的参数的数量为多个,将所述对应的参数的数量为多个槽位作为待处理槽位;If the number of parameters corresponding to the slots is multiple in the multiple slots, the number of the corresponding parameters is multiple slots as the slot to be processed;
    基于目标规则从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。A parameter is determined from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the target rule.
  7. 根据权利要求6所述的方法,其特征在于,所述基于目标规则从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数的步骤包括:The method according to claim 6, wherein the step of determining a parameter from a plurality of parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the target rule comprises:
    识别所述待处理槽位对应的多个参数在所述语音信息中的位置;Identifying positions in the voice information of multiple parameters corresponding to the slot to be processed;
    将处于所述语音信息中的指定属性词语之后的参数作为目标参数。The parameter after the designated attribute word in the voice information is taken as the target parameter.
  8. 根据权利要求7所述的方法,其特征在于,所述指定属性词语为表征用户动作的词语。The method according to claim 7, wherein the designated attribute words are words that characterize user actions.
  9. 根据权利要求6所述的方法,其特征在于,所述基于目标规则从待处理槽位对应 的多个参数中确定一个参数作为待处理槽位的目标参数的步骤包括:The method according to claim 6, wherein the step of determining a parameter from a plurality of parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the target rule comprises:
    基于用户的位置信息、历史画像信息以及用户的选择中的至少两个条件从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。A parameter is determined from multiple parameters corresponding to the slot to be processed as a target parameter of the slot to be processed based on at least two conditions of the user's location information, historical portrait information and the user's selection.
  10. 根据权利要求6所述的方法,其特征在于,所述基于目标规则从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数的步骤包括:The method according to claim 6, wherein the step of determining a parameter from a plurality of parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the target rule comprises:
    基于用户的位置信息从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。Based on the location information of the user, a parameter is determined from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed.
  11. 根据权利要求6所述的方法,其特征在于,所述基于目标规则从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数的步骤包括:The method according to claim 6, wherein the step of determining a parameter from a plurality of parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the target rule comprises:
    基于用户的历史画像信息从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。Based on the user's historical portrait information, one parameter is determined from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed.
  12. 根据权利要求6所述的方法,其特征在于,所述基于目标规则从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数的步骤包括:The method according to claim 6, wherein the step of determining a parameter from a plurality of parameters corresponding to the slot to be processed as the target parameter of the slot to be processed based on the target rule comprises:
    基于用户的选择从待处理槽位对应的多个参数中确定一个参数作为待处理槽位的目标参数。Based on the user's selection, a parameter is determined from multiple parameters corresponding to the slot to be processed as the target parameter of the slot to be processed.
  13. 根据权利要求1所述的方法,其特征在于,基于目标搜索需求对应的多个槽位对所述语音信息进行识别的步骤包括:The method according to claim 1, wherein the step of recognizing the voice information based on multiple slots corresponding to the target search requirement comprises:
    当接收到语音信息后,从本地获取目标搜索需求;After receiving the voice information, obtain the target search requirements from the local;
    基于获取的目标搜索需求对应的多个槽位对所述语音信息进行识别。The voice information is recognized based on the multiple slots corresponding to the acquired target search requirements.
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, wherein the method further comprises:
    接收从网络获取的更新后的目标搜索需求;Receive updated target search requirements obtained from the Internet;
    使所述更新后的目标搜索需求覆盖本地的目标搜索需求。Make the updated target search demand cover the local target search demand.
  15. 根据权利要求1所述的方法,其特征在于,所述基于目标搜索需求对应的多个槽位对所述语音信息进行识别的步骤包括:The method according to claim 1, wherein the step of recognizing the voice information based on a plurality of slots corresponding to a target search requirement comprises:
    识别所述接收到语音信息的长度;Identifying the length of the received voice information;
    若所述长度不小于指定长度,基于目标搜索需求对应的多个槽位对所述语音信息进行识别。If the length is not less than the specified length, the voice information is recognized based on multiple slots corresponding to the target search requirement.
  16. 根据权利要求15所述的方法,其特征在于,所述基于目标搜索需求对应的多个槽位对所述语音信息进行识别的步骤还包括:The method according to claim 15, wherein the step of recognizing the voice information based on multiple slots corresponding to the target search requirement further comprises:
    若所述长度小于指定长度,对所述接收到语音信息进行语义识别;If the length is less than the specified length, perform semantic recognition on the received voice information;
    显示卡片,并在所述卡片中显示与识别出的语义对应的内容。A card is displayed, and content corresponding to the identified semantics is displayed in the card.
  17. 一种信息推荐装置,其特征在于,所述装置包括:An information recommendation device, characterized in that the device includes:
    语音信息接收单元,用于获取语音信息;The voice information receiving unit is used to obtain voice information;
    语音识别单元,用于基于目标搜索需求对应的多个槽位对所述语音信息进行识别;The voice recognition unit is configured to recognize the voice information based on multiple slots corresponding to the target search requirement;
    指令生成单元,用于若从所述语音信息中成功识别到所述多个槽位中的目标槽位对应的目标参数时,生成携带有所述多个槽位各自所对应的目标参数的搜索指令,所述目标槽位对应的目标参数为关于餐厅的参数;The instruction generating unit is configured to generate a search carrying the target parameter corresponding to each of the multiple slots if the target parameter corresponding to the target slot of the multiple slots is successfully recognized from the voice information Instruction, the target parameter corresponding to the target slot is a parameter about the restaurant;
    餐厅信息获取单元,用于向目标餐厅信息提供平台发送所述搜索指令,并接收所述目标餐厅信息提供平台响应所述搜索指令返回的餐厅信息;A restaurant information acquisition unit, configured to send the search instruction to a target restaurant information providing platform, and receive restaurant information returned by the target restaurant information providing platform in response to the search instruction;
    信息显示单元,用于显示卡片,并在所述卡片中显示所述餐厅信息。The information display unit is used to display a card and display the restaurant information in the card.
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括:The device according to claim 17, wherein the device further comprises:
    场景处理单元,用于基于接收到的语音,判断否处于关于餐厅的封闭域语音对话场景;The scene processing unit is used to determine whether it is in a closed-domain voice dialogue scene about the restaurant based on the received voice;
    若是,语音识别单元执行所述基于目标搜索需求对应的多个槽位对所述语音信息进行识别;其中,当处于关于餐厅的封闭域语音对话场景后,在完成对所述语音信息识别后,若识别到有所述槽位缺乏目标参数,所述语音助手会发出提示信息,以提示用户录 入缺乏目标参数的槽位所需的目标参数。If yes, the voice recognition unit executes the multiple slots corresponding to the target search requirement to recognize the voice information; wherein, when in a closed-domain voice dialogue scene about the restaurant, after completing the voice information recognition, If it is recognized that the slot lacks a target parameter, the voice assistant will issue a prompt message to prompt the user to enter the target parameter required by the slot lacking the target parameter.
  19. 一种电子设备,其特征在于,包括一个或多个处理器以及存储器;An electronic device, characterized in that it includes one or more processors and a memory;
    一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行以实现权利要求1-16任一所述的方法。One or more programs are stored in the memory and configured to be executed by the one or more processors to implement the method of any one of claims 1-16.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码被处理器运行时执行权利要求1-16任一所述的方法。A computer-readable storage medium, wherein a program code is stored in the computer-readable storage medium, wherein the method according to any one of claims 1-16 is executed when the program code is run by a processor.
PCT/CN2019/093050 2019-06-26 2019-06-26 Information recommendation method and apparatus, electronic device and storage medium WO2020258082A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/093050 WO2020258082A1 (en) 2019-06-26 2019-06-26 Information recommendation method and apparatus, electronic device and storage medium
CN201980090701.XA CN113366467A (en) 2019-06-26 2019-06-26 Information recommendation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/093050 WO2020258082A1 (en) 2019-06-26 2019-06-26 Information recommendation method and apparatus, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2020258082A1 true WO2020258082A1 (en) 2020-12-30

Family

ID=74061130

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/093050 WO2020258082A1 (en) 2019-06-26 2019-06-26 Information recommendation method and apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113366467A (en)
WO (1) WO2020258082A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480162A (en) * 2017-06-15 2017-12-15 北京百度网讯科技有限公司 Searching method, device, equipment and computer-readable recording medium based on artificial intelligence

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140089876A (en) * 2013-01-07 2014-07-16 삼성전자주식회사 interactive interface apparatus and method for comtrolling the server
KR20140089862A (en) * 2013-01-07 2014-07-16 삼성전자주식회사 display apparatus and method for controlling the display apparatus
CN106056207B (en) * 2016-05-09 2018-10-23 武汉科技大学 A kind of robot depth interaction and inference method and device based on natural language
CN107886948A (en) * 2017-11-16 2018-04-06 百度在线网络技术(北京)有限公司 Voice interactive method and device, terminal, server and readable storage medium storing program for executing
CN108022586B (en) * 2017-11-30 2019-10-18 百度在线网络技术(北京)有限公司 Method and apparatus for controlling the page
CN108920666B (en) * 2018-07-05 2021-02-26 苏州思必驰信息科技有限公司 Semantic understanding-based searching method, system, electronic device and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480162A (en) * 2017-06-15 2017-12-15 北京百度网讯科技有限公司 Searching method, device, equipment and computer-readable recording medium based on artificial intelligence

Also Published As

Publication number Publication date
CN113366467A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
WO2020232615A1 (en) Information recommendation method and apparatus, and electronic device and storage medium
US9930167B2 (en) Messaging application with in-application search functionality
US9702711B2 (en) Place of interest recommendation
JP7143327B2 (en) Methods, Computer Systems, Computing Systems, and Programs Implemented by Computing Devices
CN108763579B (en) Search content recommendation method and device, terminal device and storage medium
CN103080927B (en) Automatic route using Search Results
CN103226393B (en) A kind of input method and equipment
US7774334B2 (en) Adaptive databases
JP2022505659A (en) Interactive message processing methods, appliances, computer equipment and computer programs
CN113330475B (en) Information recommendation method, device, electronic equipment and storage medium
CN107678823A (en) Control method, device and the storage medium and mobile terminal of mobile terminal application
CN109240991B (en) File recommendation method and device, storage medium and intelligent terminal
CN103744575B (en) A kind of method and apparatus for the input auxiliary area for being used to provide input application
WO2020228030A1 (en) Device recommendation method and apparatus, electronic device, and storage medium
CN109710088B (en) Information searching method and device
US20160165048A1 (en) Methods and systems for automated business dialing
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN105095253A (en) Webpage display method and webpage display device
WO2019223484A1 (en) Information display method and apparatus, and mobile terminal and storage medium
CN112925878B (en) Data processing method and device
CN108897785A (en) Search for content recommendation method, device, terminal device and storage medium
CN112068947A (en) Application program entering method and device, terminal equipment and computer readable medium
WO2020258082A1 (en) Information recommendation method and apparatus, electronic device and storage medium
WO2020232617A1 (en) Voice information processing method and apparatus, and electronic device and storage medium
CN108306812B (en) Data processing method and server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19935693

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19935693

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.05.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19935693

Country of ref document: EP

Kind code of ref document: A1