Instruction matching method and device, wearable equipment and storage medium
By determining the instruction list based on the function type and interactive action type in the instruction matching method, and using historical usage data to optimize the function and action priority, and determining the matching relationship in combination with functional similarity, the high learning cost of users and easy operation in the prior art is solved. The error problem has achieved a more efficient and accurate user interaction experience.
Patent Information
- Application Number
- CN202510066311.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2045-01-16
AI Technical Summary
The existing command matching scheme has too many gesture operations, which leads to high learning costs for users, and high similarity between gestures, which leads to errors in operations, which affects user experience and efficiency.
By determining the instruction list based on the function type and interactive action type, using historical usage data to determine the priority sequence of functions and actions, and combining functional similarity to determine the function-action matching relationship, realizing the accurate matching of actions-instructions-functions.
It improves user experience, reduces user learning costs, ensures that the device functions are triggered and executed in an orderly manner, and improves interaction efficiency and operation accuracy.
Smart Images

Figure CN119473022A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the technical field of instruction matching, and more specifically, relates to an instruction matching method and apparatus, a wearable device, and a storage medium. Background Art
[0002] In today's era of rapid digital development, command matching methods face new challenges and opportunities. As new functions continue to emerge like a tide, the demand for interaction is growing exponentially. It is necessary to build a new and complete command matching strategy.
[0003] However, the existing command matching scheme has many limitations. Too many gesture operations exceed the general learning capacity, resulting in an increase in user learning costs. In addition, the high similarity between multiple gestures makes it easy to make mistakes in key operations, which seriously interferes with the normal use process and function implementation, affecting the user experience and efficiency. This requires us to explore the command matching method in all aspects, carefully sort out the logical relationship between functions, optimize the setting and matching rules of commands with users as the center, simplify the operation process as much as possible, reduce the user learning cost, and enable all types of users to quickly adapt and use it proficiently. Summary of the invention
[0004] The purpose of the present disclosure is to provide a command matching method and apparatus, a wearable device, and a storage medium to solve the problem that the prior art lacks an effective command matching method and improve the user experience.
[0005] According to a first aspect of an embodiment of the present disclosure, a command matching method is provided, which is applied to a wearable device, and includes: Determine the instruction list based on the function type and the interaction action type; Determine, based on historical usage data, a function priority sequence corresponding to the function type and an action priority sequence corresponding to the interactive action type; Determine the functional similarity of multiple functions in the functional priority sequence based on the functional type; determine the function-action matching relationship based on the functional priority sequence, the action priority sequence and the functional similarity; determine the instruction matching relationship based on the function-action matching relationship and the instruction list; the instruction matching relationship includes an action-instruction-function matching relationship.
[0006] According to a second aspect of the embodiments of the present disclosure, there is provided an instruction matching device, which is applied to a wearable device, and includes: A first calculation module, used for determining an instruction list based on a function type and an interaction action type; A second calculation module, configured to determine a function priority sequence corresponding to the function type and an action priority sequence corresponding to the interactive action type based on historical usage data; The third calculation module is used to determine the functional similarity of multiple functions in the function priority sequence based on the function type, determine the function-action matching relationship based on the function priority sequence, the action priority sequence and the functional similarity; determine the instruction matching relationship based on the function-action matching relationship and the instruction list; the instruction matching relationship includes an action-instruction-function matching relationship.
[0007] 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 matching method when executing the computer program.
[0008] 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 instruction matching method are implemented.
[0009] The instruction matching method and apparatus, wearable device, and storage medium provided by the embodiments of the present disclosure have the following beneficial effects: The disclosed embodiment determines the instruction list based on the function type and the interactive action type, making the instruction planning more systematic and targeted, and can accurately cover various function and action combinations, ensuring that the device functions are triggered and executed comprehensively and orderly.
[0010] The disclosed embodiment determines the function and action priority sequence with the help of historical usage data, fully considering the user's usage habits and preferences, and allows high-priority functions and actions to be matched with instructions first, thereby improving interaction efficiency and reducing the waiting time and tediousness of user operations. The disclosed embodiment effectively avoids confusion and conflict of instructions, and can still provide users with a clear, smooth and stable operating experience as the functions of wearable devices continue to increase and interactions become increasingly complex, thereby reducing user learning costs and improving user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] 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.
[0012] Figure 1 A flowchart of an instruction matching method provided by an embodiment of the present disclosure; Figure 2 A structural block diagram of an instruction matching device provided in one embodiment of the present disclosure; Figure 3A schematic block diagram of a wearable device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION
[0013] 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.
[0014] 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.
[0015] Please refer to Figure 1 , Figure 1 A flowchart of a command matching method provided in an embodiment of the present disclosure is provided. The method is applied to a wearable device and may include S101 to S103.
[0016] S101: Determine an instruction list based on the function type and the interaction action type.
[0017] In this embodiment, the wearable device may include smart glasses, smart helmets, smart bracelets, etc. Function type is the classification of functions that can be realized by the wearable device, and the function type may include multimedia function, communication function, health monitoring function, information interaction function, system control function, etc. There are specific function operations under different types.
[0018] Interaction action types are the classification of the ways in which users interact with devices. Interaction action types can include touch actions, voice commands, body movements, etc.
[0019] The instruction list is a set of intermediate identifiers that associates a function type with an interaction action type. The instruction list includes multiple instructions.
[0020] In this embodiment, by sorting out the function types, it is clear what the device can do; by determining the interactive action types, it is known how the user operates. Then, according to the possible combinations of different functions and actions, the corresponding instructions are determined. For example, for the music playback function in the entertainment function, if the interactive action is a voice command "play music", the instruction is to start the music playback software and start playing, which involves the voice recognition module parsing the voice command and docking with the music playback function module. According to the functional requirements, the playback mode, volume and other parameters also need to be set.
[0021] Exemplarily, the trigger operation type, instruction quantity and function quantity of the wearable device are determined. The hardware and software function modules of the wearable device are analyzed, classified and organized into a function list according to functional characteristics, and information such as function name, function code, and required parameters are recorded.
[0022] For interaction methods such as touch and voice, data is collected through touch sensors and microphones, and the data characteristics are analyzed to determine the action type. For example, touch actions use touch sensors to obtain touch position, time and other data to determine action types such as clicks and slides. Voice actions use voice recognition technology to identify keywords to determine the voice command type.
[0023] According to the combination of functions and actions, write code to create an instruction structure or object, including action trigger condition judgment code, corresponding function call code, and function parameter setting code, etc. Store these instructions in an array or linked list to form an instruction list.
[0024] S102: Determine a function priority sequence corresponding to a function type and an action priority sequence corresponding to an interactive action type based on historical usage data.
[0025] In this embodiment, the historical usage data is the user operation information recorded by the wearable device during its past operation. The historical usage data may include the time, frequency, and usage scenario of the function, as well as the number, sequence, and occurrence time of the interactive actions, and may also include the device's operating status information, etc. The historical usage data may also include the statistical triggering operations of various existing wearable devices, the matching relationship between instructions and functions, the usage frequency of each instruction, and the usage frequency of each function.
[0026] The function priority sequence is a sequence that sorts different function types based on factors such as importance or frequency of use. For example, the different function types of smart glasses are sorted based on comprehensive factors such as their importance in historical use and frequency of use. The function priority sequence can be determined based on the frequency of function use, the average function usage time, the proportion of function use in specific scenarios, etc.
[0027] The action priority sequence is a sequence sorted by factors such as the convenience and commonness of the user's interactive action types. The action priority sequence may include a sequence sorted by factors such as the convenience of operation, the rate of misoperation, and the frequency of use for the user's interactive action types with smart glasses. For example, the frequency of tapping the frame, the accuracy of voice command recognition, and the difficulty coefficient of head action execution can all be used as parameters for determining the action priority sequence.
[0028] In this embodiment, various parameters about functions and actions in historical usage data are mined, and statistical analysis and weighted algorithms are used to combine multiple factors to calculate priority scores for each function type and action type, which are then sorted to form function priority sequences and action priority sequences, so that high-priority function and action combinations are given priority when instructions are matched.
[0029] Exemplarily, the smart glasses have a built-in recorder that records function usage and action data through touch, voice recognition, communication modules, etc., and stores them in local memory or storage card. Run the analysis program regularly to extract parameters and calculate priorities. For example, the multimedia function priority score = music playback times × 0.3 + video playback duration ratio × 0.4 + multimedia usage probability in sports scenes × 0.3; the touch frame click action priority score = click position accuracy × 0.4 + click action execution speed × 0.3 + corresponding function error rate × 0.3. Generate a sequence based on the score sorting and store it for instruction matching and calling.
[0030] S103: Determine the function similarity of multiple functions in the function priority sequence based on the function type, determine the function-action matching relationship based on the function priority sequence, the action priority sequence and the function similarity; determine the instruction matching relationship based on the function-action matching relationship and the instruction list. The instruction matching relationship includes the action-instruction-function matching relationship.
[0031] In this embodiment, the command matching relationship includes clarifying the corresponding association between the user's interactive actions on the smart glasses and the commands executed by the device and the multimedia or communication functions finally realized. For example, touching the frame twice corresponds to the "play / pause music" command to realize the multimedia playback function.
[0032] The action-command-function matching relationship is a specific description of how each type of interactive action triggers a specific command to achieve the corresponding function. Actions can include the location, number, and duration of touch actions, the content and voice characteristics of voice commands, etc.; commands can include command codes, command priorities, command execution conditions, etc.; functions can include function codes, function status, function settings, etc.
[0033] Exemplarily, the preferred function category is determined based on the function priority sequence, high-priority actions are screened out based on the action priority sequence, and then the actions, instructions, and functions are accurately matched with reference to the instruction list.
[0034] In this embodiment, functional similarity refers to the similarity between different functions in terms of usage, operation logic, etc.
[0035] For example, in the design of smart glasses, the action of long pressing the side button of the frame is used to illustrate. When the smart glasses are in the multimedia playback state, long pressing the side button of the frame can be used to pause or play media content such as music and videos. This is because pause and play are the most commonly used operations in the multimedia experience process. Through a simple long press action, media playback control can be quickly realized, giving users a convenient operation experience.
[0036] When the smart glasses are in communication mode, such as during a call, long pressing the side button of the frame can mute or unmute the glasses. Since the mute operation is frequently used during a call and is similar to the pause function of multimedia playback, both are a control of sound output, so similar actions are matched. This design can reduce the user's learning cost, allowing users to quickly get started and accurately operate smart glasses by relying on the similar memory of actions when switching between different application states, improving the overall user experience and operating efficiency, and reflecting the humanization and intelligence of smart device operation design.
[0037] From the above, it can be concluded that this embodiment determines the instruction list based on the function type and the interactive action type, so that the instruction planning is more systematic and targeted, and can accurately cover various function and action combinations, ensuring that the device functions are triggered and executed comprehensively and orderly.
[0038] This embodiment uses historical usage data to determine the priority sequence of functions and actions, which fully fits the user's usage habits and preferences. High-priority functions and actions are matched with instructions first, which improves interaction efficiency and reduces the waiting time and tediousness of user operations. This embodiment effectively avoids confusion and conflict of instructions. As the functions of wearable devices continue to increase and interactions become increasingly complex, it can still provide users with a clear, smooth and stable operating experience, reduce user learning costs, and improve user satisfaction.
[0039] In one embodiment of the present disclosure, determining an instruction list based on a function type and an interaction action type includes: The list of features is determined based on the feature type.
[0040] The action list is determined based on the interaction action type and the function list.
[0041] The instruction type is determined based on the interaction action type.
[0042] A first instruction quantity is determined based on the action list and the function list.
[0043] An instruction list is determined based on the instruction type and the first instruction quantity.
[0044] In this embodiment, the function types include communication function and multimedia function.
[0045] Determining the function list based on the function type includes: if the function type is a communication function, determining the communication function list based on the communication function. If the function type is a multimedia function, determining the multimedia function list based on the multimedia function.
[0046] In this embodiment, the interaction action types include touch interaction type and voice interaction type.
[0047] Determine the action list based on the interaction action type and function list, including: If the interaction action type is a touch interaction type, a touch action list is determined based on the touch interaction type and the touch dimension.
[0048] If the interaction action type is a voice interaction type, a voice action list is determined based on the voice interaction type and the function list.
[0049] In this embodiment, the function type is a classification summary of the functions of the wearable smart glasses. The communication function may include making calls, answering calls, sending text messages, viewing contacts, and other sub-functions; the multimedia function may include music playback, video playback, picture browsing, and the like.
[0050] The interactive action type is a classification of the way users interact with smart glasses. The touch interaction type can include various touch gestures, such as click, double-click, long press, slide, etc.; the voice interaction type is the voice command issued by the user. The relevant parameters of touch interaction can include touch position, touch strength, and touch duration; the relevant parameters of voice interaction can include the vocabulary of the voice command, voice intonation, speech speed, voice recognition accuracy, etc.
[0051] The function list may include a communication function list, a multimedia function list, an AI assistant wake-up function, a mode switching control function, etc. The multimedia function list may include a multimedia playback control function, which may include play and pause, switch tracks or videos, adjust volume, AI interactive query, etc. The communication function list may include a communication control function, which may include answering and hanging up calls, rejecting calls, calling contacts, call volume adjustment function, call recording function, etc. The mode switching control function may include a communication mode switching function, such as Bluetooth connection switching and communication network switching.
[0052] The action list is a specific action set generated based on the interactive action type and function list. Each action in the touch action list has corresponding parameters such as touch area, number of touches, touch track, touch duration, etc.; each voice command in the voice action list has parameters such as keywords and semantic understanding model.
[0053] In this embodiment, all specific functions are sorted out according to the function type to form a function list, and then the user's possible operation actions are determined according to the interaction action type and the function list to form an action list. At the same time, the category of the instruction is determined according to the interaction action type, and the required number of instructions is calculated through the combination of the action list and the function list. A complete instruction list is generated based on the instruction type and the instruction number, thereby building an instruction bridge from interaction action to function realization.
[0054] Exemplarily, the camera, microphone, display, communication module and software function module of the smart glasses are analyzed, specific function items are sorted out for communication function and multimedia function, stored in a function list data structure, and related data are associated with each function item.
[0055] Touch action: Acquire touch data through the touch sensor, determine the touch action type according to the touch position, touch times, touch duration, etc., generate a touch action list in combination with the function list, and store the touch actions and related parameters.
[0056] Voice action: Use voice recognition technology to analyze the collected voice signals, combine the function keywords and semantics in the function list, determine the type of voice command, generate a voice action list, and store the voice commands and related parameters.
[0057] Determine the command type: Write command processing modules for touch interaction type and voice interaction type respectively, define the command types corresponding to different interaction actions, such as touch click corresponding to selection command, voice playback command corresponding to execution playback function command, and determine the command type and related parameters.
[0058] Traverse the action list and function list, count the number of instructions required for different action and function combinations, and store the number value. According to the instruction type and instruction quantity, create an instruction structure or object, including the instruction type, corresponding action, corresponding function and related parameter information, store it in the instruction list data structure, and complete the instruction list construction.
[0059] This embodiment can accurately match user needs with device functions, and by carefully combing functions and action types, closely connect instructions with actual usage scenarios, thereby improving operational accuracy and efficiency. This embodiment can enhance user experience, and the rich touch and voice interaction actions combined with various functions provide users with convenient, flexible and natural control methods, reducing learning costs. This embodiment is conducive to system optimization and expansion, and clear instruction types, quantities and list construction make it convenient for developers to optimize code and resource allocation in a targeted manner, and when functions or interaction methods are updated, the instruction system can be quickly adjusted based on this framework.
[0060] In one embodiment of the present disclosure, the instruction matching method further includes: In response to receiving the target trigger action, a target instruction is determined based on the target trigger action, an application state of the wearable device, and an instruction matching relationship.
[0061] In this embodiment, in response to receiving a target trigger action, determining a target instruction based on the target trigger action, an application state of the wearable device, and an instruction matching relationship includes: In response to receiving the target trigger action, a target instruction type is determined based on the target trigger action.
[0062] The target function type is determined based on the target instruction type and application status.
[0063] The target instruction is determined based on the target function type and the instruction matching relationship.
[0064] In this embodiment, the target trigger action is a specific interactive action currently performed by the user on the wearable smart glasses, such as touching a certain position of the frame, speaking a specific voice command, etc., which includes the action itself and related parameters.
[0065] The application status of the wearable device may include the application scenario or mode currently running in the smart glasses, such as playing music, being on a call, being in standby mode, etc. The same action in different states can correspond to different instructions.
[0066] The target instruction is the specific instruction to be executed based on the target trigger action, device application status and instruction matching relationship to achieve the corresponding function.
[0067] The target instruction type is the instruction category corresponding to the target triggered action, such as touch control type, voice query type, etc., which is related to the nature of the action.
[0068] The target function type is the category of the function to be implemented, which is determined based on the target instruction type and application status, such as multimedia function, communication function, etc.
[0069] In this embodiment, when a target trigger action is received, the target instruction type to which the action belongs is first determined based on the action. Combined with the current application state of the wearable device, the target function type to be achieved is further clarified. Finally, through the established instruction matching relationship, the specific target instruction corresponding to the target function type is found to perform the corresponding operation.
[0070] Exemplarily, a user is using smart glasses to watch a video, and the current application state is that the video is playing. At this time, the user issues a voice command "pause", which is a target trigger action. After receiving the voice command, the smart glasses determine that the target command type is a control command based on the voice command. Combined with the application state of the current video playback and the control command type, it is determined that the target function type is the pause function in the multimedia playback control. Based on the pre-established command matching relationship, the specific command code corresponding to the multimedia playback pause function is found in the command library, such as "MEDIA_PLAY_PAUSE". After receiving the target command, the smart glasses will execute the operation of pausing the video playback, the video screen will stop, and the audio will also pause, waiting for the user's next command, such as continuing to play, fast forward or rewind.
[0071] Exemplarily, a user is wearing smart glasses and is in standby mode. At this time, the user double-clicks on the left area of the frame. This touch action is the target trigger action. After the touch sensor of the smart glasses detects the double-click action, it determines that the target instruction type corresponding to this touch action is a selection instruction according to the preset rules. Since it is currently in standby mode, combined with the selection instruction type, the target function type is further determined to be the function of viewing the address book. According to the instruction matching relationship, the specific instruction corresponding to the function of viewing the address book is found in the instruction set, such as the "CONTACTS_SHOW" instruction. After the processing system of the smart glasses receives the instruction, the address book list will pop up in the display area of the glasses to facilitate the user to view the contact information. If the user has further operations later, such as clicking on a contact to make a call, the smart glasses will again determine the corresponding target instruction and execute it based on the new target trigger action, application status and instruction matching relationship.
[0072] This embodiment determines the target instruction by comprehensively matching the target trigger action, application state and instruction, which can accurately match the user's intention and reduce misoperation, such as accurately responding to action instructions in different application scenarios. This embodiment is highly flexible, and the same action can perform different functions due to different application states to meet diverse needs, such as different touch action functions when in standby and when playing a video. This embodiment can enhance the user experience, and the operation is natural and smooth. Both voice and touch instructions can be efficiently converted into function execution, allowing users to conveniently control smart glasses, enhance the practicality and ease of use of the product, and promote the popularization and application expansion of smart wearable devices.
[0073] In one embodiment of the present disclosure, the historical usage data includes historical function usage data and historical action usage data.
[0074] Based on historical usage data, the function priority sequence corresponding to the function type and the action priority sequence corresponding to the interactive action type are determined, including: Determine a function priority sequence corresponding to a function type based on historical function usage data.
[0075] Determine the action priority sequence corresponding to the interactive action type based on historical action usage data.
[0076] In this embodiment, the historical usage data may include relevant information recorded during the past use of the wearable device (such as smart glasses), and the historical usage data may include the user's use of various functions and the interactive actions performed. The historical usage data may also include relevant data statistics of various other products, instruction matching methods, etc.
[0077] Historical function usage data is a detailed record of the past use of each function type, including the time, frequency, duration, etc. For example, the duration of each play of the music playback function, the number of calls of the phone call function, etc.
[0078] Historical action usage data is a record of past interactions between users and smart glasses, such as the touch position, number of times, and duration of touch actions, the content of voice commands, and the number of times they are issued.
[0079] The function priority sequence is a sequence formed by sorting each function type based on its importance and frequency in historical use. Functions with relatively higher priorities will be given priority in processing such as instruction matching.
[0080] The action priority sequence is a sequence that is sorted according to factors such as the convenience and commonness of the interactive action types in historical use. This makes it easy to select actions corresponding to functions, so that frequently used functions correspond to high-priority actions that are simpler and more convenient to operate.
[0081] In this embodiment, determining the function priority sequence corresponding to the function type based on the historical function usage data and the function type includes: The usage frequency and importance weight coefficient of each function type are determined based on historical function usage data.
[0082] The function priority sequence corresponding to the function type is calculated based on the usage frequency and importance weight coefficient of the function type and the function priority function.
[0083] The feature priority function is:
[0084] Among them, let the function type set be F={ ,..., }, represents the i-th function type, express The functional priority of express Duration of use, express The number of times it is used, express The importance weight coefficient, n represents the total number of functional types, j represents the index variable corresponding to n functional types, represents the number of times the jth function type is used, Indicates the usage duration of the jth function type.
[0085] In this embodiment, determining the action priority sequence corresponding to the interactive action type based on the historical action usage data includes: Determine the usage frequency, error rate, and operation complexity of each interactive action type based on historical action usage data.
[0086] The action priority sequence corresponding to the interactive action type is calculated based on the usage frequency, error rate and operation complexity of the interactive action type.
[0087] Exemplarily, to calculate function priority: regularly analyze historical usage data, count the usage frequency of each function type, combine the importance of the function, calculate the function priority by weighted average method, and generate a function priority sequence.
[0088] Calculate action priority: Also based on historical usage data, analyze the frequency of use, error rate, operation complexity and other factors of each action type, assign a priority value to each action type, and form an action priority sequence. You can use statistical analysis methods and set thresholds to determine action priorities.
[0089] For example, a data recording module is built into the operating system of smart glasses to record in detail the usage of each function, such as the duration and frequency of calls made in the communication function, the number of music tracks played in the multimedia function, the duration of playback, and other historical function usage data, as well as the location, number of touch operations, the specific content of voice commands, and other historical action usage data.
[0090] Run the data analysis program regularly to count the usage frequency, total usage time and other parameters of each function type for historical function usage data, and calculate the function priority score through the weighted average algorithm. For example, if the usage time of the music playback function accounts for 30% of the total usage time and the usage frequency is high, its priority score is correspondingly high, and the function priority sequence is generated based on this sorting.
[0091] For historical action usage data, analyze the usage ratio and operation accuracy of each interactive action type. For example, if the touch and click action has an accuracy rate of 90% and is frequently used, its action priority score is high, and then determine the action priority sequence based on the score. These sequences are then applied to the command matching process, giving priority to the command matching corresponding to high-priority functions and actions, and optimizing the operation response logic of smart glasses.
[0092] This embodiment can make the command matching of smart glasses more in line with user habits. The priority matching of high-priority functions and convenient actions can reduce the operation steps and improve the response speed. Accurate personalized settings make the user experience smoother and more efficient, enhance the practicality and intelligence of the product, and improve user satisfaction.
[0093] Corresponding to the instruction matching method of the above embodiment, Figure 2 This is a structural block diagram of an instruction matching 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 matching device 20 is applied to a wearable device, and includes: a first calculation module 21, a second calculation module 22 and a third calculation module 23.
[0094] The first calculation module 21 is used to determine the instruction list based on the function type and the interaction action type.
[0095] The second calculation module 22 is used to determine the function priority sequence corresponding to the function type and the action priority sequence corresponding to the interactive action type based on the historical usage data.
[0096] The third calculation module 23 is used to determine the function similarity of multiple functions in the function priority sequence based on the function type, determine the function-action matching relationship based on the function priority sequence, the action priority sequence and the function similarity; determine the instruction matching relationship based on the function-action matching relationship and the instruction list. The instruction matching relationship includes the action-instruction-function matching relationship.
[0097] In an embodiment of the present disclosure, the first calculation module 21 is specifically configured to determine a function list based on a function type.
[0098] The action list is determined based on the interaction action type and the function list.
[0099] The instruction type is determined based on the interaction action type.
[0100] A first instruction quantity is determined based on the action list and the function list.
[0101] An instruction list is determined based on the instruction type and the first instruction quantity.
[0102] In an embodiment of the present disclosure, the function type includes a communication function and a multimedia function. The first calculation module 21 is further configured to determine a communication function list based on the communication function if the function type is a communication function.
[0103] If the function type is a multimedia function, a multimedia function list is determined based on the multimedia function.
[0104] In an embodiment of the present disclosure, the interaction action type includes a touch interaction type and a voice interaction type. If the interaction action type is a touch interaction type, a touch action list is determined based on the touch interaction type and the touch dimension.
[0105] If the interaction action type is a voice interaction type, a voice action list is determined based on the voice interaction type and the function list.
[0106] In one embodiment of the present disclosure, the instruction matching device 20 further includes: The fourth calculation module is used to determine the target instruction based on the target triggering action, the application state of the wearable device and the instruction matching relationship in response to receiving the target triggering action.
[0107] In one embodiment of the present disclosure, the fourth calculation module is specifically configured to determine the target instruction type based on the target trigger action in response to receiving the target trigger action.
[0108] The target function type is determined based on the target instruction type and application status.
[0109] The target instruction is determined based on the target function type and the instruction matching relationship.
[0110] In one embodiment of the present disclosure, the historical usage data includes historical function usage data and historical action usage data. The second calculation module 22 is specifically configured to determine a function priority sequence corresponding to a function type based on the historical function usage data.
[0111] Determine the action priority sequence corresponding to the interactive action type based on historical action usage data.
[0112] See also Figure 3 , Figure 3 A schematic block diagram of a wearable device provided by an embodiment of the present disclosure. Figure 3The 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 2 The functions of modules 21 to 23 are shown.
[0113] 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.
[0114] 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.
[0115] 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.
[0116] 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 matching method provided in the embodiments of the present disclosure, and can also execute the implementation methods of the wearable device 300 described in the embodiments of the present disclosure, which will not be repeated here.
[0117] 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.
[0118] 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.
[0119] 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.
[0120] 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.
[0121] 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.
[0122] 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.
[0123] 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.
[0124] 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 matching method, characterized in that: Applied to wearable devices, including: Determine the instruction list based on the function type and the interaction action type; Determine, based on historical usage data, a function priority sequence corresponding to the function type and an action priority sequence corresponding to the interactive action type; Determine the functional similarity of multiple functions in the functional priority sequence based on the functional type; determine the function-action matching relationship based on the functional priority sequence, the action priority sequence and the functional similarity; determine the instruction matching relationship based on the function-action matching relationship and the instruction list; the instruction matching relationship includes an action-instruction-function matching relationship.
2. The instruction matching method according to claim 1, characterized in that: The step of determining the instruction list based on the function type and the interaction action type includes: determining a function list based on the function type; Determine an action list based on the interaction action type and the function list; Determining an instruction type based on the interaction action type; determining a first instruction quantity based on the action list and the function list; The instruction list is determined based on the instruction type and the first instruction quantity.
3. The instruction matching method according to claim 2, characterized in that: The functional types include communication functions and multimedia functions; The determining of the function list based on the function type comprises: If the function type is a communication function, determining a communication function list based on the communication function; If the function type is a multimedia function, a multimedia function list is determined based on the multimedia function.
4. The instruction matching method according to claim 2, characterized in that: The interaction action types include touch interaction type and voice interaction type; The determining the action list based on the interaction action type and the function list includes: If the interaction action type is a touch interaction type, determining a touch action list based on the touch interaction type and the touch dimension; If the interaction action type is a voice interaction type, a voice action list is determined based on the voice interaction type and the function list.
5. The instruction matching method according to claim 1, characterized in that: Also includes: In response to receiving a target trigger action, a target instruction is determined based on the target trigger action, an application state of the wearable device and the instruction matching relationship.
6. The instruction matching method according to claim 5, characterized in that: The step of determining the target instruction based on the target triggering action, the application state of the wearable device and the instruction matching relationship in response to receiving the target triggering action includes: In response to receiving a target triggering action, determining a target instruction type based on the target triggering action; Determine a target function type based on the target instruction type and the application state; The target instruction is determined based on the target function type and the instruction matching relationship.
7. The instruction matching method according to claim 1, characterized in that: The historical usage data includes historical function usage data and historical action usage data; The determining, based on the historical usage data, a function priority sequence corresponding to the function type and an action priority sequence corresponding to the interactive action type comprises: Determining the function priority sequence corresponding to the function type based on historical function usage data; The action priority sequence corresponding to the interactive action type is determined based on historical action usage data.
8. An instruction matching device, characterized in that: Applied to wearable devices, including: A first calculation module, used for determining an instruction list based on a function type and an interaction action type; A second calculation module, configured to determine a function priority sequence corresponding to the function type and an action priority sequence corresponding to the interactive action type based on historical usage data; The third calculation module is used to determine the functional similarity of multiple functions in the function priority sequence based on the function type, determine the function-action matching relationship based on the function priority sequence, the action priority sequence and the functional similarity; determine the instruction matching relationship based on the function-action matching relationship and the instruction list; the instruction matching relationship includes an action-instruction-function matching relationship.
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
Operation execution method and device
CN104333652A
Sound recording method and device, terminal and computer readable storage medium
CN108174028A
Function management method and device, equipment and storage medium
CN110488976A
Systems, methods, and user interfaces for headphone fit adjustment and audio output control
CN114174971A
Interaction method and device, wearable equipment and storage medium
CN118444788A