Method and device for storing data, equipment and medium
By providing a user interface for data configuration and storage in the digital assistant, users can easily define and store data types, solving the complex problems of the existing digital assistant creation process and improving the personalization and flexibility of the digital assistant.
Patent Information
- Application Number
- CN202311416770.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2025-05-02
AI Technical Summary
The creation process of existing digital assistants is complicated, and users cannot freely and conveniently configure and store data, limiting the personalization and flexibility of digital assistants.
A method and apparatus are provided that allows a user to input and display configuration information of data based on which data is extracted and stored in the interaction between the digital assistant and the user by defining the processing components and user interfaces of the data type to be stored.
It improves the efficiency of creating digital assistants, enables users to easily define and store data types, enhances the personalization and flexibility of digital assistants, and improves the user experience.
Smart Images

Figure CN119917604A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for storing data in a digital assistant. Background Art
[0002] Digital assistants are provided to assist users with various task processing needs in different applications and scenarios. Digital assistants usually have intelligent dialogue and task processing capabilities. During the interaction with the digital assistant, the user inputs an interactive message, and the digital assistant provides a reply message in response to the user input. Generally, a digital assistant can support users to input questions in natural language, and perform tasks and provide replies based on the understanding of natural language input and logical reasoning ability. This kind of interaction method has become a tool that people love and rely on because of its flexible and convenient characteristics. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for storing data in a digital assistant is provided. The method includes: receiving a configuration request for one or more types of data to be stored in the digital assistant; in response to the configuration request, obtaining configuration information of the corresponding type of data via one or more entries corresponding to the one or more types of data on a first user interface, wherein the one or more types of data will be extracted and stored in the interaction between the digital assistant and the user based on the configuration information, for subsequent interaction between the digital assistant and the user; and creating a digital assistant based at least on the configuration information.
[0004] In a second aspect of the present disclosure, a method for storing data in a digital assistant is provided. The method includes: receiving user input for the digital assistant in a second user interface; extracting one or more types of data from the user input based on configuration information of one or more types of data to be stored in the digital assistant; and storing the extracted one or more types of data for subsequent interaction between the digital assistant and the user.
[0005] In a third aspect of the present disclosure, a device for storing data in a digital assistant is provided. The device includes: a request receiving module configured to receive a configuration request for one or more types of data to be stored in the digital assistant; an information acquisition module configured to obtain configuration information of the corresponding type of data via one or more entries corresponding to the one or more types of data on a first user interface in response to the configuration request, wherein the one or more types of data will be extracted and stored in the interaction between the digital assistant and the user based on the configuration information, for subsequent interaction between the digital assistant and the user; and an assistant creation module configured to create a digital assistant based at least on the configuration information.
[0006] In a fourth aspect of the present disclosure, a device for storing data in a digital assistant is provided. The device includes: an input receiving module configured to receive user input for the digital assistant in a second user interface; a data extraction module configured to extract one or more types of data from the user input based on configuration information of one or more types of data to be stored in the digital assistant; and a data storage module configured to store the extracted one or more types of data for subsequent interaction between the digital assistant and the user.
[0007] In a fifth aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect.
[0008] In a sixth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the computer program is executed by a processor, the method of the first aspect is implemented.
[0009] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0011] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0012] Figure 2 An example of a page for creating a digital assistant according to some embodiments of the present disclosure is shown;
[0013] Figure 3A and Figure 3B shows an example user interface for configuring the type of data to be stored according to some embodiments of the present disclosure;
[0014] Figure 3C An example presentation card of a data storage template according to some embodiments of the present disclosure is shown;
[0015] Figure 4 An example user interface showing stored data according to some embodiments of the present disclosure is shown;
[0016] Figure 5 An example user interface for viewing stored data according to some embodiments of the present disclosure is shown;
[0017] Figure 6 A flowchart illustrating a process for storing data in a digital assistant according to some embodiments of the present disclosure is shown;
[0018] Figure 7 A flowchart showing a process for storing data in a digital assistant according to other embodiments of the present disclosure is shown;
[0019] Figure 8 A schematic structural block diagram of an apparatus for storing data in a digital assistant according to some embodiments of the present disclosure is shown;
[0020] Fig. 9 A schematic structural block diagram of an apparatus for storing data in a digital assistant according to other embodiments of the present disclosure is shown; and
[0021] Fig.10 A block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented is shown. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0023] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0024] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0025] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0026] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.
[0027] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.
[0028] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.
[0029] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0030] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multi-layer processing units. A neural network model is an example of a model based on deep learning. In this article, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", and these terms are used interchangeably in this article.
[0031] Digital assistants can be used as tools for people to work, study and live effectively. Generally, the development of digital assistants is similar to the development of general applications. Developers with programming skills are required to define the various capabilities of digital assistants by writing complex codes and deploying digital assistants on appropriate operating platforms so that users can download, install and use digital assistants.
[0032] As application scenarios become more diverse and machine learning technology becomes more available, we expect to develop more digital assistants with different capabilities to support task processing in various segments or to meet the personalized needs of different users. However, due to limited programming capabilities and limited understanding of the underlying implementation logic of digital assistants, users cannot freely and conveniently create different digital assistants. We expect to provide a more convenient and flexible way to create digital assistants so that more users can configure the digital assistants they want.
[0033] According to an embodiment of the present disclosure, an improved scheme for creating a digital assistant is provided. According to the scheme, in the process of creating a digital assistant, a processing component and a user interface for defining the type of data to be stored are provided. On the user interface, configuration information of the corresponding type of data is input and displayed via entries corresponding to one or more types of data to be stored. Based on the configuration information, the corresponding type of data is extracted and stored in the interaction between the digital assistant and the user for subsequent interaction between the digital assistant and the user.
[0034] Therefore, by providing a modular, simple and free-input digital assistant creation solution, users can easily and quickly define the type of data to be stored without requiring code writing skills, thereby improving the efficiency of digital assistant creation.
[0035] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. The environment 100 involves an assistant creation platform 110 and an assistant application platform 130.
[0036] like Figure 1 As shown, the assistant creation platform 110 can provide a digital assistant creation and publishing environment for the user 105. In some embodiments, the assistant creation platform 110 can be a low-code platform that provides a collection of tools for digital assistant creation. The assistant creation platform 110 can support the visual development of digital assistants, so that developers can skip the manual coding process and speed up the development cycle and cost of applications. The assistant creation platform 110 can support any appropriate platform for users to develop digital assistants and other types of applications, for example, it may include a platform based on application platform as a service (aPaaS). Such a platform can support users to efficiently develop applications and realize operations such as application creation and application function adjustment.
[0037] The assistant creation platform 110 can be deployed locally on the terminal device of the user 105, and / or can be supported by a remote server. For example, the terminal device of the user 105 can run a client of the assistant creation platform 110, which can support the interaction between the user and the assistant creation platform 110. In the case where the assistant creation platform 110 runs locally on the user's terminal device, the user 105 can directly use the client to interact with the local assistant creation platform 110. In the case where the assistant creation platform 110 runs on a server-side device, the server-side device can, based on the communication connection with the terminal device, realize the supply of services to the client running in the terminal device. The assistant creation platform 110 can present a corresponding page 122 to the user 105 based on the operation of the user 105, so as to output and / or receive information to the user 105.
[0038] In some embodiments, the assistant creation platform 110 can be associated with a corresponding database, which stores the data or information required for the digital assistant creation process supported by the assistant creation platform 110. For example, the database can store the code and description information corresponding to each functional module that constitutes the digital assistant. The assistant creation platform 110 can also perform operations such as calling, adding, deleting, and updating the functional modules in the database. The database can also store operations that can be performed on different functional modules. Exemplarily, in a scenario where an application 150 is to be created, the assistant creation platform 110 can call the corresponding functional blocks from the database to build the application 150.
[0039] In an embodiment of the present disclosure, a user 105 can create a digital assistant 120 as needed on an assistant creation platform 110 and publish the digital assistant 120. The digital assistant 120 can be published to any appropriate assistant application platform 130, as long as the assistant application platform 130 can support the operation of the digital assistant 120. After publishing, the digital assistant 120 can be used for dialogue interaction with the user 135. The client of the assistant application platform 130 can present an interactive window 132 of the digital assistant 120, such as a conversation window, in the client interface. As an intelligent assistant, the digital assistant 120 has intelligent dialogue and information processing capabilities. The user 140 can enter a conversation message in the conversation window, and the digital assistant 120 can determine the reply message based on the created configuration information and present it to the user in the interactive window 132. In some embodiments, depending on the configuration of the digital assistant 120, the interactive message with the digital assistant 120 may include a message in a multimodal form, such as a text message (e.g., natural language text), a voice message, an image message, a video message, and the like.
[0040] The assistant creation platform 110 and / or the assistant application platform 130 can run on appropriate electronic devices. The electronic device here can be any type of device with computing power, including terminal devices or server devices. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. In some embodiments, the assistant creation platform 110 and / or the assistant application platform 130 can be implemented based on cloud services.
[0041] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. Figure 1 A single user interacting with the assistant creation platform 110 and a single user interacting with the assistant application platform 130 are shown, but in fact multiple users can access the assistant creation platform 110 to each create a digital assistant, and each digital assistant can be used to interact with multiple users.
[0042] Some example embodiments of the present disclosure will be described in detail below with reference to the examples of the accompanying drawings. It should be understood that the pages shown in the accompanying drawings are only examples, and various page designs may actually exist. The various graphical elements in the page may have different arrangements and different visual representations, one or more of which may be omitted or replaced, and one or more other elements may also exist. The embodiments of the present disclosure are not limited in this respect.
[0043] The digital assistant creation process described in the embodiments of the present disclosure may be implemented on an assistant creation platform, a terminal device installed with the assistant creation platform, and / or a server corresponding to the assistant creation platform. In some examples below, for the purpose of discussion, the description is from the perspective of the assistant creation platform, for example Figure 1 The assistant creation platform 110 shown. The page presented by the assistant creation platform 110 can be presented via the terminal device of the user 105, and the user input can be received via the terminal device of the user 105. In this document, the user 105 who creates the digital assistant is sometimes also referred to as an assistant creator, assistant developer, etc.
[0044] The user 105 can initiate a creation request to the assistant creation platform 110 as needed. In response to receiving the creation request, the assistant creation platform 110 presents a page for creating a digital assistant. On this page, the user 105 can select the digital assistant to be created (assuming it is Figure 1 Unlike creating a digital assistant by writing code, in an embodiment of the present disclosure, a page for creating a digital assistant is designed to include at least one configuration area for receiving configuration information of the digital assistant, and each configuration area is defined as receiving a type of configuration information required for building a digital assistant. Figure 2 An example of a page 200 for creating a digital assistant 120 according to some embodiments of the present disclosure is shown.
[0045] Specifically, the page includes at least a first configuration area for receiving setting information input in a natural language. For example, Figure 2 The page 200 provides a configuration area 210, which includes an input box for receiving setting information input by the user through natural language.
[0046] The received setting information, as part of the configuration information of the digital assistant 120, will be used to generate the prompt input of the model, and the digital assistant 120's response to the user is determined based on the output of the model. In other words, the digital assistant 120 to be created will use the model to understand the user input and provide a response to the user based on the output of the model. The model used by the digital assistant 120 can run locally on the assistant creation platform 110 or on a remote server. In some embodiments, the model can be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model can be based on a language model (LM). The language model can have question-and-answer capabilities by learning from a large amount of corpus. The model can also be based on other appropriate models.
[0047] During the creation process, a specific configuration area is provided for users to provide setting information, and the configuration of setting information can be completed in a natural language way. In this way, users can easily constrain the output of the model and configure a variety of digital assistants.
[0048] In addition, the page also includes a second configuration area for receiving configuration of at least one processing component, and the processing component information indicates at least one processing component that the digital assistant 120 can use when processing a user request. Each processing component can be understood as a tool that the digital assistant 120 can call when processing a user request, and each processing component can perform a corresponding function or service. The types of processing components can be very diverse, and can be selected, configured or modified by the user 105 from existing processing components, or the user 105 can be allowed to customize one or more processing components. Figure 2 As shown, the configuration area in page 200 for receiving configuration of at least one processing component includes configuration areas 220, 222, 224, 226, 228, 230, 232, etc.
[0049] These processing components are callable by the model. After being configured (added), the corresponding descriptions of these components (including but not limited to functions, inputs and outputs, usage conditions, etc.) will be provided to the model in the form of prompts, thereby indicating to the model that the corresponding capabilities of the components can be called. In the process of interacting with the user, the model can be used to analyze and determine whether to call the corresponding processing components (or tools) and capabilities. Examples of processing components include but are not limited to plug-ins, functions, APIs, etc.
[0050] By understanding the user's needs with the help of the model and setting information, and executing the user's needs with the help of the processing components, the digital assistant 120 will be able to interact with the user and respond to the user's requests. The page for creating the digital assistant is templated to provide various configuration areas for receiving the configuration information of the digital assistant 120, and the user 105 can complete the customization of the digital assistant 120 without performing complex configuration and coding.
[0051] In some embodiments, the page for creating a digital assistant may further include a third configuration area for receiving guidance information. Figure 2 In the example page 200 of FIG. 1 , an area 232 for receiving guidance information is provided. The guidance information is used to be directly presented to the user 135 when the user 135 triggers the interaction with the digital assistant 120. In some embodiments, the guidance information includes at least one of the following: description information of the digital assistant 120, and at least one recommended question for the digital assistant 120. The description information of the digital assistant 120 can allow the user 135 to have an overall understanding of the characteristics of the digital assistant 120, the functions that can be implemented, etc. The recommended questions for the digital assistant 120 can inspire the user 135 to initiate an interaction with the digital assistant 120, or the user 135 can directly select the recommended questions to interact with the digital assistant 120.
[0052] In some embodiments, the guidance information may be automatically generated. An information generation control may be provided in the page, for example, in a location associated with the third configuration area. Figure 2In the example of , an information generation control 234 can be provided near area 232. Because the descriptive information of the digital assistant 120 and / or at least one recommended question for the digital assistant 120 can be derived from the setting information, in some embodiments, during the process of creating the digital assistant 120, in response to detecting a triggering operation of the information generation control associated with the third configuration area, candidate guidance information is generated based on at least the setting information received in the first configuration area. The candidate guidance information is presented in the third configuration area. In this way, the user 105 can determine whether to use the candidate guidance information, modify or replace the candidate guidance information, etc. as needed to obtain the final desired guidance information.
[0053] As mentioned above, the digital assistant 120 can use the model to understand the user request and determine the response to the user. In some embodiments, the model used by the digital assistant 120 can be a default, without the need for the creator to configure. In some embodiments, during the process of creating the digital assistant 120, the creator can be allowed to select the model to be used. A fourth configuration area can be provided in the page for creating the digital assistant for receiving the selection of the model. The selected model is called to determine the response of the digital assistant 120 to the user. Figure 2 As shown, page 200 also includes an area 236 for configuring a model, in which user 105 may be allowed to select a model to be used.
[0054] The above discusses the configurable processing components in the digital assistant creation process. In specific applications, the assistant creation platform can provide more, fewer or different configurations of processing components for the creator of the digital assistant to select or configure as needed.
[0055] In some embodiments, in order to allow the user 105 who creates the digital assistant to conveniently test the running effect of the created digital assistant 120 during the creation process, a debugging area for the digital assistant may also be provided in the page, such as Figure 2 The debugging area 240 shown. The debugging area 240 includes an input area 242 for receiving a debugging request for the digital assistant 120, and also includes a presentation area 244 for providing a debugging result for the debugging request (and providing a received debugging request). The debugging area 240 can be configured in the form of an interactive window, simulating the interactive interface viewed by the interactive user of the digital assistant 120.
[0056] During the debugging process, the debugging results presented in the debugging area 240 can be determined based on the received debugging request and the current configuration information for the digital assistant 120 in the page 200. The user 105 can judge whether the actual operation results of the digital assistant 120 meet expectations based on the debugging results, and determine whether to continue to modify the configuration information, or whether to publish the digital assistant. In some embodiments, for each debugging, in addition to providing the debugging results, the underlying operation process of the digital assistant 120 to determine the debugging results can also be provided, such as the call to the model, the thinking process of the model, one or more plug-ins used, etc. This can facilitate the user 105 to more quickly determine whether the currently configured digital assistant meets expectations.
[0057] In some embodiments, the second configuration area may include an area for configuring persistent storage information, such as Figure 2 Area 226 shown. Usually, during the interaction between the user and the digital assistant, the digital assistant will extract limited contextual information in the historical interaction to understand the user input due to reasons such as the length of the model input. However, for users interacting with the digital assistant, they may expect the digital assistant to be able to keep long-term memory of certain information, so as to be able to continue to provide more targeted replies. If the digital assistant needs to repeatedly ask for this information during the interaction with the digital assistant, it will cause a decline in user experience. Therefore, according to an embodiment of the present disclosure, the developer of the digital assistant is allowed to pre-define one or more types of data that the digital assistant 120 is to store persistently. Through this configuration, the defined one or more types of data will be automatically extracted and stored in the interaction between the digital assistant 120 and the user for subsequent interactions. If the user updates a certain type of data during the interaction, the previously stored data of this type will be overwritten or updated. The defined data of this type will be persistently stored for specific users interacting with the digital assistant 120. In this way, from the perspective of the interactive user of the digital assistant 120, the digital assistant 120 can always remember certain key information, thereby obtaining a good interactive experience.
[0058] In some embodiments, in area 226 of page 200, a configuration request for one or more types of data to be stored in digital assistant 120 may be received. In some embodiments, the configuration request may include a request to add a type of data to be stored. For example, Figure 3A As shown, a control 302 for adding a type of data to be stored is presented in the user interface 300, and a predetermined operation (such as a click operation, a long press operation, etc.) on the control 302 is received as a request to add a type of data to be stored. The user interface 300 can be a part of the interactive interface (also referred to as a "first user interface") viewed by the user 105 who is the creator of the digital assistant 120.
[0059] In some embodiments, in response to receiving a configuration request, such as Figure 3B As shown, an entry 304 corresponding to the newly added data type is presented on the user interface 300. Configuration information of the corresponding type of data can be obtained through the entry 304. For example, data configuration information input by the user in the entry 304 can be received. The configuration information may include the definition of the data. For example, Figure 3B As shown, entry 304 includes field name 306 and description 308. Accordingly, user 105 can add the field name and description of the data to be stored in entry 304. In this way, the user can configure one or more types of data stored in the form of key-value pairs. The digital assistant 120 is created based on at least this configuration information. By defining the information to be persistently stored, after the created digital assistant 120 is published for interaction with user 135, the corresponding information input by user 135 will be stored for a long time and provided to the digital assistant 120 as an interaction context for subsequent interactions.
[0060] For the corresponding data types of each entry, some default values can be preset during the creation of the digital assistant. During the interaction between the model and the user, the user can be initially replied based on the default values. As the interaction with the user continues, the default values can be continuously updated based on the information obtained from the interaction.
[0061] In some embodiments, data storage templates may be used to further simplify user operations and improve the efficiency of configuring the data types to be stored. In these embodiments, a configuration request for one or more types of data to be stored includes a request to use a data storage template. Figure 3A As shown, a control 310 for activating a data storage template is presented in the user interface 300. In response to receiving a predetermined operation on the control 310, as shown in FIG. Figure 3C As shown, a display card 312 of a data storage template is presented. A predefined data storage template 314 is presented on the display card 312, including a field name 316 and a description 318 of a predefined type of data, and an example 320 of the template usage effect is presented. In some embodiments, Figure 3C As shown, a control 322 for enabling the data storage template is also presented on the display card 312. In this example, a predetermined operation on the control 322 presented in the display card 312 is received as a request to use the data storage template. After the user 105 requests to use the data storage template, Figure 3A Corresponding entries are added to the user interface 300 for presenting the field names 316 and descriptions 318 of the predefined types of data included in the data storage template 314.
[0062] In some embodiments, user 105 may request to delete one or more entries 304 presented in user interface 300. Figure 3B As shown, a control 324 for deleting an entry 304 is presented on the user interface 300. In response to receiving a predetermined operation on the control 324, the corresponding entry 304 may be deleted.
[0063] It should be understood that the form and content of the configuration request and configuration information described above are merely examples and not limitations. The assistant creation platform 110 may receive requests and configuration information for newly added data types made by the user 105 in any other manner, for example, requests and configuration information for newly added data types input by the user may be received via a microphone, physical operation controls, etc.
[0064] In some embodiments, user 105 can access the stored data. A control for displaying the stored data may be presented on the user interface. If a predetermined operation is received on the control for displaying the stored data, the assistant creation platform 110 may present a display card for the stored data on the user interface. The stored data here is not visible to other users except the user. That is, the stored data of user 105 can only be viewed by user 105, and other users cannot view it.
[0065] For example, Figure 4 As shown, the assistant creation platform 110 can present example 400. A control 410 for displaying stored data is presented in the user interface shown in example 400. In response to detecting a predetermined operation on the control 410, the assistant creation platform 110 can present a display card 420 for stored data in example 400. At least one stored data can be displayed in the display card 420. In some embodiments, the display card 420 can also present the time when the user last modified the stored data (for example, the information "Last modified XX:XX:XX" can be presented).
[0066] In addition to operating controls to trigger card display, user 105 can also view stored data through conversation messages. Figure 5 As shown, user 105 can input a request 505 to view stored data in the "debug and preview" user interface 500. In response to the request 505, stored data 510 is displayed in the user interface 500. Thus, the user interaction efficiency can be further improved, and the user experience can be improved.
[0067] After the digital assistant 120 created based at least on the configuration data regarding the type of data to be stored is released, during the interaction between the digital assistant 120 and the user 135, the corresponding information input by the user 135 can be stored for a long time for subsequent interaction between the digital assistant 120 and the user 135.
[0068] In some embodiments, after receiving user input to the digital assistant 120 in an interactive interface (also referred to as a “second user interface”) viewed by the user 135 as a user of the digital assistant 120. Based on configuration information of one or more types of data to be stored in the digital assistant 120, one or more types of data are extracted and stored from the user input. The stored data can be used as an interaction context for subsequent interactions between the digital assistant 120 and the user 135, thereby improving the user's interaction experience.
[0069] Figure 6 600 for storing data in a digital assistant according to some embodiments of the present disclosure. The process 600 may be implemented at the assistant creation platform 110. Figure 1 Process 600 is described.
[0070] At block 610 , the assistant creation platform 110 receives a configuration request for one or more types of data to be stored in the digital assistant.
[0071] In block 620, the assistant creation platform 110 obtains configuration information of the corresponding type of data via one or more entries corresponding to the one or more types of data on the first user interface in response to the configuration request. The one or more types of data will be extracted and stored in the interaction between the digital assistant and the user based on the configuration information for subsequent interaction between the digital assistant and the user.
[0072] In block 630 , the assistant creation platform 110 creates a digital assistant based at least on the configuration information.
[0073] In some embodiments, the configuration request includes a request to add a type of data to be stored.
[0074] In some embodiments, receiving the configuration request includes: presenting a control for adding the type of data to be stored in the first user interface; and receiving a predetermined operation on the control for adding the type of data to be stored as a request to add the type of data to be stored.
[0075] In some embodiments, obtaining configuration information includes: in response to receiving a request to add a type of data to be stored, presenting one or more entries corresponding to one or more types of data on a first user interface; and receiving configuration information of the corresponding type of data entered in the one or more entries.
[0076] In some embodiments, the configuration request includes a request to use a data storage template.
[0077] In some embodiments, process 600 further includes: presenting a control for activating the data storage template in the first user interface; and in response to receiving a predetermined operation on the control for activating the data storage template, presenting a display card of the data storage template on the first user interface. Receiving the configuration request includes: receiving the predetermined operation on the control for enabling the data storage template presented in the display card as a request to use the data storage template.
[0078] In some embodiments, process 600 also includes: presenting on the first user interface a control for deleting one or more entries corresponding to a number of one or more types; and deleting the one or more entries in response to receiving a predetermined operation on the control for deleting the one or more entries.
[0079] In some embodiments, the configuration information includes definitions of one or more types of data.
[0080] Figure 7 1 is a flowchart of a process 700 for storing data in a digital assistant according to some embodiments of the present disclosure. The process 700 may be implemented at the assistant application platform 130. Figure 1 Process 700 is described.
[0081] In box 710, the assistant application platform 130 receives user input for the digital assistant in a second user interface.
[0082] In box 720, the assistant application platform 130 extracts one or more types of data from the user input based on the configuration information of the one or more types of data to be stored in the digital assistant.
[0083] In box 730, the assistant application platform 130 stores the extracted one or more types of data for subsequent interaction between the digital assistant and the user.
[0084] Figure 8 A schematic structural block diagram of an apparatus 800 for storing data in a digital assistant according to some embodiments of the present disclosure is shown. The apparatus 800 may be implemented in or included in the assistant creation platform 110, for example. Each module / component in the apparatus 800 may be implemented by hardware, software, firmware, or any combination thereof.
[0085] like Figure 8 As shown, the device 800 includes a request receiving module 810, which is configured to receive a configuration request for one or more types of data to be stored in the digital assistant.
[0086] The device 800 also includes an information acquisition module 820, which is configured to obtain configuration information of the corresponding type of data via one or more entries corresponding to the one or more types of data on the first user interface in response to the configuration request. The one or more types of data will be extracted and stored in the interaction between the digital assistant and the user based on the configuration information, so as to be used for subsequent interaction between the digital assistant and the user.
[0087] The device 800 also includes an assistant creation module 830, which is configured to create a digital assistant based at least on the configuration information.
[0088] In some embodiments, the configuration request includes a request to add a type of data to be stored.
[0089] In some embodiments, the request receiving module 810 is configured to: present a control for adding the type of data to be stored in the first user interface; and receive a predetermined operation on the control for adding the type of data to be stored as a request to add the type of data to be stored.
[0090] In some embodiments, the information acquisition module 820 is configured to: in response to receiving a request to add a type of data to be stored, present one or more entries corresponding to one or more types of data on the first user interface; and receive configuration information of the corresponding type of data entered in the one or more entries.
[0091] In some embodiments, the configuration request includes a request to use a data storage template.
[0092] In some embodiments, the apparatus 800 further includes: a first control presentation module configured to present a control for activating the data storage template in the first user interface; and a card presentation module configured to present a presentation card of the data storage template on the first user interface in response to receiving a predetermined operation on the control for activating the data storage template. The request receiving module 810 is further configured to receive a predetermined operation on the control for enabling the data storage template presented in the presentation card as a request to use the data storage template.
[0093] In some embodiments, the device 800 also includes: a second control presentation module, configured to present on the first user interface a control for deleting one or more entries corresponding to a number of one or more types; and an entry deletion module, configured to delete the one or more entries in response to receiving a predetermined operation on the control for deleting the one or more entries.
[0094] In some embodiments, the configuration information includes definitions of one or more types of data.
[0095] Fig. 9A schematic structural block diagram of an apparatus 900 for storing data in a digital assistant according to some embodiments of the present disclosure is shown. The apparatus 900 may be implemented in or included in the assistant application platform 130, for example. Each module / component in the apparatus 900 may be implemented by hardware, software, firmware, or any combination thereof.
[0096] like Fig. 9 As shown, the device 900 includes an input receiving module 910, which is configured to receive user input for the digital assistant in the second user interface.
[0097] The device 900 also includes a data extraction module 920, which is configured to extract one or more types of data from the user input based on configuration information of one or more types of data to be stored in the digital assistant.
[0098] The device 900 also includes a data storage module 930 configured to store the extracted one or more types of data for subsequent interaction between the digital assistant and the user.
[0099] Fig.10 1 shows a block diagram of an electronic device 1000 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig.10 The electronic device 1000 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Fig.10 The electronic device 1000 shown may include or be implemented as Figure 1 The assistant creates the platform 110 or Figure 8 The device 800 may include or be implemented as Figure 1 Assistant application platform 130 or Fig. 9 Device 900.
[0100] like Fig.10 As shown, the electronic device 1000 is in the form of a general electronic device. The components of the electronic device 1000 may include, but are not limited to, one or more processors or processing units 1010, a memory 1020, a storage device 1030, one or more communication units 1040, one or more input devices 1050, and one or more output devices 1060. The processing unit 1010 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 1020. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 1000.
[0101] The electronic device 1000 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 1000, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1020 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1030 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 1000.
[0102] The electronic device 1000 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig.10 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 1020 may include a computer program product 1025 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0103] The communication unit 1040 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 1000 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 1000 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0104] The input device 1050 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 1060 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 1000 may also communicate with one or more external devices (not shown) through the communication unit 1040 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 1000, or communicate with any device that allows the electronic device 1000 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0105] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0106] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0107] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0108] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0109] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0110] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for storing data in a digital assistant, comprising: receiving a configuration request for one or more types of data to be stored in the digital assistant; In response to the configuration request, obtaining configuration information of the corresponding type of data via one or more entries corresponding to the one or more types of data on the first user interface, wherein the one or more types of data will be extracted and stored in the interaction between the digital assistant and the user based on the configuration information, for subsequent interaction between the digital assistant and the user; as well as The digital assistant is created based at least on the configuration information. 2 . The method of claim 1 , wherein the configuration request comprises a request to add a type of data to be stored.
3. The method of claim 2, wherein receiving the configuration request comprises: Presenting, in the first user interface, a control for adding the type of data to be stored; as well as A predetermined operation on the control for adding the type of data to be stored is received as the request for adding the type of data to be stored.
4. The method according to claim 3, wherein obtaining the configuration information comprises: In response to receiving the request to add the type of data to be stored, presenting the one or more entries corresponding to the one or more types of data on the first user interface; as well as Configuration information of corresponding types of data entered in the one or more entries is received. The method of claim 1 , wherein the configuration request comprises a request to use a data storage template.
6. The method according to claim 5, further comprising: Presenting, in the first user interface, a control for activating the data storage template; as well as In response to receiving a predetermined operation on the control for activating the data storage template, presenting a presentation card of the data storage template on the first user interface; and Receiving the configuration request includes: A predetermined operation on a control for enabling the data storage template presented in the presentation card is received as the request to use the data storage template.
7. The method according to claim 1, further comprising: presenting, on the first user interface, a control for deleting the one or more entries corresponding to the number of the one or more types; as well as In response to receiving a predetermined operation of the control for deleting the one or more entries, the one or more entries are deleted. The method of claim 1 , wherein the configuration information includes definitions of the one or more types of data.
9. A method for storing data in a digital assistant, comprising: receiving user input for the digital assistant in a second user interface; extracting the one or more types of data from the user input based on configuration information for the one or more types of data to be stored in the digital assistant; as well as The one or more types of extracted data are stored for subsequent interaction between the digital assistant and the user.
10. A device for storing data in a digital assistant, comprising: a request receiving module configured to receive a configuration request for one or more types of data to be stored in the digital assistant; an information acquisition module, configured to, in response to the configuration request, acquire configuration information of the corresponding type of data via one or more entries corresponding to the one or more types of data on the first user interface, wherein the one or more types of data will be extracted and stored in the interaction between the digital assistant and the user based on the configuration information, so as to be used for subsequent interaction between the digital assistant and the user; as well as The assistant creation module is configured to create the digital assistant based at least on the configuration information.
11. A device for storing data in a digital assistant, comprising: An input receiving module, configured to receive user input for the digital assistant in a second user interface; a data extraction module configured to extract the one or more types of data from the user input based on configuration information of the one or more types of data to be stored in the digital assistant; as well as A data storage module is configured to store the extracted one or more types of data for subsequent interaction between the digital assistant and the user.
12. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the method according to any one of claims 1 to 8 or claim 9.
13. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 8 or claim 9.
Citation Information
Cited By
Method and apparatus for storing data, and device and medium
EP4571540A1
Method and apparatus for storing data, and device and medium
WO2025086562A1