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

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

Info

Publication number
WO2020232616A1
WO2020232616A1 PCT/CN2019/087666 CN2019087666W WO2020232616A1 WO 2020232616 A1 WO2020232616 A1 WO 2020232616A1 CN 2019087666 W CN2019087666 W CN 2019087666W WO 2020232616 A1 WO2020232616 A1 WO 2020232616A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
takeaway
user
target
merchant
Prior art date
Application number
PCT/CN2019/087666
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 CN201980089699.4A priority Critical patent/CN113330475A/en
Priority to PCT/CN2019/087666 priority patent/WO2020232616A1/en
Publication of WO2020232616A1 publication Critical patent/WO2020232616A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce

Definitions

  • This application relates to the field of Internet of Things, and more specifically, to an information recommendation method, device, electronic equipment, and storage medium.
  • 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 Voice assistants have not yet been involved in the food delivery field.
  • this application proposes an information recommendation method, device, electronic equipment, and storage medium to improve the above problems.
  • the present application provides an information recommendation method, which is applied to a voice assistant, and the method includes: the voice assistant starts to receive voice information after being started; and when the voice information is received, responding to the received voice Information; if it is recognized that the received voice information includes takeaway-related information, obtain the target takeaway merchant information to be recommended, and the target takeaway merchant information matches the user portrait of the user bound to the voice assistant The takeaway merchant information; display a card, and display the target takeaway merchant information in the card.
  • an information recommendation method the device includes: a voice information receiving unit, configured to receive voice information after the voice information processing device is started; a voice recognition unit, configured to respond to the voice information after receiving the voice information The received voice information is recognized; the takeaway information acquisition unit, if it recognizes that the received voice information includes takeaway related information, obtains the target takeaway merchant information to be recommended, and the target takeaway merchant information is related to the The voice assistant binds the information of the takeaway merchant that matches the user portrait of the user; the information display unit is used to display the card, and displays the target takeaway merchant 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 having program code stored in the computer-readable storage medium, wherein the above-mentioned 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.
  • the voice assistant starts to receive voice information
  • the voice information is recognized.
  • the received voice information includes takeaway related information
  • the takeaway merchant information matching the user portrait of the user bound to the voice assistant is obtained as the target takeaway merchant information to be recommended
  • the card is displayed, and the card is displayed
  • the target takeaway merchant information is displayed in.
  • Fig. 1 shows a flowchart of a voice information processing method proposed in 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 takeaway voice setting interface proposed in an embodiment of the present application
  • FIG. 4 shows a schematic diagram of a result of adding a takeaway voice setting interface according to an embodiment of the present application
  • FIG. 5 shows a schematic diagram of a voice assistant communicating with a server of a target takeaway client according to an embodiment of the present application
  • Fig. 6 shows a schematic diagram of a card proposed in an embodiment of the present application
  • FIG. 7 shows a schematic diagram of a multi-card display proposed in an embodiment of the present application.
  • FIG. 8 shows a schematic diagram of a card switching proposed in an embodiment of the present application.
  • FIG. 9 shows a schematic diagram of a card displaying detailed information of a merchant according to an embodiment of the present application.
  • FIG. 10 shows a flowchart of a voice information processing method proposed by another embodiment of the present application.
  • FIG. 11 shows a flowchart of a voice information processing method proposed by still another embodiment of this application.
  • FIG. 12 shows a structural block diagram of a voice information processing device proposed by an embodiment of the present application.
  • FIG. 13 shows a structural block diagram of a voice information processing device proposed by another embodiment of the present application.
  • FIG. 14 shows a structural block diagram of a voice information processing device proposed by still another embodiment of the present application.
  • FIG. 15 shows a structural block diagram of an electronic device of the present application for executing the voice information processing method according to an embodiment of the present application
  • Fig. 16 is a storage unit for storing or carrying program codes for implementing the voice information processing 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 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.
  • the voice assistant of the electronic device 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.
  • the relevant voice assistant recognizes the user’s input to order takeaway or takeaway, it either uses "order takeaway" or "takeaway” as keywords to search for resources in a similar manner to a search engine, and then displays the searched The textual information of, or it may be directly searched for nearby restaurants for display.
  • the response of the related voice assistant to the food-related information is not the real intention of the user, and thus cannot improve the user's experience and cannot meet the actual needs of the user.
  • the inventor also found that in the process of directly using relevant take-out software to place a take-out order, users need to repeatedly slide the page to find the goods they need, which in turn will also cause a poor user experience.
  • the inventor proposes a voice information processing method, device, electronic device, and storage medium that can improve the above-mentioned problems in this application.
  • the user can trigger the display of takeaway related information through voice, and can directly complete the order placement operation in the voice assistant, and there is no need to separately start the target client for ordering takeaway , And then through multiple page swipes to find the takeaway you need, which greatly improves the user experience.
  • this method enables the user to trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user's portrait, so that the user can obtain the takeaway goods he needs faster .
  • an information recommendation method provided by an embodiment of the present application is applied to a language assistant, and the method includes:
  • Step S110 The voice assistant starts to receive voice information after being started.
  • 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
  • the electronic device 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 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.
  • the electronic device can display the interface shown in Figure 2. After the interface is displayed, the electronic device will trigger the configured microphone or other physical voice collection components to start sound collection, so that the activated voice The assistant can obtain the collected voice information.
  • Step S120 After receiving the voice information, recognize the received voice information.
  • 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 voice signal into the voice information in text form, and this conversion process is to recognize the received voice information the process of.
  • the voice assistant has multiple ways to realize the recognition of the received voice information.
  • the API (Application Programming Interface) of the third-party speech recognition system can be pre-configured.
  • 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.
  • 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.
  • 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.
  • Step S130 If it is recognized that the received voice information does not include takeaway related information, the current process is ended.
  • Step S131 If it is recognized that the received voice information includes takeaway related information, obtain the target takeaway merchant information to be recommended, where the target takeaway merchant information matches the user portrait of the user bound to the voice assistant Takeaway merchant information.
  • takeaway-related information includes: I want to order takeaway, order takeaway or takeaway.
  • the voice assistant will only trigger to obtain the information of the takeaway merchants after identifying some specific information, for example, the information of the target takeaway merchants to be recommended.
  • the specific information includes takeaway-related information, which can include "I want to order takeaway", "order takeaway” or "takeaway”. Then in this way, when the voice assistant recognizes that the received voice information includes takeaway-related information, it determines that the user wants to order takeaway, and then obtains the target takeaway merchant information to be recommended.
  • the take-out language setting interface 98 shown in FIG. 3 includes a take-out related information addition control 97 and a display control 96 to which take-out related information has been added. Furthermore, after the user clicks the takeaway related information adding control 97, new takeaway related information can be added. And in the adding process, in addition to adding in the form of text, it can also be added in the form of sound signal at the same time.
  • the takeaway-related information addition control 97 to trigger the user to enter the takeaway-related information in the form of voice
  • the language assistant can directly compare the received voice signal with the pre-stored voice signal in order to improve the final feedback effect. It is understandable that the voice signal is compared In the signal process, the aforementioned method of comparing the signal similarity can be used to determine whether the received sound signal has a similar match with the pre-stored sound signal. If so, you can directly obtain the takeaway merchant information without further follow-up Language to text conversion recognition.
  • the language assistant has multiple ways to obtain the target takeaway merchant information to be recommended.
  • the language assistant can obtain the target takeaway merchant information to be recommended based on the data interface with the target takeaway client.
  • the language assistant will send an information acquisition request to the target takeaway client, and the information acquisition request is used to trigger the target takeaway client to obtain the target takeaway merchant information to be recommended according to a specified rule; and receive the information
  • the target client returns the target takeaway merchant information to be recommended.
  • the voice assistant will first use the communication channel 95 to send the information acquisition request to the target takeaway client.
  • the target takeaway client can first query whether there is cached takeaway merchant information locally. Return directly to the voice assistant.
  • the target takeaway client is a client that can be used to independently generate takeaway orders and place orders. Similar to Meituan Takeaway Client or Ele.me Client.
  • the voice assistant sends an information acquisition request directly to the server through the communication channel 93, and then returns the target takeaway merchant information to be recommended to the voice assistant through the communication channel 93 .
  • the language assistant can forward the information acquisition request to the server through the target takeaway client, and the server directly returns the information of the target takeaway merchant to be recommended to the voice assistant without passing through the target takeaway customer. End conversion, and then increase the information transmission rate.
  • 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.
  • the voice assistant adds the port number occupied by the voice assistant to the generated information acquisition request, 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 Is sent directly to the voice assistant.
  • the target takeaway merchant information to be recommended in this embodiment may include obtaining the takeaway merchant information of the takeaway merchant closest to the user’s current location based on multiple dimensions, or it may be that the delivery range matches the user and
  • the takeaway merchant information of several takeaway merchants with a high degree of praise may also be the takeaway merchant information of the takeaway merchants that directly adapt to the user's historical order goods, of course, it can also be the takeaway merchant information after the above-mentioned rules are mixed.
  • the specific specified rule is not specifically limited, and one or more of the foregoing multiple rules may be used in combination.
  • the specified rules used can also be changed periodically.
  • Step S140 Display a card, and display the target takeaway merchant information in the card.
  • the target takeaway merchant information can be displayed in the card 92 as shown in FIG. 6.
  • the target takeaway merchant information may include the name of the takeaway merchant, scoring information, the starting price of sales, and the type of goods.
  • the voice assistant can detect the quantity of the target takeaway merchant information; if it detects that the quantity of the target takeaway merchant information is multiple, multiple cards are displayed, each of which displays one Target takeaway merchant information. For example, as shown in FIG. 7, when three takeaway merchant information are identified, three cards 92a, 92b, and 92c can be displayed respectively to display the three target takeaway merchant information.
  • the number of identified target takeaway merchant information cannot be directly displayed on the same interface, only part of the target takeaway merchant information can be displayed first, and then after detecting that the user swipes toward the upper side of the screen, load more merchant information. Display and hide part of the target takeaway merchant information that has been displayed before. For example, in the interface shown in FIG. 8, after detecting that the user slides the screen in the direction indicated by the arrow, the card 92a ranked closest to the direction indicated by the arrow will be hidden, and a new card 92e will be loaded for display.
  • the step of displaying the card and displaying the target takeaway merchant information in the card it further includes: obtaining the information of the takeaway merchant to be placed determined from the target takeaway merchant information; The order is generated by describing the information of the takeaway merchant to be placed.
  • the user can further control, and then the voice assistant can display more information so that the user can select the desired product to place an order.
  • the voice assistant can send the selected target merchant information to the target client after acquiring the target merchant information selected by the user, and the selected target merchant information is used to trigger the target client to generate Order information, and display the generated order information. It is understandable that in this manner, the voice assistant will trigger the target client to switch to the foreground display, and then trigger the target client to generate order information and display the generated order information.
  • the method may further include: after detecting the payment of the order, sending the order to the server of the target client, and receiving the order execution status returned by the server.
  • the voice assistant supports invoking a third-party payment service provider for payment, for example, WeChat payment or Alipay payment, and can also support invoking a payment server configured corresponding to the voice assistant itself for payment.
  • the step of generating an order based on the selected target merchant information determined from the target takeaway merchant information includes generating an order based on the selected target product information determined from the target merchant's product information.
  • the present application provides an information recommendation method. After the voice assistant starts to receive voice information, when the voice information is received, the received voice information is recognized, and if the received voice information is recognized When the takeaway related information is included in the voice assistant, obtain the takeaway merchant information that matches the user portrait of the user bound to the voice assistant as the target takeaway merchant information to be recommended, display a card, and display the target takeaway merchant information in the card .
  • the user can trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user’s portrait, so that the user can quickly obtain the takeaway goods he needs. Furthermore, there is no need to separately start the target client for ordering food, and then through multiple page scrolling to find the food you need, which greatly improves the user experience.
  • an information recommendation method provided by an embodiment of the present application is applied to a language assistant, and the method includes:
  • Step S210 The voice assistant starts to receive voice information after being started.
  • Step S220 After receiving the voice information, recognize the received voice information.
  • Step S230 If it is recognized that the received voice information does not include takeaway related information, the current process is ended.
  • Step S231 If it is recognized that the received voice information includes takeaway-related information, obtain the stored pre-calculated user portrait parameters, the user portrait parameters representing the category of the user’s interest; based on the user The portrait parameter acquires the corresponding takeaway merchant information as the target takeaway merchant information to be recommended.
  • users may use electronic devices to access the Internet, or use media such as music players, or browse news through news clients, or make online purchases through shopping clients.
  • This operation behavior of the user can reflect some personal preferences of the user. For example, if it is detected that the user often purchases discounted products on the shopping client, then it can be determined that the user is more concerned about the price of the item to a certain extent, then when recommending a takeaway merchant, it is recommended to recommend discounted takeaway products as much as possible, which is beneficial Users increase the conversion rate of recommendations. For another example, if the user often browses articles recommended for some classic food, it can be determined that the user has a higher demand for food, and then some distinctive and high-quality takeaway products can be recommended to the user.
  • step S230 it may further include: periodically acquiring the historical operation behavior of the user bound to the voice assistant; based on the historical operation behavior of the user, calculating the interest category matching the user as User portrait parameters.
  • the step of calculating the interest category matching the user as the user portrait parameter includes:
  • the multiple behavior dimensions include at least two of a media access dimension, a news dimension, a consumption record dimension, and a web page browsing dimension.
  • the voice assistant can monitor and recognize each behavior of the user. For example, after detecting that the user purchases a discounted product, the target behavior dimension is determined to be the consumption record dimension. For another example, when it is detected that the user has opened a webpage titled "Classic Food Recommendations", it will be determined that the target behavior dimension is the webpage browsing dimension.
  • multiple interest categories corresponding to each behavior dimension are the same.
  • the multiple interest categories corresponding to each behavior dimension include at least two of the price category, the convenience category, and the taste preference category.
  • the target interest category can be further obtained.
  • the target interest category is an interest category corresponding to the user's historical operation behavior among multiple interest categories corresponding to the target behavior dimension. For example, after detecting the operation behavior of the user purchasing a discounted product, not only the target behavior dimension is determined as the consumption record dimension, but also the target interest category is further determined as the price category. For another example, after detecting that the user has opened a webpage titled "Classic Food Recommendations", not only will the target behavior dimension be determined as the page browsing dimension, but also the target interest category will be further determined as the taste preference category.
  • scores can be configured for multiple interest categories in each behavior dimension, where a higher score indicates that the user pays more attention. Then, after determining the target interest category corresponding to the current operation behavior, the score of the target interest category can be increased. For example, you can add 1 point or 2 points each time.
  • the interest category matching the user is calculated as the user portrait parameter.
  • the language assistant can start to calculate the interest category matching the user as the user portrait parameter after each increase in the score of a certain interest category in a certain dimension, or it can be periodically calculated as the interest category matching the user As a user portrait parameter.
  • the step of calculating the interest category matching the user as the user portrait parameter based on the scores of the multiple interest categories corresponding to each behavior dimension includes: calculating each of the Multiple intermediate values of interest categories, where the multiple intermediate values of the scores of the same interest category in multiple behavior dimensions are each multiplied by the weight of the respective behavior dimension; the multiple intermediate values of each interest category are summed to obtain each The total score value of each interest category; the interest categories that are ranked by the total score value and satisfy the target condition are used as the interest category matched with the user; and the interest category matched with the user is used as the user portrait parameter.
  • the behavioral dimensions include web browsing dimensions, news dimensions, and consumption record dimensions.
  • Each behavior dimension corresponds to several interest categories such as price category, convenience category and taste preference category.
  • the web browsing dimension has a weight of 0.5
  • the news dimension has a weight of 0.2
  • the consumption record dimension has a weight of 0.3.
  • the scores of interest categories corresponding to each dimension are shown in the following table.
  • the median value of the price category includes 0.5, 0.4, and 1.5, and then the total score of the price category is 2.4.
  • the intermediate value packages 0.5, 0.6, and 0.9 of the convenience class are calculated, and then the total score value of the convenience class is 2.0.
  • the intermediate value packages 0.5, 0.8, and 0.6 of the taste preference category are calculated, and the total score value of the convenience category is 1.9.
  • the target condition is that the top two interest categories are ranked as the interest categories matching the user
  • the interest categories matching the user can be calculated to include the price category and the convenience category.
  • Step S240 Display a card, and display the target takeaway merchant information in the card.
  • the takeaway-related information includes a specified interest category, configure the multiple possible categories to exclude the specified interest category; the total score value
  • the step of sorting the interest categories that meet the target condition as the interest categories that match the user includes: sorting the interest categories that meet the target condition by the total score value and the designated interest category as the interest categories that match the user.
  • the method further includes: obtaining a behavior dimension to be processed, where the behavior dimension to be processed is a behavior dimension that has no corresponding historical operation behavior in a plurality of periods;
  • the behavior dimension to be processed is deleted from the multiple behavior dimensions, and the weights of the remaining behavior dimensions in the multiple behavior dimensions are adjusted accordingly, so that the sum of the weights of the remaining behavior dimensions is 1.
  • the method further includes: obtaining a category of interest to be processed, where the category of interest to be processed is that the ranking of the total score value in a plurality of the periods does not satisfy the target Conditional interest category; delete the to-be-processed interest category from the multiple interest categories.
  • This application provides an information recommendation method, through which the user can trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user’s portrait, which can make the user faster Obtain the takeaway products you need, and you don’t need to start the target client for ordering takeaways separately, and then you can find the takeaways you need through multiple page scrolling, which greatly improves the user experience.
  • the target takeaway merchant information of the matching user will be calculated based on multiple dimensions and multiple interest categories corresponding to each dimension, thereby improving the accuracy and matching of the recommendation , which greatly improves the user experience.
  • an information recommendation method provided by an embodiment of the present application is applied to a language assistant, and the method includes:
  • Step S310 The voice assistant starts to receive voice information after being started.
  • Step S320 After receiving the voice information, recognize the received voice information.
  • Step S321 If it is recognized that the received voice information does not include takeaway related information, end the current process.
  • Step S331 If it is recognized that the received voice information includes takeaway-related information, identify whether the takeaway-related information includes mode information about a pre-configured ordering mode of takeaway.
  • Step S340 If the identification includes pre-configured mode information, obtain product information of the merchant corresponding to the mode information.
  • the mode information is recognized as the favorite mode, obtain the favorite product information in the favorite merchant configured by the user; if the mode information is recognized as the most recent mode, obtain the takeaway that the user recently ordered Merchant and takeaway product information; and if it is recognized that the mode information is the most mode, obtain the takeaway merchant and takeaway product information with the most orders placed by the user.
  • Step S350 Generate an order based on the commodity information of the merchant corresponding to the mode information.
  • the step of generating an order based on the product information of the merchant corresponding to the mode information includes: displaying the product information of the merchant corresponding to the mode information; if the voice information for confirming the order is recognized, based on The commodity information of the merchant corresponding to the mode information generates an order.
  • the voice assistant can directly generate an order based on the acquired product information.
  • the product information of the merchant corresponding to the mode information may be displayed first. If the voice information for confirming the order is recognized, based on the information
  • the mode information corresponds to the merchandise information of the merchant to generate an order. For example, if the voice assistant recognizes that the user says “I want to order my favorite takeaway", the voice assistant may directly obtain pre-configured favorite products to generate an order after recognizing that there is "favorite” mode information.
  • the voice assistant recognizes the "favorite” mode information, it can first display the product corresponding to the "favorite” mode information in the form of the aforementioned card, and then recognize that there is "favorite” mode information. After similar semantics such as "Place an order” or “just this” are confirmed, an order is generated based on the product information of the merchant corresponding to the mode information.
  • the voice assistant when the voice assistant recognizes that the user said "the same takeaway as last time", the voice assistant can recognize that the mode information is the most recent, and then it can directly generate an order based on the last order.
  • Step S360 If it is recognized that the takeaway related information does not include the pre-configured mode information, obtain the target takeaway merchant information to be recommended, where the target takeaway merchant information is the takeaway merchant information matching the user portrait of the user bound to the voice assistant .
  • Step S370 Display a card, and display the target takeaway merchant information in the card.
  • This application provides an information recommendation method, through which the user can trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user’s portrait, which can make the user faster Obtain the takeaway products you need, and you don’t need to start the target client for ordering takeaways separately, and then you can find the takeaways you need through multiple page scrolling, which greatly improves the user experience.
  • the product information of the merchant corresponding to the mode information can be obtained as the target takeaway merchant information for recommendation, thereby enhancing the flexibility of recommendation.
  • an information recommendation apparatus 400 provided by an embodiment of the present application, the apparatus 400 includes:
  • the voice information receiving unit 410 is configured to receive voice information after the voice information processing device is started.
  • the voice recognition unit 420 is configured to recognize the received voice information after receiving the voice information.
  • the takeaway information obtaining unit 430 is configured to obtain information about a target takeaway merchant to be recommended if it is recognized that the received voice information includes takeaway related information, where the target takeaway merchant information is a user bound to the voice assistant The information of the takeaway merchant matched by the user profile.
  • the information display unit 440 is configured to display a card, and display the target takeaway merchant information in the card.
  • the information display unit 440 is specifically configured to: if it is recognized that the user portrait parameter indicates that the user has multiple interest categories; to display multiple cards, each card displays target takeaway merchant information corresponding to one interest category.
  • the takeaway information obtaining unit 430 is specifically configured to obtain stored pre-calculated user portrait parameters, where the user portrait parameters characterize the category of the user’s interest in commodities; and obtain corresponding user portrait parameters based on the user portrait parameters.
  • the takeaway merchant information is used as the target takeaway merchant information to be recommended.
  • the device 400 further includes a user portrait calculation unit 450, configured to periodically obtain the historical operation behavior of the user bound to the voice assistant; based on the historical operation behavior of the user, calculate the interest matching the user
  • the category is used as the user portrait parameter.
  • the portrait calculation unit 450 is specifically configured to obtain the target behavior dimension corresponding to the user's historical operation among the multiple behavior dimensions; to obtain the target interest category, where the target interest category is the same among the multiple interest categories corresponding to the target behavior dimension.
  • the interest category matching the user is calculated as the user portrait parameter.
  • the portrait calculation unit 450 is specifically configured to calculate multiple intermediate values for each of the interest categories, where the multiple intermediate values are the values obtained by multiplying the scores of the same interest category in the multiple behavior dimensions by the weight of the corresponding behavior dimension; Sum multiple intermediate values of each interest category to obtain the total score value of each interest category;
  • the interest categories that are ranked by the total score value and satisfy the target conditions are used as the interest categories matched with the user; the interest categories matched with the user are used as the user portrait parameters.
  • the multiple behavior dimensions include at least two of media access dimensions, news dimensions, consumption record dimensions, and web page browsing dimensions.
  • the multiple interest categories include at least two of price category, convenience category, and taste preference category.
  • the portrait calculation unit 450 is specifically configured to configure the plurality of possible categories to exclude the specified interest category if it is recognized that the takeaway-related information includes the specified interest category; the total score is
  • the step of sorting the interest categories satisfying the target condition by value as the interest categories matching the user includes: sorting the interest categories satisfying the target condition by the total score value and the specified interest category as the interest categories matching the user.
  • the portrait calculation unit 450 is specifically configured to obtain a behavior dimension to be processed, where the behavior dimension to be processed is a behavior dimension that has no corresponding historical operation behavior in multiple periods;
  • the behavior dimension of is deleted from the multiple behavior dimensions, and the weights of the remaining behavior dimensions in the multiple behavior dimensions are adjusted accordingly, so that the sum of the weights of the remaining behavior dimensions is 1.
  • the portrait calculation unit 450 is specifically configured to obtain the interest category to be processed, and the interest category to be processed is the interest category for which the total score value ranking in the plurality of periods does not satisfy the target condition. ; Delete the interest category to be processed from the multiple interest categories.
  • the device 400 further includes an information detection unit 460 and an order generation unit 470.
  • the information detection unit 460 is configured to identify whether the takeaway-related information includes mode information about a pre-configured ordering mode of take-out, and if the recognition includes pre-configured mode information, obtain product information of a merchant corresponding to the mode information.
  • the order generation unit 470 is configured to generate an order based on the product information of the merchant corresponding to the mode information; if it is recognized that the takeaway-related information does not include the pre-configured mode information, execute the acquisition of the target takeaway merchant information to be recommended.
  • the information detection unit 460 is specifically configured to obtain the favorite product information in the favorite merchant configured by the user if the mode information is recognized as the favorite mode; if the mode information is recognized as the most recent mode, obtain The takeaway merchant and takeaway product information of the last time the user placed an order; and if the mode information is identified as the most mode, the takeaway merchant and takeaway product information that the user has placed the most orders.
  • the order generating unit 470 is specifically configured to display product information of the merchant corresponding to the mode information
  • the order generating unit 470 is further configured to obtain the information of the takeaway merchant to be placed determined from the target takeaway merchant information; and generate an order based on the information of the takeaway merchant to be placed.
  • the takeaway information obtaining unit 430 is specifically configured to send a target takeaway merchant information obtaining request to be recommended to the server of the target client, and receive the target takeaway merchant information to be recommended returned by the server.
  • the device 400 further includes an order processing unit 480, which is configured to send the order to the server after detecting the payment of the order, and receive the return from the server. Order execution status.
  • 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, 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.
  • 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).
  • 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. .
  • SIM subscriber identity module
  • 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.
  • FIG. 16 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.
  • the voice assistant starts to receive voice information
  • the voice information is recognized.
  • the received voice information includes takeaway related information
  • the takeaway merchant information matching the user portrait of the user bound to the voice assistant is obtained as the target takeaway merchant information to be recommended
  • the card is displayed, and the card is displayed
  • the target takeaway merchant information is displayed in.

