IP Library Granted Patent US 12706868
Granted Patent B2
US 12706868 · App. 18/768,181 · Granted Aug 11, 2026

Creating a digital assistant

Inventor: Xuneng Huang (Beijing, CN)
Assignee: Beijing Zitiao Network Technology Co., Ltd.
H04L51/02G06F3/0484H04L63/08
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 12706868
App. No.
18/768,181
Granted
Aug 11, 2026
Kind
B2
Abstract

According to embodiments of the disclosure, a method, an apparatus, a device, and a media for creating a digital assistant are provided. The method includes: presenting a settings region in a creation page of the digital assistant, wherein the settings region is configured to set a trigger of the digital assistant, the trigger specifying an event source for receiving a trigger event and an action corresponding to the trigger event, wherein the trigger event is an event from an application other than the digital assistant; in response to receiving a setting request for the settings region, setting the trigger based on the setting request; and creating the digital assistant based on the trigger such that the created digital assistant performs the action in response to receiving the trigger event. As a result, the applicability and flexibility of a digital assistant can be improved.

Claims (54)

1 . A method for creating a digital assistant, including:

presenting a settings region in a creation page of the digital assistant, wherein the settings region is configured to set a trigger of the digital assistant, the trigger specifying an event source for receiving a trigger event and an action corresponding to the trigger event, wherein the trigger event is an event from an application other than the digital assistant;

in response to receiving a setting request for the settings region, setting the trigger based on the setting request; and

creating the digital assistant based on the trigger such that the created digital assistant performs the action in response to receiving the trigger event.

2 . The method of claim 1 , wherein a type of the trigger event includes an instant message type, and setting the trigger based on the setting request includes: setting the trigger to generate the trigger event based on the digital assistant and message data from the event source.

3 . The method of claim 2 , wherein generating the trigger event further includes: setting authentication information for receiving the message data via the event source.

4 . The method of claim 1 , wherein a type of the trigger event includes an application event type, and setting the trigger based on the setting request includes:

setting authentication information for logging in to the application;

wherein the authentication information is used for logging in to the application to receive message data for generating the trigger event.

5 . The method of claim 4 , wherein setting the authentication information further includes: specifying a validity period of the authentication information.

6 . The method of claim 1 , wherein setting the trigger based on the setting request includes:

determining a type of the action based on the settings request; and

setting an action matching the type of the action based on the setting request.

7 . The method of claim 6 , further including:

in response to determining that the type of the action indicates a query type, extracting message data from the trigger event; and

generating a query prompt based on the message data and a prompt template, so that the created digital assistant performs the action based on the query prompt.

8 . The method of claim 6 , further including:

in response to determining that the type of the action indicates a plug-in type, selecting a plug-in integrated by the digital assistant based on the setting request; and

extracting message data from the trigger event, so that the created digital assistant invokes the plug-in to perform the action based on the message data.

9 . The method of claim 6 , further including:

in response to determining that the type of the action indicates a workflow type, selecting a workflow integrated by the digital assistant based on the settings request; and

extracting message data from the trigger event, so that the created digital assistant invokes the workflow to perform the action based on the message data.

10 . The method of claim 1 , further including:

in response to receiving a testing request for testing the digital assistant, acquiring the trigger event used to simulate that it is from the event source; and

providing an execution result of the digital assistant executing the action.

11 . The method of claim 10 , wherein the digital assistant provides the execution result in a conversational page, and the method further includes: in response to receiving a switching request in the conversational page, switching a working state of the trigger.

12 . The method of claim 5 , further including:

detecting the trigger event by the created digital assistant; and

in response to detecting the trigger event, executing the action by the created digital assistant.

13 . The method of claim 12 , wherein detecting the trigger event includes at least one of the following:

in response to determining that use of the authentication information satisfies the validity period, obtaining the trigger event by the digital assistant;

in response to determining that the use of the authentication information does not satisfy the validity period,

presenting an input control for inputting the authentication information; or

logging in to the application using the authentication information received via the input control to obtain the trigger event.

14 . The method of claim 1 , further comprising:

in response to receiving user interaction, storing the trigger;

loading the trigger in a second creation page of a second digital assistant; and

creating the second digital assistant based on the trigger such that the second digital assistant performs the action in response to detecting the trigger event.

15 . An electronic device including:

at least one processing unit; and

at least one memory coupled to the at least one processing unit and storing instructions executed by the at least one processing unit, the instructions when executed by the at least one processing unit causes the electronic device to perform operations comprising:

presenting a settings region in a creation page of a digital assistant, wherein the settings region is configured to set a trigger of the digital assistant, the trigger specifying an event source for receiving a trigger event and an action corresponding to the trigger event, wherein the trigger event is an event from an application other than the digital assistant;

in response to receiving a setting request for the settings region, setting the trigger based on the setting request; and

creating the digital assistant based on the trigger such that the created digital assistant performs the action in response to receiving the trigger event.

16 . The electronic device of claim 15 , wherein a type of the trigger event includes an instant message type, and setting the trigger based on the setting request includes: setting the trigger to generate the trigger event based on the digital assistant and message data from the event source.

17 . The electronic device of claim 16 , wherein generating the trigger event further includes: setting authentication information for receiving the message data via the event source.

18 . The electronic device of claim 15 , wherein a type of the trigger event includes an application event type, and setting the trigger based on the setting request includes:

setting authentication information for logging in to the application;

wherein the authentication information is used for logging in to the application for generating the trigger event to receive message data for generating the trigger event.

19 . The electronic device of claim 18 , wherein setting the authentication information further includes: specifying a validity period of the authentication information.

20 . A non-transitory computer-readable storage medium having a computer program stored thereon, the computer program being executed by at least one processor to cause the at least one processor to perform operations comprising:

presenting a settings region in a creation page of a digital assistant, wherein the settings region is configured to set a trigger of the digital assistant, the trigger specifying an event source for receiving a trigger event and an action corresponding to the trigger event, wherein the trigger event is an event from an application other than the digital assistant;

in response to receiving a setting request for the settings region, setting the trigger based on the setting request; and

creating the digital assistant based on the trigger such that the created digital assistant performs the action in response to receiving the trigger event.