Parameter broadcasting method and device, computer equipment and storage medium
By realizing sports cycle recognition and user voice collection on wearable devices, and automatically generating and reporting ski sports parameters, it solves the problem of difficulty for users to operate equipment in special environments, improves the timeliness and convenience of parameter acquisition, and improves the user experience.
Patent Information
- Application Number
- CN202311756066.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2025-06-20
AI Technical Summary
In special environments such as mountains and snow, it is difficult for users to frequently take out their wearable devices, unlock and open the software to obtain the ski sports parameters of their interest. The operation is difficult and cumbersome, the parameters are not obtained in time, and the user experience is poor.
A parameter broadcast method is provided, which can realize automated parameter broadcast by identifying the end of the motion cycle or collecting user voice, determine the parameters indicating the trigger condition, and generate broadcast audio based on these parameters.
It realizes that the motion parameters can be obtained without the need for users to operate the equipment directly in a special environment, which improves the timeliness of parameter acquisition and convenience of use, and significantly improves the user experience.
Smart Images

Figure CN120168936A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of parameter reporting, and in particular, to a parameter reporting method, apparatus, computer device, and storage medium. Background Art
[0002] With the improvement of people's living standards and the strong support of the country, skiing is no longer a sport that only a few people like. There are many parameters in skiing that users are very interested in, such as the number of skiing runs, skiing distance, skiing speed, skiing descent, etc.
[0003] In related technologies, users usually need to check their watches by themselves to obtain the parameters they are interested in. However, due to the special nature of mountainous, snowy environments and sports such as rock climbing, mountain climbing, and skiing (for example, the user's device may be covered by thick clothes, and the user's limbs may also be restricted by sports equipment. Excessive interaction actions may disrupt the user's sports rhythm and even endanger the user's safety), it is difficult for general users to frequently take out the wearable device, unlock it, open the software, and flip up and down to find the parameters they want to know. The operation is difficult and cumbersome, the parameter acquisition is not timely, and the usability is low, resulting in a poor user experience. Summary of the Invention
[0004] To overcome the problems existing in related technologies, the present disclosure provides a parameter reporting method, apparatus, computer device, and storage medium.
[0005] The first aspect of the present disclosure provides a parameter reporting method, including:
[0006] In response to the parameter reporting function being triggered, determining at least one first parameter indicated by the trigger condition of the parameter reporting function;
[0007] Generating and reporting the first reporting audio according to the motion state quantity characterized by the at least one first parameter.
[0008] Optionally, the step of "in response to the parameter reporting function being triggered, determining at least one first parameter indicated by the trigger condition of the parameter reporting function" includes:
[0009] In response to recognizing the end of a motion cycle, determining that the parameter reporting function is triggered, and determining that at least one first parameter indicated by the trigger condition of the parameter reporting function is a default parameter or a parameter determined in advance according to a user instruction.
[0010] Optionally, the step of "in response to the parameter reporting function being triggered, determining at least one first parameter indicated by the trigger condition of the parameter reporting function" includes:
[0011] In response to collecting the first user voice, it is determined that the parameter reporting function is triggered, and at least one first parameter indicated by the first user voice is determined.
[0012] Optionally, the determining at least one first parameter indicated by the first user voice includes:
[0013] Based on the dynamic time warping (DTW) algorithm, the parameters corresponding to the reference voice in the reference voice library with a matching degree greater than or equal to a first threshold with the first user voice are determined as at least one first parameter indicated by the first user voice, where the reference voice library includes reference voices corresponding to at least one parameter.
[0014] Optionally, the method further includes:
[0015] In response to receiving a voice input instruction, the collected second user voice is added to the reference voice library as the reference voice corresponding to the parameter indicated by the voice input instruction.
[0016] Optionally, the determining, based on the dynamic time warping (DTW) algorithm, at least one first reference voice in the reference voice library with a matching degree greater than or equal to a first threshold with the first user voice includes:
[0017] Based on the dynamic time warping (DTW) algorithm, the first user voice is matched with at least one reference voice included in the reference voice library, and at least one first reference voice with a matching degree greater than or equal to a first threshold with the first user voice is determined.
[0018] Optionally, the method further includes:
[0019] In response to receiving a user interaction instruction, start collecting the first user voice.
[0020] Optionally, the user interaction instruction includes at least one of the following:
[0021] The position of the device executing the method moves along a preset trajectory;
[0022] The attitude of the device executing the method changes along a preset trajectory;
[0023] The device executing the method is slapped.
[0024] Optionally, the generating and reporting the first reporting audio according to the motion state quantity characterized by the at least one first parameter includes:
[0025] Based on an offline speech library, generate a first broadcast audio according to the at least one first parameter and the motion state quantity characterized by the at least one first parameter, and broadcast the first broadcast audio, where the offline speech library includes audio templates of at least one parameter.
[0026] A second aspect of the present disclosure provides a parameter broadcast device, and the device includes:
[0027] A parameter determination module, configured to determine at least one first parameter indicated by a trigger condition of the parameter broadcast function in response to the parameter broadcast function being triggered;
[0028] A first audio broadcast module, configured to generate and broadcast the first broadcast audio according to the motion state quantity characterized by the at least one first parameter.
[0029] Optionally, when the parameter determination module is configured to determine at least one first parameter indicated by a trigger condition of the parameter broadcast function in response to the parameter broadcast function being triggered, it is configured to:
[0030] In response to identifying the end of a motion cycle, determine that the parameter broadcast function is triggered, and determine that at least one first parameter indicated by a trigger condition of the parameter broadcast function is a default parameter or a parameter determined in advance according to a user instruction.
[0031] Optionally, when the parameter determination module is configured to determine at least one first parameter indicated by a trigger condition of the parameter broadcast function in response to the parameter broadcast function being triggered, it is configured to:
[0032] In response to collecting a first user voice, determine that the parameter broadcast function is triggered, and determine at least one first parameter indicated by the first user voice.
[0033] Optionally, when the parameter determination module is configured to determine at least one first parameter indicated by the first user voice, it is configured to:
[0034] Based on the dynamic time warping (DTW) algorithm, determine, as at least one first parameter indicated by the first user voice, the parameter corresponding to the reference voice in the reference voice library whose matching degree with the first user voice is greater than or equal to a first threshold, where the reference voice library includes reference voices corresponding to at least one parameter.
[0035] Optionally, the device further includes:
[0036] A reference voice addition module, configured to add the collected second user voice as the reference voice corresponding to the parameter indicated by the voice input instruction to the reference voice library in response to receiving the voice input instruction.
[0037] Optionally, when the parameter determination module is used to determine at least one first reference speech with a matching degree greater than or equal to a first threshold with the first user speech in the reference speech library based on the dynamic time warping (DTW) algorithm, it is used for:
[0038] Based on the dynamic time warping (DTW) algorithm, match the first user speech with at least one reference speech included in the reference speech library, and determine at least one first reference speech with a matching degree greater than or equal to the first threshold with the first user speech.
[0039] Optionally, the device further includes:
[0040] An interaction instruction response module, configured to start collecting the first user speech in response to receiving a user interaction instruction.
[0041] Optionally, the user interaction instruction includes at least one of the following:
[0042] The position of the device applying the device moves along a preset trajectory;
[0043] The attitude of the device applying the device changes along a preset trajectory;
[0044] The device applying the device is slapped.
[0045] Optionally, when the first audio broadcast module is used to generate and broadcast the first broadcast audio according to the motion state quantity characterized by the at least one first parameter, it is used for:
[0046] Based on an offline speech library, generate a first broadcast audio according to the at least one first parameter and the motion state quantity characterized by the at least one first parameter, and broadcast the first broadcast audio, where the offline speech library includes audio templates of at least one parameter.
[0047] A third aspect of the present disclosure provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the method described in the first aspect is implemented.
[0048] A fourth aspect of the present disclosure provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect is implemented.
[0049] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0050] In the embodiments of the present disclosure, by determining whether the parameter reporting function is triggered, determining at least one first parameter indicated by the trigger condition, and then reporting the reported audio generated by the motion state quantity characterized by the first parameter, through a reliable and friendly interaction method, that is, the device executing the method automatically identifies whether the parameter reporting function is triggered and directly reports the corresponding audio according to the parameter indicated by the trigger condition, without destroying the user's motion rhythm due to adding unnecessary actions, and not being affected by sports equipment or user clothing, providing the parameter reporting function for the user, the parameter reporting is more timely and the usability is high, greatly improving the user experience.
[0051] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings herein are incorporated into the specification and constitute a part of the present disclosure, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0053] Figure 1 It is a flowchart of a parameter reporting method shown in some exemplary embodiments.
[0054] Figure 2 It is a flowchart of another parameter reporting method shown in some exemplary embodiments.
[0055] Figure 3 It is a flowchart of yet another parameter reporting method shown in some exemplary embodiments.
[0056] Figure 4 It is an application scenario diagram of a parameter reporting method shown in some exemplary embodiments.
[0057] Figure 5 It is a block diagram of a parameter reporting device shown in some exemplary embodiments.
[0058] Figure 6 It is a hardware structure diagram of a computer device shown in some exemplary embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0059] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0060] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0061] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0062] With the improvement of people's living standards and the strong support of the country, skiing is no longer a sport that only a small number of people like. There are many parameters in skiing that users are very interested in, such as the number of skiing trips, skiing distance, skiing speed, and skiing downhill.
[0063] In the related art, users are usually required to check their watches to obtain the parameters they are interested in. However, due to the particularities of mountain and snowy environments and sports such as skiing, rock climbing, and mountaineering (for example, the user's device may be covered by heavy clothes, the user's limbs may also be restrained by sports equipment, and unnecessary interactive actions may disrupt the user's exercise rhythm and even endanger the user's safety), it is difficult for ordinary users to frequently take out wearable devices, unlock them, open software, and scroll up and down to find the parameters they want to know. The operation is difficult and cumbersome, the parameters are not obtained in a timely manner, and the convenience of use is low, resulting in a poor user experience.
[0064] In view of this, the present disclosure provides a parameter broadcasting method, device, computer equipment and storage medium. By providing an intelligent broadcasting method that can interact with people to serve the above special scenarios, the functional experience is further improved.
[0065] The parameter broadcasting method provided by the present disclosure can be applied to lightweight devices, preferably wearable devices. Wearable devices usually have low hardware configuration, limited load capacity and battery life, and in sports scenes, users may be hindered by sports movements or the obstruction of clothes and equipment, making it inconvenient to directly operate the device screen or device buttons.
[0066] Next, the embodiments of the present disclosure are described in detail.
[0067] In a first aspect, a parameter broadcasting method is provided. Figure 1As shown in the figure, it includes the following steps:
[0068] Step S101, in response to the parameter announcement function being triggered, determine at least one first parameter indicated by the trigger condition of the parameter announcement function.
[0069] Among them, the trigger condition of the parameter announcement function can be the end of a motion cycle or the acquisition of user speech; the trigger condition of the parameter announcement function indicates at least one first parameter. Here, the first parameter can either be a preset type (i.e., the trigger condition corresponds to default parameters) or a parameter type indicated by the trigger condition in other ways (such as the parameter type carried in the user speech). Further exemplary content regarding this step will be elaborated in detail later.
[0070] Step S102, generate and announce the first announcement audio according to the motion state quantity characterized by the at least one first parameter.
[0071] After this method determines at least one first parameter indicated by the first user speech, the motion state quantity characterized by the at least one first parameter can be obtained at modules such as the register and sensor of the device executing the method. For example, in the skiing sports scenario, if this method acquires user speech indicating two parameters, "current altitude" and "maximum altitude", the current output altitude of the altitude sensor can be determined as the motion state quantity characterized by "current altitude", and the maximum value of the altitude sensor output altitude stored in the register can be determined as the motion state quantity characterized by "maximum altitude". After obtaining the motion state quantity characterized by at least one first parameter, the first announcement audio can be generated based on a deep learning model, a cloud service interface, or a locally preset offline speech library, and the first announcement audio can be announced to the user.
[0072] In the embodiments of the present disclosure, by determining whether the parameter announcement function is triggered, determining at least one first parameter indicated by the trigger condition, and then announcing the announcement audio generated using the motion state quantity characterized by the first parameter, in a reliable and friendly interaction manner, that is, the device executing the method automatically identifies whether the parameter announcement function is triggered and directly announces the corresponding audio according to the parameters indicated by the trigger condition, without disrupting the user's motion rhythm due to adding extra actions and being unaffected by sports equipment or user clothing, providing a parameter announcement function for the user, with more timely parameter announcements and high usability, greatly improving the user experience.
[0073] In some embodiments of the present disclosure, the trigger condition of the parameter announcement function provided in the parameter announcement method of the present disclosure can be the end of a motion cycle, that is:
[0074] The step of, in response to the parameter announcement function being triggered, determining at least one first parameter indicated by the trigger condition of the parameter announcement function includes:
[0075] In response to recognizing the end of a motion cycle, determine that the parameter reporting function is triggered, and determine that at least one first parameter indicated by the trigger condition of the parameter reporting function is a default parameter or a parameter determined in advance according to a user instruction.
[0076] Among them, the end of the motion cycle can be determined based on a preset condition or according to a user instruction. Exemplarily, in a skiing motion scenario, the user's gliding to the bottom of the slope can be used as a judgment condition for the end of a motion cycle (that is, the process of the user gliding from the top of the slope to the bottom of the slope is regarded as a motion cycle). Specifically, the altitude change of the device executing the method can be judged. When the altitude change within a preset time threshold is less than a preset altitude change threshold, it is determined that a motion cycle ends. It can also be judged that when the altitude value of the device executing the method changes from a decreasing process to an increasing process, it is determined that a motion cycle ends. Another example is that in a jogging motion scenario, based on sensors such as a GNSS (Global Navigation Satellite System) module, each time the user returns to the starting point during the motion process can be used as a sign of the end of a motion cycle.
[0077] After recognizing the end of a motion cycle, the motion state quantities characterized by the preset default parameters or the parameters determined according to the user instruction can be obtained. For example, if this method has three default parameters of "current altitude", "maximum altitude", and "maximum descent per second", the motion state quantities characterized by these three parameters can be reported according to these three parameters. If the user instruction indicates one parameter of "maximum descent per second" (for example, the user sets the system configuration in advance), the motion state quantity characterized by "maximum descent per second" can be reported. Among them, the default parameter can be a preset value of the system or obtained by summarizing previous user data. For example, maintain the user's last setting, or summarize the parameters indicated by the user's voice during the current or previous one or more motion cycles to determine (for example, use the N parameters mentioned most frequently by the user as the default reporting parameters, where N is a preset positive integer).
[0078] In the above embodiments, based on the recognition of the motion cycle, automatic parameter reporting during the motion is realized. Without manual intervention, the user can monitor the current motion state quantity, improving the user experience. In special motion scenarios such as skiing, mountain climbing, and rock climbing, the user device may be covered by thick clothes, the user's limbs may be restricted by sports equipment, and the user's voice may be interfered by environmental noise; also, in some "continuous" sports such as jogging, it is difficult for the user to interact with the device in every motion cycle during the continuous motion process to obtain the motion state quantity (this may disrupt the user's motion rhythm). In the above scenarios and similar scenarios, it is inconvenient for the user to interact with the device, so the improvement of the user experience brought by the parameter reporting based on the motion cycle recognition is more significant.
[0079] In some embodiments of the present disclosure, the trigger condition for the parameter reporting function in the parameter reporting method provided by the present disclosure may be the collection of the first user voice, that is:
[0080] Responding to the triggering of the parameter reporting function, determining at least one first parameter indicated by the trigger condition of the parameter reporting function includes:
[0081] Responding to the collection of the first user voice, determining that the parameter reporting function is triggered, and determining at least one first parameter indicated by the first user voice.
[0082] Among them, the device executing the method can continuously collect the user voice, or start collecting the first user voice in response to receiving a user interaction instruction. After the device executing the method collects the first user voice, determine at least one first parameter indicated by the first user voice, where the first parameter characterizes the motion state quantity, such as the current altitude in skiing and the highest altitude recorded during the motion process, etc., and the specific determination method can be based on tools such as a deep learning model, a cloud service interface, or a DTW algorithm. Specific details of this step will be elaborated in detail later.
[0083] After this method determines at least one first parameter indicated by the first user voice, the motion state quantity characterized by the at least one first parameter can be obtained at modules such as the register and sensor of the device executing the method, and a first broadcast audio is generated, and then the first broadcast audio is broadcast to the user.
[0084] In the embodiments of the present disclosure, by collecting the first user's voice, determining at least one first parameter indicated by the first user's voice, and then broadcasting the broadcast audio generated by the motion state quantity characterized by the first parameter, through a reliable and friendly interaction method, that is, through voice interaction to replace directly operating the device screen or device buttons, it will not disrupt the user's motion rhythm due to adding extra actions, and is not affected by sports equipment or user clothing, providing a parameter broadcast function for the user. The parameter broadcast is more timely and has high usability, greatly improving the user experience.
[0085] In at least one embodiment of the present disclosure, the implementation manner of determining at least one first parameter indicated by the first user's voice is as follows:
[0086] Based on the DTW (Dynamic Time Warping) algorithm, the parameters corresponding to the reference voice with a matching degree greater than or equal to the first threshold between the reference voice library and the first user's voice are determined as at least one first parameter indicated by the first user's voice, where the reference voice library includes reference voices corresponding to at least one parameter.
[0087] The DTW algorithm can construct the corresponding relationship of sequence elements with different lengths according to the principle of the closest distance and evaluate the similarity of the two sequences. That is, the DTW algorithm can realize the approximation calculation between two time series with the same or different lengths (such as the user's voice and the reference voice in the present disclosure). At the same time, the time complexity of the DTW algorithm is small, imposing little computational pressure on the device executing the method, and can adapt to the load limit of wearable devices. When the device is a wearable device or other lightweight devices, due to the small hardware volume, they cannot locally run deep learning models, and usually do not have direct networking capabilities (and the motion scenarios they apply to may not have networking conditions), so they cannot obtain services by deploying cloud models or calling cloud interfaces. Then the above advantages are more prominent. In other words, the DTW algorithm can obtain the matching degree between voices with the same or different lengths on the basis of considering lightweight and matching accuracy, effectively reducing the hardware requirements, resource occupancy and power consumption of the device executing the method, thereby reducing the running delay of this method, and enabling this method to be applied to lightweight devices, improving the universality of this method.
[0088] Specifically, the step of determining at least one first reference voice with a matching degree greater than or equal to the first threshold between the first user's voice in the reference voice library based on the dynamic time warping DTW algorithm includes:
[0089] Based on the dynamic time warping DTW algorithm, the first user voice is matched with at least one reference voice included in the reference voice library, and at least one first reference voice whose matching degree with the first user voice is greater than or equal to a first threshold is determined.
[0090] The reference voice library is a pre-built voice library containing reference voices corresponding to at least one parameter, which may include a preset general reference voice or a reference voice based on the user's voice according to the user's own voice characteristics. Figure 2 , which provides a reference voice input method based on user voice:
[0091] In step S201, in response to receiving a voice recording instruction, the collected second user voice is added to the reference voice library as a reference voice corresponding to the parameters indicated by the voice recording instruction.
[0092] Among them, the voice input instruction can come from the user. For example, the user performs a voice input operation for a parameter in the setting interface, or modifies the current reference voice of a parameter. The device executing the method then adds the collected second user voice as the reference voice corresponding to the parameter indicated by the voice input instruction to the reference voice library.
[0093] The above embodiment is based on the characteristic that the DTW algorithm can derive the similarity between any time series (not limited to fixed languages or texts), and realizes the reference voice recorded based on the user's voice. Compared with the general voice recognition (usually based on the reference voice, or based on the parameter library trained by the reference voice), it has higher matching accuracy and flexibility, and can still ensure the accuracy of voice matching when the user's voice is relatively special or has an accent. At the same time, the user can not only record the voice based on the fixed text (in the general voice recognition, usually only by issuing the voice corresponding to the fixed text to achieve human-computer voice interaction), but the voice recognition based on the user's voice can be completely based on the user's wishes to perform reference voice recording, and is not limited to the text corresponding to the parameter, which further improves the user experience; in addition, for people with language barriers, other characteristic sounds (such as clapping, smacking lips, flicking tongue, etc.) can be recorded to realize the parameter broadcast based on voice interaction, which improves the universality of the method.
[0094] In some embodiments of the present disclosure, generating and broadcasting the first broadcast audio according to the motion state quantity represented by the at least one first parameter includes:
[0095] Based on the offline voice library, a first broadcast audio is generated according to the at least one first parameter and the motion state quantity represented by the at least one first parameter, and the first broadcast audio is broadcast, wherein the offline voice library contains an audio template of at least one parameter.
[0096] Exemplarily, a fixed audio template (e.g., an audio template corresponding to "Your current altitude is...") can be configured on the device executing the method, and combined with a digital voice package (e.g., an audio template capable of converting the altitude value into the corresponding audio) to realize audio broadcasting, which imposes little computing pressure on the device executing the method and can adapt to the load limit of the wearable device. When the device is a wearable device or other lightweight device, due to the small size of the hardware, they cannot run deep learning models locally, and they usually do not have direct networking capabilities (and the sports scenes in which they are applied may not have networking conditions), so they cannot obtain services by deploying cloud models or calling cloud interfaces. The above advantages are more significant. In other words, the above embodiments can realize audio broadcasting while ensuring lightweight; more exemplarily, a complete audio template corresponding to any character library (e.g., GB2312, Unicode) can be configured on the device executing the method to meet the diverse needs of users to the greatest extent.
[0097] In some embodiments of the present disclosure, exemplary application scenarios of the present method are provided, which are now described as follows:
[0098] The method is applied to wearable devices.
[0099] Wearable devices refer to electronic devices that can be worn on the body or attached to body parts, which can usually achieve full or partial functions without relying on other devices such as mobile phones. Specifically, they can be smart bracelets, smart watches, smart glasses, wireless headphones, wearable vital sign monitors, etc.
[0100] The motion state quantity includes the motion state quantity collected during the motion process.
[0101] For example, the current altitude of the device obtained in real time during skiing, or the maximum altitude and maximum descent recorded during skiing.
[0102] The method is applied to any of the following sports scenarios: skiing, mountaineering, rock climbing, and track and field sports.
[0103] The particularities of the above-mentioned scenarios have been explained in the aforementioned embodiments and will not be repeated here.
[0104] In some embodiments of the present disclosure, an exemplary triggering method for collecting the first user's voice is provided, see Figure 3 , which comprises the following steps:
[0105] In step S301, in response to receiving a user interaction instruction, the collection of the first user voice is started.
[0106] Wherein, the user interaction instruction may include at least one of the following:
[0107] Instruction 1: The position of the device executing the method moves along a preset trajectory.
[0108] Instruction 2: The attitude of the device executing the method changes along a preset trajectory.
[0109] Please refer to Figure 4 , which gives an exemplary application scenario diagram. Among them, the wearable device 401 (the device executing the method) is a smart bracelet worn on the user's wrist. Among them, when the user rotates the wrist along the preset trajectory in the figure (it can be understood that the user is completing a wrist-flipping action), the wearable device 401 can sense the change in attitude according to the built-in gyroscope or positioning module. When the change in this attitude is greater than a certain similarity degree with the preset trajectory, it can be determined that the user has issued an interaction instruction (Instruction 2). At this time, the collection of the first user voice can be started. The movement of the "position" in Instruction 1 is the same reason.
[0110] Instruction 3: The device executing the method is slapped.
[0111] Among them, the slapping operation can be sensed based on the gyroscope or vibration sensing module of the wearable device. For example, when the wearable device 401 is strongly vibrated (that is, the vibration intensity of the device is greater than the vibration threshold, and the vibration intensity here represents the vibration amplitude or frequency of the device), or meets other parameters and conditions that can be used to judge that the device is slapped, the collection of the first user voice can be started.
[0112] The above interaction instructions provide a way to receive user interaction instructions without the user directly operating the device screen or device buttons. The user can trigger the interaction by moving the device, flipping the device, or slapping the device, and then the corresponding motion state quantity can be reported (it should be understood that the present disclosure does not limit the specific way of reporting. For example, after triggering the interaction through the above method, the corresponding motion state quantity can be reported by collecting the user's voice, or directly based on the preset parameters or the parameters indicated by the user's instructions), which improves the flexibility of human-computer interaction and further improves the user's convenience and user experience. When the user is in a special scenario such as skiing, or the user is a person with speech disabilities, for the aforementioned reasons, the user may not be convenient to directly interact with the wearable device. At this time, the triggering method of the above user interaction instructions is more convenient.
[0113] Corresponding to the embodiments of the foregoing method, the present disclosure also provides embodiments of a device and a terminal to which the device is applied.
[0114] In a second aspect of the present disclosure, a parameter announcement device is provided. Please refer to Figure 5 , the device includes:
[0115] In a second aspect of the present disclosure, a parameter announcement device is provided, the device includes:
[0116] A parameter determination module 501, configured to determine at least one first parameter indicated by a trigger condition of the parameter announcement function in response to the parameter announcement function being triggered;
[0117] A first audio announcement module 502, configured to generate and announce the first announcement audio according to a motion state quantity characterized by the at least one first parameter.
[0118] Optionally, when the parameter determination module 501 is configured to determine at least one first parameter indicated by a trigger condition of the parameter announcement function in response to the parameter announcement function being triggered, it is configured to:
[0119] In response to identifying the end of a motion cycle, determine that the parameter announcement function is triggered, and determine that at least one first parameter indicated by the trigger condition of the parameter announcement function is a default parameter or a parameter determined in advance according to a user instruction.
[0120] Optionally, when the parameter determination module 501 is configured to determine at least one first parameter indicated by a trigger condition of the parameter announcement function in response to the parameter announcement function being triggered, it is configured to:
[0121] In response to collecting a first user voice, determine that the parameter announcement function is triggered, and determine at least one first parameter indicated by the first user voice.
[0122] Optionally, when the parameter determination module 501 is configured to determine at least one first parameter indicated by the first user voice, it is configured to:
[0123] Based on the dynamic time warping (DTW) algorithm, determine, as at least one first parameter indicated by the first user voice, parameters corresponding to reference voices in a reference voice library whose matching degree with the first user voice is greater than or equal to a first threshold, where the reference voice library includes reference voices corresponding to at least one parameter.
[0124] Optionally, the device further includes:
[0125] A reference voice adding module, configured to add, in response to receiving a voice recording instruction, a second user voice collected as a reference voice corresponding to a parameter indicated by the voice recording instruction to the reference voice library.
[0126] Optionally, when the parameter determination module 501 is used to determine at least one first reference voice in the reference voice library whose matching degree with the first user voice is greater than or equal to a first threshold based on the dynamic time warping (DTW) algorithm, it is used for:
[0127] Based on the dynamic time warping (DTW) algorithm, match the first user voice with at least one reference voice included in the reference voice library, and determine at least one first reference voice whose matching degree with the first user voice is greater than or equal to the first threshold.
[0128] Optionally, the device further includes:
[0129] An interaction instruction response module, configured to start collecting the first user voice in response to receiving a user interaction instruction.
[0130] Optionally, the user interaction instruction includes at least one of the following:
[0131] The position of the device applying the device moves along a preset trajectory;
[0132] The attitude of the device applying the device changes along a preset trajectory;
[0133] The device applying the device is patted.
[0134] Optionally, when the first audio broadcast module 502 is used to generate and broadcast the first broadcast audio according to the motion state quantity characterized by the at least one first parameter, it is used for:
[0135] Based on an offline voice library, generate a first broadcast audio according to the at least one first parameter and the motion state quantity characterized by the at least one first parameter, and broadcast the first broadcast audio, where the offline voice library includes audio templates of at least one parameter.
[0136] Optionally, the device is applied to a wearable device.
[0137] Optionally, the motion state quantity includes the motion state quantity collected during the motion, and the device is applied to any one of the following motion scenarios: skiing, mountain climbing, rock climbing, track and field.
[0138] The implementation processes of the functions and roles of each module in the above device are specifically described in the implementation processes of the corresponding steps in the above method, and will not be elaborated here.
[0139] For the apparatus embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the descriptions of the method embodiments. The apparatus embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0140] In a third aspect, the embodiments of the parameter broadcast apparatus provided by the present disclosure can be applied to a computer device. Please refer to the appendix Figure 6 , which exemplarily shows a hardware schematic diagram of a computer device. For example, the device 600 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0141] The device 600 may include one or more of the following components: a processing component 601, a memory 602, a power component 603, a multimedia component 604, an audio component 605, an input / output (I / O) interface 606, a sensor component 607, and a communication component 608.
[0142] The processing component 601 generally controls the overall operation of the device 600, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 601 may include one or more processors 609 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 601 may include one or more modules to facilitate the interaction between the processing component 601 and other components. For example, the processing component 601 may include a multimedia module to facilitate the interaction between the multimedia component 604 and the processing component 601.
[0143] The memory 602 is configured to store various types of data to support the operation of the device 600. Examples of these data include instructions for any application or method operating on the device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 602 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0144] The power component 603 supplies power to various components of the device 600. The power component 603 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 600.
[0145] The multimedia component 604 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 604 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0146] The audio component 605 is configured to output and / or input audio signals. For example, the audio component 605 includes a microphone (MIC) that is configured to receive external audio signals when the device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 602 or transmitted via the communication component 608. In some embodiments, the audio component 605 further includes a speaker for outputting audio signals.
[0147] The I / O interface 606 provides an interface between the processing component 601 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.
[0148] The sensor assembly 607 includes one or more sensors for providing a status assessment of various aspects of the device 600. For example, the sensor assembly 607 can detect the on / off state of the device 600, the relative positioning of components, such as the display and keypad of the device 600. The sensor assembly 607 can also detect a change in the position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration / deceleration of the device 600, and the temperature change of the device 600. The sensor assembly 607 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 607 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 607 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0149] The communication component 608 is configured to facilitate communication between the device 600 and other devices in a wired or wireless manner. The device 600 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 608 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 608 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0150] In an exemplary embodiment, the device 600 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the parameter reporting method of the above computer device.
[0151] In a fourth aspect, in an exemplary embodiment of the present disclosure, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 602 including instructions, and the above instructions can be executed by a processor 609 of the device 600 to complete the parameter reporting method of the above computer device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0152] The specific embodiments of the present disclosure have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0153] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not claimed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0154] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the figures, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
[0155] The foregoing is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included within the scope of protection of the present disclosure.
Claims
1. A parameter reporting method, characterized in that, Including: In response to the parameter announcement function being triggered, determining at least one first parameter indicated by the trigger condition of the parameter announcement function; Generating and announcing the first announcement audio according to the motion state quantity characterized by the at least one first parameter.
2. The parameter reporting method according to claim 1, characterized in that, The step of, in response to the parameter announcement function being triggered, determining at least one first parameter indicated by the trigger condition of the parameter announcement function includes: In response to identifying the end of a motion cycle, determining that the parameter announcement function is triggered, and determining that at least one first parameter indicated by the trigger condition of the parameter announcement function is a default parameter or a parameter determined in advance according to a user instruction.
3. The parameter reporting method according to claim 1, characterized in that, The step of, in response to the parameter announcement function being triggered, determining at least one first parameter indicated by the trigger condition of the parameter announcement function includes: In response to collecting first user speech, determining that the parameter announcement function is triggered, and determining at least one first parameter indicated by the first user speech.
4. The parameter reporting method according to claim 3, characterized in that, The step of determining at least one first parameter indicated by the first user speech includes: Based on the dynamic time warping (DTW) algorithm, determining, as at least one first parameter indicated by the first user speech, the parameters corresponding to the reference speech in the reference speech library whose matching degree with the first user speech is greater than or equal to a first threshold, where the reference speech library includes reference speech corresponding to at least one parameter.
5. The parameter reporting method according to claim 4, characterized in that, The method further includes: In response to receiving a voice input instruction, adding the collected second user speech as the reference speech corresponding to the parameter indicated by the voice input instruction to the reference speech library.
6. The parameter reporting method according to claim 4, characterized in that, The step of, based on the dynamic time warping (DTW) algorithm, determining at least one first reference speech in the reference speech library whose matching degree with the first user speech is greater than or equal to a first threshold includes: Based on the dynamic time warping (DTW) algorithm, matching the first user speech with at least one reference speech included in the reference speech library, and determining at least one first reference speech whose matching degree with the first user speech is greater than or equal to a first threshold.
7. The parameter reporting method according to claim 3, characterized in that, The method further includes: In response to receiving a user interaction instruction, starting to collect first user speech.
8. The parameter reporting method according to claim 7, characterized in that, The user interaction instruction includes at least one of the following: The position of the device executing the method moves along a preset trajectory; The attitude of the device executing the method changes along a preset trajectory; The device executing the method is slapped.
9. The parameter reporting method according to claim 1, characterized in that, The step of, according to the motion state quantity characterized by the at least one first parameter, generating and announcing the first announcement audio includes: Based on an offline speech library, generating a first announcement audio according to the at least one first parameter and the motion state quantity characterized by the at least one first parameter, and announcing the first announcement audio, where the offline speech library includes audio templates of at least one parameter.
10. A parameter reporting device, characterized in that, The apparatus includes: A parameter determination module, which, in response to the parameter announcement function being triggered, determines at least one first parameter indicated by the trigger condition of the parameter announcement function; A first audio announcement module, which is configured to generate and announce the first announcement audio according to the motion state quantity characterized by the at least one first parameter.
11. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. Among them, when the processor executes the program, it implements the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, characterized in that, When the program is executed by the processor, it implements the method according to any one of claims 1 to 9.