Voice recognition method, device and electronic equipment

By displaying the multimedia information recognition page on the terminal, the speech recognition results of the multimedia information fragments divided by the server are displayed in real time, which solves the problem of the server waiting to generate the full results before sending them, and improves the display efficiency and interaction convenience of video speech to text.

CN115499683BActive Publication Date: 2024-10-29BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210938209.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-05
Publication Date
2024-10-29
Estimated Expiration
2042-08-05

AI Technical Summary

Technical Problem

In the existing technology, the server needs to wait for the full voice-to-text result of the video to be generated before sending it to the terminal. This results in a reduction in the display efficiency of the video voice-to-text result and an increase in the terminal account waiting time, which reduces the time between the terminal and the video and video editing software. The convenience of interaction.

Method used

By displaying the multimedia information recognition page on the terminal, responding to the triggering operation of the speech recognition control, and sending a speech recognition request to the server, the server divides the multimedia information to be recognized into multiple information fragments, and sequentially performs speech recognition and returns the results based on the preset order. The terminal The recognition results of each information fragment are displayed in real time.

Benefits of technology

It improves the display efficiency of speech recognition results of multimedia information to be recognized, reduces the waiting time of terminal accounts, and enhances the convenience of interaction between terminal accounts and multimedia information and video editing software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499683B_ABST
    Figure CN115499683B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, device and electronic device for speech recognition, the method comprising: displaying a multimedia information recognition page including a speech recognition control; sending a speech recognition request carrying multimedia information to be recognized to a server in response to a trigger operation based on the speech recognition control; the server is used to divide the multimedia information to be recognized into at least two information segments in response to the speech recognition request; and is used to sequentially determine any one of the at least two information segments as the current information segment based on a preset order; and is used to perform speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment; in the multimedia information recognition page, the current speech recognition result returned by the server is displayed. The use of the technical solution of the present disclosure can improve the display efficiency of speech recognition results and improve the convenience of interaction between terminal accounts and multimedia information to be recognized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a speech recognition method, device and electronic device. Background Art

[0002] In the video editing scenario in the related technology, the terminal usually sends the complete video to the server through the video editing software. The server performs speech-to-text recognition on the complete video information to obtain the full speech-to-text result of the video. The server sends the full speech-to-text result to the terminal, and the terminal displays the full speech-to-text result.

[0003] Since the server in the related technology needs to wait for the full speech-to-text result of the video to be generated before sending the full speech-to-text result to the terminal, the display efficiency of the speech-to-text result of the video is reduced, the waiting time of the terminal account is increased, and the convenience of interaction between the terminal account and the video and video editing software is reduced. Summary of the invention

[0004] The present disclosure provides a speech recognition method, device and electronic device to at least solve the problem in the related art that the server needs to wait for the full speech-to-text result of the video to be generated before sending the full speech-to-text result to the terminal, which reduces the display efficiency of the speech-to-text result of the video, increases the waiting time of the terminal account, and reduces the convenience of interaction between the terminal account and the video and video editing software. The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a speech recognition method, comprising:

[0006] Displaying a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control;

[0007] In response to a trigger operation based on the voice recognition control, a voice recognition request carrying the multimedia information to be recognized is sent to a server; the server is used to divide the multimedia information to be recognized into at least two information segments in response to the voice recognition request; and is used to sequentially determine, based on a preset order, any one of the at least two information segments that has not been recognized as a current information segment; and is used to perform voice recognition on the current information segment to obtain a current voice recognition result corresponding to the current information segment;

[0008] Receiving a current speech recognition result corresponding to the current information segment returned by the server;

[0009] In the target area of ​​the multimedia information recognition page, the current speech recognition result corresponding to the current information segment is displayed.

[0010] According to a second aspect of an embodiment of the present disclosure, there is provided a speech recognition method, comprising:

[0011] Displaying a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control, and the voice recognition control is used to trigger voice recognition of the multimedia information to be recognized;

[0012] In response to a triggering operation based on the voice recognition control, scrolling and displaying recognition progress information of the multimedia information to be recognized in the multimedia information recognition page;

[0013] Displaying a current speech recognition result corresponding to a current information segment in a target area of ​​the multimedia recognition page;

[0014] Among them, the target area is the area to which the recognition progress information moves at the current time, and the current time is the recognition time of the current information segment; the multimedia information to be recognized includes at least two information segments, and the current information segment is any unrecognized information segment determined from the at least two information segments based on a preset order.

[0015] In an optional embodiment, a mask layer is provided in the multimedia information recognition page, and in response to the triggering operation based on the voice recognition control, scrolling and displaying the recognition progress information of the multimedia information to be recognized in the multimedia information recognition page includes:

[0016] In response to a triggering operation based on the voice recognition control, the voice recognition progress information is displayed in the mask layer, and the recognition progress information is scrolled along a preset direction in the mask layer.

[0017] In an optional embodiment, the multimedia information recognition page includes a recognition display area, and the target area in the multimedia recognition page displays a current voice recognition result corresponding to the current information segment, including:

[0018] The current voice recognition result corresponding to the current information segment is displayed in the target area of ​​the multimedia recognition page, and the current voice recognition result is displayed in the recognition display area.

[0019] In an optional embodiment, the at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified, the multimedia information identification page includes a subtitle display area, a time display area, and an identification display area, and the multimedia information identification page includes:

[0020] Displaying a time axis in the time display area, displaying a mask layer on the subtitle display area and the time display area, and displaying the speech recognition control in the recognition display area;

[0021] Among them, the timeline includes at least two playback time intervals, and the at least two playback time intervals are obtained by dividing the total playback time of the multimedia information to be identified based on the preset time, each of the playback time intervals corresponds to each of the information fragments, and the preset order is determined based on the playback time order of each of the information fragments; the mask layer is used to display the recognition progress information of the multimedia information to be identified, and the recognition progress information is used to represent the time that has been identified in the total playback time.

[0022] In an optional embodiment, the subtitle display area includes a recognized subtitle display subarea, and before displaying the current information segment corresponding to the current speech recognition result, the method further includes:

[0023] Displaying the recognized speech recognition result corresponding to the recognized information segment in the recognized subtitle display sub-area, and displaying the recognized progress information within a second preset range located at the position of the recognized speech recognition result in the mask layer;

[0024] Among them, the identified subtitle display sub-area is located in a first preset range of the playback time interval corresponding to the identified information segment, and the playback time sequence of the identified information segment is earlier than the playback time sequence of the current information segment; the identified progress information is used to represent the identified duration that has been identified in the total playback duration, the identified progress information is vertically arranged with the subtitle display area and the time display area, and the intersection of the identified progress information and the time axis represents the identified duration.

[0025] In an optional embodiment, the subtitle display area further includes a current subtitle display subarea representing the target area, the current subtitle display subarea is located in a third preset range of the position of the identified subtitle display subarea, and the display of the current information segment corresponds to the current speech recognition result, including:

[0026] Displaying the current speech recognition result in the current subtitle display subarea;

[0027] The current recognition progress information is displayed within the fourth preset range of the mask layer located at the current voice recognition result; the current recognition progress information is used to represent the current duration that has been recognized in the total playback duration of the multimedia information to be recognized, the current recognition progress information is arranged vertically to the subtitle display area and the time display area, and the intersection of the current recognition progress information and the time axis represents the current duration.

[0028] In an optional embodiment, the current speech recognition result is a current text recognition result, and displaying the current speech recognition result in the current subtitle display sub-area includes:

[0029] When the number of characters corresponding to the current character recognition result is greater than the number of target characters that can be accommodated in the current subtitle display subregion, displaying omitted information and part of the characters in the current character recognition result in the current subtitle display subregion;

[0030] The number of characters corresponding to the partial characters is equal to the number of target characters, and the omitted information is used to represent the characters other than the partial characters in the current character recognition result.

[0031] In an optional embodiment, displaying the current recognition progress information within a fourth preset range located within the mask layer and within the location of the current speech recognition result includes:

[0032] The recognized progress information is moved from the second preset range where the recognized speech recognition result is located to the fourth preset range where the current text recognition result is located for display;

[0033] The identified progress information after the move is updated as the current identification progress information.

[0034] In an optional embodiment, the multimedia information identification page includes identifying a display area, and the method further includes:

[0035] In response to the recognition end instruction of the multimedia information to be recognized, the speech recognition result corresponding to each of the information segments is displayed in the recognition display area based on the preset order.

[0036] In an optional embodiment, the at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified, the identification display area includes an identification display sub-area corresponding to each of the information segments, and the identification display sub-area corresponding to each of the information segments includes a text area and a non-text area, and the displaying of the speech recognition result corresponding to each of the information segments in the identification display area based on the preset sequence includes:

[0037] Based on the preset order, in the text area of ​​the identification display sub-area corresponding to each information segment, the speech recognition result corresponding to each information segment is displayed, and in the non-text area of ​​the identification display sub-area corresponding to each information segment, the play time corresponding to each information segment and the time adjustment control corresponding to each information segment are displayed;

[0038] The time adjustment control corresponding to each of the information segments is used to adjust the play time corresponding to each of the information segments.

[0039] In an optional embodiment, the method further includes:

[0040] In response to a time adjustment operation triggered by a time adjustment control corresponding to the target information segment, updating the speech recognition result displayed in the text area corresponding to the target information segment to the speech recognition result of the information segment corresponding to the adjusted playback time;

[0041] The target information segment is any one of the at least two information segments.

[0042] According to a third aspect of an embodiment of the present disclosure, there is provided a speech recognition method, including:

[0043] Receiving a voice recognition request sent by a terminal and carrying multimedia information to be recognized; the voice recognition request is sent by the terminal in response to a triggering operation of a voice recognition control in a displayed multimedia information recognition page;

[0044] In response to the speech recognition request, dividing the multimedia information to be recognized into at least two information segments;

