IP Library Granted Patent US 10,885,908
Granted Patent B2
US 10,885,908 · App. 15/855,422 · Granted Jan 5, 2021

Method and apparatus for processing information

Inventors: Hualong Zu (Beijing, CN); Haiguang Yuan (Beijing, CN); Ran Xu (Beijing, CN); Fang Duan (Beijing, CN); Chen Chen (Beijing, CN); Lei Shi (Beijing, CN)
Assignee: Baidu Online Network Technology (Beijing) Co., Ltd.
G10L15/22G06F3/167G06T11/60G10L13/00G10L15/08G01W1/10G01W2203/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,885,908
App. No.
15/855,422
Granted
Jan 5, 2021
Kind
B2
Abstract

An embodiment of the present application discloses a method and apparatus for processing information. A specific implementation of the method comprises: receiving a weather-related voice request sent by a user; identifying the voice request, and obtaining weather information corresponding to the voice request; extracting key information based on the weather information to generate a weather data set; and feeding weather data in the weather data set back to the user. The implementation can help to enrich broadcasting ways and/or broadcasting contents of the weather information.

Claims (51)

1. A method for processing information, the method comprising:

receiving a weather-related voice request sent by a user, wherein content of the voice request comprises air quality of a day and a reference index for a single day, the reference index for the single day including at least a car washing index;

identifying the voice request, and obtaining weather information corresponding to the voice request, comprising: determining whether the voice request contains a content related to a place and a time, sending a prompt message to the user to prompt the user to further input the place and the time in response to determining that the voice request does not contain the content related to the place and the time, and acquiring the weather information corresponding to the place and the time inputted by the user;

extracting key information based on the weather information and selecting a background image from a previously stored background image set;

generating a screen image based on the key information and the selected background image to generate a weather data set, the screen image including an aggregate air quality index with a textual tip related to the air quality index;

obtaining parameter information of a target contaminant based on information of the air quality of a day, the target contaminant contributing to the aggregate air quality index;

generating a contaminant screen image based on the parameter information and the selected background image, the parameter information including a name of the target contaminant, an index of the target contaminant, and a level of the index of the target contaminant;

generating a single day screen image based on the reference index for the single day, the single day screen image including one or more icons for the reference index for the single day and a status for each of the one or more icons; and

presenting the screen image, the contaminant screen image, and the single day screen image in sequence according to a preset sequence to the user automatically in response to the voice request, the preset sequence including presenting the screen image before presenting the contaminant screen image and the single day screen image.

2. The method for processing information according to claim 1 , wherein the method further comprises:

performing a voice broadcast on weather data in the weather data set.

3. The method for processing information according to claim 1 , the method further comprising:

selecting, in response to detecting current weather early warning information, a background image matching a weather type indicated by the weather early warning information from the background image set;

generating an early warning screen image according to the weather early warning information and the selected matched background image; and

performing a voice broadcast on the weather early warning information, and presenting the early warning screen image.

4. The method for processing information according to claim 1 , wherein the generating a screen image based on the key information and the selected background image to generate the weather data set comprises:

determining a weather icon corresponding to the weather information, wherein the weather icon comprises one of a static picture, a dynamic image and a video; and

generating the screen image based on the determined weather icon, the key information and the selected background image to generate the weather data set, wherein the background image comprises one of a static picture, a dynamic image and a video.

5. The method for processing information according to claim 2 , wherein the performing a voice broadcast on the weather data in the weather data set comprises:

performing a voice synthesis on the weather data in the weather data set to generate a voice message containing a background sound, wherein the background sound comprises one of a background music or a sound effect related to the weather information; and

broadcasting the voice message according to a preset requirement, wherein the preset requirement comprises one of a language, a speech speed, a speech tone and a sound type.

6. The method for processing information according to claim 1 , wherein the content of the voice request further comprises a weather information request for a single day or a weather information request for at least two days; and

the weather information request for a single day comprises one of the following requirements: a whole-day weather of a given day, a target-period weather of the given day, or a reference index of the given day, wherein the reference index comprises one of a dressing index, a car washing index, an exercise index, a traveling index, a cold index and an ultraviolet index.

7. The method for processing information according to claim 1 , wherein the content of the voice request further comprises a weather comparison request for different time periods in an identical place, wherein the weather comparison request comprises temperature comparison; and

the method further comprises:

computing a differential between maximum temperatures in different time periods, and judging whether the differential is in a preset range value; and

determining a comparison result based on a judging result, and performing a voice broadcast of the comparison result.

8. The method for processing information according to claim 1 , in response to detecting a first operation of a user, the method further comprising:

determining whether a current voice broadcast is being carried out, and upon the determining that the current voice broadcast is being carried out, stopping the current voice broadcast; and

determining whether the screen image is currently being presented, and upon the determining that the screen image is currently being presented, continuing presenting the screen image.

9. An apparatus for processing information, the apparatus comprising:

at least one processor; and

a memory storing instructions, which when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:

receiving a weather-related voice request sent by a user, wherein content of the voice request comprises air quality of a day and a reference index for a single day, the reference index for the single day including a car washing index;

identifying the voice request, and obtaining weather information corresponding to the voice request, comprising: determining whether the voice request contains a content related to a place and a time, sending a prompt message to the user to prompt the user to further input the place and the time in response to determining that the voice request does not contain the content related to the place and the time, and acquiring the weather information corresponding to the place and the time inputted by the user;

extracting key information based on the weather information and selecting a background image from a previously stored background image set;

generating a screen image based on the key information and the selected background image to generate a weather data set, the screen image including an aggregate air quality index with a textual tip related to the air quality index;

obtaining parameter information of a target contaminant based on information of the air quality of a day, the target contaminant contributing to the aggregate air quality index;

generating a contaminant screen image based on the parameter information and the selected background image, the parameter information including a name of the target contaminant, an index of the target contaminant, and a level of the index of the target contaminant;

generating a single day screen image based on the reference index for the single day, the single day screen image including one or more icons for the reference index for the single day and a status for each of the one or more icons; and

presenting the screen image, the contaminant screen image, and the single day screen image in sequence according to a preset sequence to the user automatically in response to the voice request, the preset sequence including presenting the screen image before presenting the contaminant screen image and the single day screen image.

10. The apparatus for processing information according to claim 9 , wherein the operations further comprise performing a voice broadcast on weather data in the weather data set.

11. A non-transitory computer storage medium, on which computer programs are stored, wherein when the computer programs are executed by processors, cause the processors to perform operations, the operations comprising:

receiving a weather-related voice request sent by a user, wherein content of the voice request comprises air quality of a day and a reference index for a single day, the reference index for the single day including at least a car washing index;

identifying the voice request, and obtaining weather information corresponding to the voice request, comprising: determining whether the voice request contains a content related to a place and a time, sending a prompt message to the user to prompt the user to further input the place and the time in response to determining that the voice request does not contain the content related to the place and the time, and acquiring the weather information corresponding to the place and the time inputted by the user;

extracting key information based on the weather information and selecting a background image from a previously stored background image set;

generating a screen image based on the key information and the selected background image to generate a weather data set, the screen image including an aggregate air quality index with a textual tip related to the air quality index;

obtaining parameter information of a target contaminant based on information of the air quality of a day, the target contaminant contributing to the aggregate air quality index;

generating a contaminant screen image based on the parameter information and the selected background image, the parameter information including a name of the target contaminant, an index of the target contaminant, and a level of the index of the target contaminant;

generating a single day screen image based on the reference index for the single day, the single day screen image including one or more icons for the reference index for the single day and a status for each of the one or more icons; and

presenting the screen image, the contaminant screen image, and the single day screen image in sequence according to a preset sequence to the user automatically in response to the voice request, the preset sequence including presenting the screen image before presenting the contaminant screen image and the single day screen image.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 30, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.; SHANGHAI XIAODU TECHNOLOGY CO. LTD.
Reel/Frame 056811/0772 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 27, 2020
From: ZU, HUALONG; YUAN, HAIGUANG; XU, RAN; DUAN, FANG; CHEN, CHEN; SHI, LEI
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 054477/0877 →
Priority Claims (1)
CN 2017 1 1140599 · Nov 16, 2017 · national
Continuity (1)
Related Publication 20190147859A1 · May 16, 2019