Interaction method, electronic equipment, computer readable storage medium and product
Through the generative model to generate tasks and feedback results within the cycle in the agent interactive application, the problem of insufficient flexibility in task orchestration and feedback in the prior art is solved, and the user experience and task completion efficiency are improved.
Patent Information
- Application Number
- CN202480002209.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-12-27
AI Technical Summary
The existing agent interactive applications lack flexibility in task orchestration and feedback. Users need to learn fixed forms of course functions, and the agent is relatively passive in task push and feedback, making it difficult for long-term learning plans.
Generative model generates each sub-cycle task within the cycle for users, and displays task progress and feedback results in the dialogue interface, which supports users to provide task feedback through multiple data formats (text, voice, images, videos). The agent uses the user's user Feedback to adjust task progress and content.
It improves the efficiency and user experience of task completion, saves users' understanding and operation costs, and provides flexible task orchestration and feedback mechanisms to adapt to users' personalized learning needs.
Smart Images

Figure CN119213751A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an interaction method, an electronic device, a computer-readable storage medium and a product. Background Art
[0002] With the development of computer and Internet technology, users can use various applications in user devices such as computers, mobile phones, and tablets for learning or entertainment. For example, users can exercise with fitness applications, or learn English through language learning applications. Some applications provide some exercises or learning courses, and users can learn by following the progress of the course. Usually, these courses set a fixed interaction method. For example, for fitness exercise courses, users can perform actions by wearing wearable devices, so that the data collected by the wearable devices reflects the user's exercise results. For another example, for learning courses, users can submit forms on the designated test page to feedback the answers provided by the user. Summary of the invention
[0003] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0004] According to some embodiments of the present disclosure, an interaction method is provided, comprising: generating tasks for each sub-period in a cycle for a user according to the task theme; in each sub-period, displaying a first message sent by an agent to the user on a dialogue interface, the first message including the tasks of the sub-period; displaying a second message sent by the user to the agent on the dialogue interface, the second message being used to provide feedback on the tasks of the current sub-period; and in response to the second message, displaying a third message sent by the agent to the user on the dialogue interface, the third message including the user's task progress in the current sub-period.
[0005] According to some embodiments of the present disclosure, an electronic device is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute a method of any embodiment described in the present disclosure based on instructions stored in the memory.
[0006] According to some embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method of any embodiment described in the present disclosure is performed.
[0007] According to some embodiments of the present disclosure, a computer program is provided, comprising: instructions, which, when executed by a processor, cause the processor to perform the method of any embodiment described in the present disclosure.
[0008] Other features, aspects and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The preferred embodiments of the present disclosure are described below with reference to the accompanying drawings. The drawings described herein are used to provide a further understanding of the present disclosure. Each of the drawings together with the following detailed description is included in this specification and forms a part of the specification, and is used to explain the present disclosure. It should be understood that the drawings described below only relate to some embodiments of the present disclosure and do not constitute a limitation on the present disclosure. In the drawings:
[0010] Figure 1 A flowchart of an interaction method according to some embodiments of the present disclosure is shown.
[0011] Figure 2 A flowchart of a task generation method according to some embodiments of the present disclosure is shown.
[0012] Figure 3 A flow chart of a method for determining basic user information according to some embodiments of the present disclosure is shown.
[0013] Figure 4 A flowchart of a task generation method according to some other embodiments of the present disclosure is shown.
[0014] Figure 5 A flowchart of a method for determining task progress according to some embodiments of the present disclosure is shown.
[0015] Figure 6 A flowchart of a task adjustment method according to some embodiments of the present disclosure is shown.
[0016] Fig. 7A and 7B A schematic diagram of a conversation interface according to some embodiments of the present disclosure is shown.
[0017] Figure 8 A schematic structural diagram of an interaction device according to some embodiments of the present disclosure is shown.
[0018] Fig. 9 A schematic structural diagram of an electronic device according to some embodiments of the present disclosure is shown.
[0019] Fig.10 A schematic diagram of the structure of a computer system according to some embodiments of the present disclosure is shown.
[0020] It should be understood that, for ease of description, the sizes of the various parts shown in the drawings are not necessarily drawn according to the actual proportional relationship. The same or similar reference numerals are used in the various drawings to represent the same or similar parts. Therefore, once an item is defined in one drawing, it may not be further discussed in subsequent drawings. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure, but it is obvious that the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The following description of the embodiments is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. 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.
[0022] It should be understood that the various steps recorded in the method embodiments of the present disclosure can be performed in different orders, and / or performed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown in the execution. The scope of the present disclosure is not limited in this respect. Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values of the parts and steps set forth in these embodiments should be interpreted as being merely exemplary and do not limit the scope of the present disclosure.
[0023] The term "include" and its variations used in the present disclosure mean an open term that includes at least the following elements / features but does not exclude other elements / features, that is, "including but not limited to". In addition, the term "include" and its variations used in the present disclosure mean an open term that includes at least the following elements / features but does not exclude other elements / features, that is, "including but not limited to". Therefore, include is synonymous with include. The term "based on" means "based at least in part on".
[0024] References throughout this specification to "one embodiment," "some embodiments," or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. For example, the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments." Furthermore, the appearances of the phrases "in one embodiment," "in some embodiments," or "in an embodiment" in various places throughout this specification do not necessarily all refer to the same embodiment, but may do so.
[0025] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. Unless otherwise specified, the concepts of "first", "second", etc. are not intended to imply that the objects described in this way must be in a given order in time, space, ranking, or any other manner.
[0026] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0028] The embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings, but the present disclosure is not limited to these specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In addition, in one or more embodiments, specific features, structures or characteristics can be combined in any suitable manner that will be clear from the present disclosure by a person of ordinary skill in the art.
[0029] In the related art, although the application provides users with a wealth of courses, users need to learn how to use the course function of the application and provide feedback in a fixed form. In addition, the types of courses provided by the application are limited, making it difficult to provide flexible interaction.
[0030] With the development of artificial intelligence technology, AI-driven objects can interact with users in a rich way. For example, intelligent customer service can answer questions about products generated by users, and translation assistants can translate the language input by users into other languages.
[0031] In the related art, the interaction between the user and the agent is usually within a short specific time period. For example, when the user has the need to interact with the agent, the user finds the agent and sends a message to it, and the agent responds to the message sent by the user. After the user's inquiry is answered, the user will exit the dialogue interface, and the next time the agent is needed, the user will actively open the dialogue interface with the agent. That is, in the current agent interaction, the agent is still in a relatively passive state. The agents in some applications can also occasionally actively push messages to users, but they are usually used to push news and are not involved in the user's long-term learning plan.
[0032] In order to provide users with a more flexible task scheduling and task completion mechanism, the embodiments of the present disclosure utilize the dialogue function between users and intelligent agents to generate and publish tasks, and receive user feedback, so as to save the cost of users' understanding, operation and execution of tasks, and improve the efficiency of task completion and user experience.
[0033] First, some concepts involved in the present disclosure are explained.
[0034] An agent is an entity that can autonomously perform tasks in a specific environment. An agent can generate corresponding content based on the dialogue sent by other subjects in the dialogue scene (such as users or agents participating in the dialogue). It can be implemented in software, hardware, or a combination of software and hardware. An agent can also be called a digital human, a robot, an agent, or a virtual agent of a machine learning model. An agent can be implemented based on a machine learning model, such as a large language model (LLM) or a foundation model. The machine learning model can be a generative model.
[0035] The generative model is used to output the target content based on the input information. The information input to the generative model includes the processing basis of the generative model in the generation process, such as the messages sent by other subjects in the conversation, the requirements for the output content, etc. The generative model includes, for example, a model based on text generation or a model based on image generation, and the output of the generative model may include text, image, or a combination of the two. Of course, the input or output of the generative model may also be data of other modalities, such as audio, video, or a combination of multiple types of data. The generative model may be a single modality model, such as a model that generates text based on text (referred to as "text-generated text model"), a model that generates images based on images (referred to as "image-generated image model"); or, the generative model may also be a cross-modality model, that is, a model whose input and output belong to different modalities, such as a model that generates images based on text (referred to as "text-generated image model"); or, the input of the generative model may include multiple modalities, and the output may also include multiple modalities.
[0036] Reference below Figure 1 An embodiment of the disclosed interactive method is described.
[0037] Figure 1 FIG. 1 is a flow chart showing an interactive method according to some embodiments of the present disclosure. Figure 1 As shown, the interaction method of this embodiment includes steps S102 to S108.
[0038] In step S102, tasks for each sub-period in the period are generated for the user according to the task theme.
[0039] Task topics are used to represent the core words, keywords, etc. of the tasks to be performed. Each task topic can belong to one or more task types. Each task type can include one or more task topics, or one or more subcategories. Each subcategory includes one or more task topics. For example, in the task type of learning, multiple subcategories can be included, such as math learning, English learning, and article learning. In English learning, multiple topics can be included, such as English vocabulary, English listening, middle school English, and college English.
[0040] The task topic may be provided and input by the user, or may be specified by the application, or may be provided by the application and one or more candidate topics may be selected by the user.
[0041] In some embodiments, step S102 is performed in response to a user sending an instruction to create a task to the agent. The user triggers the task generation process by, for example, sending a message in a dialogue interface with the agent. Alternatively, in response to the display of the dialogue interface, the agent automatically performs the task generation process.
[0042] An agent can provide users with one or more specified types of tasks, or one or more specified task themes. That is, when users want to make plans through agents, they can interact with agents of a specified type. For example, when users want to complete the task of learning English, they can trigger the generation of tasks by interacting with the "English Learning" agent. Of course, some agents can also support users' free input to generate various tasks without the need for users to search for dedicated agents.
[0043] The generated task covers a period of a certain length, and in each sub-period of the period, the user needs to send a message for feedback. The length of the period can be specified by the user. For example, if the user sends a message "I want to make a 20-day plan to learn English", the length of the period is 20 days. Alternatively, the length of the period can be a default. For example, for tasks generated during the summer vacation, the period can be the summer vacation. Alternatively, the length of the period can be determined according to the task theme. For example, the agent determines the period by counting the historical tasks of the task theme, or determines it according to the characteristics of the task theme. Similar to the length of the period, the length of the sub-period can also be determined in a variety of ways. The length of the sub-period can be a default, such as setting one day or one week as a sub-period by default; or, it can also be specified by the user or determined by the agent.
[0044] In some embodiments, a machine learning model (such as a generative model) can be used to generate tasks. For example, the task subject, or the task subject and information authorized by the user, is processed using a generative model to obtain a generated task. For another example, a pre-set task corresponding to the task subject can be read, and then the pre-set task can be adjusted according to the information authorized by the user, and the adjustment process can be completed using a generative model. That is, the pre-set task and the information authorized by the user are input into the generative model to obtain the adjusted task. The information authorized by the user includes, for example, historical conversations between the user and the agent, basic information disclosed by the user, etc.
[0045] When generating tasks, you can directly generate tasks for each sub-cycle, or you can generate tasks for a cycle and then assign the tasks to each sub-cycle.
[0046] The generated task includes description information of the task, and may include reference resources required by the user when performing the task, execution methods of the reference resources, etc. For example, for a word learning task, the generated task includes a list of words that the user needs to learn every day in the cycle, and indicates that the user needs to memorize these words, then the reference resource is a word list, and the execution method is memory; for another example, for a fitness task, the task of a sub-cycle is to do 5 groups of squats, 5 groups of push-ups, and 2 groups of stretching, then the reference resources may include the words "squats", "push-ups", and "stretching", and may further include a specific description of these actions, or action essentials represented by images or videos, and the execution method is to do these actions, and the number of times each action needs to be done. For some categories, if the execution method is very clear, the execution method may not be included. For example, when the user clearly states that the current task is to memorize words, only the word list can be displayed. Those skilled in the art can make a choice as needed.
[0047] In some embodiments, the task may also include a task feedback method, such as which data format is used, such as text, voice, image, or video, and the requirements for the amount of content.
[0048] After generating the tasks for each sub-period, they can be saved, for example, stored in a server or locally on a user device. When each sub-period arrives, the tasks corresponding to the current sub-period are read from the stored data and sent to the user. After the initial generation of tasks, all tasks in the period can be sent to the user for preview, or summaries of all tasks can be sent to the user for preview, or none of them can be sent to the user for preview.
[0049] In step S104, in each sub-cycle, the first message sent by the agent to the user is displayed on the dialogue interface, and the first message includes the task of the sub-cycle.
[0050] The first message may include one or more data in text, sound, image, video, link, or file. Unless otherwise specified, the message in the embodiments of the present disclosure refers to the dialogue message in the dialogue interface. The message sent between the agent and the user will be displayed in the dialogue interface (also known as the chat interface).
[0051] The task generated in step S102 may be expressed in the form of a message, that is, the generated task may be directly carried by the first message and sent to the user. Alternatively, the generated task may be formatted data, which includes key content of the task, such as reference resources, execution methods, etc. Then, the formatted data is converted into the first message by a front end such as an application.
[0052] The agent sends tasks through messages in the conversation, so that the user can receive tasks of each sub-period in a timely manner if the user device allows the agent to use notification permissions. For example, the user can obtain tasks of the current sub-period in a timely manner when not using the user device or using other applications besides the application where the agent is located.
[0053] In some embodiments, the message sent by the agent can also be marked with a type, such as a task message or a non-task message, and the user can be allowed to set the notification permission for the task message separately. Thus, the task message sent by the agent can be set to use the notification permission, while the non-task message can be set not to use the notification permission, thereby reducing the disturbance to the user while enabling the user to receive the task in time.
[0054] After receiving the first message, the user can further interact with the agent for the task of the current sub-period by talking to the agent. For example, in response to the user's question or in response to the user's desire to adjust the task of the current sub-period, the user can send a message to the agent. By understanding the semantics of the message sent by the user, the agent can send a corresponding feedback message to the user.
[0055] Take sports tasks as an example. One day's task includes doing fitness action A. However, when the user is doing action A, he finds that the action is not standard and cannot correct it by himself. At this time, he can send a message to the agent and ask the agent to send more reference videos, or send a video of himself doing action A and ask the agent to point out the problem.
[0056] Therefore, by displaying the first message sent by the agent on the dialogue interface to issue the task, it is convenient for the user to interact with the agent, so as to provide the user with more information to better complete the task.
[0057] In step S106, a second message sent by the user to the agent is displayed on the dialogue interface, where the second message is used to provide feedback on the tasks of the current sub-cycle.
[0058] In the embodiments of the present disclosure, users can send feedback through one or more messages, or through a variety of data formats such as text, voice, image, video, and file. In addition, if the message sent by the user does not meet the requirements of task feedback, or the user needs to further feedback more abundant information, the agent can send another message to the user to prompt the user to provide feedback requirements or the content that needs to be modified. Thus, by providing task feedback through the dialogue interface with the agent, users can be assisted to feedback complete information conveniently and efficiently.
[0059] Since some agents, in addition to having task functions, also support users to interact with them in other ways outside of the task, such as chatting that is not related to the task, we can perform semantic analysis on the messages sent by users to determine the relevance of the message content to the task of the current sub-cycle, and judge whether the message sent by the user is feedback for the task.
[0060] In the related art, applications usually provide fixed feedback interfaces for users to provide feedback results. These feedback interfaces include some forms with requirements such as format and word count, and data verification is performed before submitting the form. If the content filled in or uploaded by the user does not meet the requirements, it may not be submitted. In the embodiment of the present disclosure, the user sends a second message through the dialogue interface to provide feedback on the task, which can send the results of the task feedback more flexibly and conveniently. Even if the content of the feedback does not meet the requirements, the intelligent agent can guide the user to upload information that meets the requirements by further communicating with the user.
[0061] In step S108, in response to the second message, a third message sent by the agent to the user is displayed on the dialogue interface, and the third message includes the task progress of the user in the current sub-period.
[0062] After the user sends the second message, the agent can reply with a third message to clarify to the user whether the task of the current sub-cycle has been completed or the degree of completion, so that the user can understand the task completion status.
[0063] In some embodiments, the second message may be parsed to determine whether the user's feedback is relevant to the task topic or the task of the current sub-period. If relevant, some features in the user's feedback may be further determined and matched with the features of the task to determine the user's completion.
[0064] As required, in addition to the progress in the sub-period, the third message may also include the user's total progress of the task for the entire period. The agent may convey the task progress to the user through one or more messages.
[0065] The above embodiment generates tasks according to the task theme, and uses the dialogue interface between the user and the intelligent agent to complete the task issuance and task feedback, which is convenient for users to obtain and execute tasks. Therefore, each link of task issuance and completion can be achieved through dialogue with the intelligent agent, and can support various forms of data sent by users. Therefore, the cost of users' understanding, operation and execution of tasks is saved, and the efficiency of task completion and user experience are improved.
[0066] The following describes the task generation method of some embodiments of the present disclosure by taking the generated task including reference resources and execution mode as an example.
[0067] Figure 2 FIG. 1 is a flow chart showing a task generation method according to some embodiments of the present disclosure. Figure 2 As shown, the task generation method of this embodiment includes steps S202 to S206.
[0068] In step S202, reference resources corresponding to the task theme are determined.
[0069] Reference resources refer to information that needs to be referenced when performing tasks. They can be expressed in any format or combination of text, voice, image, video, file, link, etc. Reference resources corresponding to each task theme can be pre-set and saved. After determining the task theme used by the user, you can also search for information related to the task theme in the resource library or search engine.
[0070] In addition to matching the task theme, the reference resource may also meet other conditions. In some embodiments, the resource corresponding to the task theme may be determined first; then, based on at least one of the basic information of the user and the length of the cycle, the reference resource may be determined from the resources corresponding to the task theme. The resource corresponding to the task theme may be pre-set, or the task theme or the associated words of the task theme may be used to search for resources in a resource library or search engine.
[0071] The length of the cycle can be used as a basis for determining the amount of reference resources. For example, when other conditions remain unchanged, the length of the cycle is positively correlated with the amount of resources. Of course, the length of the cycle can also affect the type of reference resources. For example, for the "watch a movie" task, when the length of the cycle is relatively short, you can provide users with a list of classic movies to watch; when the length of the cycle is relatively long, you can provide users with a list of classic movies and niche movies to watch.
[0072] The user's basic information is used to indicate the basic knowledge or basic ability that the user has in the task topic, which can be expressed by scores, grades or specific descriptions. For example, when making an English learning plan for a primary school student and a college student, their basic information is different, so the reference resources provided to the user are also different.
[0073] In some embodiments, the basic information of the user in the task subject is determined based on at least one of the historical interaction records between the agent and the user and the attribute information of the user authorized by the user. The historical interaction record is, for example, the chat record between the user and the current agent or other agents, or the information of the user creating an agent, and the historical interaction record should be authorized by the user. The historical interaction record can be obtained from all the chat records between the user and the agent, or from the chat records related to the task subject. The attribute information of the user includes, for example, the hobbies, personal descriptions, etc. filled in and authorized by the user in the application. Alternatively, it is the user portrait information authorized by the user and generated according to various operations of the user in the application.
[0074] Figure 3 FIG. 1 is a flow chart showing a method for determining basic user information according to some embodiments of the present disclosure. Figure 3 As shown, the method for determining basic user information in this embodiment includes steps S302 to S304.
[0075] In step S302, the dialogue interface displays the agent sending one or more questions related to the task topic to the user.
[0076] For example, step S302 may be executed in response to the user selecting a task topic. Alternatively, step S302 may be executed in response to the conversation between the agent and the user involving the task topic.
[0077] One or more questions can be determined based on one or more dimensions of the task topic, which can include information such as time, difficulty, objective data, etc. For example, for a task topic of English learning, questions such as how many years of English learning, what exams passed, vocabulary, etc. can be asked. In addition, these questions can also be some tests. These questions can be carried by messages sent by the agent.
[0078] In step S304, based on the answer to the question sent by the user, basic information of the user in the task topic is determined.
[0079] The user's answer can be carried by the message sent by the user. That is, the agent and the user complete the question and answer about the task topic through dialogue. One determination method is to determine the user's basic information based on the questions to which the user gives a positive answer or a correct answer, so as to accurately determine the information the user has mastered. Another determination method is to calculate the user's score or level based on the user's answer as the user's basic information.
[0080] By using the intelligent agent to communicate with the user to complete the determination of the user's basic information, the user's basic information can be determined in a way that is easy for the user to understand and provide feedback. In addition, the determined basic information can indirectly improve the accuracy of task generation, thereby improving the efficiency of task generation and the user's interactive experience.
[0081] In step S204, the execution mode of the reference resource is determined according to the task type to which the task subject belongs.
[0082] Different task types can be set with the same or different execution modes. The execution mode for reference resources corresponding to each task type can be pre-specified. The task type to which the task subject belongs can be pre-set or obtained by semantic analysis or classification of the task subject. When performing semantic analysis, a semantic analysis model or a generative model can be used. When performing classification, a classification model can be used to divide the task subject into one or more of the preset multiple task types.
[0083] The following describes by way of example the execution methods of reference resources corresponding to several task types.
[0084] In response to the task theme belonging to the learning type, the execution mode of the reference resource is determined to be completing a test corresponding to the reference resource, such as word dictation, poem recitation, etc. In response to the task theme belonging to the sports type, the execution mode of the reference resource is determined to be sending an image or video of the user performing an action corresponding to the reference resource, such as uploading an image or video of fitness. In response to the task theme belonging to the appreciation type, the execution mode of the reference resource is determined to be sending information on the user's understanding of the reference resource, such as sending a review of a movie or book.
[0085] In step S206, based on the reference resources and the execution mode, tasks for each sub-period in the period are generated for the user. For example, the reference resources and the execution mode of the current sub-period are indicated in the tasks of each sub-period.
[0086] Through the above embodiments, tasks including reference resources and execution methods can be generated, so that when tasks are released, the content of the tasks and how to complete the tasks can be effectively delivered to users, reducing the user's understanding cost and improving the efficiency of task execution.
[0087] When generating tasks, you can directly generate tasks for each sub-period, or you can generate all tasks first and then assign them to each sub-period. Figure 4 The implementation method of the latter approach is described by way of example.
[0088] Figure 4 FIG. 2 shows a flow chart of a task generation method according to other embodiments of the present disclosure. Figure 4 As shown, the task generation method of this embodiment includes steps S402 to S406.
[0089] In step S402, a task of a cycle and a task amount of each sub-cycle are generated according to the task theme and the length of the cycle. The task of the cycle includes one or more sub-tasks.
[0090] Generating periodic tasks according to the task theme and the length of the period means generating all the tasks of the entire period and dividing them into one or more subtasks according to independent and divisible units. For example, if the task of the entire period is to watch 25 movies, then watching 1 movie can be regarded as a subtask.
[0091] The amount of tasks can be measured using multiple dimensions, such as the time, physical strength or feedback content required to complete the task, the number of reference resources, etc. When determining the amount of tasks for each sub-cycle, it can be determined based on the characteristics of the task theme. For example, for learning types, the amount of tasks for each sub-cycle can be determined based on the Ebbinghaus memory curve to improve learning efficiency; for appreciation tasks such as watching movies, the amount of tasks for each sub-cycle can be the same. That is, the amount of tasks for each sub-cycle in the cycle can be set to be the same or different.
[0092] When determining the task volume of each sub-cycle, the machine learning model can be used to obtain it. For example, the task subject and cycle length are input into a machine learning model such as a generative model, and the machine learning model is instructed to generate the task volume of each sub-cycle that meets the characteristics of the task subject. Then, the determination result of the task volume of each sub-cycle can be obtained from the output of the generative model.
[0093] In step S404, the task amount of each subtask in the task of the period is identified.
[0094] When determining the task amount of each subtask, it can be determined by the number or content of the reference resources of the subtask, or by combining the reference resources and the execution method. For example, the number of reference resources can be directly determined as the task amount. For another example, the reference resources and execution method of the subtask can be processed using a machine learning model to obtain the task amount of the subtask.
[0095] In step S406, one or more subtasks are allocated to each sub-period according to the task amount of each sub-period and the task amount of each subtask to generate tasks for each sub-period. That is, the task amount of the tasks allocated to each sub-period matches the task amount corresponding to the sub-period. Matching means that the two are equal, or the difference is less than a specified value.
[0096] The above embodiment allocates the tasks of a period to each sub-period according to the task amount of each sub-task, thereby generating a task arrangement that meets the characteristics of the task theme, improving the user's task execution efficiency, and thus improving the user experience.
[0097] The above is an introduction to some embodiments of the task generation stage. Figure 5 An embodiment of determining task progress is exemplarily described.
[0098] Figure 5 FIG. 1 is a flow chart showing a method for determining task progress according to some embodiments of the present disclosure. Figure 5 As shown, the method for determining task progress in this embodiment includes steps S502 to S504.
[0099] In step S502, the second message is identified to determine the feedback provided by the user on the task in the current sub-period.
[0100] The identification of the content of the second message can be achieved through a machine learning model or a matching algorithm, etc.
[0101] In response to the second message including text, semantic recognition may be performed on the text or keywords in the text may be matched to determine the content of the feedback. In response to the second message including voice, voice recognition may be performed on the voice to convert it into text. In response to the second message including sound, features such as tone, rhythm, style, etc. in the sound may be identified to determine the content of the feedback using the identified features. In response to the second message including an image or video, image processing may be performed on the frames in the image or video, such as target recognition, image segmentation, image classification, or color, texture, etc. features may be extracted from the image. For a video, the time information corresponding to the processing result may be further determined.
[0102] For multimedia content such as sound, image, video, etc., feedback on the task can be determined by identifying the target feature in the multimedia content. In some embodiments, the target feature of the multimedia content in the second message is identified according to the type of the target feature corresponding to the task theme; and feedback on the task in the current sub-period is determined according to the target feature.
[0103] The type of target feature corresponding to the task theme can be preset. For example, for sports tasks, the target feature is the feature related to the user's action in the video, and the sound feature or color feature is relatively unimportant. For another example, for painting appreciation features, if the user uploads a copy of a painting, the contour feature and line feature in the image are the target features.
[0104] The feedback of the task can be determined based on the value and quantity of the target feature. For example, when determining whether the user's posture in the image is accurate, the user's posture can be determined based on the position of the key points in the image, or the angle between the lines connecting the key points, etc.
[0105] The following describes, in combination with several types of task topics, an exemplary method of determining task feedback based on target features. For example, in response to the task topic belonging to the learning type, the user's accuracy is determined based on the target features as feedback on the task in the current sub-period; in response to the task topic belonging to the exercise type, the user's action accuracy and exercise intensity are determined based on the target features as feedback on the task in the current sub-period; in response to the task topic belonging to the appreciation type, the semantics of the second message is determined to match the task in the current sub-period based on the target features as feedback on the task in the current sub-period.
[0106] In step S504, based on the feedback, the task progress of the user in the current sub-period is determined.
[0107] The task progress can be determined based on the feedback itself, for example, the content involved in the feedback itself is used as the task progress. Alternatively, the feedback can be compared or calculated with the tasks of the sub-period to determine the task progress, for example, the ratio of the task amount in the feedback to the task amount of the sub-period is determined as the task progress.
[0108] Through the above embodiment, the content of the user's feedback, that is, the content related to the task completion in the message sent by the user, can be determined first, and then the task progress can be determined based on the feedback. Thus, the task progress can be accurately identified and the user's interaction efficiency can be improved.
[0109] Although in the task generation stage, tasks matching the task theme can be generated, or in some embodiments, tasks can be generated based on the user's basic information. However, in the process of performing tasks, it is still possible that the user has difficulty completing the task or the task is too simple for the user due to various reasons. Therefore, in some embodiments of the present disclosure, the tasks to be released (i.e., the unreleased tasks in the current sub-period) can be adjusted according to the user's task progress. Figure 6 An embodiment of the task adjustment method disclosed in the present invention is described.
[0110] Figure 6 FIG. 2 shows a flow chart of a task adjustment method according to some embodiments of the present disclosure. Figure 6 As shown, the task adjustment method of this embodiment includes steps S602 to S606.
[0111] In step S602, in each sub-cycle, in response to the task progress of the user in the completed sub-cycle being lower than a first threshold or higher than a second threshold, the generated sub-cycle tasks are adjusted.
[0112] The first threshold is lower than the second threshold, that is, when the task is completed too quickly or too slowly, the task to be released can be adjusted.
[0113] The task progress can be expressed in numerical values, levels or natural language. It can simply represent the data or information of the user completing the task, such as accuracy, the number of movements made during exercise, etc. Alternatively, the task progress can also be determined based on the data or information of the user completing the task and the data or information corresponding to the task of the sub-period. For example, if the user does 5 sets of movements and the task requires 10 sets, the task progress of the action can be determined as 50%, or it can be determined as "incomplete".
[0114] The ended sub-cycles may be one or more sub-cycles closest to the current one, or may be all ended sub-cycles.
[0115] In step S604, a first message is determined based on the adjusted tasks of the sub-period.
[0116] For example, in response to the task progress being lower than a threshold, the tasks of the current sub-period may be reduced; in response to the task progress being higher than the threshold, the tasks of the current sub-period may be increased.
[0117] According to the needs, when it is determined that the task needs to be adjusted but before the adjustment is implemented, the agent can be controlled to send a confirmation message to the user to ask the user whether the task needs to be adjusted. Then, the message sent by the user is received and processed using the semantic analysis model to confirm whether the user confirms the adjustment. If the user confirms, the first message is determined based on the adjusted task; if the user does not want to adjust, for example, sends a message indicating rejection or does not reply to the inquiry message sent by the agent, the first message is determined based on the task before the adjustment.
[0118] In step S606, the first message sent by the agent to the user is displayed on the dialogue interface.
[0119] Through the above embodiments, the tasks to be released can be flexibly adjusted according to the task progress of the user, thereby improving the flexibility of task generation and release, improving the task execution efficiency of the user, and improving the user experience.
[0120] The following is a schematic diagram of a dialogue interface of some embodiments of the present disclosure to exemplarily describe the interaction process between a user and an agent.
[0121] In some embodiments, in response to the dialogue interface being triggered by the user for the first time within a specified time length, one or more candidate topics provided by the agent are displayed in the dialogue interface; based on the user's input, the task topic is determined from the candidate topics. For example, when the user opens the dialogue interface with the agent for the first time, or when the user opens the dialogue interface after not having a dialogue with the agent for a period of time, the candidate topics may be displayed. Fig. 7A and 7B A schematic diagram of a conversation interface according to some embodiments of the present disclosure is shown.
[0122] For example, when a user opens the dialogue interface 7 with the agent "Daily Word" for the first time, the agent "Daily Word" can send a dialogue message 71 to the user to indicate that it has the function of generating a task plan. Then, selection controls 72 to 74 can be displayed, each of which includes a task topic, such as "TOEFL", "IELTS", and "Business English". The user can determine the selected task topic by sending a message. For example, in Fig. 7A In the example of , the user may trigger control 72 to select the task subject "TOEFL", or may directly send message 75 to indicate that the task subject "TOEFL" is selected.
[0123] certainly, Fig. 7A The use of selection controls 72 to 74 to interact with the user is only an example. As required, messages 71 and 72 to 74 may not be displayed, and the user may directly send a message to indicate the task topic selected by the user.
[0124] After determining the task theme, tasks for each sub-period may be generated and issued in each sub-period. For example, the agent may send a message 76 to the user to indicate the tasks that the user needs to complete in the first sub-period, i.e., the first day. In this example, the tasks for this sub-period include a word list as a reference resource, and "learn 25 new words every day, and review 25 words learned in the previous few days every day" as an execution method.
[0125] After the user completes the task, such as completing the learning of words, the user can send feedback through the message sending control 77. For example, the user can send a message to instruct the agent to make a test for himself, and then the user sends the answer to complete the test.
[0126] Figure 7B Other contents of the dialogue interface 7 are shown. Figure 7B As shown, after the agent sends a task for the first time, component 78 can be displayed on the dialogue interface 7 to confirm with the user whether to allow sending push related to the task. If the user allows the push, when the task needs to be sent in each sub-cycle, the system can push a message to remind the user.
[0127] The above is an exemplary description of the method embodiment of the present disclosure. The following further describes the apparatus and device for executing the above embodiment.
[0128] Figure 8 FIG. 2 shows a schematic diagram of the structure of an interactive device according to some embodiments of the present disclosure. Figure 8 As shown, the interactive device 8 of this embodiment includes: a generation module 801, configured to generate tasks for each sub-period in a cycle for the user according to the task theme; a first display module 802, configured to display a first message sent by the agent to the user on the dialogue interface within each sub-period, the first message including the tasks of the sub-period; a second display module 803, configured to display a second message sent by the user to the agent on the dialogue interface, the second message being used to provide feedback on the tasks of the current sub-period; a third display module 804, configured to display a third message sent by the agent to the user on the dialogue interface in response to the second message, the third message including the user's task progress within the current sub-period.
[0129] In some embodiments, the generation module 801 is further configured to: determine the reference resources corresponding to the task theme; determine the execution method for the reference resources according to the task type to which the task theme belongs; and generate tasks for each sub-cycle in the cycle for the user based on the reference resources and the execution method.
[0130] In some embodiments, the generation module 801 is further configured to: determine resources corresponding to the task theme; and determine reference resources from the resources corresponding to the task theme based on at least one of the basic information of the user and the length of the cycle.
[0131] In some embodiments, the interaction device 8 further includes: a first determination module 805, configured to determine basic information of the user in the task subject based on at least one of the historical interaction records between the agent and the user and the attribute information of the user authorized by the user.
[0132] In some embodiments, the first determination module 805 is further configured to: in response to the user selecting a task topic, display the agent in the dialogue interface to send one or more questions associated with the task topic to the user; based on the answers to the questions sent by the user, determine the user's basic information in the task topic.
[0133] In some embodiments, the generation module 801 is further configured to: in response to the task theme belonging to the learning type, determine the execution method of the reference resource as completing the test corresponding to the reference resource; in response to the task theme belonging to the sports type, determine the execution method of the reference resource as sending an image or video of the user performing the action corresponding to the reference resource; in response to the task theme belonging to the appreciation type, determine the execution method of the reference resource as sending the user's understanding information of the reference resource.
[0134] In some embodiments, the generation module 801 is further configured to: generate tasks for a cycle and the amount of tasks for each sub-cycle based on the task theme and the length of the cycle, the tasks for the cycle including one or more sub-tasks; identify the amount of tasks for each sub-task in the tasks for the cycle; and allocate one or more sub-tasks to each sub-cycle based on the amount of tasks for each sub-cycle and the amount of tasks for each sub-task to generate tasks for each sub-cycle.
[0135] In some embodiments, the first display module 802 is further configured to: within each sub-cycle, in response to the user's task progress in the ended sub-cycle being lower than a first threshold or higher than a second threshold, adjust the tasks of the generated sub-cycle; determine a first message based on the adjusted tasks of the sub-cycle; and display the first message sent by the agent to the user in the dialogue interface.
[0136] In some embodiments, the interaction device 8 further includes: a second determination module 806 configured to identify the second message to determine the feedback provided by the user on the task in the current sub-period; based on the feedback, determine the task progress of the user in the current sub-period.
[0137] In some embodiments, the second message includes multimedia content, and the second determination module 806 is further configured to: identify target features of the multimedia content in the second message based on the type of target features corresponding to the task theme; and determine feedback on the task in the current sub-period based on the target features.
[0138] In some embodiments, the second determination module 806 is further configured to: in response to the task theme belonging to the learning type, determine the user's accuracy based on the target characteristics as feedback on the task in the current sub-cycle; in response to the task theme belonging to the sports type, determine the accuracy and exercise intensity of the user's movements based on the target characteristics as feedback on the task in the current sub-cycle; in response to the task theme belonging to the appreciation type, determine the degree of match between the semantics of the second message and the task in the current sub-cycle based on the target characteristics as feedback on the task in the current sub-cycle.
[0139] In some embodiments, the interaction device 8 also includes: a third determination module 807, which is configured to display one or more candidate topics provided by the agent in the dialogue interface in response to the dialogue interface being triggered by the user for the first time within a specified time length; and determine the task topic from the candidate topics based on the user input.
[0140] It should be noted that the above-mentioned units are only logical modules divided according to the specific functions implemented by them, and are not used to limit the specific implementation methods. For example, they can be implemented in software, hardware, or a combination of software and hardware. In actual implementation, the above-mentioned units can be implemented as independent physical entities, or can also be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.). In addition, the above-mentioned units are shown with dotted lines in the drawings to indicate that these units may not actually exist, and the operations / functions implemented by them can be implemented by the processing circuit itself.
[0141] In addition, although not shown, the device may also include a memory, which may store various information generated by the device, various units contained in the device during operation, programs and data for operation, data to be sent by the communication unit, etc. The memory may be a volatile memory and / or a non-volatile memory. For example, the memory may include, but is not limited to, a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a read-only memory (ROM), and a flash memory. Of course, the memory may also be located outside the device. Optionally, although not shown, the device may also include a communication unit, which may be used to communicate with other devices. In one example, the communication unit may be implemented in a suitable manner known in the art, such as including communication components such as an antenna array and / or a radio frequency link, various types of interfaces, communication units, etc. It will not be described in detail here. In addition, the device may also include other components not shown, such as a radio frequency link, a baseband processing unit, a network interface, a processor, a controller, etc. It will not be described in detail here.
[0142] Some embodiments of the present disclosure also provide an electronic device. Fig. 9 A schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure is shown. For example, in some embodiments, the electronic device 9 can be various types of devices, for example, can include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. For example, the electronic device 9 can include a display panel for displaying data and / or execution results used in the scheme according to the present disclosure. For example, the display panel can be in various shapes, such as a rectangular panel, an elliptical panel, or a polygonal panel, etc. In addition, the display panel can be not only a flat panel, but also a curved panel, or even a spherical panel.
[0143] like Fig. 9 As shown, the electronic device 9 of this embodiment includes: a memory 91 and a processor 92 coupled to the memory 91. It should be noted that Fig. 9 The components of the electronic device 9 shown are only exemplary and non-restrictive. The electronic device 9 may also have other components according to actual application requirements. The processor 92 may control other components in the electronic device 9 to perform desired functions.
[0144] In some embodiments, the memory 91 is used to store one or more computer-readable instructions. When the processor 92 is used to execute the computer-readable instructions, the computer-readable instructions are executed by the processor 92 to implement the method according to any of the above embodiments. For the specific implementation of each step of the method and the related explanation content, please refer to the above embodiments, and the repetition will not be repeated here.
[0145] For example, the processor 92 and the memory 91 may communicate with each other directly or indirectly. For example, the processor 92 and the memory 91 may communicate with each other through a network. The network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 92 and the memory 91 may also communicate with each other through a system bus, which is not limited by the present disclosure.
[0146] For example, the processor 92 may be embodied as various appropriate processors, processing devices, etc., such as a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The central processing unit (CPU) may be an X86 or ARM architecture, etc. For example, the memory 91 may include any combination of various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The memory 91 may include, for example, a system memory, which may store, for example, an operating system, an application, a boot loader (Boot Loader), a database, and other programs. Various applications and various data may also be stored in the storage medium.
[0147] In addition, according to some embodiments of the present disclosure, various operations / processes according to the present disclosure, when implemented by software and / or firmware, can be transmitted from a storage medium or a network to a computer system having a dedicated hardware structure, such as Fig.10 The computer system 100 shown installs the programs constituting the software, and when the various programs are installed, the computer system can perform various functions, including the functions described above. Fig.10 A schematic diagram of the structure of a computer system according to some embodiments of the present disclosure is shown.
[0148] exist Fig.10In the embodiment, a central processing unit (CPU) 1001 performs various processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 to a random access memory (RAM) 1003. In RAM 1003, data required when CPU 1001 performs various processes, etc., is also stored as needed. The central processing unit is merely exemplary, and it may also be other types of processors, such as the various processors described above. ROM 1002, RAM 1003, and storage part 1008 may be various forms of computer-readable storage media, as described below. It should be noted that although Fig.10 ROM 1002, RAM 1003 and storage device 1008 are shown separately in FIG, but one or more of them may be combined or located in the same or different memory or storage modules.
[0149] The CPU 1001, the ROM 1002, and the RAM 1003 are connected to one another via a bus 1004. To the bus 1004, an input / output interface 1005 is also connected.
[0150] The following components are connected to the input / output interface 1005: an input portion 1006, such as a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output portion 1007, including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage portion 1008, including a hard disk, a magnetic tape, etc.; and a communication portion 1009, including a network interface card such as a LAN card, a modem, etc. The communication portion 1009 allows communication processing to be performed via a network such as the Internet. It is easy to understand that although Fig.10 The various devices or modules in the computer system 100 are shown to communicate via the bus 1004, but they may also communicate via a network or other means, wherein the network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.
[0151] A drive 1010 is also connected to the input / output interface 1005 as needed. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted on the drive 1010 as needed so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0152] In the case where the above-described series of processing is realized by software, a program constituting the software can be installed from a network such as the Internet or a storage medium such as the removable medium 1011 .
[0153] According to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1009, or installed from a storage device 1008, or installed from a ROM 1002. When the computer program is executed by the CPU 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0154] It should be noted that in the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer-readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by an instruction execution system, device or device or used in combination with it. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0155] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0156] In some embodiments, a computer program is further provided, comprising: instructions, which, when executed by a processor, cause the processor to execute any of the methods of the above embodiments. For example, the instructions may be embodied as computer program codes.
[0157] In embodiments of the present disclosure, computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In situations involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0158] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite 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 implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0159] The modules, components or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the names of the modules, components or units do not, in some cases, limit the modules, components or units themselves.
[0160] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0161] The above descriptions are only some embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, a technical solution formed by replacing the above features with the technical features with similar functions disclosed in the present disclosure (but not limited to).
[0162] In the description provided herein, many specific details are set forth. However, it is understood that embodiments of the present invention can be implemented without these specific details. In other cases, well-known methods, structures, and techniques are not presented in detail in order not to obscure the understanding of the description.
[0163] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0164] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. An interactive method, comprising: Generate tasks for each sub-cycle in the cycle for users based on the task theme; In each sub-period, displaying a first message sent by the agent to the user on the dialogue interface, wherein the first message includes the task of the sub-period; Displaying, on the dialogue interface, a second message sent by the user to the agent, where the second message is used to provide feedback on a task in a current sub-period; In response to the second message, a third message sent by the agent to the user is displayed on the dialogue interface, wherein the third message includes the task progress of the user in the current sub-period.
2. The interactive method according to claim 1, wherein: The tasks for each sub-period in the cycle generated for the user according to the task theme include: Identify reference resources corresponding to the task topic; Determine the execution method of the reference resource according to the task type to which the task subject belongs; Based on the reference resource and the execution mode, a task of each sub-cycle in the cycle is generated for the user.
3. The interactive method according to claim 2, wherein: Determining the reference resource corresponding to the task theme includes: Identify resources corresponding to the task topic; The reference resource is determined from resources corresponding to the task theme according to at least one of the basic information of the user and the length of the cycle.
4. The interactive method according to claim 3, further comprising: The basic information of the user in the task subject is determined according to at least one of the historical interaction records between the agent and the user and the attribute information of the user authorized by the user.
5. The interactive method according to claim 4, wherein: Determining the basic information of the user in the task topic according to the historical interaction records between the agent and the user includes: In response to the user selecting the task topic, displaying on the dialogue interface that the agent sends one or more questions associated with the task topic to the user; Based on the answer to the question sent by the user, basic information of the user in the task topic is determined.
6. The interactive method according to any one of claims 2 to 5, wherein: Determining the execution mode of the reference resource according to the task type to which the task subject belongs includes: In response to the task subject belonging to the learning type, determining the execution mode of the reference resource to complete a test corresponding to the reference resource; In response to the task theme belonging to the sports type, determining the execution mode of the reference resource to be sending an image or video of the user performing an action corresponding to the reference resource; In response to the task theme belonging to the appreciation type, the execution mode of the reference resource is determined to be sending the user's understanding information of the reference resource.
7. The interactive method according to any one of claims 1 to 6, wherein: The tasks of each sub-period in the cycle generated for the user according to the task theme include: Generate tasks for the cycle and task amounts for each sub-cycle according to the task subject and the length of the cycle, wherein the tasks for the cycle include one or more sub-tasks; Identify the task amount of each subtask in the task of the cycle; According to the task amount of each sub-cycle and the task amount of each sub-task, the one or more sub-tasks are allocated to each sub-cycle to generate tasks for each sub-cycle.
8. The interactive method according to any one of claims 1 to 7, wherein: The displaying, in each sub-period, of the first message sent by the agent to the user on the dialogue interface comprises: In each sub-cycle, in response to the task progress of the user in the ended sub-cycle being lower than a first threshold or higher than a second threshold, adjusting the generated task of the sub-cycle; determining the first message based on the adjusted tasks of the sub-period; The first message sent by the agent to the user is displayed on the dialogue interface.
9. The interactive method according to any one of claims 1 to 8, further comprising: Identifying the second message to determine feedback provided by the user on the task in the current sub-period; Based on the feedback, the task progress of the user in the current sub-period is determined.
10. The interactive method according to claim 9, wherein: The second message includes multimedia content, and the identifying the second message to determine the feedback provided by the user on the task in the current sub-period includes: identifying a target feature of the multimedia content in the second message according to a type of the target feature corresponding to the task topic; Feedback for the tasks in the current sub-cycle is determined according to the target feature.
11. The interactive method according to claim 10, wherein: Determining feedback for the task in the current sub-period according to the target feature includes: In response to the task subject belonging to the learning type, determining the accuracy of the user according to the target feature as feedback for the task in the current sub-period; In response to the task theme belonging to the exercise type, determining the accuracy and exercise intensity of the user's action according to the target feature as feedback for the task in the current sub-period; In response to the task theme belonging to the appreciation type, the matching degree between the semantics of the second message and the task in the current sub-period is determined according to the target feature as feedback to the task in the current sub-period.
12. The interactive method according to any one of claims 1 to 11, further comprising: In response to the dialogue interface being triggered by the user for the first time within a specified time period, displaying one or more candidate topics provided by the agent in the dialogue interface; Based on the user's input, the task topic is determined from the candidate topics.
13. An electronic device, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the interaction method according to any one of claims 1 to 12 based on instructions stored in the memory.
14. A computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the interactive method according to any one of claims 1 to 12.
15. A computer program product, when the computer program product is run on a computer, enables the computer to implement the interactive method according to any one of claims 1 to 12.
16. A computer program comprising: Instructions, which, when executed by a processor, cause the processor to perform the interaction method according to any one of claims 1 to 12.