Voice data processing method, device, electronic device and storage medium

By displaying the voice extension page on the graphical user interface, users are allowed to adjust text, solving the problem of low efficiency in voice input text adjustment, and achieving more efficient voice text adjustment operations.

CN114360536BActive Publication Date: 2025-04-08BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111614254.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2025-04-08
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

When performing voice input text, in the prior art, the text corresponding to voice is small in the input box, making it difficult to adjust the operation, resulting in low adjustment efficiency.

Method used

Provide a voice data processing method, by displaying a voice extension page on the graphical user interface, allowing users to make text adjustments, including deletion, line breaking, adding punctuation, etc., and implementing these operations through shortcut function keys.

Benefits of technology

Through the display of the voice extension page, the voice text can be displayed more completely, and users can use shortcuts to modify, which significantly improves the efficiency of voice-based text adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114360536B_ABST
    Figure CN114360536B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, electronic device and storage medium for processing voice data, and relates to the fields of pattern recognition and data processing, and in particular to the fields of method, device, electronic device and storage medium for processing voice data. The specific implementation scheme is: in response to a page display instruction acting on a graphical user interface, a target page is displayed on the graphical user interface; in response to an input operation instruction acting on the graphical user interface, first target text data corresponding to the first target voice data is displayed on the target page; in response to a text adjustment instruction acting on the graphical user interface, the first target text data is adjusted to the second target text data; in response to a sending operation instruction acting on the graphical user interface, the second target text data is sent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of pattern recognition and data processing, and in particular to a method, device, electronic device and storage medium for processing speech data. Background Art

[0002] Currently, when voice input is performed, the text corresponding to the voice is displayed in an input box, and the display area is small, making it difficult to adjust the text corresponding to the voice. Summary of the invention

[0003] The present disclosure provides a method, apparatus, device and storage medium for processing voice data.

[0004] According to one aspect of the present disclosure, a method for processing voice data is provided, comprising: in response to a page display instruction acting on a graphical user interface, displaying a target page on the graphical user interface; in response to an input operation instruction acting on the graphical user interface, displaying first target text data corresponding to first target voice data on the target page; in response to a text adjustment instruction acting on the graphical user interface, adjusting the first target text data to second target text data; in response to a sending operation instruction acting on the graphical user interface, sending the second target text data.

[0005] Optionally, the method further includes: displaying a target function control on a graphical user interface, wherein the target function control is used to receive a page display instruction.

[0006] Optionally, the graphical user interface displays a text input control, the first target text data includes first sub-target text data, and the method further includes: when it is detected that the data volume of the first sub-target text data in the text input control is greater than the target threshold, triggering a page display instruction on the graphical user interface.

[0007] Optionally, the method further includes: displaying at least one target identifier on the target page; and verifying the first target text data or the second target text data based on each target identifier.

[0008] Optionally, in response to a text adjustment instruction acting on a graphical user interface, adjusting the first target text data to the second target text data includes: in response to a text editing instruction acting on a target page, editing the first target text data to obtain second target text data, wherein the text adjustment instruction includes a text editing instruction; and / or in response to a second voice input instruction acting on the target page, acquiring second target voice data, and adjusting the first target text data based on third target text data corresponding to the second target voice data to obtain second target text data, wherein the text adjustment instruction includes a second voice input instruction.

[0009] Optionally, sending the second target text data includes: sending the second target text data to an information interaction interface in a graphical user interface; or sending the second target text data to a text input control in a graphical user interface, wherein the text input control is used to send the second target text data to the information interaction interface.

[0010] According to another aspect of the present disclosure, a voice data processing device is provided, including: a first display unit, used to respond to a page display instruction acting on a graphical user interface and display a target page on the graphical user interface; a second display unit, used to respond to an input operation instruction acting on the graphical user interface and display first target text data corresponding to the first target voice data on the target page; an adjustment unit, used to respond to a text adjustment instruction acting on the graphical user interface and adjust the first target text data to second target text data; and a sending unit, used to respond to a sending operation instruction acting on the graphical user interface and send the second target text data.

[0011] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the voice data processing method of an embodiment of the present disclosure.

[0012] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method for processing speech data of an embodiment of the present disclosure.

[0013] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the method for processing speech data of the embodiment of the present disclosure is implemented.

[0014] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0016] Figure 1 is a flow chart of a method for processing voice data according to an embodiment of the present disclosure;

[0017] Figure 2 is a schematic diagram of an existing implementation scheme of voice input text according to an embodiment of the present disclosure;

[0018] Figure 3 is a schematic diagram of a user actively entering a voice input extension page according to an embodiment of the present disclosure;

[0019] Figure 4 is a schematic diagram of a user's inspection and modification interface according to an embodiment of the present disclosure;

