CN106098056B - Voice news processing method, news server and system - Google Patents

Voice news processing method, news server and system Download PDF

Info

Publication number
CN106098056B
CN106098056B CN201610424167.XA CN201610424167A CN106098056B CN 106098056 B CN106098056 B CN 106098056B CN 201610424167 A CN201610424167 A CN 201610424167A CN 106098056 B CN106098056 B CN 106098056B
Authority
CN
China
Prior art keywords
news
voice
processed
text
server
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.)
Active
Application number
CN201610424167.XA
Other languages
Chinese (zh)
Other versions
CN106098056A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610424167.XA priority Critical patent/CN106098056B/en
Publication of CN106098056A publication Critical patent/CN106098056A/en
Application granted granted Critical
Publication of CN106098056B publication Critical patent/CN106098056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/02Methods for producing synthetic speech; Speech synthesisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/211Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method for processing voice news, which comprises the following steps: segmenting the news text to be processed to obtain at least one segment of segmented news text to be processed; respectively carrying out voice conversion on the segmented to-be-processed news texts to obtain segmented voice news; synthesizing the segmented voice news to obtain the voice news; and pushing the voice news to a terminal. The embodiment of the invention also discloses a news server and a system. By adopting the method and the system, the news server can automatically and quickly process the news text to be processed in a segmented manner, obtain the voice news and push the voice news to the terminal, so that the timeliness of the voice news is improved.

Description

