Instruction response method and device, wearable equipment and storage medium

By dealing with the instruction information of different sources and using the preset key thesaurus to match, generate a list of task lists and perform target tasks, solve the problem that the traditional instruction response method is difficult to meet the needs of diversified user needs, and achieve efficient and accurate task generation and execution. Improving the user experience.

CN119357441AInactive Publication Date: 2025-01-24BEIJING SUPERHEXA CENTURY TECH CO LTD

Patent Information

Application Number
CN202411895784.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-01-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional instruction response methods are difficult to flexibly adapt to diverse user needs, and cannot respond to user instructions quickly and accurately and generate corresponding to-do items.

Method used

By processing the instruction information from different sources, the preset key thesaurus and instruction information are used to match the list of tasks, and the target tasks in the task list are performed.

Benefits of technology

A precise understanding of user intentions has been realized, the flexibility and efficiency of tasks are improved, the accuracy and pertinence of the task is ensured, and the user experience and the practicality of the equipment are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119357441A_ABST
    Figure CN119357441A_ABST
Patent Text Reader

Abstract

The invention provides an instruction response method and device, wearable equipment and a storage medium, and belongs to the technical field of information processing.The method comprises the steps that received first instruction information is responded, and the first instruction information is processed to obtain a task list; in response to the received second instruction information, matching the second instruction information with keywords in a preset keyword library, and processing the second instruction information based on a matching result to obtain a task list; wherein the sources of the first instruction information and the second instruction information are different; and executing each target task corresponding to the task list. Tasks such as to-do and memorandum can be quickly generated according to user requirements or received instruction information, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of information processing technology, and more specifically, relates to a command response method and device, a wearable device, and a storage medium. Background Art

[0002] In the field of information processing technology, with the popularization of smart devices and users' pursuit of efficient lifestyles, how to quickly and accurately respond to user commands and generate corresponding to-do items has become an urgent problem to be solved. The traditional command response method is often achieved by waking up the AI ​​assistant, which is difficult to flexibly adapt to diverse user needs. Summary of the invention

[0003] The purpose of the present disclosure is to provide a command response method and apparatus, a wearable device, and a storage medium, which can quickly generate tasks such as to-do items and memos according to user needs or according to received command information, thereby improving user experience.

[0004] According to a first aspect of an embodiment of the present disclosure, a command response method is provided, which is applied to a first device and includes: In response to receiving the first instruction information, processing the first instruction information to obtain a task list; In response to receiving the second instruction information, matching the second instruction information with keywords in a preset keyword library, and processing the second instruction information based on the matching result to obtain a task list; wherein the first instruction information and the second instruction information are from different sources; Execute each target task corresponding to the task list.

[0005] According to a second aspect of an embodiment of the present disclosure, there is provided a command response device, which is applied to a first device and includes: A first processing module, configured to, in response to receiving first instruction information, process the first instruction information to obtain a task list; A second processing module is configured to, in response to receiving the second instruction information, match the second instruction information with keywords in a preset keyword library, and process the second instruction information based on the matching result to obtain a task list; wherein the first instruction information and the second instruction information are from different sources; The execution module is used to execute each target task corresponding to the task list.

[0006] According to a third aspect of an embodiment of the present disclosure, a wearable device is provided, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the above-mentioned instruction response method when executing the computer program.

[0007] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned instruction response method are implemented.

[0008] The command response method and apparatus, wearable device, and storage medium provided by the embodiments of the present disclosure have the following beneficial effects: On the one hand, the present disclosure can accurately understand the user's intention and generate a corresponding task list by intelligently parsing and processing the first instruction information and the second instruction information from different sources. This cross-source instruction processing capability greatly improves the flexibility of the device. The first device can respond to the user's voice information and the messages generated by other APPs.