[0045] Determine in sequence based on a preset order that any one of the at least two information segments is the current information segment;

[0046] Performing speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment;

[0047] The current voice recognition result is sent to the terminal; and the terminal is used to display the current voice recognition result in a target area in the multimedia information recognition page.

[0048] According to a fourth aspect of an embodiment of the present disclosure, there is provided a speech recognition device, including:

[0049] A first recognition page display module is configured to execute and display a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control;

[0050] The first trigger operation response module is configured to execute a trigger operation based on the voice recognition control, and send a voice recognition request carrying the multimedia information to be recognized to a server; the server is used to divide the multimedia information to be recognized into at least two information segments in response to the voice recognition request; and is used to sequentially determine any one of the at least two information segments as the current information segment based on a preset order; and is used to perform voice recognition on the current information segment to obtain a current voice recognition result corresponding to the current information segment;

[0051] A recognition result receiving module is configured to receive a current speech recognition result corresponding to a current information segment returned by the server;

[0052] The first recognition result display module is configured to be executed in the target area of ​​the multimedia information recognition page to display the current voice recognition result corresponding to the current information segment.

[0053] According to a fifth aspect of an embodiment of the present disclosure, there is provided a speech recognition device, including:

[0054] A second recognition page display module is configured to execute and display a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control, and the voice recognition control is used to trigger voice recognition of the multimedia information to be recognized;

[0055] A second trigger operation response module is configured to execute a trigger operation based on the voice recognition control to scroll and display the recognition progress information of the multimedia information to be recognized in the multimedia information recognition page;

[0056] A second recognition result display module is configured to be executed in a target area of ​​the multimedia recognition page to display a current speech recognition result corresponding to a current information segment;

[0057] Among them, the target area is the area to which the recognition progress information moves at the current time, and the current time is the recognition time of the current information segment; the multimedia information to be recognized includes at least two information segments, and the current information segment is any unrecognized information segment determined from the at least two information segments based on a preset order.

[0058] In an optional embodiment, a mask layer is provided in the multimedia information recognition page, and the second trigger operation response module is configured to execute a trigger operation in response to the voice recognition control, display the voice recognition progress information in the mask layer, and scroll the recognition progress information in the mask layer along a preset direction.

[0059] In an optional embodiment, the multimedia information recognition page includes a recognition display area, and the second recognition result display module is configured to execute in the target area in the multimedia recognition page, display the current voice recognition result corresponding to the current information segment, and display the current voice recognition result in the recognition display area.

[0060] In an optional embodiment, the at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified, the multimedia information identification page includes a subtitle display area, a time display area, and an identification display area, and the first identification page display module or the second identification page display module is configured to display a time axis in the time display area, display a mask layer on the subtitle display area and the time display area, and display the voice recognition control in the identification display area;

[0061] Among them, the timeline includes at least two playback time intervals, and the at least two playback time intervals are obtained by dividing the total playback time of the multimedia information to be identified based on the preset time, each of the playback time intervals corresponds to each of the information fragments, and the preset order is determined based on the playback time order of each of the information fragments; the mask layer is used to display the recognition progress information of the multimedia information to be identified, and the recognition progress information is used to represent the time that has been identified in the total playback time.

[0062] In an optional embodiment, the subtitle display area includes an identified subtitle display sub-area, and the device further includes:

[0063] The semantic progress display module is configured to display the recognized speech recognition result corresponding to the recognized information segment in the recognized subtitle display sub-area, and display the recognized progress information within a second preset range located at the position of the recognized speech recognition result in the mask layer;

[0064] Among them, the identified subtitle display sub-area is located in a first preset range of the playback time interval corresponding to the identified information segment, and the playback time sequence of the identified information segment is earlier than the playback time sequence of the current information segment; the identified progress information is used to represent the identified duration that has been identified in the total playback duration, the identified progress information is vertically arranged with the subtitle display area and the time display area, and the intersection of the identified progress information and the time axis represents the identified duration.

[0065] In an optional embodiment, the subtitle display area further includes a current subtitle display subarea representing the target area, the current subtitle display subarea is located in a third preset range of the position of the identified subtitle display subarea, and the first recognition result display module or the second recognition result display module includes:

[0066] A current speech recognition result display unit, configured to display the current speech recognition result in the current subtitle display sub-area;

[0067] The current recognition progress information display unit is configured to display the current recognition progress information within a fourth preset range located within the mask layer where the current voice recognition result is located; the current recognition progress information is used to represent the current duration that has been recognized in the total playback duration of the multimedia information to be recognized, the current recognition progress information is vertically arranged with the subtitle display area and the time display area, and the intersection of the current recognition progress information and the time axis represents the current duration.

[0068] In an optional embodiment, the current speech recognition result is a current text recognition result, and the current speech recognition result display unit is configured to display the omitted information and part of the text in the current text recognition result in the current subtitle display subregion when the number of characters corresponding to the current text recognition result is greater than the number of target characters that can be accommodated in the current subtitle display subregion;

[0069] The number of characters corresponding to the partial characters is equal to the number of target characters, and the omitted information is used to represent the characters other than the partial characters in the current character recognition result.

[0070] In an optional embodiment, the current recognition progress information display unit is configured to move the recognized progress information from the second preset range where the recognized speech recognition result is located to the fourth preset range where the current text recognition result is located for display;

[0071] The identified progress information after the move is updated as the current identification progress information.

[0072] In an optional embodiment, the multimedia information identification page includes an identification display area, and the device further includes:

[0073] The recognition end instruction response module is configured to execute a recognition end instruction in response to the multimedia information to be recognized, and display the speech recognition result corresponding to each of the information segments in the recognition display area based on the preset order.

[0074] In an optional embodiment, the at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified, the identification display area includes an identification display sub-area corresponding to each of the information segments, and the identification display sub-area corresponding to each of the information segments includes a text area and a non-text area, and the identification end instruction response module includes:

[0075] The result time display unit is configured to display the speech recognition result corresponding to each information segment in the text area of ​​the recognition display sub-area corresponding to each information segment based on the preset order, and display the play time corresponding to each information segment and the time adjustment control corresponding to each information segment in the non-text area of ​​the recognition display sub-area corresponding to each information segment;

[0076] The time adjustment control corresponding to each of the information segments is used to adjust the play time corresponding to each of the information segments.

[0077] In an optional embodiment, the device further comprises:

[0078] A time adjustment operation response module is configured to execute a time adjustment operation in response to the time adjustment control corresponding to the target information segment, and update the speech recognition result displayed in the text area corresponding to the target information segment to the speech recognition result of the information segment corresponding to the adjusted playback time;

[0079] The target information segment is any one of the at least two information segments.

[0080] According to a sixth aspect of an embodiment of the present disclosure, there is provided a speech recognition device, including:

[0081] A voice recognition request receiving module, configured to execute a voice recognition request sent by a receiving terminal and carrying multimedia information to be recognized; the voice recognition request is sent by the terminal in response to a triggering operation based on a voice recognition control in a displayed multimedia information recognition page;

[0082] a division module, configured to execute, in response to the speech recognition request, division of the multimedia information to be recognized into at least two information segments;

[0083] a current information segment determination module, configured to sequentially determine, based on a preset order, any one of the at least two information segments as the current information segment;

[0084] A recognition module, configured to perform speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment;

[0085] The recognition result sending module is configured to execute sending of the current voice recognition result to the terminal; the terminal is used to display the current voice recognition result in the target area of ​​the multimedia information recognition page.

[0086] According to a seventh aspect of an embodiment of the present disclosure, a speech recognition system is provided, including a terminal and a server:

[0087] The terminal is used to display a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control; and is used to send a voice recognition request carrying the multimedia information to be recognized to a server in response to a trigger operation based on the voice recognition control; and is used to display a current voice recognition result returned by the server in a target area in the multimedia information recognition page;

[0088] The server is used to divide the multimedia information to be recognized into at least two information segments in response to the voice recognition request; and to determine, in sequence based on a preset order, any one of the at least two information segments that has not been recognized as the current information segment; and to perform voice recognition on the current information segment to obtain the current voice recognition result corresponding to the current information segment.

[0089] According to an eighth aspect of an embodiment of the present disclosure, there is provided an electronic device for speech recognition, including:

[0090] processor;

[0091] a memory for storing instructions executable by the processor;

[0092] The processor is configured to execute the instructions to implement the speech recognition method as described in any of the above embodiments.

[0093] According to the ninth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device executes the speech recognition method as described in any of the above embodiments.

[0094] According to the tenth aspect of the embodiments of the present disclosure, there is provided a computer program product, comprising a computer program, characterized in that when the computer program is executed by a processor, the speech recognition method described in any of the above-mentioned embodiments is implemented.

[0095] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0096] The embodiment of the present disclosure displays a multimedia information recognition page including a voice recognition control in the page, and in response to a trigger operation based on the voice recognition control, sends a voice recognition request carrying the multimedia information to be recognized to a server; the server is used to divide the multimedia information to be recognized into at least two information segments in response to the voice recognition request; and is used to sequentially confirm any unrecognized information segment of the at least two information segments as the current information segment based on a preset order; and is used to perform voice recognition on the current information segment to obtain a current voice recognition result corresponding to the current information segment; in the multimedia information recognition page, the current voice recognition result returned by the server is displayed, so that the terminal can display a voice recognition result in the multimedia information recognition page at regular intervals, thereby improving the display efficiency of the voice recognition result of the multimedia information to be recognized, reducing the waiting time of the terminal account, and improving the convenience of interaction between the terminal account and the multimedia information to be recognized and the multimedia information editing software.

[0097] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0099] Figure 1 The figure is a schematic diagram of an application environment of speech recognition according to an exemplary embodiment.

[0100] Figure 2 A process of a speech recognition method according to an exemplary embodiment is shown Figure 1 .

[0101] Figure 3 A process of a speech recognition method according to an exemplary embodiment is shown Figure 2 .

[0102] Figure 4 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 1 .

[0103] Figure 5 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 2 .

[0104] Figure 6 The present invention is a flowchart showing a method of displaying a current speech recognition result and current progress information of multimedia information to be recognized in a multimedia information recognition page according to an exemplary embodiment.

[0105] Figure 7 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 3 .

[0106] Figure 8 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 4 .

[0107] Fig. 9 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 5 .

[0108] Fig.10 A speech recognition device frame is shown according to an exemplary embodiment Figure 1 .

[0109] Fig.11 A speech recognition device frame is shown according to an exemplary embodiment Figure 2 .

[0110] Fig.12 The invention is a block diagram of an electronic device for speech recognition according to an exemplary embodiment. DETAILED DESCRIPTION

[0111] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0112] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0113] See also Figure 1 , Figure 1 is a schematic diagram of an application environment of speech recognition according to an exemplary embodiment. Figure 1 As shown, the application environment may include a terminal 01 and a server 02 .

[0114] In an optional embodiment, terminal 01 can be used to display a multimedia information recognition page including a voice recognition control; and to send a voice recognition request carrying multimedia information to be recognized to a server in response to a trigger operation based on the voice recognition control; and to display the current voice recognition result returned by the server in a target area in the multimedia information recognition page. Specifically, terminal 01 may include but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc. Optionally, the operating system running on the electronic device may be but is not limited to Android, IOS, Linux, Windows, etc.

[0115] In an optional embodiment, the server 02 can be used to provide background services for the terminal 01. The server 02 can be used to respond to a speech recognition request, divide the multimedia information to be recognized into at least two information segments; and to determine in sequence based on a preset order that any one of the at least two information segments that has not been recognized is the current information segment; and to perform speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment. Exemplarily, the server 02 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0116] In addition, it should be noted that Figure 1 What is shown is only one application environment of the speech recognition method provided by the present disclosure. In other scenarios, there may be other application environments, which are not limited by the present disclosure.

[0117] Figure 2 A process of a speech recognition method according to an exemplary embodiment is shown Figure 1 ,like Figure 2 As shown, the method may include the following steps.

[0118] In step S11, a multimedia information recognition page is displayed; the multimedia information recognition page includes a voice recognition control.

[0119] Optionally, in a multimedia information editing scenario, the multimedia information to be identified can be voice recognized by the multimedia information editing software. The multimedia information recognition page can be a page in the multimedia information editing software for voice recognition of the multimedia information to be identified. Exemplarily, during the process of identifying the multimedia information to be identified, the terminal can open the multimedia information editing software and display the multimedia information recognition page. The multimedia information recognition page may include an information loading control and a voice recognition control, the information loading control is used to upload the multimedia information to be identified to the multimedia information editing software, and the voice recognition control is used to trigger voice recognition of the multimedia information to be identified.

[0120] It should be noted that the multimedia information to be identified may be multimedia information including voice information, which may include but is not limited to: video, audio, etc.

[0121] In step S13, in response to a trigger operation based on the above-mentioned voice recognition control, a voice recognition request carrying the multimedia information to be recognized is sent to the server; the above-mentioned server is used to divide the multimedia information to be recognized into at least two information segments in response to the voice recognition request; and is used to determine in sequence based on a preset order that any one of the above-mentioned at least two information segments that has not been recognized is the current information segment; and is used to perform voice recognition on the current information segment to obtain a current voice recognition result corresponding to the current information segment.

[0122] In step S15, the current speech recognition result corresponding to the current information segment returned by the server is received.

[0123] In step S17, the current speech recognition result corresponding to the current information segment is displayed in the target area of ​​the multimedia information recognition page.

[0124] Optionally, in the above step S13, the terminal account can operate (for example, click, slide, drag, etc.) the voice recognition control to trigger a voice recognition request, and the terminal responds to the voice recognition request and sends a voice recognition request carrying the multimedia information to be recognized to the server. The server is used to respond to the above voice recognition request and divide the multimedia information to be recognized into at least two information segments. Optionally, the server can divide the multimedia information to be recognized into at least two information segments in a variety of ways, which are not specifically limited.

[0125] In one embodiment, the server may divide the multimedia information to be identified based on the preset duration and the playback time sequence of the multimedia information to be identified to obtain the at least two information segments. For example, if the total playback duration of the multimedia information to be identified is 20s and the preset duration is 5s, then according to the preset duration and the playback time sequence of the multimedia information to be identified, the multimedia information to be identified may be divided into: information segment 1 corresponding to 0-5s, information segment 2 corresponding to 5s-10s, information segment 3 corresponding to 10s-15s, and information segment 4 corresponding to 15s-20s. The format of the information segment may be: {data: "information segment 1", startTime: "0", endTime: "5"}, {data: "information segment 2", startTime: "5", endTime: "10"}, {data: "information segment 3", startTime: "10", endTime: "15"}, {data: "information segment 4", startTime: "15", endTime: "20"}.

[0126] In another embodiment, the server may divide the multimedia information to be identified based on the preset voice volume and the play time sequence of the multimedia information to be identified to obtain the at least two information segments. For example, if the total voice volume contained in the multimedia information to be identified is 2KB and the preset voice volume is 0.5KB, then according to the preset voice volume and the play time sequence of the multimedia information to be identified, the multimedia information to be identified may be divided into: information segments corresponding to 0-0.5KB, information segments corresponding to 0.5KB-1KB, information segments corresponding to 1KB-1.5KB, and information segments corresponding to 1.5KB-2KB.

[0127] Optionally, in the above step S13, the above preset order can be determined based on the playback time sequence of the above at least two information segments. After the server obtains multiple information segments, it can determine in sequence based on the preset order that any one of the at least two information segments is the current information segment; and perform voice recognition on the current information segment to obtain a current voice recognition result corresponding to the current information segment. In the above step S15, the server sends the current voice recognition result to the terminal. In the above step S17, the terminal can display the current voice recognition result in the target area of ​​the multimedia information recognition page.

[0128] In an optional embodiment, the speech recognition result may be a text recognition result, that is, the speech in the multimedia information to be recognized is converted into text. In another optional embodiment, the speech recognition result may be a non-text recognition result. For example, the non-text recognition result may be an emotion recognition result, that is, the emotion of the terminal account corresponding to the speech in the multimedia information to be recognized is recognized.

[0129] For example, the server divides the multimedia information to be identified based on the preset duration and the playback time sequence of the multimedia information to be identified, and the obtained at least two information segments may be: information segment 1 corresponding to 0-5s, information segment 2 corresponding to 5s-10s, information segment 3 corresponding to 10s-15s, and information segment 4 corresponding to 15s-20s. The playback time sequence of each information segment is: information segment 1-information segment 2-information segment 3-information segment 4. Then the preset sequence may be: information segment 1-information segment 2-information segment 3-information segment 4. The server may first use information segment 1 as the current information segment, obtain the current voice recognition result 1 of information segment 1, and the server sends the current voice recognition result 1 to the terminal, and the terminal displays the current voice recognition result 1 in the multimedia information recognition page. The server then uses information segment 2 as the current information segment, obtains the current voice recognition result 2 of information segment 2, and the server sends the current voice recognition result 2 to the terminal, and the terminal displays the current voice recognition result 2 in the multimedia information recognition page. The server then uses information segment 3 as the current information segment, obtains the current voice recognition result 3 of information segment 3, and sends the current voice recognition result 3 to the terminal, which displays the current voice recognition result 3 in the multimedia information recognition page. The server then uses information segment 4 as the current information segment, obtains the current voice recognition result 4 of information segment 4, and sends the current voice recognition result 4 to the terminal, which displays the current voice recognition result 4 in the multimedia information recognition page. The disclosed embodiment uses the above scheme to enable the terminal to display a voice recognition result in the multimedia information recognition page at regular intervals, which not only improves the display efficiency of the voice recognition results of the multimedia information to be recognized, but also reduces the waiting time of the terminal account, and improves the convenience of interaction between the terminal account and the multimedia information to be recognized and the multimedia information editing software.

[0130] Figure 3 A process of a speech recognition method according to an exemplary embodiment is shown Figure 2 ,like Figure 3 As shown, the speech recognition method may include:

[0131] In step S21, a multimedia information recognition page is displayed; the multimedia information recognition page includes a voice recognition control, and the voice recognition control is used to trigger voice recognition of the multimedia information to be recognized;

[0132] In step S23, in response to the triggering operation based on the voice recognition control, the recognition progress information of the multimedia information to be recognized is scrolled and displayed in the multimedia information recognition page;

[0133] In step S25, the current speech recognition result corresponding to the current information segment is displayed in the target area of ​​the multimedia recognition page;

[0134] Among them, the above-mentioned target area is the area where the recognition progress information moves at the current time, and the current time is the recognition time of the current information segment; the multimedia information to be recognized includes at least two information segments, and the current information segment is any unrecognized information segment determined from at least two information segments based on a preset order.

[0135] Optionally, in the above step S11 or the above step S21, the embodiment of the present disclosure may display the multimedia information identification page in a variety of ways, which are not specifically limited.

[0136] In one implementation, the at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified, and the multimedia information identification page includes a subtitle display area, a time display area, and an identification display area. In the above step S11 or the above step S21, the multimedia information identification page may include:

[0137] Displaying a time axis in the time display area, displaying a mask layer on the subtitle display area and the time display area, and displaying a speech recognition control in the recognition display area;

[0138] Among them, the above-mentioned time axis includes at least two playback time intervals, and the at least two playback time intervals are obtained by dividing the total playback time of the multimedia information to be identified based on a preset time length, each playback time interval corresponds to each information segment, and the preset order is determined based on the playback time order of each information segment; the above-mentioned mask layer is used to display the recognition progress information of the multimedia information to be identified, and the above-mentioned recognition progress information is used to represent the time length that has been recognized in the total playback time.

[0139] It should be noted that the subtitle display area, time display area and identification display area can be set at any position in the multimedia information identification page, and the embodiment of the present disclosure does not specifically limit this. Figure 4 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 1 ,like Figure 4 As shown, the subtitle display area can be located in the lower area of ​​the time display area, the identification display area can be located in the upper area of ​​the subtitle display area, and so on.

[0140] In this embodiment, a recognition display area can be set in the multimedia information recognition page, and the voice recognition control can be displayed in the recognition display area. The voice recognition control can be set at any position in the recognition display area, and the present disclosure does not specifically limit this. Figure 4 As shown, the voice recognition control recognition control can be displayed in the center position of the recognition display area.

[0141] In this embodiment, the total playing time of the multimedia information to be identified can be divided into at least two playing time intervals based on the above preset time intervals, the time axis is generated based on the at least two playing time intervals, and the time axis is displayed in the time display area. Figure 3 As shown, the total playing time of the multimedia information to be identified is 20s, and the preset time is 5s, then the at least two playing time intervals can be: playing time interval 1 of 0-5s, playing time interval 2 of 5s-10s, playing time interval 3 of 10s-15s, and playing time interval 4 of 15s-20s. It can be seen that the number of the at least two playing time intervals is equal to the number of the at least two information segments, and each playing time interval corresponds to each information segment, that is, each playing time interval corresponds to the playing time of one information segment.

[0142] In this embodiment, the recognition progress information of the multimedia information to be recognized can be injected into the mask layer, and the mask layer is set above the subtitle display area and the time display area, and with the transparent mask layer, the recognition progress information of the multimedia information to be recognized can be displayed to the terminal account, and the recognition progress information is used to characterize the duration that has been recognized in the total playback duration of the multimedia information to be recognized. As an example, when the total playback duration (duration) of the multimedia information to be recognized and the end time (endtime) of the playback time interval corresponding to the current information segment are known, the recognition progress information (progress) can be calculated. For example, if the total playback duration is 20s, and the end time of the playback time interval corresponding to the current information segment is 10s, then the current recognition progress information is 10s. In addition, the mask layer is covered on the subtitle display area and the time display area, and the content under the mask layer is locked, so that the content under the mask layer can be in a non-operating state, avoiding the defect of low voice recognition accuracy caused by the terminal account dragging the unfinished track content (including the content in the subtitle display area corresponding to the subtitle track and the content in the time display area corresponding to the time track).

[0143] In the disclosed embodiment, by displaying a voice recognition control in the recognition display area, the convenience of interaction between the terminal account and the multimedia information to be recognized can be improved; by displaying a timeline including at least two playback time intervals in the time display area, the recognition progress information of the multimedia information to be recognized can be accurately displayed to the terminal account, further improving the convenience of interaction between the terminal account and the multimedia information to be recognized and the multimedia information editing software; in addition, a mask layer is displayed on the subtitle display area and the time display area, and the recognition progress information is injected into the mask layer, which not only improves the convenience of displaying the recognition progress information to the terminal account, but also makes the content under the mask layer in a non-operational state, thereby improving the voice recognition accuracy of the multimedia information to be recognized.

[0144] In another embodiment, the multimedia information recognition page includes a subtitle display area, a voice volume display area, and an identification display area. In the above step S11 or the above step S21, the multimedia information recognition page may include:

[0145] A speech volume axis is displayed in the speech volume display area, a mask layer is displayed on the subtitle display area and the speech volume display area, and a speech recognition control is displayed in the recognition display area; wherein the speech volume axis includes at least two speech intervals, the mask layer is used to inject recognition progress information of the multimedia information to be recognized, and the recognition progress information is used to characterize the speech volume that has been recognized in the total speech volume.

[0146] In a feasible embodiment, the subtitle display area includes a recognized subtitle display subarea. Before displaying the current information segment corresponding to the current speech recognition result, that is, before step S17 or step S25, the method may further include:

[0147] Displaying the recognized speech recognition result corresponding to the recognized information segment in the recognized subtitle display sub-area, and displaying the recognized progress information in the second preset range located at the position of the recognized speech recognition result in the mask layer;

[0148] Among them, the above-mentioned identified subtitle display sub-area is located in the first preset range of the playback time interval corresponding to the identified information segment, and the playback time sequence of the above-mentioned identified information segment is earlier than the playback time sequence of the current information segment; the above-mentioned identified progress information is used to represent the identified time that has been identified in the total playback time, and the above-mentioned identified progress information is vertically arranged with the subtitle display area and the time display area, and the intersection of the above-mentioned identified progress information and the time axis represents the identified time.

[0149] Optionally, the information segment of the at least two information segments whose playback time sequence is earlier than that of the current information segment can be used as the recognized information segment. Since the terminal displays the recognized voice recognition result of the recognized information segment before the server returns the current voice recognition result corresponding to the current information segment, a recognized subtitle display subarea can be set in the subtitle display area, and the recognized voice recognition result corresponding to the recognized information segment can be displayed in the recognized subtitle display subarea. Since each information segment corresponds to a playback time interval, as an example, the recognized subtitle display subarea can be located within the first preset range of the playback time interval corresponding to the recognized information segment. Specifically, it can be located in the area below the playback time interval corresponding to the recognized information segment. Figure 5 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 2 ,like Figure 5 As shown, the identified information segment is the above-mentioned information segment 1, and the playback time interval corresponding to the information segment 1 is 0-5s. Then the identified subtitle display sub-area can be located in the lower area of ​​the playback time interval of 0-5s.

[0150] Optionally, in order to display the recognized progress information, the terminal may also display the recognized progress information within a second preset range located at the position where the recognized speech recognition result is located in the mask layer. As an example, the second preset range may be the rear area of ​​the position where the recognized speech recognition result is located. Figure 5 As shown, the recognized progress information can be displayed in the rear area of ​​the position where the recognized speech recognition result is located. The recognized progress information is used to represent the recognized duration that has been recognized in the total playback duration. For example, if the total playback duration is 20 seconds and the end time of the playback time interval corresponding to the recognized information segment is 5 seconds, the recognized progress information is 5 seconds.

[0151] Since the recognition progress information is injected into the mask layer, the recognition progress information can be displayed in the mask layer in a variety of ways, and the embodiments of the present disclosure do not specifically limit this. In one embodiment, the recognized progress information can be an axis perpendicular to the subtitle display area and the time display area, and the intersection of the recognized progress information and the time axis represents the recognized duration. In another embodiment, the recognition progress information can be recognition progress prompt information set behind the recognized subtitle display sub-area, and the recognition progress prompt information can be displayed in the form of text and / or images. Taking text as an example, the recognized progress prompt information can be "The recognized progress information is xx".

[0152] In the disclosed embodiment, by displaying the recognized voice recognition result corresponding to the recognized information segment in the recognized subtitle display sub-area, the terminal can display a voice recognition result in the multimedia information recognition page at regular intervals, thereby improving the display efficiency of the voice recognition result of the multimedia information to be recognized, reducing the waiting time of the terminal account, and improving the convenience of interaction between the terminal account and the video and the video editing software; in addition, displaying the recognized progress information within the second preset range of the position of the recognized voice recognition result in the mask layer can further conveniently and accurately display the recognized progress information to the terminal account, further improving the convenience of interaction between the terminal account and the multimedia information to be recognized and the multimedia information editing software.

[0153] In an operable embodiment, when multiple information segments are obtained based on the division of speech volume, the identified subtitle display sub-area can be located within a first preset range of the speech interval corresponding to the identified information segment, and the identified progress information is used to characterize the identified speech volume that has been identified in the total speech volume. The identified progress information is arranged vertically with the subtitle display area and the above-mentioned time display area, and the intersection of the identified progress information and the speech volume axis represents the identified speech volume.

[0154] Figure 6 is a flow chart showing a method of displaying the current speech recognition result and the current progress information of the multimedia information to be recognized in the multimedia information recognition page according to an exemplary embodiment. Figure 6 As shown, in an optional embodiment, the subtitle display area may further include a current subtitle display sub-area representing the target area, and the current subtitle display sub-area is located in a third preset range of the position of the identified subtitle display sub-area. In the above step S17 or the above step S25, the above display of the current information segment corresponding to the current speech recognition result may include:

[0155] In step 31, the current speech recognition result is displayed in the current subtitle display sub-area.

[0156] In step 33, the current recognition progress information is displayed within the fourth preset range of the position of the current speech recognition result in the above-mentioned mask layer; the above-mentioned current recognition progress information is used to represent the current duration that has been recognized in the total playback duration of the multimedia information to be recognized, and the above-mentioned current recognition progress information is vertically arranged with the subtitle display area and the time display area, and the intersection of the above-mentioned current recognition progress information and the time axis represents the current duration.

[0157] Optionally, in the above step S31, since the terminal has displayed the recognized speech recognition result of the recognized information segment before the server returns the current speech recognition result corresponding to the current information segment, the current subtitle display sub-area can be set in the subtitle display area, and the current speech recognition result corresponding to the current information segment can be displayed in the current subtitle display sub-area. Since each information segment corresponds to a playback time interval, as an example, the current subtitle display sub-area can be located within a preset range of the playback time interval corresponding to the current information segment, that is, within a third preset range of the location of the recognized subtitle display sub-area. Specifically, the third preset range can be located in the rear area of ​​the location of the recognized subtitle display sub-area. Figure 7 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 3 ,like Figure 7 As shown, the current information segment is the above-mentioned information segment 2, and the playback time interval corresponding to information segment 2 is 5s-10s. The current subtitle display sub-area can be located in the lower area of ​​the playback time interval of 5s-10s, and in the rear area of ​​the position of the identified subtitle display sub-area.

[0158] Optionally, in the above step S33, in order to display the current recognition progress information, the terminal can also display the current recognition progress information within the fourth preset range of the location of the current voice recognition result in the mask layer. The current recognition progress information can be used to characterize the current duration that has been recognized in the total playback duration of the multimedia information to be recognized. For example, the total playback duration is 20s, and the end time of the playback time interval corresponding to the current information segment is 10s, then the current recognition progress information is 10s. As an example, the fourth preset range can be the rear area of ​​the location of the current voice recognition result. The current recognition progress information is used to characterize the current duration that has been recognized in the total playback duration. Continue as Figure 7 As shown, the current recognition progress information can be displayed in the rear area where the current speech recognition result is located.

[0159] Since the recognition progress information is injected into the mask layer, the recognition progress information can be displayed in the mask layer in a variety of ways, and the present disclosure does not make specific limitations on this. In one embodiment, the current recognized progress information can be an axis perpendicular to the subtitle display area and the time display area, and the intersection of the current recognition progress information and the time axis represents the current duration. In another embodiment, the current recognition progress information can be recognition progress prompt information set behind the current subtitle display sub-area. The recognition progress prompt information can be displayed in the form of text and / or images. Taking text as an example, the current recognition progress prompt information can be "The current recognition progress information is xx".

[0160] In the disclosed embodiment, by displaying the current voice recognition result corresponding to the current information segment in the current subtitle display sub-area, the terminal can display a voice recognition result in the multimedia information recognition page at regular intervals, thereby improving the display efficiency of the voice-to-text recognition results of the multimedia information to be recognized, reducing the waiting time of the terminal account, and improving the convenience of interaction between the terminal account and the multimedia information to be recognized and the multimedia information editing software; in addition, by displaying the current recognition progress information within the fourth preset range of the current text recognition result in the mask layer, the current recognition progress information can be further displayed to the terminal account conveniently and accurately, further improving the convenience of interaction between the terminal account and the multimedia information to be recognized and the multimedia information editing software.

[0161] In an operable embodiment, when multiple information segments are obtained based on the division of speech volume, the current recognition progress information is used to represent the current speech volume that has been recognized in the total speech volume. The current recognition progress information is vertically arranged with the subtitle display area and the time display area, and the intersection of the current recognition progress information and the speech volume axis represents the current speech volume.

[0162] Optionally, in the above step S31, the terminal may display the current speech recognition result in the current subtitle display sub-area in a variety of ways, which are not specifically limited here.

[0163] In one implementation, the current speech recognition result is a current text recognition result. Then, in the step S31, displaying the current speech recognition result in the current subtitle display sub-area may include:

[0164] When the number of characters corresponding to the current character recognition result is greater than the number of target characters that can be accommodated in the current subtitle display subregion, displaying omitted information and part of the characters in the current character recognition result in the current subtitle display subregion;

[0165] The number of characters corresponding to the partial characters is equal to the number of target characters, and the omitted information is used to represent the characters other than the partial characters in the current character recognition result.

[0166] Optionally, when the number of characters corresponding to the current text recognition result is greater than the target number of characters that the current subtitle display sub-area can accommodate, it indicates that the current subtitle display sub-area cannot display all the characters in the current text recognition result. In this case, part of the characters in the current text recognition result can be displayed, and the number of characters corresponding to the part of the characters is equal to the target number of characters that the current subtitle display sub-area can accommodate. As for the characters that are not displayed, they can be replaced by omitting information, which not only enables the current text recognition result to be displayed in the current subtitle display sub-area, but also improves the neatness and aesthetics of the display of the current text recognition result, thereby further improving the convenience and interactive experience of the terminal account and the multimedia information to be recognized.

[0167] In one implementation, when the number of characters corresponding to the current character recognition result is less than or equal to the number of target characters that can be accommodated in the current subtitle display subregion, the terminal may directly display the current character recognition result in the current subtitle display subregion.

[0168] Optionally, in the above step S33, the terminal may display the current recognition progress information in a fourth preset range located within the mask layer where the current text recognition result is located in a variety of ways, which are not specifically limited here.

[0169] In one embodiment, the above-mentioned step S33 may include: moving the above-mentioned recognized progress information from the second preset range where the above-mentioned recognized speech recognition result is located to the fourth preset range where the current text recognition result is located for display; wherein the moved recognized progress information is updated to the current recognition progress information.

[0170] In this embodiment, since the recognized progress information has been displayed before the current recognition progress is displayed, when the current recognition progress information is displayed, the recognized progress information can be moved from the second preset range of the location of the recognized voice recognition result to the fourth preset range of the location of the current text recognition result for display, and the recognized progress information after the move becomes the current recognition progress information. Taking the second preset range as the rear area of ​​the location of the recognized voice recognition result and the fourth preset range as the rear area of ​​the location of the current text recognition result as an example, the terminal can move the recognized progress information from the rear area of ​​the location of the recognized voice recognition result to the rear area of ​​the location of the current text recognition result for display, thereby displaying the recognition progress information change information of the multimedia information to be recognized to the terminal account through the dynamic movement of the recognition progress information, further improving the convenience and interactive experience of the terminal account and the multimedia information to be recognized and the multimedia information editing software.

[0171] In an optional embodiment, in the above step S23, in response to the repeated operation based on the above voice recognition control, scrolling and displaying the recognition progress information of the multimedia information to be recognized in the above multimedia information recognition page may include:

[0172] In response to a triggering operation based on a voice recognition control, the voice recognition progress information is displayed in the mask layer, and the recognition progress information is scrolled along a preset direction in the mask layer.

[0173] In this embodiment, after the terminal account triggers the voice recognition control, the terminal displays the voice recognition progress information in the mask layer, and causes the recognition progress information to scroll along a preset direction in the mask layer. Exemplarily, the preset direction may be any direction, for example, a direction from left to right in the mask layer. Figure 4 As shown, after the terminal account triggers the voice recognition control, the voice recognition progress information can be displayed on the leftmost side of the mask layer, and during the recognition of the current information segment, the recognition progress information is scrolled from left to right in the mask layer, for example, scrolling to Figure 5 The position shown in Figure 5 Scroll to the location shown Figure 7 The terminal is enabled to display the current speech recognition result corresponding to the current information segment in real time in the target area where the recognition progress information has scrolled. For example, Figure 4 Scroll to Figure 5 In the process of Figure 5 Scroll to Figure 7 In the process of recognizing the current information segment, if the target area is the current subtitle display subarea, the current voice recognition result is displayed in the current subtitle display subarea. Thus, in the process of recognizing the current information segment, the recognition progress is scrolled in real time, and the current voice recognition result corresponding to the current information segment is displayed in real time, that is, "displaying the recognition progress information while recognizing" is realized, which can further conveniently and accurately display the recognition progress information to the terminal account, and further improve the convenience of interaction between the terminal account and the multimedia information to be recognized and the multimedia information editing software.

[0174] In an optional embodiment, the above method may further include:

[0175] In response to a recognition end instruction of the multimedia information to be recognized, current recognition progress information is hidden.

[0176] In this embodiment, the terminal can establish a connection with the server using a polling method, that is, the terminal periodically sends a query to the server to ask whether the server needs the terminal service. If necessary, the terminal establishes a connection with the server, or the terminal establishes a long connection with the server. After the server completes the semantic recognition operation of the last information segment and sends the voice recognition result corresponding to the last information segment to the terminal through the above connection method, the server can send a recognition end instruction to the terminal through the above connection method to indicate the end of the recognition of the multimedia information. In response to the recognition end instruction, the terminal hides the current recognition progress information, thereby prompting the terminal account that the voice recognition of the multimedia information to be recognized has ended through the hiding of the current recognition progress information, further improving the convenience and interactive experience of the terminal account and the multimedia information to be recognized.

[0177] Figure 8 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 4 ,like Figure 8 As shown, when the server sends a recognition end instruction to the terminal indicating that the multimedia information recognition is complete, the terminal responds to the recognition end instruction and hides the current recognition progress information and the mask layer.

[0178] It should be noted that the last information segment is the latest information segment in the play time sequence among the multiple information segments. For example, the last information segment is the above-mentioned information segment 4.

[0179] In a feasible embodiment, the multimedia information identification page includes identifying a display area, and the method may further include:

[0180] In response to a recognition end instruction of the multimedia information to be recognized, the speech recognition result corresponding to each information segment is displayed in the recognition display area based on a preset order.

[0181] In this embodiment, after the server completes the semantic recognition operation on the last information segment and sends the speech recognition result corresponding to the last information segment to the terminal, the server can send a recognition end instruction to the terminal indicating the end of the recognition of the multimedia information. In response to the recognition end instruction, the terminal displays the speech recognition result corresponding to each information segment in the recognition display area based on a preset order. Figure 8As shown, the preset order is information segment 1-information segment 2-information segment 3-information segment 4. In the recognition display area, the voice recognition result 1 corresponding to the information segment 1, the voice recognition result 2 corresponding to the information segment 2, the voice recognition result 3 corresponding to the information segment 3, and the voice recognition result 4 corresponding to the information segment 4 are displayed in sequence from top to bottom, so that after the recognition of the multimedia information to be recognized is completed, the voice recognition result corresponding to each information segment is displayed in a recognition display area, which improves the convenience of the terminal account to view the voice recognition result corresponding to each information segment, thereby further improving the convenience and interactive experience of the terminal account and the multimedia information to be recognized.

[0182] Optionally, the embodiment of the present disclosure may display the speech recognition result corresponding to each of the above information segments in the recognition display area based on the above preset order in a variety of ways, and no specific limitation is made to this.

[0183] In one embodiment, the at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified by the server, the identification display area includes an identification display sub-area corresponding to each information segment, and the identification display sub-area corresponding to each information segment includes a text area and a non-text area. The displaying of the speech recognition result corresponding to each information segment in the identification display area based on the preset sequence may include:

[0184] Based on the above-mentioned preset order, the voice recognition result corresponding to each of the above-mentioned information segments is displayed in the text area of ​​the identification display sub-area corresponding to each of the above-mentioned information segments, and the playback time corresponding to each of the above-mentioned information segments and the time adjustment control corresponding to each of the above-mentioned information segments are displayed in the non-text area of ​​the identification display sub-area corresponding to each of the above-mentioned information segments; wherein the time adjustment control corresponding to each of the information segments is used to adjust the playback time corresponding to each of the information segments.

[0185] In this embodiment, the identification display area can be divided into multiple identification display sub-areas, the number of the multiple identification display sub-areas is equal to the number of at least two information segments, and the identification display sub-area corresponding to each information segment includes a text area and a non-text area, and the text area and the non-text area can be set at any position in the identification display sub-area, and the present disclosure does not specifically limit this. For example, the non-text area is located in the area below the text area, etc. The terminal can display the voice recognition result corresponding to each information segment in the text area of ​​the identification display sub-area corresponding to each of the above information segments based on a preset order, and display the playback time corresponding to each information segment in the non-text area of ​​the identification display sub-area corresponding to each information segment. Wherein, the playback time can be the start time and the end time of the playback time interval corresponding to each information segment. In addition, the time adjustment control corresponding to each information segment can also be displayed; wherein, the time adjustment control corresponding to each information segment is used to adjust the playback time corresponding to each information segment.

[0186] Fig. 9 A schematic diagram of a multimedia information identification page according to an exemplary embodiment Figure 5 ,like Fig. 9 As shown, the preset order is information segment 1-information segment 2-information segment 3-information segment 4. In the recognition display area, in the order from top to bottom, the voice recognition result 1 corresponding to the information segment 1 is displayed in the text area of ​​the recognition display sub-area corresponding to the information segment 1, and the playback time (the left side is the start time, the right side is the end time) and the time adjustment control corresponding to the information segment 1 are displayed in the non-text area of ​​the recognition display sub-area corresponding to the information segment 1. The voice recognition result 2 corresponding to the information segment 2 is displayed in the text area of ​​the recognition display sub-area corresponding to the information segment 2, and the playback time and time adjustment control corresponding to the information segment 2 are displayed in the non-text area of ​​the recognition display sub-area corresponding to the information segment 2, ..., so that after the recognition of the multimedia information to be recognized is completed, the voice recognition result, playback time and time adjustment control corresponding to each information segment are displayed in one recognition display area, which improves the convenience of the terminal account to view the voice recognition result corresponding to each information segment and the convenience of the terminal account to adjust the playback time corresponding to each information segment, thereby further improving the interaction convenience and interaction experience between the terminal account and the multimedia information to be recognized.

[0187] In an exemplary embodiment, when multiple information segments are identified based on the voice volume of the multimedia information to be identified, the identification display area may include an identification display sub-area corresponding to each of the above information segments, and the identification display sub-area corresponding to each information segment includes a text area and a non-text area, and the non-text area is used to display the voice volume corresponding to each information segment, for example, the non-text area is used to display the starting voice volume and the ending voice volume corresponding to each information segment. In addition, the voice volume adjustment control corresponding to each information segment can also be displayed; wherein the voice volume adjustment control corresponding to each information segment is used to adjust the voice volume corresponding to each information segment.

[0188] In an optional embodiment, in the above step S17 or the above step S25, displaying the current speech recognition result corresponding to the current information segment in the target area of ​​the above multimedia recognition page may also include:

[0189] In the target area of ​​the multimedia recognition page, the current voice recognition result corresponding to the current information segment is displayed, and the current voice recognition result is displayed in the recognition display area.

[0190] In this embodiment, the current voice recognition result corresponding to the current information segment can also be displayed in the target area while the current voice recognition result can be displayed in real time in the above-mentioned recognition display area, thereby realizing the real-time display of the current voice recognition result in multiple areas, improving the flexibility and convenience of the display of the current voice recognition result, and further improving the convenience of interaction between the terminal account and the multimedia information to be identified and the multimedia information editing software.

[0191] It should be noted that the method of displaying the current speech recognition result in the recognition display area is the same as that in the above Figure 8 and Fig. 9 The same as in , I will not repeat them here.

[0192] In an optional embodiment, the above method may further include:

[0193] In response to a time adjustment operation triggered by a time adjustment control corresponding to the target information segment, the speech recognition result displayed in the text area corresponding to the target information segment is updated to the speech recognition result of the information segment corresponding to the adjusted playback time;

[0194] The target information segment is any one of the at least two information segments.

[0195] In this embodiment, since the play time corresponding to each information segment and the time adjustment control corresponding to each information segment are displayed in the non-text area of ​​the identification display sub-area corresponding to each of the above information segments, the time adjustment control corresponding to each information segment is used to adjust the play time corresponding to each information segment. When it is necessary to adjust the order of the speech recognition results corresponding to a certain target information segment, the terminal account can operate the time adjustment control corresponding to the target information segment, thereby triggering the time adjustment operation, and the terminal responds to the time adjustment operation, records the adjusted play time, obtains the speech recognition result of the information segment corresponding to the adjusted play time, and updates the speech recognition result displayed in the text area corresponding to the target information segment to the speech recognition result of the information segment corresponding to the adjusted play time, thereby improving the convenience of adjusting the display order of the speech recognition results corresponding to the information segments, and further improving the convenience and interactive experience of the terminal account and the multimedia information to be recognized.

[0196] For example, the target information segment is the above-mentioned information segment 1, and its corresponding playback time interval is 0-5s. The terminal account adjusts the time adjustment control corresponding to the information segment 1, and adjusts 0-5s to 5-10s. 5-10s is the playback time interval corresponding to the above-mentioned information segment 2. The terminal then obtains the voice recognition result of information segment 2, and updates the voice recognition result displayed in the text area corresponding to information segment 1 to the voice recognition result corresponding to information segment 2.

[0197] In an optional embodiment, a text adjustment control corresponding to each information segment may be displayed in a non-text area of ​​the identification display sub-area corresponding to each of the above information segments, and the text adjustment control is used to adjust the speech recognition result displayed in the text area of ​​the identification display sub-area corresponding to each of the above information segments. Exemplarily, the adjustment includes but is not limited to: deleting, editing, downloading, sharing, saving, jumping to the corresponding information segment in the multimedia information to be recognized, etc.

[0198] In the case where the text adjustment control is used to delete the speech recognition result, the terminal deletes the corresponding speech recognition result in response to the triggering operation of the terminal account based on the text adjustment control.

[0199] In the case where the text adjustment control is used to edit the speech recognition result, the terminal edits the corresponding speech recognition result in response to a triggering operation of the terminal account based on the text adjustment control.

[0200] In the case where the text adjustment control is used to download the speech recognition result, the terminal downloads the corresponding speech recognition result in response to the triggering operation of the terminal account based on the text adjustment control.

[0201] In the case where the text adjustment control is used to share the voice recognition result, the terminal shares the corresponding voice recognition result to other terminal accounts in response to the triggering operation of the terminal account based on the text adjustment control.

[0202] In the case where the text adjustment control is used to save the speech recognition result, the terminal saves the corresponding speech recognition result in response to the triggering operation of the terminal account based on the text adjustment control.

[0203] When the text adjustment control is used to jump to the corresponding position in the multimedia information to be identified, the terminal responds to the triggering operation of the terminal account based on the text adjustment control, jumps to the information segment corresponding to the voice recognition result in the multimedia information to be identified, and displays the information segment.

[0204] In an optional embodiment, when the number of the at least two information segments meets a preset condition, displaying the speech recognition result corresponding to each information segment in the recognition display area based on a preset order includes:

[0205] Based on the above preset order, the speech recognition result corresponding to each information segment is scrolled and displayed in the recognition display area.

[0206] In this embodiment, if the number of at least two information fragments meets the preset conditions, that is, the number of at least two information fragments exceeds the maximum number of information fragments that the identification display area can accommodate, the terminal can scroll and display the voice recognition results corresponding to each information fragment in the identification display area based on the preset order, which not only enables the display of the voice recognition results in the identification display area, but also improves the neatness and aesthetics of the display of the voice recognition results, thereby further improving the convenience and interactive experience of the terminal account and the multimedia information to be identified.

[0207] In an optional embodiment, the identification display area includes a deletion control, and the method further includes:

[0208] In response to a triggering operation based on the above-mentioned deletion control, the speech recognition result corresponding to each information segment displayed in the recognition display area is deleted.

[0209] In this embodiment, the recognition display area may also include a delete control, which is used to delete the speech recognition result. The delete control can be set at any position in the recognition display area, and the present disclosure does not make specific limitations. Figure 7 and Figure 8As shown, the delete control is set in the lower area of ​​the identification display sub-area corresponding to each information segment. The terminal can delete the voice recognition result corresponding to each information segment displayed in the identification display area in response to the operation triggered by the terminal account based on the delete control, thereby facilitating the terminal account to edit the voice recognition result, thereby further improving the convenience and interactive experience of the terminal account and the multimedia information to be identified.

[0210] In an optional embodiment, the identification display area includes a newly added control, and the method further includes:

[0211] In response to the triggering operation based on the newly added control, a blank display sub-area is displayed in the identified display area.

[0212] In this embodiment, the identification display area may also include a new control, which is used to add a blank display sub-area in the identification display area. The new control may be set at any position in the identification display area, and the present disclosure does not specifically limit this. Figure 7 and Figure 8 As shown, the newly added control can be set in the area below the identification display sub-area corresponding to each information fragment. The terminal can add a blank display sub-area to the identification display area in response to the operation triggered by the terminal account based on the newly added control, thereby facilitating the terminal account to edit the voice recognition results and manage the identification display area, thereby further improving the convenience and interactive experience of the terminal account and the multimedia information to be identified.

[0213] In an optional embodiment, when the media information to be identified is a video, the multimedia information identification page may also include a multimedia information playback area and a multimedia information display area. The multimedia information playback area is used to play the multimedia information to be identified during the identification process of the multimedia information to be identified. The multimedia information display area is used to display the video frames in the multimedia information to be identified in real time during the identification process of the multimedia information to be identified. An information preview axis perpendicular to the subtitle display area, the time display area, and the multimedia information display area may also be set. The information preview axis may be in a stationary state. The video frames in the multimedia information to be identified may move in a preset direction in the multimedia information display area, for example, from right to left in the multimedia information display area. In the multimedia information display area, the video frames intersecting with the information preview axis are the video frames played in real time in the multimedia information playback area.

[0214] It should be noted that the multimedia information playback area and the multimedia information display area can be set at any position in the multimedia information identification page, and the embodiments of the present disclosure do not specifically limit this. As an example, the multimedia information playback area can be set in the right area of ​​the above-mentioned identification display area, and the multimedia information display area can be set in the area below the subtitle display area, etc.

[0215] The following describes the speech recognition method provided by the embodiment of the present disclosure with the server as the execution subject. The speech recognition method may include:

[0216] A voice recognition request carrying multimedia information to be recognized sent by a receiving terminal; the above-mentioned voice recognition request is sent by the terminal in response to a triggering operation based on a voice recognition control in a displayed multimedia information recognition page.

[0217] In response to the voice recognition request, the multimedia information to be recognized is divided into at least two information segments.

[0218] Based on a preset order, any one of the at least two information segments is determined to be the current information segment.

[0219] Perform speech recognition on the above current information segment to obtain a current speech recognition result corresponding to the current information segment.

[0220] The current voice recognition result is sent to the terminal; the terminal is used to display the current voice recognition result in the target area of ​​the multimedia information recognition page.

[0221] Fig.10 A speech recognition device frame is shown according to an exemplary embodiment Figure 1 . Reference Fig.10 , the device comprises:

[0222] The first recognition page display module 41 is configured to execute and display a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control;

[0223] The first trigger operation response module 43 is configured to execute a trigger operation based on the voice recognition control, and send a voice recognition request carrying the multimedia information to be recognized to the server; the server is used to respond to the voice recognition request, divide the multimedia information to be recognized into at least two information segments; and is used to determine in sequence based on a preset order that any one of the at least two information segments that has not been recognized is the current information segment; and is used to perform voice recognition on the current information segment to obtain a current voice recognition result corresponding to the current information segment;

[0224] The recognition result receiving module 45 is configured to receive the current speech recognition result corresponding to the current information segment returned by the server;

[0225] The first recognition result display module 47 is configured to be executed in the target area of ​​the multimedia information recognition page to display the current speech recognition result corresponding to the current information segment.

[0226] Fig.11 A speech recognition device frame is shown according to an exemplary embodiment Figure 2 . Reference Fig.11 , the device comprises:

[0227] The second recognition page display module 51 is configured to execute and display a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control, and the voice recognition control is used to trigger voice recognition of the multimedia information to be recognized;

[0228] A second trigger operation response module 53 is configured to execute a trigger operation based on the voice recognition control to scroll and display the recognition progress information of the multimedia information to be recognized in the multimedia information recognition page;

[0229] The second recognition result display module 55 is configured to be executed in the target area of ​​the multimedia recognition page to display the current speech recognition result corresponding to the current information segment;

[0230] Among them, the above-mentioned target area is the area to which the above-mentioned recognition progress information moves at the current time, and the above-mentioned current time is the recognition time of the above-mentioned current information segment; the above-mentioned multimedia information to be recognized includes at least two information segments, and the above-mentioned current information segment is any unrecognized information segment determined from the above-mentioned at least two information segments based on a preset order.

[0231] In an optional embodiment, a mask layer is provided in the multimedia information recognition page, and the second trigger operation response module is configured to execute a trigger operation in response to the voice recognition control, display the voice recognition progress information in the mask layer, and scroll the recognition progress information in the mask layer along a preset direction.

[0232] In an optional embodiment, the multimedia information recognition page includes a recognition display area, and the second recognition result display module is configured to execute in the target area in the multimedia recognition page, display the current voice recognition result corresponding to the current information segment, and display the current voice recognition result in the recognition display area.

[0233] In an optional embodiment, the at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified, the multimedia information identification page includes a subtitle display area, a time display area and an identification display area, and the first identification page display module or the second identification page display module is configured to display a time axis in the time display area, display a mask layer on the subtitle display area and the time display area, and display the voice recognition control in the identification display area;

[0234] Among them, the above-mentioned time axis includes at least two playback time intervals, and the above-mentioned at least two playback time intervals are obtained by dividing the total playback time of the above-mentioned multimedia information to be identified based on the above-mentioned preset time, each of the above-mentioned playback time intervals corresponds to each of the above-mentioned information segments, and the above-mentioned preset order is determined based on the playback time order of each of the above-mentioned information segments; the above-mentioned mask layer is used to display the recognition progress information of the above-mentioned multimedia information to be identified, and the above-mentioned recognition progress information is used to represent the time that has been recognized in the above-mentioned total playback time.

[0235] In an optional embodiment, the subtitle display area includes an identified subtitle display sub-area, and the apparatus further includes:

[0236] The semantic progress display module is configured to display the recognized speech recognition result corresponding to the recognized information segment in the recognized subtitle display sub-area, and display the recognized progress information in a second preset range located at the position of the recognized speech recognition result in the mask layer;

[0237] Among them, the above-mentioned identified subtitle display sub-area is located in the first preset range of the playback time interval corresponding to the above-mentioned identified information segment, and the playback time sequence of the above-mentioned identified information segment is earlier than the playback time sequence of the above-mentioned current information segment; the above-mentioned identified progress information is used to represent the identified time that has been identified in the above-mentioned total playback time, and the above-mentioned identified progress information is vertically arranged with the above-mentioned subtitle display area and the above-mentioned time display area, and the intersection of the above-mentioned identified progress information and the above-mentioned time axis represents the above-mentioned identified time.

[0238] In an optional embodiment, the subtitle display area further includes a current subtitle display subarea representing the target area, the current subtitle display subarea is located within a third preset range of the position of the identified subtitle display subarea, and the first recognition result display module or the second recognition result display module includes:

[0239] A current speech recognition result display unit, configured to display the current speech recognition result in the current subtitle display sub-area;

[0240] The current recognition progress information display unit is configured to display the current recognition progress information within the fourth preset range located in the mask layer where the current voice recognition result is located; the current recognition progress information is used to represent the current duration that has been recognized in the total playback duration of the multimedia information to be recognized, the current recognition progress information is vertically arranged with the subtitle display area and the time display area, and the intersection of the current recognition progress information and the time axis represents the current duration.

[0241] In an optional embodiment, the current speech recognition result is a current text recognition result, and the current speech recognition result display unit is configured to display the omitted information and part of the text in the current text recognition result in the current subtitle display subregion when the number of characters corresponding to the current text recognition result is greater than the number of target characters that can be accommodated in the current subtitle display subregion;

[0242] The number of characters corresponding to the partial characters is equal to the number of target characters, and the omitted information is used to represent the characters other than the partial characters in the current character recognition result.

[0243] In an optional embodiment, the current recognition progress information display unit is configured to move the recognized progress information from the second preset range where the recognized speech recognition result is located to the fourth preset range where the current text recognition result is located for display;

[0244] The identified progress information after the move is updated as the current identification progress information.

[0245] In an optional embodiment, the multimedia information identification page includes an identification display area, and the device further includes:

[0246] The recognition end instruction response module is configured to execute a recognition end instruction in response to the multimedia information to be recognized, and display the speech recognition result corresponding to each of the information segments in the recognition display area based on the preset order.

[0247] In an optional embodiment, the at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified, the identification display area includes an identification display sub-area corresponding to each of the information segments, and the identification display sub-area corresponding to each of the information segments includes a text area and a non-text area, and the identification end instruction response module includes:

[0248] The result time display unit is configured to display the speech recognition result corresponding to each of the information segments in the text area of ​​the recognition display sub-area corresponding to each of the information segments based on the preset order, and display the play time corresponding to each of the information segments and the time adjustment control corresponding to each of the information segments in the non-text area of ​​the recognition display sub-area corresponding to each of the information segments;

[0249] The time adjustment control corresponding to each of the above information segments is used to adjust the play time corresponding to each of the above information segments.

[0250] In an optional embodiment, the above device further includes:

[0251] A time adjustment operation response module is configured to execute a time adjustment operation in response to the time adjustment control corresponding to the target information segment, and update the speech recognition result displayed in the text area corresponding to the target information segment to the speech recognition result of the information segment corresponding to the adjusted playback time;

[0252] The target information segment is any one of the at least two information segments.

[0253] The present disclosure also provides a speech recognition device, which includes:

[0254] A voice recognition request receiving module, configured to execute a voice recognition request sent by a receiving terminal and carrying multimedia information to be recognized; the voice recognition request is sent by the terminal in response to a triggering operation based on a voice recognition control in a displayed multimedia information recognition page;

[0255] A division module, configured to execute, in response to the voice recognition request, division of the multimedia information to be recognized into at least two information segments;

[0256] a current information segment determination module, configured to sequentially determine, based on a preset order, any one of the at least two information segments as the current information segment;

[0257] A recognition module is configured to perform speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment;

[0258] The recognition result sending module is configured to execute sending the above-mentioned current voice recognition result to the terminal; the above-mentioned terminal is used to display the current voice recognition result in the target area of ​​the multimedia information recognition page.

[0259] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0260] In an exemplary embodiment, a speech recognition electronic device is also provided, comprising a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the steps of any speech recognition method in the above-mentioned embodiments when executing the instructions stored in the memory.

[0261] The electronic device may be a terminal, a server or a similar computing device. For example, the electronic device is a server. Fig.12 It is a block diagram of an electronic device for speech recognition according to an exemplary embodiment. The electronic device 12 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 61 (the central processing unit 61 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 63 for storing data, and one or more storage media 62 (such as one or more mass storage devices) for storing application programs 623 or data 622. Among them, the memory 63 and the storage medium 62 can be short-term storage or permanent storage. The program stored in the storage medium 62 may include one or more modules, each of which may include a series of instruction operations in the electronic device. Furthermore, the central processing unit 61 can be configured to communicate with the storage medium 62 to execute a series of instruction operations in the storage medium 62 on the electronic device 60. The electronic device 60 may also include one or more power supplies 66, one or more wired or wireless network interfaces 65, one or more input and output interfaces 64, and / or one or more operating systems 621, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0262] The input / output interface 64 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the electronic device 60. In one example, the input / output interface 64 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In an exemplary embodiment, the input / output interface 64 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0263] It can be understood by those skilled in the art that Fig.12 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.12 More or fewer components as shown, or with Fig.12 Different configurations are shown.

[0264] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the steps of any speech recognition method in the above embodiments.

[0265] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the speech recognition method provided in any one of the above embodiments is implemented.

[0266] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present disclosure can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0267] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0268] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A speech recognition method, characterized in that: include: Displaying a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control; In response to a triggering operation based on the voice recognition control, sending a voice recognition request carrying the multimedia information to be recognized to a server; The server is used for dividing the multimedia information to be recognized into at least two information segments in response to the speech recognition request; and for determining, in sequence based on a preset order, any one of the at least two information segments as the current information segment; and performing speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment; Receiving a current speech recognition result corresponding to the current information segment returned by the server; Repeating the steps of the server determining that any one of the at least two information segments is the current information segment; performing speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment; and receiving the current speech recognition result corresponding to the current information segment returned by the server at the terminal, until the speech recognition of the last information segment is completed; In the target area of ​​the multimedia information recognition page, the current speech recognition result corresponding to the current information segment is displayed.

2. A speech recognition method, characterized in that: include: Displaying a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control, and the voice recognition control is used to trigger voice recognition of the multimedia information to be recognized; In response to a triggering operation based on the voice recognition control, scrolling and displaying recognition progress information of the multimedia information to be recognized in the multimedia information recognition page; Displaying a current speech recognition result corresponding to a current information segment in a target area of ​​the multimedia recognition page; Among them, the target area is the area to which the recognition progress information moves at the current time, and the current time is the recognition time of the current information segment; the multimedia information to be recognized includes at least two information segments, and the current information segment is any unrecognized information segment determined from the at least two information segments based on a preset order.

3. The speech recognition method according to claim 2, characterized in that: The multimedia information recognition page is provided with a mask layer, and in response to the triggering operation based on the voice recognition control, the recognition progress information of the multimedia information to be recognized is scrolled and displayed in the multimedia information recognition page, including: In response to a triggering operation based on the voice recognition control, the voice recognition progress information is displayed in the mask layer, and the recognition progress information is scrolled along a preset direction in the mask layer.

4. The speech recognition method according to claim 2, characterized in that: The multimedia information recognition page includes a recognition display area, and the target area in the multimedia recognition page displays the current voice recognition result corresponding to the current information segment, including: The current voice recognition result corresponding to the current information segment is displayed in the target area of ​​the multimedia recognition page, and the current voice recognition result is displayed in the recognition display area.

5. The speech recognition method according to claim 1 or 2, characterized in that: The at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a play time sequence of the multimedia information to be identified, the multimedia information identification page includes a subtitle display area, a time display area, and an identification display area, and the multimedia information identification page includes: Displaying a time axis in the time display area, displaying a mask layer on the subtitle display area and the time display area, and displaying the speech recognition control in the recognition display area; Among them, the timeline includes at least two playback time intervals, and the at least two playback time intervals are obtained by dividing the total playback time of the multimedia information to be identified based on the preset time, each of the playback time intervals corresponds to each of the information fragments, and the preset order is determined based on the playback time order of each of the information fragments; the mask layer is used to display the recognition progress information of the multimedia information to be identified, and the recognition progress information is used to represent the time that has been identified in the total playback time.

6. The speech recognition method according to claim 5, characterized in that: The subtitle display area includes a recognized subtitle display subarea, and before displaying the current information segment corresponding to the current speech recognition result, the method further includes: Displaying the recognized speech recognition result corresponding to the recognized information segment in the recognized subtitle display sub-area, and displaying the recognized progress information within a second preset range located at the position of the recognized speech recognition result in the mask layer; Among them, the identified subtitle display sub-area is located in a first preset range of the playback time interval corresponding to the identified information segment, and the playback time sequence of the identified information segment is earlier than the playback time sequence of the current information segment; the identified progress information is used to represent the identified duration that has been identified in the total playback duration, the identified progress information is vertically arranged with the subtitle display area and the time display area, and the intersection of the identified progress information and the time axis represents the identified duration.

7. The speech recognition method according to claim 6, characterized in that: The subtitle display area further includes a current subtitle display sub-area representing the target area, the current subtitle display sub-area is located within a third preset range of the position of the identified subtitle display sub-area, and the display of the current information segment corresponds to the current speech recognition result, including: Displaying the current speech recognition result in the current subtitle display subarea; The current recognition progress information is displayed within the fourth preset range of the mask layer located at the current voice recognition result; the current recognition progress information is used to represent the current duration that has been recognized in the total playback duration of the multimedia information to be recognized, the current recognition progress information is arranged vertically to the subtitle display area and the time display area, and the intersection of the current recognition progress information and the time axis represents the current duration.

8. The speech recognition method according to claim 7, characterized in that: The current speech recognition result is a current text recognition result, and the displaying of the current speech recognition result in the current subtitle display sub-area includes: When the number of characters corresponding to the current character recognition result is greater than the number of target characters that can be accommodated in the current subtitle display subregion, displaying omitted information and part of the characters in the current character recognition result in the current subtitle display subregion; The number of characters corresponding to the partial characters is equal to the number of target characters, and the omitted information is used to represent the characters other than the partial characters in the current character recognition result.

9. The speech recognition method according to claim 8, characterized in that: The displaying of the current recognition progress information within a fourth preset range located within the mask layer and located at the position where the current speech recognition result is located includes: The recognized progress information is moved from the second preset range where the recognized speech recognition result is located to the fourth preset range where the current text recognition result is located for display; The identified progress information after the move is updated as the current identification progress information.

10. The speech recognition method according to claim 1 or 2, characterized in that: The multimedia information identification page includes identifying a display area, and the method further includes: In response to the recognition end instruction of the multimedia information to be recognized, the speech recognition result corresponding to each of the information segments is displayed in the recognition display area based on the preset order.

11. The speech recognition method according to claim 10, characterized in that: The at least two information segments are obtained by dividing the multimedia information to be identified based on a preset duration and a playback time sequence of the multimedia information to be identified, the identification display area includes an identification display sub-area corresponding to each of the information segments, and the identification display sub-area corresponding to each of the information segments includes a text area and a non-text area, and the voice recognition result corresponding to each of the information segments is displayed in the identification display area based on the preset sequence, including: Based on the preset order, in the text area of ​​the identification display sub-area corresponding to each information segment, the speech recognition result corresponding to each information segment is displayed, and in the non-text area of ​​the identification display sub-area corresponding to each information segment, the play time corresponding to each information segment and the time adjustment control corresponding to each information segment are displayed; The time adjustment control corresponding to each of the information segments is used to adjust the play time corresponding to each of the information segments.

12. The speech recognition method according to claim 11, characterized in that: The method further comprises: In response to a time adjustment operation triggered by a time adjustment control corresponding to the target information segment, updating the speech recognition result displayed in the text area corresponding to the target information segment to the speech recognition result of the information segment corresponding to the adjusted playback time; The target information segment is any one of the at least two information segments.

13. A speech recognition device, characterized in that: include: A first recognition page display module is configured to execute and display a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control; A first trigger operation response module is configured to execute a trigger operation based on the voice recognition control and send a voice recognition request carrying the multimedia information to be recognized to the server; The server is used for dividing the multimedia information to be recognized into at least two information segments in response to the speech recognition request; and for determining, in sequence based on a preset order, any one of the at least two information segments as the current information segment; and performing speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment; A recognition result receiving module is configured to receive a current speech recognition result corresponding to a current information segment returned by the server; Repeating the steps of the server determining that any one of the at least two information segments is the current information segment; performing speech recognition on the current information segment to obtain a current speech recognition result corresponding to the current information segment; and receiving the current speech recognition result corresponding to the current information segment returned by the server at the terminal, until the speech recognition of the last information segment is completed; The first recognition result display module is configured to be executed in the target area of ​​the multimedia information recognition page to display the current voice recognition result corresponding to the current information segment.

14. A speech recognition device, characterized in that: include: A second recognition page display module is configured to execute and display a multimedia information recognition page; the multimedia information recognition page includes a voice recognition control, and the voice recognition control is used to trigger voice recognition of the multimedia information to be recognized; A second trigger operation response module is configured to execute a trigger operation based on the voice recognition control to scroll and display the recognition progress information of the multimedia information to be recognized in the multimedia information recognition page; A second recognition result display module is configured to be executed in a target area of ​​the multimedia recognition page to display a current speech recognition result corresponding to a current information segment; Among them, the target area is the area to which the recognition progress information moves at the current time, and the current time is the recognition time of the current information segment; the multimedia information to be recognized includes at least two information segments, and the current information segment is any unrecognized information segment determined from the at least two information segments based on a preset order.

15. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the speech recognition method as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Voice recognition method and device and computer equipment

    CN110808031A

  • Speech recognition and audio and video processing method, device and system and storage medium

    CN114360545A