[0020] Figure 5 is a schematic diagram of a voice data processing device according to an embodiment of the present disclosure;

[0021] Figure 6 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0023] The following is a further introduction to the method for processing voice data according to the embodiment of the present disclosure.

[0024] In the related art, when a user inputs text by voice input, the text is displayed in an input box with a small display area, making it difficult to perform modification operations.

[0025] The present invention proposes a method for extending a voice input page, wherein a user can open the page extension with one click, so that the voice text can be displayed more completely, the efficiency of text verification can be accelerated, and shortcuts can be used for modification, thereby improving the efficiency of user modification.

[0026] Figure 1 is a flow chart of a method for processing voice data according to an embodiment of the present disclosure. Figure 1 As shown, the method may include the following steps:

[0027] Step S102, responding to a page display instruction acting on the graphical user interface, and displaying a target page on the graphical user interface.

[0028] In the technical solution provided in the above step S102 of the present disclosure, in response to a page display instruction acting on a graphical user interface, a target page is displayed on the graphical user interface. For example, after the long text button on the graphical user interface receives the page display instruction, a signal for displaying the target page is generated, and the device displays a voice extension page on the graphical user interface driven by the signal. That is, when the user enters the voice input interface or it is detected that the user is performing voice long text input, the user can choose to enter the voice extension interface through the long text button or prompt.

[0029] In this embodiment, the graphical user interface may include a target function control, which may be a long text button.

[0030] In this embodiment, the target page may be a voice extension page.

[0031] In this embodiment, at least one target mark can be displayed on the target page, wherein the target mark can be a mark of the number of characters. For example, the number of characters used to indicate the length of the text, such as "50 characters", "100 characters", etc., can be displayed on the voice extension page. No specific restrictions are made here.

[0032] Step S104, in response to an input operation instruction acting on the graphical user interface, displaying first target text data corresponding to the first target voice data on the target page.

[0033] In the technical solution provided in the above step S104 of the present disclosure, in response to the input operation instruction acting on the graphical user interface, the first target text data corresponding to the first target voice data is displayed on the target page. For example, after the input button on the graphical user interface receives the input operation instruction, a signal for displaying the text corresponding to the voice is generated, and the device is driven by the signal to display the text corresponding to the voice on the voice extension page.

[0034] In this embodiment, the graphical user interface may display an input box, and the first target text data includes first sub-target text data. The method may also include: when it is detected that the amount of first sub-target text data in the input box is greater than the target threshold, a page display instruction is triggered on the graphical user interface. For example, when it is detected that the text length of the voice text in the input box is greater than 50 words, a prompt is displayed on the graphical user interface and the voice expansion interface is automatically entered.

[0035] Step S106 , in response to the text adjustment instruction acting on the graphical user interface, the first target text data is adjusted to the second target text data.

[0036] In the technical solution provided in the above step S106 of the present disclosure, in response to a text adjustment instruction acting on a graphical user interface, the first target text data is adjusted to the second target text data. For example, after the shortcut function key on the graphical user interface receives the text adjustment instruction, a signal for text adjustment is generated, and the device is driven by the signal to adjust the text input by voice to the modified text.

[0037] In this embodiment, the second target text data may be a modified text.

[0038] In this embodiment, the target page may include shortcut function keys.

[0039] In this embodiment, the text adjustment instruction may be a text editing instruction, such as text deletion, line break, quick addition of punctuation, and voice input again.

[0040] Step S108, sending the second target text data in response to the sending operation instruction on the graphical user interface.

[0041] In the technical solution provided in the above step S108 of the present disclosure, in response to the sending operation instruction acting on the graphical user interface, the second target text data is sent, for example, after the upper screen key on the graphical user interface receives the sending operation instruction, a signal for sending the modified text is generated, and the device sends the modified text under the drive of the signal.

[0042] In this embodiment, the target page may include an upper screen key, and the upper screen key may be a virtual key displayed in text form, or may be an icon, which is not limited here.

[0043] In this embodiment, optionally, the second target text data is sent to a chat interface in the graphical user interface.

[0044] In this embodiment, optionally, the second target text data is sent to a text input control in a graphical user interface, wherein the text input control is used to send the second target text data to the information interaction interface, for example, the text input control is an input box.

[0045] Through the above steps S102 to S108, in response to the page display instruction acting on the graphical user interface, the target page is displayed on the graphical user interface; in response to the input operation instruction acting on the graphical user interface, the first target text data corresponding to the first target voice data is displayed on the target page; in response to the text adjustment instruction acting on the graphical user interface, the first target text data is adjusted to the second target text data; in response to the sending operation instruction acting on the graphical user interface, the second target text data is sent. That is to say, by displaying the voice extension page, the voice text can be displayed more completely, can be modified using shortcuts, and the efficiency of adjusting the text corresponding to the voice can be improved, thereby solving the technical problem of low efficiency in adjusting the text corresponding to the voice and achieving the technical effect of improving the efficiency of adjusting the text corresponding to the voice.

