IP Library Granted Patent US 11,366,688
Granted Patent B2
US 11,366,688 · App. 16/680,773 · Granted Jun 21, 2022

Do-not-disturb processing method and apparatus, and storage medium

Inventors: Chaoyang Chen (Beijing, CN); Mengmeng Zhang (Beijing, CN); Wenming Wang (Beijing, CN); Chen Chen (Beijing, CN); Guangyao Tang (Beijing, CN)
Assignee: Baidu Online Network Technology (Beijing) Co., Ltd.
G06F9/485G06F16/2228G06F16/2458
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 11,366,688
App. No.
16/680,773
Granted
Jun 21, 2022
Kind
B2
Abstract

A do-not-disturb processing method, apparatus and a storage medium are provided. The method includes: receiving a first request message for a sleeping request; generating a query instruction according to first time information carried in the first request message; determining a restricted time period based on the first time information, in response to the query instruction; acquiring at least one first task within the restricted time period, from multiple interaction tasks to be executed; and closing the first task. In embodiments of the present application, efficiency of an interaction process is improved.

Claims (78)

1. A do-not-disturb processing method, implemented by circuits for implementing functions, comprising:

receiving, by a smart device or a cloud platform, a first request message for a sleeping request; wherein the first request message is a voice request message, for wanting to sleep, sent by a target user;

generating, by the smart device or the cloud platform, a query instruction according to first time information carried in the first request message; wherein the first time information is a time of initiating the sleeping request;

determining, by the smart device or the cloud platform, a restricted time period based on the first time information, in response to the query instruction;

acquiring, by the smart device or the cloud platform, at least one first task within the restricted time period, from multiple interaction tasks to be executed; and

closing, by the smart device or the cloud platform, the first task;

wherein the determining the restricted time period based on the first time information, in response to the query instruction, comprises:

querying, by the smart device or the cloud platform, the first time information from night time period information, by using the first time information as a query index;

setting, by the smart device or the cloud platform, the queried first time information as an initial time identifier of the restricted time period;

setting, by the smart device or the cloud platform, end time information of the night time period information as an end time identifier of the restricted time period; and

determining, by the smart device or the cloud platform, the restricted time period according to the initial time identifier and the end time identifier;

wherein after the closing the first task, the method further comprises:

collecting, by the smart device or the cloud platform, times of N historical records for initiating the first request message within a preset time period, wherein N is a positive integer greater than 1;

acquiring, by the smart device or the cloud platform, third time information related to a sleep intention according to the collected times, wherein the third time information comprises time point information or time period information; and

updating, by the smart device or the cloud platform, the restricted time period according to third time point information.

2. The do-not-disturb processing method according to claim 1 , wherein before the receiving the first request message for the sleeping request, the method further comprises:

configuring the multiple interaction tasks to be executed, according to historical data of the target user, wherein

the multiple interaction tasks to be executed comprise a routine task and/or a scheduled task of the target user.

3. The do-not-disturb processing method according to claim 1 , wherein after the closing the first task, the method further comprises:

monitoring system time of a terminal;

acquiring a second task related to second time information from the multiple interaction tasks to be executed, in a case where the system time reaches to a time corresponding to the second time information and the time corresponding to the second time information is not within the restricted time period; and

executing the second task.

4. The do-not-disturb processing method according to claim 1 , wherein after the closing the first task, the method further comprises:

obtaining a message encapsulation format and at least two elements constituting a message content, wherein the at least two elements comprising a time field and a reminder field for indicating that the first task has been closed;

generating a first response message according to the message encapsulation format and the message content; and

sending the first response message.

5. The do-not-disturb processing method according to claim 1 , wherein the method further comprises:

generating a second request message for asking whether to enter a sleeping related mode, according to the third time point information, and sending the second request message;

receiving a second response message, wherein an affirmative answer to enter the sleeping related mode is encapsulated into the second response message; and

closing a third task in the multiple interaction tasks to be executed according to the updated restricted time period.

6. A do-not-disturb processing apparatus, comprising:

one or more processors; and

a memory for storing one or more programs, wherein

the one or more programs are executed by the one or more processors to enable the one or more processors, by circuits for implementing functions, to:

receive, by a smart device or a cloud platform, a first request message for a sleeping request; wherein the first request message is a voice request message, for wanting to sleep, sent by a target user;

generate, by the smart device or the cloud platform, a query instruction according to first time information carried in the first request message; wherein the first time information is a time of initiating the sleeping request;

determine, by the smart device or the cloud platform, a restricted time period based on the first time information, in response to the query instruction;