[0009] On the second aspect, the present disclosure realizes the rapid processing of instruction information and the efficient generation of tasks by matching the preset keyword library with the instruction information. This mechanism not only improves the efficiency of task generation, but also ensures the accuracy and pertinence of the tasks. At the same time, the target tasks (to-do or memo) corresponding to the task list are executed, so that the device can complete various tasks in an orderly manner according to the user's expectations and requirements, thereby improving the practicality of the device and user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 A flowchart of a command response method provided by an embodiment of the present disclosure; Figure 2 A structural block diagram of a command response device provided in an embodiment of the present disclosure; Figure 3 A structural block diagram of a command response device provided in another embodiment of the present disclosure; Figure 4 A schematic block diagram of a wearable device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0012] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.

[0013] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0014] Please refer to Figure 1 , Figure 1 A flowchart of a command response method provided in an embodiment of the present disclosure, the method comprising: S101: In response to receiving first instruction information, the first instruction information is processed to obtain a task list.

[0015] In this embodiment, the first instruction information is the voice information received by the first device, which includes the voice information of the target user. It is the carrier for the user to convey his or her needs and the intention of expected execution of operations to the device. For example, the user says "help me create a to-do list for tomorrow's meeting" through voice, and this voice content is the first instruction information. The task list includes creating to-dos, memos, and calling other applications. For example, creating a to-do task for a specific time and specific items; used to record some important reminders and information; opening corresponding software programs according to user needs, etc.

[0016] The first instruction information is processed to obtain a task list, including: Determine the identity information of the target user based on the first instruction information, and process the first instruction information based on the identity information of the target user to obtain a task list; or, Determine the target task type based on the first instruction information; The first instruction information is processed based on the target task type to obtain a task list.

[0017] The first instruction information is processed based on the identity information of the target user to obtain a task list, including: A first frequency of use of a first device by a target user is determined based on the identity information of the target user, and a task list is obtained by processing the first instruction information based on the first frequency.

[0018] In this embodiment, the identity information is the relevant information used to identify the target user, which can help the system distinguish different users so as to more accurately process the first instruction information according to the personalized settings, permissions, preferences, etc. of different users. The identity information of the target user, such as user name, user ID, account information or other information that can uniquely identify the user. The frequency of the user using the first device is determined according to the identity information of the target user. The first frequency represents the number of times or duration of using the device within a period of time (such as one day, one week or one month). For example, user A is the owner of the first device, and user B is a relative of user A. For the first device, the frequency of user A using the first device is greater than the frequency of user B using the first device. For users with high frequency of use, the AI ​​assistant in the device can learn their language habits, questioning methods and preferences faster. For users with low frequency of use, AI knows relatively less about them. A threshold can be set to determine the height of the first frequency. For example, when the first frequency is greater than a preset threshold, it indicates that the first frequency is a high frequency, and when the first frequency is less than or equal to the preset threshold, it indicates that the first frequency is a low frequency.

[0019] For example, if the first instruction information is "Please add an alarm for me at 3 pm tomorrow", if the target user uses the first device at a low frequency, the task created by the first device according to the instruction information may be "set an alarm at 3 pm tomorrow, and the alarm ringtone is the default ringtone". If the target user uses the first device at a high frequency, the first device determines that the user likes soft music based on the user's historical behavior habits, so the task created by the first device according to the instruction information may be "set an alarm at 3 pm tomorrow, and the alarm ringtone is soft music".

[0020] Among them, the target task type is determined based on the first instruction information; the first instruction information is processed based on the target task type to obtain a task list. In this embodiment, according to the voice characteristics, keywords, etc. in the first instruction information, a preset algorithm (such as a voice recognition algorithm, a semantic analysis algorithm) and user context information are called to determine the target task type. The first instruction information is parsed, verified, converted or expanded based on the target task type to obtain a task list. Each task item in the task list contains specific information required for execution, such as task name, parameters, execution order, etc.

[0021] S102: In response to receiving the second instruction information, matching the second instruction information with keywords in a preset keyword library, and processing the second instruction information based on the matching result to obtain a task list; wherein the first instruction information and the second instruction information are from different sources.

