Interaction method and device, wearable device, and storage medium

By introducing different working modes and identifiers into the device, generating corresponding instructions and responding to user needs, the problem of device interaction in the prior art cannot be accurately responded, accurate response and patterned control of user instructions are achieved, and the intelligence level and service quality of the device are improved.

CN118535020BActive Publication Date: 2025-05-09BEIJING SUPERHEXA CENTURY TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410794709.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2025-05-09
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

Existing device interaction technology cannot accurately respond to user instructions, especially in different working modes, devices cannot provide refined satisfaction to user needs.

Method used

By introducing different working modes into the target device, each mode corresponds to an identification, generating corresponding instructions and sending them to the first device that establishes contact with the target device, and responding to the user instructions based on the target information returned by the first device.

Benefits of technology

Accurate response and patterned control of user instructions are realized. According to the different amount of information received by the target device in different modes, it can meet user needs in a refined manner, and improve the intelligence level and service quality of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535020B_ABST
    Figure CN118535020B_ABST
Patent Text Reader

Abstract

The present disclosure provides an interaction method and device, a wearable device, and a storage medium, which belongs to the field of device interaction technology. The method includes: in response to a target device being in a first mode, generating a first instruction according to a user instruction and a first identifier corresponding to the first mode, sending the first instruction to a first device, and responding to the user instruction according to the first target information returned by the first device; the user instruction is an instruction for the target device, and the first device is a device that establishes a connection with the target device; in response to the target device being in a second mode, generating a second instruction according to a second identifier corresponding to the user instruction and the second mode, sending the second instruction to the first device, and responding to the user instruction according to the second target information returned by the first device; the amount of information in the second target information is greater than the amount of information in the first target information. The present disclosure can achieve accurate response and patterned control to user instructions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the technical field of device interaction, and more specifically, to an interaction method and apparatus, a wearable device, and a storage medium. Background Art

[0002] With the rapid development of science and technology, device interaction technology has become an indispensable part of modern society, especially in the fields of smart home, wearable devices, Internet of Things (IoT), etc. Efficient and intelligent interaction between devices not only improves user experience, but also promotes technological innovation and progress. However, the answers given by existing devices to users' questions are relatively simple and cannot accurately respond to users' instructions. Summary of the invention

[0003] The purpose of the present disclosure is to provide an interactive method and apparatus, a wearable device, and a storage medium to achieve accurate response to user instructions.

[0004] A first aspect of an embodiment of the present disclosure provides an interaction method, including:

[0005] In response to the target device being in a first mode, generating a first instruction according to a user instruction and a first identifier corresponding to the first mode, sending the first instruction to the first device, and responding to the user instruction according to first target information returned by the first device;

[0006] The user instruction is an instruction for the target device, and the first device is a device that establishes a connection with the target device;

[0007] In response to the target device being in the second mode, generating a second instruction according to the user instruction and a second identifier corresponding to the second mode, sending the second instruction to the first device, and responding to the user instruction according to second target information returned by the first device;

[0008] The information volume of the second target information is greater than the information volume of the first target information.

[0009] A second aspect of the embodiments of the present disclosure provides an interactive device, including:

[0010] A first interaction unit, configured to generate a first instruction according to a user instruction and a first identifier corresponding to the first mode in response to the target device being in a first mode, send the first instruction to the first device, and respond to the user instruction according to first target information returned by the first device;

[0011] The user instruction is an instruction for the target device, and the first device is a device that establishes a connection with the target device;

[0012] a second interaction unit, configured to generate a second instruction according to the user instruction and a second identifier corresponding to the second mode in response to the target device being in the second mode, send the second instruction to the first device, and respond to the user instruction according to the second target information returned by the first device;

[0013] The information volume of the second target information is greater than the information volume of the first target information.

[0014] 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 interaction method when executing the computer program.

[0015] According to a fourth aspect of the embodiments 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 interaction method are implemented.

[0016] The interactive method and apparatus, wearable device, and storage medium provided by the embodiments of the present disclosure have the following beneficial effects:

[0017] First, the target device has different identifiers in different working modes, and different instructions can be generated according to different identifiers. The first device can return corresponding target information according to different instructions. The present disclosure can achieve accurate response and patterned control to user instructions.

[0018] Secondly, the target device is in different working modes, and receives different amounts of information from the first device (the amount of information from the first target information is less than that from the second target information), thus achieving refined satisfaction of user needs. In particular, in the second mode, the present disclosure can provide richer information, meet the user's needs for in-depth and detailed information, and further improve the intelligence level and service quality of the target device. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] 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.

