WO2021249323A1 - 一种信息处理方法、系统、装置、电子设备及存储介质 - Google Patents

一种信息处理方法、系统、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2021249323A1
WO2021249323A1 PCT/CN2021/098533 CN2021098533W WO2021249323A1 WO 2021249323 A1 WO2021249323 A1 WO 2021249323A1 CN 2021098533 W CN2021098533 W CN 2021098533W WO 2021249323 A1 WO2021249323 A1 WO 2021249323A1
Authority
WO
WIPO (PCT)
Prior art keywords
sentence
text content
content
sentence identifier
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/098533
Other languages
English (en)
French (fr)
Inventor
赵立
韩晓
陈可蓉
童剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to JP2022549101A priority Critical patent/JP7448672B2/ja
Priority to EP21821814.7A priority patent/EP4164232A4/en
Publication of WO2021249323A1 publication Critical patent/WO2021249323A1/zh
Priority to US17/699,551 priority patent/US11900945B2/en
Anticipated expiration legal-status Critical
Priority to US18/499,001 priority patent/US12051420B2/en
Priority to US18/789,194 priority patent/US20240395255A1/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • G10L15/30Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4856End-user interface for client configuration for language selection, e.g. for the menu or subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Definitions

  • the embodiments of the present disclosure relate to the field of computer technology, and in particular to an information processing method, system, device, electronic equipment, and storage medium.
  • the server can transcribe the audio data into text and send it to the corresponding client, so that the client can display the subtitles corresponding to the audio data.
  • the server usually transfers the audio data of each sentence, and then sends the transcribed text to the client, so that the client has a longer delay in seeing the subtitles corresponding to each sentence. Moreover, when a sentence is longer, the delay time of the subtitles will be longer, which will greatly reduce the user's interactive experience.
  • the embodiments of the present disclosure provide an information processing method, device, electronic equipment, and storage medium, which can realize dynamic subtitle display, reduce subtitle delay, and improve user experience.
  • embodiments of the present disclosure provide an information processing method, which is applied to a client, and includes:
  • the local sentence identifier is read, and when the received sentence identifier is the same as the local sentence identifier, the text content is used to update the subtitle content corresponding to the displayed local sentence identifier.
  • the embodiments of the present disclosure also provide an information processing method, including:
  • the second text content is displayed to update the first text content.
  • embodiments of the present disclosure provide an information processing system, including:
  • the service server is configured to pull audio data in response to the open caption request characterization sent by the client, obtain the text content of the audio data currently to be converted in the text conversion process in the audio data, and according to the current audio to be converted
  • the change of data updates the sentence identifier of the text content
  • the client is configured to receive the text content and the sentence identifier of the text content sent by the service server; read the local sentence identifier, and when the received sentence identifier is the same as the local sentence identifier, use the The text content updates the subtitle content corresponding to the displayed local sentence identifier.
  • the embodiments of the present disclosure also provide an information processing device applied to a client, including:
  • the receiving module is used to receive the text content and the sentence identifier of the text content sent by the business server;
  • the display module is configured to read the local sentence identifier, and when the received sentence identifier is the same as the local sentence identifier, use the text content to update the subtitle content corresponding to the displayed local sentence identifier.
  • an embodiment of the present disclosure also provides an electronic device, the electronic device including:
  • One or more processors are One or more processors;
  • Storage device used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the information processing method according to any one of the embodiments of the present disclosure.
  • embodiments of the present disclosure also provide a storage medium containing computer-executable instructions, which are used to perform information processing as described in any of the embodiments of the present disclosure when the computer-executable instructions are executed by a computer processor. method.
  • the embodiments of the present disclosure also provide a computer program product, which includes a computer program carried on a computer-readable medium.
  • the computer program is executed by a processor, the processor executes the same as in the embodiments of the present disclosure. Any of the described information processing methods.
  • the embodiments of the present disclosure also provide a computer program that, when run on an electronic device, causes the electronic device to execute the information processing method described in any of the embodiments of the present disclosure.
  • the client receives the text content and the sentence identifier of the text content sent by the business server; reads the local sentence identifier, and when the received sentence identifier is the same as the local sentence identifier, the text content is used to update the displayed The local sentence identifies the corresponding subtitle content.
  • the client can use the received text content to replace the displayed subtitle content, which can realize the conversion of the audio data of the same sentence into text.
  • the subtitles are displayed, and when the intermediate conversion result after the sentence is received, the subtitle content corresponding to the sentence is dynamically updated, which not only realizes the dynamic subtitle display for each sentence, but also The delay time of subtitle display of each sentence is reduced, and the user experience is improved.
  • FIG. 1 is a schematic flowchart of an information processing method provided in Embodiment 1 of the present disclosure
  • Embodiment 2 is a schematic flowchart of an information processing method provided by Embodiment 2 of the present disclosure
  • FIG. 3 is a schematic flowchart of an information processing method provided by Embodiment 3 of the present disclosure.
  • Embodiment 4 is a schematic structural diagram of an information processing system provided by Embodiment 4 of the present disclosure.
  • Embodiment 6 of the present disclosure is a schematic structural diagram of an information processing system provided by Embodiment 6 of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an information processing device provided by Embodiment 7 of the present disclosure.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by Embodiment 8 of the present disclosure.
  • FIG. 1 is a schematic flow chart of an information processing method provided by Embodiment 1 of the present disclosure.
  • This embodiment of the present disclosure is particularly suitable for a situation where a client performs caption display in a real-time interactive scene.
  • the method can be executed by an information processing device.
  • the device can be implemented in the form of software and/or hardware, and the device can be configured in an electronic device, for example, in an electronic device such as a smart phone, a tablet computer, a notebook computer, or a desktop computer.
  • the information processing method provided in this embodiment, applied to a client includes:
  • S110 Receive the text content and the sentence identifier of the text content sent by the service server.
  • the service server can be regarded as a server that provides a subtitle display service function for each client. Any client that conducts real-time interactive communication with other clients can send a captioning request to the service server during the interactive communication process to request the service server to feed back the client and other clients that interact with the client to upload The text content and the sentence identifier of the text content transcribed from the audio data. Furthermore, the client terminal can display subtitles according to the received text content and sentence identifiers of the text content.
  • the service server can pull the audio data from the streaming media server according to the open caption request sent by the client, and send the audio data to the real-time voice transcription tool;
  • the real-time voice transcription tool is based on automatic speech recognition
  • the (Automatic Speech Recognition, ASR) technology can segment the audio data according to the parameters of the audio data (such as the time interval between the audio data) to determine the audio data corresponding to each sentence.
  • the audio data corresponding to one sentence is used as the current audio data to be converted, and the text conversion operation that can output the intermediate conversion result is performed on the current audio data to be converted; the service server obtains the text content converted by the current audio data to be converted from the real-time voice transcription tool, And the acquired text content includes the text content in the conversion process of the audio data to be converted and the text content after the conversion.
  • the captioning request sent by each client can carry an identity that characterizes the client or an identifier that characterizes real-time interactive rooms such as meeting rooms and live broadcast rooms where the client is located.
  • the business server can pull from the streaming media server according to the above-mentioned characterization. Take audio data uploaded by the client and other clients that interact and communicate with the client.
  • the real-time voice transcription tool may be provided locally by the business server, or provided by a third party that establishes communication with the business server.
  • the real-time voice transcription tool can perform automatic voice recognition processing on the audio data stream to achieve audio Data stream segmentation and transliteration of audio data corresponding to each sentence.
  • the intermediate conversion result can be regarded as the text content corresponding to the part of the audio data obtained by the conversion before the text content corresponding to the complete audio data is obtained.
  • its intermediate conversion result can be "today”, “today's weather”, “today's weather” and other words corresponding to the converted part of the audio data.
  • Content, and the text content corresponding to the converted complete audio data is "The weather is really good today.”
  • the service server can also set a sentence identifier for the text content.
  • the sentence identifier can uniquely identify the audio data corresponding to each sentence in a specific real-time interactive scene, and can consist of letters, text, It is composed of at least one element such as numbers and special symbols.
  • the process of setting the sentence identifier corresponding to the text content by the service server may be: updating the sentence identifier of the text content according to the current changes in the audio data to be converted.
  • the service server can simultaneously deliver the sentence identifier of the text content to the client at the same time as the text content.
  • an implementation manner for the business server to set the sentence identifier can be, for example, as follows: firstly, when the text conversion of the current audio data to be converted is completed, an update mark of the sentence identifier is set; When the text content in the text conversion process, the sentence identification is updated according to the update mark, and the update mark is cancelled when the update of the sentence mark is completed.
  • the sentence identifier corresponding to the audio data of the first sentence is Seg1, and the sentence identifier update flag is set when the audio data of the first sentence is converted.
  • the sentence identifier can be updated to Seg2 according to the update identifier at this time, and the update mark can be cancelled to avoid the audio data of the second sentence.
  • the sentence identifier of the text content corresponding to the next intermediate conversion result is updated. That is to say, when the text content of the new audio data to be converted later converted during the text conversion process is obtained, there is no need to update the sentence identifier.
  • the sentence identification can be updated according to the update mark, and the update mark is retained. Still taking the above scenario as an example, if the second sentence is very short, the first text content of the audio data of the second sentence obtained is already the text content after the conversion is completed. At this time, in addition to dividing the sentence according to the update flag In addition to updating the logo to Seg2, the update tag needs to be retained, so that when the text content corresponding to the next sentence is obtained, the sentence tag is updated again according to the update tag.
  • the updated sentence identifier can be, for example, generating a new sentence identifier that is different from the historical sentence identifier in the specific real-time interactive scene; and when the sentence identifier includes an ordered number, for example, it includes a, b, c...; 1 , 2, 3...; I, II, III..., etc., the sentence identification can also be updated in the order of numbers, for example, the sentence identification can be updated to S1, S2, S3... etc. in sequence.
  • the client By including an orderly number in the sentence identifier, it is beneficial for the client to display the subtitles according to the number sequence of the sentence identifier, so that the user can understand the correct context of each sentence and improve the user's experience of reading the subtitles.
  • the above implementation of the update sentence identifier aims to achieve "the sentence identifiers of the text content converted from the audio data corresponding to the same sentence are the same, and the sentence identifiers of the text content converted from the audio data corresponding to different sentences are different", and can achieve the above Other implementations with the same purpose can also be applied here, and there is no specific limitation here.
  • the client may store the sentence identifier received for the first time in the first local preset storage space; when the sentence identifier is received for the second time, it may read the sentence identifier from the first preset storage space. All sentence identifiers are used as local sentence identifiers; when the sentence identifier received for the second time is the same as any sentence identifier in the local sentence identifier, the local sentence identifier will not be updated; when the sentence identifier received for the second time and each sentence identifier in the local sentence identifier When they are all different, the sentence identifier received the second time can be added to the first preset storage space to update the local sentence identifier. Each time the client receives the sentence identifier afterwards, the above operation can be repeated to realize the operation of updating or not updating the local sentence identifier.
  • the received sentence identifier is the same as the local sentence identifier. It can be considered that the client local sentence identifier has the same sentence identifier as the received sentence identifier, that is, the text content of the same sentence identifier received by the client before is the same as the text received this time. The content corresponds to the audio data of the same sentence.
  • using the text content to update the subtitle content corresponding to the displayed local sentence identifier may be that the client uses the received text content to update the displayed subtitle content corresponding to the local sentence identifier that is the same as the received sentence identifier.
  • the text content in the display control of the corresponding subtitle is updated to the received text content to realize the dynamic update of the subtitle content.
  • the client can display the text content as new subtitle content, and update the local sentence identifier with the received sentence identifier.
  • the client can use any display mode that can be different from the display mode of other received text content.
  • the text content is displayed as a new subtitle content, for example, a new subtitle display control can be generated, and the received text content can be imported into the new display control to realize a new subtitle content. Display of subtitles.
  • the previous subtitles can be slid to other positions on the client interface (for example, the previous subtitles are scrolled upward in turn).
  • the subtitle content in the new subtitle can also be updated using the text content corresponding to the same sentence identifier received by the client after the subtitle content.
  • the client uses the received sentence identifier to update the local sentence identifier, for example, the received sentence identifier may be added to the first local preset storage space.
  • using the text content to update the subtitle content corresponding to the displayed local sentence identifier may be determining the difference between the received text content and the subtitle content corresponding to the local sentence identifier that has been displayed and the received sentence identifier is the same, and using the difference content Update subtitle content.
  • errors may occur in the content converted first in the text conversion process, but errors can be corrected forward based on the content converted later.
  • the text content received by the client for the first time may be "at work", and then it can be displayed as "at work" when the subtitles are displayed.
  • the content received by the client later may be "studio transparent", then when the subtitle content is updated, it can first determine the difference between the received text content and the subtitle content corresponding to the same local sentence identifier that has been displayed, including "room "Is different from “time”, and “transparency” is added, and then the "time” in the displayed subtitle content can be changed to "room” according to the different content, and "transparent” is added afterwards to realize the subtitle content Update.
  • using the text content to update the subtitle content corresponding to the displayed local sentence identifier includes: replacing the subtitle content corresponding to the displayed local sentence identifier with the text content. That is, the client can use the received text content to replace the subtitle content corresponding to the local sentence identifier that has been displayed that is the same as the received sentence identifier.
  • the client can use the received text content to replace the subtitle content corresponding to the local sentence identifier that has been displayed that is the same as the received sentence identifier.
  • the client can use the received text content to replace the subtitle content corresponding to the local sentence identifier that has been displayed that is the same as the received sentence identifier.
  • the client can use the received text content to replace the subtitle content corresponding to the local sentence identifier that has been displayed that is the same as the received sentence identifier.
  • the client can use the received text content to replace the subtitle content corresponding to the local sentence identifier that has been displayed that is the same as the received sentence identifier.
  • the client can use the received text content to replace the
  • the content of the subtitles can be dynamically updated, when displaying the corresponding text content for the audio data of a sentence, there is no need to wait for the audio data of the sentence to be converted, and then display the converted text content, but can be received
  • the text content corresponding to the first intermediate conversion result of the sentence is displayed, the text content is displayed through subtitles, and each time the text content corresponding to the new intermediate conversion result of the sentence is received, the new text content is used for subtitles Dynamic updates.
  • the delay time between each sentence from the speaker's utterance to the display of subtitles can be reduced, which greatly improves the user experience.
  • the client is a client of a real-time interactive application.
  • the real-time interactive application may include but is not limited to at least one of an instant messaging application, a multimedia conference application, a live video application, and a group chat interactive application.
  • the above information processing methods can be used to display subtitles of the speaker's words to improve real-time interaction efficiency and interactive experience .
  • the client receives the text content and the sentence identifier of the text content sent by the business server; reads the local sentence identifier, and when the received sentence identifier is the same as the local sentence identifier, the text content is used to update the displayed The local sentence identifies the corresponding subtitle content.
  • the client replaces the displayed subtitle content with the received text content, so that the audio data of the same sentence can be converted into text.
  • the subtitles are displayed, and when the intermediate conversion result after the sentence is received, the subtitle content corresponding to the sentence is dynamically updated, which not only realizes the dynamic subtitle display for each sentence, but also The delay time of subtitle display of each sentence is reduced, and the user experience is improved.
  • FIG. 2 is a schematic flowchart of an information processing method provided by Embodiment 2 of the present disclosure. This embodiment can be combined with the optional solutions of the various information processing methods provided in the foregoing embodiments.
  • the client while receiving the text content and sentence identification of the text content sent by the business server, the client can also receive the content version serial number corresponding to the sentence identification sent by the business server, and can use the sentence identification and The corresponding content version serial number is used to display the text content with subtitles, which can effectively avoid the use of the text content with the top order to update the text content of the text after the order is sent to the client due to network delays and other reasons. The resulting subtitle update error.
  • the information processing method provided in this embodiment includes:
  • S210 Receive the text content, the sentence identifier of the text content, and the content version serial number corresponding to the sentence identifier sent by the service server.
  • the serial number of the content version received by the client can uniquely identify the conversion order of the text content in the text conversion process of the corresponding audio data to be converted, and can include sequential numbers, for example, including a, b, c ...; 1, 2, 3...; I, II, III..., etc., or at least one other element such as letters, words, numbers, and special symbols.
  • the service server can also set the content version serial number corresponding to the sentence identifier.
  • the implementation manner for the service server to set the content version serial number may be: according to the conversion sequence of the text content in the text conversion process of the current audio data to be converted, the content version serial number corresponding to the sentence identifier is generated. It can be considered that the sentence identifiers of the converted text content of the current audio data to be converted are consistent, and the content version number of the converted text content can be generated according to the conversion order of the text content converted this time in the text conversion process.
  • S220 Read the local sentence identifier and the local content version serial number corresponding to the local sentence identifier.
  • the local sentence identifier that the client can read from the local first preset storage space and the local content version serial number that can be read from the local second preset storage space.
  • the first preset storage space can be used as the second preset storage space at the same time.
  • the received content version sequence number is arranged after the local content version sequence number of the same local sentence identifier (may not include the local content version sequence number equal to)
  • the client can use the text content to update the displayed subtitle content corresponding to the same local sentence identifier and local content version serial number.
  • the subtitle content corresponding to the local sentence identifier and the local content version sequence number may not be updated.
  • the client receives the "Today's weather is really good” with the content version number of Slice4 and performs dynamic update of the subtitles before receiving the "Today's weather” corresponding to Slice3. Since Slice3 is ranked before Slice4, this Do not use "Today's weather is really good” to update "Today's weather is really good” to avoid update errors.
  • S240 Use the received content version sequence number to update the local content version sequence number corresponding to the local sentence identifier.
  • the client stores the first content version serial number corresponding to the received sentence identifier in the second preset storage space; when receiving the second content version serial number corresponding to the sentence identifier , You can read all content version serial numbers corresponding to the sentence identifier from the second preset storage space as the local content version serial number; when the second content version serial number ranks after all the local content version serial numbers, you can add the second content The version serial number is added to the second preset storage space to update the local content version serial number; when the second content version serial number is arranged before any local content version serial number (including the serial number equal to the local content version), the local content version serial number is not renew.
  • the client later receives the content version serial number corresponding to the sentence identifier, the above operation can be repeated to realize the operation of updating or not updating the local content version serial number.
  • the client can receive the content version serial number corresponding to the sentence identifier while receiving the text content and the sentence identifier of the text content sent by the business server, and can use the sentence identifier and its corresponding content version serial number.
  • the received sentence identifier is the same as the local sentence identifier, update the text content corresponding to the sequence number of the content version with the later content version sequence number, which can effectively avoid the text content at the top of the ranking sequence due to network delays and other reasons.
  • the subtitle update error situation caused by updating the text content with the higher order by using the text content at the lower order has further improved the display effect of the subtitles.
  • FIG. 3 is a schematic flowchart of an information processing method provided by Embodiment 3 of the present disclosure. This embodiment can be combined with the optional solutions of the various information processing methods provided in the foregoing embodiments.
  • the information processing method provided in this embodiment optimizes the dynamic display method of subtitles when the received text content and sentence identification are at least two groups, which can realize dynamic update of multiple subtitles at the same time, and further enhance the display effect of subtitles.
  • the information processing method provided by this embodiment includes:
  • the service server can pull at least two channels of audio data uploaded at the same time by at least two of the client and other clients interacting with the client from the streaming media server according to the open caption request characterization (That is, there are more than two speakers talking at the same time); and the text content of the audio data currently to be converted in the text conversion process in at least two channels of audio data is obtained separately, and the changes according to the at least two channels of audio data currently to be converted
  • the sentence identifier of the text content it can be considered that if the current audio data to be converted is at least two channels, the sentence identifier can be set for at least two channels of audio data, instead of setting the sentence identifier update mark when one of the channels is converted, and according to The sentence identifies the update mark the update.
  • the client can receive at least two sets of text content and sentence identifiers simultaneously or alternately sent by the service server, and can dynamically update and display at least two subtitles at the same time according to the at least two sets of text content and sentence identifiers.
  • the number of local sentence identifiers may be at least one, and it is determined whether there is a sentence identifier that is the same as the local sentence identifier in the at least two received sentence identifiers, that is, it is determined whether the received at least two sentence identifiers and the local sentence identifier are There is an intersection.
  • the same sentence identifier exists in at least two sentence identifiers and the local sentence identifier received by the client, and the number of the same sentence identifier can be at least one, it can be considered that there are subtitles in the received text content.
  • the updated text content can use the received text content corresponding to the same sentence identifier to update the displayed subtitle content corresponding to the same local sentence identifier.
  • the received text content corresponding to the sentence identifier that is different from the local sentence identifier can be displayed as the new subtitle content.
  • the new speaker starts to speak, and when at least two speakers are speaking, multiple subtitles can be updated and displayed at the same time.
  • the same sentence identifier does not exist in the at least two sentence identifiers received by the client and the local sentence identifier, it can be considered that the received text content and the displayed subtitle content do not belong to the same sentence.
  • the received at least two text contents are respectively displayed as at least two new subtitle contents.
  • the previous speaker finishes speaking at least two new speakers start to speak at the same time, and the formed situation of at least two speakers speaking, multiple subtitles are updated and displayed at the same time.
  • the sentence identifier that is different from the local sentence identifier can be added to the first preset storage space to store the received sentence identifier.
  • At least two sentence identifiers simultaneously serve as new local sentence identifiers. If there is no sentence identifier that is the same as the local sentence identifier in the received at least two sentence identifiers, the received at least two sentence identifiers may be added to the first preset storage space at the same time, so as to identify the received at least two sentence identifiers. At the same time as the new local sentence identifier.
  • the client determines whether there is a sentence that is the same as the local sentence identifier in the at least two received sentence identifiers. Mark; if yes, use the text content corresponding to the same sentence mark to update the subtitle content corresponding to the displayed local sentence mark; display the text content corresponding to a different sentence mark as the new subtitle content; if not, the received subtitle content
  • the at least two text contents are respectively displayed as new at least two subtitle contents; the received at least two sentence identifiers are simultaneously used as new local sentence identifiers. It is possible to dynamically update multiple subtitles at the same time, which further improves the display effect of subtitles.
  • FIG. 4 is a schematic structural diagram of an information processing system provided by the fourth embodiment of the disclosure.
  • the information processing system provided in this embodiment through the cooperation between the business server and the client, can realize that in a real-time interactive scenario, the business server can pull interactive audio data, obtain text content converted from audio data, and text content correspondence. Sentence identification generation; the client dynamically updates and displays the subtitle content according to the received text content and sentence identification sent by the service server.
  • the information processing system provided by the embodiment of the present disclosure belongs to the same inventive concept as the information processing method provided by any embodiment of the present disclosure. For undisclosed technical details, please refer to the above-mentioned embodiment, and can achieve the same benefits as the above-mentioned embodiment. Effect.
  • the information processing system provided by this embodiment includes:
  • the service server 410 is configured to pull audio data in response to the open caption request characterization sent by the client 420, obtain the text content of the audio data currently to be converted in the text conversion process, and according to the current audio data to be converted Change and update the sentence mark of the text content;
  • the client 420 is used to receive the text content and the sentence identifier of the text content sent by the business server 410; read the local sentence identifier, and when the received sentence identifier is the same as the local sentence identifier, use the text content to update the displayed local sentence identifier Corresponding subtitle content.
  • the captioning request sent by the client may carry an identification that characterizes the client or an identification that characterizes the real-time interactive room such as a conference room or a live broadcast room where the client is located.
  • the server pulls the audio data uploaded by the client and other clients that interact and communicate with the client.
  • the business server can send the audio data to the real-time voice transcribing tool, so that the real-time voice transcribing tool is based on ASR technology to segment the audio data to determine the audio data corresponding to each sentence.
  • the audio data corresponding to one sentence is used as the current audio data to be converted, and the text conversion operation that can output the intermediate conversion result is performed on the current audio data to be converted;
  • the service server obtains the text content converted by the current audio data to be converted from the real-time voice transcription tool, And the acquired text content includes the text content in the conversion process of the audio data to be converted and the text content after the conversion.
  • the service server after the service server obtains the text content, it can also set a sentence identifier for the text content.
  • the sentence identifier can uniquely identify the audio data corresponding to each sentence in a specific real-time interactive scene, and can be composed of letters, words, numbers, and special At least one element such as symbols.
  • the process of setting the sentence identifier corresponding to the text content by the service server may be: updating the sentence identifier of the text content according to the current changes in the audio data to be converted.
  • the service server can simultaneously deliver the sentence identifier of the text content to the client at the same time as the text content.
  • an implementation manner for the business server to set the sentence identifier may be: when the text conversion of the current audio data to be converted is completed, an update mark of the sentence identifier is set; when the new audio data to be converted is acquired in the text conversion process When the text content is updated, the sentence mark is updated according to the update mark, and the update mark is cancelled when the sentence mark is updated.
  • the sentence identification can be updated according to the update mark, and the update mark is retained.
  • the service server can obtain the first text content requested by a certain client for each client after receiving the open subtitle request sent by each client.
  • the initial sentence identifier of the client can be generated, and the sentence identifier of the text content can be set according to the text content requested by the client later obtained.
  • the business server can maintain the relationship between each client and the sentence identifier corresponding to the client, and can send the sentence identifier corresponding to each client to the corresponding client to ensure that the business server is multiple clients at the same time Provide subtitle display business function.
  • the client can store the sentence identifier received for the first time in the first local preset storage space; when receiving the sentence identifier for the second time, it can use all sentence identifiers read from the first preset storage space as Local sentence identifier; when the sentence identifier received for the second time is the same as any sentence identifier in the local sentence identifier, the local sentence identifier is not updated; when the sentence identifier received for the second time is different from each sentence identifier in the local sentence identifier, The sentence identifier received the second time can be added to the first preset storage space to update the local sentence identifier. Each time the client receives the sentence identifier afterwards, the above operation can be repeated to realize the operation of updating or not updating the local sentence identifier.
  • the client can read the local sentence identifier from the first preset storage space.
  • the sentence identifier received by the client is the same as the local sentence identifier, it can be considered that the text content of the same sentence identifier previously received by the client corresponds to the audio data of the same sentence with the text content received this time.
  • the client can use the received text content to update the displayed subtitle content corresponding to the local sentence identifier that is the same as the received sentence identifier.
  • the client can Display the received text content as new subtitle content, and update the local sentence identifier with the received sentence identifier.
  • using the text content to update the subtitle content corresponding to the displayed local sentence identifier includes: replacing the subtitle content corresponding to the displayed local sentence identifier with the text content.
  • the service server is further used to: generate a content version serial number corresponding to the sentence identifier according to the conversion sequence of the text content in the text conversion process of the audio data to be converted currently;
  • the client is also used to: read the local content version serial number corresponding to the local sentence identifier; when the received sentence identifier is the same as the local sentence identifier, and the received content version serial number ranks after the local content version serial number, use the text content Replace the displayed local sentence identifier and the subtitle content corresponding to the local content version serial number; use the received content version serial number to update the local content version serial number corresponding to the local sentence identifier.
  • the business server may set the content version serial number corresponding to the sentence identifier while setting the sentence identifier for the text content.
  • the implementation manner for the service server to set the content version serial number may be: according to the conversion sequence of the text content in the text conversion process of the current audio data to be converted, the content version serial number corresponding to the sentence identifier is generated. It can be considered that the sentence identifiers of the converted text content of the current audio data to be converted are consistent, and the content version number of the converted text content can be generated according to the conversion order of the text content converted this time in the text conversion process.
  • the client stores the first content version serial number corresponding to the received sentence identifier in the second preset storage space; when receiving the second content version serial number corresponding to the sentence identifier , You can read all content version serial numbers corresponding to the sentence identifier from the second preset storage space as the local content version serial number; when the second content version serial number ranks after all the local content version serial numbers, you can add the second content The version serial number is added to the second preset storage space to update the local content version serial number; when the second content version serial number is arranged before any local content version serial number (including the serial number equal to the local content version), the local content version serial number is not renew.
  • the client later receives the content version serial number corresponding to the sentence identifier, the above operation can be repeated to realize the operation of updating or not updating the local content version serial number.
  • the client local sentence identifier has the same sentence identifier as the received sentence identifier, and the received content version sequence number is arranged after the local content version sequence number of the same local sentence identifier (may not include the local content version sequence number equal to)
  • the client can use the text content to update the displayed subtitle content corresponding to the same local sentence identifier and local content version serial number.
  • the subtitle content corresponding to the local sentence identifier and the local content version serial number may not be updated.
  • the service server pulls the audio data in response to the open caption request characterization sent by the client, obtains the text content of the audio data currently to be converted in the text conversion process, and according to the current
  • the change of the audio data to be converted updates the sentence identifier of the text content, so that the client terminal dynamically updates and displays the subtitle content according to the received text content and sentence identifier.
  • the business server sets the same sentence identifier for the different text content obtained in the process of converting the current audio data to be converted into text content, which can instruct the client to update the displayed text content with the text content received after the same current audio data to be converted. Subtitle content.
  • the client when the business server sends the text content of the audio data conversion of the same sentence, the client will display the subtitles when receiving the first intermediate conversion result of the sentence, and display the subtitles in the middle after receiving the sentence
  • the subtitle content corresponding to the sentence is dynamically updated, which not only realizes the dynamic subtitle display of each sentence, but also reduces the delay time of subtitle display of each sentence and improves the user experience.
  • the business server when the business server updates the sentence identifier, it can also update the content version serial number corresponding to the sentence identifier, so that the client can further update the text content with the higher ranking according to the content version serial number, which can avoid the higher ranking.
  • the text content of is sent to the client later due to network delays and other reasons, using the text content with the higher ranking to update the text content with the lower ranking causes the subtitle update error.
  • the information processing system provided in this embodiment optimizes the dynamic display of subtitles when the text content and sentence identification are at least two groups, which can realize that the client dynamically updates multiple subtitles at the same time, which further improves the effect of subtitle display.
  • the business server is used for:
  • Pull at least two channels of audio data in response to the open caption request characterization obtain the text content of the audio data currently to be converted in the text conversion process in the at least two channels of audio data, and update according to the changes of the at least two channels of audio data currently to be converted Sentence mark of text content;
  • the client is used to:
  • the received text content and sentence identifier are at least two sets, read the local sentence identifier, and determine whether there is a sentence identifier that is the same as the local sentence identifier in the at least two received sentence identifiers;
  • the received at least two sentence identifiers are used as new local sentence identifiers at the same time.
  • the service server can pull at least two channels of audio data uploaded at the same time by at least two of the client and other clients interacting with the client from the streaming media server according to the open caption request characterization (That is, there are more than two speakers talking at the same time); and the text content of the audio data currently to be converted in the text conversion process in at least two channels of audio data is obtained separately, and the changes according to the at least two channels of audio data currently to be converted The sentence identifier of the text content is updated.
  • the sentence identifier can be set for at least two channels of audio data, instead of setting the sentence identifier update mark when one of the channels is converted, and Update the tag according to the sentence identification update.
  • the client can receive at least two sets of text content and sentence identifiers simultaneously or alternately sent by the service server, and can dynamically update and display at least two subtitles at the same time according to the at least two sets of text content and sentence identifiers.
  • the same sentence identifier exists in at least two sentence identifiers and the local sentence identifier received by the client, and the number of the same sentence identifier can be at least one, it can be considered that there are subtitles in the received text content.
  • the updated text content can use the received text content corresponding to the same sentence identifier to update the displayed subtitle content corresponding to the same local sentence identifier.
  • the received text content corresponding to the sentence identifier that is different from the local sentence identifier can be displayed as the new subtitle content.
  • the new speaker starts to speak, and when at least two speakers are speaking, multiple subtitles can be updated and displayed at the same time.
  • the received text content and the displayed subtitle content do not belong to the same sentence.
  • the received at least two sentence identifiers The text content is displayed as at least two new subtitle content.
  • the previous speaker finishes speaking at least two new speakers start to speak at the same time, and the formed situation of at least two speakers speaking, multiple subtitles are updated and displayed at the same time.
  • the sentence identifier that is different from the local sentence identifier can be added to the first preset storage space to store the received sentence identifier.
  • At least two sentence identifiers simultaneously serve as new local sentence identifiers. If there is no sentence identifier that is the same as the local sentence identifier in the received at least two sentence identifiers, the received at least two sentence identifiers may be added to the first preset storage space at the same time, so as to identify the received at least two sentence identifiers. At the same time as the new local sentence identifier.
  • the service server can pull at least two channels of audio data in response to the open caption request characterization sent by the client, and obtain the currently to-be-converted audio data among the at least two channels of audio data during the text conversion process
  • the text content of the text content and the sentence identifier of the text content are updated according to the changes of at least two channels of current audio data to be converted, so that the client can dynamically update and display multiple subtitle contents at the same time according to the received at least two sets of text content and sentence identifier.
  • FIG. 5 is a schematic structural diagram of an information processing system provided by Embodiment 6 of the present disclosure. This embodiment can be combined with the various optional solutions in the information processing system provided in the foregoing embodiment.
  • the information processing system provided in this embodiment may further include: a streaming media server for receiving audio data uploaded by a client for streaming media communication; correspondingly, a service server, specifically for: responding to a subtitle opening request sent by the client Characterization, pull audio data from the streaming server.
  • the information processing system provided in this embodiment may further include: a real-time voice transcription tool for receiving audio data sent by the service server, determining the current audio data to be converted of the audio data, and feeding back that the current audio data to be converted is in the text conversion process
  • the service server is specifically used to: receive the text content of the audio data currently to be converted in the text conversion process in the audio data fed back by the real-time voice transcription tool.
  • the streaming media server can realize the storage of the audio data uploaded by each client; the real-time voice transfer tool can realize the real-time conversion of the audio data into text content and output the intermediate conversion results.
  • the information processing system provided by this embodiment includes:
  • the streaming media server 510 is configured to receive audio data uploaded by the client 520 for streaming media communication;
  • the service server 530 is configured to pull audio data from the streaming media server 510 in response to the open caption request characterization sent by the client 520;
  • the real-time voice transcription tool 540 is used to receive the audio data sent by the service server 530, determine the current audio data to be converted of the audio data, and feed back the text content of the current audio data to be converted in the text conversion process;
  • the service server 530 is also configured to receive the text content of the audio data currently to be converted in the text conversion process in the audio data fed back by the real-time voice transcribing tool, and update the sentence identifier of the text content according to the change of the current audio data to be converted;
  • the client 520 is used to receive the text content and the sentence identifier of the text content sent by the business server 530; read the local sentence identifier, and when the received sentence identifier is the same as the local sentence identifier, update the displayed local sentence identifier with the text content Corresponding subtitle content.
  • any client that performs real-time interactive communication with other clients can establish communication with the streaming server through the Streaming Media Software Development Kit (SDK) during the interactive communication process, and through The established communication transmits the multimedia data including the audio stream to the streaming media server.
  • SDK Streaming Media Software Development Kit
  • the service server can also use the streaming media SDK to pull the audio stream represented by each open caption request from the streaming server; the service server can provide it locally with the service server, or it can be a real-time voice transfer provided by a third party that establishes communication with the service server.
  • the writing tool interacts to realize the sending of audio data and the acquisition of text content; the service server can also establish a long link with the client to send the text content and sentence identification of the text content to the client.
  • the open caption request carries the requested subtitle language; correspondingly, the service server is also used to translate the obtained text content according to the requested subtitle language, and send the translated text content to the client.
  • the captioning request sent by the client to the server may carry the requested caption language, that is, the caption language that the client expects to see.
  • the service server Before sending the text content, the service server can translate the text content according to the subtitle language requested by the corresponding client. It is conducive to realizing, for example, in a situation where the user interacts with other users whose native language is different in real time, the display of subtitles between users promotes the interaction efficiency and improves the user experience.
  • the request for opening captions carries the first identity; correspondingly, the service server is specifically used for: audio data uploaded by the client and the client corresponding to the second identity that establishes a communication relationship with the first identity Pull, and obtain the identity of the pulled audio data; correspondingly, the client is specifically used to: receive the identity sent by the service server, and display the identity while displaying the content of the subtitles.
  • the caption opening request sent by the client to the server may carry the first identity.
  • the service server can maintain the communication relationship established between the identities. According to the first identity, the second identity with which the communication relationship is established can be queried, and then the communication relationship can be established for the client and the first identity.
  • the audio data uploaded by the client corresponding to the second identity identifier of is pulled.
  • the service server can also obtain the identity (such as nickname or avatar, etc.) of the pulled audio data from the streaming media server, and can combine the identity with the text content converted from the corresponding audio data. Sent to the client, so that the identity identifier corresponding to the subtitle content is displayed at the same time as the subtitle content is displayed, so that the user can understand the identity of the speaker and the content of the speaker at the same time, and the user experience is improved.
  • the information processing system provided by the embodiments of the present disclosure also includes a streaming media server and/or a real-time voice transcribing tool, which can respectively realize the storage of the audio data uploaded by each client, and the real-time conversion of the audio data into text content and output intermediate conversion result.
  • the service server can also translate the acquired text content according to the subtitle language carried in the received open caption request, and send the translated text content to the client, so as to realize the client display the required language and improve the user experience .
  • the service server can also send the identity of the pulled audio data to the client, so that the client can display the identity of the speaker and improve the user experience.
  • the second text content is displayed to update the first text content.
  • the method while receiving the first text content and the first sentence identifier of the first text content from the service server, the method further includes:
  • the second sentence identifier is the same as the first sentence identifier
  • the second text content is displayed to update the first text content, including:
  • the second sentence identifier is the same as the first sentence identifier, and the second content version serial number is arranged after the first content version serial number, the second text content is displayed to update the first text content.
  • Display the first text content including:
  • the first text content is displayed in the first display control, and the first display control is used to display subtitles on the text content from the service server.
  • display the second text content to update the first text content including:
  • the second text content is displayed in the first display control to replace the first text content.
  • display the second text content to update the first text content including:
  • the text content updated based on the difference between the first text content and the second text content is displayed.
  • the method further includes:
  • the second text content is displayed in the second display control, and the second display control is used to display the text content from the service server.
  • the method before receiving the first text content and the first sentence identifier of the first text content from the service server, the method further includes:
  • the request for opening captions includes an identification that characterizes the client terminal or an identifier that characterizes the location where the client terminal is located.
  • the request for opening captions includes language information of the text content.
  • the information processing method provided in the embodiment of the present disclosure can be applied to any embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an information processing device provided by Embodiment 8 of the present disclosure.
  • the information processing device provided in this embodiment is applied to a client terminal, and is particularly suitable for a situation where the client terminal displays subtitles in a real-time interactive scene.
  • the information processing device provided in this embodiment, applied to a client includes:
  • the receiving module 610 is used to receive the text content and the sentence identifier of the text content sent by the service server;
  • the display module 620 is configured to read the local sentence identifier, and when the received sentence identifier is the same as the local sentence identifier, use the text content to update the subtitle content corresponding to the displayed local sentence identifier.
  • the receiving module is used to receive the text content and sentence identification of the text content sent by the business server, and at the same time: receive the content version serial number corresponding to the sentence identification sent by the business server;
  • the display module is specifically used for:
  • the received sentence identifier is the same as the local sentence identifier, and the received content version serial number ranks after the local content version serial number, use the text content to update the displayed local sentence identifier and the subtitle content corresponding to the local content version serial number;
  • the display module is also used to: when the received sentence identifier is different from the local sentence identifier, display the text content as new subtitle content, and update the local sentence identifier with the received sentence identifier.
  • the display module is specifically used for:
  • the received at least two sentence identifiers are used as new local sentence identifiers at the same time.
  • the display module is specifically used to replace the subtitle content corresponding to the displayed local sentence identifier with the text content.
  • the client is a client of a real-time interactive application
  • the real-time interactive application includes at least one of an instant messaging application, a multimedia conference application, a live video application, and a group chat interactive application.
  • the information processing device provided in the embodiment of the present disclosure can execute the information processing method applied to the client provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 7 shows a schematic structural diagram of an electronic device (for example, the terminal device or the server in FIG. 7) 700 suitable for implementing the embodiments of the present disclosure.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 7 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 700 may include a processing device (such as a central processing unit, a graphics processor, etc.) 701, which may be based on a program stored in a read-only memory (Read-Only Memory, ROM) 702 or from a storage device 706
  • ROM read-only memory
  • RAM random access memory
  • various programs and data required for the operation of the electronic device 700 are also stored.
  • the processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704.
  • the following devices can be connected to the I/O interface 705: including input devices 706 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 707 such as a device; a storage device 708 such as a magnetic tape, a hard disk, etc.; and a communication device 709.
  • the communication device 709 may allow the electronic device 700 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 7 shows an electronic device 700 having various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 709, or installed from the storage device 706, or installed from the ROM 702.
  • the processing device 701 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the electronic device provided in the embodiment of the present disclosure and the information processing method provided in the above embodiment belong to the same public concept.
  • the embodiments of the present disclosure provide a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the information processing method provided in the foregoing embodiment is implemented.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
  • Computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Erasable Programmable Read-Only Memory (EPROM) or flash memory (FLASH), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein.
  • This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can use any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol) to communicate, and can communicate with any form or medium of digital Data communications (e.g., communication networks) are interconnected.
  • network protocols such as HTTP (Hyper Text Transfer Protocol)
  • communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, the electronic device:
  • the local sentence identifier is read, and when the received sentence identifier is the same as the local sentence identifier, the text content is used to update the subtitle content corresponding to the displayed local sentence identifier.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include, but are not limited to, object-oriented programming languages—such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • the embodiments of the present disclosure also provide a computer program product, which includes a computer program carried on a computer-readable medium, and when the computer program is executed by a processor, the information processing method provided in the above-mentioned embodiment is implemented.
  • the embodiments of the present disclosure also provide a computer program, which, when running on an electronic device, implements the information processing method provided in the above-mentioned embodiments.
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logic function.
  • Executable instructions can also occur in a different order from the order marked in the drawings. For example, two blocks shown one after the other can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure can be implemented in software or hardware.
  • the name of the unit or module does not constitute a limitation on the unit or module itself under certain circumstances.
  • the display module can also be described as a "subtitle display module”.
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), and application specific standard products (Application Specific Standard Parts, ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Parts
  • SOC System on Chip
  • CPLD Complex Programmable Logic Device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • Example 1 provides an information processing method applied to a client, and the method includes:
  • Read the local sentence identifier and when the received sentence identifier is the same as the local sentence identifier, use the text content to update the subtitle content corresponding to the displayed local sentence identifier.
  • Example 2 provides an information processing method, which further includes:
  • the method while receiving the text content and the sentence identifier of the text content sent by the service server, the method further includes:
  • the reading the local sentence identifier, and when the received sentence identifier is the same as the local sentence identifier, using the text content to update the subtitle content corresponding to the displayed local sentence identifier includes:
  • the received sentence identifier is the same as the local sentence identifier, and the received content version serial number is after the local content version serial number, use the text content to update the displayed local sentence identifier and the local content version serial number Corresponding subtitle content;
  • Example 3 provides an information processing method, which further includes:
  • the text content is displayed as new subtitle content, and the local sentence identifier is updated with the received sentence identifier.
  • Example 4 provides an information processing method, which further includes:
  • the local sentence identifier is read, and when the received sentence identifier is the same as the local sentence identifier, the displayed text content is updated
  • the subtitle content corresponding to the local sentence identifier includes:
  • the received at least two sentence identifiers are used as new local sentence identifiers at the same time.
  • Example 5 provides an information processing method, which further includes:
  • the updating the subtitle content corresponding to the displayed local sentence identifier by using the text content includes:
  • Example 6 provides an information processing method, which further includes:
  • the client is a client of a real-time interactive application
  • the real-time interactive application includes at least one of an instant messaging application, a multimedia conference application, a live video application, and a group chat interactive application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Machine Translation (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开实施例公开了一种信息处理方法、系统、装置、电子设备及存储介质,其中该方法应用于客户端,包括:接收业务服务器发送的文字内容及文字内容的句标识;读取本地句标识,并于接收的句标识与本地句标识相同时,利用文字内容更新已展示的本地句标识对应的字幕内容。客户端在接收的句标识与本地句标识相同时,利用接收的文字内容替换已展示的字幕内容,能够实现在同一句话的音频数据转化为文字的过程中,于接收到该句话的首个中间转化结果时就进行字幕显示,并在接收到该句话之后的中间转化结果时,对该句话对应的字幕内容进行动态更新,不仅实现了对每句话进行动态字幕展示,还减少了每句话的字幕显示的延迟时间,提升了用户体验。

Description

一种信息处理方法、系统、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求于2020年6月9日提交的申请号为202010518278.3、名称为“一种信息处理方法、系统、装置、电子设备及存储介质”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开实施例涉及计算机技术领域,尤其涉及一种信息处理方法、系统、装置、电子设备及存储介质。
背景技术
随着互联网以及通信技术的不断发展,通过通信类应用进行信息沟通已成为用户进行信息交流的重要方式之一。当客户端间进行包含音频数据的通信时,服务器可将音频数据转写为文字并下发至对应客户端,以使客户端显示音频数据对应的字幕。
目前,服务器通常将每句话的音频数据转写完毕后,再将转写完毕的文字下发至客户端,以使客户端看到每句话对应字幕的延迟时间较长。并且,当某句话较长时,字幕的延迟时间会更久,这将会大大降低用户的交互体验。
发明内容
本公开实施例提供了一种信息处理方法、装置、电子设备及存储介质,能够实现动态字幕展示,降低字幕延迟,提升用户体验。
第一方面,本公开实施例提供了一种信息处理方法,应用于客户端,包括:
接收业务服务器发送的文字内容及所述文字内容的句标识;
读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容。
第二方面,本公开实施例还提供了一种信息处理方法,包括:
接收来自业务服务器的第一文字内容及所述第一文字内容的第一句标识;
展示所述第一文字内容;
接收来自所述业务服务器的第二文字内容及所述第二文字内容的第二句标识;
当所述第二句标识与所述第一句标识相同时,展示所述第二文字内容以更新所述第一文字内容。
第三方面,本公开实施例提供了一种信息处理系统,包括:
业务服务器,用于响应于客户端发送的开启字幕请求表征对音频数据进行拉取,获取所述音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据所述当前待转化音频数据的变化更新所述文字内容的句标识;
所述客户端,用于接收所述业务服务器发送的所述文字内容及所述文字内容的句标识;读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容。
第四方面,本公开实施例还提供了一种信息处理装置,应用于客户端,包括:
接收模块,用于接收业务服务器发送的文字内容及所述文字内容的句标识;
展示模块,用于读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容。
第五方面,本公开实施例还提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例任一所述的信息处理方法。
第六方面,本公开实施例还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如本公开实施例任一所述的信息处理方法。
第七方面,本公开实施例还提供了一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序被处理器执行时,使得所述处理器执行如本公开实施例任一所述的信息处理方法。
第八方面,本公开实施例还提供了一种计算机程序,当其在电子设备上运行时,使得电子设备执行如本公开实施例任一所述的信息处理方法。
本公开实施例的技术方案,客户端接收业务服务器发送的文字内容及文字内容的句标识;读取本地句标识,并于接收的句标识与本地句标识相同时,利用文字内容更新已展示的本地句标识对应的字幕内容。客户端在接收的句标识与本地句标识相同时,可利用接收的文字内容替换已展示的字幕内容,能够实现在同一句话的音频数据转化为文字的过程中,于接收到该句话的首个中间转化结果时就进行字幕显示,并在接收到该句话之后的中间转化结果时,对该句话对应的字幕内容进行动态更新,不仅实现了对每句话进行动态字幕展示,还减少了每句话的字幕显示的延迟时间,提升了用户体验。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例一所提供的一种信息处理方法的流程示意图;
图2为本公开实施例二所提供的一种信息处理方法的流程示意图;
图3为本公开实施例三所提供的一种信息处理方法的流程示意图;
图4为本公开实施例四所提供的一种信息处理系统的结构示意图;
图5为本公开实施例六所提供的一种信息处理系统的结构示意图;
图6为本公开实施例七提供的一种信息处理装置结构示意图;
图7为本公开实施例八所提供的一种电子设备结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
实施例一
图1为本公开实施例一所提供的一种信息处理方法流程示意图,本公开实施例尤其适用于客户端在实时互动场景下进行字幕展示的情形,该方法可以由信息处理装置来执行,该装置可以通过软件和/或硬件的形式实现,该装置可配置于电子设备中,例如配置于智能手机、平板电脑、笔记本电脑或台式计算机等电子设备中。
如图1所示,本实施例提供的信息处理方法,应用于客户端,包括:
S110、接收业务服务器发送的文字内容及文字内容的句标识。
本公开实施例中,业务服务器可以认为是为各客户端提供字幕展示业务功能的服务器。任何与其他客户端进行实时互动通信的客户端,皆可在互动通信过程中向业务服务器发送开启字幕请求,以请求业务服务器反馈该客户端以及与该客户端进行互动通信的其他客户端上传的音频数据所转写得到的文字内容及文字内容的句标识。进而,客户端可根据接收的文字内容及文字内容的句标识进行字幕展示。
本实施例中,业务服务器可以根据该客户端发送的开启字幕请求表征从流媒体服务器对音频数据进行拉取,并将音频数据发送至实时语音转写工具;实时语音转写工具基于自动语音识别(Automatic Speech Recognition,ASR)技术,可根据音频数据的参数(例如音频数据之间的时间间隔等参数)对音频数据进行断句,以确定每句话对应的音频数据,还可将当前待转化的一句话对应的音频数据作为当前待转化音频数据,对当前待转化音频数据进行可输出中间转化结果的文字转化操作;业务服务器从实时语音转写工具获取当前待转化音频数 据所转化的文字内容,且获取的文字内容包括当前待转化音频数据转化过程中的文字内容和转化完毕的文字内容。
其中,每个客户端发送的开启字幕请求中可携带有表征该客户端的身份标识或表征该客户端所在会议室、直播间等实时互动房间的标识,业务服务器可根据上述表征从流媒体服务器拉取该客户端以及与该客户端进行互动通信的其他客户端上传的音频数据。其中,实时语音转写工具可以是由业务服务器本地提供的,或者是由与业务服务器建立通信的第三方所提供的,通过实时语音转写工具能够对音频数据流进行自动语音识别处理,实现音频数据流断句和针对每句话对应的音频数据进行转文字操作。其中,中间转化结果可认为是在转化得到完整的音频数据对应的文字内容前,转化得到的部分的音频数据对应的文字内容。例如,针对“今天天气真不错”这句话的音频数据,它的中间转化结果可以是“今天”、“今天天气”、“今天天气真”等一系列转化得到的部分的音频数据对应的文字内容,而转化得到完整的音频数据对应的文字内容为“今天天气真不错”。
本实施例中,业务服务器在获取到文字内容之后,还可以为该文字内容设置句标识,该句标识可唯一标识具体实时互动场景下每句话对应的音频数据,且可以由字母、文字、数字和特殊符号等至少一种元素组成。业务服务器设置文字内容对应的句标识的过程,可以是:根据当前待转化音频数据的变化更新文字内容的句标识。业务服务器可将文字内容的句标识随文字内容同时下发至该客户端。
其中,业务服务器设置句标识的一种实施方式,例如可以是:首先,于当前待转化音频数据在文字转化完毕时,设置句标识的更新标记;接着,在获取到新的当前待转化音频数据在文字转化过程中的文字内容时,根据更新标记更新句标识,并于句标识更新完毕时取消更新标记。例如,第一句话的音频数据对应的句标识为Seg1,第一句话的音频数据在文字转化完毕时,设置了句标识更新标记。紧接着获取到第二句话的音频数据的首个中间转化结果对应的文字内容,则此时可根据更新标识将句标识更新为Seg2,并且取消更新标记,避免第二句话的音频数据的下一个中间转化结果对应的文字内容的句标识被更新。也就是说,在获取到新的当前待转化音频数据在文字转化过程中之后转化的文字内容时,无需更新该句标识。
此外,当获取到新的当前待转化音频数据对应的文字内容也为转化完毕的文字内容时,可根据更新标记更新句标识,并保留该更新标记。仍以上述场景为例,若第二句话很短,获取到的第二句话的音频数据的首个文字内容就已经是转化完毕后的文字内容了,则此时除了根据更新标识将句标识更新为Seg2之外,需要保留更新标记,以使获取到再下一句话对应的文字内容时,再次根据更新标记更新句标识。
其中,更新句标识例如可以是生成一个该具体实时互动场景下与历史句标识都不同的新的句标识;且当句标识包括有序编号时,例如包括a、b、c...;1、2、3...;I、II、III...等时,也可以按编号顺序更新句标识,例如句标识可依次更新为S1、S2、S3...等。通过使句标识中包括有序编号,可利于客户端依据句标识的编号顺序进行字幕展示,便于用户了解每句话正确的上下文内容,提高用户阅读字幕的体验。
上述更新句标识的实施方式旨在实现“同一句话对应的音频数据转化得到的文字内容的句标识相同,不同句话对应的音频数据转化得到的文字内容的句标识不同”,且能够实现上述相同目的的其他实施方式也可应用于此,在此不做具体限定。
S120、读取本地句标识,并于接收的句标识与本地句标识相同时,利用文字内容更新已 展示的本地句标识对应的字幕内容。
本公开实施例中,客户端可将首次接收的句标识存储在本地第一预设存储空间中;当第二次接收到的句标识时,可将从该第一预设存储空间读取的全部句标识作为本地句标识;当第二次接收的句标识和本地句标识中任一句标识相同时,本地句标识不进行更新;当第二次接收的句标识和本地句标识中各句标识皆不同时,可以将第二次接收的句标识添加在第一预设存储空间中,以更新本地句标识。客户端在之后每次接收到句标识时,可重复上述操作,以实现更新或不更新本地句标识操作。
其中,接收的句标识与本地句标识相同,可以认为是客户端本地句标识中存在与接收的句标识相同的句标识,即客户端之前接收的相同的句标识文字内容与本次接收的文字内容对应同一句话的音频数据。其中,利用文字内容更新已展示的本地句标识对应的字幕内容,可以是客户端利用接收的文字内容更新已展示的与接收的句标识相同的本地句标识对应的字幕内容,具体可以是将相同的本地句标识对应的字幕的显示控件中的文字内容更新为接收的文字内容,以实现字幕内容的动态更新。
此外,当客户端接收的句标识与本地句标识不同时,可以认为客户端之前接收的文字内容为与本次接收的文字内容为不同句话的音频数据转化的文字内容。此时,客户端可以将文字内容作为新的字幕内容进行展示,并利用接收的句标识更新本地句标识。在这里,客户端在将文字内容作为新的字幕内容进行展示时,可以采用任何可以与其它已接收到的文字内容的展示方式不同的展示方式来展示。具体地,在一些应用场景中,将文字内容作为新的字幕内容进行展示,例如可以是生成一个新的字幕的显示控件,并在该新的显示控件中导入接收的文字内容,以实现一条新字幕的展示。其中,在新的字幕展示时,之前的字幕可滑动至客户端界面的其他位置(例如,之前的字幕依次向上滚动)。并且,新字幕中的字幕内容也可利用客户端之后接收到的与该字幕内容对应相同句标识的文字内容进行更新。其中,客户端利用接收的句标识更新本地句标识,例如可以是将接收的句标识添加至本地第一预设存储空间里中。
其中,利用文字内容更新已展示的本地句标识对应的字幕内容,可以是确定接收的文字内容与已展示与接收的句标识相同的本地句标识对应的的字幕内容的区别内容,并利用区别内容更新字幕内容。由于音频数据的流式处理模式,文字转化过程中首先转化的内容可能出现错误,但可以根据之后转化的内容向前纠错。示例性的,针对“工作室通透明亮”这句话的音频数据,客户端首次接收到的文字内容可能是“工作时”,则在字幕展示时,可以展示为“工作时...”;客户端之后接收的到内容可能为“工作室通透”,则在字幕内容更新时,可首先确定接收的文字内容与已展示的相同的本地句标识对应的字幕内容的区别内容包括“室”与“时”不同,且增加了“通透”,进而可根据区别内容将展示的字幕内容中的“时”更改为“室”,并在之后新增“通透”,以实现字幕内容的更新。
可选的,利用文字内容更新已展示的本地句标识对应的字幕内容,包括:利用文字内容替换已展示的本地句标识对应的字幕内容。也就是说,客户端可以利用接收的文字内容替换已展示与接收的句标识相同的本地句标识对应的字幕内容。示例性的,针对“今天天气真不错”这句话的音频数据,客户端若首先接收到的文字内容为“今天”,则在字幕展示时,可以展示为“今天...”;之后接收到的文字内容为“今天天气”,则在字幕展示时,可以将展示内容替换为“今天天气...”。通过利用文字内容替换已展示的本地句标识对应的字幕内容,可 减少客户端的运算处理过程,实现更加快速地字幕内容更新。
由于字幕内容可动态更新,在针对某一句话的音频数据进行对应文字内容展示时,无需等到该句话的音频数据转化完毕后,再对转化完毕的文字内容进行展示,而是可以在接收到该句话首次的中间转化结果对应的文字内容时,就将文字内容通过字幕展示,并在每次接收到该句话新的中间转化结果对应的文字内容时,利用新的文字内容进行字幕的动态更新。从而能够减少每一句话从说话人说出到字幕显示之间的延迟时间,很大程度上提升了用户体验。
可选的,客户端为实时互动应用的客户端。在这里,实时互动应用可以包括但不限于即时通讯应用、多媒体会议应用、视频直播应用和群聊互动应用中的至少一种。其中,在两个以上客户端进行即时通讯、多媒体会议、群聊互动或在同一直播间时,皆可通过上述信息处理方法对说话人所说的话进行字幕展示,以提高实时互动效率和互动体验。
本公开实施例的技术方案,客户端接收业务服务器发送的文字内容及文字内容的句标识;读取本地句标识,并于接收的句标识与本地句标识相同时,利用文字内容更新已展示的本地句标识对应的字幕内容。客户端通过在接收的句标识与本地句标识相同时,利用接收的文字内容替换已展示的字幕内容,能够实现在同一句话的音频数据转化为文字的过程中,于接收到该句话的首个中间转化结果时就进行字幕显示,并在接收到该句话之后的中间转化结果时,对该句话对应的字幕内容进行动态更新,不仅实现了对每句话进行动态字幕展示,还减少了每句话的字幕显示的延迟时间,提升了用户体验。
实施例二
图2为本公开实施例二所提供的一种信息处理方法的流程示意图。本实施例与上述实施例中提供的各个信息处理方法的可选方案可以结合。本实施例提供的信息处理方法中,客户端在接收业务服务器发送的文字内容及文字内容的句标识的同时,还可接收业务服务器发送的句标识对应的内容版本序号,并且能够利用句标识及其对应的内容版本序号对文字内容进行字幕展示,可有效避免在排序靠前的文字内容因为网络延迟等原因之后发给客户端时,利用排序靠前的文字内容更新排序靠后的文字内容所导致的字幕更新出错的情况。
如图2所示,本实施例提供的信息处理方法包括:
S210、接收业务服务器发送的文字内容、文字内容的句标识以及句标识对应的内容版本序号。
本实施例中,客户端接收的内容版本序号,可以唯一标识该文字内容在对应的当前待转化音频数据的文字转化过程中的转化次序,且可以包含有序编号,例如包括a、b、c...;1、2、3...;I、II、III...等,或者还包含字母、文字、数字和特殊符号等至少一种其他元素。
业务服务器在为文字内容设置句标识的同时,还可以设置句标识对应的内容版本序号。业务服务器设置内容版本序号的实施方式,例如可以是:根据文字内容在当前待转化音频数据的文字转化过程中的转化次序,生成句标识对应的内容版本序号。可以认为,当前待转化音频数据的转化的文字内容的句标识一致,并且可根据文字转化过程中本次转化的文字内容所在的转化次序生成本次转化的文字内容的内容版本序号。
示例性的,针对“今天天气真不错”这句话的音频数据,它的转化的文字内容可以依次是“今天”、“今天天气”、“今天天气真”和“今天天气真不错”,且上述文字内容对应的句标识一致,但是可以将第一次转化的“今天”的内容版本序号设置为Slice1,将第二次转化的“今天天气”的内容版本序号设置为Slice2,将第三次转化的“今天天气真”的内容版本序 号设置为Slice3,将第四次转化的“今天天气真不错”的内容版本序号设置为Slice4。
S220、读取本地句标识和本地句标识对应的本地内容版本序号。
本实施例中,客户端可以从本地第一预设存储空间读取的本地句标识,可以从本地第二预设存储空间读取的本地内容版本序号。其中,第一预设存储空间的大小可以满足既存储句标识,也存储内容版本序号时,可以将第一预设存储空间同时作为第二预设存储空间使用。
S230、当接收的句标识与本地句标识相同,接收的内容版本序号排在本地内容版本序号之后时,利用文字内容更新已展示的本地句标识和本地内容版本序号对应的字幕内容。
本实施例中,当客户端本地句标识中存在与接收的句标识相同的句标识,接收的内容版本序号排在相同的本地句标识的本地内容版本序号之后(可不包括等于本地内容版本序号)时,可以认为之前接收的相同的句标识文字内容与本次接收的文字内容对应同一句话的音频数据,并且本次接收的文本内容比上一次接收的文字内容的转化次序靠后。此时,客户端可以利用文字内容更新已展示的相同的本地句标识和本地内容版本序号对应的字幕内容。
此外,当客户端接收的句标识与本地句标识相同,接收的内容版本序号排在本地内容版本序号之前时,可以不对本地句标识和本地内容版本序号对应的字幕内容进行更新。示例性的,假设客户端在接收到内容版本序号为Slice4的“今天天气真不错”并进行字幕动态更新展示之后,才收到Slice3对应的“今天天气真”,由于Slice3排在Slice4之前,此时不用“今天天气真”来更新“今天天气真不错”,避免了更新出错的情况。
S240、利用接收的内容版本序号更新本地句标识对应的本地内容版本序号。
其中,客户端针对每个句标识,将接收到的该句标识对应的第一个内容版本序号存储至第二预设存储空间中;当接收到该句标识对应的第二个内容版本序号时,可从第二预设存储空间中读取该句标识对应的全部内容版本序号作为本地内容版本序号;当第二个内容版本序号排在全部本地内容版本序号之后时,可以将第二个内容版本序号添加在第二预设存储空间中,以更新本地内容版本序号;当第二个内容版本序号排在任一本地内容版本序号之前(可包括等于本地内容版本序号)时,本地内容版本序号不更新。客户端在之后每次接收到该句标识对应的内容版本序号时,可重复上述操作,以实现更新或不更新本地内容版本序号操作。
本公开实施例的技术方案,客户端在接收业务服务器发送的文字内容及文字内容的句标识的同时,还可接收句标识对应的内容版本序号,并且能够利用句标识及其对应的内容版本序号对文字内容进行字幕展示。通过在接收的句标识与本地句标识相同时,利用排序靠后的内容版本序号更新排序在前的内容版本序号对应的文字内容,可有效避免在排序靠前的文字内容因为网络延迟等原因之后发给客户端时,利用排序靠前的文字内容更新排序靠后的文字内容所导致的字幕更新出错的情况,进一步提升了字幕展示效果。
实施例三
图3为本公开实施例三所提供的一种信息处理方法的流程示意图。本实施例与上述实施例中提供的各个信息处理方法的可选方案可以结合。本实施例提供的信息处理方法对接收的文字内容和句标识为至少两组时的字幕动态展示方法进行了优化,能够实现同时对多条字幕进行动态更新,进一步提升了字幕展示效果。
如图3所示,本实施例提供的信息处理方法包括:
S310、接收业务服务器发送的文字内容及文字内容的句标识,其中接收的文字内容和句标识为至少两组。
本公开实施例中,业务服务器可根据开启字幕请求表征,从流媒体服务器拉取该客户端以及与该客户端进行互动通信的其他客户端中至少两个客户端同时上传的至少两路音频数据(也就是同时存在两个以上说话人在说话);并分别获取了至少两路音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据至少两路当前待转化音频数据的变化更新文字内容的句标识,可以认为若当前待转化音频数据为至少两路时,则可为至少两路音频数据分别设置句标识,而无需在其中一路转化完毕时设置句标识更新标记,并根据句标识更新标记更新。此时,客户端可接收到业务服务器同时或交替发送的至少两组文字内容和句标识,进而可根据至少两组文字内容和句标识同时对至少两个字幕进行动态更新展示。
S320、读取本地句标识,判断接收的至少两个句标识中是否存在与本地句标识相同的句标识。
本实施例中,本地句标识的数量可以为至少一个,判断接收的至少两个句标识中是否存在与本地句标识相同的句标识,也就是判断接收的至少两个句标识与本地句标识是否存在交集。
S330、若是,则利用相同的句标识对应的文字内容更新已展示的本地句标识对应的字幕内容;将不同的句标识对应的文字内容作为新的字幕内容进行展示。
本实施例中,若客户端接收的至少两个句标识与本地句标识中存在相同的句标识,且相同的句标识数量可以为至少一个,则可以认为接收的文字内容中存在对已展示字幕内容进行更新的文字内容,可利用接收的相同句标识对应的文字内容更新已展示的相同的本地句标识对应的字幕内容。同时,可将接收的与本地句标识不相同的句标识对应的文字内容作为新的字幕内容进行展示。从而实现了例如之前说话人未说话完毕时,新的说话人开始说话,所形成的至少两个说话人说话的情况下,进行多条字幕同时更新展示。
S340、若否,则将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示。
本实施例中,若客户端接收的至少两个句标识与本地句标识中不存在相同的句标识,则可以认为接收的文字内容与已展示字幕内容皆不属于同一句话,此时可将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示。从而实现了例如之前的说话人说话完毕,至少两个新的说话人同时开始说话,所形成的至少两个说话人说话的情况下,进行多条字幕同时更新展示。
S350、将接收的至少两个句标识同时作为新的本地句标识。
本实施例中,若接收的至少两个句标识与本地句标识中存在相同的句标识,则可将与本地句标识不相同的句标识添加至第一预设存储空间中,以将接收的至少两个句标识同时作为新的本地句标识。若接收的至少两个句标识中不存在与本地句标识相同的句标识,则可以将接收的至少两个句标识同时添加至第一预设存储空间中,以将接收的至少两个句标识同时作为新的本地句标识。
本公开实施例的技术方案,当接收的文字内容和句标识为至少两组时,客户端在读取本地句标识之后,判断接收的至少两个句标识中是否存在与本地句标识相同的句标识;若是,则利用相同的句标识对应的文字内容更新已展示的本地句标识对应的字幕内容;将不同的句标识对应的文字内容作为新的字幕内容进行展示;若否,则将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示;将接收的至少两个句标识同时作为新的本地句标识。能够实现同时对多条字幕进行动态更新,进一步提升了字幕展示效果。
实施例四
图4为本公开实施例四所提供的一种信息处理系统的结构示意图。本实施例提供的信息处理系统通过业务服务器与客户端之间的相互配合,能够实现在实时互动场景下,业务服务器进行互动音频数据的拉取、音频数据转化的文字内容的获取及文字内容对应句标识的生成;客户端根据接收的业务服务器发送的文字内容和句标识进行字幕内容的动态更新展示。本公开实施例所提供的信息处理系统中与本公开任意实施例所提供的信息处理方法属于相同的发明构思,未公开的技术细节可参考上述实施例,且可达到与上述实施例相同的有益效果。
如图4所示,本实施例提供的信息处理系统,包括:
业务服务器410,用于响应于客户端420发送的开启字幕请求表征对音频数据进行拉取,获取音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据当前待转化音频数据的变化更新文字内容的句标识;
客户端420,用于接收业务服务器410发送的文字内容及文字内容的句标识;读取本地句标识,并于接收的句标识与本地句标识相同时,利用文字内容更新已展示的本地句标识对应的字幕内容。
本公开实施例中,客户端发送的开启字幕请求中可携带有表征该客户端的身份标识或表征该客户端所在会议室、直播间等实时互动房间的标识,业务服务器可根据上述表征从流媒体服务器拉取该客户端以及与该客户端进行互动通信的其他客户端上传的音频数据。
其中,业务服务器可将音频数据发送至实时语音转写工具,以使实时语音转写工具基于ASR技术,对音频数据进行断句,以确定每句话对应的音频数据,还可将当前待转化的一句话对应的音频数据作为当前待转化音频数据,对当前待转化音频数据进行可输出中间转化结果的文字转化操作;业务服务器从实时语音转写工具获取当前待转化音频数据所转化的文字内容,且获取的文字内容包括当前待转化音频数据转化过程中的文字内容和转化完毕的文字内容。
其中,业务服务器在获取到文字内容之后,还可以为该文字内容设置句标识,该句标识可唯一标识具体实时互动场景下每句话对应的音频数据,且可以由字母、文字、数字和特殊符号等至少一种元素组成。业务服务器设置文字内容对应的句标识的过程,可以是:根据当前待转化音频数据的变化更新文字内容的句标识。业务服务器可将文字内容的句标识随文字内容同时下发至该客户端。
其中,业务服务器设置句标识的一种实施方式,例如可以是:于当前待转化音频数据在文字转化完毕时,设置句标识的更新标记;在获取到新的当前待转化音频数据在文字转化过程中的文字内容时,根据更新标记更新句标识,并于句标识更新完毕时取消更新标记。此外,在获取到新的当前待转化音频数据在文字转化过程中之后转化的文字内容时,无需更新该句标识。此外,当获取到新的当前待转化音频数据对应的文字内容也为转化完毕的文字内容时,可根据更新标记更新句标识,并保留该更新标记。
其中,当发送开启字幕请求的客户端为多个时,业务服务器可在接收到每个客户端发送的开启字幕请求之后,针对各客户端,在获取到某一客户端请求的首个文字内容时,可生成该客户端的初始的句标识,并可根据之后获取的该客户端请求的文字内容,设置文字内容的句标识。可以认为,业务服务器可以维护每个客户端和该客户端对应的句标识之间的关系,并可将各客户端对应的句标识发送至对应客户端,以保证业务服务器同时为多个客户端提供 字幕展示业务功能。
其中,客户端可将首次接收的句标识存储在本地第一预设存储空间中;当第二次接收到的句标识时,可将从该第一预设存储空间读取的全部句标识作为本地句标识;当第二次接收的句标识和本地句标识中任一句标识相同时,本地句标识不进行更新;当第二次接收的句标识和本地句标识中各句标识皆不同时,可以将第二次接收的句标识添加在第一预设存储空间中,以更新本地句标识。客户端在之后每次接收到句标识时,可重复上述操作,以实现更新或不更新本地句标识操作。
其中,客户端在接收到业务服务器发送的文字内容和句标识之后,可将从第一预设存储空间读取本地句标识。当客户端接收的句标识与本地句标识相同时,可以认为客户端之前接收的相同的句标识文字内容与本次接收的文字内容对应同一句话的音频数据。此时,客户端可利用接收的文字内容更新已展示的与接收的句标识相同的本地句标识对应的字幕内容。此外,当客户端接收的句标识与本地句标识不同时,可以认为客户端之前接收的文字内容为与本次接收的文字内容为不同句话的音频数据转化的文字内容,此时客户端可以将接收的文字内容作为新的字幕内容进行展示,并利用接收的句标识更新本地句标识。其中,利用文字内容更新已展示的本地句标识对应的字幕内容,包括:利用文字内容替换已展示的本地句标识对应的字幕内容。
可选的,业务服务器,还用于:根据文字内容在当前待转化音频数据的文字转化过程中的转化次序,生成句标识对应的内容版本序号;
相应的,客户端,还用于:读取本地句标识对应的本地内容版本序号;当接收的句标识与本地句标识相同,接收的内容版本序号排在本地内容版本序号之后时,利用文字内容替换已展示的本地句标识和本地内容版本序号对应的字幕内容;利用接收的内容版本序号更新本地句标识对应的本地内容版本序号。
本实施例中,业务服务器在为文字内容设置句标识的同时,还可以设置句标识对应的内容版本序号。业务服务器设置内容版本序号的实施方式,例如可以是:根据文字内容在当前待转化音频数据的文字转化过程中的转化次序,生成句标识对应的内容版本序号。可以认为,当前待转化音频数据的转化的文字内容的句标识一致,并且可根据文字转化过程中本次转化的文字内容所在的转化次序生成本次转化的文字内容的内容版本序号。
其中,客户端针对每个句标识,将接收到的该句标识对应的第一个内容版本序号存储至第二预设存储空间中;当接收到该句标识对应的第二个内容版本序号时,可从第二预设存储空间中读取该句标识对应的全部内容版本序号作为本地内容版本序号;当第二个内容版本序号排在全部本地内容版本序号之后时,可以将第二个内容版本序号添加在第二预设存储空间中,以更新本地内容版本序号;当第二个内容版本序号排在任一本地内容版本序号之前(可包括等于本地内容版本序号)时,本地内容版本序号不更新。客户端在之后每次接收到该句标识对应的内容版本序号时,可重复上述操作,以实现更新或不更新本地内容版本序号操作。
其中,当客户端本地句标识中存在与接收的句标识相同的句标识,接收的内容版本序号排在相同的本地句标识的本地内容版本序号之后(可不包括等于本地内容版本序号)时,可以认为之前接收的相同的句标识文字内容与本次接收的文字内容对应同一句话的音频数据,并且本次接收的文本内容比上一次接收的文字内容的转化次序靠后。此时,客户端可以利用文字内容更新已展示的相同的本地句标识和本地内容版本序号对应的字幕内容。此外,当客 户端接收的句标识与本地句标识相同,接收的内容版本序号排在本地内容版本序号之前时,可以不对本地句标识和本地内容版本序号对应的字幕内容进行更新。
本公开实施例提供的信息处理系统,业务服务器响应于客户端发送的开启字幕请求表征对音频数据进行拉取,获取音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据当前待转化音频数据的变化更新文字内容的句标识,以使客户端根据接收的文字内容和句标识进行字幕内容的动态更新展示。业务服务器通过将当前待转化音频数据转化为文字内容过程中得到的不同文字内容皆设置为同一句标识,能够指示客户端针对同一当前待转化音频数据,利用之后接收到的文字内容更新已展示的字幕内容。能够实现在业务服务器发送同一句话的音频数据转化的文字内容的过程中,客户端于接收到该句话的首个中间转化结果时就进行字幕显示,并在接收到该句话之后的中间转化结果时,对该句话对应的字幕内容进行动态更新,不仅实现了对每句话进行动态字幕展示,还减少了每句话的字幕显示的延迟时间,提升了用户体验。
此外,业务服务器在更新句标识的同时,还可以更新句标识对应的内容版本序号,以使客户端可进一步根据内容版本序号排序靠后的更新排序靠前的文字内容,能够避免在排序靠前的文字内容因为网络延迟等原因之后发给客户端时,利用排序靠前的文字内容更新排序靠后的文字内容导致字幕更新出错的情况。
实施例五
本实施例与上述实施例提供的信息处理系统的各个可选方案可以结合。本实施例提供的信息处理系统对文字内容和句标识为至少两组时的字幕动态展示进行了优化,能够实现客户端同时对多条字幕进行动态更新,进一步提升了字幕展示效果。
本实施例提供的信息处理系统中,业务服务器,用于:
响应于开启字幕请求表征对至少两路音频数据进行拉取,获取至少两路音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据至少两路当前待转化音频数据的变化更新文字内容的句标识;
相应的,客户端,用于:
当接收的文字内容和句标识为至少两组时,读取本地句标识,判断接收的至少两个句标识中是否存在与本地句标识相同的句标识;
若是,则利用相同的句标识对应的文字内容替换已展示的本地句标识对应的字幕内容;将不同的句标识对应的文字内容作为新的字幕内容进行展示;
若否,则将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示;
将接收的至少两个句标识同时作为新的本地句标识。
本公开实施例中,业务服务器可根据开启字幕请求表征,从流媒体服务器拉取该客户端以及与该客户端进行互动通信的其他客户端中至少两个客户端同时上传的至少两路音频数据(也就是同时存在两个以上说话人在说话);并分别获取了至少两路音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据至少两路当前待转化音频数据的变化更新了文字内容的句标识,可以认为若当前待转化音频数据为至少两路时,则可为至少两路音频数据分别设置句标识,而无需在其中一路转化完毕时设置句标识更新标记,并根据句标识更新标记更新。此时,客户端可接收到业务服务器同时或交替发送的至少两组文字内容和句标识,进而可根据至少两组文字内容和句标识同时对至少两个字幕进行动态更新展示。
本实施例中,若客户端接收的至少两个句标识与本地句标识中存在相同的句标识,且相同的句标识数量可以为至少一个,则可以认为接收的文字内容中存在对已展示字幕内容进行更新的文字内容,可利用接收的相同句标识对应的文字内容更新已展示的相同的本地句标识对应的字幕内容。同时,可将接收的与本地句标识不相同的句标识对应的文字内容作为新的字幕内容进行展示。从而实现了例如之前说话人未说话完毕时,新的说话人开始说话,所形成的至少两个说话人说话的情况下,进行多条字幕同时更新展示。
若客户端接收的至少两个句标识中不存在与本地句标识相同的句标识,则可以认为接收的文字内容与已展示字幕内容皆不属于同一句话,此时可将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示。从而实现了例如之前的说话人说话完毕,至少两个新的说话人同时开始说话,所形成的至少两个说话人说话的情况下,进行多条字幕同时更新展示。
本实施例中,若接收的至少两个句标识与本地句标识中存在相同的句标识,则可将与本地句标识不相同的句标识添加至第一预设存储空间中,以将接收的至少两个句标识同时作为新的本地句标识。若接收的至少两个句标识中不存在与本地句标识相同的句标识,则可以将接收的至少两个句标识同时添加至第一预设存储空间中,以将接收的至少两个句标识同时作为新的本地句标识。
本公开实施例提供的信息处理系统,业务服务器响应于客户端发送的开启字幕请求表征可对至少两路音频数据进行拉取,获取至少两路音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据至少两路当前待转化音频数据的变化更新文字内容的句标识,以使客户端根据接收的至少两组文字内容和句标识进行多条字幕内容的同时动态更新展示。
实施例六
图5为本公开实施例六所提供的一种信息处理系统的结构示意图。本实施例与上述实施例提供的信息处理系统中各个可选方案可以结合。本实施例提供的信息处理系统还可包括:流媒体服务器,用于接收进行流媒体通信的客户端上传的音频数据;相应的,业务服务器,具体用于:响应于客户端发送的开启字幕请求表征,从流媒体服务器拉取音频数据。本实施例提供的信息处理系统还可包括:实时语音转写工具,用于接收业务服务器发送的音频数据,确定音频数据的当前待转化音频数据,并反馈当前待转化音频数据在文字转化过程中的文字内容;相应的,业务服务器,具体用于:接收实时语音转写工具反馈的音频数据中当前待转化音频数据在文字转化过程中的文字内容。通过流媒体服务器能够实现对各客户端上传的音频数据的存储;通过实时语音转写工具能够实现将音频数据实时转化为文字内容并输出中间转化结果。
如图5所示,本实施例提供的信息处理系统,包括:
流媒体服务器510,用于接收进行流媒体通信的客户端520上传的音频数据;
业务服务器530,用于响应于客户端520发送的开启字幕请求表征,从流媒体服务器510拉取音频数据;
实时语音转写工具540,用于接收业务服务器530发送的音频数据,确定音频数据的当前待转化音频数据,并反馈当前待转化音频数据在文字转化过程中的文字内容;
业务服务器530,还用于接收实时语音转写工具反馈的音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据当前待转化音频数据的变化更新文字内容的句标识;
客户端520,用于接收业务服务器530发送的文字内容及文字内容的句标识;读取本地句 标识,并于接收的句标识与本地句标识相同时,利用文字内容更新已展示的本地句标识对应的字幕内容。
本公开实施例中,任何与其他客户端进行实时互动通信的客户端,皆可在互动通信过程中通过流媒体软件开发工具包(Software Development Kit,SDK)与流媒体服务器建立通信,并可通过建立的通信将包含音频流的多媒体数据传输至流媒体服务器上。业务服务器同样可通过流媒体SDK从流媒体服务器拉取各开启字幕请求表征的音频流;业务服务器可与业务服务器本地提供的,或者是由与业务服务器建立通信的第三方所提供的实时语音转写工具交互,实现音频数据的发送,以及文字内容的获取;业务服务器还可与客户端建立长链接,以向客户端发送文字内容及文字内容的句标识。
可选的,开启字幕请求中携带有请求字幕语种;相应的,业务服务器,还用于:根据请求字幕语种对获取的文字内容进行翻译,并将翻译完毕的文字内容发送至客户端。
其中,客户端向服务器发送的开启字幕请求中可携带有请求字幕语种,也就是客户端期望看到的字幕语种。业务服务器在发送文字内容前,可根据对应客户端请求的字幕语种对文字内容进行翻译。有利于实现例如用户与母语不同的其他用户进行实时交互的情境下,各用户之间通过字幕展示促进交互效率,提高了用户体验。
可选的,开启字幕请求中携带有第一身份标识;相应的,业务服务器,具体用于:对客户端以及与第一身份标识建立通信关系的第二身份标识对应的客户端上传的音频数据进行拉取,以及获取所拉取音频数据的身份标识;相应的,客户端,具体用于:接收业务服务器发送的身份标识,并在展示字幕内容的同时展示身份标识。
其中,客户端向服务器发送的开启字幕请求中可携带有第一身份标识。业务服务器中可维护有各身份标识之间建立的通信关系,根据该第一身份标识可查询出与之建立通信关系的第二身份标识,进而可对客户端以及与第一身份标识建立通信关系的第二身份标识对应的客户端上传的音频数据进行拉取。并且,业务服务器在拉取音频的同时,还可同时从流媒体服务器获取所拉取音频数据的身份标识(例如昵称或者头像等),并可将身份标识连同对应的音频数据转化的文字内容一起发送至客户端,以使在展示字幕内容的同时展示字幕内容对应的身份标识,便于用户同时了解说话人身份和说话人所说的内容,提高了用户体验。
本公开实施例提供的信息处理系统还包括流媒体服务器和/或实时语音转写工具,能够分别实现对各客户端上传的音频数据的存储,以及将音频数据实时转化为文字内容并输出中间转化结果。此外,业务服务器还可以根据接收的开启字幕请求中携带的字幕语种,对获取的文字内容进行翻译,并将翻译完毕的文字内容发送至客户端,从而实现客户端展示需求语种,提高了用户体验。进一步的,业务服务器还可以将拉取的音频数据的身份标识发送至客户端,从而实现客户端展示说话人身份,提高了用户体验。
实施例七
本实施例提供的信息处理方法,包括:
接收来自业务服务器的第一文字内容及第一文字内容的第一句标识;
展示第一文字内容;
接收来自业务服务器的第二文字内容及第二文字内容的第二句标识;
当第二句标识与第一句标识相同时,展示第二文字内容以更新第一文字内容。
可选的,在接收来自业务服务器的第一文字内容及第一文字内容的第一句标识的同时, 还包括:
接收来自业务服务器的第一句标识对应的第一内容版本序号;
在接收来自业务服务器的第二文字内容及第二文字内容的第二句标识的同时,还包括:
接收来自业务服务器的第二句标识对应的第二内容版本序号;
相应的,当第二句标识与第一句标识相同时,展示第二文字内容以更新第一文字内容,包括:
当第二句标识与第一句标识相同,且第二内容版本序号排在第一内容版本序号之后时,展示第二文字内容以更新第一文字内容。
展示第一文字内容,包括:
在第一显示控件中展示第一文字内容,第一显示控件用于对来自业务服务器的文字内容进行字幕展示。
可选的,展示第二文字内容以更新第一文字内容,包括:
在第一显示控件中展示第二文字内容以替换第一文字内容。
可选的,展示第二文字内容以更新第一文字内容,包括:
在第一显示控件中,展示基于第一文字内容和第二文字内容的区别内容更新的文字内容。
可选的,该方法还包括:
当第二句标识与第一句标识不同时,在第二显示控件中展示第二文字内容,第二显示控件用于对来自业务服务器的文字内容进行展示。
可选的,在接收来自业务服务器的第一文字内容及第一文字内容的第一句标识之前,该方法还包括:
向业务服务器发送开启字幕请求。
可选的,开启字幕请求包括表征客户端的身份标识或表征客户端所在场所的标识。
可选的,开启字幕请求包括文字内容的语种信息。
本公开实施例所提供的信息处理方法,可应用于本公开任意实施例中。
实施例八
图6为本公开实施例八所提供的一种信息处理装置结构示意图。本实施例提供的信息处理装置应用于客户端,尤其适用于客户端在实时互动场景下进行字幕展示的情形。
如图6所示,本实施例提供的信息处理装置,应用于客户端,包括:
接收模块610,用于接收业务服务器发送的文字内容及文字内容的句标识;
展示模块620,用于读取本地句标识,并于接收的句标识与本地句标识相同时,利用文字内容更新已展示的本地句标识对应的字幕内容。
在上述各技术方案的基础上,接收模块在接收业务服务器发送的文字内容及文字内容的句标识的同时,还用于:接收业务服务器发送的句标识对应的内容版本序号;
相应的,展示模块,具体用于:
读取本地句标识和本地句标识对应的本地内容版本序号;
当接收的句标识与本地句标识相同,接收的内容版本序号排在本地内容版本序号之后时,利用文字内容更新已展示的本地句标识和本地内容版本序号对应的字幕内容;
利用接收的内容版本序号更新本地句标识对应的本地内容版本序号。
在上述各技术方案的基础上,展示模块,还用于:当接收的句标识与本地句标识不同时, 将文字内容作为新的字幕内容进行展示,并利用接收的句标识更新本地句标识。
在上述各技术方案的基础上,当接收的文字内容和句标识为至少两组时,展示模块,具体用于:
读取本地句标识,判断接收的至少两个句标识中是否存在与本地句标识相同的句标识;
若是,则利用相同的句标识对应的文字内容更新已展示的本地句标识对应的字幕内容;将不同的句标识对应的文字内容作为新的字幕内容进行展示;
若否,则将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示;
将接收的至少两个句标识同时作为新的本地句标识。
在上述各技术方案的基础上,展示模块,具体用于:利用文字内容替换已展示的本地句标识对应的字幕内容。
在上述各技术方案的基础上,客户端为实时互动应用的客户端,且实时互动应用包括即时通讯应用、多媒体会议应用、视频直播应用和群聊互动应用中的至少一种。
本公开实施例所提供的信息处理装置,可执行本公开任意实施例所提供的应用于客户端的信息处理方法,具备执行方法相应的功能模块和有益效果。
值得注意的是,上述装置所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
实施例九
下面参考图7,其示出了适于用来实现本公开实施例的电子设备(例如图7中的终端设备或服务器)700的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,电子设备700可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(Read-Only Memory,ROM)702中的程序或者从存储装置706加载到随机访问存储器(Random Access Memory,RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备700与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置706被 安装,或者从ROM702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。
本公开实施例提供的电子设备与上述实施例提供的信息处理方法属于同一公开构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的有益效果。
实施例十
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的信息处理方法。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)或闪存(FLASH)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(Hyper Text Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:
接收业务服务器发送的文字内容及文字内容的句标识;
读取本地句标识,并于接收的句标识与本地句标识相同时,利用文字内容更新已展示的本地句标识对应的字幕内容。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分 在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
实施例十一
本公开实施例还提供了一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序被处理器执行时实现上述实施例所提供的信息处理方法。
实施例十二
本公开实施例还提供了一种计算机程序,当其在电子设备上运行时,实现上述实施例所提供的信息处理方法。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元、模块的名称在某种情况下并不构成对该单元、模块本身的限定,例如,展示模块还可以被描述为“字幕展示模块”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,【示例一】提供了一种信息处理方法,应用于客户端,该方法包括:
接收业务服务器发送的文字内容及所述文字内容的句标识;
读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新 已展示的所述本地句标识对应的字幕内容。
根据本公开的一个或多个实施例,【示例二】提供了一种信息处理方法,还包括:
可选的,在所述接收业务服务器发送的文字内容及所述文字内容的句标识的同时,还包括:
接收业务服务器发送的所述句标识对应的内容版本序号;
相应的,所述读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容,包括:
读取本地句标识和所述本地句标识对应的本地内容版本序号;
当接收的句标识与所述本地句标识相同,接收的内容版本序号排在所述本地内容版本序号之后时,利用所述文字内容更新已展示的所述本地句标识和所述本地内容版本序号对应的字幕内容;
利用接收的内容版本序号更新本地句标识对应的本地内容版本序号。
根据本公开的一个或多个实施例,【示例三】提供了一种信息处理方法,还包括:
当接收的句标识与所述本地句标识不同时,将所述文字内容作为新的字幕内容进行展示,并利用接收的句标识更新本地句标识。
根据本公开的一个或多个实施例,【示例四】提供了一种信息处理方法,还包括:
可选的,当接收的文字内容和句标识为至少两组时,所述读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容,包括:
读取本地句标识,判断接收的至少两个句标识中是否存在与所述本地句标识相同的句标识;
若是,则利用相同的句标识对应的文字内容更新已展示的所述本地句标识对应的字幕内容;将不同的句标识对应的文字内容作为新的字幕内容进行展示;
若否,则将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示;
将接收的至少两个句标识同时作为新的本地句标识。
根据本公开的一个或多个实施例,【示例五】提供了一种信息处理方法,还包括:
可选的,所述利用所述文字内容更新已展示的所述本地句标识对应的字幕内容,包括:
利用所述文字内容替换已展示的所述本地句标识对应的字幕内容。
根据本公开的一个或多个实施例,【示例六】提供了一种信息处理方法,还包括:
可选的,所述客户端为实时互动应用的客户端,且所述实时互动应用包括即时通讯应用、多媒体会议应用、视频直播应用和群聊互动应用中的至少一种。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围 的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (29)

  1. 一种信息处理方法,其特征在于,应用于客户端,包括:
    接收业务服务器发送的文字内容及所述文字内容的句标识;
    读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容。
  2. 根据权利要求1所述的方法,其特征在于,在所述接收业务服务器发送的文字内容及所述文字内容的句标识的同时,还包括:
    接收业务服务器发送的所述句标识对应的内容版本序号;
    相应的,所述读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容,包括:
    读取本地句标识和所述本地句标识对应的本地内容版本序号;
    当接收的句标识与所述本地句标识相同,接收的内容版本序号排在所述本地内容版本序号之后时,利用所述文字内容更新已展示的所述本地句标识和所述本地内容版本序号对应的字幕内容;
    利用接收的内容版本序号更新本地句标识对应的本地内容版本序号。
  3. 根据权利要求1或2所述的方法,其特征在于,还包括:
    当接收的句标识与所述本地句标识不同时,将所述文字内容作为新的字幕内容进行展示,并利用接收的句标识更新本地句标识。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,当接收的文字内容和句标识为至少两组时,所述读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容,包括:
    读取本地句标识,判断接收的至少两个句标识中是否存在与所述本地句标识相同的句标识;
    若是,则利用相同的句标识对应的文字内容更新已展示的所述本地句标识对应的字幕内容;将不同的句标识对应的文字内容作为新的字幕内容进行展示;
    若否,则将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示;
    将接收的至少两个句标识同时作为新的本地句标识。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述利用所述文字内容更新已展示的所述本地句标识对应的字幕内容,包括:
    利用所述文字内容替换已展示的所述本地句标识对应的字幕内容。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述客户端为实时互动应用的客户端,且所述实时互动应用包括即时通讯应用、多媒体会议应用、视频直播应用和群聊互动应用中的至少一种。
  7. 一种信息处理系统,其特征在于,包括:
    业务服务器,用于响应于客户端发送的开启字幕请求表征对音频数据进行拉取,获取所述音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据所述当前待转化音频数据的变化更新所述文字内容的句标识;
    所述客户端,用于接收所述业务服务器发送的所述文字内容及所述文字内容的句标识;读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展 示的所述本地句标识对应的字幕内容。
  8. 根据权利要求7所述的系统,其特征在于,所述业务服务器,具体用于:
    于当前待转化音频数据在文字转化完毕时,设置所述句标识的更新标记;
    在获取到新的当前待转化音频数据在文字转化过程中的文字内容时,根据所述更新标记更新所述句标识,并于所述句标识更新完毕时取消所述更新标记。
  9. 根据权利要求7或8所述的系统,其特征在于,所述业务服务器,还用于:
    根据所述文字内容在所述当前待转化音频数据的文字转化过程中的转化次序,生成所述句标识对应的内容版本序号;
    相应的,所述客户端,还用于:
    读取所述本地句标识对应的本地内容版本序号;
    当接收的句标识与所述本地句标识相同,接收的内容版本序号排在所述本地内容版本序号之后时,利用所述文字内容替换已展示的所述本地句标识和所述本地内容版本序号对应的字幕内容;
    利用接收的内容版本序号更新本地句标识对应的本地内容版本序号。
  10. 根据权利要求7-9任一项所述的系统,其特征在于,所述客户端,还用于:
    当接收的句标识与所述本地句标识不同时,将所述文字内容作为新的字幕内容进行展示,并利用接收的句标识更新本地句标识。
  11. 根据权利要求7-10任一项所述的系统,其特征在于,所述业务服务器,还用于:
    响应于所述开启字幕请求表征对至少两路音频数据进行拉取,获取所述至少两路音频数据中当前待转化音频数据在文字转化过程中的文字内容,以及根据至少两路当前待转化音频数据的变化更新文字内容的句标识;
    相应的,所述客户端还用于:
    当接收的文字内容和句标识为至少两组时,读取本地句标识,判断接收的至少两个句标识中是否存在与所述本地句标识相同的句标识;
    若是,则利用相同的句标识对应的文字内容替换已展示的所述本地句标识对应的字幕内容;将不同的句标识对应的文字内容作为新的字幕内容进行展示;
    若否,则将接收的至少两个文字内容分别作为新的至少两个字幕内容进行展示;
    将接收的至少两个句标识同时作为新的本地句标识。
  12. 根据权利要求7-11任一项所述的系统,其特征在于,所述开启字幕请求中携带有请求字幕语种;
    相应的,所述业务服务器,还用于:
    根据所述请求字幕语种对获取的文字内容进行翻译,并将翻译完毕的文字内容发送至所述客户端。
  13. 根据权利要求7-12任一项所述的系统,其特征在于,所述开启字幕请求中携带有第一身份标识;
    相应的,所述业务服务器,具体用于:
    对所述客户端以及与所述第一身份标识建立通信关系的第二身份标识对应的客户端上传的音频数据进行拉取,以及获取所拉取音频数据的身份标识;
    相应的,所述客户端,具体用于:
    接收所述业务服务器发送的身份标识,并在展示所述字幕内容的同时展示所述身份标识。
  14. 根据权利要求7-13任一项所述的系统,其特征在于,还包括:
    流媒体服务器,用于接收进行流媒体通信的客户端上传的音频数据;
    相应的,所述业务服务器,具体用于:
    响应于客户端发送的开启字幕请求表征,从所述流媒体服务器拉取音频数据。
  15. 根据权利要求7-14任一项所述的系统,其特征在于,还包括:
    实时语音转写工具,用于接收所述业务服务器发送的音频数据,确定所述音频数据的当前待转化音频数据,并反馈所述当前待转化音频数据在文字转化过程中的文字内容;
    相应的,所述业务服务器,具体用于:
    接收所述实时语音转写工具反馈的所述音频数据中当前待转化音频数据在文字转化过程中的文字内容。
  16. 一种信息处理装置,其特征在于,应用于客户端,包括:
    接收模块,用于接收业务服务器发送的文字内容及所述文字内容的句标识;
    展示模块,用于读取本地句标识,并于接收的句标识与所述本地句标识相同时,利用所述文字内容更新已展示的所述本地句标识对应的字幕内容。
  17. 一种信息处理方法,包括:
    接收来自业务服务器的第一文字内容及所述第一文字内容的第一句标识;
    展示所述第一文字内容;
    接收来自所述业务服务器的第二文字内容及所述第二文字内容的第二句标识;
    当所述第二句标识与所述第一句标识相同时,展示所述第二文字内容以更新所述第一文字内容。
  18. 根据权利要求17所述的方法,其特征在于,在接收来自业务服务器的第一文字内容及所述第一文字内容的第一句标识的同时,还包括:
    接收来自所述业务服务器的所述第一句标识对应的第一内容版本序号;
    在接收来自业务服务器的第二文字内容及所述第二文字内容的第二句标识的同时,还包括:
    接收来自所述业务服务器的所述第二句标识对应的第二内容版本序号;
    相应的,所述当所述第二句标识与所述第一句标识相同时,展示所述第二文字内容以更新所述第一文字内容,包括:
    当所述第二句标识与所述第一句标识相同,且所述第二内容版本序号排在所述第一内容版本序号之后时,展示所述第二文字内容以更新所述第一文字内容。
  19. 根据权利要求17或18所述的方法,其特征在于,所述展示所述第一文字内容,包括:
    在第一显示控件中展示所述第一文字内容,所述第一显示控件用于对来自所述业务服务器的文字内容进行字幕展示。
  20. 根据权利要求19所述的方法,其特征在于,所述展示所述第二文字内容以更新所述第一文字内容,包括:
    在所述第一显示控件中展示所述第二文字内容以替换所述第一文字内容。
  21. 根据权利要求19所述的方法,其特征在于,所述展示所述第二文字内容以更新所述 第一文字内容,包括:
    在所述第一显示控件中,展示基于所述第一文字内容和所述第二文字内容的区别内容更新的文字内容。
  22. 根据权利要求19-21任一项所述的方法,其特征在于,所述方法还包括:
    当所述第二句标识与所述第一句标识不同时,在第二显示控件中展示所述第二文字内容,所述第二显示控件用于对来自所述业务服务器的文字内容进行展示。
  23. 根据权利要求17-22任一项所述的方法,其特征在于,在所述接收来自业务服务器的第一文字内容及所述第一文字内容的第一句标识之前,所述方法还包括:
    向所述业务服务器发送开启字幕请求。
  24. 根据权利要求23所述的方法,其特征在于,所述开启字幕请求包括表征所述客户端的身份标识或表征所述客户端所在场所的标识。
  25. 根据权利要求23或24所述的方法,其特征在于,所述开启字幕请求包括所述文字内容的语种信息。
  26. 一种电子设备,其特征在于,所述电子设备包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-6或17-25任一项所述的信息处理方法。
  27. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-6或17-25任一项所述的信息处理方法。
  28. 一种计算机程序产品,其包括承载在计算机可读存储介质上的计算机程序,所述计算机程序被处理器执行时,执行权利要求1-6或17-25任一项所述的信息处理方法。
  29. 一种计算机程序,当其在电子设备上运行时,使得所述电子设备执行权利要求1-6或17-25任一项所述的信息处理方法。
PCT/CN2021/098533 2020-06-09 2021-06-07 一种信息处理方法、系统、装置、电子设备及存储介质 Ceased WO2021249323A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2022549101A JP7448672B2 (ja) 2020-06-09 2021-06-07 情報処理方法、システム、装置、電子機器及び記憶媒体
EP21821814.7A EP4164232A4 (en) 2020-06-09 2021-06-07 INFORMATION PROCESSING METHOD, SYSTEM AND APPARATUS, AND ELECTRONIC DEVICE AND STORAGE MEDIUM
US17/699,551 US11900945B2 (en) 2020-06-09 2022-03-21 Information processing method, system, apparatus, electronic device and storage medium
US18/499,001 US12051420B2 (en) 2020-06-09 2023-10-31 Information processing method, system, apparatus, electronic device and storage medium
US18/789,194 US20240395255A1 (en) 2020-06-09 2024-07-30 Information processing method, system, apparatus, electronic device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010518278.3 2020-06-09
CN202010518278.3A CN111711853B (zh) 2020-06-09 2020-06-09 一种信息处理方法、系统、装置、电子设备及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/699,551 Continuation US11900945B2 (en) 2020-06-09 2022-03-21 Information processing method, system, apparatus, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2021249323A1 true WO2021249323A1 (zh) 2021-12-16

Family

ID=72538975

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/098533 Ceased WO2021249323A1 (zh) 2020-06-09 2021-06-07 一种信息处理方法、系统、装置、电子设备及存储介质

Country Status (5)

Country Link
US (3) US11900945B2 (zh)
EP (1) EP4164232A4 (zh)
JP (1) JP7448672B2 (zh)
CN (2) CN114205665B (zh)
WO (1) WO2021249323A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205665B (zh) * 2020-06-09 2023-05-09 抖音视界有限公司 一种信息处理方法、装置、电子设备及存储介质
CN112164392A (zh) * 2020-11-13 2021-01-01 北京百度网讯科技有限公司 确定显示的识别文本的方法、装置、设备以及存储介质
CN112669847B (zh) * 2020-12-03 2024-11-26 深圳华德美视科技有限公司 一种可用于会议记录自动编辑整理的智慧屏
CN112651475B (zh) * 2021-01-06 2022-09-23 北京字节跳动网络技术有限公司 二维码显示方法、装置、设备及介质
CN114143591A (zh) * 2021-11-26 2022-03-04 网易(杭州)网络有限公司 字幕显示的方法、装置、终端和机器可读存储介质
CN115623264A (zh) * 2022-10-20 2023-01-17 上海哔哩哔哩科技有限公司 直播流的字幕处理方法、装置及直播流的播放方法、装置
CN118471198A (zh) * 2024-05-23 2024-08-09 深圳时空壶技术有限公司 一种实现流式tts的语音处理方法
US12591735B1 (en) * 2025-03-18 2026-03-31 SymmetriCall Inc. Transaction data conversion to dynamic transaction transcript
CN119865669B (zh) * 2025-03-25 2025-07-04 飞狐信息技术(天津)有限公司 一种直播字幕生成方法及相关装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130158995A1 (en) * 2009-11-24 2013-06-20 Sorenson Communications, Inc. Methods and apparatuses related to text caption error correction
CN105513586A (zh) * 2015-12-18 2016-04-20 百度在线网络技术(北京)有限公司 语音识别结果的显示方法和装置
CN106412678A (zh) * 2016-09-14 2017-02-15 安徽声讯信息技术有限公司 一种视频新闻实时转写存储方法及系统
CN110415706A (zh) * 2019-08-08 2019-11-05 常州市小先信息技术有限公司 一种在视频通话中实时叠加字幕的技术及其应用
CN111711853A (zh) * 2020-06-09 2020-09-25 北京字节跳动网络技术有限公司 一种信息处理方法、系统、装置、电子设备及存储介质

Family Cites Families (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6473778B1 (en) * 1998-12-24 2002-10-29 At&T Corporation Generating hypermedia documents from transcriptions of television programs using parallel text alignment
AU4200600A (en) * 1999-09-16 2001-04-17 Enounce, Incorporated Method and apparatus to determine and use audience affinity and aptitude
CN100354930C (zh) * 2004-11-01 2007-12-12 英业达股份有限公司 语音显示系统及方法
DE102005054978A1 (de) * 2005-11-16 2007-05-24 Deutsche Thomson-Brandt Gmbh Verfahren zum Aktualisieren eines Datensatzes sowie Vorrichtung zur Durchführung des Verfahrens
US20070118372A1 (en) * 2005-11-23 2007-05-24 General Electric Company System and method for generating closed captions
WO2007119893A1 (en) * 2006-04-18 2007-10-25 Inka Entworks, Inc. Method of providing caption information and system thereof
US8306816B2 (en) * 2007-05-25 2012-11-06 Tigerfish Rapid transcription by dispersing segments of source material to a plurality of transcribing stations
JP2010074482A (ja) 2008-09-18 2010-04-02 Toshiba Corp 外国語放送編集システム、翻訳サーバおよび翻訳支援方法
CN101374307B (zh) * 2008-09-26 2012-08-22 北京大学 一种移动设备中更新数字内容信息的方法及装置
CA2770361C (en) * 2009-08-07 2018-01-30 Access Innovation Media Pty Ltd System and method for real time text streaming
EP2339576B1 (en) * 2009-12-23 2019-08-07 Google LLC Multi-modal input on an electronic device
US9191639B2 (en) 2010-04-12 2015-11-17 Adobe Systems Incorporated Method and apparatus for generating video descriptions
US9536567B2 (en) * 2011-09-02 2017-01-03 Nexidia Inc. Transcript re-sync
US9704111B1 (en) * 2011-09-27 2017-07-11 3Play Media, Inc. Electronic transcription job market
CN103888597B (zh) * 2012-12-21 2016-12-28 联想(北京)有限公司 一种通信方法、装置及电子设备
US9696881B2 (en) 2013-01-15 2017-07-04 Viki, Inc. System and method for captioning media
US20160133251A1 (en) * 2013-05-31 2016-05-12 Longsand Limited Processing of audio data
US10331661B2 (en) * 2013-10-23 2019-06-25 At&T Intellectual Property I, L.P. Video content search using captioning data
CN104050160B (zh) * 2014-03-12 2017-04-05 北京紫冬锐意语音科技有限公司 一种机器与人工翻译相融合的口语翻译方法和装置
US20160026962A1 (en) * 2014-07-28 2016-01-28 Bank Of America Corporation Chat analyzer
GB2558013B (en) * 2014-10-30 2020-09-02 Econiq Ltd A recording system for generating a transcript of a dialogue
US9886423B2 (en) 2015-06-19 2018-02-06 International Business Machines Corporation Reconciliation of transcripts
CN105827499B (zh) * 2015-07-30 2019-12-03 南京步步高通信科技有限公司 一种已发送信息的修改方法、电子设备及应用服务器
US9672867B2 (en) * 2015-08-05 2017-06-06 International Business Machines Corporation Automated creation and maintenance of video-based documentation
US10332506B2 (en) * 2015-09-02 2019-06-25 Oath Inc. Computerized system and method for formatted transcription of multimedia content
US9787819B2 (en) * 2015-09-18 2017-10-10 Microsoft Technology Licensing, Llc Transcription of spoken communications
CN105931641B (zh) * 2016-05-25 2020-11-10 腾讯科技(深圳)有限公司 字幕数据生成方法和装置
KR101861006B1 (ko) * 2016-08-18 2018-05-28 주식회사 하이퍼커넥트 통역 장치 및 방법
CN106340291A (zh) * 2016-09-27 2017-01-18 广东小天才科技有限公司 一种双语字幕制作方法及系统
US10657834B2 (en) * 2017-01-20 2020-05-19 Coursera, Inc. Smart bookmarks
CN108538284A (zh) * 2017-03-06 2018-09-14 北京搜狗科技发展有限公司 同声翻译结果的展现方法及装置、同声翻译方法及装置
CN110915239B (zh) 2017-08-07 2021-09-14 索诺瓦公司 用于助听器用户的在线自动音频转录
US10762060B1 (en) * 2017-10-18 2020-09-01 Comake, Inc. Electronic file management
CN109936665A (zh) * 2017-12-18 2019-06-25 镇江智宸电子有限公司 一种通信方法、装置及电子设备
CN108259971A (zh) * 2018-01-31 2018-07-06 百度在线网络技术(北京)有限公司 字幕添加方法、装置、服务器及存储介质
US10459620B2 (en) 2018-02-09 2019-10-29 Nedelco, Inc. Caption rate control
US11100164B2 (en) * 2018-06-12 2021-08-24 Verizon Media Inc. Displaying videos based upon selectable inputs associated with tags
US12451154B2 (en) * 2018-08-08 2025-10-21 Comcast Cable Communications, Llc Generating and/or displaying synchronized captions
JP7096732B2 (ja) 2018-08-09 2022-07-06 日本放送協会 コンテンツ配信装置及びプログラム
SG10201901335VA (en) * 2019-02-15 2020-09-29 Wika Media Pte Ltd Device and method for facilitating a provision of a content
US11347379B1 (en) * 2019-04-22 2022-05-31 Audible, Inc. Captions for audio content
US20220238118A1 (en) * 2019-06-14 2022-07-28 Cedat 85 S.R.L. Apparatus for processing an audio signal for the generation of a multimedia file with speech transcription
CN110379406B (zh) * 2019-06-14 2021-12-07 北京字节跳动网络技术有限公司 语音评论转换方法、系统、介质和电子设备
US10917607B1 (en) 2019-10-14 2021-02-09 Facebook Technologies, Llc Editing text in video captions
US11410644B2 (en) * 2019-10-18 2022-08-09 Invoca, Inc. Generating training datasets for a supervised learning topic model from outputs of a discovery topic model
US11715466B2 (en) * 2019-11-21 2023-08-01 Rovi Guides, Inc. Systems and methods for local interpretation of voice queries
US20210224319A1 (en) * 2019-12-28 2021-07-22 Ben Avi Ingel Artificially generating audio data from textual information and rhythm information
US11159590B1 (en) * 2020-04-10 2021-10-26 Microsoft Technology Licensing, Llc Content recognition while screen sharing
US11532308B2 (en) 2020-05-04 2022-12-20 Rovi Guides, Inc. Speech-to-text system
US11790916B2 (en) * 2020-05-04 2023-10-17 Rovi Guides, Inc. Speech-to-text system
CN112511910A (zh) * 2020-11-23 2021-03-16 浪潮天元通信信息系统有限公司 实时字幕的处理方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130158995A1 (en) * 2009-11-24 2013-06-20 Sorenson Communications, Inc. Methods and apparatuses related to text caption error correction
US20150051908A1 (en) * 2009-11-24 2015-02-19 Captioncall, Llc Methods and apparatuses related to text caption error correction
CN105513586A (zh) * 2015-12-18 2016-04-20 百度在线网络技术(北京)有限公司 语音识别结果的显示方法和装置
CN106412678A (zh) * 2016-09-14 2017-02-15 安徽声讯信息技术有限公司 一种视频新闻实时转写存储方法及系统
CN110415706A (zh) * 2019-08-08 2019-11-05 常州市小先信息技术有限公司 一种在视频通话中实时叠加字幕的技术及其应用
CN111711853A (zh) * 2020-06-09 2020-09-25 北京字节跳动网络技术有限公司 一种信息处理方法、系统、装置、电子设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4164232A4 *

Also Published As

Publication number Publication date
EP4164232A1 (en) 2023-04-12
EP4164232A4 (en) 2023-10-18
US12051420B2 (en) 2024-07-30
JP7448672B2 (ja) 2024-03-12
US20220215841A1 (en) 2022-07-07
US20240395255A1 (en) 2024-11-28
CN111711853A (zh) 2020-09-25
CN114205665B (zh) 2023-05-09
CN114205665A (zh) 2022-03-18
US11900945B2 (en) 2024-02-13
JP2023515392A (ja) 2023-04-13
CN111711853B (zh) 2022-02-01
US20240062762A1 (en) 2024-02-22

Similar Documents

Publication Publication Date Title
WO2021249323A1 (zh) 一种信息处理方法、系统、装置、电子设备及存储介质
US11240050B2 (en) Online document sharing method and apparatus, electronic device, and storage medium
US12277366B2 (en) Audio control method, system, and electronic device
US9443518B1 (en) Text transcript generation from a communication session
WO2021082584A1 (zh) 消息交互方法、装置、可读介质及电子设备
US12106008B2 (en) Screen sharing display method and apparatus, device, and storage medium
WO2020082870A1 (zh) 即时视频显示方法、装置、终端设备及存储介质
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
WO2016124101A1 (zh) 一种信息展示方法、装置及系统
WO2020233142A1 (zh) 多媒体文件播放方法、装置、电子设备和存储介质
US20240119969A1 (en) Video processing method and apparatus, electronic device and storage medium
WO2023029904A1 (zh) 文本内容匹配方法、装置、电子设备及存储介质
WO2021218981A1 (zh) 互动记录的生成方法、装置、设备及介质
WO2023143299A1 (zh) 消息展示方法、装置、设备及存储介质
WO2021218612A1 (zh) 一种信息的切换共享方法、装置、电子设备及存储介质
US9921798B2 (en) Universal Serial Bus-to-Bluetooth audio bridging devices
WO2021103741A1 (zh) 内容处理方法、装置、计算机设备及存储介质
CN109168027B (zh) 即时视频展示方法、装置、终端设备及存储介质
US20250392793A1 (en) Method, apparatus, device, medium, and product for cross-language video processing
CN111818383B (zh) 视频数据的生成方法、系统、装置、电子设备及存储介质
US11818491B2 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
CN115086753A (zh) 直播视频流的处理方法、装置、电子设备和存储介质
CN115396684A (zh) 一种连麦展示方法、装置、电子设备、计算机可读介质
WO2020233171A1 (zh) 歌单切换方法、装置、系统、终端和存储介质
CN115767002A (zh) 一种信息显示方法、装置、设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21821814

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022549101

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021821814

Country of ref document: EP

Effective date: 20230109

WWW Wipo information: withdrawn in national office

Ref document number: 2021821814

Country of ref document: EP