News broadcasting method and device, equipment and storage medium
By generating structured news data on the backend and having the frontend autonomously generate broadcasting strategies, the problem of rigid broadcasting experience and low real-time performance in existing technologies is solved, enabling flexible frontend control and real-time broadcasting.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- QILIN HESHENG NETWORK TECH INC
- Filing Date
- 2026-01-13
- Publication Date
- 2026-05-05
AI Technical Summary
In existing AI-powered news broadcasting technologies, the reliance on centralized backend processing to generate fixed resources leads to a rigid frontend broadcasting experience, loss of control, and high costs associated with resource regeneration, thus affecting real-time performance.
The backend generates structured news data, including news segments and broadcast order identifiers. The frontend autonomously generates broadcast strategies and controls page rendering and audio playback, realizing a flexible broadcast mode with autonomous decision-making and control.
The front-end has gained the ability to adjust the broadcast according to the real-time situation, which solves the problem of rigid broadcast experience and improves the real-time performance of news content updates and broadcasts in emergency scenarios.
Smart Images

Figure CN121985184A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of artificial intelligence technology, and in particular to a news broadcasting method, apparatus, device, and storage medium. Background Technology
[0002] Currently, AI-powered news broadcasting typically employs a centralized backend processing approach. Specifically, a candidate server can perform unified processing of the news content, including generating summaries, synthesizing speech, and creating complete audio or video files. The final broadcast resources can then be distributed to the frontend for playback.
[0003] However, the above approach has significant technical limitations: First, the processing logic is highly centralized in the backend, resulting in the generation of fixed broadcast resources, such as complete audio or video files. These fixed resources cause the frontend to completely lose its broadcast control capabilities, making it impossible to dynamically adjust the broadcast strategy according to the real-time terminal environment, thus leading to a rigid and inflexible broadcast experience. Second, because the backend needs to pre-generate complete broadcast resources, the cost and efficiency of regenerating resources are high and inefficient in scenarios with frequent news updates or breaking news, severely impacting the real-time nature of news broadcasts. Summary of the Invention
[0004] The main objective of this invention is to provide a news broadcasting method, apparatus, device, and storage medium, which aims to solve the problems of loss of front-end control capabilities, rigid broadcasting experience, and high cost and low efficiency of resource regeneration, which affect real-time performance, caused by the reliance on centralized back-end processing and generation of fixed broadcasting resources in existing news broadcasting technologies.
[0005] In a first aspect, embodiments of this disclosure provide a news broadcasting method, including: Obtain structured news data; wherein the structured news data is obtained by processing the original news data by the backend; the processing includes at least one of the following: extracting news titles, generating news summaries, dividing the news text into multiple news paragraphs and setting broadcast order identifiers for each news paragraph; Based on the structured news data, a news broadcasting strategy is generated; the news broadcasting strategy includes at least a broadcasting order determined based on the broadcasting order identifier and a broadcasting speed. According to the broadcast order, the news page of each news segment is rendered, and the broadcast voice corresponding to each news segment is determined according to the broadcast speed. The news segments are read aloud based on the rendered news page and the accompanying audio.
[0006] Secondly, embodiments of this disclosure provide a news broadcasting device, including: The acquisition module is used to acquire structured news data; wherein the structured news data is obtained by processing the original news data by the backend; the processing includes at least one of the following: extracting news titles, generating news summaries, dividing the news text into multiple news paragraphs and setting broadcast order identifiers for each news paragraph; A generation module is used to generate a news broadcasting strategy based on the structured news data; the news broadcasting strategy includes at least a broadcasting order determined based on the broadcasting order identifier and a broadcasting speed. The processing module is used to render the news page of each news segment according to the broadcast order, and to determine the broadcast voice corresponding to each news segment according to the broadcast speed. The broadcast module is used to broadcast each news segment based on the rendered news page and the broadcast voice.
[0007] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method described in the first aspect above.
[0008] Fourthly, embodiments of this disclosure provide a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the steps of the method described in the first aspect.
[0009] Fifthly, embodiments of this disclosure provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect above.
[0010] The at least one technical solution provided by the embodiments of the present invention can achieve the following technical effects: In this embodiment of the invention, the backend can first process the raw news data to generate structured news data containing news segments and broadcast order identifiers. After obtaining the structured news data, the frontend can autonomously generate a news broadcasting strategy based on the data. This strategy can include at least the broadcast order and broadcasting speed. Subsequently, the frontend can control the page rendering and audio playback of each news segment in real time according to this strategy.
[0011] This invention transforms the traditional centralized broadcasting model, where the backend generates fixed audio and video resources, into a flexible broadcasting model where the frontend makes autonomous decisions and controls the broadcast. This transformation empowers the frontend to adjust the broadcast based on real-time conditions, effectively resolving the issues of lack of frontend control and rigid broadcasting experience caused by fixed backend logic. Furthermore, since the frontend can adjust the broadcast without relying on the backend to regenerate complete resources, the real-time performance of news content updates and broadcasts in breaking news scenarios is significantly improved. Attached Figure Description
[0012] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 A flowchart illustrating a news broadcasting method provided in one embodiment of the present invention; Figure 2 A schematic diagram of the module composition of a news broadcasting device 200 provided in one embodiment of the present invention; Figure 3 This is a schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present invention. Detailed Implementation
[0013] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0014] The technical solutions provided by the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0015] Please see Figure 1 , Figure 1 This is a flowchart illustrating a news broadcasting method provided in one embodiment of the present invention, as shown below. Figure 1 As shown, the method includes the following steps: Step 102: Obtain structured news data; where structured news data is obtained by processing the original news data by the backend; the processing includes at least one of the following: extracting news titles, generating news summaries, dividing the news text into multiple news paragraphs and setting broadcast order identifiers for each news paragraph.
[0016] Step 104: Generate a news broadcasting strategy based on structured news data; the news broadcasting strategy shall include at least the broadcasting order determined by the broadcasting order identifier and the broadcasting speed.
[0017] Step 106: Render the news page of each news segment according to the broadcast order, and determine the corresponding broadcast voice for each news segment according to the broadcast speed. Step 108: Based on the rendered news page and the audio, broadcast each news segment.
[0018] In one embodiment of the present invention, structured news data can be obtained from the backend first. Specifically, the backend can obtain raw news text data from a news gathering system, a content management system, or a third-party news interface. Then, instead of directly generating the final audio or video files as in traditional solutions, the backend initiates an artificial intelligence processing flow to perform in-depth analysis and understanding of the raw news text, generating structured news data.
[0019] Specifically, the processing can begin by using named entity recognition and text classification models to accurately identify and extract news titles. This process can be achieved by analyzing the font size, positional features, and semantic importance of the text. Secondly, an attention-based text summarization model can be used to generate concise news summaries. This model can identify key information in the text and generate coherent summary text. Then, a text segmentation algorithm can be used to intelligently divide lengthy news articles into a series of semantically complete and logically coherent news paragraphs, ensuring that each paragraph has a relatively independent theme. Simultaneously, each segmented news paragraph can be assigned a unique broadcast order identifier. These identifiers not only indicate the order of playback but may also contain information about the logical relationships between paragraphs. Furthermore, artificial intelligence processing can identify key information points in the news content and add playback emphasis markers to important content so that the front-end can perform special processing during broadcasting.
[0020] Through the above processing, the originally unstructured plain text news can be transformed into a highly structured data format. This format not only contains the core content of the news but also includes guidance on how to broadcast this content, thus facilitating news broadcasting on the front end. After completing the above processing, the back end can distribute this structured news data to the front end runtime environment via a network interface. The front end can be a web browser, H5 page, mobile application, or mini-program running on the user's device.
[0021] In one embodiment of the present invention, the front end can obtain the aforementioned structured news data. For example, when a user accesses a news broadcast page through a browser and it loads and is ready, the front end can request and receive structured news data from the server. After receiving the structured news data, the front end can parse and verify it to ensure the integrity and correctness of the data. Then, the front end can proceed to the news broadcast strategy generation stage.
[0022] When generating a news broadcasting strategy, it can be determined based on multi-source information. First, it can be determined based on the structured news data itself. The broadcasting order identifiers contained in the structured news data can directly determine the basic framework and sequence of news content broadcasting. For example, a news broadcasting strategy might explicitly stipulate that the news headline is broadcast first, followed by the news summary, and then each news segment is broadcast in sequence according to the order identifiers.
[0023] Then, the front-end can proactively acquire and analyze the current terminal environment parameters to generate a news broadcast strategy. These parameters can include at least one of the following: current network status parameters, terminal device performance parameters, and terminal platform type parameters. Network status parameters can be obtained through the browser's network information API or specific diagnostic interfaces. Specific indicators may include available bandwidth, network round-trip latency, and packet loss rate, indicating at least one of current network bandwidth and latency. Terminal device performance parameters can be obtained through performance monitoring interfaces, including instantaneous CPU utilization, remaining available memory, GPU load, and battery level, indicating at least one of current CPU utilization and memory utilization. The terminal platform type parameter can be determined by parsing the user agent string or calling platform-specific APIs, identifying at least one of the operating system type and browser type of the running environment.
[0024] After collecting the aforementioned terminal environment parameters, the front-end can analyze this data and generate a news broadcasting strategy based on the analysis results. For example, when the network bandwidth is detected to be lower than a preset threshold or the device CPU utilization rate is consistently higher than a safety threshold, the generated news broadcasting strategy may decide not to enable the voice broadcasting function, only performing text rendering to ensure basic readability and fluency. Conversely, under conditions of good network conditions and sufficient device performance, the news broadcasting strategy will enable high-quality voice broadcasting, and may even select a speech synthesis model that requires more computing resources. When determining whether to enable voice broadcasting, the news broadcasting strategy will generate a clear broadcasting judgment flag, which can be a Boolean value, used to ultimately control the on / off state of the speech synthesis function.
[0025] In addition to the aforementioned terminal environment parameters, user preference dimensions can also be incorporated into the generation of news broadcasting strategies. User preferences are personalized settings inferred by analyzing historical interaction data between users and news broadcasting applications. These preferences may include users' preferred broadcasting speed, average completion rate for various news content types, frequently skipped or repeatedly listened-to news types, and settings actively adjusted during use. The front-end analyzes these behavioral patterns to build a user preference model and applies it to strategy generation. For example, for users who prefer quick information access, the news broadcasting strategy might default to a faster broadcasting speed; while for users who focus more on key content, the news broadcasting strategy might adjust the broadcasting order or emphasis based on the importance of the news summary.
[0026] In one embodiment of the present invention, the front end can generate a detailed news broadcasting strategy based on structured data, terminal environment parameters, and user preferences. This strategy is essentially a structured data object, which may contain at least the following key fields: broadcasting order, an ordered list that explicitly defines the broadcast sequence of content elements; and broadcasting speed, expressed as a specific numerical value, such as the word rate per minute or a multiple of the standard speaking speed. Furthermore, the news broadcasting strategy may include more granular control parameters, such as the timing of switching between broadcast segments. The switching timing can be a time parameter, defining the number of milliseconds to pause after each segment is finished; or it can be an event trigger condition, such as waiting for the user to click the "next segment" button before switching. The news broadcasting strategy can also define special processing rules, such as setting repeated broadcasts of important segments, or adjusting tone parameters according to content type.
[0027] After generating the news broadcast strategy, the broadcast execution phase can begin. Based on the control parameters in the strategy, the front-end can precisely manage the visual presentation and auditory playback of the news content, ensuring strict synchronization between the two. The visual rendering can be handled by the front-end's rendering engine. According to the broadcast order specified by the strategy, the front-end can dynamically control the display of corresponding news elements, such as changing background colors, bolding fonts, highlighting borders, or adding smooth transition animation effects, thus clearly indicating the current broadcast focus. Simultaneously, a different display method is applied to paragraphs that have already been broadcast, such as reducing transparency or changing text color. This dynamic visual feedback allows users to intuitively understand the broadcast progress and current focus.
[0028] In terms of auditory processing, the front-end can generate or process the broadcast speech using different technical paths based on the speech rate parameters and broadcast judgment flags in the strategy. When the strategy determines to enable speech broadcasting, two main implementation methods can be used: The first is a dynamic speech synthesis path, where the front-end calls the speech synthesis interface in real time when it needs to play a news segment, sending the segment text content along with the speech rate, pitch, and other parameters specified by the strategy to the synthesis engine. The synthesis engine returns an audio data stream or a URL of a temporary audio file, which the front-end then plays using the audio playback component. The second is a pre-generated speech adjustment path, where if the content provider has pre-generated an audio file with a standard speech rate, the front-end can adjust the speech rate by controlling the playback rate attribute of the audio player; for example, setting the playback rate to 1.5x can achieve a faster broadcasting effect.
[0029] In one embodiment of the present invention, to ensure strict synchronization between visual rendering and audio playback, the front end can continuously monitor the current time progress of audio playback. Based on this time progress, the front end can determine the news segment that should be highlighted and trigger the corresponding display update. This mechanism ensures that text highlighting and audio content are precisely matched on the timeline, and can quickly re-establish synchronization even after the user performs interactive operations such as jumping or pausing.
[0030] In one embodiment of the present invention, the front end can also capture various user interactions through an event listening mechanism. These interactions may include, but are not limited to: pausing playback to temporarily interrupt the current broadcast process; resuming playback to resume broadcasting from the interruption point; jumping to a specified news segment to quickly locate specific content; and adjusting the broadcast speed to change the rhythm of the information broadcast. For each interaction type, the front end has a corresponding event handling method.
[0031] When a user triggers a navigation action, the front-end can immediately identify the playback order identifier corresponding to the target segment and update the current playback position pointer to that identifier. Then, the front-end can recalculate the synchronization timing and continue the rendering and playback process from the new position. When the user adjusts the speech rate, the front-end updates the speech rate parameter in the strategy and immediately applies it to subsequent playback. If a dynamic speech synthesis path is used, the new speech rate parameter will affect the synthesis requests of subsequent segments; however, if a pre-generated speech adjustment path is used, the player's playback rate attribute will be updated in real time, and the currently playing audio will smoothly transition to the new speech rate.
[0032] In this embodiment of the invention, all these interactive responses and strategy adjustments are completed locally on the front end, without requiring additional communication with the backend server. This design greatly improves response speed, enabling users to receive immediate feedback and significantly enhancing the smoothness of the interactive experience. Simultaneously, since it eliminates the need to regenerate complete broadcast resources for each interaction, it also greatly reduces the pressure on the backend service.
[0033] In this embodiment of the invention, the backend can first process the raw news data to generate structured news data containing news segments and broadcast order identifiers. After obtaining the structured news data, the frontend can autonomously generate a news broadcasting strategy based on the data. This strategy can include at least the broadcast order and broadcasting speed. Subsequently, the frontend can control the page rendering and audio playback of each news segment in real time according to this strategy.
[0034] This invention transforms the traditional centralized broadcasting model, where the backend generates fixed audio and video resources, into a flexible broadcasting model where the frontend makes autonomous decisions and controls the broadcast. This transformation empowers the frontend to adjust the broadcast based on real-time conditions, effectively resolving the issues of lack of frontend control and rigid broadcasting experience caused by fixed backend logic. Furthermore, since the frontend can adjust the broadcast without relying on the backend to regenerate complete resources, the real-time performance of news content updates and broadcasts in breaking news scenarios is significantly improved.
[0035] Figure 2 The news broadcasting device 200 shown can achieve Figure 1 The method described in the embodiment achieves the same technical effect, and can be specifically referred to in the above description. Figure 1 The description of the news broadcasting in the illustrated embodiment will not be repeated here. The news broadcasting device 200 includes: The acquisition module 201 is used to acquire structured news data; wherein the structured news data is obtained by the backend processing the original news data; the processing includes at least one of the following: extracting news titles, generating news summaries, dividing the news text into multiple news paragraphs and setting broadcast order identifiers for each news paragraph; The generation module 202 is used to generate a news broadcasting strategy based on the structured news data; the news broadcasting strategy includes at least a broadcasting order determined based on the broadcasting order identifier and a broadcasting speed. The processing module 203 is used to render the news page of each news segment according to the broadcast order, and to determine the broadcast voice corresponding to each news segment according to the broadcast speed. The broadcast module 204 is used to broadcast each news segment according to the rendered news page and the broadcast voice.
[0036] Optionally, the broadcast module 204 is used for: Receive user interaction actions for any of the aforementioned news segments; In response to the interactive operation, the news broadcasting strategy is updated, and news broadcasting is performed based on the updated news broadcasting strategy.
[0037] Optionally, the interactive operation includes at least one of the following: pausing playback, resuming playback, jumping to a specified news segment, and adjusting the playback speed.
[0038] Optionally, the broadcast module 204 is further configured to: When the interactive operation is to jump to the playback of a specified news segment, the current broadcast position is switched to the broadcast order identifier corresponding to the specified news segment, and the broadcast is performed according to the switched playback position; When the interactive operation is to adjust the playback speed of the news broadcast, the playback speed in the news broadcast strategy is updated to the adjusted speed, and the broadcast continues according to the updated speed.
[0039] Optionally, the generation module 202 is used for: Obtain terminal environment parameters; the terminal environment parameters include at least one of the following: current network status parameters, terminal device performance parameters, and terminal platform type parameters; wherein, the current network status parameters are used to indicate at least one of current network bandwidth and current network latency; the terminal device performance parameters are used to indicate at least one of current CPU utilization and memory utilization; the terminal platform type parameters are used to indicate at least one of the operating system and browser type running on the terminal; The news broadcasting strategy is generated based on the terminal environment parameters and user preferences; wherein the user preferences are determined based on the user's feedback on historical news broadcasts.
[0040] Optionally, the news broadcasting strategy further includes at least one of a broadcasting judgment identifier and a broadcasting switching timing; wherein, the broadcasting judgment identifier is used to identify whether voice broadcasting is started; the broadcasting switching timing includes a switching waiting time or a switching trigger condition between each news segment; the switching trigger condition includes the triggering of a button used to indicate switching.
[0041] In this embodiment of the invention, the backend can first process the raw news data to generate structured news data containing news segments and broadcast order identifiers. After obtaining the structured news data, the frontend can autonomously generate a news broadcasting strategy based on the data. This strategy can include at least the broadcast order and broadcasting speed. Subsequently, the frontend can control the page rendering and audio playback of each news segment in real time according to this strategy.
[0042] This invention transforms the traditional centralized broadcasting model, where the backend generates fixed audio and video resources, into a flexible broadcasting model where the frontend makes autonomous decisions and controls the broadcast. This transformation empowers the frontend to adjust the broadcast based on real-time conditions, effectively resolving the issues of lack of frontend control and rigid broadcasting experience caused by fixed backend logic. Furthermore, since the frontend can adjust the broadcast without relying on the backend to regenerate complete resources, the real-time performance of news content updates and broadcasts in breaking news scenarios is significantly improved.
[0043] Figure 3 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Please refer to it. Figure 3 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the electronic device may also include other hardware required for other business operations.
[0044] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 3 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0045] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.
[0046] The processor reads the corresponding computer program from non-volatile memory into main memory and then executes it, forming a non-contiguous transfer configuration at the logical level. The processor executes the program stored in memory and specifically performs the following operations: Obtain structured news data; wherein the structured news data is obtained by processing the original news data by the backend; the processing includes at least one of the following: extracting news titles, generating news summaries, dividing the news text into multiple news paragraphs and setting broadcast order identifiers for each news paragraph; Based on the structured news data, a news broadcasting strategy is generated; the news broadcasting strategy includes at least a broadcasting order determined based on the broadcasting order identifier and a broadcasting speed. According to the broadcast order, the news page of each news segment is rendered, and the broadcast voice corresponding to each news segment is determined according to the broadcast speed. The news segments are read aloud based on the rendered news page and the accompanying audio.
[0047] The above is as stated in this application. Figure 1 The news broadcasting method disclosed in the embodiments described above can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in one or more embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in one or more embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0048] The electronic device can also perform Figure 1 The news broadcasting method described herein will not be repeated here.
[0049] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by a portable electronic device including multiple applications, enable the portable electronic device to perform... Figure 1 The methods of the embodiments shown are not described in detail here.
[0050] This application also proposes a computer program product, which is stored in a storage medium and executed by at least one processor to implement... Figure 1 The methods of the embodiments shown are not described in detail here.
[0051] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. In other words, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0052] In summary, the above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this application should be included within the scope of protection of one or more embodiments of this application.
[0053] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0054] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined in the embodiments of this application, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0055] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0056] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
Claims
1. A news broadcasting method, characterized in that, include: Obtain structured news data; wherein the structured news data is obtained by processing the original news data by the backend; the processing includes at least one of the following: extracting news titles, generating news summaries, dividing the news text into multiple news paragraphs and setting broadcast order identifiers for each news paragraph; Based on the structured news data, a news broadcasting strategy is generated; the news broadcasting strategy includes at least a broadcasting order determined based on the broadcasting order identifier and a broadcasting speed. According to the broadcast order, the news page of each news segment is rendered, and the broadcast voice corresponding to each news segment is determined according to the broadcast speed. The news segments are read aloud based on the rendered news page and the accompanying audio.
2. The method according to claim 1, characterized in that, The step of broadcasting each news segment based on the rendered news page and the broadcast voice includes: Receive user interaction actions for any of the aforementioned news segments; In response to the interactive operation, the news broadcasting strategy is updated, and news broadcasting is performed based on the updated news broadcasting strategy.
3. The method according to claim 2, characterized in that, The interactive operations include at least one of the following: pause playback, resume playback, jump to a specified news segment, and adjust the playback speed.
4. The method according to claim 3, characterized in that, The step of updating the news broadcast strategy in response to the interactive operation includes: When the interactive operation is to jump to the playback of a specified news segment, the current broadcast position is switched to the broadcast order identifier corresponding to the specified news segment, and the broadcast is performed according to the switched playback position; When the interactive operation is to adjust the playback speed of the news broadcast, the playback speed in the news broadcast strategy is updated to the adjusted speed, and the broadcast continues according to the updated speed.
5. The method according to claim 1, characterized in that, The news broadcast generation strategy includes: Obtain terminal environment parameters; the terminal environment parameters include at least one of the following: current network status parameters, terminal device performance parameters, and terminal platform type parameters; wherein, the current network status parameters are used to indicate at least one of current network bandwidth and current network latency; the terminal device performance parameters are used to indicate at least one of current CPU utilization and memory utilization; the terminal platform type parameters are used to indicate at least one of the operating system and browser type running on the terminal; The news broadcasting strategy is generated based on the terminal environment parameters and user preferences; wherein the user preferences are determined based on the user's feedback on historical news broadcasts.
6. The method according to claim 1, characterized in that, The news broadcasting strategy also includes at least one of a broadcasting judgment identifier and a broadcasting switching timing; wherein, the broadcasting judgment identifier is used to identify whether voice broadcasting is started; the broadcasting switching timing includes the switching waiting time or switching trigger condition between each news segment; the switching trigger condition includes the triggering of a button used to indicate switching.
7. A news broadcasting device, characterized in that, include: The acquisition module is used to acquire structured news data; wherein the structured news data is obtained by processing the original news data by the backend; the processing includes at least one of the following: extracting news titles, generating news summaries, dividing the news text into multiple news paragraphs and setting broadcast order identifiers for each news paragraph; A generation module is used to generate a news broadcasting strategy based on the structured news data; the news broadcasting strategy includes at least a broadcasting order determined based on the broadcasting order identifier and a broadcasting speed. The processing module is used to render the news page of each news segment according to the broadcast order, and to determine the broadcast voice corresponding to each news segment according to the broadcast speed. The broadcast module is used to broadcast each news segment based on the rendered news page and the broadcast voice.
8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store computer-executable instructions that, when executed by a processor, implement the steps of the method described in any one of claims 1 to 6.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1 to 6.