Abstract

Disclosed are an information recommendation method and apparatus, and an electronic device and a storage medium. The method comprises: a voice assistant starting to receive voice information after being started; after the voice information is received, identifying the received voice information; when it is identified that the received voice information comprises take-out related information, acquiring target take-out merchant information to be recommended, wherein the target take-out merchant information is take-out merchant information matching a user portrait of a user bound with the voice assistant; and displaying a card, and displaying the target take-out merchant information in the card. By means of the method, a user can trigger the display of take-out related information by means of speech, and a voice assistant can recommend matching take-out merchant information to the user according to a user portrait, such that the user can more quickly acquire a take-out commodity required thereby, thereby greatly improving the user experience.

Description

信息推荐方法、装置、电子设备以及存储介质Information recommendation method, device, electronic equipment and storage medium 技术领域Technical field
本申请涉及物联网领域,更具体地,涉及一种信息推荐方法、装置、电子设备以及存储介质。This application relates to the field of Internet of Things, 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 Voice assistants have not yet been involved in the food delivery field.
发明内容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, the present application provides an information recommendation method, which is applied to a voice assistant, and the method includes: the voice assistant starts to receive voice information after being started; and when the voice information is received, responding to the received voice Information; if it is recognized that the received voice information includes takeaway-related information, obtain the target takeaway merchant information to be recommended, and the target takeaway merchant information matches the user portrait of the user bound to the voice assistant The takeaway merchant information; display a card, and display the target takeaway merchant information in the card.
第二方面,一种信息推荐方法,所述装置包括:语音信息接收单元,用于在所述语音信息处理装置启动后接收语音信息;语音识别单元,用于当接收到语音信息后,对所述接收到的语音信息进行识别;外卖信息获取单元,若识别到所述接收到的语音信息中包括有外卖相关信息时,获取待推荐的目标外卖商户信息,所述目标外卖商户信息为与所述语音助手绑定用户的用户画像匹配的外卖商户信息;信息显示单元,用于显示卡片,并在所述卡片中显示所述目标外卖商户信息。In a second aspect, an information recommendation method, the device includes: a voice information receiving unit, configured to receive voice information after the voice information processing device is started; a voice recognition unit, configured to respond to the voice information after receiving the voice information The received voice information is recognized; the takeaway information acquisition unit, if it recognizes that the received voice information includes takeaway related information, obtains the target takeaway merchant information to be recommended, and the target takeaway merchant information is related to the The voice assistant binds the information of the takeaway merchant that matches the user portrait of the user; the information display unit is used to display the card, and displays the target takeaway merchant 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 having program code stored in the computer-readable storage medium, wherein the above-mentioned 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. After the voice assistant starts to receive voice information, when the voice information is received, the received voice information is recognized. When the received voice information includes takeaway related information, the takeaway merchant information matching the user portrait of the user bound to the voice assistant is obtained as the target takeaway merchant information to be recommended, the card is displayed, and the card is displayed The target takeaway merchant information is displayed in. Thus, through this method, the user can trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user’s portrait, so that the user can quickly obtain the takeaway goods he needs. Furthermore, there is no need to separately start the target client for ordering food, and then through multiple page scrolling to find the food you need, which greatly improves the user experience.
附图说明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 a voice information processing method proposed in 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 takeaway voice setting interface proposed in an embodiment of the present application;
图4示出了本申请实施例提出的一种外卖语音设置界面添加结果的示意图;FIG. 4 shows a schematic diagram of a result of adding a takeaway voice setting interface according to an embodiment of the present application;
图5示出了本申请实施例提出的一种语音助手与目标外卖客户端的服务端进行通信的示意图;FIG. 5 shows a schematic diagram of a voice assistant communicating with a server of a target takeaway client according to an embodiment of the present application;
图6示出了本申请实施例提出的一种卡片的示意图;Fig. 6 shows a schematic diagram of a card proposed in an embodiment of the present application;
图7示出了本申请实施例提出的一种多卡片展示的示意图;FIG. 7 shows a schematic diagram of a multi-card display proposed in an embodiment of the present application;
图8示出了本申请实施例提出的一种卡片切换的示意图;FIG. 8 shows a schematic diagram of a card switching proposed in an embodiment of the present application;
图9示出了本申请实施例提出的一种卡片展示商户详细信息的示意图;FIG. 9 shows a schematic diagram of a card displaying detailed information of a merchant according to an embodiment of the present application;
图10示出了本申请另一实施例提出的一种语音信息处理方法的流程图;FIG. 10 shows a flowchart of a voice information processing method proposed by another embodiment of the present application;
图11示出了本申请再一实施例提出的一种语音信息处理方法的流程图;FIG. 11 shows a flowchart of a voice information processing method proposed by still another embodiment of this application;
图12示出了本申请实施例提出的一种语音信息处理装置的结构框图;FIG. 12 shows a structural block diagram of a voice information processing device proposed by an embodiment of the present application;
图13示出了本申请另一实施例提出的一种语音信息处理装置的结构框图;FIG. 13 shows a structural block diagram of a voice information processing device proposed by another embodiment of the present application;
图14示出了本申请再一实施例提出的一种语音信息处理装置的结构框图;FIG. 14 shows a structural block diagram of a voice information processing device proposed by still another embodiment of the present application;
图15示出了本申请的用于执行根据本申请实施例的语音信息处理方法的电子设备的结构框图;FIG. 15 shows a structural block diagram of an electronic device of the present application for executing the voice information processing method according to an embodiment of the present application;
图16是本申请实施例的用于保存或者携带实现根据本申请实施例的语音信息处理方法的程序代码的存储单元。Fig. 16 is a storage unit for storing or carrying program codes for implementing the voice information processing 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 takeaway-related information entered by the user, or even if they can respond, they cannot bring the user a better user experience. . For example, in one method, after the relevant voice assistant recognizes the user’s input to order takeaway or takeaway, it either uses "order takeaway" or "takeaway" as keywords to search for resources in a similar manner to a search engine, and then displays the searched The textual information of, or it may be directly searched for nearby restaurants for display. However, the inventor found that the response of the related voice assistant to the food-related information is not the real intention of the user, and thus cannot improve the user's experience and cannot meet the actual needs of the user. Furthermore, the inventor also found that in the process of directly using relevant take-out software to place a take-out order, users need to repeatedly slide the page to find the goods they need, which in turn will also cause a poor user experience.
因此,发明人提出了本申请中可以改善上述问题的语音信息处理方法、装置、电子设备以及存储介质。通过本申请实施例提供的方法可以实现用户通过语音来触发显示外卖的相关信息,并且可以在语音助手中就可以直接完成下单的操作,进而不需要再单独启动用于点外卖的目标客户端,然后再通过多次的页面滑动来查找自己所需的外卖,从而极大的提升了用户体验。再者,本方法实现了用户通过语音来触发显示外卖的相关信息,并且语音助手可以根据用户的画像给用户推荐匹配的外卖商户信息,进而可以使得用户更快的获取到自己所需的外卖商品。Therefore, the inventor proposes a voice information processing method, device, electronic device, and storage medium that can improve the above-mentioned problems in this application. Through the method provided by the embodiments of the present application, the user can trigger the display of takeaway related information through voice, and can directly complete the order placement operation in the voice assistant, and there is no need to separately start the target client for ordering takeaway , And then through multiple page swipes to find the takeaway you need, which greatly improves the user experience. Furthermore, this method enables the user to trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user's portrait, so that the user can obtain the takeaway goods he needs faster .
下面将结合附图具体描述本申请的各实施例。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 language assistant, and the method includes:
步骤S110:所述语音助手在启动后开始接收语音信息。Step S110: The voice assistant starts to receive voice information after being started.
其中,可以理解的是,语音助手可以是一个独立运行在电子设备中的应用程序。也可以是配置在某一个应用程序中的组件。在用户使用过程中,用户可以通过触控电子设备的物理按键来触发语音助手启动,也可以通过触控电子设备所显示的虚拟按键来触发语音助手启动。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所示的界面,在该界面显示以后电子设备就会触发所配置的麦克风或者其它的物理语音采集元件开始进行声音的采集,以便启动后的语音助手可以获取到所采集的语音信息。When the voice assistant is started, the electronic device can display the interface shown in Figure 2. After the interface is displayed, the electronic device will trigger the configured microphone or other physical voice collection components to start sound collection, so that the activated voice The assistant can obtain the collected voice information.
步骤S120:当接收到语音信息后,对所述接收到的语音信息进行识别。Step S120: After receiving the voice information, recognize the received voice information.
可以理解的是,对于语音助手接受到的语音信息都还是声音信号,语音助手还需要将声音信号形式的语音信息转换为文本形式的语音信息,而这个转换过程就是对接收到的语音信息进行识别的过程。It is understandable that 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 voice signal into the voice information in text form, and this conversion process is to recognize the received voice information the process of.
在本申请实施例中,语音助手有多种方式来实现对所述接收到的语音信息进行识别。In the embodiment of the present application, the voice assistant has multiple ways to realize the recognition of the received voice information.
作为一种方式,可以预先配置第三方语音识别系统的API(Application Programming Interface,应用程序编程接口),那么在在这种方式下,语音助手可以基于预先配置的第三方语音识别系统的API将待识别的声音信号传输给第三方进行识别,然后接收第三方返回的文本形式的语音信息。例如,可以采用微软或者谷歌提供的第三方语音识别系统的API。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.
作为另外一种方式,可以预先对神经网络模型进行训练,得到一个具备将声音信号形式的语音信息转换为文本形式的语音信息的模型。然后将该训练好的模型部署在一个指定的服务器或者服务集群中,进而语音助手在需要对所述接收到的语音信息进行识别的过程中,可以将接收到的声音信号形式的语音信息传输给该服务器或者服务集群中进行识别,然后再接收服务器或者服务集群所返回的识别后的文本形式的语音信息。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.
而在另外一种方式中,语音助手可以在调用第三方语音识别系统的API进行识别,和传 输给指定的服务器或者服务集群进行识别进行实时的选择,以便增强识别的灵活性。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进行识别,而在识别到当前是通过移动通信基站接入网络的情况下,传输给指定的服务器或者服务集群进行识别。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.
再者,语音助手还可以通过识别成功率进行识别方式的切换。可以理解的是,不同用户的发音习惯或者说话方式都会有所差别,那么即使是对于同一种识别方式,也会因为用户自身的发音习惯或者说话方式而造成识别出现不同的结果。那么在这种情况下,语音助手可以根据用户自身的习惯以及结合识别的成功率进行识别方式的切换。其中,语音助手可以在检测到用户重复对相似的声音信号进行识别的情况下,判断识别出现失败。那么语音助手可以在识别到采用某种识别方式出现指定次数失败后,转而切换为另一种识别方式。例如,若语音助手开始采用的是调用第三方语音识别系统的API进行识别,检测到连续识别了三次相似的声音信号(指定次数为3),那么就判定转而切换为传输给该服务器或者服务集群中进行识别。需要说明的是,其中相似的声音信号可以通过判断两个声音信号的误差能量来进行判断。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.
步骤S130:若识别到所述接收到的语音信息中未包括有外卖相关信息时,则结束当次流程。Step S130: If it is recognized that the received voice information does not include takeaway related information, the current process is ended.
步骤S131:若识别到所述接收到的语音信息中包括有外卖相关信息时,获取待推荐的目标外卖商户信息,所述目标外卖商户信息为与所述语音助手绑定用户的用户画像匹配的外卖商户信息。Step S131: If it is recognized that the received voice information includes takeaway related information, obtain the target takeaway merchant information to be recommended, where the target takeaway merchant information matches the user portrait of the user bound to the voice assistant Takeaway merchant information.
其中,外卖相关信息包括:我要点外卖、点外卖或外卖。Among them, takeaway-related information includes: I want to order takeaway, order takeaway or takeaway.
可以理解的是,语音助手是在识别到一些特定的信息后,才会触发去获取外卖商户的信息,例如,待推荐的目标外卖商户信息。而其中的特定的信息包括外卖相关信息,该外卖相关信息可以包括“我要点外卖”、“点外卖”或者“外卖”等。那么在这种方式下,当语音助手识别到接收到的语音信息中包括有外卖相关信息时,就判定用户是希望点外卖,进而就会去获取待推荐的目标外卖商户信息。It is understandable that the voice assistant will only trigger to obtain the information of the takeaway merchants after identifying some specific information, for example, the information of the target takeaway merchants to be recommended. The specific information includes takeaway-related information, which can include "I want to order takeaway", "order takeaway" or "takeaway". Then in this way, when the voice assistant recognizes that the received voice information includes takeaway-related information, it determines that the user wants to order takeaway, and then obtains the target takeaway merchant information to be recommended.
其中,对于外卖相关信息的配置方式有多种。Among them, there are many ways to configure takeaway-related information.
作为一种方式,可以在语音助手安装时就默认配置几种经过统计后得到的常见的外卖相关信息。例如,前述的“我要点外卖”、“点外卖”或者“外卖”等。As a way, several common takeaway-related information obtained after statistics can be configured by default when the voice assistant is installed. For example, the aforementioned "I want to order takeaway", "order takeaway" or "takeaway", etc.
再者,作为另外一种方式,还可以由用户根据自己的需求进行配置。随着用户需求的变化,更多的用户期望采用更具有个性化的方式进行电子设备的控制。例如,有的用户喜欢说“我要点吃的”或者喜欢说“我饿了”等,那么为了使得语音助手可以适应不同语言表达习惯的用户,可以配置由用户来进行外卖相关信息的配置。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 "I want something to eat" or "I'm hungry", etc. Then, in order to make the voice assistant adapt to users with different language expression habits, the user can configure the configuration of takeaway related information.
例如,如图3所示,在图3所示的外卖语言设置界面98中包括有外卖相关信息添加控件97以及已添加外卖相关信息的展示控件96。进而在用户点击外卖相关信息添加控件97后可以添加新的外卖相关信息。并且在添加过程中除了可以以文本形式添加后,还可以同时以声音信号的方式添加。例如,当用户点击外卖相关信息添加控件97触发用户录入声音形式的外卖相关信息,例如在用户输入的为“我要吃饭”后,除了会在外卖相关信息的展示控件96展示文本形式的“我要吃饭”后,还会同时存储“我要吃饭”对应的声音信号。那么在这种方式下,语言助手在接收到语音信息后,为了提升最终的反馈效果,可以先直接比对所接收到的声音信号和预先存储的声音信号,可以理解的是,在比对声音信号的过程中可以采用前述的比较信号相似的方式,来确定所接收到的声音信号和预先存储的声音信号是否有相似匹配的,若有,则可以直接获取外卖商户信息,而不用再进行后续的语言到文本的转换识别。For example, as shown in FIG. 3, the take-out language setting interface 98 shown in FIG. 3 includes a take-out related information addition control 97 and a display control 96 to which take-out related information has been added. Furthermore, after the user clicks the takeaway related information adding control 97, new takeaway related information can be added. And in the adding process, in addition to adding in the form of text, it can also be added in the form of sound signal at the same time. For example, when the user clicks on the takeaway-related information addition control 97 to trigger the user to enter the takeaway-related information in the form of voice, for example, after the user inputs "I want to eat", in addition to the display control 96 of the takeaway-related information, the text "I After "I want to eat", the sound signal corresponding to "I want to eat" is also stored. In this way, after receiving the voice information, the language assistant can directly compare the received voice signal with the pre-stored voice signal in order to improve the final feedback effect. It is understandable that the voice signal is compared In the signal process, the aforementioned method of comparing the signal similarity can be used to determine whether the received sound signal has a similar match with the pre-stored sound signal. If so, you can directly obtain the takeaway merchant information without further follow-up Language to text conversion recognition.
而在本申请实施例中语言助手有多种方式来获取到待推荐的目标外卖商户信息。In the embodiment of this application, the language assistant has multiple ways to obtain the target takeaway merchant information to be recommended.
作为一种方式,语言助手可以基于与目标外卖客户端之间的数据接口来获取待推荐的 目标外卖商户信息。在这种方式下,语言助手会向所述目标外卖客户端发送信息获取请求,所述信息获取请求用于触发所述目标外卖客户端按照指定规则获取待推荐的目标外卖商户信息;接收所述目标客户端返回待推荐的目标外卖商户信息。如图5所示,在这种方式下,语音助手会先进行通信通道95将信息获取请求发送到目标外卖客户端,目标外卖客户端可以先查询本地是否有缓存的外卖商户信息,如果有就直接返回给语音助手,若检测到没有缓存的外卖商户信息,就基于通信通道94向服务端发送外卖商户信息的请求,进而再依次通过通信通道94以及通信通道95返回给语言助手。可以理解的是,这里的目标外卖客户端为可以用于独立完成外卖订单生成以及下单的客户端。类似于美团外卖客户端或者饿了么客户端。As a way, the language assistant can obtain the target takeaway merchant information to be recommended based on the data interface with the target takeaway client. In this way, the language assistant will send an information acquisition request to the target takeaway client, and the information acquisition request is used to trigger the target takeaway client to obtain the target takeaway merchant information to be recommended according to a specified rule; and receive the information The target client returns the target takeaway merchant information to be recommended. As shown in Figure 5, in this way, the voice assistant will first use the communication channel 95 to send the information acquisition request to the target takeaway client. The target takeaway client can first query whether there is cached takeaway merchant information locally. Return directly to the voice assistant. If it detects that there is no cached takeaway merchant information, it sends a request for takeaway merchant information to the server based on the communication channel 94, and then returns to the language assistant through the communication channel 94 and the communication channel 95 in turn. It is understandable that the target takeaway client here is a client that can be used to independently generate takeaway orders and place orders. Similar to Meituan Takeaway Client or Ele.me Client.
作为另外一种方式,向目标外卖客户端所对应的服务端发送信息获取请求,所述信息获取请求用于触发所述服务端按照指定规则获取外卖商户信息;As another way, sending an information acquisition request to the server corresponding to the target takeaway client, where the information acquisition request is used to trigger the server to obtain the takeaway merchant information according to a specified rule;
接收所述服务端返回的待推荐的目标外卖商户信息。例如,请再次参阅图5,在这种方式下,语音助手就会通过通信通道93直接向服务端发送信息获取请求,进而依然是通过通信通道93将待推荐的目标外卖商户信息返回给语音助手。Receive the target takeaway merchant information to be recommended returned by the server. For example, please refer to Figure 5 again. In this way, the voice assistant sends an information acquisition request directly to the server through the communication channel 93, and then returns the target takeaway merchant information to be recommended to the voice assistant through the communication channel 93 .
而在再一种方式中,语言助手可以将信息获取请求通过目标外卖客户端转发给服务器,而服务器则是通过直接将待推荐的目标外卖商户信息返回给语音助手,而不用再通过目标外卖客户端进行转换,进而提升信息传输速率。可以理解的是,对于语音助手所在的电子设备以外的设备是通过应用程序所占用的端口号来区分应用程序的。例如,浏览器客户端占用80端口,语音助手占用8080端口,那么若返回的信息指向的为8080端口,那么电子设备就会知道这个信息是返回给语音助手的。在这种方式中,语音助手在生成信息获取请求中添加语音助手所占用的端口号,进而当服务端在生成返回的信息时,就将返回信息中添加语音助手的端口号,以便该信息可以被直接发送给语音助手。In another way, the language assistant can forward the information acquisition request to the server through the target takeaway client, and the server directly returns the information of the target takeaway merchant to be recommended to the voice assistant without passing through the target takeaway customer. End conversion, and then increase 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 information acquisition request, 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 Is sent directly to the voice assistant.
需要说明的是,在本实施例中所述的待推荐的目标外卖商户信息可以包括基于多个维度分别获取距离用户当前位置最近的外卖商户的外卖商户信息,也可以是配送范围与用户匹配且好评度较高的几个外卖商户的外卖商户信息,还可以是直接适配用户历史下单商品的外卖商户的外卖商户信息,当然,还可以是上述几种规则混合后的外卖商户信息。在本实施例中,具体是何种指定的规则不做具体限定,可以是上述多种规则中的一个或者多个混合采用。并且,也可以定期更换所采用的指定的规则。It should be noted that the target takeaway merchant information to be recommended in this embodiment may include obtaining the takeaway merchant information of the takeaway merchant closest to the user’s current location based on multiple dimensions, or it may be that the delivery range matches the user and The takeaway merchant information of several takeaway merchants with a high degree of praise may also be the takeaway merchant information of the takeaway merchants that directly adapt to the user's historical order goods, of course, it can also be the takeaway merchant information after the above-mentioned rules are mixed. In this embodiment, the specific specified rule is not specifically limited, and one or more of the foregoing multiple rules may be used in combination. In addition, the specified rules used can also be changed periodically.
步骤S140:显示卡片,并在所述卡片中显示所述目标外卖商户信息。Step S140: Display a card, and display the target takeaway merchant information in the card.
在获取待推荐的目标外卖商户信息后,可以将目标外卖商户信息显示在如图6所示的卡片92中。其中,目标外卖商户信息可以包括外卖商户的商户名称、评分信息、销售量起送价格以及商品类型等。此外,还可以直接在外卖商户信息中包括一些销售量较高或者特色商品。After obtaining the target takeaway merchant information to be recommended, the target takeaway merchant information can be displayed in the card 92 as shown in FIG. 6. Among them, the target takeaway merchant information may include the name of the takeaway merchant, scoring information, the starting price of sales, and the type of goods. In addition, you can also directly include some high-volume or characteristic products in the takeaway merchant information.
当然,作为一种方式,语音助手可以检测所述所述目标外卖商户信息的数量;若检测到所述目标外卖商户信息的数量为多个时,显示多个卡片,其中每个卡片对应显示一个目标外卖商户信息。例如,如图7所示,在识别到外卖商户信息有3个的情况下,可以分别显示3个卡片92a、92b以及92c来分别显示这3个目标外卖商户信息。此外,若识别到目标外卖商户信息的数量无法直接在同一个界面中显示,可以先仅显示部分的目标外卖商户信息,进而在检测到用户朝向屏幕上侧滑动后,加载更多的商户信息进行显示,并同时隐藏部分之前已经显示过的目标外卖商户信息。例如,在图8所示的界面中,检测到用户朝向箭头所示的方向滑动屏幕后,会将排位最靠近箭头所示方向的卡片92a进行隐藏,而加载新的卡片92e进行显示。Of course, as a way, the voice assistant can detect the quantity of the target takeaway merchant information; if it detects that the quantity of the target takeaway merchant information is multiple, multiple cards are displayed, each of which displays one Target takeaway merchant information. For example, as shown in FIG. 7, when three takeaway merchant information are identified, three cards 92a, 92b, and 92c can be displayed respectively to display the three target takeaway merchant information. In addition, if the number of identified target takeaway merchant information cannot be directly displayed on the same interface, only part of the target takeaway merchant information can be displayed first, and then after detecting that the user swipes toward the upper side of the screen, load more merchant information. Display and hide part of the target takeaway merchant information that has been displayed before. For example, in the interface shown in FIG. 8, after detecting that the user slides the screen in the direction indicated by the arrow, the card 92a ranked closest to the direction indicated by the arrow will be hidden, and a new card 92e will be loaded for display.
可以理解的是,所述显示卡片,并在所述卡片中显示所述目标外卖商户信息的步骤之后还包括:获取从所述目标外卖商户信息中确定的待下单的外卖商户信息;基于所述待下单的外卖商户信息生成订单。It is understandable that, after the step of displaying the card and displaying the target takeaway merchant information in the card, it further includes: obtaining the information of the takeaway merchant to be placed determined from the target takeaway merchant information; The order is generated by describing the information of the takeaway merchant to be placed.
在显示目标外卖商户信息后,用户可以进一步的进行操控,进而使得语音助手显示更多的信息,以便用户选择所需的商品下单。After displaying the target takeaway merchant information, the user can further control, and then the voice assistant can display more information so that the user can select the desired product to place an order.
其中,作为一种方式,语音助手在获取到用户所选择的目标商户信息后,可以将选择的目标商户信息发送给目标客户端,所述选择的目标商户信息用于触发所述目标客户端生成订单信息,并显示所生成的订单信息。可以理解的是,在这种方式下,语音助手会触发目标客户端切换到前台显示,进而将触发所述目标客户端生成订单信息,并显示所生成的订单信息。当然,在订单生成后,所述方法还可以包括:检测到所述订单支付后,将所述订单发送给目标客户端的服务端,并接收所述服务端返回的订单执行情况。其中,在支付过程中,语音助手支持调用第三方支付服务商进行支付,例如,微信支付或者支付宝支付,也可以支持调用语音助手本身所对应配置的支付服务器进行支付。Among them, as a way, the voice assistant can send the selected target merchant information to the target client after acquiring the target merchant information selected by the user, and the selected target merchant information is used to trigger the target client to generate Order information, and display the generated order information. It is understandable that in this manner, the voice assistant will trigger the target client to switch to the foreground display, and then trigger the target client to generate order information and display the generated order information. Of course, after the order is generated, the method may further include: after detecting the payment of the order, sending the order to the server of the target client, and receiving the order execution status returned by the server. Among them, during the payment process, the voice assistant supports invoking a third-party payment service provider for payment, for example, WeChat payment or Alipay payment, and can also support invoking a payment server configured corresponding to the voice assistant itself for payment.
例如,作为一种方式,若检测到作用于所述卡片的指定触控操作后,显示所述目标外卖商户的详细信息,所述详细信息包括所述目标外卖商户的商品信息。其中,可选的,若检测到作用于所述卡片的延指定方向的滑动操作后,在所述卡片中显示所述外卖商户的详细信息。例如,如图9所示,语音助手检测到卡片92a上有朝向箭头所示方向的滑动操作后,就可以显示右侧图中所示的具体的商品A、商品B以及商品C等信息。那么在这种方式下,所述基于从所述目标外卖商户信息中确定选择的目标商户信息生成订单的步骤包括:基于从所述目标商户的商品信息中确定的选择的目标商品信息生成订单。For example, as a way, if a designated touch operation on the card is detected, detailed information of the target takeaway merchant is displayed, and the detailed information includes the product information of the target takeaway merchant. Optionally, if a sliding operation in a specified direction acting on the card is detected, the detailed information of the takeaway merchant is displayed on the card. For example, as shown in FIG. 9, after the voice assistant detects that there is a sliding operation on the card 92a in the direction indicated by the arrow, it can display the specific product A, product B, and product C shown in the figure on the right. Then in this manner, the step of generating an order based on the selected target merchant information determined from the target takeaway merchant information includes generating an order based on the selected target product information determined from the target merchant's product information.
本申请提供的一种信息推荐方法,在语音助手在启动后开始接收语音信息后,当接收到语音信息时,对所述接收到的语音信息进行识别,若识别到所述接收到的语音信息中包括有外卖相关信息时,获取与所述语音助手绑定用户的用户画像匹配的外卖商户信息作为待推荐的目标外卖商户信息,显示卡片,并在所述卡片中显示所述目标外卖商户信息。从而通过本方法实现了用户通过语音来触发显示外卖的相关信息,并且语音助手可以根据用户的画像给用户推荐匹配的外卖商户信息,进而可以使得用户更快的获取到自己所需的外卖商品,进而不需要再单独启动用于点外卖的目标客户端,然后再通过多次的页面滑动来查找自己所需的外卖,从而极大的提升了用户体验。The present application provides an information recommendation method. After the voice assistant starts to receive voice information, when the voice information is received, the received voice information is recognized, and if the received voice information is recognized When the takeaway related information is included in the voice assistant, obtain the takeaway merchant information that matches the user portrait of the user bound to the voice assistant as the target takeaway merchant information to be recommended, display a card, and display the target takeaway merchant information in the card . Thus, through this method, the user can trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user’s portrait, so that the user can quickly obtain the takeaway goods he needs. Furthermore, there is no need to separately start the target client for ordering food, and then through multiple page scrolling to find the food you need, which greatly improves the user experience.
请参阅图10,本申请实施例提供的一种信息推荐方法,应用于语言助手,所述方法包括:Refer to FIG. 10, an information recommendation method provided by an embodiment of the present application is applied to a language assistant, and the method includes:
步骤S210:所述语音助手在启动后开始接收语音信息。Step S210: The voice assistant starts to receive voice information after being started.
步骤S220:当接收到语音信息后,对所述接收到的语音信息进行识别。Step S220: After receiving the voice information, recognize the received voice information.
步骤S230:若识别到所述接收到的语音信息中未包括有外卖相关信息时,结束当次流程。Step S230: If it is recognized that the received voice information does not include takeaway related information, the current process is ended.
步骤S231:若识别到所述接收到的语音信息中包括有外卖相关信息时,获取存储的预先计算得到的用户画像参数,所述用户画像参数表征用户的感兴趣商品的类别;基于所述用户画像参数获取对应的外卖商户信息作为待推荐的目标外卖商户信息。Step S231: If it is recognized that the received voice information includes takeaway-related information, obtain the stored pre-calculated user portrait parameters, the user portrait parameters representing the category of the user’s interest; based on the user The portrait parameter acquires the corresponding takeaway merchant information as the target takeaway merchant information to be recommended.
可以理解的是,用户使用电子设备的过程中,可能会利用电子设备访问互联网,或者使用音乐播放器等媒体,或者通过新闻客户端浏览新闻,再或者通过购物客户端进行网购等。而对于用户的这个操作行为都可以反映出用户的一些个人喜好。例如,如果检测到用户经常在购物客户端购物打折商品,那么可以可以判定用户在一定程度上比较在意物品的价格,那么在推荐外卖商户时,就尽可能的推荐打折的外卖商品,这样有利于用户提升推荐转化率。再例如,若用户经常浏览一些经典美食的推荐的文章,那么可以判定用户对于饮食有较高的最求,那么就可以给用户推荐一些有特色且品质较高的外卖商品。It is understandable that in the process of using electronic devices, users may use electronic devices to access the Internet, or use media such as music players, or browse news through news clients, or make online purchases through shopping clients. This operation behavior of the user can reflect some personal preferences of the user. For example, if it is detected that the user often purchases discounted products on the shopping client, then it can be determined that the user is more concerned about the price of the item to a certain extent, then when recommending a takeaway merchant, it is recommended to recommend discounted takeaway products as much as possible, which is beneficial Users increase the conversion rate of recommendations. For another example, if the user often browses articles recommended for some classic food, it can be determined that the user has a higher demand for food, and then some distinctive and high-quality takeaway products can be recommended to the user.
那么基于上述情况,作为一种方式,在步骤S230之前还可以包括:周期性的获取所述语音助手绑定用户历史操作行为;基于所述用户历史操作行为,计算得到与用户匹配的兴趣类别作为用户画像参数。Based on the above situation, as a way, before step S230, it may further include: periodically acquiring the historical operation behavior of the user bound to the voice assistant; based on the historical operation behavior of the user, calculating the interest category matching the user as User portrait parameters.
而具体的,作为一种方式,基于所述用户历史操作行为,计算得到与用户匹配的兴趣类别作为用户画像参数的步骤包括:Specifically, as a method, based on the user's historical operation behavior, the step of calculating the interest category matching the user as the user portrait parameter includes:
获取多个行为维度中与所述用户历史操作对应的目标行为维度。Acquire the target behavior dimension corresponding to the user's historical operation among the multiple behavior dimensions.
可选的,所述多个行为维度包括媒体访问维度、新闻维度、消费记录维度以及网页 浏览维度中的至少两个。可以理解的是,在本实施例中,语音助手可以对用户的每次行为进行监测并进行识别。例如,在检测到用户购买了一件打折商品操作行为后,那么就会判定目标行为维度为消费记录维度。再例如,当检测到用户打开了标题为“经典美食推荐”的网页后,就会判定目标行为维度为网页浏览维度。Optionally, the multiple behavior dimensions include at least two of a media access dimension, a news dimension, a consumption record dimension, and a web page browsing dimension. It is understandable that, in this embodiment, the voice assistant can monitor and recognize each behavior of the user. For example, after detecting that the user purchases a discounted product, the target behavior dimension is determined to be the consumption record dimension. For another example, when it is detected that the user has opened a webpage titled "Classic Food Recommendations", it will be determined that the target behavior dimension is the webpage browsing dimension.
可选的,每个行为维度所对应的多个兴趣类别相同。具体的,每个行为维度对应的多个兴趣类别包括价格类、便捷性类以及口味偏好类中至少两个。那么在获取到目标行为维度后,可以进一步的获取目标兴趣类别。所述目标兴趣类别为所述目标行为维度对应的多个兴趣类别中与所述用户历史操作行为对应的兴趣类别。例如,在检测到用户购买了一件打折商品操作行为后,那么不仅会判定目标行为维度为消费记录维度,而且会进一步的判定目标兴趣类别为价格类。再例如,在检测到用户打开了标题为“经典美食推荐”的网页后,不仅会判定目标行为维度为网页浏览维度,还会进一步的判定目标兴趣类别为口味偏好类。Optionally, multiple interest categories corresponding to each behavior dimension are the same. Specifically, the multiple interest categories corresponding to each behavior dimension include at least two of the price category, the convenience category, and the taste preference category. Then after obtaining the target behavior dimension, the target interest category can be further obtained. The target interest category is an interest category corresponding to the user's historical operation behavior among multiple interest categories corresponding to the target behavior dimension. For example, after detecting the operation behavior of the user purchasing a discounted product, not only the target behavior dimension is determined as the consumption record dimension, but also the target interest category is further determined as the price category. For another example, after detecting that the user has opened a webpage titled "Classic Food Recommendations", not only will the target behavior dimension be determined as the page browsing dimension, but also the target interest category will be further determined as the taste preference category.
增加所述目标兴趣类别的评分。Increase the score of the target interest category.
可以理解的是,对于每个行为维度的多个兴趣类别都可以对应配置评分,其中,评分越高表征用户越发的关注。那么在确定当次操作行为所对应的目标兴趣类别后,就可以增加所述目标兴趣类别的评分。例如,可以每次增加1分或者2分。It is understandable that scores can be configured for multiple interest categories in each behavior dimension, where a higher score indicates that the user pays more attention. Then, after determining the target interest category corresponding to the current operation behavior, the score of the target interest category can be increased. For example, you can add 1 point or 2 points each time.
基于每个行为维度所对应的多个兴趣类别的评分,计算得到与用户匹配的兴趣类别作为用户画像参数。Based on the scores of multiple interest categories corresponding to each behavior dimension, the interest category matching the user is calculated as the user portrait parameter.
需要说明的是,语言助手可以在每增加某一个维度的某一个兴趣类别的评分后,就开始计算与用户匹配的兴趣类别作为用户画像参数,也可以是周期性的算与用户匹配的兴趣类别作为用户画像参数。It should be noted that the language assistant can start to calculate the interest category matching the user as the user portrait parameter after each increase in the score of a certain interest category in a certain dimension, or it can be periodically calculated as the interest category matching the user As a user portrait parameter.
而在计算过程中,作为一种方式,所述基于每个行为维度所对应的多个兴趣类别的评分,计算得到与用户匹配的兴趣类别作为用户画像参数的步骤包括:计算得到每个所述兴趣类别的多个中间值,所述多个中间值为多个行为维度中同一兴趣类别的评分各自乘以所属行为维度的权重的值;将每个兴趣类别的多个中间值求和得到每个兴趣类别的总评分值;将总评分值排序满足目标条件的的兴趣类别作为与用户匹配的兴趣类别;将所述与用户匹配的兴趣类别作为用户画像参数。In the calculation process, as a way, the step of calculating the interest category matching the user as the user portrait parameter based on the scores of the multiple interest categories corresponding to each behavior dimension includes: calculating each of the Multiple intermediate values of interest categories, where the multiple intermediate values of the scores of the same interest category in multiple behavior dimensions are each multiplied by the weight of the respective behavior dimension; the multiple intermediate values of each interest category are summed to obtain each The total score value of each interest category; the interest categories that are ranked by the total score value and satisfy the target condition are used as the interest category matched with the user; and the interest category matched with the user is used as the user portrait parameter.
下面再通过一个实例来对上述内容进行说明。Here is another example to illustrate the above content.
例如,在某一次的计算过程中,行为维度包括网页浏览维度、新闻维度以及消费记录维度。每个行为维度均对应价格类、便捷性类以及口味偏好类着几个兴趣类别。For example, in a certain calculation process, the behavioral dimensions include web browsing dimensions, news dimensions, and consumption record dimensions. Each behavior dimension corresponds to several interest categories such as price category, convenience category and taste preference category.
其中,网页浏览维度的权重为0.5,新闻维度为权重为0.2,消费记录维度的权重为0.3。而每个维度对应的兴趣类别的评分如下表所示。Among them, the web browsing dimension has a weight of 0.5, the news dimension has a weight of 0.2, and the consumption record dimension has a weight of 0.3. The scores of interest categories corresponding to each dimension are shown in the following table.
Figure PCTCN2019087666-appb-000001
Figure PCTCN2019087666-appb-000001
那么就可以计算得到价格类的中间值包括0.5、0.4以及1.5,进而得到价格类的总评分值为2.4。计算得到便捷性类的中间值包0.5、0.6以及0.9,进而得到便捷性类的总评分值为2.0。计算得到口味偏好类的中间值包0.5、0.8以及0.6,进而得到便捷性类的总评分值为1.9。那么在目标条件为排序靠前2位的兴趣类别作为与用户匹配的兴趣类别的情况下,就可以计算得到与用户匹配的兴趣类别包括价格类以及便捷性类。Then you can calculate that the median value of the price category includes 0.5, 0.4, and 1.5, and then the total score of the price category is 2.4. The intermediate value packages 0.5, 0.6, and 0.9 of the convenience class are calculated, and then the total score value of the convenience class is 2.0. The intermediate value packages 0.5, 0.8, and 0.6 of the taste preference category are calculated, and the total score value of the convenience category is 1.9. Then, when the target condition is that the top two interest categories are ranked as the interest categories matching the user, the interest categories matching the user can be calculated to include the price category and the convenience category.
步骤S240:显示卡片,并在所述卡片中显示所述目标外卖商户信息。Step S240: Display a card, and display the target takeaway merchant information in the card.
需要说明的是,在一些情况下,用户在使用语音助手点外卖的过程中会有一定的倾向性, 那么对于这些倾向性将会直接作为推荐的参考。例如,若识别到所述接收到的语音信息中包括“我想点一份便宜的外卖”,那么就可以确定当次用户倾向于点一份便宜的外卖,那么语音助手就可以不用在基于“便宜类”这个兴趣类别来计算得到与用户匹配的类别。那么在本实施例中,作为一种方式,若识别到所述外卖相关信息中包括有指定的兴趣类别时,配置所述多个兴许类别排除所述指定的兴趣类别;所述将总评分值排序满足目标条件的的兴趣类别作为与用户匹配的兴趣类别的步骤包括:将总评分值排序满足目标条件的的兴趣类别以及所述指定的兴趣类别作为与用户匹配的兴趣类别。It should be noted that, in some cases, users have certain tendencies in the process of using the voice assistant to order takeaways, and these tendencies will be directly used as recommendations for reference. For example, if it is recognized that the received voice message includes "I want to order a cheap takeaway", then it can be determined that the user tends to order a cheap takeaway at the time, and the voice assistant may not be based on " "Cheap category" is an interest category to calculate the category that matches the user. Then, in this embodiment, as a way, if it is recognized that the takeaway-related information includes a specified interest category, configure the multiple possible categories to exclude the specified interest category; the total score value The step of sorting the interest categories that meet the target condition as the interest categories that match the user includes: sorting the interest categories that meet the target condition by the total score value and the designated interest category as the interest categories that match the user.
在本实施例中,作为一种方式,所述方法还包括:获取待处理的行为维度,所述待处理的行为维度为多个所述周期内均没有对应的历史操作行为的行为维度;将所述待处理的行为维度从所述多个行为维度中删除,并对应调整所述多个行为维度中剩余行为维度的权重,以使所述中剩余行为维度的权重的和为1。In this embodiment, as a way, the method further includes: obtaining a behavior dimension to be processed, where the behavior dimension to be processed is a behavior dimension that has no corresponding historical operation behavior in a plurality of periods; The behavior dimension to be processed is deleted from the multiple behavior dimensions, and the weights of the remaining behavior dimensions in the multiple behavior dimensions are adjusted accordingly, so that the sum of the weights of the remaining behavior dimensions is 1.
在本实施例中,作为一种方式,所述方法还包括:获取待处理的兴趣类别,所述待处理的兴趣类别为多个所述周期内所述总评分值排序均不满足所述目标条件的兴趣类别;将所述待处理的兴趣类别从所述多个兴趣类别中删除。In this embodiment, as a way, the method further includes: obtaining a category of interest to be processed, where the category of interest to be processed is that the ranking of the total score value in a plurality of the periods does not satisfy the target Conditional interest category; delete the to-be-processed interest category from the multiple interest categories.
本申请提供的一种信息推荐方法,通过本方法实现了用户通过语音来触发显示外卖的相关信息,并且语音助手可以根据用户的画像给用户推荐匹配的外卖商户信息,进而可以使得用户更快的获取到自己所需的外卖商品,进而不需要再单独启动用于点外卖的目标客户端,然后再通过多次的页面滑动来查找自己所需的外卖,从而极大的提升了用户体验。并且在基于用户画像匹配目标外卖商户信息的过程中,会基于多个维度以及每个维度对应的多个兴趣类别来计算出匹配用户的目标外卖商户信息,进而提升了推荐的准确度以及匹配度,极大的提升了用户体验。This application provides an information recommendation method, through which the user can trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user’s portrait, which can make the user faster Obtain the takeaway products you need, and you don’t need to start the target client for ordering takeaways separately, and then you can find the takeaways you need through multiple page scrolling, which greatly improves the user experience. And in the process of matching the target takeaway merchant information based on the user portrait, the target takeaway merchant information of the matching user will be calculated based on multiple dimensions and multiple interest categories corresponding to each dimension, thereby improving the accuracy and matching of the recommendation , Which greatly improves the user experience.
请参阅图11,本申请实施例提供的一种信息推荐方法,应用于语言助手,所述方法包括:Refer to FIG. 11, an information recommendation method provided by an embodiment of the present application is applied to a language assistant, and the method includes:
步骤S310:所述语音助手在启动后开始接收语音信息。Step S310: The voice assistant starts to receive voice information after being started.
步骤S320:当接收到语音信息后,对所述接收到的语音信息进行识别。Step S320: After receiving the voice information, recognize the received voice information.
步骤S321:若识别到所述接收到的语音信息中未包括有外卖相关信息时,结束当次流程。Step S321: If it is recognized that the received voice information does not include takeaway related information, end the current process.
步骤S331:若识别到所述接收到的语音信息中包括有外卖相关信息时,识别所述外卖相关信息是否包括关于预先配置订外卖模式的模式信息。Step S331: If it is recognized that the received voice information includes takeaway-related information, identify whether the takeaway-related information includes mode information about a pre-configured ordering mode of takeaway.
步骤S340:若识别包括预先配置的模式信息,获取与所述模式信息对应商户的商品信息。Step S340: If the identification includes pre-configured mode information, obtain product information of the merchant corresponding to the mode information.
作为一种方式,若识别所述模式信息为最喜欢模式时,获取用户配置的最喜欢商户中最喜欢的商品信息;若识别所述模式信息为最近模式时,获取用户最近一次下单的外卖商户以及外卖商品信息;以及若识别所述模式信息为最多模式时,获取用户下单最多的外卖商户以及外卖商品信息。As a way, if the mode information is recognized as the favorite mode, obtain the favorite product information in the favorite merchant configured by the user; if the mode information is recognized as the most recent mode, obtain the takeaway that the user recently ordered Merchant and takeaway product information; and if it is recognized that the mode information is the most mode, obtain the takeaway merchant and takeaway product information with the most orders placed by the user.
步骤S350:基于所述与所述模式信息对应商户的商品信息生成订单。Step S350: Generate an order based on the commodity information of the merchant corresponding to the mode information.
作为一种方式,所述基于所述与所述模式信息对应商户的商品信息生成订单的步骤包括:显示与所述模式信息对应商户的商品信息;若识别到确认下单的语音信息后,基于所述与所述模式信息对应商户的商品信息生成订单。As a way, the step of generating an order based on the product information of the merchant corresponding to the mode information includes: displaying the product information of the merchant corresponding to the mode information; if the voice information for confirming the order is recognized, based on The commodity information of the merchant corresponding to the mode information generates an order.
在一种方式中,语音助手在获取到与所述模式信息对应商户的商品信息后,可以直接基于获取到的商品信息生成订单。In one manner, after acquiring the product information of the merchant corresponding to the mode information, the voice assistant can directly generate an order based on the acquired product information.
作为另一种方式,在获取与所述模式信息对应商户的商品信息后,可以先显示与所述模式信息对应商户的商品信息,若识别到确认下单的语音信息后,基于所述与所述模式信息对应商户的商品信息生成订单。例如,若语音助手在识别到用户说的是“我要点最喜欢的外卖”,语音助手在识别到有“最喜欢”这个模式信息后,或直接获取预先配置的最喜欢的商品生成订单。当然,在另一种方式中,语音助手在识别到有“最喜欢” 这个模式信息后,可以先以前述卡片的形式显示“最喜欢”这个模式信息所对应的商品,然后再识别到有“下单吧”或者“就这个”等类似确认的语义后,就基于所述与所述模式信息对应商户的商品信息生成订单。As another way, after obtaining the product information of the merchant corresponding to the mode information, the product information of the merchant corresponding to the mode information may be displayed first. If the voice information for confirming the order is recognized, based on the information The mode information corresponds to the merchandise information of the merchant to generate an order. For example, if the voice assistant recognizes that the user says "I want to order my favorite takeaway", the voice assistant may directly obtain pre-configured favorite products to generate an order after recognizing that there is "favorite" mode information. Of course, in another way, after the voice assistant recognizes the "favorite" mode information, it can first display the product corresponding to the "favorite" mode information in the form of the aforementioned card, and then recognize that there is "favorite" mode information. After similar semantics such as "Place an order" or "just this" are confirmed, an order is generated based on the product information of the merchant corresponding to the mode information.
此外,例如,语音助手在识别到用户说的是“和上一次一样的外卖”,那么语音助手可以识别到模式信息为最近一次,那么就可以直接按照上一次下单的商品生成订单。In addition, for example, when the voice assistant recognizes that the user said "the same takeaway as last time", the voice assistant can recognize that the mode information is the most recent, and then it can directly generate an order based on the last order.
步骤S360:若识别所述外卖相关信息不包括预先配置的模式信息,获取待推荐的目标外卖商户信息,所述目标外卖商户信息为与所述语音助手绑定用户的用户画像匹配的外卖商户信息。Step S360: If it is recognized that the takeaway related information does not include the pre-configured mode information, obtain the target takeaway merchant information to be recommended, where the target takeaway merchant information is the takeaway merchant information matching the user portrait of the user bound to the voice assistant .
步骤S370:显示卡片,并在所述卡片中显示所述目标外卖商户信息。Step S370: Display a card, and display the target takeaway merchant information in the card.
本申请提供的一种信息推荐方法,通过本方法实现了用户通过语音来触发显示外卖的相关信息,并且语音助手可以根据用户的画像给用户推荐匹配的外卖商户信息,进而可以使得用户更快的获取到自己所需的外卖商品,进而不需要再单独启动用于点外卖的目标客户端,然后再通过多次的页面滑动来查找自己所需的外卖,从而极大的提升了用户体验。并且在还可以同时基于预先配置的模式信息,获取与所述模式信息对应商户的商品信息作为目标外卖商户信息进行推荐,进而能够增强推荐的灵活性。This application provides an information recommendation method, through which the user can trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user’s portrait, which can make the user faster Obtain the takeaway products you need, and you don’t need to start the target client for ordering takeaways separately, and then you can find the takeaways you need through multiple page scrolling, which greatly improves the user experience. In addition, based on the pre-configured mode information, the product information of the merchant corresponding to the mode information can be obtained as the target takeaway merchant information for recommendation, thereby enhancing the flexibility of recommendation.
请参阅图12,本申请实施例提供的一种信息推荐装置400,所述装置400包括:Please refer to FIG. 12, an information recommendation apparatus 400 provided by an embodiment of the present application, the apparatus 400 includes:
语音信息接收单元410,用于在所述语音信息处理装置启动后接收语音信息。The voice information receiving unit 410 is configured to receive voice information after the voice information processing device is started.
语音识别单元420,用于当接收到语音信息后,对所述接收到的语音信息进行识别。The voice recognition unit 420 is configured to recognize the received voice information after receiving the voice information.
外卖信息获取单元430,用于若识别到所述接收到的语音信息中包括有外卖相关信息时,获取待推荐的目标外卖商户信息,所述目标外卖商户信息为与所述语音助手绑定用户的用户画像匹配的外卖商户信息。The takeaway information obtaining unit 430 is configured to obtain information about a target takeaway merchant to be recommended if it is recognized that the received voice information includes takeaway related information, where the target takeaway merchant information is a user bound to the voice assistant The information of the takeaway merchant matched by the user profile.
信息显示单元440,用于显示卡片,并在所述卡片中显示所述目标外卖商户信息。The information display unit 440 is configured to display a card, and display the target takeaway merchant information in the card.
作为一种方式,信息显示单元440具体用于若识别到所述用户画像参数表征用户有多个兴趣类别;显示多个卡片,每个卡片显示一个兴趣类别对应的目标外卖商户信息。As a way, the information display unit 440 is specifically configured to: if it is recognized that the user portrait parameter indicates that the user has multiple interest categories; to display multiple cards, each card displays target takeaway merchant information corresponding to one interest category.
其中,作为一种方式,外卖信息获取单元430,具体用于获取存储的预先计算得到的用户画像参数,所述用户画像参数表征用户的感兴趣商品的类别;基于所述用户画像参数获取对应的外卖商户信息作为待推荐的目标外卖商户信息。Among them, as a way, the takeaway information obtaining unit 430 is specifically configured to obtain stored pre-calculated user portrait parameters, where the user portrait parameters characterize the category of the user’s interest in commodities; and obtain corresponding user portrait parameters based on the user portrait parameters. The takeaway merchant information is used as the target takeaway merchant information to be recommended.
如图13所示,所述装置400还包括用户画像计算单元450,用于周期性的获取所述语音助手绑定用户历史操作行为;基于所述用户历史操作行为,计算得到与用户匹配的兴趣类别作为用户画像参数。As shown in FIG. 13, the device 400 further includes a user portrait calculation unit 450, configured to periodically obtain the historical operation behavior of the user bound to the voice assistant; based on the historical operation behavior of the user, calculate the interest matching the user The category is used as the user portrait parameter.
画像计算单元450,具体用于获取多个行为维度中与所述用户历史操作对应的目标行为维度;获取目标兴趣类别,所述目标兴趣类别为所述目标行为维度对应的多个兴趣类别中与所述用户历史操作行为对应的兴趣类别,其中,每个行为维度所对应的多个兴趣类别相同;增加所述目标兴趣类别的评分;The portrait calculation unit 450 is specifically configured to obtain the target behavior dimension corresponding to the user's historical operation among the multiple behavior dimensions; to obtain the target interest category, where the target interest category is the same among the multiple interest categories corresponding to the target behavior dimension. The interest category corresponding to the user's historical operation behavior, where multiple interest categories corresponding to each behavior dimension are the same; increase the score of the target interest category;
基于每个行为维度所对应的多个兴趣类别的评分,计算得到与用户匹配的兴趣类别作为用户画像参数。Based on the scores of multiple interest categories corresponding to each behavior dimension, the interest category matching the user is calculated as the user portrait parameter.
画像计算单元450,具体用于计算得到每个所述兴趣类别的多个中间值,所述多个中间值为多个行为维度中同一兴趣类别的评分各自乘以所属行为维度的权重的值;将每个兴趣类别的多个中间值求和得到每个兴趣类别的总评分值;The portrait calculation unit 450 is specifically configured to calculate multiple intermediate values for each of the interest categories, where the multiple intermediate values are the values obtained by multiplying the scores of the same interest category in the multiple behavior dimensions by the weight of the corresponding behavior dimension; Sum multiple intermediate values of each interest category to obtain the total score value of each interest category;
将总评分值排序满足目标条件的的兴趣类别作为与用户匹配的兴趣类别;将所述与用户匹配的兴趣类别作为用户画像参数。The interest categories that are ranked by the total score value and satisfy the target conditions are used as the interest categories matched with the user; the interest categories matched with the user are used as the user portrait parameters.
其中,所述多个行为维度包括媒体访问维度、新闻维度、消费记录维度以及网页浏览维度中的至少两个。所述多个兴趣类别包括价格类、便捷性类以及口味偏好类中至少两个。Wherein, the multiple behavior dimensions include at least two of media access dimensions, news dimensions, consumption record dimensions, and web page browsing dimensions. The multiple interest categories include at least two of price category, convenience category, and taste preference category.
作为一种方式,画像计算单元450,具体用于若识别到所述外卖相关信息中包括有指定的兴趣类别时,配置所述多个兴许类别排除所述指定的兴趣类别;所述将总评分值排 序满足目标条件的的兴趣类别作为与用户匹配的兴趣类别的步骤包括:将总评分值排序满足目标条件的的兴趣类别以及所述指定的兴趣类别作为与用户匹配的兴趣类别。As a way, the portrait calculation unit 450 is specifically configured to configure the plurality of possible categories to exclude the specified interest category if it is recognized that the takeaway-related information includes the specified interest category; the total score is The step of sorting the interest categories satisfying the target condition by value as the interest categories matching the user includes: sorting the interest categories satisfying the target condition by the total score value and the specified interest category as the interest categories matching the user.
作为一种方式,画像计算单元450,具体用于获取待处理的行为维度,所述待处理的行为维度为多个所述周期内均没有对应的历史操作行为的行为维度;将所述待处理的行为维度从所述多个行为维度中删除,并对应调整所述多个行为维度中剩余行为维度的权重,以使所述中剩余行为维度的权重的和为1。As a way, the portrait calculation unit 450 is specifically configured to obtain a behavior dimension to be processed, where the behavior dimension to be processed is a behavior dimension that has no corresponding historical operation behavior in multiple periods; The behavior dimension of is deleted from the multiple behavior dimensions, and the weights of the remaining behavior dimensions in the multiple behavior dimensions are adjusted accordingly, so that the sum of the weights of the remaining behavior dimensions is 1.
作为一种方式,画像计算单元450,具体用于获取待处理的兴趣类别,所述待处理的兴趣类别为多个所述周期内所述总评分值排序均不满足所述目标条件的兴趣类别;将所述待处理的兴趣类别从所述多个兴趣类别中删除。As a way, the portrait calculation unit 450 is specifically configured to obtain the interest category to be processed, and the interest category to be processed is the interest category for which the total score value ranking in the plurality of periods does not satisfy the target condition. ; Delete the interest category to be processed from the multiple interest categories.
如图14所示,所述装置400还包括信息检测单元460以及订单生成单元470。信息检测单元460用于识别所述外卖相关信息是否包括关于预先配置订外卖模式的模式信息,若识别包括预先配置的模式信息,获取与所述模式信息对应商户的商品信息。订单生成单元470用于基于所述与所述模式信息对应商户的商品信息生成订单;若识别所述外卖相关信息不包括预先配置的模式信息,执行所述获取待推荐的目标外卖商户信息。可选的,信息检测单元460,具体用于若识别所述模式信息为最喜欢模式时,获取用户配置的最喜欢商户中最喜欢的商品信息;若识别所述模式信息为最近模式时,获取用户最近一次下单的外卖商户以及外卖商品信息;以及若识别所述模式信息为最多模式时,获取用户下单最多的外卖商户以及外卖商品信息。As shown in FIG. 14, the device 400 further includes an information detection unit 460 and an order generation unit 470. The information detection unit 460 is configured to identify whether the takeaway-related information includes mode information about a pre-configured ordering mode of take-out, and if the recognition includes pre-configured mode information, obtain product information of a merchant corresponding to the mode information. The order generation unit 470 is configured to generate an order based on the product information of the merchant corresponding to the mode information; if it is recognized that the takeaway-related information does not include the pre-configured mode information, execute the acquisition of the target takeaway merchant information to be recommended. Optionally, the information detection unit 460 is specifically configured to obtain the favorite product information in the favorite merchant configured by the user if the mode information is recognized as the favorite mode; if the mode information is recognized as the most recent mode, obtain The takeaway merchant and takeaway product information of the last time the user placed an order; and if the mode information is identified as the most mode, the takeaway merchant and takeaway product information that the user has placed the most orders.
订单生成单元470,具体用于显示与所述模式信息对应商户的商品信息;The order generating unit 470 is specifically configured to display product information of the merchant corresponding to the mode information;
若识别到确认下单的语音信息后,基于所述与所述模式信息对应商户的商品信息生成订单。订单生成单元470,还用于获取从所述目标外卖商户信息中确定的待下单的外卖商户信息;基于所述待下单的外卖商户信息生成订单。If the voice information for confirming the order is recognized, an order is generated based on the product information of the merchant corresponding to the mode information. The order generating unit 470 is further configured to obtain the information of the takeaway merchant to be placed determined from the target takeaway merchant information; and generate an order based on the information of the takeaway merchant to be placed.
在一种方式中,外卖信息获取单元430,具体用于向目标客户端的服务端发送待推荐的目标外卖商户信息获取请求,接收所述服务端返回的待推荐的目标外卖商户信息。在这种方式下,如图14所示,装置400还包括订单处理单元480,用于检测到所述订单支付后,将所述订单发送给所述服务端,并接收所述服务端返回的订单执行情况。In one manner, the takeaway information obtaining unit 430 is specifically configured to send a target takeaway merchant information obtaining request to be recommended to the server of the target client, and receive the target takeaway merchant information to be recommended returned by the server. In this manner, as shown in FIG. 14, the device 400 further includes an order processing unit 480, which is configured to send the order to the server after detecting the payment of the order, and receive the return from the server. Order execution status.
需要说明的是,本申请中装置实施例与前述方法实施例是相互对应的,装置实施例中具体的原理可以参见前述方法实施例中的内容,此处不再赘述。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.
下面将结合图15对本申请提供的一种电子设备进行说明。An electronic device provided by the present application will be described below in conjunction with FIG. 15.
请参阅图15,基于上述的信息推荐方法、装置,本申请实施例还提供的另一种可以执行前述信息推荐方法的电子设备200。电子设备200包括相互耦合的一个或多个(图中仅示出一个)处理器102、存储器104以及网络模块106。其中,该存储器104中存储有可以执行前述实施例中内容的程序,而处理器102可以执行该存储器104中存储的程序。Referring to FIG. 15, based on the foregoing information recommendation method and device, 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.
其中,处理器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中,单独通过一块通信芯片进行实现。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.
存储器104可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器104可用于存储指令、程序、代码、代码集或指令集。存储器104可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的 指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。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.
所述网络模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯,例如和音频播放设备进行通讯。所述网络模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述网络模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。例如,网络模块106可以与基站进行信息交互。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.
请参考图16,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质1100中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 16, 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.
计算机可读存储介质1100可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1100包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质1100具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1110可以例如以适当形式进行压缩。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. After the voice assistant starts to receive voice information, when the voice information is received, the received voice information is recognized. When the received voice information includes takeaway related information, the takeaway merchant information matching the user portrait of the user bound to the voice assistant is obtained as the target takeaway merchant information to be recommended, the card is displayed, and the card is displayed The target takeaway merchant information is displayed in. Thus, through this method, the user can trigger the display of takeaway related information through voice, and the voice assistant can recommend matching takeaway merchant information to the user according to the user’s portrait, so that the user can quickly obtain the takeaway goods he needs. Furthermore, there is no need to separately start the target client for ordering food, and then through multiple page scrolling to find the food you need, which greatly improves the user experience.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。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:
    所述语音助手在启动后开始接收语音信息;The voice assistant starts to receive voice information after being started;
    当接收到语音信息后,对所述接收到的语音信息进行识别;After receiving the voice information, recognize the received voice information;
    若识别到所述接收到的语音信息中包括有外卖相关信息时,获取待推荐的目标外卖商户信息,所述目标外卖商户信息为与所述语音助手绑定用户的用户画像匹配的外卖商户信息;If it is recognized that the received voice information includes takeaway related information, obtain the target takeaway merchant information to be recommended, where the target takeaway merchant information is the takeaway merchant information that matches the user profile of the user bound to the voice assistant ;
    显示卡片,并在所述卡片中显示所述目标外卖商户信息。A card is displayed, and the target takeaway merchant information is displayed in the card.
  2. 根据权利要求1所述的方法,其特征在于,所述获取待推荐的目标外卖商户信息的步骤包括:The method according to claim 1, wherein the step of obtaining information of the target takeaway merchant to be recommended comprises:
    获取存储的预先计算得到的用户画像参数,所述用户画像参数表征用户的感兴趣商品的类别;Acquiring stored pre-calculated user portrait parameters, where the user portrait parameters represent the category of the user's interest product;
    基于所述用户画像参数获取对应的外卖商户信息作为待推荐的目标外卖商户信息。Obtain corresponding takeaway merchant information based on the user portrait parameter as the target takeaway merchant information to be recommended.
  3. 根据权利要求2所述的方法,其特征在于,所述获取存储的预先计算得到的用户画像参数的步骤之前还包括:The method according to claim 2, wherein before the step of obtaining the stored pre-calculated user portrait parameters, the method further comprises:
    周期性的获取所述语音助手绑定用户历史操作行为;Periodically acquiring the historical operation behavior of the user bound to the voice assistant;
    基于所述用户历史操作行为,计算得到与用户匹配的兴趣类别作为用户画像参数。Based on the historical operation behavior of the user, the interest category matching the user is calculated as the user portrait parameter.
  4. 根据权利要求3所述的方法,其特征在于,所述基于所述用户历史操作行为,计算得到与用户匹配的兴趣类别作为用户画像参数的步骤包括:The method according to claim 3, wherein the step of calculating, based on the historical operation behavior of the user, an interest category matching the user as a user portrait parameter comprises:
    获取多个行为维度中与所述用户历史操作对应的目标行为维度;Acquiring a target behavior dimension corresponding to the user's historical operation among multiple behavior dimensions;
    获取目标兴趣类别,所述目标兴趣类别为所述目标行为维度对应的多个兴趣类别中与所述用户历史操作行为对应的兴趣类别,其中,每个行为维度所对应的多个兴趣类别相同;Acquiring a target interest category, where the target interest category is an interest category corresponding to the user's historical operation behavior among multiple interest categories corresponding to the target behavior dimension, wherein the multiple interest categories corresponding to each behavior dimension are the same;
    增加所述目标兴趣类别的评分;Increase the score of the target interest category;
    基于每个行为维度所对应的多个兴趣类别的评分,计算得到与用户匹配的兴趣类别作为用户画像参数。Based on the scores of multiple interest categories corresponding to each behavior dimension, the interest category matching the user is calculated as the user portrait parameter.
  5. 根据权利要求4所述的方法,其特征在于,所述基于每个行为维度所对应的多个兴趣类别的评分,计算得到与用户匹配的兴趣类别作为用户画像参数的步骤包括:The method according to claim 4, wherein the step of calculating the interest category matching the user as the user portrait parameter based on the scores of the multiple interest categories corresponding to each behavior dimension comprises:
    计算得到每个所述兴趣类别的多个中间值,所述多个中间值为多个行为维度中同一兴趣类别的评分各自乘以所属行为维度的权重的值;Calculating multiple intermediate values of each of the interest categories, where the multiple intermediate values are the values obtained by multiplying the scores of the same interest category in multiple behavior dimensions by the weight of the corresponding behavior dimension;
    将每个兴趣类别的多个中间值求和得到每个兴趣类别的总评分值;Sum multiple intermediate values of each interest category to obtain the total score value of each interest category;
    将总评分值排序满足目标条件的的兴趣类别作为与用户匹配的兴趣类别;Sort the interest categories that meet the target conditions by the total score value as the interest categories that match the user;
    将所述与用户匹配的兴趣类别作为用户画像参数。The interest category matched with the user is used as the user portrait parameter.
  6. 根据权利要求4或5所述的方法,其特征在于,所述多个行为维度包括媒体访问维度、新闻维度、消费记录维度以及网页浏览维度中的至少两个。The method according to claim 4 or 5, wherein the multiple behavior dimensions include at least two of a media access dimension, a news dimension, a consumption record dimension, and a web browsing dimension.
  7. 根据权利要求4或5所述的方法,其特征在于,所述多个兴趣类别包括价格类、便捷性类以及口味偏好类中至少两个。The method according to claim 4 or 5, wherein the multiple interest categories include at least two of a price category, a convenience category, and a taste preference category.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    若识别到所述外卖相关信息中包括有指定的兴趣类别时,配置所述多个兴许类别排除所述指定的兴趣类别;If it is recognized that the designated interest category is included in the food-related information, configure the plurality of possible categories to exclude the designated interest category;
    所述将总评分值排序满足目标条件的的兴趣类别作为与用户匹配的兴趣类别的步骤包括:The step of sorting the interest categories satisfying the target condition by the total score value as the interest categories matching the user includes:
    将总评分值排序满足目标条件的的兴趣类别以及所述指定的兴趣类别作为与用户匹配的兴趣类别。Sort the interest categories that meet the target condition by the total score value and the specified interest categories as the interest categories that match the user.
  9. 根据权利要求4或5所述的方法,其特征在于,所述方法还包括:The method according to claim 4 or 5, wherein the method further comprises:
    获取待处理的行为维度,所述待处理的行为维度为多个所述周期内均没有对应的历史操作行为的行为维度;Acquiring a behavior dimension to be processed, where the behavior dimension to be processed is a behavior dimension that has no corresponding historical operation behavior in multiple periods;
    将所述待处理的行为维度从所述多个行为维度中删除,并对应调整所述多个行为维度中剩余行为维度的权重,以使所述中剩余行为维度的权重的和为1。The behavior dimension to be processed is deleted from the multiple behavior dimensions, and the weights of the remaining behavior dimensions in the multiple behavior dimensions are adjusted accordingly, so that the sum of the weights of the remaining behavior dimensions is 1.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    获取待处理的兴趣类别,所述待处理的兴趣类别为多个所述周期内所述总评分值排序均不满足所述目标条件的兴趣类别;Acquiring a category of interest to be processed, where the category of interest to be processed is an interest category that does not satisfy the target condition in the order of the total score value in multiple periods;
    将所述待处理的兴趣类别从所述多个兴趣类别中删除。The to-be-processed interest category is deleted from the multiple interest categories.
  11. 根据权利要求2-10任一所述的方法,其特征在于,所述显示卡片,并在所述卡片中显示所述目标外卖商户信息的步骤包括:The method according to any one of claims 2-10, wherein the step of displaying the card and displaying the target takeaway merchant information in the card comprises:
    若识别到所述用户画像参数表征用户有多个兴趣类别;If it is recognized that the user portrait parameter indicates that the user has multiple interest categories;
    显示多个卡片,每个卡片显示一个兴趣类别对应的目标外卖商户信息。Display multiple cards, and each card displays the target takeaway merchant information corresponding to an interest category.
  12. 根据权利要求1-11任一所述的方法,其特征在于,获取待推荐的目标外卖商户信息的步骤之前还包括:The method according to any one of claims 1-11, wherein before the step of obtaining information of the target takeaway merchant to be recommended, the method further comprises:
    识别所述外卖相关信息是否包括关于预先配置订外卖模式的模式信息,Identify whether the takeaway-related information includes mode information about the pre-configured ordering mode for takeaway,
    若识别包括预先配置的模式信息,获取与所述模式信息对应商户的商品信息;If the identification includes pre-configured mode information, obtain product information of the merchant corresponding to the mode information;
    基于所述与所述模式信息对应商户的商品信息生成订单;Generating an order based on the commodity information of the merchant corresponding to the mode information;
    若识别所述外卖相关信息不包括预先配置的模式信息,执行所述获取待推荐的目标外卖商户信息。If it is recognized that the takeaway-related information does not include the pre-configured mode information, the acquisition of the target takeaway merchant information to be recommended is performed.
  13. 根据权利要求12所述的方法,其特征在于,所述若识别包括预先配置的模式信息,获取与所述模式信息对应商户的商品信息的步骤包括:The method according to claim 12, wherein if the identification includes pre-configured mode information, the step of obtaining product information of a merchant corresponding to the mode information comprises:
    若识别所述模式信息为最喜欢模式时,获取用户配置的最喜欢商户中最喜欢的商品信息;If it is recognized that the mode information is the favorite mode, obtain the favorite product information in the favorite merchant configured by the user;
    若识别所述模式信息为最近模式时,获取用户最近一次下单的外卖商户以及外卖商品信息;以及If it is recognized that the mode information is the most recent mode, obtain the takeaway merchant and takeaway product information of the last order placed by the user; and
    若识别所述模式信息为最多模式时,获取用户下单最多的外卖商户以及外卖商品信息。If it is recognized that the mode information is the most mode, the takeaway merchants with the most orders placed by the user and takeaway product information are obtained.
  14. 根据权利要求12所述的方法,其特征在于,所述基于所述与所述模式信息对应商户的商品信息生成订单的步骤包括:The method according to claim 12, wherein the step of generating an order based on the commodity information of the merchant corresponding to the mode information comprises:
    显示与所述模式信息对应商户的商品信息;Display product information of the merchant corresponding to the mode information;
    若识别到确认下单的语音信息后,基于所述与所述模式信息对应商户的商品信息生成订单。If the voice information for confirming the order is recognized, an order is generated based on the product information of the merchant corresponding to the mode information.
  15. 根据权利要求1-11任一所述的方法,其特征在于,所述显示卡片,并在所述卡片中显示所述目标外卖商户信息的步骤之后还包括:The method according to any one of claims 1-11, wherein after the step of displaying the card and displaying the target takeaway merchant information in the card, the method further comprises:
    获取从所述目标外卖商户信息中确定的待下单的外卖商户信息;Acquiring information of the takeaway merchant to be ordered determined from the target takeaway merchant information;
    基于所述待下单的外卖商户信息生成订单。An order is generated based on the information of the takeaway merchant to be placed.
  16. 根据权利要求15所述的方法,其特征在于,所述获取待推荐的目标外卖商户信息的步骤包括:The method according to claim 15, wherein the step of obtaining information of the target takeaway merchant to be recommended comprises:
    向目标客户端的服务端发送待推荐的目标外卖商户信息获取请求,接收所述服务端返回的待推荐的目标外卖商户信息;Sending the target takeaway merchant information acquisition request to be recommended to the server of the target client, and receiving the target takeaway merchant information to be recommended returned by the server;
    所述基于所述待下单的外卖商户信息生成订单的步骤之后还包括:After the step of generating an order based on the information of the takeaway merchant to be placed, the step further includes:
    检测到所述订单支付后,将所述订单发送给所述服务端,并接收所述服务端返回的订单执行情况。After detecting the payment of the order, the order is sent to the server, and the order execution status returned by the server is received.
  17. 根据权利要求1-16任一所述的方法,其特征在于,外卖相关信息包括:我要点外卖、点外卖或外卖。The method according to any one of claims 1-16, wherein the takeaway-related information includes: I want to order takeaway, order takeaway, or takeaway.
  18. 一种信息推荐装置,其特征在于,所述装置包括:An information recommendation device, characterized in that the device includes:
    语音信息接收单元,用于在所述语音信息处理装置启动后接收语音信息;A voice information receiving unit for receiving voice information after the voice information processing device is started;
    语音识别单元,用于当接收到语音信息后,对所述接收到的语音信息进行识别;The voice recognition unit is used to recognize the received voice information after receiving the voice information;
    外卖信息获取单元,用于若识别到所述接收到的语音信息中包括有外卖相关信息时,获取待推荐的目标外卖商户信息,所述目标外卖商户信息为与所述语音助手绑定用户的用户画像匹配的外卖商户信息;The takeaway information acquisition unit is configured to obtain the target takeaway merchant information to be recommended when it is recognized that the received voice information includes takeaway related information, and the target takeaway merchant information is the information of the user bound to the voice assistant Information of takeaway merchants matching user portraits;
    信息显示单元,用于显示卡片,并在所述卡片中显示所述目标外卖商户信息。The information display unit is used to display the card, and display the target takeaway merchant information in the card.
  19. 一种电子设备,其特征在于,包括一个或多个处理器以及存储器;An electronic device, characterized in that it includes one or more processors and a memory;
    一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行以实现权利要求1-17任一所述的方法。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-17.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码被处理器运行时执行权利要求1-17任一所述的方法。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-17 is executed when the program code is run by a processor.