[0046] The above method of this embodiment is further described in detail below.

[0047] As an optional implementation, step S102, in response to a page display instruction acting on the graphical user interface, displays the target page on the graphical user interface. The method also includes: displaying a target function control on the graphical user interface, wherein the target function control is used to receive the page display instruction.

[0048] In this embodiment, a target function control is displayed on a graphical user interface, wherein the target function control can be used to receive a page display instruction. For example, a long text button is displayed on the graphical user interface, and a user can enter a voice extension interface by manually triggering the long text button, wherein the target function control can be a long text button.

[0049] As an optional embodiment, a graphical user interface displays a text input control, and the first target text data includes first sub-target text data, wherein displaying the target function control on the graphical user interface includes: when it is detected that the amount of data of the first sub-target text data in the text input control is greater than a target threshold, then displaying the target function control on the graphical user interface.

[0050] In this embodiment, the graphical user interface displays a text input control, and the first target text data includes first sub-target text data. For example, an input box is displayed on the graphical user interface, and when the user performs voice input, the voice text is displayed in the input box.

[0051] In this embodiment, the first target text data includes first sub-target text data, and the first sub-target text data may be a voice text displayed in the input box.

[0052] In this embodiment, when it is detected that the amount of data of the first sub-target text data in the text input control is greater than the target threshold, the target function control is displayed on the graphical user interface. For example, when it is detected that the text length in the input box exceeds 50 words, a long text button is displayed on the graphical user interface, and the user can enter the voice expansion interface by triggering the long text button, wherein the target threshold can be a text length of 50 words.

[0053] As an optional implementation, in step S104, the graphical user interface displays a text input control, the first target text data includes first sub-target text data, and the method further includes: when it is detected that the amount of data of the first sub-target text data in the text input control is greater than the target threshold, triggering a page display instruction on the graphical user interface.

[0054] In this embodiment, when it is detected that the amount of data of the first sub-target text data in the text input control is greater than the target threshold, a page display instruction is triggered on the graphical user interface. For example, when voice input is performed, the voice text is displayed in the input box. When it is detected that the text length of the voice text in the input box is greater than 50 words, a prompt is displayed on the graphical user interface and the voice expansion interface is automatically entered.

[0055] As an optional implementation, the input operation instruction includes a first voice input instruction, the first target text data includes second sub-target text data, and the first target voice data includes sub-target voice data, wherein, in response to the input operation instruction on the graphical user interface, displaying the first target text data corresponding to the first target voice data on the target page includes: in response to the first voice input instruction on the target page, obtaining the sub-target voice data, and converting the sub-target voice data into second sub-target text data; and displaying the first sub-target text data and the second target text data on the target page.

[0056] In this embodiment, in response to a first voice input instruction on a target page, sub-target voice data is acquired, and the sub-target voice data is converted into second sub-target text data. For example, when voice input is performed, a voice input extension interface that can pop up automatically is expanded, and text is input by voice in the voice input extension interface.

[0057] In this embodiment, the second sub-target text data may be text that does not enter the input box but directly enters the extended page.

[0058] In this embodiment, the sub-target voice data may be voice data that directly enters the extended page.

[0059] In this embodiment, the first sub-target text data and the second target text data are displayed on the target page. For example, the text input in the input box and the text directly entering the extension page are displayed on the voice input extension page.

[0060] As an optional implementation, step S102, in response to a page display instruction acting on a graphical user interface, displays a target page on the graphical user interface, and the method also includes: displaying at least one target identifier on the target page; and verifying the first target text data or the second target text data based on each target identifier.

[0061] In this embodiment, at least one target identifier is displayed on the target page, for example, identifiers indicating the number of characters such as "50 characters" and "100 characters" are displayed on the voice extension interface.

[0062] In this embodiment, the first target text data or the second target text data is verified based on each target identifier. For example, by extending the identifier of the number of characters on the interface, the user can quickly understand the text length of the target page and check the text.

[0063] As an optional implementation, at least one target identifier is displayed on the target page, wherein each target identifier is used to perform text positioning on the first target text data or the second target text data.

[0064] In this embodiment, at least one target identifier is displayed on the target page, wherein each target identifier is used to perform text positioning on the first target text data or the second target text data. For example, by extending the identifier of the number of characters on the page, the user can position the text when checking the text.