[0022] In this embodiment, the second instruction information is information from other apps received by the first device. This information is generated by different apps and transmitted to the first device. The source is relatively wide, covering apps of various functional attributes, such as social apps, office apps, entertainment apps, life service apps, etc., which transmit order status changes, service appointment reminders, etc. Its presentation form includes simple text notifications, such as "You have a new message, please check it out", which directly expresses the content, and also contains more structured data, such as data sent by map apps containing detailed geographic information such as location coordinates and route planning. The preset keyword library is a collection of many pre-set and stored keywords. It is a reference system constructed for analyzing and processing the second instruction information, which is usually determined by the device developer or operator based on factors such as the types of tasks that the device itself can handle and the common information scenarios that need to be dealt with.

[0023] Keywords specifically refer to individual lexical elements with clear semantic functions contained in the preset keyword library. Each keyword represents a specific task, operation or theme-related concept. For example, words that indicate time include "today", "afternoon" and "November 3"; words that indicate weather include "rain", "snow" and "dust"; work materials include "project" and "customer needs"; friend's birthday, etc.

[0024] In this embodiment, matching the second instruction information with the keywords in the preset keyword library includes: determining a processing method corresponding to the second instruction information according to the type of the second instruction information, and processing the second instruction information based on the processing method corresponding to the second instruction information to obtain a plurality of first keywords; The plurality of first keywords are matched with keywords in a preset keyword library.

[0025] The types of the second instruction information include text data and structure data. If the second instruction type is text data, the processing method corresponding to the second instruction information is determined to be grammar and semantic decomposition; if the second instruction type is structure data, the processing method corresponding to the second instruction information is determined to be data analysis and key information extraction.

[0026] For example, if the second instruction information is "You have a new message, remember to attend the project meeting at 3 pm tomorrow. The meeting place is in XX Building. It may rain, remember to bring an umbrella", the first device will split it into word or phrase combinations according to the grammatical and semantic rules of natural language, such as "tomorrow", "3 pm", "project meeting", "XX Building", "raining" and other content units.

[0027] If the second instruction information is data containing detailed geographic information such as location coordinates and route planning sent by a map APP, or structured product details data containing product numbers, prices, inventory and other information transmitted by an e-commerce APP, etc., it is necessary to use corresponding data parsing methods and extract valuable key information that can reflect specific intentions based on its data structure characteristics (such as the corresponding parsing rules of JSON format, XML format, etc.), such as extracting the target location name and key coordinate points from the geographic information data, and extracting the core attribute information of the product from the product details data.

[0028] After the first keyword is extracted, it is necessary to match the first keyword with the keywords in the preset keyword library, and process the second instruction information based on the matching results to obtain a task list. If the matching results show that multiple first keywords are successfully matched with the keywords related to work arrangements in the preset keyword library, such as "project meeting" matches "meeting arrangement" and "tomorrow at 3 pm" matches the time-related keywords, then it can be determined that this second instruction information mainly involves work arrangement matters, and then it is processed into a specific task item such as "add tomorrow at 3 pm to attend the project meeting to the schedule reminder task list", and the entire task list is aggregated.

[0029] S103: Execute each target task corresponding to the task list.

[0030] In this embodiment, executing each target task corresponding to the task list includes: classifying the target tasks in the task list according to the nature and field of the task, and executing each target task according to the classification result; Or, determine the priority of each target task according to the importance level of the task, and execute each target task based on the priority of each target task; Or, each task in the task list is matched with a preset task template in the first device to obtain a target task template corresponding to each task; each target task is obtained based on the task list and the target task template, and each target task is executed.

[0031] For the first case, the nature of the task refers to the characteristics of the task itself, such as information query (such as querying the weather, querying stock prices), data processing (such as file format conversion, image editing), reminder (such as setting alarms, reminding schedules), operation execution (such as opening applications, sending messages), etc. The field to which it belongs considers the scope of the task from a more macro perspective, such as the field of life services (including takeout ordering, transportation inquiries), office fields (document creation and editing, meeting arrangements), entertainment fields (music playback, game launch), etc. By comprehensively considering the nature of the task and the field to which it belongs, the target tasks in the task list can be clearly classified. For example, the task of "querying tomorrow's weather forecast" is an information query in nature and a life service in the field, so it can be classified into the life service-information query category.

