Method for playing TTS voice in H5 webpage in background stream form

The invention discloses a method for playing TTS voice in an H5 webpage in a background stream form, which comprises the following steps that: 1, a preheating server converts text information of hot books into a TTS voice synthesis file online in advance, stores the TTS voice synthesis file in a nea...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WU QIHAO, XIE SHUAN, HE YI, YANG BING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method for playing TTS voice in an H5 webpage in a background stream form, which comprises the following steps that: 1, a preheating server converts text information of hot books into a TTS voice synthesis file online in advance, stores the TTS voice synthesis file in a nearest CDN server node, and caches a storage address in redis; 2, the front end calls a local book listening player to request an article playing stream address from a background book listening server; 3, after receiving the front-end request, the background book listening server acquires the voice file of the corresponding book from the cache directory, judges whether the book is a hot book or not, and executes the step 4 when judging that the book is the hot book; otherwise, when the book is not the hot spot book, executing the step 5; 4, a hotspot book playing mode; and 5, a non-hotspot book playing mode. According to the method, the problems of connection keeping in a background playing mode and process keep-aliv