[0065] As an optional implementation, step S106, in response to a text adjustment instruction acting on a graphical user interface, adjusting the first target text data to the second target text data includes: in response to a text editing instruction acting on a target page, editing the first target text data to obtain second target text data, wherein the text adjustment instruction includes a text editing instruction; and / or in response to a second voice input instruction acting on the target page, acquiring second target voice data, and adjusting the first target text data based on third target text data corresponding to the second target voice data to obtain second target text data, wherein the text adjustment instruction includes a second voice input instruction.

[0066] In this embodiment, in response to a text editing instruction on a target page, the first target text data is edited to obtain second target text data, wherein the text adjustment instruction is used to adjust the first target text data and may include text editing instructions. For example, a voice input button is retained on the voice extension page, and text editing operations such as text deletion, line break, and adding basic punctuation can be performed to obtain second target text data, that is, the modified voice text.

[0067] In this embodiment, optionally, the voice extension page displays a shortcut function key, and the shortcut function key is used to edit the first target text data.

[0068] In this embodiment, in response to a second voice input instruction on the target page, second target voice data is obtained, and the first target text data is adjusted based on third target text data corresponding to the second target voice data to obtain second target text data, wherein the text adjustment instruction includes the second voice input instruction. For example, when text modification is performed in the voice extension interface, the voice input text operation can be performed again.

[0069] In this embodiment, the third target text data corresponding to the second voice data may be text input again by voice when the text is modified on the voice extension page.

[0070] As an optional implementation manner, editing the first target text data includes performing at least one of the following editing operations on the first target text data: a deletion operation, a line break operation, and an addition operation.

[0071] In this embodiment, at least one of the following editing operations is performed on the first target text data: deletion operation, line break operation, and addition operation. For example, when editing the text corresponding to the voice in the voice extension page, the text can be deleted, line broken, and basic punctuation can be quickly added.

[0072] In this embodiment, the adding operation may be adding punctuation and / or adding text.

[0073] As an optional implementation, performing a deletion operation on the first target text data includes: determining a first target text position in the first target text data; determining a second target text position in the first target text data based on the first target text position; and deleting text data between the first target text position and the second target text position in the first target text data.

[0074] In this embodiment, the position of the first target text in the first target text data is determined, for example, by using a shortcut function key to determine the position of the previous punctuation mark of the content to be deleted.

[0075] In this embodiment, the second target text position is determined in the first target text data based on the first target text position, for example, the cursor position is moved to the last position of the content to be deleted.

[0076] In this embodiment, in the first target text data, the text data between the first target text position and the second target text position is deleted, for example, the content from the current cursor position to the previous punctuation mark is deleted with one click using a shortcut function key.

[0077] As an optional implementation, determining the second target text position in the first target text data based on the first target text position includes: determining the position of punctuation characters adjacent to the first target text position in the first target text data; and determining the position of the punctuation characters as the second target text position.

[0078] In this embodiment, in the first target text data, the position of the punctuation characters adjacent to the first target text position is determined, for example, the position of the text content to be deleted is determined on the voice extension page, and the position of the previous punctuation character adjacent to the text content is further determined.

[0079] In this embodiment, the position of the punctuation character is determined as the second target text position. For example, the position of the previous punctuation character adjacent to the text content to be deleted is determined as the second target text position, which can meet the user's desire to delete half a sentence.

[0080] As an optional implementation, performing a line break operation on the first target text data includes: determining a third target text position on a target text line in the first target text data; and adjusting text data after the third target text position on the target text line to the next line of the target text line in the first target text data.

[0081] In this embodiment, performing a line break operation on the first target text data includes: determining the third target text position on the target text line in the first target text data, for example, determining the text content that needs to be wrapped on the voice extension page, and moving the cursor position to the beginning of the target text line.

[0082] In this embodiment, the text data after the third target text position on the target text line is adjusted to the next line of the target text line in the first target text data. For example, after moving the cursor position to the beginning of the text line where a line break is required, it is adjusted to the next line of the target text line through a shortcut function key.

[0083] In this embodiment, optionally, performing a line break operation on the first text line includes: inserting a number at the beginning of the target text line after the line break through a shortcut numbering operation of a shortcut function key.

[0084] As an optional implementation, the text data after the third target text position on the target text line is adjusted to the next line of the target text line in the first target text data, wherein the method also includes: adding a serial number to the first target text data based on the third target text position.

[0085] In this embodiment, the first target text data is serially numbered based on the position of the third target text. For example, the text of the voice extension page is numbered based on the position of the target text line after line break through the shortcut numbering operation of the shortcut function key.

[0086] As an optional implementation manner, performing an adding operation on the first target text data includes: performing a character adding operation on the first target text data based on a virtual keyboard.

[0087] In this embodiment, a character adding operation is performed on the first target text data based on the virtual keyboard. For example, when adding characters to the text, the virtual keyboard can also perform this operation.