Voice news processing method, news server and system
Technical Field
The invention relates to the technical field of electronics, in particular to a method for processing voice news, a news server and a system.
Background
News has entered the daily life of people, and reading, listening, and watching news have become important means for people to acquire external information. With the rapid development of information dissemination technology and the popularization of the internet, except for traditional broadcasting and television, people can quickly and conveniently obtain news with rich content, various types and stronger timeliness through the internet.
At present, people have higher and higher timeliness requirements on the voice news content of the news because the news listening is one of the important means for people to obtain the external information. However, most of the current voice news contents are recorded by manual playing. Because recording is performed through manual playing, the recording time is too long, the voice news content is pushed to the user or the timeliness of the news is lost, the manual recording efficiency is low, and the quality of the voice news content cannot be guaranteed.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method, a news server and a system for processing voice news. The news server can automatically and quickly process the news text to be processed in a segmented mode, obtain the voice news and push the voice news to the terminal, and timeliness of the voice news is improved.
A first aspect of an embodiment of the present invention provides a method for processing voice news, which may include:
segmenting the news text to be processed to obtain at least one segment of segmented news text to be processed;
respectively carrying out voice conversion on the segmented to-be-processed news texts to obtain segmented voice news;
synthesizing the segmented voice news to obtain the voice news;
and pushing the voice news to a terminal.
A second aspect of the embodiments of the present invention provides a method for playing voice news, which may include:
detecting the network type of a network where a terminal is currently located;
judging whether the network type is a preset network type or not;
when the network type is determined to be a preset network type, receiving voice news pushed by a news server;
and playing the voice news.
A third aspect of an embodiment of the present invention provides a news server, which may include:
the segmentation processing unit is used for performing segmentation processing on the news text to be processed to obtain at least one segment of segmented news text to be processed;
the voice conversion unit is used for respectively carrying out voice conversion on the news texts to be processed of each segment to obtain voice news of each segment;
the synthesis unit is used for synthesizing the segmented voice news to obtain the voice news;
and the pushing unit is used for pushing the voice news to a terminal.
A fourth aspect of an embodiment of the present invention provides a terminal, which may include:
the detection unit is used for detecting the network type of the current network in which the terminal is positioned;
the judging unit is used for judging whether the network type is a preset network type;
the receiving unit is used for receiving the voice news pushed by the news server when the judging unit determines that the network type is the preset network type;
and the playing unit is used for playing the voice news.
A fifth aspect of the embodiments of the present invention provides a voice news interaction system, which may include the terminal and the news server described in the above embodiments.
In the embodiment of the invention, the news server carries out segmentation processing on the news text to be processed to obtain at least one segment of the segmented news text to be processed, carries out voice conversion on each segment of the news text to be processed respectively to obtain each segment of voice news, synthesizes each segment of voice news to obtain the voice news, and pushes the voice news to the terminal, so that the news server can automatically and rapidly process the segments of the news text to be processed in a segmented manner to obtain the voice news and push the voice news to the terminal, thereby improving the timeliness of the voice news and the content quality of the voice news.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for processing voice news according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another method for processing voice news according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for playing voice news according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another method for playing voice news according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a news listing display page provided by an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for playing voice news according to another embodiment of the present invention;
fig. 7 is a schematic diagram of a news type list display page provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a news server according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a system according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another news server provided in the embodiment of the present invention;
fig. 12 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The processing method of the voice news provided by the embodiment of the invention can be applied to a news server for processing and generating a scene of the voice news, wherein the news server is used for providing the voice news for the terminal.
The method for playing the voice news provided by the embodiment of the invention can be applied to a scene that the terminal plays the voice news, wherein the terminal can comprise: the terminals are merely examples, and are not exhaustive, and include but not limited to the terminals.
The following describes in detail a processing method of voice news provided by an embodiment of the present invention with reference to fig. 1 to fig. 2, where an execution subject of the embodiment is a news server.
Fig. 1 is a schematic flow chart of an embodiment of a method for processing voice news according to an embodiment of the present invention. The processing method of the voice news in the embodiment of the invention comprises the following steps:
s100, segmenting the preset to-be-processed news text to obtain at least one segment of segmented to-be-processed news text.
In the embodiment of the invention, the news server can acquire the news texts in batch through the preset website, or capture the news texts in batch by using a crawler technology. When the news server acquires at least one news text, the news server can filter the at least one news text to acquire the news text to be processed. Thereby filtering out bad news texts such as pornography and violence.
In the embodiment of the present invention, the news server filters at least one of the news texts, and the obtaining of the news text to be processed may be: the news server can identify the content of the news book, judge whether the content includes preset sensitive information, and when the content of the news text is determined to include the sensitive information, the news server can filter the news text, such as delete the news text.
In the embodiment of the invention, after the news server obtains the news text to be processed, the news server can process the news text to be processed to obtain the identification information of the news corresponding to the news text to be processed, wherein the identification information of the news can comprise the news title, the release time, the news type and other information of the news text to be processed, and the news text to be processed and the corresponding identification information of the news are stored in the database. Specifically, the news server may store the to-be-processed news text and the corresponding news identification information into the corresponding storage area according to the news type.
In the embodiment of the present invention, the news server may further perform segmentation processing on the to-be-processed news text to obtain at least one segment of segmented to-be-processed news text. Specifically, the news server may perform segmentation processing on the to-be-processed news text according to a preset segmentation length to obtain at least one segment of the to-be-processed news text, where the length of each segment of the to-be-processed news text is the preset segmentation length, and the preset segmentation length may be a preset number of words or a preset paragraph. For example, the news server may segment the to-be-processed news text into segments to obtain at least one segment of the segmented to-be-processed news text, where each segment of the to-be-processed news text includes at least one segment, and the user may specify that each segment of the to-be-processed news text includes a preset number of segments.
And S101, respectively carrying out voice conversion on the news texts to be processed of each segment to obtain the voice news of each segment.
In the embodiment of the present invention, the news server may adopt a Text-To-Speech conversion technology To simultaneously perform Speech conversion on each segmented To-be-processed news Text To obtain each segmented Speech news corresponding To each segmented To-be-processed news Text, where the Text-To-Speech conversion technology may be a TTS (Text To Speech, Text-To-language) technology. The news server carries out segmentation processing and conversion on the to-be-processed news texts, so that the news server can respectively convert all segmented to-be-processed news texts into corresponding segmented voice news in a short time, and the processing efficiency of the news server is effectively improved.
S102, synthesizing the segmented voice news to obtain the voice news.
In the embodiment of the invention, after the news server acquires the segmented voice news, the news server can synthesize the segmented voice news to generate the voice news. The news server synthesizes each segmented voice news, and the obtaining of the voice news specifically may be: the news server can synthesize according to the content arrangement order of the news text to be processed, and the voice news is obtained, so that the situation that the voice content of the synthesized voice news is not connected front and back to cause poor user experience is avoided. And because the to-be-processed news text corresponding to each segmented voice news can only comprise the paragraph, the text content in the paragraph cannot respectively appear in the to-be-processed news texts of the segments, so that the voice content in the paragraph cannot respectively appear in the voice news of the segments, the problems of poor user experience caused by different voice tones, loudness and tone colors in the section where the synthesized voice news appears and the voice distortion in the section are effectively avoided, and the quality of the synthesized voice news is improved. Wherein, the news server can adopt FFMpeg technology to synthesize voice news.
In the embodiment of the present invention, the news server synthesizes each segmented voice news, and the obtaining of the voice news may specifically be: and synthesizing the segmented voice news according to the content arrangement sequence of the text of the to-be-processed news to obtain the to-be-processed voice news, acquiring preset voice fragments, adding the voice fragments into the preset positions of the to-be-processed voice news to obtain the voice news, and thus the voice news carries the preset voice fragments. The preset position can be the leader of the voice news or the trailer of the voice news, and the preset voice segment can be an advertisement voice segment.
In the embodiment of the present invention, after the news server synthesizes the voice news, the news server may store the voice news in a corresponding location of the database, for example, in a storage area corresponding to the matched news type.
S103, pushing the voice news to a terminal.
The news server can detect whether the terminal supports the audio format of the voice news or not, and when the news server detects that the terminal does not support the audio format of the voice news, the news server can transcode the voice news to obtain the voice news with the audio format supported by the terminal and push the voice news with the audio format supported by the terminal to the terminal.
In the embodiment of the invention, the news server can push the voice news to the terminal through a wired network or a wireless network. The terminal and the news network server establish communication connection.
In the embodiment of the invention, the news server carries out segmentation processing on the news text to be processed to obtain at least one segment of the segmented news text to be processed, carries out voice conversion on each segment of the news text to be processed respectively to obtain each segment of voice news, synthesizes each segment of voice news to obtain the voice news, and pushes the voice news to the terminal, so that the news server can automatically and rapidly process the segments of the news text to be processed in a segmented manner to obtain the voice news and push the voice news to the terminal, thereby improving the timeliness of the voice news and the content quality of the voice news.
Fig. 2 is a schematic flow chart of another embodiment of the method for processing voice news according to the embodiment of the present invention. The processing method of the voice news in the embodiment of the invention comprises the following steps:
s200, carrying out segmentation processing on the news text to be processed to obtain at least one segment of segmented news text to be processed.
S201, respectively carrying out voice conversion on the news texts to be processed of each segment to obtain each segment of voice news.
S202, synthesizing the segmented voice news to obtain the voice news.
S203, determining the identification information of the news corresponding to the voice news according to the news text to be processed.
In the embodiment of the invention, the news server can process the news text to be processed to obtain the identification information of the news corresponding to the news text to be processed, wherein the identification information of the news can comprise the news title, the release time, the news type and other information of the news text to be processed. When the news server obtains the identification information of the news corresponding to the news text to be processed, the news server can determine the identification information of the news corresponding to the voice news from the identification information of the news.
S204, storing the voice news and the identification information of the news into a preset database.
And S205, sending the preset news list to the terminal.
In the embodiment of the invention, the news server can randomly determine the voice news to be pushed to the terminal from the database, acquire the identification information of the corresponding news according to the voice news, generate the news list and send the news list to the terminal, wherein the voice news and the identification information of the news corresponding to the voice news are stored in the database. Optionally, the news server may further determine the voice news with the latest news release time according to the identification information of the news in the database, and acquire the identification information of the news corresponding to the voice news to generate a news list and send the news list to the terminal. Optionally, the news server may further obtain, from the database, identification information of news corresponding to the most listened voice news, generate a news list, and send the news list to the terminal.
In the embodiment of the invention, the database can also be used for respectively storing the voice news and the identification information of the news corresponding to the voice news according to the news types. Therefore, the news server can obtain the news preference record of the user, obtain the news type matched with the news preference record of the user according to the news preference record of the user, obtain the identification information of the news corresponding to the matched news type from the database, generate a news list and send the news list to the terminal.
In the embodiment of the invention, the news server can also determine the news list according to the news list request carrying the news types sent by the terminal. The news server can acquire the news types carried by the news list request, determine the identification information of the news corresponding to the news types from the database, generate the news list and send the news list to the terminal.
It should be noted that the news server may also determine a news list from the database according to other factors, which are not illustrated herein, and send the news list to the terminal, where the other factors may include news release time, news play length, and other factors.
In the embodiment of the invention, the news server can also acquire the news list at regular time and push the news list to the terminal, for example, at 7-9 o' clock every morning, and the news server acquires the news list and sends the news list to the terminal.
S206, when a voice news request which is sent by a terminal according to the news list and carries at least one piece of identification information of news is received, corresponding voice news is obtained from the database according to the identification information of the news.
In the embodiment of the invention, when the news server receives the voice news request which is sent by the terminal and carries at least one piece of identification information of news, the news server can acquire the voice news corresponding to the identification information of the news from the database.
In the embodiment of the invention, after the news server acquires the voice news requested by the terminal, the news server can also detect whether the terminal supports the audio format of the voice news, and when the news server detects that the terminal does not support the audio format of the voice news, the news server can transcode the voice news to obtain the voice news in the audio format supported by the terminal.
And S207, pushing the voice news to the terminal.
In the embodiment of the invention, after the news server determines the voice news to be pushed, the news server can push the voice news to the terminal.
In the embodiment of the present invention, for specific implementation of step S200, step S201, and step S202, reference may be made to specific implementation of step S100, step S101, and step S102 in the foregoing embodiment, which is not described herein again.
In the embodiment of the invention, the news server carries out segmentation processing on the news text to be processed to obtain at least one segment of the segmented news text to be processed, carries out voice conversion on each segment of the news text to be processed respectively to obtain each segment of voice news, synthesizes each segment of voice news to obtain the voice news, and pushes the voice news to the terminal, so that the news server can automatically and rapidly process the segments of the news text to be processed in a segmented manner to obtain the voice news and push the voice news to the terminal, thereby improving the timeliness of the voice news and the content quality of the voice news.
The following describes in detail a playing method of voice news provided by an embodiment of the present invention with reference to fig. 3 to fig. 7, where an execution subject of the embodiment is a terminal.
Fig. 3 is a schematic flow chart of an embodiment of a method for playing voice news according to an embodiment of the present invention. The playing method of the voice news in the embodiment of the invention comprises the following steps:
s300, detecting the network type of the current network of the terminal.
In the embodiment of the invention, the terminal can detect the network type of the current network in which the terminal is positioned in real time. The network types may include a free network type and a paid network type. The free network type can comprise a WIFI network, and the paid network type can comprise a 2G/3G/4G network and the like. Specifically, the detecting, by the terminal, the network type of the network in which the terminal is currently located may include obtaining a network type parameter to which the terminal is currently connected, and determining whether the network type parameter belongs to a free network type or a paid network type.
In the embodiment of the invention, the terminal can detect the network type of the current network of the terminal in real time, or the user can operate the terminal to trigger the terminal to detect the network type of the current network of the terminal.
S301, judging whether the network type is a preset network type.
In the embodiment of the present invention, the preset network type may be a free network type, such as a WIFI network, or may also be another network type, and the user may set the network type by himself. The terminal may determine whether the network type parameter is of a free network type or a paid network type.
S302, when the network type is determined to be the preset network type, receiving the voice news pushed by the news server.
In the embodiment of the invention, when the terminal determines that the network type is the preset network type, the terminal can receive the voice news pushed by the news server to download. And when the terminal determines that the network type is not the preset network type, the terminal refuses the voice news pushed by the news server.
S303, playing the voice news.
In the embodiment of the invention, the terminal can play the voice news through an external player such as an earphone or a loudspeaker.
In the embodiment of the invention, the terminal can detect the network type of the network where the terminal is located at present, judge whether the network type is the preset network type, and receive the voice news pushed by the news server and play the voice news when the network type is determined to be the preset network type, so that the terminal can automatically download the voice news according to the network type of the network where the terminal is located, the user operation is simple, the use cost of the user is reduced, and the user experience is improved.
Fig. 4 is a schematic flow chart of another embodiment of a method for playing voice news according to the embodiment of the present invention. The playing method of the voice news in the embodiment of the invention comprises the following steps:
and S400, receiving a news list pushed by the news server.
In the embodiment of the invention, the terminal establishes communication connection with the news server. The news list may include identification information of at least one piece of news, wherein the identification information of the news may include a title of the news, a release time of the news, a play length of the news, a news genre, and the like. After the terminal receives the news list pushed by the news server, the terminal can match operation buttons with the identification information of each news, such as a download button and a play button, so that a user can operate the news corresponding to the identification information of each news in the news list through the operation buttons, such as voice news corresponding to the identification information of the downloaded news through the download button, and voice news corresponding to the identification information of the played news through the play button.
In the embodiment of the invention, the terminal can send a news list request to the news server and receive a news list returned by the news server in response to the news list request. Specifically, the terminal can obtain news preference records of the user, add the news preference records of the user to a news list request and send the news preference records to a news server, so that the news server can screen out identification information of news matched with the news preference records of the user according to the news preference records of the user, generate a news list and send the news list to the terminal, wherein the news preference records of the user can include records such as news types preferred by the user and keywords of news preferred by the user.
In a specific application, the terminal may receive a news list pushed by the news server through the news application, and when the user views the news list, the news list page displayed by the terminal may be as shown in the schematic diagram of the news list display page in fig. 5, where the news list page includes identification information of a plurality of pieces of news, for example, the identification information of one piece of news may include the title of the news, "a man is crashed after climbing out of a car with a burst of tires", the release time of the news is 2016.01.07, the playing length of the news is 26 seconds, and the news type is a "social hotspot". And a playing button is correspondingly configured at the position of the identification information of each piece of news in the news list, and the playing button can be triggered by a user so as to play the voice news corresponding to the identification information of the piece of news. Optionally, the terminal may further configure a download button at the location of the identification information of each piece of news, and the download button may be triggered by the user to download the voice news corresponding to the identification information of the piece of news.
S401, sending a voice news request to the news server according to the news list.
In the embodiment of the invention, a user can select the voice news corresponding to the identification information of the news to be played from the identification information of a plurality of news in the news list, wherein the user can select the voice news corresponding to the identification information of the news to be played according to a plurality of news topics in the news list or select the voice news corresponding to the identification information of the news to be played according to a plurality of news playing lengths in the news list. When a user determines to play the voice news corresponding to the identification information of a certain news, the user can operate the identification information of the certain news on the news list, so that the terminal can generate a voice news request according to the user operation, wherein the voice news request is used for requesting the voice news from the news server, and the voice news request carries the identification information of the news selected by the user.
Further, in the embodiment of the present invention, the user may also select the voice news corresponding to the identification information of the news to be downloaded from the identification information of the plurality of news in the news list, wherein the user may select the voice news corresponding to the identification information of the news to be downloaded according to the news title in the news list. When a user determines to download the voice news corresponding to the identification information of a certain news, the user can operate the identification information of the certain news on the news list, so that the terminal can generate a voice news request according to the user operation, wherein the voice news request carries the identification information of the news selected by the user.
In a specific application, a news list display page of a news application program of the terminal can refer to the schematic diagram of the news list display page in fig. 5, when a news topic in a playlist required by a user is voice news corresponding to 'a man is crashed after climbing out of a vehicle in case of a burst tire', the user can trigger a play button corresponding to the position of the news topic in the playlist, so that the terminal obtains a trigger instruction input by the user for operating the news topic, generates a voice news request according to the trigger instruction, and sends the news request to a news server, wherein the news request carries identification information of the news.
S402, detecting the network type of the current network of the terminal.
S403, judging whether the network type is a preset network type.
S404, when the network type is determined to be the preset network type, receiving the voice news pushed by the news server.
In the embodiment of the present invention, the terminal may be a terminal that receives voice news returned by the news server in response to the news request. The news server can acquire the voice news corresponding to the identification information of the news from the database in which the voice news and the identification information of the corresponding news are stored according to the identification information of the news carried by the news request, and sends the voice news to the terminal.
In the embodiment of the invention, the voice news is obtained by synthesizing the voice news generated by the news server according to at least one news text segment of the corresponding news. The voice news is obtained by synthesizing the voice news generated by the news server according to at least one news text segment corresponding to the news, so that the news server can quickly and automatically generate the voice news without manually recording, and the timeliness of the voice news and the quality of the voice news can be ensured.
S405, playing the voice news.
In the embodiment of the invention, when the terminal receives the voice news, the terminal can play the voice news. It should be noted that, after the terminal receives the plurality of pieces of voice news, the terminal may play the plurality of pieces of voice news one by one according to the order of the news list. Furthermore, after the terminal receives the voice news, the terminal can also wait for the user to input a playing instruction and then play the voice news.
In the embodiment of the present invention, specific implementations of step S402, step S403, step S404, and step S405 may refer to specific implementations of step S100, step S101, step S102, and step S103 in the foregoing embodiment, which are not described herein again.
In the embodiment of the invention, the terminal can detect the network type of the network where the terminal is located at present, judge whether the network type is the preset network type, and receive the voice news pushed by the news server and play the voice news when the network type is determined to be the preset network type, so that the terminal can automatically download the voice news according to the network type of the network where the terminal is located, the user operation is simple, the use cost of the user is reduced, and the user experience is improved.
Fig. 6 is a schematic flow chart of another embodiment of the method for playing the voice news according to the embodiment of the present invention. The playing method of the voice news in the embodiment of the invention comprises the following steps:
and S500, displaying a preset news type list.
In the embodiment of the invention, the news type list can comprise news types such as financial information, scientific and technological dynamics, social hotspots and the like, when the news type list is used for customizing the news type of the voice news to be played, a user can operate the terminal to display the news type list, and select the interested news type from the news type list displayed by the terminal, so that the user can customize the news type of the voice news to be played by the terminal.
In a specific application, the page display of the news-type list of the news application of the terminal can be referred to as a schematic diagram of a news-type list display page shown in fig. 7, and the user can operate the terminal to display the page.
S501, obtaining the news type selected by the user aiming at the news type list.
In the embodiment of the invention, after the terminal displays the news type list, the terminal can monitor the operation of the user aiming at the news type list displayed by the terminal, and when the terminal monitors the operation of selecting the news type aiming at the news type list by the user, the terminal can acquire the news type selected by the user aiming at the news type list displayed by the terminal.
In a specific application, the user performs a selection operation on a page of a news type list of a news application program as shown in fig. 7, and in fig. 7, the user selects four news types, i.e., "financial information," "world view," "military frontier," and "social hotspot," so that the terminal can obtain the 4 news types selected by the user.
S502, a news list request is sent to the news server according to the news type.
In the embodiment of the invention, after the terminal acquires the news type, the terminal can send a news list request for requesting a news list to the news server according to the news type, wherein the news list carries the news type, so that the news server acquires the identification information of the news matched with the news list according to the news type, generates the news list and returns the news list to the terminal.
And S503, receiving a news list pushed by the news server.
S504, a voice news request is sent to the news server according to the news list.
And S505, acquiring news preference records of the user.
In the embodiment of the invention, after the terminal acquires the news list, the terminal can acquire the news preference record of the user. The news preference record of the user records the news type preferred by the user, the keywords of the news preferred by the user and the like.
S506, acquiring at least one piece of news identification information matched with the news preference record of the user from the news list according to the news preference record of the user.
In the embodiment of the invention, the terminal acquires the identification information of each piece of news in the news list, judges whether the identification information of each piece of news is matched with the news preference record or not according to the identification information of the news, for example, whether the news type included in the identification information of the news is consistent with the news type included in the news preference record or not, and if so, determines that the identification information of the news is the identification information of the news matched with the news preference record of the user.
And S507, sending a voice news request to the news server.
In the embodiment of the invention, when the terminal determines the identification information of the news matched with the news preference record of the user, the terminal can send a voice news request to the news server, wherein the voice news request carries the identification information of the news matched with the news preference record of the user, so that the voice news corresponding to the identification information of the news matched with the news preference record of the user is requested to the news server.
S508, detecting the network type of the current network where the terminal is located.
S509, judging whether the network type is a preset network type.
And S510, receiving voice news pushed by a news server when the network type is determined to be a preset network type.
And S511, playing the voice news.
In the embodiment of the present invention, the specific implementation manners of step S503, step S504, step S505, step S509, step S510, step S511, and step S511 may refer to the above-mentioned embodiments, which are not described herein again.
In the embodiment of the invention, the terminal can detect the network type of the network where the terminal is located at present, judge whether the network type is the preset network type, and receive the voice news pushed by the news server and play the voice news when the network type is determined to be the preset network type, so that the terminal can automatically download the voice news according to the network type of the network where the terminal is located, the user operation is simple, the use cost of the user is reduced, and the user experience is improved.
The news server provided by the embodiment of the invention will be described in detail with reference to fig. 8. It should be noted that the news server shown in fig. 8 is used for executing the method according to the embodiment of the present invention shown in fig. 1-2, and for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the technology are not disclosed, please refer to the embodiment of the present invention shown in fig. 1-2.
Please refer to fig. 8, which provides a schematic structural diagram of a news server according to an embodiment of the present invention. As shown in fig. 8, the news server according to an embodiment of the present invention may include:
the segmentation processing unit 100 is configured to perform segmentation processing on the to-be-processed news text to obtain at least one segment of segmented to-be-processed news text.
And the voice conversion unit 200 is configured to perform voice conversion on the to-be-processed news texts of the segments respectively to obtain the voice news of the segments.
A synthesizing unit 300, configured to synthesize the segmented voice news to obtain the voice news;
a pushing unit 400, configured to push the voice news to a terminal.
In the embodiment of the invention, the news server can acquire the news texts in batch through the preset website, or capture the news texts in batch by using a crawler technology. When the news server acquires at least one news text, the news server can filter the at least one news text to acquire the news text to be processed. Thereby filtering out bad news texts such as pornography and violence.
In the embodiment of the present invention, the news server filters at least one of the news texts, and the obtaining of the news text to be processed may be: the news server can identify the content of the news book, judge whether the content includes preset sensitive information, and when the content of the news text is determined to include the sensitive information, the news server can filter the news text, such as delete the news text.
In the embodiment of the invention, after the news server obtains the news text to be processed, the news server can process the news text to be processed to obtain the identification information of the news corresponding to the news text to be processed, wherein the identification information of the news can comprise the news title, the release time, the news type and other information of the news text to be processed, and the news text to be processed and the corresponding identification information of the news are stored in the database. Specifically, the news server may store the to-be-processed news text and the corresponding news identification information into the corresponding storage area according to the news type.
In this embodiment of the present invention, the segmentation processing unit 100 may perform segmentation processing on the to-be-processed news text to obtain at least one segment of segmented to-be-processed news text. Specifically, the segmentation processing unit 100 may perform segmentation processing on the to-be-processed news text according to a preset segmentation length to obtain at least one segment of the to-be-processed news text, where the length of each segment of the to-be-processed news text is the preset segmentation length, and the preset segmentation length may be a preset number of words or a preset paragraph. For example, the segmentation processing unit 100 may segment the to-be-processed news text into segments to obtain at least one segmented to-be-processed news text, where each segmented to-be-processed news text includes at least one segment, and the user may specify that each segmented to-be-processed news text includes a preset number of segments.
In this embodiment of the present invention, the voice converting unit 200 may adopt a Text-To-voice conversion technology To perform voice conversion on each segmented To-be-processed news Text at the same time, so as To obtain each segmented voice news corresponding To each segmented To-be-processed news Text, where the Text-To-voice conversion technology may be a TTS (Text To Speech, Text-To-language) technology. The news server carries out segmentation processing and conversion on the to-be-processed news texts, so that the news server can respectively convert all segmented to-be-processed news texts into corresponding segmented voice news in a short time, and the processing efficiency of the news server is effectively improved.
In this embodiment of the present invention, after the synthesis unit 300 obtains each segmented voice news, the synthesis unit 300 may synthesize each segmented voice news to generate voice news. The synthesis unit 300 synthesizes the segmented voice news, and the obtained voice news can be specifically that the synthesis unit 300 can synthesize the segmented voice news according to the content arrangement sequence of the news texts to be processed to obtain the voice news, so that the situation that the voice contents of the synthesized voice news are not connected front and back to cause poor user experience is avoided. And because the to-be-processed news text corresponding to each segmented voice news can only comprise the paragraph, the text content in the paragraph cannot respectively appear in the to-be-processed news texts of the segments, so that the voice content in the paragraph cannot respectively appear in the voice news of the segments, the problems of poor user experience caused by different voice tones, loudness and tone colors in the section where the synthesized voice news appears and the voice distortion in the section are effectively avoided, and the quality of the synthesized voice news is improved. Wherein, the synthesizing unit 300 may synthesize the voice news by using the FFMpeg technology.
In this embodiment of the present invention, the synthesizing unit 300 synthesizes each segmented voice news, and the obtaining of the voice news may specifically be: the synthesis unit 300 synthesizes the segmented voice news according to the content arrangement sequence of the to-be-processed news text to obtain the to-be-processed voice news, the synthesis unit 300 obtains preset voice fragments, the voice fragments are added to preset positions of the to-be-processed voice news, and the synthesis unit 300 obtains the voice news, so that the preset voice fragments are carried by the voice news. The preset position can be the leader of the voice news or the trailer of the voice news, and the preset voice segment can be an advertisement voice segment.
In an embodiment of the present invention, after the synthesizing unit 300 synthesizes the voice news, the synthesizing unit 300 may store the voice news in a corresponding location of the database, for example, in a storage area corresponding to the matched news type.
The news server can detect whether the terminal supports the audio format of the voice news or not, and when the news server detects that the terminal does not support the audio format of the voice news, the news server can transcode the voice news to obtain the voice news with the audio format supported by the terminal and push the voice news with the audio format supported by the terminal to the terminal.
In the embodiment of the present invention, the pushing unit 400 may push the voice news to the terminal through a wired network or a wireless network. The terminal and the news network server establish communication connection.
Wherein the server further comprises:
the acquisition unit is used for acquiring at least one news text through a preset website;
the filtering unit is used for filtering the at least one news text to obtain a news text to be processed;
wherein the filter unit comprises:
the identifying and judging subunit is used for identifying the content of the news text and judging whether the content comprises preset sensitive information;
the filtering subunit is configured to filter the news text when the identifying and judging subunit determines that the content includes the sensitive information;
and the setting subunit is configured to set the news text as a to-be-processed news text when the identification and judgment subunit determines that the content does not include the sensitive information.
Wherein the segmentation processing unit 100 is specifically configured to:
segmenting the news text to be processed according to paragraphs to obtain at least one segment of segmented news text to be processed, wherein each segment of segmented news text to be processed comprises at least one paragraph;
the voice conversion unit is specifically configured to:
and respectively and simultaneously carrying out voice conversion on the news texts to be processed of each segment to obtain the voice news of each segment.
Wherein the synthesis unit 300 includes:
the synthesis subunit is used for synthesizing the segmented voice news according to the content arrangement sequence of the news text to be processed to obtain the voice news to be processed;
the first acquisition subunit is used for acquiring a preset voice segment;
and the adding subunit is used for adding the voice fragments to a preset position of the voice news to be processed to obtain the voice news.
Wherein, the server further comprises:
the determining unit is used for determining the identification information of the news corresponding to the voice news according to the news text to be processed;
and the storage unit is used for storing the voice news and the identification information of the news into a preset database.
Wherein the push unit 400 comprises:
the system comprises a sending subunit, a receiving subunit and a processing unit, wherein the sending subunit is used for sending a preset news list to a terminal, and the news list comprises at least one piece of identification information of news;
the second acquiring subunit is used for acquiring corresponding voice news from the database according to the identification information of the news when receiving a voice news request which is sent by a terminal according to the news list and carries the identification information of at least one piece of news;
and the pushing subunit is used for pushing the voice news to the terminal.
It can be understood that the functions of the functional modules of the units in the news server in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, the news server carries out segmentation processing on the news text to be processed to obtain at least one segment of the segmented news text to be processed, carries out voice conversion on each segment of the news text to be processed respectively to obtain each segment of voice news, synthesizes each segment of voice news to obtain the voice news, and pushes the voice news to the terminal, so that the news server can automatically and rapidly process the segments of the news text to be processed in a segmented manner to obtain the voice news and push the voice news to the terminal, thereby improving the timeliness of the voice news and the content quality of the voice news.
The terminal provided by the embodiment of the present invention will be described in detail with reference to fig. 9. It should be noted that, the terminal shown in fig. 9 is used for executing the method according to the embodiment shown in fig. 3-7 of the present invention, and for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the technology are not disclosed, please refer to the embodiment shown in fig. 3-7 of the present invention.
The detecting unit 500 is configured to detect a network type of a network in which the terminal is currently located.
A determining unit 600, configured to determine whether the network type is a preset network type.
The receiving unit 700 is configured to receive voice news pushed by a news server when the network type is determined to be a preset network type.
The playing unit 800 is configured to play the voice news.
In the embodiment of the present invention, the detecting unit 500 may detect the network type of the network where the terminal is currently located in real time. The network types may include a free network type and a paid network type. The free network type can comprise a WIFI network, and the paid network type can comprise a 2G/3G/4G network and the like. Specifically, the detecting unit 500 may detect the network type of the network in which the terminal is currently located, including obtaining a network type parameter currently connected to the terminal, and determining whether the network type parameter belongs to a free network type or a paid network type.
In the embodiment of the present invention, the detecting unit 500 may detect the network type of the network where the terminal is currently located in real time, or the user may operate the terminal to trigger the detecting unit 500 to detect the network type of the network where the terminal is currently located.
In the embodiment of the present invention, the preset network type may be a free network type, such as a WIFI network, or may also be another network type, and the user may set the network type by himself. The judging unit 600 may judge whether the network type parameter is of a free network type or a paid network type.
In this embodiment of the present invention, when the determining unit 600 determines that the network type is the preset network type, the receiving unit 700 may receive the voice news pushed by the news server for downloading. When the judging unit 600 determines that the network type is not the preset network type, the terminal rejects the voice news pushed by the news server.
In the embodiment of the present invention, the playing unit 800 may play the voice news through an external device such as an earphone or a speaker.
Wherein, the terminal further includes:
the first receiving unit is used for receiving a news list pushed by a news server, and the news list comprises at least one piece of identification information of news;
and the first sending unit is used for sending a voice news request to the news server according to the news list, wherein the voice news request carries the identification information of at least one piece of news in the news list.
Wherein, the terminal further includes:
the display unit is used for displaying a preset news type list;
the first acquisition unit is used for acquiring the news types selected by the user aiming at the news type list;
and the second sending unit is used for sending a news list request to the news server according to the news type.
Wherein the second sending unit is specifically configured to:
acquiring news preference records of users;
acquiring at least one piece of news identification information matched with the news preference record of the user from the news list according to the news preference record of the user;
and sending a voice news request to the news server, wherein the voice news request carries the identification information of the matched at least one piece of news.
It is to be understood that the functions of each functional module of the unit in the terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, the terminal can detect the network type of the network where the terminal is located at present, judge whether the network type is the preset network type, and receive the voice news pushed by the news server and play the voice news when the network type is determined to be the preset network type, so that the terminal can automatically download the voice news according to the network type of the network where the terminal is located, the user operation is simple, the use cost of the user is reduced, and the user experience is improved.
Fig. 10 is a schematic structural diagram of a system according to an embodiment of the present invention. As shown in fig. 9, the system of the embodiment of the present invention may include:
a terminal 1 and a news server 2.
It can be understood that the functions of the functional modules of the units in the news server 2 in this embodiment can be specifically implemented according to the news server in the above embodiment, and the functions of the functional modules of the units in the terminal 1 in this embodiment can be specifically implemented according to the terminal in the above embodiment, which is not described here again.
In the embodiment of the invention, a news server carries out segmentation processing on a news text to be processed to obtain at least one segment of segmented news text to be processed, the news server carries out voice conversion on each segment of news text to be processed respectively to obtain each segment of voice news, the news server synthesizes each segment of voice news to obtain the voice news, the news server pushes the voice news to a terminal, the terminal detects the network type of the current network where the terminal is located, the terminal judges whether the network type is a preset network type or not, when the terminal determines that the network type is the preset network type, the voice news pushed by the news server is received, the terminal plays the voice news, so that the news server can automatically and quickly process the news text to be processed in a segmented manner to obtain the voice news and push the voice news to the terminal, thereby improving the timeliness of the voice news, the content quality of the voice news is improved, and the terminal can automatically download the voice news according to the network type of the network where the terminal is located, so that the user operation is simple, the use cost of the user is reduced, and the user experience is improved.
Referring to fig. 11, a schematic structural diagram of another news server is provided for the embodiment of the present invention. As shown in fig. 11, the news server 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 11, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a communication connection application program.
In the terminal 1000 shown in fig. 11, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the network interface 1004 is used for connecting with a news server and acquiring data sent by the news server; and the processor 1001 may be configured to invoke the communication connection application stored in the memory 1005 and specifically perform the following operations:
segmenting the news text to be processed to obtain at least one segment of segmented news text to be processed;
respectively carrying out voice conversion on the segmented to-be-processed news texts to obtain segmented voice news;
synthesizing the segmented voice news to obtain the voice news;
and pushing the voice news to a terminal.
Before the processor 1001 performs segmentation processing on a preset to-be-processed news text to obtain at least one segment of segmented to-be-processed news text, the processor 1001 further performs:
acquiring at least one news text through a preset website;
and filtering the at least one news text to obtain a news text to be processed.
The processor 1001 performs filtering processing on the at least one news text, and obtaining a to-be-processed news text includes:
identifying the content of the news text, and judging whether the content comprises preset sensitive information;
filtering out the news text when it is determined that the content includes the sensitive information;
and when the content is determined not to include the sensitive information, setting the news text as the to-be-processed news text.
The processor 1001 performs segmentation processing on a preset to-be-processed news text, and obtaining at least one segment of segmented to-be-processed news text includes:
and segmenting the news text to be processed according to paragraphs to obtain at least one segment of segmented news text to be processed, wherein each segment of segmented news text to be processed comprises at least one paragraph.
The step of performing voice conversion on the news texts to be processed of the segments respectively to obtain the voice news of the segments comprises the following steps:
and respectively and simultaneously carrying out voice conversion on the news texts to be processed of each segment to obtain the voice news of each segment.
The synthesizing, by the processor 1001, the each segmented voice news, and obtaining the voice news includes:
synthesizing the segmented voice news according to the content arrangement sequence of the news text to be processed to obtain the voice news to be processed;
acquiring a preset voice fragment;
and adding the voice fragments to a preset position of the voice news to be processed to obtain the voice news.
After the processor 1001 synthesizes the voice news segments to obtain the voice news, the processor 1001 further performs:
determining identification information of news corresponding to the voice news according to the news text to be processed;
and storing the voice news and the identification information of the news into a preset database.
Wherein, the pushing the voice news to the terminal by the processor 1001 includes:
sending a preset news list to a terminal, wherein the news list comprises at least one piece of identification information of news;
when a voice news request which is sent by a terminal according to the news list and carries identification information of at least one piece of news is received, acquiring corresponding voice news from the database according to the identification information of the news;
and pushing the voice news to the terminal.
It can be understood that the functions of the functional modules of the units in the news server in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, the news server carries out segmentation processing on the news text to be processed to obtain at least one segment of the segmented news text to be processed, carries out voice conversion on each segment of the news text to be processed respectively to obtain each segment of voice news, synthesizes each segment of voice news to obtain the voice news, and pushes the voice news to the terminal, so that the news server can automatically and rapidly process the segments of the news text to be processed in a segmented manner to obtain the voice news and push the voice news to the terminal, thereby improving the timeliness of the voice news and the content quality of the voice news.
Referring to fig. 12, a schematic structural diagram of another terminal is provided in the embodiment of the present invention. As shown in fig. 12, the terminal 2000 may include: at least one processor 2001, e.g., a CPU, at least one network interface 2004, a user interface 2003, a memory 2005, at least one communication bus 2002. The communication bus 2002 is used to implement connection communication between these components. The user interface 2003 may include a Display (Display) and a Keyboard (Keyboard), and the optional user interface 2003 may further include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). Memory 2005 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 2005 may optionally also be at least one memory device located remotely from the aforementioned processor 2001. As shown in fig. 12, the memory 2005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a communication connection application program.
In the news server 2000 shown in fig. 12, the user interface 2003 is mainly used to provide an input interface for a user to obtain data input by the user; the network interface 2004 is used for connecting with a terminal to acquire data sent by the terminal; and processor 2001 may be configured to invoke the communication connection application stored in memory 2005 and specifically perform the following operations:
detecting the network type of a network where a terminal is currently located;
judging whether the network type is a preset network type or not;
when the network type is determined to be a preset network type, receiving voice news pushed by a news server;
and playing the voice news.
Wherein, before the processor 2001 detects the network type of the network where the terminal is currently located, the processor 2001 further performs:
receiving a news list pushed by a news server, wherein the news list comprises at least one piece of identification information of news;
and sending a voice news request to the news server according to the news list, wherein the voice news request carries the identification information of at least one piece of news in the news list.
Wherein before the processor 2001 receives the news list pushed by the news server, the processor 2001 further performs:
displaying a preset news type list, wherein the news type list comprises at least one news type;
acquiring the news type selected by the user aiming at the news type list;
and sending a news list request to the news server according to the news type, wherein the news list request carries the news type.
Wherein the sending, by the processor 2001, the voice news request to the news server according to the news list includes:
acquiring news preference records of users;
acquiring at least one piece of news identification information matched with the news preference record of the user from the news list according to the news preference record of the user;
and sending a voice news request to the news server, wherein the voice news request carries the identification information of the matched at least one piece of news.
It is to be understood that the functions of each functional module of the unit in the terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, the terminal can detect the network type of the network where the terminal is located at present, judge whether the network type is the preset network type, and receive the voice news pushed by the news server and play the voice news when the network type is determined to be the preset network type, so that the terminal can automatically download the voice news according to the network type of the network where the terminal is located, the user operation is simple, the use cost of the user is reduced, and the user experience is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (14)

