Method and apparatus for generating information

US11164579B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11164579-B2
Application numberUS-201916448319-A
CountryUS
Kind codeB2
Filing dateJun 21, 2019
Priority dateJul 3, 2018
Publication dateNov 2, 2021
Grant dateNov 2, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and an apparatus for generating information are provided. The method includes: determining, in response to receiving a first user sentence, whether a keyword of a preset first category is included in the first user sentence, the first category including at least one subcategory; determining, in response to determining the first category keyword being included in the first user sentence, the first category keyword included in the first user sentence as a first keyword, and determining a subcategory to which the first keyword belongs, to generate a first keyword set and a subcategory set; and selecting, based on the first keyword set and the subcategory set, a song list from a pre-generated song list set as a to-be-played song list, to generate a to-be-played song list set, the song list including at least one piece of audio and song list category information.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for generating information, comprising: determining, in response to receiving a first user sentence, whether a first category keyword of a preset first category is included in the first user sentence, the first category including at least one subcategory; determining, in response to determining the first category keyword being included in the first user sentence, the first category keyword included in the first user sentence as a first keyword, and determining a subcategory to which the first keyword belongs, to generate a first keyword set and a subcategory set; and selecting, based on the first keyword set and the subcategory set, a song list from a pre-generated song list set as a to-be-played song list, to generate a to-be-played song list set, the song list including at least one piece of audio and song list category information, wherein the first category keyword is preset to have a weight value, and the selecting, based on the first keyword set and the subcategory set, a song list from a pre-generated song list set as a to-be-played song list, to generate a to-be-played song list set comprises: determining, in response to at least two first keywords being included in the first keyword set, whether a song list satisfying a preset condition is included in the pre-generated song list set, based on the at least two first keywords and subcategories to which the at least two first keywords belong; selecting, in response to the song list satisfying the preset condition being included in the pre-generated song list set, the song list satisfying the preset condition as the to-be-played song list, to generate the to-be-played song list set; determining, in response to the song list satisfying the preset condition being not included in the pre-generated song list set, weight values of the at least two first keywords respectively; and selecting, based on the first keyword having the maximum weight value and a subcategory to which the first keyword having the maximum weight value belongs, a song list from the pre-generated song list set as the to-be-played song list, to generate the to-be-played song list set. 2. The method according to claim 1 , further comprising: determining, in response to determining a preset second category keyword being included in the first user sentence, the second category keyword included in the first user sentence as a second keyword; and determining, based on the second keyword and the first keyword set, a target keyword from the first category keyword, and determining a subcategory to which the target keyword belongs, wherein the selecting, based on the first keyword set and the subcategory set, a song list from a pre-generated song list set as a to-be-played song list, to generate a to-be-played song list set comprises: selecting, based on the target keyword and the subcategory to which the target keyword belongs, a song list from the pre-generated song list set as the to-be-played song list, to generate the to-be-played song list set. 3. The method according to claim 1 , further comprising: playing the audio included in the song list in the to-be-played song list set. 4. The method according to claim 3 , further comprising: performing, in response to determining a preset third category keyword being included in a received second user sentence, a corresponding preset operation based on the third category keyword included in the second user sentence, the preset operation including one of: switching a currently played song list and adding the currently played song list to favourites. 5. An apparatus for generating information, comprising: at least one processor; and a memory storing instructions, wherein the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising: determining, in response to receiving a first user sentence, whether a first category keyword of a preset first category is included in the first user sentence, the first category including at least one subcategory; determining, in response to determining the first category keyword being included in the first user sentence, the first category keyword included in the first user sentence as a first keyword, and determine a subcategory to which the first keyword belongs, to generate a first keyword set and a subcategory set; and selecting, based on the first keyword set and the subcategory set, a song list from a pre-generated song list set as a to-be-played song list, to generate a to-be-played song list set, the song list including at least one piece of audio and song list category information, wherein the first category keyword is preset to have a weight value, and the selecting, based on the first keyword set and the subcategory set, a song list from a pre-generated song list set as a to-be-played song list, to generate a to-be-played song list set comprises: determining, in response to at least two first keywords being included in the first keyword set, whether a song list satisfying a preset condition is included in the pre-generated song list set, based on the at least two first keywords and subcategories to which the at least two first keywords belong; selecting, in response to the song list satisfying the preset condition being included in the pre-generated song list set, the song list satisfying the preset condition as the to-be-played song list, to generate the to-be-played song list set; determining, in response to the song list satisfying the preset condition being not included in the pre-generated song list set, weight values of the at least two first keywords respectively; and selecting, based on the first keyword having the maximum weight value and a subcategory to which the first keyword having the maximum weight value belongs, a song list from the pre-generated song list set as the to-be-played song list, to generate the to-be-played song list set. 6. The apparatus according to claim 5 , wherein the operations further comprise: determining, in response to determining a preset second category keyword being included in the first user sentence, the second category keyword included in the first user sentence as a second keyword; and determining, based on the second keyword and the first keyword set, a target keyword from the first category keyword, and determine a subcategory to which the target keyword belongs, wherein the selecting, based on the first keyword set and the subcategory set, a song list from a pre-generated song list set as a to-be-played song list, to generate a to-be-played song list set comprises: selecting, based on the target keyword and the subcategory to which the target keyword belongs, a song list from the pre-generated song list set as the to-be-played song list, to generate the to-be-played song list set. 7. The apparatus according to claim 5 , wherein the operations further comprise: playing the audio included in the song list in the to-be-played song list set. 8. The apparatus according to claim 7 , wherein the operations further comprise: performing, in response to determining a preset third category keyword being included in a received second user sentence, a corresponding preset operation based on the third category keyword included in the second user sentence, the preset operation including one of: switching a currently played song list and adding the currently played song list to favourites. 9. A non-transitory computer readable medium, storing a computer program, wherein the program, when executed by a processor, causes the processor to perform operations, the operations comprising: determining, in response to receiving a first user sentence, whether a category keywo

Assignees

Inventors

Classifications

  • G06F16/639Primary

    using playlists · CPC title

  • G10L15/22Primary

    Procedures used during a speech recognition process, e.g. man-machine dialogue · CPC title

  • Execution procedure of a spoken command · CPC title

  • Word boundary detection · CPC title

  • Word spotting · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11164579B2 cover?
A method and an apparatus for generating information are provided. The method includes: determining, in response to receiving a first user sentence, whether a keyword of a preset first category is included in the first user sentence, the first category including at least one subcategory; determining, in response to determining the first category keyword being included in the first user sentence…
Who is the assignee on this patent?
Baidu online network technology beijing co ltd, Shanghai Xiaodu Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/639. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 02 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).