CN-121985184-A - News broadcasting method, device, equipment and storage medium
Abstract
The embodiment of the disclosure provides a news broadcasting method, a device, equipment and a storage medium, and concretely discloses that structured news data are obtained after processing original news data by a rear end, wherein the processing at least comprises one of extracting news titles, generating news abstracts, dividing the news texts into a plurality of news paragraphs and setting broadcasting sequence identifiers for the news paragraphs, generating a news broadcasting strategy according to the structured news data, wherein the news broadcasting strategy at least comprises a broadcasting sequence determined based on the broadcasting sequence identifiers and a broadcasting language speed, rendering news pages of the news paragraphs according to the broadcasting sequence and determining broadcasting voice corresponding to the news paragraphs according to the broadcasting language speed, and broadcasting the news paragraphs according to the rendered news pages and the broadcasting voice.
Inventors
- LI TAO
- Ye Jiani
Assignees
- 麒麟合盛网络技术股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260113
Claims (10)
- 1. A news broadcasting method, comprising: the method comprises the steps of obtaining structured news data, wherein the structured news data is obtained by processing original news data by a rear end, and the processing at least comprises one of extracting news titles, generating news abstracts, dividing the news texts into a plurality of news paragraphs and setting broadcasting sequence identifiers for the news paragraphs; Generating a news broadcasting strategy according to the structured news data, wherein the news broadcasting strategy at least comprises a broadcasting sequence determined based on the broadcasting sequence identification and a broadcasting language speed; Rendering the news pages of each news paragraph according to the broadcasting sequence, and determining broadcasting voice corresponding to each news paragraph according to the broadcasting speech speed; and broadcasting each news paragraph according to the rendered news page and the broadcasting voice.
- 2. The method of claim 1, wherein broadcasting each of the news paragraphs based on the rendered news page and the broadcast voice comprises: receiving interaction operation of a user for any news paragraph; and responding to the interactive operation, updating the news broadcasting strategy, and broadcasting news based on the updated news broadcasting strategy.
- 3. The method of claim 2, wherein the interactive operation comprises at least one of a pause operation, a resume operation, a jump to a specified news paragraph play operation, and a speed adjustment operation.
- 4. A method according to claim 3, wherein said updating said news broadcasting policy in response to said interoperation comprises: Under the condition that the interaction operation is the operation of jumping to the playing of the appointed news paragraph, switching the current broadcasting position to the broadcasting sequence identifier corresponding to the appointed news paragraph, and broadcasting according to the switched playing position; And under the condition that the interactive operation is the operation of adjusting the broadcasting speed, updating the broadcasting speed in the news broadcasting strategy to the adjusted speed, and continuing broadcasting according to the updated speed.
- 5. The method of claim 1, wherein generating a news broadcast strategy comprises: The terminal environment parameters at least comprise one of current network state parameters, terminal equipment performance parameters and terminal platform type parameters, wherein the current network state parameters are used for indicating at least one of current network bandwidth and current network delay, the terminal equipment performance parameters are used for indicating at least one of current CPU occupancy rate and memory occupancy rate, and the terminal platform type parameters are used for indicating at least one of an operating system and browser type of terminal operation; And generating the news broadcasting strategy according to the terminal environment parameters and user preferences, wherein the user preferences are determined according to the user feedback of the historical broadcasting news.
- 6. The method of claim 1, wherein the news broadcasting policy further comprises at least one of a broadcasting judgment identifier and a broadcasting switching opportunity, wherein the broadcasting judgment identifier is used for identifying whether to start voice broadcasting, the broadcasting switching opportunity comprises a switching waiting time or a switching triggering condition between news paragraphs, and the switching triggering condition comprises a key used for indicating switching to be triggered.
- 7. A news broadcasting device, comprising: The system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring structured news data, the structured news data is obtained by processing original news data by a rear end, and the processing at least comprises one of extracting news titles, generating news abstracts, dividing the news texts into a plurality of news paragraphs and setting broadcasting sequence identifiers for the news paragraphs; the generation module is used for generating a news broadcasting strategy according to the structured news data, wherein the news broadcasting strategy at least comprises a broadcasting sequence determined based on the broadcasting sequence identification and a broadcasting speech rate; The processing module is used for rendering the news pages of each news paragraph according to the broadcasting sequence and determining broadcasting voice corresponding to each news paragraph according to the broadcasting speech speed; And the broadcasting module is used for broadcasting each news paragraph according to the rendered news page and the broadcasting voice.
- 8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of the method according to any one of claims 1 to 6 when executed by the processor.
- 9. A computer readable storage medium for storing computer executable instructions which when executed by a processor implement the steps of the method of any one of the preceding claims 1 to 6.
- 10. A computer program product, characterized in that it comprises a computer program which, when executed by a processor, implements the steps of the method according to any of the preceding claims 1 to 6.
Description
News broadcasting method, device, equipment and storage medium Technical Field The present invention relates to the field of artificial intelligence technologies, and in particular, to a news broadcasting method, device, equipment, and storage medium. Background Currently, when AI broadcasting of news is realized, the news is usually realized by adopting a mode of centralized processing at the back end. Specifically, the candidate server may perform unified processing on the news content, including generating a summary, synthesizing speech, and making a complete audio or video file, and then may issue a final broadcast resource to the front end for playing. However, there are significant technical limitations to the above approach in that, first, the processing logic is highly focused on the backend, resulting in the generation of a solidified broadcast resource, such as a complete audio or video file. The method has the advantages that the front end completely loses the broadcasting control capability, the broadcasting strategy cannot be dynamically adjusted according to the real-time terminal environment, so that broadcasting experience is stiff and flexibility is lacking, and secondly, the rear end needs to generate complete broadcasting resources in advance, so that the resource regeneration cost is high and the efficiency is low under the condition that news contents are frequently updated or news bursts, and the real-time performance of news broadcasting is seriously affected. Disclosure of Invention The invention mainly aims to provide a news broadcasting method, a device, equipment and a storage medium, and aims to solve the problems of front-end control capability loss, broadcasting experience stiffness, high resource regeneration cost, high efficiency and low influence on real-time performance caused by depending on back-end centralized processing and generating and solidifying broadcasting resources in the existing news broadcasting technology. In a first aspect, an embodiment of the present disclosure provides a news broadcasting method, including: the method comprises the steps of obtaining structured news data, wherein the structured news data is obtained by processing original news data by a rear end, and the processing at least comprises one of extracting news titles, generating news abstracts, dividing the news texts into a plurality of news paragraphs and setting broadcasting sequence identifiers for the news paragraphs; Generating a news broadcasting strategy according to the structured news data, wherein the news broadcasting strategy at least comprises a broadcasting sequence determined based on the broadcasting sequence identification and a broadcasting language speed; Rendering the news pages of each news paragraph according to the broadcasting sequence, and determining broadcasting voice corresponding to each news paragraph according to the broadcasting speech speed; and broadcasting each news paragraph according to the rendered news page and the broadcasting voice. In a second aspect, an embodiment of the present disclosure provides a news broadcasting device, including: The system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring structured news data, the structured news data is obtained by processing original news data by a rear end, and the processing at least comprises one of extracting news titles, generating news abstracts, dividing the news texts into a plurality of news paragraphs and setting broadcasting sequence identifiers for the news paragraphs; the generation module is used for generating a news broadcasting strategy according to the structured news data, wherein the news broadcasting strategy at least comprises a broadcasting sequence determined based on the broadcasting sequence identification and a broadcasting speech rate; The processing module is used for rendering the news pages of each news paragraph according to the broadcasting sequence and determining broadcasting voice corresponding to each news paragraph according to the broadcasting speech speed; And the broadcasting module is used for broadcasting each news paragraph according to the rendered news page and the broadcasting voice. In a third aspect, an embodiment of the present disclosure provides an electronic device comprising a processor and a memory configured to store computer-executable instructions that, when executed, cause the processor to implement the steps of the method of the first aspect described above. In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium for storing computer-executable instructions which, when executed by a processor, implement the steps of the method of the first aspect described above. In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, imp