[0032] For the second case, the importance level of the task can be determined based on the urgency of the task, the scope of impact, and the user's preferences. For example, if a task has a strict time limit, such as "complete the file sending within 5 minutes, otherwise it will affect the progress of an important meeting", then the urgency of this task is high. If the completion of a task will have a significant impact on many other matters, then its importance level is usually higher. For example, the system security update task involves the security and stability of the entire device and affects the normal operation of all applications, so the importance level is very high. The user's personal preferences and main purpose of use will also affect the importance level of the task. If the user mainly uses the first device to work, then work-related tasks (such as completing project reports and replying to work emails) will be regarded as more important tasks by the user.

[0033] In this embodiment, a numerical value may be used to represent the priority. For example, the priority is divided into 5 levels, 1 represents the highest priority, and 5 represents the lowest priority. The priority corresponding to each task is determined according to the urgency of the task, the scope of impact, and the user's preference. The priorities corresponding to all tasks are sorted from high to low, and each target task is executed according to the sorting result.

[0034] For the third case, the preset task template is a series of standardized task frameworks or modes pre-set in the first device. These templates cover various common task types that the device can handle, and clearly define key elements such as the specific process of each type of task, the operating steps involved, and the required resources. For example, for the task template "Create a meeting reminder", it may stipulate the need to collect information such as meeting time, participants, meeting topics, and subsequent specific steps for setting reminders in the calendar application, including time format requirements, reminder method (sound, pop-up window, etc.) settings, etc.

[0035] When faced with each task in the task list, the device will match its features, requirements, etc. with the preset task template. After the match is successful, the original task description in the task list is filled into the matching target task template to obtain each target task. Then, each target task is set.

[0036] From the above, it can be concluded that, on the one hand, the present disclosure can accurately understand the user's intention and generate a corresponding task list by intelligently parsing and processing the first instruction information and the second instruction information from different sources. This cross-source instruction processing capability greatly improves the flexibility of the device. The first device can respond according to the user's voice information, and can also respond according to messages generated by other APPs.

[0037] On the second aspect, the present disclosure realizes the rapid processing of instruction information and the efficient generation of tasks by matching the preset keyword library with the instruction information. This mechanism not only improves the efficiency of task generation, but also ensures the accuracy and pertinence of the tasks. At the same time, the various target tasks corresponding to the task list are executed, so that the device can complete various tasks in an orderly manner according to the user's expectations and requirements, thereby improving the practicality of the device and user satisfaction.

[0038] In one embodiment of the present disclosure, the first instruction information is processed to obtain a task list, including: Determine the target task type based on the first instruction information; The first instruction information is processed based on the target task type to obtain a task list.

[0039] In this embodiment, determining the target task type based on the first instruction information includes: obtaining the identity information of the target user based on the first instruction information, the identity information including voice features; determining the target task type based on the identity information of the target user and the first instruction information. The first instruction information is the voice information of the user, and acoustic feature analysis is performed on the voice features of the target user to extract its unique timbre features. Different users have different timbres. By identifying the timbre, it can be determined which specific user issued the instruction, and then combined with the user's past usage habits to assist in determining the task type. For example, if the timbre identifies user A who frequently uses office functions, then his instructions are more likely to be related to office-related task types.

[0040] Determining the target task type based on the target user's identity information and the first instruction information means that different users may have different corresponding target task types even if they issue similar instruction information due to their respective roles, usage habits, scope of authority, and past operation history. By combining identity information and instruction information, it is possible to more accurately determine what type of task the user actually wants to perform.

[0041] The first instruction information is processed based on the target task type to obtain a task list. For example, if it is determined that the target task type is an information query type, such as querying the weather, the qualifiers about the query conditions in the instruction are further analyzed. For "check the weather in Beijing tomorrow", it is clear that the time to be queried is "tomorrow" and the location is "Beijing", and then these specific conditions are integrated to prepare to call the corresponding weather query service, and generate specific task items such as "call the weather query application, enter the time as tomorrow, the location as Beijing, obtain and display weather information" and put them into the task list. If it is determined that the target task type is a reminder setting type, the reminder time (3 pm) and the event content of the reminder (meeting) can be parsed, and then according to the reminder function setting method of the device, "open the reminder application (such as the reminder function of the calendar application), add reminder items, set the reminder time to 3 pm, and fill in the reminder content as a meeting" is generated. Task content such as this is added to the task list.

[0042] From the above, it can be concluded that by analyzing the first instruction information and the voice characteristics of the target user, the target task type can be accurately determined, and based on this, a task list is obtained. This method improves the accuracy and efficiency of task identification, allowing the device to respond to user needs more quickly.

[0043] In one embodiment of the present disclosure, the second instruction information is processed based on the matching result to obtain a task list, including: When the second instruction information matches a keyword in a preset keyword library, converting the second instruction information into text information, and segmenting the text information to obtain at least one phrase; A task list is determined based on the obtained phrases.

[0044] In this embodiment, the second instruction information is of various types, and can be text data or structured data. If it is text data, converting the second instruction information into text information is just a simple preprocessing such as format unification. If it is structured data, it is necessary to extract valuable and expressive information through certain parsing methods and convert it into a textual expression. For example, for structured data transmitted by a map application, key information such as "the destination is XX shopping mall" and "the departure point is XX community" is extracted from it, and converted into a text description "from XX community to XX shopping mall" for subsequent natural language processing related operations.

[0045] After the second instruction information is converted into text information, it is disassembled using the word segmentation technology in natural language processing. Word segmentation is to divide the continuous text flow into phrases with independent meanings according to the grammatical and semantic rules of the language. By analyzing these phrases, the specific tasks to be performed are determined and summarized into a task list.

[0046] It can be concluded from the above that in the embodiments of the present disclosure, by matching the preset keyword library with the second instruction information, rapid recognition and response to the instruction is achieved. Once the match is successful, the instruction is converted into text information and processed by word segmentation to obtain specific phrases, which directly reflect the user's intentions and needs. The task list determined based on these phrases not only more accurately meets the actual needs of the user, but also greatly improves the efficiency and accuracy of task processing.

[0047] In one embodiment of the present disclosure, executing each target task corresponding to the task list includes: Match each task in the task list with a preset task template in the first device to obtain a target task template corresponding to each task; Obtain each target task based on the task list and the target task template, and execute each target task.

[0048] In this embodiment, each target task is obtained based on the task list and the target task template, including: Fill each task in the task list into the target task template to obtain a first task, and there is at least one first task; If the event type of the first task is the same as that of the preset task in the first device, audio information of the same type as that of the preset task is added to the first task to obtain the target task.

[0049] In this embodiment, the task list includes multiple specific task descriptions that need to be performed. These tasks are based on the previous processing of user instructions and other information. Each task has its corresponding target task template. For example, for "remind to attend the department meeting at 3 pm", the matching template may be "meeting reminder setting template".

[0050] Taking the task of "Remind to attend the department meeting at 3 pm" and its corresponding "Meeting Reminder Setting Template" as an example, the "Meeting Reminder Setting Template" itself stipulates some common elements and operation procedures that need to be filled in, such as the meeting time, meeting topic, participants and other information. Then, fill in the specific time information of "3 pm" in the task "Remind to attend the department meeting at 3 pm" into the corresponding time filling position in the template, and complete the part that can be filled in according to the requirements of the template. After such filling operation, a relatively complete and specific first task is formed.

[0051] The preset tasks in the first device are divided into different event types, such as office events (such as document creation, meeting arrangements, etc.), life service events (such as weather inquiries, takeout orders, etc.), etc. For each generated first task, it is necessary to determine which event type it belongs to, and then compare it with the event type of the preset tasks in the first device. For example, after the previous filling operation, a first task is about setting a meeting reminder, and its event type is office. Check the preset office tasks in the first device and find those tasks with the same event type to determine the reference standard for adding audio information later.

[0052] Once it is determined that the first task has the same event type as the preset task in the first device, an audio element is added to the first task according to the audio information associated with the same type of preset task. Assume that in the first device, in the office preset tasks, tasks such as meeting reminders are usually associated with a specific prompt tone (such as a short ringtone). When the first task of the meeting reminder has the same event type as the preset task, this specific prompt tone is added to the first task to make it the target task. When the target task is subsequently executed, the meeting reminder to-do items with a specific ringtone will be added to the schedule. If the target task is a work summary or other content, it can be added to the memo of the mobile phone when the task is executed.

[0053] It can be concluded from the above that this embodiment realizes the automatic processing and personalized customization of tasks by matching the task list with the preset task template. It not only improves the efficiency and accuracy of task execution, but also enhances the richness and interactivity of user experience by adding specific audio information to tasks of the same event type. In addition, the method is also highly flexible and scalable, can adapt to the needs of different users and scene changes, and provides great convenience for daily office and life services.

[0054] In one embodiment of the present disclosure, obtaining each target task based on the task list and the target task template further includes: If the event occurrence time of the first task is the same as the event occurrence time of the preset task in the first device, sending a first inquiry message to the target user; Based on the third instruction information of the target user in response to the first inquiry information, the first task is modified to obtain the target task.

[0055] In this embodiment, when it is detected that the event occurrence time of the first task conflicts with that of the preset task, the device will send this inquiry message to the target user. It is intended to remind the user of the time conflict and ask the user how he wants to handle these conflicting tasks. The third instruction information is the response or instruction given by the target user to the first inquiry information. It contains the user's wishes and requirements on how to handle the time conflicting tasks, and the device will make corresponding changes to the first task based on this information.

[0056] In this embodiment, first, the device fills each task in the task list into the corresponding target task template to form a first task. These first tasks represent task items that have been preliminarily processed and are to be further confirmed or optimized.

[0057] Next, the device checks whether there is a conflict or overlap between the event occurrence times of these first tasks and the preset tasks in the first device. For example, if two tasks are scheduled to be performed at the same time point, there is a time conflict between them. Once a time conflict is detected, the device will immediately send a first inquiry message to the target user. This inquiry message is intended to remind the user of the time conflict and ask the user how he wants to handle these conflicting tasks. The inquiry message can be presented in various forms, such as pop-up prompts, voice broadcasts, or SMS notifications, depending on the type of device and the user's preference settings.

[0058] Finally, the device will make corresponding changes to the first task according to the third instruction information given by the target user in response to the first inquiry information. These changes may include adjusting the occurrence time, priority, execution method, etc. of the task to ensure that all tasks can be properly handled without conflicts. After such a user interaction and task adjustment process, the final task is the target task. These target tasks not only meet the actual needs of users, but also avoid time conflicts, thereby improving the efficiency and satisfaction of task execution.

[0059] It can be concluded from the above that this embodiment realizes the refinement and personalization of task management by intelligently detecting task time conflicts and sending inquiry information to users. Users can adjust conflicting tasks according to their own needs, avoiding time waste and task delays, and improving the efficiency and accuracy of task execution. At the same time, the diversified inquiry information presentation method enhances the user experience and makes task management more convenient and efficient.

[0060] In one embodiment of the present disclosure, the instruction response method further includes: If the keyword in the target task is the same as that in the second device, setting the state of the second device; The second device is a device that establishes a connection relationship with the first device.

[0061] In this embodiment, the second device is a device that is connected to the first device. It can be various smart devices, such as smart speakers, smart curtains, smart cameras, etc. Different second devices have different status expressions and adjustable dimensions. For smart speakers, the status can include "play", "pause", "switch playback tracks", "adjust volume", etc.; for smart cameras, the status can be "start recording", "stop recording", "switch monitoring angle", etc.; for smart curtains, the status is "pull open", "close", "pause at a certain opening and closing degree", etc. According to the matching situation between the keywords in the target task and the specific second device, the corresponding status is changed in a targeted manner, so as to achieve effective control of the associated devices and allow multiple devices to cooperate to complete more complex functional scenarios that are more in line with user needs.

[0062] If the keywords in the target task include "smart speaker", "afternoon", "three o'clock", and "play music", the first device can set the status of the smart speaker through Bluetooth or a shared network so that it can play music on time at three o'clock in the afternoon.

[0063] It can be concluded from the above that this embodiment realizes the collaborative work between devices by identifying the keywords in the target task and intelligently setting the state of the second device connected to the first device. This method improves the flexibility and intelligence level of device control in scenarios such as smart homes, allowing users to set complex task scenarios as needed.

[0064] Corresponding to the instruction response method of the above embodiment, Figure 2 This is a structural block diagram of a command response device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 2 The instruction response device 20 includes: a first processing module 21, a second processing module 22 and an execution module 23.

[0065] The first processing module 21 is used for processing the first instruction information to obtain a task list in response to receiving the first instruction information; The second processing module 22 is used for matching the second instruction information with the keywords in the preset keyword library in response to receiving the second instruction information, and processing the second instruction information based on the matching result to obtain a task list; wherein the first instruction information and the second instruction information are from different sources; The execution module 23 is used to execute each target task corresponding to the task list.

[0066] In one embodiment of the present disclosure, the first processing module 21 is specifically used for: Determine the target task type based on the first instruction information; The first instruction information is processed based on the target task type to obtain a task list.

[0067] In one embodiment of the present disclosure, the second processing module 22 is specifically used for: When the second instruction information matches a keyword in a preset keyword library, converting the second instruction information into text information, and segmenting the text information to obtain at least one phrase; A task list is determined based on the obtained phrases.

[0068] In one embodiment of the present disclosure, the execution module 23 is specifically used to: Match each task in the task list with a preset task template in the first device to obtain a target task template corresponding to each task; Obtain each target task based on the task list and the target task template, and execute each target task.

[0069] In one embodiment of the present disclosure, the execution module 23 is specifically used to: Fill each task in the task list into the target task template to obtain a first task, and there is at least one first task; If the event type of the first task is the same as that of the preset task in the first device, audio information of the same type as that of the preset task is added to the first task to obtain the target task.

[0070] In one embodiment of the present disclosure, the execution module 23 is specifically used to: If the event occurrence time of the first task is the same as the event occurrence time of the preset task in the first device, sending a first inquiry message to the target user; Based on the third instruction information of the target user in response to the first inquiry information, the first task is modified to obtain the target task.

[0071] In one embodiment of the present disclosure, reference Figure 3 , the instruction response device 20 also includes a matching module 24; The matching module 24 is used to set the state of the second device if the keyword in the target task is the same as that in the second device; The second device is a device that establishes a connection relationship with the first device.

[0072] See also Figure 4 , Figure 4 A schematic block diagram of a wearable device provided by an embodiment of the present disclosure. Figure 4The wearable device 300 in the embodiment shown may include: one or more processors 301, one or more input devices 302, one or more output devices 303 and one or more memories 304. The processors 301, input devices 302, output devices 303 and memories 304 communicate with each other via a communication bus 305. The memory 304 is used to store computer programs, which include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. The processor 301 is configured to call the program instructions to execute the functions of each module in the above-mentioned device embodiments, such as Figure 3 The functions of modules 21 to 24 are shown.

[0073] It should be understood that in the embodiment of the present disclosure, the processor 301 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0074] The input device 302 may include a touch panel, a fingerprint collection sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.

[0075] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.

[0076] In a specific implementation, the processor 301, input device 302, and output device 303 described in the embodiments of the present disclosure can execute the implementation methods described in the first and second embodiments of the instruction response method provided in the embodiments of the present disclosure, and can also execute the implementation methods of the wearable device described in the embodiments of the present disclosure, which will not be repeated here.

[0077] In another embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by the processor, all or part of the processes in the above-mentioned embodiment method are implemented, and the computer program can also be completed by instructing the relevant hardware through the computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0078] The computer-readable storage medium may be an internal storage unit of the wearable device of any of the foregoing embodiments, such as a hard disk or memory of the wearable device. The computer-readable storage medium may also be an external storage device of the wearable device, such as a plug-in hard disk equipped on the wearable device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the wearable device and an external storage device. The computer-readable storage medium is used to store computer programs and other programs and data required by the wearable device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0079] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0080] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the wearable device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0081] In the several embodiments provided in the present application, it should be understood that the disclosed wearable devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces or units, or it can be an electrical, mechanical or other form of connection.

[0082] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present disclosure.

[0083] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0084] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present disclosure, and these modifications or replacements should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A command response method, applied to a first device, characterized in that: include: In response to receiving the first instruction information, processing the first instruction information to obtain a task list; In response to receiving the second instruction information, matching the second instruction information with keywords in a preset keyword library, and processing the second instruction information based on the matching result to obtain a task list; wherein the first instruction information and the second instruction information have different sources; Execute each target task corresponding to the task list.

2. The instruction response method according to claim 1, characterized in that: The step of processing the first instruction information to obtain a task list includes: Determine a target task type based on the first instruction information; The first instruction information is processed based on the target task type to obtain a task list.

3. The instruction response method according to claim 1, characterized in that: The step of processing the second instruction information based on the matching result to obtain a task list includes: When the second instruction information matches a keyword in a preset keyword library, converting the second instruction information into text information, and segmenting the text information to obtain at least one phrase; A task list is determined based on the obtained phrases.

4. The instruction response method according to claim 1, characterized in that: The executing of each target task corresponding to the task list includes: Matching each task in the task list with a preset task template in the first device to obtain a target task template corresponding to each task; Based on the task list and the target task template, each target task is obtained and executed.

5. The instruction response method according to claim 4, characterized in that: The obtaining of each target task based on the task list and the target task template includes: Fill each task in the task list into the target task template to obtain a first task, wherein the first task has at least one; If the event type of the first task is the same as that of a preset task in the first device, audio information of the same type as that of the preset task is added to the first task to obtain a target task.

6. The instruction response method according to claim 5, characterized in that: The obtaining of each target task based on the task list and the target task template further includes: If the event occurrence time of the first task is the same as the event occurrence time of the preset task in the first device, sending a first inquiry message to the target user; Based on the third instruction information of the target user in response to the first inquiry information, the first task is modified to obtain a target task.

7. The instruction response method according to claim 1, characterized in that: Also includes: If the keyword in the target task is the same as that in the second device, setting the state of the second device; The second device is a device that establishes a connection relationship with the first device.

8. A command response device, applied to a first device, characterized in that: include: A first processing module, configured to, in response to receiving first instruction information, process the first instruction information to obtain a task list; A second processing module is used for matching the second instruction information with keywords in a preset keyword library in response to receiving the second instruction information, and processing the second instruction information based on the matching result to obtain a task list; wherein the first instruction information and the second instruction information have different sources; The execution module is used to execute each target task corresponding to the task list.

9. A wearable device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Voice control method and terminal

    CN106373570A

  • Voice interaction method and device, terminal, server and readable storage medium

    CN107886948A

  • Intelligent home equipment voice control method, intelligent home equipment voice control device, electronic equipment and storage medium

    CN110808044A

  • Man-machine interaction method and device, electronic equipment and vehicle

    CN115424614A

  • Task execution control method and robot

    CN115946126A

Cited By

  • Event reminding method and device, electronic equipment and storage medium

    CN121810248A