Voice memo method, related device, electronic equipment and storage medium
Voice signals are collected through headphones for voice recognition and role separation, and to-do event information is automatically extracted, which solves the problems of cumbersome memo operations and omissions in the existing technology, and achieves more efficient memo recording.
Patent Information
- Application Number
- CN202410641159.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-10-11
AI Technical Summary
Existing electronic memos require users to manually identify and enter to-do events, which suffers from cumbersome operations and omissions, making it difficult to improve the convenience and completeness of memo recording.
Collect voice signals through the earphones, perform voice recognition and role separation, extract to-do event information related to the wearer, and automatically configure memo records, so that automatic memo recording can be achieved by voice.
It improves the convenience and completeness of memo recording, reduces the need for manual entry, and enables more accurate event identification and recording based on context.
Smart Images

Figure CN118761753A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of voice processing technology, and in particular to a voice memo method and related devices, electronic equipment and storage medium. Background Art
[0002] In daily life and work, recording to-do events (such as meetings, shopping sprees, etc.) in electronic memos can greatly reduce the possibility of passively delaying the execution of events or even not executing events due to forgetfulness.
[0003] Currently, electronic memos are usually created by users actively identifying to-do events and manually entering them, which has the disadvantages of cumbersome entry operations or omissions. In view of this, how to improve the convenience and completeness of memo recording has become an urgent problem to be solved. Summary of the invention
[0004] The main technical problem solved by the present application is to provide a voice memo method and related devices, electronic devices and storage media, which can improve the convenience and completeness of memo recording.
[0005] In order to solve the above technical problems, the first aspect of the present application provides a voice memo method, comprising: obtaining a target text obtained by performing voice recognition and role separation on a target voice signal collected by an earphone; wherein the target text identifies the speaking text of each role in the target voice signal, and each role includes at least the wearer of the earphone; based on the target text, extracting event information related to the wearer's to-do events; based on the event information, configuring a target application for memo recording.
[0006] In order to solve the above technical problems, the second aspect of the present application provides a voice memo method, including: collecting a target voice signal; sending the target voice signal to a terminal device; wherein the terminal device is used to receive the target voice signal sent by the headset, and perform voice recognition and role separation on the target voice signal to obtain a target text, wherein the target text identifies the speaking text of each role in the target voice signal, each role at least includes the wearer of the headset, and based on the target text, extracts event information related to the wearer's to-do events, and then configures a target application for memo recording based on the event information.
[0007] In order to solve the above technical problems, the third aspect of the present application provides a voice memo method, including: receiving a target voice signal collected and sent by a headset; performing voice recognition and role separation on the target voice signal to obtain a target text; wherein the target text is identified with the speaking text of each role in the target voice signal, and each role includes at least the wearer of the headset; based on the target text, extracting event information related to the wearer's to-do events; based on the event information, configuring a target application for memo recording.
[0008] In order to solve the above-mentioned technical problems, the fourth aspect of the present application provides a voice memo device, including: an acquisition module, an extraction module and a configuration module, the acquisition module is used to acquire a target text obtained by performing speech recognition and role separation on a target voice signal collected by the headset; wherein the target text identifies the speaking text of each role in the target voice signal, and each role at least includes the wearer of the headset; the extraction module is used to extract event information related to the wearer's to-do events based on the target text; the configuration module is used to configure a target application for memo recording based on the event information.
[0009] In order to solve the above technical problems, the fifth aspect of the present application provides a voice memo device, including: an acquisition module and a sending module, the acquisition module is used to acquire the target voice signal; the sending module is used to send the target voice signal to a terminal device; wherein the terminal device is used to receive the target voice signal sent by the headset, and perform voice recognition and role separation on the target voice signal to obtain a target text, the target text is identified with the speaking text of each role in the target voice signal, each role at least includes the wearer of the headset, and based on the target text, event information related to the wearer's to-do events is extracted, and then based on the event information, a target application for memo recording is configured.
[0010] In order to solve the above technical problems, the sixth aspect of the present application provides a voice memo device, including: a receiving module, a processing module, an extraction module and a configuration module, the receiving module is used to receive the target voice signal collected and sent by the headset; the processing module is used to perform voice recognition and role separation on the target voice signal to obtain a target text; wherein the target text is identified by the speaking text of each role in the target voice signal, and each role at least includes the wearer of the headset; the extraction module is used to extract event information related to the wearer's to-do events based on the target text; the configuration module is used to configure a target application for memo recording based on the event information.
[0011] In order to solve the above technical problems, the seventh aspect of the present application provides an electronic device, which at least includes a memory and a processor coupled to each other, the memory stores program instructions, and the processor is used to execute the program instructions to implement the above voice memo method.
[0012] In order to solve the above technical problems, the eighth aspect of the present application provides a computer-readable storage medium storing program instructions that can be executed by a processor, and the program instructions are used to implement the above voice memo method.
[0013] The above scheme performs speech recognition and character separation on the target speech signal collected by the headset to obtain the target text, and the target text is marked with the speech text of each character in the target speech signal, and each character at least includes the wearer of the headset, and based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording. Moreover, since the target text is marked with the speech text of each character, event recognition can be performed as much as possible in combination with the context of the wearer's speech, thereby improving the completeness of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a flowchart of an embodiment of the voice memo method of the present application; Figure 2 It is a flowchart of another embodiment of the voice memo method of the present application; Figure 3 It is a flowchart of another embodiment of the voice memo method of the present application; Figure 4 It is a schematic diagram of the framework of an embodiment of the voice memo device of the present application; Figure 5 It is a schematic diagram of the framework of another embodiment of the voice memo device of the present application; Figure 6 It is a schematic diagram of the framework of another embodiment of the voice memo device of the present application; Figure 7 It is a schematic diagram of the framework of an embodiment of the electronic device of the present application; Figure 8 It is a schematic diagram of a framework of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0015] The scheme of the embodiment of the present application is described in detail below in conjunction with the drawings of the specification.
[0016] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures, interfaces, and technologies are provided to facilitate a thorough understanding of the present application.
[0017] The terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the fragment " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. In addition, "many" in this article means two or more than two.
[0018] See also Figure 1 , Figure 1 It is a flow chart of an embodiment of the voice memo method of the present application. It should be noted that the process steps in the embodiment of the present disclosure can be executed by an electronic device, and the electronic device can be a headset such as a Bluetooth headset, a hearing aid, or a terminal device such as a mobile phone, a tablet computer, etc., which is not limited here. The electronic device can at least be integrated with a processor and a memory to realize audio data processing. Of course, headsets such as Bluetooth headsets and hearing aids can be further integrated with components such as a microphone, an analog-to-digital converter, a digital-to-analog converter, a digital signal processor, and a speaker. Based on this, the analog signal can be collected by a microphone, and then converted into a digital signal by an analog-to-digital converter, and transmitted to a digital signal processor to process the voice signal. For details, please refer to the technical principle of the headset, which will not be repeated here. Specifically, the embodiment of the present disclosure may include the following steps: Step S11: obtaining a target text obtained by performing speech recognition and character separation on a target speech signal collected by the earphone.
[0019] In the disclosed embodiment, the target text is identified with the speech text of each character in the target voice signal, and each character at least includes the wearer of the headset. Exemplarily, after performing voice recognition and role separation on the target voice signal, the target text can be obtained, including but not limited to: Subject A "Take one pill of this medicine A every morning", the wearer "OK"; or, Subject B "How about we go to the park for a stroll tomorrow morning?", the wearer "Okay, Lao Zhang, 7 o'clock", Subject B "Okay, it's settled!"; or, the wearer "Are we going to the vegetable market at 2 o'clock in the afternoon? I heard it's going to rain in the afternoon", Subject C "Yes, then we have to remember to bring an umbrella when we go out in the afternoon". Of course, the above examples are only a few possible examples in actual application, and the specific content of the target text is not limited thereto.
[0020] In one implementation scenario, in response to the headset collecting the wearer's first voice signal, the correlation between the second voice signal before and / or after the first voice signal and the first voice signal can be obtained, and then based on the correlation of the second voice signal, it is determined whether to select the second voice signal to form a target voice signal with the first voice signal. In the above method, by measuring the correlation between the second voice signal and the first voice signal, it is determined whether to select the second voice signal to form a target voice signal with the first voice signal, and when the wearer's voice is collected, the context voice signal related to it can be obtained as much as possible, which helps to improve the accuracy of subsequent extraction of to-do events and minimize the possibility of missed extraction.
[0021] In a specific implementation scenario, when the first voice signal of the wearer is collected, only the correlation between the second voice signal before it and the second voice signal can be obtained, or only the correlation between the second voice signal after it and the second voice signal can be obtained, or the correlation between the second voice signal before it and the second voice signal after it and the second voice signal can be obtained at the same time, which is not limited here. Still taking the above example, when the wearer's first voice signal "OK" is collected, the correlation between the second voice signal before it "Take one pill of this medicine A every morning" and the second voice signal can be obtained; or, when the wearer's first voice signal "Do we still have to go to the vegetable market at 2 o'clock in the afternoon? I heard it will rain in the afternoon" is collected, the correlation between the second voice signal after it "Yes, we must remember to bring an umbrella when we go out in the afternoon" and the second voice signal can be obtained; or, when the wearer's first voice signal "Okay, Lao Zhang, 7 o'clock" is collected, the correlation between the second voice signal before it "How about we go to the park tomorrow morning?" and the second voice signal after it "Okay, it's settled!" and the second voice signal can be obtained. Of course, the above examples are only several possible examples in the actual application process, and do not limit the specific scope of the second voice signal that measures the correlation with the first voice signal. It should be noted that the second voice signal before the first voice signal is not limited to the previous voice signal of the first voice signal, but can also be two, three, or more than three voice signals before the first voice signal; similarly, the second voice signal after the first voice signal is not limited to the next voice signal of the first voice signal, but can also be two, three, or more than three voice signals after the first voice signal.
[0022] In a specific implementation scenario, the correlation between the first voice signal and the second voice signal may include but is not limited to: semantic correlation, topic correlation, emotional correlation, etc., which are not limited here. Taking semantic correlation as an example, the first semantic feature of the first voice signal can be extracted, and the second semantic feature of the second voice signal can be extracted, so that the first semantic feature and the second semantic feature can be measured based on cosine similarity and other metrics to obtain the correlation between the first voice signal and the second voice signal. Other situations can be deduced by analogy, and the specific process of using topic correlation and emotional correlation to measure the correlation between the first voice signal and the second voice signal will not be repeated here. Of course, the correlation between the first voice signal and the second voice signal can also be obtained by fusing multiple correlations such as semantic correlation, topic correlation, emotional correlation, etc.
[0023] In a specific implementation scenario, after obtaining the correlation between each second voice signal and the first voice signal, it can be determined whether the correlation corresponding to each second voice signal is greater than a preset threshold. If so, the second voice signal can be selected, otherwise, the second voice signal can be not selected. On this basis, the first voice signal and the selected second voice signal can be combined in time sequence to obtain a target voice signal. Exemplarily, still taking the above example as an example, the target voice signal may include: "Take one pill of this medicine A every morning", "OK"; or, the target voice signal may include: "How about we go to the park tomorrow morning?", "Okay, Lao Zhang, 7 o'clock", "Okay, that's settled!"; or, the target voice signal may include: "Are we going to the vegetable market at 2 o'clock in the afternoon? I heard it will rain in the afternoon", "If we are going, we must remember to bring an umbrella when we go out in the afternoon". Of course, the above examples are only several possible examples of target voice signals in actual applications, and do not limit the specific content of the target voice signal.
[0024] In an implementation scenario, after obtaining the target speech signal, the target speech signal can be recognized by a speech engine such as open seq2seq. At the same time, during the recognition process, the role can be distinguished according to the voiceprint to obtain the target text marked with the speech text of each role. It should be noted that the specific process of speech recognition can refer to the technical details of speech engines such as open seq2seq, and the specific process of role separation can refer to the technical details of voiceprints, which will not be repeated here. Taking the above example, the target text may include: object A "Take one pill of this medicine A every morning", the wearer "OK"; or, the target text may include: object B "How about we go to the park tomorrow morning?", the wearer "Okay, Lao Zhang, 7 o'clock", object B "Okay, that's settled!"; or, the target text may include: the wearer "Are we going to the vegetable market at 2 o'clock in the afternoon? I heard it will rain in the afternoon", object C "Yes, then we have to remember to bring an umbrella when we go out in the afternoon". Of course, the above examples are only several possible examples of target texts in actual applications, and do not limit the specific content of the target text.
[0025] Step S12: Based on the target text, extract event information related to the wearer's to-do events.
[0026] In an implementation scenario, the event extraction model can be pre-trained, and several event parameters (i.e., "slots") related to pending events can be pre-defined during the training process, and then sample information labeled with various event parameters can be obtained, so that the event extraction model can be used to extract slots from the sample text to predict the parameter information of each event parameter in the sample text, and then the network parameters of the event extraction model can be adjusted based on the difference between the sample information labeled with the same event parameters and the predicted parameter information, until the event extraction model training converges. On this basis, the event extraction model with converged training can be used to extract slots from the target text to predict the parameter information of each event parameter in the target text, and the event information of the pending events can be combined. Exemplarily, several event parameters can include, but are not limited to: the execution time of the pending event, the event content of the pending event, the execution location of the pending event, etc., and the specific types of event parameters are not limited here.
[0027] In another implementation scenario, different from the aforementioned implementation, as another possible implementation, a prompt text can also be obtained based on the event parameters related to the pending event, and the prompt text is used to instruct the wearer to extract parameter information about the event parameters, and then the prompt text and the target text are input into the large language model, and the parameter information extracted by the large language model for each event parameter in the target text is obtained to obtain the event information. The above method, by constructing a prompt text and using the prompt text to instruct the large language model to understand the target text to extract the event information, can improve the accuracy of information extraction as much as possible with the help of the general understanding ability of the large language model.
[0028] In a specific implementation scenario, the large language model may include but is not limited to: open source large models such as LLAMA and Bloom, or, based on personalized usage scenarios, the parameters of the open source large model can be fine-tuned using the training set to obtain a customized large model. The specific selection of the large language model is not limited here.
[0029] In a specific implementation scenario, taking several event parameters including the execution time of the pending event and the event content of the pending event as an example, the following prompt text can be constructed: Please act as my personal butler and help me extract the to-do items from the given text and convert the to-do items into the following Output in json format [{"execTime": $execTime, "content": $content}], where execTime is the execution time. The row time is a string of yyyy-MM-dd HH:mm:SS, and content is the event content. The given text is as follows [target text] Of course, the above example is only a possible example of the prompt text, and does not limit the specific content of the prompt text. For example, the event parameter can further include the operation type of the pending event, and the operation type represents event addition, event deletion, event modification, event query, etc., then the following prompt text can be constructed: Please act as my personal butler and help me extract the to-do items from the given text and convert the to-do items into the following The json format output is [{"execTime": $execTime, "content": $content},"opt": $opt], where execTime is the execution time, which is a string of yyyy-MM-dd HH:mm:SS; content is the event content; opt is the operation type Type, can be set to event addition, event deletion, event modification, event query. Given the text as follows [target text] The above examples are possible examples of the specific content of the prompt text under two different possible situations of event parameters in the actual application process. Other situations can be deduced by analogy, and no examples are given one by one here.
[0030] In a specific implementation scenario, take the target text including the following content as an example: Object A "Take one pill of this medicine A every morning", wearer "OK", the prompt text and the target text can be spliced and sent to the large language model to obtain the parameter information extracted by the large language model for each event parameter, such as the parameter information "morning" extracted for the event parameter "execution time", and the parameter information "take one pill of medicine A" extracted for the event parameter "event content". Of course, some event parameters can further include operation type, number of operations, etc. The operation type represents event addition, event deletion, event modification, event query, etc., and the number of operations represents single execution, batch execution, etc. In this case, the target text can also extract the parameter information "event added" of the event parameter "operation type" and the parameter information "batch execution" of the event parameter "number of operations"; or, taking the target text including the following content as an example: Object B "How about we go to the park for a stroll tomorrow morning?", the wearer "Okay, Lao Zhang, 7 o'clock", Object B "Okay, it's settled!", the prompt text and the target text can be concatenated and sent to the large language model to obtain the parameter information extracted by the large language model for each event parameter, such as the parameter information "7 o'clock tomorrow morning" extracted for the event parameter "execution time", the parameter information "Go to the park with Lao Zhang" extracted for the event parameter "event content", and the parameter information "Operation type" extracted for the event parameter Parameter information "new event", parameter information "single execution" of event parameter "number of operations"; or, taking the target text including the following content as an example: wearer "Are we going to the vegetable market at 2 pm? I heard it will rain in the afternoon", object C "Yes, then we must remember to bring an umbrella when we go out in the afternoon", the prompt text and the target text can be sent to the large language model to obtain the parameter information extracted by the large language model for each event parameter, such as parameter information "two o'clock in the afternoon" extracted for the event parameter "execution time", parameter information "bring an umbrella to the vegetable market" extracted for the event parameter "event content", parameter information "new event" extracted for the event parameter "operation type", and parameter information "single execution" extracted for the event parameter "number of operations". Of course, the above examples are only possible examples of extracting event information from several target texts in actual applications. When the target text contains other content, it can be deduced by analogy, and no examples are given here one by one.
[0031] Step S13: Based on the event information, configure a target application for memo recording.
[0032] It should be noted that the target application may be an application with a memo function, or the target application may be an application for editing plain text. That is, in the embodiment of the present disclosure, the target application only needs to be able to record memos, and whether the target application has other functions is not limited.
[0033] In an implementation scenario, as mentioned above, the event information may specifically include the parameter information of the wearer regarding several event parameters, and the several event parameters may include the operation type of the to-do event and at least one element parameter indicating the execution of the to-do event, such as the execution time, event content, execution location, etc. On this basis, the parameter information of the element parameter may be configured in the target application based on the parameter information of the operation type. The above method, according to the parameter information of the operation type, is configured in the target application through the parameter information of the element parameter, which can maximize the accuracy of the memo configuration in the target application.
[0034] In a specific implementation scenario, when the parameter information of the operation type is event addition, the first event can be added to the target application, and the parameter information of the first event is consistent with that of the element parameter. Exemplarily, taking the target text "Remind me to take a pill of medicine B at 12 noon today" as an example, its operation type is "event addition", the parameter information of the element parameter "execution time" is "12 noon today", and the parameter information of the element parameter "event content" is "take a pill of medicine B", then the first event can be added to the target application, and its "execution time" is "12 noon today", and its "event content" is "take a pill of medicine B". Other situations can be inferred from this, and examples are not given one by one here. In the above manner, when the parameter information of the operation type is event addition, a first event is added to the target application, and the parameter information of the first event is consistent with that of the element parameter, which can improve the accuracy of the newly added to-do events.
[0035] In a specific implementation scenario, when the parameter information of the operation type is event deletion, the second event can be deleted from the existing events in the target application, and the parameter information of the second event is consistent with that of the element parameter. For example, taking the target text "XX meeting originally scheduled for 9 am tomorrow has been temporarily cancelled, don't remind me tomorrow" as an example, the operation type is "event deletion", the parameter information of the element parameter "execution time" is "9 am tomorrow", and the parameter information of the element parameter "event content" is "XX meeting", then the second event with "execution time" of "9 am tomorrow" and "event content" of "XX meeting" can be deleted from each existing event in the target application. Other situations can be inferred from this, and examples are not given one by one here. In the above manner, when the parameter information of the operation type is event deletion, the second event is deleted from each existing event in the target application, and the parameter information of the second event is consistent with that of the element parameter, which can improve the accuracy of deleting pending events.
[0036] In a specific implementation scenario, when the parameter information of the operation type is event modification, the event information may specifically include the first information before the element parameter is modified and the second information after the modification. Taking the target text "XX meeting originally scheduled for 9 am tomorrow is changed to 2 pm tomorrow, don't remind me in the morning, remind me in the afternoon" as an example, the event information may include the first information "9 am tomorrow" before the element parameter "execution time" is modified and the second information "2 pm tomorrow" after the modification, and the first information "XX meeting" before the element parameter "event content" is modified and the second information "XX meeting" after the modification. Of course, the above example is only a possible example in the actual application process, and does not limit the specific content of the first information and the second information. On this basis, the third event can be modified in each existing event in the target application, and the third event is consistent with the first information before modification and consistent with the second information after modification. Still taking the above example as an example, the third event with "execution time" as "9 am tomorrow" and "event content" as "XX meeting" can be modified in each existing event in the target application, and its "execution time" is modified to "2 pm tomorrow". Other situations can be inferred from the same, and no examples are given here one by one. In the above method, when the parameter information of the operation type is event modification, the event information includes the first information before the element parameter is modified and the second information after the modification. Based on this, the third event is modified in each existing event in the target application, and the third event is consistent with the first information before modification, and the third event is consistent with the second information after modification, which can improve the accuracy of modifying pending events.
[0037] In a specific implementation scenario, when the event information of the operation type is event query, the fourth event can be queried in each existing event in the target application, and the fourth event is consistent with the parameter information of the element parameter, and then speech synthesis is performed based on the fourth event to obtain the first prompt audio, and the first prompt audio is used to play to prompt the wearer of the fourth event. Exemplarily, taking the target text "Remind me what meetings are currently scheduled at 9 am tomorrow" as an example, its operation type is "event query", the parameter information of its element parameter "execution time" is "9 am tomorrow", and the parameter information of its element parameter "event content" is "meeting", then the fourth event with "execution time" of "9 am tomorrow" and "event content" of "meeting" can be queried in each existing event in the target application, such as "XX meeting at 9 am tomorrow", and then speech synthesis is performed based on this to obtain the first prompt audio, such as "You have scheduled XX meeting at 9 am tomorrow". Of course, if the fourth event is not queried, a default prompt audio (such as "You have no event scheduled at 9 am tomorrow") can also be generated for playing to prompt the wearer that there is no fourth event that meets the conditions. Other situations can be deduced by analogy, and no more examples are given here. In the above method, when the event information of the operation type is event query, the fourth event is queried in each existing event in the target application, and the parameter information of the fourth event is consistent with the parameter of the element parameter, and then speech synthesis is performed based on the fourth event to obtain the first prompt audio, and the first prompt audio is used to play to prompt the wearer of the fourth event, which can improve the accuracy of querying pending events as much as possible.
[0038] In a specific implementation scenario, as mentioned above, several event parameters also include the number of operations of the to-do event, and the parameter information of the number of operations represents either a single operation or a batch operation. On this basis, it is possible to further configure in the target application according to the parameter information of the number of operations through the parameter information of the element parameters based on the parameter information of the operation type. Exemplarily, taking the target text "Remind me to take a pill of medicine B at 12 noon today" as an example, its operation type is "New event", the number of operations is "Single operation", the parameter information of the element parameter "Execution time" is "12 noon today", and the parameter information of the element parameter "Event content" is "Take a pill of medicine B", then a single operation to-do event can be added to the target application, and its "Execution time" is only "12 noon today", and its "Event content" is "Take a pill of medicine B"; or, taking the target text "Remind me to take a pill of medicine B at 12 noon every day" as an example, Its operation type is "adding an event", the number of operations is "batch operation", the parameter information of the element parameter "execution time" is "12 noon today", and the parameter information of the element parameter "event content" is "take a pill of medicine B". Then, a batch operation to-do event can be added to the target application, and its "execution time" is "12 noon every day", and its "event content" is "take a pill of medicine B". Taking the target application as a memo as an example, a to-do event with an "execution time" of "12 noon" and an "event content" of "take a pill of medicine B" can be created in the daily schedule of the memo. Other situations can be deduced by analogy, and examples are not given one by one here. In the above method, several event parameters also include the number of operations of the to-do event, and the parameter information of the number of operations represents either a single operation or a batch operation. Based on the parameter information of the operation type, the parameter information of the element parameter is configured in the target application according to the parameter information of the number of operations, which can further improve the accuracy of the voice memo.
[0039] In one implementation scenario, after configuring the target application for memo recording based on the event information, a second prompt audio may be generated based on the configuration result of the target application, and the second prompt audio is played to prompt the wearer to confirm whether the configuration result is correct. In the above manner, after the configuration is completed, a second prompt audio is generated to prompt the wearer to confirm whether the configuration result is correct, which helps to improve the configuration accuracy of the target application as much as possible.
[0040] In a specific implementation scenario, after generating the second prompt audio, the current audio activity information of the headset can be obtained, such as the current audio activity information may include but is not limited to: the wearer is not speaking, the wearer is speaking, other people other than the wearer are speaking, other people other than the wearer are not speaking, etc. Then, based on the current audio activity information, the predicted audio activity information within the preset time period in the future can be obtained, such as the predicted audio activity information may include but is not limited to: the wearer is not speaking, the wearer is speaking, other people other than the wearer are speaking, other people other than the wearer are not speaking, etc. It should be noted that the preset time period may not be shorter than the sum of the time required to play the second prompt audio and the time required for the wearer to confirm the configuration result. On this basis, it can be determined whether to play the second prompt audio based on the predicted audio activity information. If confirmed, the second prompt audio can be played immediately, otherwise the aforementioned step of obtaining the current audio activity information of the headset can be returned. Specifically, taking the headset as a hearing aid as an example, if the predicted audio activity information includes that the wearer is not speaking and other people other than the wearer are not speaking, it can be determined to play the second prompt audio, otherwise, it can be determined not to play the second prompt audio for the time being. Of course, when the headset is a device other than a hearing aid, the specific content of the predicted audio activity information that triggers immediate playback or temporary non-playing of the second prompt audio can be customized according to the specific usage scenario, and examples are not given here one by one. In the above method, the predicted audio activity information within a preset time period in the future is obtained through the current audio activity information, so as to determine whether to play the second prompt audio based on the predicted audio activity information, which can avoid the impact of the playing of the second prompt audio on the wearer's normal listening as much as possible, so as to ensure that the wearer uses the headset normally as much as possible.
[0041] In a specific implementation scenario, still taking the target text "Remind me to take a pill of medicine B at 12 noon today" as an example, as mentioned above, based on this, a new first event is added to the target application, and its "execution time" is "12 noon today", and its "event content" is "take a pill of medicine B", then a second prompt audio can be generated "A new to-do event has been added, the execution time is 12 noon today, and the event content is to take a pill of medicine B, please confirm whether it is correct". Of course, the specific content of the second prompt audio can be set according to actual needs, and the specific content of the second prompt audio is not limited here. In addition, when the target text is other text with "operation type" as "event addition", the specific content of the second prompt audio can be deduced by analogy, and examples will not be given one by one here.
[0042] In a specific implementation scenario, still taking the target text "XX meeting originally scheduled for 9 am tomorrow has been temporarily cancelled, don't remind me tomorrow" as an example, as mentioned above, based on this, the second event with "execution time" of "tomorrow morning 9 am" and "event content" of "XX meeting" is deleted from each existing event in the target application, and then a second prompt audio "The to-do event has been deleted, the execution time is today's morning 9 o'clock, and the event content is XX meeting, please confirm if it is correct" can be generated. Of course, the specific content of the second prompt audio can be set according to actual needs, and the specific content of the second prompt audio is not limited here. In addition, when the target text is other text with "operation type" of "event deletion", the specific content of the second prompt audio can be deduced by analogy, and examples will not be given one by one here.
[0043] In a specific implementation scenario, take the target text "XX meeting originally scheduled for tomorrow morning at 9 o'clock is changed to tomorrow afternoon at 2 o'clock. Don't remind me in the morning, remind me in the afternoon" as an example. As mentioned above, based on this, in each existing event in the target application, modify the "execution time" to "tomorrow morning at 9 o'clock" and the "event content" to "XX meeting" of the third event, and modify its "execution time" to "tomorrow afternoon at 2 o'clock". Then, you can generate a second prompt audio "The to-do event has been modified. The execution time has been changed from tomorrow morning at 9 o'clock to tomorrow afternoon at 2 o'clock. The event content remains unchanged as XX meeting. Please confirm whether it is correct." Of course, the specific content of the second prompt audio can be set according to actual needs, and the specific content of the second prompt audio is not limited here. In addition, when the target text is other text with "operation type" as "event deletion", the specific content of the second prompt audio can be deduced by analogy, and examples will not be given one by one here.
[0044] In one implementation scenario, after configuring the target application for memo recording based on event information, a third prompt audio may be generated, and the third prompt audio is used to play to prompt the wearer to execute the target event. In response to the wearer's feedback instruction to the third prompt audio, the target event in the target application may be reset based on the feedback instruction, and the reset operation includes: marking as executed, delaying the execution time, and marking as canceling the execution. In the above manner, after prompting the wearer to execute the target event through audio, the target event in the target application is reset according to the wearer's feedback instruction, which can improve the accuracy of the memo configuration.
[0045] In a specific implementation scenario, for any existing event in the target application, it can be detected whether the current moment reaches the target moment of the preset time (such as 1 minute, 5 minutes, 15 minutes, etc.) before the execution time of the existing event. If it has reached the target moment, the existing event can be used as the target event, and the third prompt audio of the target event is generated and played; or, as mentioned above, some target texts do not specify the specific execution time, such as the execution time is a coarse-grained time such as "morning", "morning", "afternoon", etc., then for such existing events, it can be detected whether the current tense has switched to the tense indicated by the "execution time" of such time. If the execution time is "morning", it can be detected whether the current tense is switched from "morning" to "morning", and if the execution time is "noon", it can be detected whether the current tense is switched from "morning" to "noon", and if so, it can be used as the target event, and the third prompt audio of the target event is generated and played. Of course, the above examples are only several possible examples of the generation and playback timing of the third prompt audio in the actual application process, and other possible situations are not limited thereto.
[0046] In a specific implementation scenario, taking the target text "Remind me to take a pill of medicine B at 12 noon today" as an example, the second reminder audio may include but is not limited to "Remember to take a pill of medicine B at 12 noon"; or taking the target text "The XX meeting originally scheduled at 9 am tomorrow is changed to 2 pm tomorrow, don't remind me in the morning, remind me in the afternoon" as an example, the second reminder audio may include but is not limited to "Don't forget the XX meeting at 2 pm". Other situations can be deduced by analogy, and no examples are given here one by one.
[0047] In a specific implementation scenario, the feedback instruction can be issued by the wearer in the form of voice. For example, the wearer can say the following feedback instructions by voice: "Okay, I know", "Remind me again in an hour", "No need", etc., and the specific content of the feedback instruction in voice form is not limited here. Alternatively, the feedback instruction can be issued by the wearer in the form of a key. For example, electronic devices such as headphones and terminal devices can be provided with physical or virtual keys, and different feedback instructions can be expressed in the form of short pressing keys, long pressing keys, and continuous multiple clicks of keys. For example, a short press of a key can indicate confirmation of execution, a long press of a key can indicate delayed execution, and continuous multiple clicks of a key can indicate cancellation of execution. Alternatively, the feedback instruction can also be obtained by sensing the posture information of the wearer after playing the third prompt audio. For example, if the posture information of the wearer nodding is sensed, the feedback instruction can be confirmed to indicate confirmation of execution, and if the posture information of the wearer shaking his head is sensed, the feedback instruction can be confirmed to indicate cancellation of the instruction, etc. The above examples are only several ways of issuing feedback instructions in actual application, and the specific way in which the wearer issues feedback instructions is not limited here.
[0048] In a specific implementation scenario, taking the feedback instruction issued by the wearer in voice form as an example, the feedback instruction in voice form can be recognized and semantically understood to confirm the target intention of the feedback instruction, such as confirming execution, canceling execution, delaying execution, etc., and based on the target intention expressed by the feedback instruction, the target event in the target application is reset. For example, if the target intention indicates confirmation of execution, the target event in the target application can be marked as executed, or, if the target intention indicates cancellation of execution, the target event in the target application can be marked as canceled, or, if the target intention indicates delayed execution, the execution time of the target event in the target application can be delayed. If the feedback instruction is issued in other forms, the reset operation can be performed on the target event in the target application by analogy, and examples are not given one by one here.
[0049] It should be noted that the above-mentioned first prompt audio, second prompt audio and third prompt audio can be pre-recorded or generated instantly by a large language model or other speech synthesis methods, which is not limited here.
[0050] The above scheme performs speech recognition and character separation on the target speech signal collected by the headset to obtain the target text, and the target text is marked with the speech text of each character in the target speech signal, and each character at least includes the wearer of the headset, and based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording. Moreover, since the target text is marked with the speech text of each character, event recognition can be performed as much as possible in combination with the context of the wearer's speech, thereby improving the completeness of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved.
[0051] See also Figure 2 , Figure 2 This is a flow chart of another embodiment of the voice memo method of the present application. It should be noted that the process steps in the embodiment of the present disclosure can be specifically executed by the headset. Specifically, the following steps can be included: Step S21: Collect target speech signals.
[0052] Specifically, the method for acquiring the target voice signal can refer to the relevant description in the aforementioned public embodiment, which will not be repeated here. It should be noted that when the hardware resources such as headset computing resources and storage resources are insufficient, the headset can also be responsible for collecting analog signals only, and performing analog-to-digital conversion to obtain digital signals, and the digital signal processor processes the digital signal, and transmits the processed digital signal to the terminal device instantly or every period of time through wireless communication methods such as Bluetooth, so that the terminal device can use its hardware resources to process it in the relevant manner in the aforementioned public embodiment to obtain the target voice signal. Of course, the above two methods are only possible examples of obtaining the target voice signal in actual application, which can be based on actual conditions and are not limited here.
[0053] Step S22: Send the target voice signal to the terminal device.
[0054] In the disclosed embodiment, the terminal device is used to receive a target voice signal sent by the headset, and perform voice recognition and role separation on the target voice signal to obtain a target text, wherein the target text identifies the speaking text of each character in the target voice signal, each character at least including the wearer of the headset, and based on the target text, extracts event information related to the wearer's to-do events, and then configures a target application for memo recording based on the event information. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here.
[0055] In an implementation scenario, when the event information of the operation type is an event query, the terminal device can query the fourth event in each existing event in its target application, and the parameter information of the fourth event is consistent with the parameter of the element parameter, and perform speech synthesis based on the fourth event to obtain the first prompt audio. The specific process can refer to the relevant description in the aforementioned public embodiment, which will not be repeated here. On this basis, the terminal device can send the first prompt audio to the headset, and after receiving the first prompt audio, the headset can play the first prompt audio to prompt the wearer of the fourth event.
[0056] In one implementation scenario, after the terminal device configures the target application for memo recording based on the event information, it can generate a second prompt audio based on the configuration result of the target application to prompt the wearer to confirm whether the configuration result is correct. The specific process can refer to the relevant description in the aforementioned public embodiment, which will not be repeated here. On this basis, the terminal device can send the second prompt audio to the headset, and the headset can play the second prompt audio after receiving the second prompt audio to prompt the wearer to confirm whether the configuration result is correct. Of course, after receiving the second prompt audio, the headset can also first obtain the current audio activity information of the headset, and then obtain the predicted audio activity information within the preset time in the future based on the current audio activity information. It should be noted that the preset time may not be shorter than the sum of the time required to play the second prompt audio and the time required for the wearer to confirm the configuration result. On this basis, it can be determined whether to play the second prompt audio based on the predicted audio activity information. If confirmed, the second prompt audio can be played immediately, otherwise it can return to the aforementioned step of obtaining the current audio activity information of the headset. The specific process can refer to the relevant description in the aforementioned public embodiment, which will not be repeated here.
[0057] In one implementation scenario, after configuring the target application for memo recording based on the event information, the terminal device can also generate a third prompt audio to prompt the wearer to execute the target event. On this basis, the terminal device can send the third prompt audio to the headset, and after receiving the third prompt audio, the headset can play the third prompt audio to prompt the wearer to execute the target event. Afterwards, the headset can respond to receiving the wearer's feedback instruction for the third prompt audio and forward the feedback instruction to the terminal device, so that the terminal device can reset the target event in the target application based on the feedback instruction, and the reset operation can specifically include: marking as executed, delaying the execution time, and marking as canceling the execution. For the specific process, please refer to the relevant description in the aforementioned public embodiment, which will not be repeated here.
[0058] The above scheme collects the target voice signal and then sends the target voice signal to the terminal device. The terminal device is used to receive the target voice signal sent by the headset, and performs voice recognition and role separation on the target voice signal to obtain the target text. The target text is marked with the speech text of each role in the target voice signal, and each role at least includes the wearer of the headset. Based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording, and since the target text is marked with the speech text of each role, it can be combined with the context of the wearer's speech as much as possible to perform event recognition, thereby improving the completeness of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved.
[0059] See also Figure 3 , Figure 3 This is a flow chart of another embodiment of the voice memo method of the present application. It should be noted that the process steps in the embodiment of the present disclosure can be specifically executed by a terminal device. Specifically, the following steps can be included: Step S31: receiving a target voice signal collected and sent by a headset.
[0060] For details, please refer to the relevant description in the aforementioned disclosed embodiments, which will not be repeated here.
[0061] Step S32: Perform speech recognition and character separation on the target speech signal to obtain the target text.
[0062] In the embodiment of the present disclosure, the target text identifier includes the speech text of each character in the target voice signal, and each character at least includes the wearer of the headset. For details, please refer to the relevant description in the aforementioned disclosed embodiment, which will not be repeated here.
[0063] Step S33: Based on the target text, extract event information related to the wearer's to-do events.
[0064] For details, please refer to the relevant description in the aforementioned disclosed embodiments, which will not be repeated here.
[0065] Step S34: Based on the event information, configure a target application for memo recording.
[0066] For details, please refer to the relevant description in the aforementioned disclosed embodiments, which will not be repeated here.
[0067] The above scheme receives the target voice signal collected and sent by the headset, and then performs voice recognition and role separation on the target voice signal to obtain the target text, and the target text is marked with the speech text of each character in the target voice signal, and each character at least includes the wearer of the headset, so that based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording, and since the target text is marked with the speech text of each character, event recognition can be performed as much as possible in combination with the context of the wearer's speech, thereby improving the completeness of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved.
[0068] See also Figure 4 , Figure 4It is a schematic diagram of the framework of an embodiment of a voice memo device 40 of the present application. The voice memo device 40 includes: an acquisition module 41, an extraction module 42 and a configuration module 43. The acquisition module 41 is used to acquire a target text obtained by performing speech recognition and role separation on a target voice signal collected by the headset; wherein the target text identifies the speech text of each role in the target voice signal, and each role at least includes the wearer of the headset; the extraction module 42 is used to extract event information related to the wearer's to-do events based on the target text; and the configuration module 43 is used to configure a target application for memo recording based on the event information.
[0069] In the above scheme, the voice memo device 40 performs voice recognition and character separation on the target voice signal collected by the headset to obtain the target text, and the target text is marked with the speech text of each character in the target voice signal, and each character at least includes the wearer of the headset, and based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording, and since the target text is marked with the speech text of each character, event recognition can be performed as much as possible in combination with the context of the wearer's speech, thereby improving the integrity of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved.
[0070] In some disclosed embodiments, the acquisition module 41 includes a correlation measurement submodule for acquiring the correlation between a second voice signal before and / or after the first voice signal and the first voice signal in response to the earphone collecting the wearer's first voice signal; the acquisition module 41 includes a voice combination submodule for determining whether to select the second voice signal based on the correlation of the second voice signal to form a target voice signal with the first voice signal.
[0071] In some disclosed embodiments, the extraction module 42 includes a prompt construction submodule, which is used to obtain a prompt text based on event parameters related to the to-do event; wherein the prompt text is used to instruct the extraction of parameter information of the wearer regarding the event parameters; the extraction module 42 includes a model processing submodule, which is used to input the prompt text and the target text into the large language model, and obtain the parameter information extracted by the large language model for each event parameter in the target text as event information.
[0072] In some disclosed embodiments, event information includes parameter information of the wearer regarding several event parameters, including the operation type of the to-do event and at least one element parameter indicating the execution of the to-do event. The configuration module 43 is specifically used to configure in the target application based on the parameter information of the operation type through the parameter information of the element parameter.
[0073] In some disclosed embodiments, the configuration module 43 includes an event adding submodule, which is used to add a first event in the target application when the parameter information of the operation type is event adding; wherein the first event is consistent with the parameter information of the element parameter; the configuration module 43 includes an event deleting submodule, which is used to delete a second event in each existing event in the target application when the parameter information of the operation type is event deletion; wherein the second event is consistent with the parameter information of the element parameter; when the parameter information of the operation type is event modification, the event information includes the first information before the element parameter is modified and the second information after the modification; the configuration module 43 includes an event modifying submodule, which is used to modify a third event in each existing event in the target application when the parameter information of the operation type is event modification; wherein the third event is consistent with the first information before modification, and is consistent with the second information after modification.
[0074] In some disclosed embodiments, the configuration module 43 includes an event query submodule, which is used to query the fourth event among the existing events in the target application when the event information of the operation type is an event query; wherein the fourth event is consistent with the parameter information of the element parameter; the voice memo device 40 includes a first synthesis module, which is used to perform voice synthesis based on the fourth event to obtain a first prompt audio after configuring in the target application through the parameter information of the element parameter based on the parameter information of the operation type; wherein the first prompt audio is used to play to prompt the wearer of the fourth event.
[0075] In some disclosed embodiments, several event parameters also include the number of operations of the pending event, and the parameter information of the number of operations represents any one of a single operation and a batch operation. The configuration module 43 is specifically used to configure in the target application according to the parameter information of the number of operations based on the parameter information of the operation type through the parameter information of the element parameters.
[0076] In some disclosed embodiments, the voice memo device 40 also includes a second synthesis module for generating a second prompt audio based on the configuration result of the target application; wherein the second prompt audio is played to prompt the wearer to confirm whether the configuration result is correct.
[0077] In some disclosed embodiments, the voice memo device 40 also includes a third synthesis module for generating a third prompt audio; wherein the third prompt audio is used to play to prompt the wearer to execute the target event; the voice memo device 40 also includes an event reset module for responding to the wearer's feedback instructions for the third prompt audio, and based on the feedback instructions, resetting the target event in the target application; wherein the reset operation includes: marking as executed, delaying the execution time, and marking as canceling the execution.
[0078] In some disclosed embodiments, the event information includes parameter information of the wearer regarding several event parameters, and the several event parameters also include at least one of the execution time of the pending event, the event content of the pending event, and the execution location of the pending event.
[0079] See also Figure 5 , Figure 5 It is a schematic diagram of the framework of an embodiment of a voice memo device 50 of the present application. The voice memo device 50 includes: a collection module 51 and a sending module 52, wherein the collection module 51 is used to collect the target voice signal; the sending module 52 is used to send the target voice signal to the terminal device; wherein the terminal device is used to receive the target voice signal sent by the headset, and perform voice recognition and role separation on the target voice signal to obtain the target text, the target text identifies the speech text of each role in the target voice signal, each role at least includes the wearer of the headset, and based on the target text, extracts event information related to the wearer's to-do events, and then configures the target application for memo recording based on the event information.
[0080] In the above scheme, the voice memo device 50 collects the target voice signal, and then sends the target voice signal to the terminal device. The terminal device is used to receive the target voice signal sent by the headset, and performs voice recognition and role separation on the target voice signal to obtain the target text. The target text is marked with the speech text of each role in the target voice signal, and each role at least includes the wearer of the headset. Based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording, and since the target text is marked with the speech text of each role, it can be combined with the context of the wearer's speech as much as possible to perform event recognition, thereby improving the completeness of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved.
[0081] See also Figure 6 , Figure 6 It is a schematic diagram of the framework of an embodiment of a voice memo device 60 of the present application. The voice memo device 60 includes: a receiving module 61, a processing module 62, an extraction module 63 and a configuration module 64. The receiving module 61 is used to receive the target voice signal collected and sent by the headset; the processing module 62 is used to perform voice recognition and role separation on the target voice signal to obtain a target text; wherein the target text is marked with the speech text of each role in the target voice signal, and each role at least includes the wearer of the headset; the extraction module 63 is used to extract event information related to the wearer's to-do events based on the target text; the configuration module 64 is used to configure the target application for memo recording based on the event information.
[0082] In the above scheme, the voice memo device 60 receives the target voice signal collected and sent by the headset, and then performs voice recognition and role separation on the target voice signal to obtain the target text, and the target text is marked with the speech text of each role in the target voice signal, and each role at least includes the wearer of the headset, so that based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording, and since the target text is marked with the speech text of each role, event recognition can be performed as much as possible in combination with the context of the wearer's speech, thereby improving the completeness of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved.
[0083] See also Figure 7 , Figure 7 : is a schematic diagram of a framework of an embodiment of an electronic device 70 of the present application. The electronic device 70 includes a memory 71 and a processor 72 coupled to each other, the memory 71 stores program instructions, and the processor 72 is used to execute the program instructions to implement the steps in any of the above-mentioned voice memo method embodiments. For details, please refer to the aforementioned disclosed embodiments, which will not be repeated here. The electronic device 70 may specifically include but is not limited to mobile phones, tablet computers, Bluetooth headsets, hearing aids, etc., and the specific type of the electronic device 70 is not limited here.
[0084] Specifically, the processor 72 is used to control itself and the memory 71 to implement the steps in any of the above-mentioned voice memo method embodiments. The processor 72 can also be called a CPU (Central Processing Unit). The processor 72 may be an integrated circuit chip with signal processing capabilities. The processor 72 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 72 can be implemented by an integrated circuit chip.
[0085] In the above scheme, the electronic device 70 performs speech recognition and character separation on the target voice signal collected by the headset to obtain the target text, and the target text is marked with the speech text of each character in the target voice signal, and each character at least includes the wearer of the headset, and based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording, and since the target text is marked with the speech text of each character, event recognition can be performed as much as possible in combination with the context of the wearer's speech, thereby improving the completeness of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved.
[0086] See also Figure 8 , Figure 8 1 is a schematic diagram of a framework of an embodiment of a computer-readable storage medium 80 of the present application. The computer-readable storage medium 80 stores program instructions 81 that can be executed by a processor, and the program instructions 81 are used to implement the steps in any of the above-mentioned voice memo method embodiments.
[0087] In the above scheme, the computer-readable storage medium 80 performs speech recognition and character separation on the target voice signal collected by the headset to obtain the target text, and the target text is marked with the speech text of each character in the target voice signal, and each character at least includes the wearer of the headset, and based on the target text, the event information related to the wearer's to-do events is extracted, and then based on the event information, the target application for memo recording is configured. Therefore, since automatic memo recording can be achieved through voice without manual recognition and entry, it helps to improve the convenience of memo recording, and since the target text is marked with the speech text of each character, event recognition can be performed as much as possible in combination with the context of the wearer's speech, thereby improving the integrity of the memo recording. Therefore, the convenience and completeness of the memo recording can be improved.
[0088] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0089] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0090] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or 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. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0091] 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 present embodiment.
[0092] In addition, each functional unit in each embodiment of the present application 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.
[0093] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0094] If the technical solution of this application involves personal information, the product using the technical solution of this application has clearly informed the personal information processing rules and obtained the individual's voluntary consent before processing the personal information. If the technical solution of this application involves sensitive personal information, the product using the technical solution of this application has obtained the individual's separate consent before processing the sensitive personal information, and at the same time meets the "explicit consent" requirement. For example, on personal information collection devices such as cameras, clear and prominent signs are set to inform that the personal information collection scope has been entered and personal information will be collected. If the individual voluntarily enters the collection scope, it is deemed that he or she agrees to the collection of his or her personal information; or on the device that processes personal information, the personal information processing rules are notified by obvious signs / information, and the individual's authorization is obtained through pop-up information or by asking the individual to upload his or her personal information; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the type of personal information processed.
Claims
1. A voice memo method, characterized in that: include: Acquire a target text obtained by performing speech recognition and character separation on a target speech signal collected by the headset; wherein the target text identifies the speech text of each character in the target speech signal, and each character at least includes the wearer of the headset; Based on the target text, extracting event information related to the wearer's to-do events; Based on the event information, a target application for memo recording is configured.
2. The method according to claim 1, characterized in that The step of obtaining a target text obtained by performing speech recognition and character separation on a target speech signal collected by an earphone includes: In response to the headset collecting a first voice signal of the wearer, obtaining a correlation between a second voice signal before and / or after the first voice signal and the first voice signal; Based on the correlation of the second speech signal, it is determined whether to select the second speech signal to form the target speech signal with the first speech signal.
3. The method according to claim 1, characterized in that The extracting event information related to the wearer's to-do events based on the target text includes: Based on the event parameters related to the to-do event, a prompt text is obtained; wherein the prompt text is used to instruct to extract parameter information of the wearer regarding the event parameters; The prompt text and the target text are input into a large language model, and parameter information extracted by the large language model for each event parameter in the target text is obtained as the event information.
4. The method according to claim 1, characterized in that: The event information includes parameter information of the wearer about several event parameters, the several event parameters include the operation type of the to-do event and at least one element parameter indicating the execution of the to-do event, and configuring a target application for memo recording based on the event information includes: Based on the parameter information of the operation type, configuration is performed in the target application through the parameter information of the element parameter.
5. The method according to claim 4, characterized in that In the case where the parameter information of the operation type is a new event, the configuration in the target application based on the parameter information of the operation type through the parameter information of the element parameter includes: Adding a first event in the target application; wherein the first event is consistent with parameter information of the element parameter; And / or, in a case where the parameter information of the operation type is event deletion, the configuration in the target application based on the parameter information of the operation type through the parameter information of the element parameter includes: Deleting a second event from among the existing events in the target application; wherein the second event is consistent with parameter information of the element parameter; And / or, in a case where the parameter information of the operation type is event modification, the event information includes first information before the element parameter is modified and second information after the modification, and the configuration in the target application based on the parameter information of the operation type through the parameter information of the element parameter includes: A third event is modified in each existing event in the target application; wherein the third event is consistent with the first information before modification, and is consistent with the second information after modification.
6. The method according to claim 4, characterized in that In a case where the event information of the operation type is an event query, the parameter information based on the operation type is configured in the target application through the parameter information of the element parameter, including: Searching for a fourth event in each existing event in the target application; wherein the parameter information of the fourth event is consistent with the parameter of the element; After configuring in the target application through the parameter information of the element parameter based on the parameter information of the operation type, the method further includes: Speech synthesis is performed based on the fourth event to obtain a first prompt audio; wherein the first prompt audio is used to play to prompt the wearer of the fourth event.
7. The method according to claim 4, characterized in that The several event parameters also include the number of operations of the pending event, and the parameter information of the number of operations represents any one of a single operation and a batch operation. The parameter information based on the operation type is configured in the target application through the parameter information of the element parameter, including: Based on the parameter information of the operation type, configuration is performed in the target application according to the parameter information of the operation times through the parameter information of the element parameter.
8. The method according to claim 1, characterized in that After configuring the target application for memo recording based on the event information, the method further includes: Based on the configuration result of the target application, a second prompt audio is generated; wherein the second prompt audio is used to play to prompt the wearer to confirm whether the configuration result is correct.
9. The method according to claim 1, characterized in that: After configuring the target application for memo recording based on the event information, the method further includes: Generate a third prompt audio; wherein the third prompt audio is used to play to prompt the wearer to perform a target event; In response to the wearer's feedback instruction to the third prompt audio, based on the feedback instruction, a reset operation is performed on the target event in the target application; wherein the reset operation includes: marking as executed, delaying the execution time, and marking as canceling the execution.
10. The method according to any one of claims 1 to 9, characterized in that: The event information includes parameter information of the wearer regarding several event parameters, and the several event parameters also include at least one of the execution time of the pending event, the event content of the pending event, and the execution location of the pending event.
11. A voice memo method, characterized in that: include: Collecting target voice signals; The target voice signal is sent to a terminal device; wherein the terminal device is used to receive the target voice signal sent by the headset, and perform voice recognition and role separation on the target voice signal to obtain a target text, wherein the target text is identified with the speaking text of each role in the target voice signal, wherein each role at least includes the wearer of the headset, and based on the target text, event information related to the to-do events of the wearer is extracted, and then based on the event information, a target application for memo recording is configured.
12. A voice memo method, characterized in that: include: Receive the target voice signal collected and sent by the headset; Performing speech recognition and character separation on the target speech signal to obtain a target text; wherein the target text is marked with the speech text of each character in the target speech signal, and the each character at least includes the wearer of the headset; Based on the target text, extracting event information related to the wearer's to-do events; Based on the event information, a target application for memo recording is configured.
13. A voice memo device, characterized in that: include: An acquisition module, used to acquire a target text obtained by performing speech recognition and character separation on a target speech signal collected by the headset; wherein the target text is identified with a speech text of each character in the target speech signal, and each character at least includes the wearer of the headset; An extraction module, configured to extract event information related to the wearer's to-do events based on the target text; A configuration module is used to configure a target application for memo recording based on the event information.
14. A voice memo device, characterized in that: include: A collection module, used for collecting target voice signals; A sending module is used to send the target voice signal to a terminal device; wherein the terminal device is used to receive the target voice signal sent by the headset, and perform voice recognition and role separation on the target voice signal to obtain a target text, wherein the target text is identified with the speaking text of each role in the target voice signal, wherein each role at least includes the wearer of the headset, and based on the target text, event information related to the wearer's to-do events is extracted, and then based on the event information, a target application for memo recording is configured.
15. A voice memo device, characterized in that: include: A receiving module, used to receive the target voice signal collected and sent by the earphone; A processing module, configured to perform speech recognition and character separation on the target speech signal to obtain a target text; wherein the target text is identified with a speech text of each character in the target speech signal, and each character at least includes a wearer of the headset; An extraction module, configured to extract event information related to the wearer's to-do events based on the target text; A configuration module is used to configure a target application for memo recording based on the event information.
16. An electronic device, characterized in that: The device at least comprises a memory and a processor coupled to each other, wherein the memory stores program instructions, and the processor is used to execute the program instructions to implement the voice memo method according to any one of claims 1 to 12.
17. A computer-readable storage medium, characterized in that: Program instructions that can be executed by a processor are stored, and the program instructions are used to implement the voice memo method according to any one of claims 1 to 12.