1. A method for processing voice news, the method comprising:
segmenting the news text to be processed to obtain at least one segment of segmented news text to be processed;
respectively carrying out voice conversion on the segmented to-be-processed news texts to obtain segmented voice news;
synthesizing the segmented voice news to obtain the voice news;
determining identification information of news corresponding to the voice news according to the news text to be processed;
storing the voice news and the identification information of the news into a preset database;
sending a preset news list to a terminal, wherein the news list comprises at least one piece of identification information of news;
when a voice news request which is sent by a terminal according to the news list and carries identification information of at least one piece of news is received, the identification information of the at least one piece of news is identification information of the at least one piece of news matched with a news preference record of a user, corresponding voice news is obtained from the database according to the identification information of the news, and the news preference record of the user comprises a news type preferred by the user or a keyword of the news preferred by the user;
and pushing the voice news to a terminal.
2. The method of claim 1, wherein segmenting the to-be-processed news text to obtain at least one segment of segmented to-be-processed news text comprises:
acquiring at least one news text through a preset website;
and filtering the at least one news text to obtain a news text to be processed.
3. The method of claim 2, wherein the filtering the at least one news text to obtain the to-be-processed news text comprises:
identifying the content of the news text, and judging whether the content comprises preset sensitive information;
filtering out the news text when it is determined that the content includes the sensitive information;
and when the content is determined not to include the sensitive information, setting the news text as the to-be-processed news text.
4. The method of claim 1, wherein the segmenting the to-be-processed news text to obtain at least one segment of segmented to-be-processed news text comprises:
and segmenting the news text to be processed according to paragraphs to obtain at least one segment of segmented news text to be processed, wherein each segment of segmented news text to be processed comprises at least one paragraph.
5. The method of claim 1, wherein the separately performing voice conversion on the segmented to-be-processed news texts to obtain the segmented voice news comprises:
and respectively and simultaneously carrying out voice conversion on the news texts to be processed of each segment to obtain the voice news of each segment.
6. The method of claim 1, wherein the synthesizing the segmented voice news, the obtaining the voice news comprising:
synthesizing the segmented voice news according to the content arrangement sequence of the news text to be processed to obtain the voice news to be processed;
acquiring a preset voice fragment;
and adding the voice fragments to a preset position of the voice news to be processed to obtain the voice news.
7. A method for playing voice news, the method comprising:
receiving a news list pushed by a news server, wherein the news list comprises at least one piece of identification information of news;
acquiring a news preference record of a user, acquiring identification information of at least one piece of news matched with the news preference record of the user from the news list according to the news preference record of the user, and sending a voice news request to the news server, wherein the voice news request carries the identification information of the matched at least one piece of news, and the news preference record of the user comprises a news type preferred by the user or a keyword of the news preferred by the user;
detecting the network type of a network where a terminal is currently located;
judging whether the network type is a preset network type or not;
when the network type is determined to be a preset network type, receiving voice news pushed by a news server;
and playing the voice news.
8. The method of claim 7, wherein receiving the news listing pushed by the news server previously comprises:
displaying a preset news type list, wherein the news type list comprises at least one news type;
acquiring the news type selected by the user aiming at the news type list;
and sending a news list request to the news server according to the news type, wherein the news list request carries the news type.
9. A news server, the server comprising:
the segmentation processing unit is used for performing segmentation processing on the news text to be processed to obtain at least one segment of segmented news text to be processed;
the voice conversion unit is used for respectively carrying out voice conversion on the news texts to be processed of each segment to obtain voice news of each segment;
the synthesis unit is used for synthesizing the segmented voice news to obtain the voice news;
the pushing unit is used for pushing the voice news to a terminal;
wherein, the server further comprises:
the determining unit is used for determining the identification information of the news corresponding to the voice news according to the news text to be processed;
the storage unit is used for storing the voice news and the identification information of the news into a preset database;
the pushing unit includes:
the system comprises a sending subunit, a receiving subunit and a processing unit, wherein the sending subunit is used for sending a preset news list to a terminal, and the news list comprises at least one piece of identification information of news;
the second obtaining subunit is configured to, when a voice news request which is sent by a terminal according to the news list and carries identification information of at least one piece of news, where the identification information of the at least one piece of news is identification information of at least one piece of news matched with a news preference record of a user, obtain corresponding voice news from the database according to the identification information of the news, where the news preference record of the user includes a news type preferred by the user or a keyword of the news preferred by the user;
and the pushing subunit is used for pushing the voice news to the terminal.
10. The server of claim 9, wherein the server comprises:
the acquisition unit is used for acquiring at least one news text through a preset website;
the filtering unit is used for filtering the at least one news text to obtain a news text to be processed;
wherein the filter unit comprises:
the identifying and judging subunit is used for identifying the content of the news text and judging whether the content comprises preset sensitive information;
the filtering subunit is configured to filter the news text when the identifying and judging subunit determines that the content includes the sensitive information;
and the setting subunit is configured to set the news text as a to-be-processed news text when the identification and judgment subunit determines that the content does not include the sensitive information.
11. The server according to claim 9, wherein the segmentation processing unit is specifically configured to:
segmenting the news text to be processed according to paragraphs to obtain at least one segment of segmented news text to be processed, wherein each segment of segmented news text to be processed comprises at least one paragraph;
the voice conversion unit is specifically configured to:
and respectively and simultaneously carrying out voice conversion on the news texts to be processed of each segment to obtain the voice news of each segment.
12. The server of claim 9, wherein the synthesizing unit comprises:
the synthesis subunit is used for synthesizing the segmented voice news according to the content arrangement sequence of the news text to be processed to obtain the voice news to be processed;
the first acquisition subunit is used for acquiring a preset voice segment;
and the adding subunit is used for adding the voice fragments to a preset position of the voice news to be processed to obtain the voice news.
13. A terminal, the terminal comprising:
the first receiving unit is used for receiving a news list pushed by a news server, and the news list comprises at least one piece of identification information of news;
the first sending unit is used for acquiring news preference records of a user, acquiring identification information of at least one piece of news matched with the news preference records of the user from the news list according to the news preference records of the user, and sending a voice news request to the news server, wherein the voice news request carries the identification information of the matched at least one piece of news, and the news preference records of the user comprise news types preferred by the user or keywords of news preferred by the user;
the detection unit is used for detecting the network type of the current network in which the terminal is positioned;
the judging unit is used for judging whether the network type is a preset network type;
the receiving unit is used for receiving the voice news pushed by the news server when the judging unit determines that the network type is the preset network type;
and the playing unit is used for playing the voice news.
14. A voice news interaction system, characterized in that the system comprises a news server according to any one of claims 9-12 and a terminal according to claim 13.
CN201610424167.XA 2016-06-14 2016-06-14 Voice news processing method, news server and system Active CN106098056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610424167.XA CN106098056B (en) 2016-06-14 2016-06-14 Voice news processing method, news server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610424167.XA CN106098056B (en) 2016-06-14 2016-06-14 Voice news processing method, news server and system