[0088] As an optional implementation, adjusting the first target text data based on the third target text data corresponding to the second target voice data to obtain the second target text data includes: adding the third target text data to the fourth target text position of the first target text data to obtain the second target text data.

[0089] In this embodiment, the third target text data is added to the fourth target text position of the first target text data to obtain the second target text data, for example, the third target text data is obtained by voice input again, and then the text is added to the text of the voice extension page.

[0090] As an optional implementation, step S108, sending the second target text data includes: sending the second target text data to an information interaction interface in a graphical user interface; or sending the second target text data to a text input control in a graphical user interface, wherein the text input control is used to send the second target text data to the information interaction interface.

[0091] In this embodiment, the second target text data is sent to the information interaction interface in the graphical user interface, wherein the information interaction interface may be a chat interface. For example, after the user completes the text editing operation on the voice extension interface, the modified text is sent to the chat interface with one click of the upper screen key.

[0092] In this embodiment, optionally, the target page includes a go-to-screen key. For example, after the user confirms that the second target text is correct, the user can trigger the go-to-screen key to send the text to the chat interface.

[0093] In this embodiment, the second target text data is sent to a text input control in a graphical user interface, wherein the text input control is used to send the second target text data to an information interaction interface. For example, after the user completes the text editing operation on the voice extension interface, the modified text is sent to the input box, and the modified text is sent to the chat interface by triggering a send button of the input box.

[0094] In the embodiments of the present disclosure, a long text button is displayed on a graphical user interface, and the user enters a voice extension interface by manually triggering the long text button. When it is detected that the text length of the voice text in the input box is greater than a preset threshold, a prompt is displayed on the graphical user interface and the voice extension interface is automatically entered. An identifier of the number of characters is displayed on the voice extension interface, and the user quickly understands the text length of the target page, checks the text, and performs text editing operations such as deleting, wrapping, adding basic punctuation, and voice input again. Voice input is performed again to obtain the modified text, and the modified text is sent to the information interaction interface through the upper screen key or the send key of the input box, thereby solving the technical problem of low efficiency in adjusting the text corresponding to the voice and achieving the technical effect of improving the efficiency of adjusting the text corresponding to the voice.

[0095] It should be noted that in the embodiments of the present disclosure, the text deletion operation, line break operation and addition operation can be operations performed on the same target text position of the first text data, or can be operations performed on different target text positions of the first text data, and the present disclosure does not limit this.

[0096] The voice data processing method disclosed in the present invention is further introduced below in conjunction with preferred embodiments.

[0097] Currently, the text input by voice enters directly into the input box, and the displayed content is small, which makes it easy to miss the errors that need to be modified in the text. If modifications are required, the user needs to return to the normal keyboard interface.

[0098] The main problems of existing methods are:

[0099] First, the text display area is small and there is no text location mark. When users manually check, it is easy to confuse where they are checking and miss the part that needs to be modified.

[0100] Secondly, when modifying text, users can delete it and then choose keyboard input or continue to use voice input. When using voice input, due to the low accuracy of inputting individual characters or words, users need to delete the half sentence that needs to be modified and then use voice input. At this time, they need to click / long press the delete key multiple times, which is easy to delete by mistake.

[0101] Finally, in addition to modifying the text content, users often need to modify the text structure, such as line breaks, adding sequence numbers, etc., to make long texts easier to read, but the ordinary text input interface has low modification efficiency.

[0102] Figure 2 is a schematic diagram of an existing implementation scheme of voice input text according to an embodiment of the present disclosure, such as Figure 2 As shown, the text of the existing voice input directly enters the input box, and the displayed content is small, and it is easy to miss the errors that need to be modified in the text. If modifications are required, the user needs to return to the normal virtual keyboard interface.

[0103] Figure 3 is a schematic diagram of a user actively entering a voice input extension page according to an embodiment of the present disclosure, such as Figure 3 As shown, when the user enters the voice input interface or it is detected that the user is performing voice long text input, the user can enter the voice long text interface through the long text button or prompt selection.

[0104] Figure 4 is a schematic diagram of a user's inspection and modification interface according to an embodiment of the present disclosure, such as Figure 4 As shown in the figure, when the user enters the voice extension page and performs voice input, the input text does not enter the input box directly, but is displayed in the following manner: Figure 4 The text in the voice extension interface is displayed in the left interface shown. There is a character count mark in the text, which is convenient for users to quickly understand the text length and locate the text position. The voice input interface button is reserved at the bottom of the voice extension interface, which can be used to delete text, wrap lines, quickly add basic punctuation, and voice input again.

[0105] In addition, the voice extension interface adds shortcut function keys to provide some quick modification operations under long text features. Quick modification operations include but are not limited to: quick numbering, which can wrap and insert serial numbers at the specified position after clicking; quick deletion, which can quickly delete the content from the current cursor position to the previous punctuation mark with one click, which can meet the user's demand for deleting half a sentence and quickly use voice to re-enter; calling up and closing the virtual keyboard, which can quickly call up the virtual keyboard and use the virtual keyboard to modify the text. After the modification is completed, the keyboard can be closed and returned to the inspection page.

[0106] Finally, after confirmation, you can send it to the screen with one click.

[0107] In the above-mentioned embodiment of the present disclosure, the user can open the page expansion with one click, so that the voice text can be displayed completely, the efficiency of text verification can be accelerated, and shortcuts can be used to modify it, thereby improving the efficiency of user modification, thereby solving the technical problem of low efficiency in adjusting the text corresponding to the voice, and achieving the technical effect of improving the efficiency of adjusting the text corresponding to the voice.

[0108] The present disclosure also provides a method for executing Figure 1 The apparatus for processing speech data of the illustrated embodiment.

[0109] Figure 5 is a schematic diagram of a voice data processing device according to an embodiment of the present disclosure, such as Figure 5 As shown, the model determination device 50 may include: a first display unit 51 , a second display unit 52 , an adjustment unit 53 and a sending unit 54 .

[0110] The first display unit 51 is used to respond to the page display instruction acting on the graphical user interface and display the target page on the graphical user interface;

[0111] The second display unit 52 is used to display the first target text data corresponding to the first target voice data on the target page in response to the input operation instruction acting on the graphical user interface;

[0112] An adjustment unit 53, configured to adjust the first target text data to second target text data in response to a text adjustment instruction acting on the graphical user interface;

[0113] The sending unit 54 is used to send the second target text data in response to a sending operation instruction acting on the graphical user interface.

[0114] Optionally, the first display unit includes: a first display module and a second display module, wherein the first display module includes a first display sub-unit, and the second display module includes a second display sub-unit. The first display module is used to display a target function control on a graphical user interface, wherein the target function control is used to receive a page display instruction; the second display module is used to display at least one target identifier on a target page, and verify the first target text data or the second target text data based on each target identifier; the first display sub-unit is used to detect that the data volume of the first sub-target text data in the text input control is greater than the target threshold, and then display the target function control on the graphical user interface; the second display sub-unit is used for each target identifier to perform text positioning on the first target text data or the second target text data.

[0115] Optionally, the second display unit includes: a first display module, wherein the first display module includes a first display subunit and a second display subunit. The first display module is used to detect that the amount of the first sub-target text data in the text input control is greater than the target threshold, and then trigger a page display instruction on the graphical user interface; the first display subunit is used to respond to the first voice input instruction on the target page, obtain the sub-target voice data, and convert the sub-target voice data into the second sub-target text data; the second display subunit is used to display the first sub-target text data and the second target text data on the target page.

[0116] Optionally, the adjustment unit includes: a first adjustment module and a second adjustment module, wherein the first adjustment module includes a first adjustment sub-unit, and the second adjustment module includes a second adjustment sub-unit, wherein the first adjustment sub-unit includes a first adjustment sub-module, a second adjustment sub-module and a third adjustment sub-module, wherein the first adjustment sub-module includes a first adjustment sub-module first unit, the second adjustment sub-module includes a second adjustment sub-module first unit, and the third adjustment sub-module includes a third adjustment sub-module first unit. Among them, the first adjustment module is used to respond to the text editing instruction on the target page, edit the first target text data to obtain the second target text data, wherein the text adjustment instruction includes the text editing instruction; the second adjustment module is used to respond to the second voice input instruction on the target page, obtain the second target voice data, and adjust the first target text data based on the third target text data corresponding to the second target voice data to obtain the second target text data, wherein the text adjustment instruction includes the second voice input instruction; the first adjustment subunit is used to edit the first target text data, including performing at least one of the following editing operations on the first target text data: deletion operation, line break operation, and addition operation; the first adjustment submodule is used to perform a deletion operation on the first target text data, including: determining the first target text position in the first target text data, determining the second target text position in the first target text data based on the first target text position, and in the first target text data According to the present invention, the text data between the first target text position and the second target text position is deleted; the first unit of the first adjustment submodule is used to determine the position of the punctuation character adjacent to the first target text position in the first target text data, and determine the position of the punctuation character as the second target text position; the first unit of the second adjustment submodule is used to perform a line break operation on the first target text data, including: determining the third target text position on the target text line in the first target text data, adjusting the text data after the third target text position on the target text line to the next line of the target text line in the first target text data, and adding a sequence number to the first target text data based on the third target text position; the first unit of the third adjustment submodule is used to perform an addition operation on the first target text data, including: performing a character addition operation on the first target text data based on the virtual keyboard; the second adjustment subunit is used to add the third target text data to the fourth target text position of the first target text data to obtain the second target text data.

[0117] Optionally, the sending unit includes a first sending module and a second sending module, wherein the first sending module is used to send the second target text data to the information interaction interface in the graphical user interface; the second sending module is used to send the second target text data to the text input control in the graphical user interface, wherein the text input control is used to send the second target text data to the information interaction interface.

[0118] In the embodiment of the present disclosure, the first display unit 51 responds to the page display instruction acting on the graphical user interface to display the target page on the graphical user interface; the second display unit 52 responds to the input operation instruction acting on the graphical user interface to display the first target text data corresponding to the first target voice data on the target page; the adjustment unit 53 responds to the text adjustment instruction acting on the graphical user interface to adjust the first target text data to the second target text data; the sending unit 54 responds to the sending operation instruction acting on the graphical user interface to send the second target text data, that is, the voice extension page is displayed on the graphical user interface, so that the voice text can be displayed more completely and can be modified using shortcuts, thereby improving the efficiency of adjusting the text corresponding to the voice, solving the technical problem of low efficiency in adjusting the text corresponding to the voice, and achieving the technical effect of improving the efficiency of adjusting the text corresponding to the voice.

[0119] In the embodiments of the present disclosure, the acquisition, storage and application of user personal information involved in the technical solution of the present disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0120] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0121] An embodiment of the present disclosure provides an electronic device, which may include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the voice data processing method of the embodiment of the present disclosure.

[0122] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0123] Optionally, in this embodiment, the non-volatile storage medium may be configured to store a computer program for performing the following steps:

[0124] Step S102, responding to a page display instruction acting on the graphical user interface, displaying a target page on the graphical user interface;

[0125] Step S104, in response to an input operation instruction acting on the graphical user interface, displaying first target text data corresponding to the first target voice data on a target page;

[0126] Step S106, in response to the text adjustment instruction acting on the graphical user interface, adjusting the first target text data to the second target text data;

[0127] Step S108, sending the second target text data in response to the sending operation instruction on the graphical user interface.

[0128] Optionally, in this embodiment, the non-transitory computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0129] According to an embodiment of the present disclosure, the present disclosure further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0130] Step S102, responding to a page display instruction acting on the graphical user interface, displaying a target page on the graphical user interface;

[0131] Step S104, in response to an input operation instruction acting on the graphical user interface, displaying first target text data corresponding to the first target voice data on a target page;

[0132] Step S106, in response to the text adjustment instruction acting on the graphical user interface, adjusting the first target text data to the second target text data;

[0133] Step S108, sending the second target text data in response to the sending operation instruction on the graphical user interface.

[0134] Figure 6 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0135] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0136] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0137] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0138] The computing unit 601 can be various general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as a method response acting on a text adjustment instruction on a graphical user interface, adjusting the first target text data to the second target text data. For example, in some embodiments, the method response acts on a text adjustment instruction on a graphical user interface, and the first target text data is adjusted to the second target text data. Can be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by computing unit 601, the method described above can be executed to respond to the text adjustment instruction on the graphical user interface, and adjust the first target text data to the second target text data. One or more steps. Alternatively, in other embodiments, computing unit 601 can be configured to execute the method in any other appropriate manner (e.g., by means of firmware) to respond to the text adjustment instruction on the graphical user interface, and adjust the first target text data to the second target text data.

[0139] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0140] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0141] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0142] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0143] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0144] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0145] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0146] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for processing voice data, comprising: In response to a page display instruction acting on a graphical user interface, displaying a target page on the graphical user interface; In response to an input operation instruction acting on the graphical user interface, displaying first target text data corresponding to the first target voice data on the target page; In response to a text adjustment instruction acting on the graphical user interface, adjusting the first target text data to second target text data; In response to a sending operation instruction acting on the graphical user interface, sending the second target text data; Wherein, in response to a page display instruction acting on a graphical user interface, displaying a target page on the graphical user interface comprises: in response to the page display instruction, generating a page display signal for displaying the target page; in response to the page display signal, displaying the target page on the graphical user interface, wherein the target page is used to display at least one target identifier, and the at least one target identifier includes an identifier of the number of characters of text data; The graphical user interface displays a text input control, the first target text data includes first sub-target text data, and the method further includes: upon detecting that the amount of the first sub-target text data in the text input control is greater than a target threshold, triggering the page display instruction on the graphical user interface; The input operation instruction includes a first voice input instruction, the first target text data includes second sub-target text data, and the first target voice data includes sub-target voice data, wherein, in response to the input operation instruction acting on the graphical user interface, the first target text data corresponding to the first target voice data is displayed on the target page, including: in response to the first voice input instruction acting on the target page, the sub-target voice data is acquired, and the sub-target voice data is converted into the second sub-target text data; the first sub-target text data and the second sub-target text data are displayed on the target page.

2. The method according to claim 1, wherein: Also includes: A target function control is displayed on the graphical user interface, wherein the target function control is used to receive the page display instruction.

3. The method according to claim 2, wherein: The graphical user interface displays a text input control, the first target text data includes first sub-target text data, wherein displaying the target function control on the graphical user interface includes: If it is detected that the data volume of the first sub-target text data in the text input control is greater than a target threshold, the target function control is displayed on the graphical user interface.

4. The method according to claim 1, further comprising: Displaying the at least one target identifier on the target page; The first target text data or the second target text data is verified based on each of the target identifiers.

5. The method according to claim 4, wherein: Each of the target identifiers is used to perform text positioning on the first target text data or the second target text data.

6. The method according to claim 1, wherein: In response to a text adjustment instruction acting on the graphical user interface, adjusting the first target text data to second target text data includes: In response to a text editing instruction acting on the target page, editing the first target text data to obtain the second target text data, wherein the text adjustment instruction includes the text editing instruction; and / or In response to a second voice input instruction on the target page, second target voice data is obtained, and the first target text data is adjusted based on third target text data corresponding to the second target voice data to obtain the second target text data, wherein the text adjustment instruction includes the second voice input instruction.

7. The method according to claim 6, wherein: Editing the first target text data includes performing at least one of the following editing operations on the first target text data: Delete operation, line break operation, add operation.

8. The method according to claim 7, wherein: Performing the deleting operation on the first target text data includes: Determining a first target text position in the first target text data; determining a second target text position in the first target text data based on the first target text position; In the first target text data, text data between the first target text position and the second target text position is deleted.

9. The method according to claim 8, wherein: Determining a second target text position in the first target text data based on the first target text position includes: In the first target text data, determining the position of punctuation characters adjacent to the first target text position; The position of the punctuation character is determined as the second target text position.

10. The method according to claim 7, wherein: Performing the line break operation on the first target text data includes: Determining a third target text position on a target text line in the first target text data; The text data after the third target text position on the target text line is adjusted to the next line of the target text line in the first target text data.

11. The method according to claim 10, wherein: Also includes: A sequence number is added to the first target text data based on the third target text position.

12. The method according to claim 7, wherein: Performing the adding operation on the first target text data includes: A character adding operation is performed on the first target text data based on a virtual keyboard.

13. The method according to claim 6, wherein: Adjusting the first target text data based on the third target text data corresponding to the second target voice data to obtain the second target text data includes: The third target text data is added to the fourth target text position of the first target text data to obtain the second target text data.

14. The method according to any one of claims 1 to 13, wherein: Sending the second target text data includes: sending the second target text data to the information interaction interface in the graphical user interface; or The second target text data is sent to a text input control in the graphical user interface, wherein the text input control is used to send the second target text data to the information interaction interface.

15. A device for processing speech data, comprising: A first display unit, configured to respond to a page display instruction acting on a graphical user interface and display a target page on the graphical user interface; a second display unit, for displaying first target text data corresponding to the first target voice data on the target page in response to an input operation instruction acting on the graphical user interface; an adjustment unit, configured to adjust the first target text data to second target text data in response to a text adjustment instruction acting on the graphical user interface; a sending unit, configured to send the second target text data in response to a sending operation instruction acting on the graphical user interface; The first display unit is used to respond to a page display instruction acting on a graphical user interface by performing the following steps to display a target page on the graphical user interface: generating a page display signal for displaying the target page in response to the page display instruction; displaying the target page on the graphical user interface in response to the page display signal, wherein the target page is used to display at least one target identifier, and the at least one target identifier includes an identifier of the number of characters of text data; The graphical user interface displays a text input control, the first target text data includes first sub-target text data, and the device is further used to: upon detecting that the amount of the first sub-target text data in the text input control is greater than a target threshold, trigger the page display instruction on the graphical user interface; The input operation instruction includes a first voice input instruction, the first target text data includes second sub-target text data, and the first target voice data includes sub-target voice data, wherein the second display unit is also used to perform the following steps to respond to the input operation instruction acting on the graphical user interface and display the first target text data corresponding to the first target voice data on the target page: in response to the first voice input instruction acting on the target page, obtain the sub-target voice data and convert the sub-target voice data into the second sub-target text data; display the first sub-target text data and the second sub-target text data on the target page.

16. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 14.

17. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-14.

18. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Text processing method, device and apparatus, computer device and storage medium

    CN109388792A

  • Voice bullet screen implementation method and device, intelligent equipment and readable storage medium

    CN113573155A