acquire, by the smart device or the cloud platform, at least one first task within the restricted time period, from multiple interaction tasks to be executed; and

close, by the smart device or the cloud platform, the first task;

wherein the one or more programs are executed by the one or more processors to enable the one or more processors to:

query, by the smart device or the cloud platform, the first time information from night time period information, by using the first time information as a query index;

set, by the smart device or the cloud platform, the queried first time information as an initial time identifier of the restricted time period;

set, by the smart device or the cloud platform, end time information of the night time period information as an end time identifier of the restricted time period; and

determine, by the smart device or the cloud platform, the restricted time period according to the initial time identifier and the end time identifier;

wherein the one or more programs are executed by the one or more processors to enable the one or more processors to:

collect, by the smart device or the cloud platform, times of N historical records for initiating the first request message within a preset time period, wherein N is a positive integer greater than 1;

acquire, by the smart device or the cloud platform, third time information related to a sleep intention according to the collected times, wherein the third time information comprises time point information or time period information; and

update, by the smart device or the cloud platform, the restricted time period according to third time point information.

7. The do-not-disturb processing apparatus according to claim 6 , wherein the one or more programs are executed by the one or more processors to enable the one or more processors to:

configure the multiple interaction tasks to be executed, according to historical data of the target user, wherein

the multiple interaction tasks to be executed comprise a routine task and/or a scheduled task of the target user.

8. The do-not-disturb processing apparatus according to claim 6 , wherein the one or more programs are executed by the one or more processors to enable the one or more processors to:

monitor system time of a terminal;

acquire a second task related to second time information from the multiple interaction tasks to be executed, in a case where the system time reaches to a time corresponding to the second time information and the time corresponding to the second time information is not within the restricted time period; and

execute the second task.

9. The do-not-disturb processing apparatus according to claim 6 , wherein the one or more programs are executed by the one or more processors to enable the one or more processors to:

obtain a message encapsulation format and at least two elements constituting a message content, wherein the at least two elements comprising a time field and a reminder field for indicating that the first task has been closed;

generate a first response message according to the message encapsulation format and the message content; and

send the first response message.

10. The do-not-disturb processing apparatus according to claim 6 , wherein the one or more programs are executed by the one or more processors to enable the one or more processors to:

generate a second request message for asking whether to enter a sleeping related mode, according to the third time point information, and send the second request message;

receive a second response message, wherein an affirmative answer to enter the sleeping related mode is encapsulated into the second response message; and

close a third task in the multiple interaction tasks to be executed according to the updated restricted time period.

11. A non-transitory computer-readable storage medium, in which a computer program is stored, wherein the computer program, when executed by a processor, causes the processor to perform, by circuits for implementing functions, operations of:

receiving, by a smart device or a cloud platform, a first request message for a sleeping request; wherein the first request message is a voice request message, for wanting to sleep, sent by a target user;

generating, by the smart device or the cloud platform, a query instruction according to first time information carried in the first request message; wherein the first time information is a time of initiating the sleeping request;

determining, by the smart device or the cloud platform, a restricted time period based on the first time information, in response to the query instruction;

acquiring, by the smart device or the cloud platform, at least one first task within the restricted time period, from multiple interaction tasks to be executed; and

closing, by the smart device or the cloud platform, the first task;

wherein when the computer program, when executed by the processor, causes the processor to determine the restricted time period based on the first time information, in response to the query instruction, the computer program, when executed by the processor, causes the processor specifically to perform operations of:

querying, by the smart device or the cloud platform, the first time information from night time period information, by using the first time information as a query index;

setting, by the smart device or the cloud platform, the queried first time information as an initial time identifier of the restricted time period;

setting, by the smart device or the cloud platform, end time information of the night time period information as an end time identifier of the restricted time period; and

determining, by the smart device or the cloud platform, the restricted time period according to the initial time identifier and the end time identifier;

wherein the computer program, when executed by the processor, causes the processor to further perform operations of:

collecting, by the smart device or the cloud platform, times of N historical records for initiating the first request message within a preset time period, wherein N is a positive integer greater than 1;

acquiring, by the smart device or the cloud platform, third time information related to a sleep intention according to the collected times, wherein the third time information comprises time point information or time period information; and

updating, by the smart device or the cloud platform, the restricted time period according to third time point information.

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 22, 2019
From: CHEN, CHAOYANG; ZHANG, MENGMENG; WANG, WENMING; CHEN, CHEN; TANG, GUANGYAO
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 051097/0377 →
Priority Claims (1)
CN 201910578797.6 · Jun 28, 2019 · national
Continuity (1)
Related Publication 20200409745A1 · Dec 31, 2020