Publications (2)

Publication Number Publication Date
CN106098056A CN106098056A (en) 2016-11-09
CN106098056B true CN106098056B (en) 2022-01-07

Family

ID=57846897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610424167.XA Active CN106098056B (en) 2016-06-14 2016-06-14 Voice news processing method, news server and system

Country Status (1)

Country Link
CN (1) CN106098056B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274884B (en) * 2017-02-15 2020-11-06 赵思聪 Information acquisition method based on text analysis and voice synthesis
CN108305611B (en) * 2017-06-27 2022-02-11 腾讯科技(深圳)有限公司 Text-to-speech method, device, storage medium and computer equipment
CN110915187B (en) * 2017-08-31 2022-04-01 深圳市欢太科技有限公司 Information recommendation method and related equipment
CN108551482A (en) * 2018-04-16 2018-09-18 深圳壹账通智能科技有限公司 A kind of method for pushing of speech message, device and computer readable storage medium
KR102679375B1 (en) * 2018-11-14 2024-07-01 삼성전자주식회사 Electronic apparatus and method for controlling thereof
CN110113635B (en) * 2019-04-25 2021-05-25 广州智伴人工智能科技有限公司 Method and system for automatically playing push message
CN110767211B (en) * 2019-09-23 2022-02-18 浙江斑智科技有限公司 Voice synthesis broadcasting system based on text content data cleaning
CN112581934A (en) * 2019-09-30 2021-03-30 北京声智科技有限公司 Voice synthesis method, device and system
CN112347406A (en) * 2020-11-16 2021-02-09 安徽英弗伦斯科技有限公司 Business association interactive service and display system based on smart large screen
CN112685556A (en) * 2020-12-29 2021-04-20 西安掌上盛唐网络信息有限公司 Automatic news text summarization and voice broadcasting system
CN114898733A (en) * 2022-05-06 2022-08-12 深圳妙月科技有限公司 AI voice data analysis processing method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6246981B1 (en) * 1998-11-25 2001-06-12 International Business Machines Corporation Natural language task-oriented dialog manager and method
US7013282B2 (en) * 2003-04-18 2006-03-14 At&T Corp. System and method for text-to-speech processing in a portable device
CN1731510B (en) * 2004-08-05 2010-12-08 纽安斯通信有限公司 Text-speech conversion for amalgamated language
CN101398839A (en) * 2008-10-23 2009-04-01 浙江大学 Personalized push method for vocal web page news
CN101739437A (en) * 2009-11-26 2010-06-16 杭州鑫方软件有限公司 Implementation method for network sound-searching unit and specific device thereof
CN102831234B (en) * 2012-08-31 2015-04-22 北京邮电大学 Personalized news recommendation device and method based on news content and theme feature
CN103428205B (en) * 2013-07-30 2016-05-18 合肥学院 Information broadcasting system and method based on Android platform