[0020] Figure 1 A flowchart of an interactive method provided by an embodiment of the present disclosure;

[0021] Figure 2 A structural block diagram of an interactive device provided by an embodiment of the present disclosure;

[0022] Figure 3 A schematic block diagram of a wearable device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] 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.

[0024] 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.

[0025] Please refer to Figure 1 , Figure 1 A flowchart of an interactive method provided by an embodiment of the present disclosure, the method comprising:

[0026] S101: In response to the target device being in the first mode, a first instruction is generated according to a user instruction and a first identifier corresponding to the first mode, the first instruction is sent to a first device, and the user instruction is responded to according to first target information returned by the first device. The user instruction is an instruction for the target device, and the first device is a device that establishes a connection with the target device.

[0027] In this embodiment, the target device is the device being operated by the user, and the device can perform corresponding operations according to the user's instructions and the current working mode. The target device can be a device worn by the user, such as Bluetooth glasses, smart audio glasses, etc. The user instruction is the instruction issued by the user to the target device, such as "send a text message to the first contact", "play a song", "what is the current employment situation", etc.

[0028] The first device is a device that establishes a connection with the target device, and can be another device in the same system or network. The first device can perform certain operations according to the received instructions or return information related to the instructions to the target device. For example, the first device can be a smart phone, a tablet computer, a laptop, a smart home device, etc.

[0029] The first target information is information or data returned to the target device after the first device receives the first instruction. This information may be used to confirm the execution status of the instruction, provide operation results or other related information. For example, if the first instruction is to turn on the light device, the first target information may be confirmation information of "the light is turned on".

[0030] There are two working modes of the target device, the first mode and the second mode. Each working mode corresponds to an identifier, wherein the first mode corresponds to the first identifier and the second mode corresponds to the second identifier. The first mode can be a simple recognition mode and the second mode can be an enhanced recognition mode. When the target device is in the first mode, the first instruction generated for the user instruction can control the first device to generate the same second target information as the user instruction.

[0031] The target device can generate a first instruction according to the user instruction and the first identifier, and send the first instruction to the first device, waiting for the first target information returned by the first device. For example, the instruction sent by the user to the smart audio glasses is "What time is it now?", and the current working mode of the smart audio glasses is a simple recognition mode. Then, when the first device receives the first instruction, it will only send the answer to the question "What time is it now?" (for example, it is 8 o'clock Beijing time) to the smart audio glasses.

[0032] S102: In response to the target device being in the second mode, generating a second instruction according to the user instruction and the second identifier corresponding to the second mode, sending the second instruction to the first device, and responding to the user instruction according to the second target information returned by the first device. The amount of information in the second target information is greater than the amount of information in the first target information.

[0033] In this embodiment, the second mode is different from the first mode, and the second mode can be an enhanced recognition mode. When the target device is in the second mode, for the same user instruction (the user instruction in the first mode), the generated second instruction can control the first device to generate second target information associated with the user instruction.

[0034] For example, the instruction sent by the user to the smart audio glasses is "What time is it now?", and the current working mode of the smart audio glasses is the enhanced recognition mode. Then, when the first device receives the second instruction, it will send the second target information related to the question "What time is it now" to the smart audio glasses. The second target information can be "It is 8 o'clock Beijing time now, it is sunny in City A today, the temperature is 23℃, and it is suitable for an outing." For the same user instruction, the amount of information contained in the second target information is greater than the amount of data contained in the first target information.

[0035] In this embodiment, the main difference between the first identifier and the second identifier is that they correspond to different modes of the target device (first mode and second mode), respectively, and these identifiers may affect the instructions (first instruction and second instruction) generated and sent to the first device, as well as the subsequent response method to the user instructions based on the information returned by the first device (first target information and second target information).

[0036] There are multiple methods for generating the first identifier and the second identifier. The first method: The first identifier and the second identifier can be predefined when the target device is initialized, and different identifiers are assigned according to different modes of the target device. For example, the first identifier is labeled "A" when initialized, and the second identifier is labeled "B" when initialized.

[0037] The second method: The first identifier and the second identifier can be dynamically generated according to the current state or configuration of the target device. For example, the target device has different functions in different working modes, and the corresponding identifiers can be dynamically generated according to these functions. When the target device is in the first mode, the first identifier can be composed of any 3 numbers out of 10 Arabic numerals; when the target device is in the second mode, the second identifier can be composed of any 3 letters out of 26 English letters.

[0038] The third method: The first identifier and the second identifier may be generated using an algorithm. For example, a hash function or an encryption algorithm may be used to generate a unique identifier based on the target device's mode and other related parameters.

[0039] Either method can ensure that the first identifier and the second identifier are different, so that the first device can determine the working mode of the target device according to the received instruction and provide corresponding target information.

[0040] From the above, it can be concluded that, first, the target device has different identifiers in different working modes, and different instructions can be generated according to different identifiers. The first device can return corresponding target information according to different instructions. The present disclosure can achieve accurate response and patterned control to user instructions.

[0041] Secondly, the target device is in different working modes, and receives different amounts of information from the first device (the amount of information from the first target information is less than that from the second target information), thus achieving refined satisfaction of user needs. In particular, in the second mode, the present disclosure can provide richer information, meet the user's needs for in-depth and detailed information, and further improve the intelligence level and service quality of the target device.

[0042] In one embodiment of the present disclosure, generating a first instruction according to a user instruction and a first identifier corresponding to a first mode includes:

[0043] Parsing the user instruction to obtain a keyword; combining the first identifier and the keyword to obtain a first instruction;

[0044] Generating a second instruction according to the user instruction and the second identifier corresponding to the second mode includes:

[0045] The second identifier and the keyword are combined to obtain a second instruction.

[0046] In this embodiment, the first instruction and the second instruction are generated by combining the user instruction and the identifier (first identifier or second identifier) ​​in the corresponding working mode. When the target device receives the user instruction, it will first parse the instruction. The purpose of the parsing is to identify the keywords or key information in the instruction. For example, the user instruction is "send a text message to the first contact", and the keywords obtained after parsing may be "first contact" and "send text messages". After parsing the keywords, the target device will combine the first identifier with these keywords. The combination method can be to connect the first identifier with the keyword as a prefix, suffix or middle part.

[0047] For example, if the first identifier is "A", and the keywords are "first contact" and "send text message", then the combined first instruction may be in the form of "A_first contact_send text message" or "first contact_A_send text message".

[0048] When generating the second instruction, the keywords used are the same as those in the first instruction because they are responses to the same user instruction. Similar to the first instruction, the second instruction is also generated by combining the second identifier and the keywords. The combination method is the same as the first instruction, but the second identifier is used instead of the first identifier.

[0049] For example, if the second identifier is "B", and the keywords are still "first contact" and "send text message", then the combined second instruction may be in the form of "B_first contact_send text message" or "first contact_B_send text message".

[0050] It can be concluded from the above that, through the above instruction generation method, the target device can choose to use different identifiers to generate corresponding instructions according to the current working mode, thereby achieving accurate response and patterned control to user instructions.

[0051] In one embodiment of the present disclosure, the interaction method further includes:

[0052] In response to the target device being in the first mode, a first audio instruction for the target device is received, and the first mode is switched to the second mode.

[0053] In this embodiment, the first audio instruction generally refers to a specific instruction issued by the user to the target device through voice or other sound means. After the instruction is recognized by the target device, it triggers the device to switch from the current working mode (here refers to the first mode) to another working mode (the second mode).

[0054] Possible ways of the first audio instruction include voice keyword recognition, voice mode triggering, custom audio instructions, etc. For example, voice keyword recognition: the user says specific keywords or phrases, such as "switch to the second mode" and "mode conversion", etc. The built-in voice recognition system of the target device will capture these sound signals and convert them into digital signals for processing. The target device recognizes the user's intention by matching the preset keywords or phrases and triggers the corresponding mode switching operation.

[0055] For example, voice mode triggering: the user activates specific trigger words or phrases through voice, such as "activate the second mode" or "enter the second mode", etc. These trigger words or phrases are pre-defined and associated with the mode switching function of the device.

[0056] For example, custom audio commands: users can customize the content or method of audio commands according to their preferences or habits. This usually requires operations in the settings or configuration interface of the target device to associate the custom audio commands with the mode switching function.

[0057] In this embodiment, when the target device is in the first mode, it can normally perform the functions and operations defined in the mode. If the target device receives the first audio instruction for it, the device will parse the instruction and identify the user's intention. After identifying the intention to switch modes, the target device will check whether it is allowed to switch from the current first mode to the second mode. This may involve permission checks, device status checks, etc. If the switching conditions are met, the target device will perform a mode switching operation and switch itself from the first mode to the second mode. After switching to the second mode, the target device will have the functions and operating methods defined in the second mode, and respond to subsequent user instructions according to these methods.

[0058] It can be concluded from the above that this embodiment allows the user to flexibly adjust the working state of the target device according to actual needs. This switching not only improves the user experience, but also ensures that the target device can operate in the optimal state in different scenarios, thereby improving the overall performance and adaptability of the device.

[0059] In one embodiment of the present disclosure, the interaction method further includes:

[0060] In response to the target device being in the second mode, if a second audio instruction for the target device is received within the first duration, switching the second mode to the first mode;

[0061] If no second audio instruction for the target device is received within the first time period, switching the second mode to the first mode after the second time period;

[0062] The second duration is longer than the first duration.

[0063] In this embodiment, when the target device is in the second mode, the target device monitors the second audio instruction for the target device. In this mode, there are two different ways to trigger the target device to switch from the second mode back to the first mode: the first way is that the target device switches the mode according to the user's instruction, and the second way is that the target device actively switches the mode.

[0064] The first method is immediate response switching: if the target device receives a second audio instruction from the user for the target device within the first duration (a shorter period of time), it will immediately recognize the instruction and interpret it as a request to switch back to the first mode. Subsequently, the target device will perform the corresponding operation to switch the target device from the second mode back to the first mode. The second method is automatic switching after timeout: if the target device does not receive any second audio instruction for the target device within the first duration, it will enter a waiting state and start a timer to start calculating the second duration (this duration is longer than the first duration). When the second duration ends, the system will automatically switch the target device from the second mode back to the first mode.

[0065] It can be concluded from the above that this embodiment allows the user to control the mode switching of the device in two ways: one is to switch by actively issuing the second audio command, and the other is to allow the target device to automatically switch back to the first mode after a certain period of time, so as to avoid the device being in the second mode with relatively high power consumption for a long time and wasting resources. This flexible control method not only improves the user experience, but also ensures that the resources of the device are reasonably and effectively used.

[0066] In one embodiment of the present disclosure, the interaction method further includes:

[0067] The number of Bluetooth channels required for data transmission is selected according to the mode of the target device.

[0068] In this embodiment, the target device can work in different modes, each mode may have different data transmission requirements and characteristics. According to the current mode of the target device, the system can intelligently select the number of Bluetooth channels required for data transmission. The target device can automatically detect the current mode and select the corresponding number of Bluetooth channels according to a preset rule or algorithm. Using more Bluetooth channels can increase the bandwidth and rate of data transmission, and using fewer Bluetooth channels can reduce energy consumption and reduce interference.

[0069] Different Bluetooth technologies have different numbers of channels. For example, classic Bluetooth (such as version 3.0) uses 79 channels, each 1MHz wide. Bluetooth 4.0 and later versions (especially low-power Bluetooth) use different channel configurations. Bluetooth 4.0 has only 40 channels, but the bandwidth of each channel is 2MHz. Bluetooth channels include advertising channels and data channels. Advertising channels are used to send advertising packets, while data channels are used to send data packets. Therefore, according to the working mode of the target device, the number of Bluetooth channels required for data transmission can be selected to ensure the quality of data transmission.

[0070] It can be concluded from the above that the interaction method of this embodiment effectively balances the data transmission quality, energy consumption and interference issues by intelligently selecting the number of Bluetooth channels according to the data transmission requirements of different modes of the target device. This dynamic adjustment mechanism significantly improves the efficiency and stability of Bluetooth communication and provides users with a better wireless transmission experience.

[0071] In one embodiment of the present disclosure, selecting the number of Bluetooth channels required for data transmission according to the mode of the target device includes:

[0072] In response to the target device being in the first mode, selecting a Bluetooth channel of a first value for data transmission; the first identifier includes information of the first value;

[0073] In response to the target device being in the second mode, a Bluetooth channel with a second value is selected for data transmission; the second identifier includes information of the second value, and the second value is greater than the first value.

[0074] In this embodiment, when the target device is in a first mode (e.g., a simple identification mode, in which energy consumption is low), a first identifier associated with the mode is read, and the identifier includes a first value of a Bluetooth channel that should be used in this mode. Then, the target device configures the Bluetooth module to use these specified channels for data transmission. Since the first mode may be designed to save energy and reduce interference, the selected first value is usually relatively small, that is, the number of Bluetooth channels used is relatively small.

[0075] When the target device is in the second mode (for example, high-performance mode, which consumes high energy), the system reads the second identifier associated with the mode, which contains the second value of the Bluetooth channel that should be used in this mode. Since the second mode requires a higher data transmission rate and bandwidth, the second value is greater than the first value, that is, more Bluetooth channels are used. In the second mode, data transmission is subject to more serious interference, and Bluetooth communication mainly uses frequency hopping technology. This frequency hopping technology enables Bluetooth communication to have good anti-interference capabilities. Even if some channels are interfered with, normal communication can still be carried out on other channels that are not interfered with.

[0076] It can be concluded from the above that this embodiment intelligently selects the number of Bluetooth channels according to different modes of the device. This method can optimize energy utilization and reduce unnecessary interference while ensuring data transmission quality. In low power mode, using fewer channels can save energy; while in high performance mode, using more channels can provide higher data transmission rate and bandwidth.

[0077] In one embodiment of the present disclosure, the interaction method further includes:

[0078] In response to the fact that the number of identical user instructions to the target device within the third time period is greater than two times, the first instruction or the second instruction is sent to a second device connected to the first device, and the user instruction is responded to according to information returned by the second device.

[0079] In this embodiment, after the user inputs a user instruction to the target device, the target device generates a corresponding instruction according to the user instruction and the identifier corresponding to the mode, and sends the instruction to the first device. After the first device obtains the corresponding answer, it will be cached in the server. If the user inputs the same user instruction to the target device again within the third time period, and the working mode of the target device does not change, then the information received by the target device is the same as the information obtained by the user instruction sent for the first time.

[0080] If the user inputs the same user instruction to the target device more than twice within the third time period, the first device assumes that the answer given last time is not the answer the user needs, so the first device sends the user instruction to the second device connected to it, and the target device responds to the user instruction according to the information returned by the second device. The second device can be a variety of AI models, which can give different answers according to the same user intention to meet user needs.

[0081] For example, if the user inputs a user instruction to the target device, such as "What are the usage scenarios of Bluetooth glasses?", the first device may give the answer "driving, navigation, office, meeting, social, etc.". The target device may broadcast the message too fast and the user may not hear it clearly. In this case, the user may input the same user instruction to the target device again. If the user is not satisfied with the content broadcast by the target device again, when the user inputs the same user instruction to the target device for the third time, the first device will forward the instruction sent by the target device to the second device for further answering to meet the reasonable needs of the user.

[0082] From the above, it can be concluded that the interaction method of this embodiment recognizes the user's behavior of repeatedly inputting the same command in a short period of time, intelligently forwards the request to the connected second device (such as an AI model), and provides a more accurate and personalized response based on the more diverse information returned, thereby effectively improving the user experience and the level of intelligence of interaction, and meeting the user's expectations for fast and accurate responses.

[0083] Corresponding to the interaction method of the above embodiment, Figure 2 This is a structural block diagram of an interactive 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 interaction device 20 includes: a first interaction unit 21 and a second interaction unit 22.

[0084] The first interaction unit 21 is used to generate a first instruction according to the user instruction and the first identifier corresponding to the first mode in response to the target device being in the first mode, send the first instruction to the first device, and respond to the user instruction according to the first target information returned by the first device;

[0085] The user instruction is an instruction for the target device, and the first device is a device that establishes a connection with the target device;

[0086] The second interaction unit 22 is used to generate a second instruction according to the user instruction and the second identifier corresponding to the second mode in response to the target device being in the second mode, send the second instruction to the first device, and respond to the user instruction according to the second target information returned by the first device;

[0087] The information amount of the second target information is greater than the information amount of the first target information.

[0088] In an embodiment of the present disclosure, the first interaction unit 21 is specifically used for:

[0089] Parsing the user instruction to obtain a keyword; combining the first identifier and the keyword to obtain a first instruction;

[0090] The second interaction unit 22 is specifically used for:

[0091] The second identifier and the keyword are combined to obtain a second instruction.

[0092] In one embodiment of the present disclosure, the interaction device 20 further includes: a first switching unit;

[0093] The first switching unit is configured to switch the first mode to a second mode in response to receiving a first audio instruction for the target device in response to the target device being in the first mode.

[0094] In one embodiment of the present disclosure, the interaction device 20 further includes: a second switching unit and a third switching unit;

[0095] A second switching unit is configured to, in response to the target device being in the second mode, switch the second mode to the first mode if a second audio instruction for the target device is received within a first duration;

[0096] a third switching unit, configured to switch the second mode to the first mode after a second time period if no second audio instruction for the target device is received within the first time period;

[0097] The second duration is longer than the first duration.

[0098] In one embodiment of the present disclosure, the interaction device 20 further includes: a channel selection unit;

[0099] The channel selection unit is used to select the number of Bluetooth channels required for data transmission according to the mode of the target device.

[0100] In one embodiment of the present disclosure, the channel selection unit is specifically used to:

[0101] In response to the target device being in the first mode, selecting a Bluetooth channel of a first value for data transmission; the first identifier includes information of the first value;

[0102] In response to the target device being in the second mode, a Bluetooth channel with a second value is selected for data transmission; the second identifier includes information of the second value, and the second value is greater than the first value.

[0103] In one embodiment of the present disclosure, the interaction device 20 further includes: a third interaction unit;

[0104] The third interaction unit is used to send the first instruction or the second instruction to the second device connected to the first device in response to the same user instruction to the target device being sent more than twice within a third time period, and respond to the user instruction according to the information returned by the second device.

[0105] See also Figure 3 , Figure 3 A schematic block diagram of a wearable device provided by an embodiment of the present disclosure. Figure 3 The 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 / unit in the above-mentioned device embodiments, such as Figure 2 The functions of the units 21 to 22 are shown.

[0106] 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.

[0107] 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.

[0108] 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.

[0109] 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 interaction 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.

[0110] 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.

[0111] 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.

[0112] 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.

[0113] 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.

[0114] 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.

[0115] 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.

[0116] 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.

[0117] 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. An interactive method, characterized in that: include: In response to the target device being in a first mode, generating a first instruction according to a user instruction and a first identifier corresponding to the first mode, sending the first instruction to the first device, and responding to the user instruction according to first target information returned by the first device; The user instruction is an instruction for the target device, and the first device is a device that establishes a connection with the target device; In response to the target device being in the second mode, generating a second instruction according to the user instruction and a second identifier corresponding to the second mode, sending the second instruction to the first device, and responding to the user instruction according to second target information returned by the first device; The information volume of the second target information is greater than the information volume of the first target information; The interaction method further includes: In response to the target device being in the first mode, selecting a Bluetooth channel of a first value for data transmission; the first identifier includes information of the first value; In response to the target device being in the second mode, a Bluetooth channel with a second value is selected for data transmission; the second identifier includes information of a second value, and the second value is greater than the first value.

2. The interactive method according to claim 1, characterized in that: The generating a first instruction according to the user instruction and the first identifier corresponding to the first mode includes: Parsing the user instruction to obtain a keyword; combining the first identifier and the keyword to obtain a first instruction; The generating the second instruction according to the user instruction and the second identifier corresponding to the second mode includes: The second identifier and the keyword are combined to obtain a second instruction.

3. The interactive method according to claim 1, characterized in that: Also includes: In response to the target device being in the first mode, a first audio instruction for the target device is received, and the first mode is switched to the second mode.

4. The interactive method according to claim 3, characterized in that: Also includes: In response to the target device being in the second mode, if a second audio instruction for the target device is received within a first duration, switching the second mode to the first mode; If no second audio instruction for the target device is received within the first time period, switching the second mode to the first mode after the second time period; The second duration is greater than the first duration.

5. The interactive method according to claim 1, characterized in that: Also includes: In response to the user instructions being the same more than twice within a third time period, the first instruction or the second instruction is sent to a second device connected to the first device, and the user instruction is responded to according to information returned by the second device.

6. An interactive device, characterized in that: include: A first interaction unit, configured to generate a first instruction according to a user instruction and a first identifier corresponding to the first mode in response to the target device being in a first mode, send the first instruction to the first device, and respond to the user instruction according to first target information returned by the first device; The user instruction is an instruction for the target device, and the first device is a device that establishes a connection with the target device; a second interaction unit, configured to generate a second instruction according to the user instruction and a second identifier corresponding to the second mode in response to the target device being in the second mode, send the second instruction to the first device, and respond to the user instruction according to the second target information returned by the first device; The information volume of the second target information is greater than the information volume of the first target information; The channel selection unit is specifically configured to, in response to the target device being in the first mode, select a Bluetooth channel of a first value for data transmission; the first identifier includes information of the first value; In response to the target device being in the second mode, a Bluetooth channel with a second value is selected for data transmission; the second identifier includes information of a second value, and the second value is greater than the first value.

7. 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 5 are implemented.

8. 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 5 are implemented.

Citation Information

Patent Citations

  • Information output method, head-mounted display equipment and readable storage medium

    CN114063785A