PCT/CN2019/087666 2019-05-20 2019-05-20 Information recommendation method and apparatus, and electronic device and storage medium WO2020232616A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980089699.4A CN113330475A (en) 2019-05-20 2019-05-20 Information recommendation method and device, electronic equipment and storage medium
PCT/CN2019/087666 WO2020232616A1 (en) 2019-05-20 2019-05-20 Information recommendation method and apparatus, and electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/087666 WO2020232616A1 (en) 2019-05-20 2019-05-20 Information recommendation method and apparatus, and electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2020232616A1 true WO2020232616A1 (en) 2020-11-26

Family

ID=73459540

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/087666 WO2020232616A1 (en) 2019-05-20 2019-05-20 Information recommendation method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113330475A (en)
WO (1) WO2020232616A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560702A (en) * 2020-12-17 2021-03-26 北京赢识科技有限公司 User interest portrait generation method and device, electronic equipment and medium
CN116932919A (en) * 2023-09-15 2023-10-24 中关村科学城城市大脑股份有限公司 Information pushing method, device, electronic equipment and computer readable medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114021579B (en) * 2022-01-05 2022-04-19 浙江口碑网络技术有限公司 Object prediction method, device, electronic equipment and computer readable storage medium
CN114547475B (en) * 2022-04-27 2022-07-26 中信建投证券股份有限公司 Resource recommendation method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869001A (en) * 2015-01-19 2016-08-17 苏宁云商集团股份有限公司 Customized product recommendation guiding method and system
CN106447411A (en) * 2016-12-27 2017-02-22 东华互联宜家数据服务有限公司 Matching platform and matching system
CN108520058A (en) * 2018-03-30 2018-09-11 维沃移动通信有限公司 A kind of Business Information recommends method and mobile terminal

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218376A (en) * 2009-03-18 2010-09-30 Nomura Research Institute Ltd System for analyzing category of user interest
CN103325052A (en) * 2013-07-03 2013-09-25 姚明东 Commodity recommendation method based on multidimensional user consumption propensity modeling
CN105894332A (en) * 2016-04-22 2016-08-24 深圳市永兴元科技有限公司 Commodity recommendation method, device and system based on user behavior analysis
US10022614B1 (en) * 2016-05-02 2018-07-17 Bao Tran Smart device
CN107578320A (en) * 2017-09-19 2018-01-12 拉扎斯网络科技(上海)有限公司 Booking method for meal and relevant apparatus based on interactive voice
CN112150212A (en) * 2017-09-30 2020-12-29 口碑(上海)信息技术有限公司 Shop recommendation method and device based on recommendation reason
CN107580073A (en) * 2017-10-19 2018-01-12 世纪龙信息网络有限责任公司 Realize the method and device of targeted customer's message push
CN107993134A (en) * 2018-01-23 2018-05-04 北京知行信科技有限公司 A kind of smart shopper exchange method and system based on user interest
CN108335177A (en) * 2018-03-09 2018-07-27 京东方科技集团股份有限公司 Shopping recommendation method, user terminal, server-side, equipment and storage medium
CN108769159A (en) * 2018-05-16 2018-11-06 北京豆果信息技术有限公司 A kind of electronic cookbook intelligent recommendation method
CN108960975A (en) * 2018-06-15 2018-12-07 广州麦优网络科技有限公司 Personalized Precision Marketing Method, server and storage medium based on user's portrait
CN109543111B (en) * 2018-11-28 2021-09-21 广州虎牙信息科技有限公司 Recommendation information screening method and device, storage medium and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105869001A (en) * 2015-01-19 2016-08-17 苏宁云商集团股份有限公司 Customized product recommendation guiding method and system
CN106447411A (en) * 2016-12-27 2017-02-22 东华互联宜家数据服务有限公司 Matching platform and matching system
CN108520058A (en) * 2018-03-30 2018-09-11 维沃移动通信有限公司 A kind of Business Information recommends method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560702A (en) * 2020-12-17 2021-03-26 北京赢识科技有限公司 User interest portrait generation method and device, electronic equipment and medium
CN116932919A (en) * 2023-09-15 2023-10-24 中关村科学城城市大脑股份有限公司 Information pushing method, device, electronic equipment and computer readable medium
CN116932919B (en) * 2023-09-15 2023-11-24 中关村科学城城市大脑股份有限公司 Information pushing method, device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN113330475A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
WO2020232615A1 (en) Information recommendation method and apparatus, and electronic device and storage medium
US10977716B2 (en) System and method for providing multiple application programming interfaces for a browser to manage payments from a payment service
US11461828B2 (en) System and method for receiving data at a merchant device from a user device over a wireless link
WO2020232616A1 (en) Information recommendation method and apparatus, and electronic device and storage medium
US9734526B2 (en) System and method for providing a buy option through postings on a social network when user input is classified as having a sale intent
US9930167B2 (en) Messaging application with in-application search functionality
CN109033299A (en) It is a kind of by terminal applies to the method, device and equipment of user's recommendation information
CN112184374A (en) Commodity recommendation method and device, computer equipment and storage medium
CN111899068A (en) Commodity shopping guide method and device, storage medium and computer equipment
KR20190035352A (en) Method and application for providing smart voice recognition shopping service
US20210174428A1 (en) System and method for providing multple application programming interfaces for a browser to manage payments from a payment service
CN112711706A (en) Information interaction method and device, readable storage medium and electronic equipment
WO2020232617A1 (en) Voice information processing method and apparatus, and electronic device and storage medium
CN113366524B (en) Information recommendation method, device, electronic equipment and storage medium
CN112700278A (en) Method and device for publishing questionnaire on line, storage medium and electronic equipment
CN117252730B (en) Service subscription processing system, service subscription information processing method and device
US11663632B2 (en) Network server and method for providing web pages to user terminals
US11734733B2 (en) Conversational mapping of web items for mediated group decisions
WO2020258082A1 (en) Information recommendation method and apparatus, electronic device and storage medium
JP6433544B1 (en) Information processing apparatus, information processing method, and information processing program
CN116645171A (en) Information display method and device, storage medium and computer equipment
CN114997948A (en) Information display method, device, equipment and computer readable storage medium
CN116342160A (en) Method and device for determining user tag
CN113763070A (en) Information recommendation method and device
CN113313510A (en) Data processing method, device and medium

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: 19929583

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 21.04.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19929583

Country of ref document: EP

Kind code of ref document: A1