Also Published As

Publication number Publication date
CN106098056A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106098056B (en) Voice news processing method, news server and system
JP6065019B2 (en) REPRODUCTION CONTROL DEVICE, REPRODUCTION CONTROL METHOD, AND PROGRAM
KR101338818B1 (en) Mobile terminal and information display method using the same
KR100597670B1 (en) mobile communication terminal capable of reproducing and updating multimedia content, and method for reproducing the same
CN110390927B (en) Audio processing method and device, electronic equipment and computer readable storage medium
US10268344B2 (en) Method and system for providing a content based on preferences
CN110147467A (en) A kind of generation method, device, mobile terminal and the storage medium of text description
KR100903070B1 (en) Apparatus and method for displaying data
WO2014154097A1 (en) Automatic page content reading-aloud method and device thereof
JP2009093206A (en) Communication terminal device and information notification method
CN104038774B (en) Generate the method and device of ring signal file
CN108304434B (en) Information feedback method and terminal equipment
JP2006201910A (en) Information terminal and information providing method
TW201312971A (en) Method for receiving message
CN101583092A (en) Data reproduction device and data reproduction method
US20140297285A1 (en) Automatic page content reading-aloud method and device thereof
CN114639392A (en) Audio processing method and device, electronic equipment and storage medium
US6885732B2 (en) Voice message vignettes
JP2006203670A (en) Template distribution device
CN113885741A (en) Multimedia processing method, device, equipment and medium
US10171402B2 (en) Apparatus and method for outputting message alerts
JP2007323512A (en) Information providing system, portable terminal, and program
CN112291602A (en) Video playing method, electronic equipment and storage medium
JP2004301980A (en) Speech interaction device and proxy device for speech interaction, and programs for them
US20120157028A1 (en) Apparatus and method for providing information in portable terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant