CN103442275B - Image-text data flow processing method, image-text data flow processing device and set top box - Google Patents

Image-text data flow processing method, image-text data flow processing device and set top box Download PDF

Info

Publication number
CN103442275B
CN103442275B CN201310390496.3A CN201310390496A CN103442275B CN 103442275 B CN103442275 B CN 103442275B CN 201310390496 A CN201310390496 A CN 201310390496A CN 103442275 B CN103442275 B CN 103442275B
Authority
CN
China
Prior art keywords
image
text
data stream
information
text data
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.)
Expired - Fee Related
Application number
CN201310390496.3A
Other languages
Chinese (zh)
Other versions
CN103442275A (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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201310390496.3A priority Critical patent/CN103442275B/en
Publication of CN103442275A publication Critical patent/CN103442275A/en
Priority to PCT/CN2014/085282 priority patent/WO2015027913A1/en
Application granted granted Critical
Publication of CN103442275B publication Critical patent/CN103442275B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4622Retrieving content or additional data from different sources, e.g. from a broadcast channel and the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4888Data services, e.g. news ticker for displaying teletext characters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an image-text data flow processing method, an image-text data flow processing device and a set top box. The image-text data flow processing method comprises the following steps: the format of image-text data flow in an information source is subjected to XML predefining; when a first trigger occurs, directory information is extracted from the information source, and the directory information is displayed in an interface display mode; according to a request for the directory information from a user, image-text data flow corresponding to the requested directory information is acquired from the information source and stored into a buffer area; the image-text data flow in the buffer area is analyzed to obtain image-text data flow to be displayed; the image-text data flow to be displayed is processed to obtain displayed images and texts, and the images and texts are displayed according to a display mode selected by the user. The image-text data flow processing device comprises a predefining module, an extracting module, an acquiring module, an analyzing module and a displaying module. The set top box comprises the image-text data flow processing device. According to the image-text data flow processing method, the image-text data flow processing device and the set top box, the image-text data flow is predefined to be in an XML format, predefined data are analyzed, processed and displayed, and therefore the display requirement for excellent images and texts is met.

Description

Image-text data stream processing method and device and set top box
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for processing an image-text data stream, and a set-top box.
Background
Under the push of global digital wave, the development of data multimedia technology is changing day by day, and people are gradually changing their life style, pursuing faster information exchange speed, higher visual enjoyment, more convenient service and more information. The television is used as the most common household entertainment tool and plays an important role in daily life of people.
At present, people mostly adopt a traditional audio-video combined method for watching news, but the mode has higher hysteresis, insufficient flexibility and higher requirement on hardware.
Disclosure of Invention
In order to solve the problems of high hysteresis, low flexibility and high hardware cost in the traditional audio and video image-text playing mode, the embodiment of the invention provides an image-text data stream processing method and device and a set top box. The technical scheme is as follows:
in a first aspect, the present invention provides a method for processing a teletext data stream, the method comprising:
XML predefining the format of the image-text data stream in the information source;
when a first trigger is generated, extracting directory information from an information source and displaying the directory information in an interface display mode;
according to a request of a user for directory information, acquiring image-text data streams corresponding to the requested directory information from an information source and storing the image-text data streams in a buffer area;
analyzing the image-text data stream in the buffer area to obtain an image-text data stream to be displayed;
and processing the image data stream to be displayed to obtain displayed images and texts, and displaying according to a display mode selected by a user.
In a second aspect, the present invention provides an apparatus for processing a teletext data stream, the apparatus comprising:
and the predefining module is used for performing XML predefining on the format of the image-text data stream.
The extraction module is used for extracting the directory information from the information source and displaying the directory information in an interface display mode when the first trigger is generated;
the acquisition module is used for acquiring image-text data streams corresponding to the requested directory information from the information source according to the request of the user for the directory information and storing the image-text data streams in the buffer area;
the analysis module is used for analyzing the image-text data stream in the buffer area to obtain an image-text data stream to be displayed;
and the display module is used for processing the data stream of the to-be-displayed image to obtain the displayed content image and text and displaying the content image and text according to a display mode selected by a user.
In a third aspect, the present invention provides a set-top box, where the set-top box includes the processing device.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
by predefining the image-text data stream into an XML format and analyzing, processing and displaying the predefined data, the image-text display requirement can be met under the condition of not increasing hardware equipment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing a teletext data stream according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of step 102 of FIG. 1;
FIG. 3 is a detailed flowchart of step 104 of FIG. 1;
FIG. 4 is a detailed flowchart of step 105 of FIG. 1;
FIG. 5 is a detailed flowchart of step 402 in FIG. 4;
fig. 6 is a frame structure diagram of a processing apparatus for teletext data streams according to another embodiment of the invention;
fig. 7 is a schematic structural diagram of the parsing module 604.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
Extensible Markup Language (XML), which is a Markup Language used for Markup electronic documents to make them structured, can be used to tag data, define data types, and is a source Language that allows users to define their own Markup Language.
Based on the XML described above, an embodiment of the present invention provides a method for processing an image-text data stream, as shown in fig. 1, where the method includes:
step 101: XML predefining the format of the teletext data stream.
The image-text data stream is predefined according to a preset format, and specifically, the format of the image-text data stream may be defined as an XML format: including XML predefinition of text by tags and XML format predefinition of pictures. XML pre-definition of text, including: a control label of text, a category name label, an article title label, an article body label, a text color label, a text to text mode label, a font size label, a font style label, and a font type label. XML predefinition of pictures, including: inserting a picture label, a picture alignment mode label, a picture position and picture size label.
Examples of text labels are specifically shown in tables 1-7 below:
function(s) Examples of the invention
Line feed character <br>
Paragraph (b) <p></p>
Partition/node <div></div>
Table 1 text label control example table
Function(s) Examples of the invention
Category name <category>Sample Category</category>
Article title <title>Sample Title</title>
Text of articles <body>Sample text</body>
Example table of two-category name/article title/article text label
Function(s) Examples of the invention
Text color <body text="#00FF00">Sample text</body>
Text background <body bgcolor="#0000FF">
(highlight) font color <font color="#FF0000">Sample text</font>
(highlight) font background <font bgcolor="#0000FF">
Table three text color label example table
Function(s) Examples of the invention
Centering the <div align="center">Sample text </div>
Adaptive adaptation <div align="justify">Sample text </div>
Left side alignment <div align="left">Sample text</div>
Right alignment <div align="right">Sample text</div>
Retraction <p style="margin-left: 20px;">
Example table of four text alignment mode labels
Function(s) Examples of the invention
Normal word size +4 <font size="+4">Sample text</font>
Normal word size +2 <font size="+2">Sample text</font>
Normal word size <font size="+0">Sample text</font>
Normal letter number-1 <font size="-1">Sample text</font>
Example table with five-font size label
Function(s) Examples of the invention
Is normal ~~no tags~~
Thickening <b>Sample text</b>
Italic body <i>Sample text</i>
Underlining <u>Sample text</u>
Deletion line <s>Sample Text</s>
Table 6 font style label example table
Table 7 font type label example table
Practical examples of the picture labels are specifically shown in tables 8 to 10 below
Function(s) Examples of the invention
Insert picture <img src="Sample Pic.GIF"/>
Table 8 inserted picture label example table
Function(s) Examples of the invention
Left side alignment <img src="Sample Pic.GIF"align="left"/>
Right alignment <img src="Sample Pic.GIF"align="right"/>
Bottom of the container <img src="Sample Pic.GIF"align="bottom"/>
Centering the <img src="Sample Pic.GIF"align="middle"/>
Top setting <img src="Sample Pic.GIF"align="top"/>
Table 9 example table of picture alignment mode labels
TABLE 10 Picture position and Picture size tag example Table
Step 102: and when the first trigger is generated, extracting the directory information from the information source and displaying the directory information in an interface display mode.
The first trigger is generated by starting a reader in the set top box to display images and texts by a user. The source refers to a source of the teletext data stream, and may be, for example, a code stream, the internet, and a memory. The catalog information refers to the category of the image-text data to be displayed and the title data under each category.
Step 103: and according to the request of the user for the directory information, acquiring the image-text data stream corresponding to the requested directory information from the information source and storing the image-text data stream into the buffer area.
In this embodiment, the request of the user for the directory information refers to a request that the user selects to obtain the image-text data according to the requirement.
The buffer area is used for storing the acquired image-text data stream corresponding to the user request.
Step 104: and analyzing the image-text data stream in the buffer area to obtain the image-text data stream to be displayed.
In this embodiment, the data stream of the to-be-displayed image includes: the text data refers to the text data to be displayed, the audio data refers to accompanying sound data during sound reading, and the control information refers to information for controlling the display format of the text data stream, such as font size, mode, text foreground color, background color, whether pictures exist and the like.
Step 105: and processing the image data stream to be displayed to obtain displayed images and texts, and displaying according to a display mode selected by a user.
The embodiment predefines the image-text data stream into an XML format, and analyzes, processes and displays the predefined data, so that the image-text display requirement can be met under the condition of not increasing hardware equipment.
Preferably, with reference to the foregoing embodiment, step 101 specifically includes:
when a first trigger is generated, judging the type of the first trigger, determining the type of an information source according to the type of the first trigger, extracting directory information from the information source corresponding to the type of the information source through a receiving interface of the set top box, and displaying the directory information in an interface display mode.
Wherein,
the first trigger is generated by opening the reader by a user; the type of the first trigger is used to determine the source type, which includes but is not limited to the following three types: code stream, internet and memory.
Preferably, with reference to fig. 2 in combination with the above embodiment, step 103 specifically includes:
step 201: and judging the information type selected by the user according to the request of the user for the directory information.
The information category refers to a category according to an application of the information, such as a category of news, entertainment, science education, sports, and the like. Step 202: and acquiring the data stream corresponding to the information category through the information source.
In this embodiment, the information source includes: three modes of code stream, internet and memory, specifically, the specific situation of each information source, using accompanying sound data as an example for explanation,
in the code stream mode, a PID of an audio code stream corresponding to the text content is given out from a node of an accompanying sound signal source, the XML parser parses the PID and sends the PID to an accompanying sound processing module, the accompanying sound processing module sends the PID to a demultiplexer of the set top box, and the demultiplexer filters designated audio data by using the PID and stores the audio data in an accompanying sound data buffer area;
in the internet mode, a link of an audio media stream corresponding to the text content is given in a node of an audio signal source, the link is analyzed by an XML analyzer and then is sent to an audio processing module, the audio processing module combines the link into a network request and sends the network request to a server, the server responds to the request and sends the requested audio media stream data to a set top box end through a network, and the set top box receives the data and then stores the data in an audio data buffer area;
in the memory mode, the initial address and the file size of an audio media stream file corresponding to the text content in the memory are given in the node of the audio signal source, the XML parser parses the address and the file size value and then sends the address and the file size value to the audio processing module, and the audio processing module reads the audio media stream file with the specified file size beginning at the address in the memory and sends the audio media stream file to the audio data buffer area.
Step 203: and storing the acquired image-text data stream to the buffer area.
Preferably, with reference to fig. 3 in combination with the above embodiment, step 104 specifically includes:
step 301: reading the image-text data stream from the buffer area, and generating a large node tree of the information category according to the image-text data stream;
specifically, generating the large-scale node tree of the information category specifically includes:
reading a graphic data stream from the buffer area, checking the graphic data stream, and positioning the node data selected by the user from the broad node tree according to the selection of the user when the check is passed;
the large class of node trees has a plurality of nodes.
Step 302: and positioning the node data selected by the user from the large-class node tree according to the selection of the user.
For example, the user's selection is to pay attention to the soccer game information because the major category to which the soccer game information belongs is the sports major category. The node tree of the sports category for data production is imported from the sports category, and the specific node data of the football match information is located from the node tree of the sports category.
Step 303: and analyzing the node data according to a preset format to obtain a to-be-displayed image-text data stream, partitioning the to-be-displayed image-text data stream, and respectively storing the to-be-displayed image-text data stream into corresponding memories.
Preferably, with reference to fig. 4 in combination with the above embodiment, step 104 specifically includes:
step 401: and reading control information from the image-text data stream to be displayed, and generating page parameter information according to the control information.
Step 402: reading effective image-text data from the image-text data stream to be displayed, arranging the effective image-text data by combining the page parameter information to obtain displayed image-text arrangement information, writing the displayed image-text arrangement information into a display buffer area, and setting a display processing completion mark;
specifically, the effective image-text data is arranged in combination with the page parameter information to obtain displayed image-text arrangement information, which is shown in fig. 5 and specifically includes:
step 501: judging whether the image-text data stream contains image data, if not, executing step 502, and if so, executing step 503;
step 502: splicing all text sub-sections in the effective image-text data into a large paragraph;
step 503: judging whether the initial data of the effective image-text data is image data, if so, executing a step 504; otherwise, go to step 507;
step 504: judging whether the ending data of the effective image-text data is image data, if so, executing step 505; otherwise, go to step 506;
step 505: taking the value of the number of pictures as the number of large paragraphs of the text;
step 506: taking the value obtained by subtracting one from the number of pictures as the number of large paragraphs of the text;
step 507: judging whether the ending data of the effective image-text data is image data, if so, executing a step 508; otherwise, go to step 509;
step 508: taking the value of the number of pictures as the number of large paragraphs of the text;
step 509: the number of pictures plus one is taken as the number of large paragraphs of the text.
It should be noted that, before saving the picture data, since the display unit can normally display only the standard picture types, such as png, jpg, etc., the picture data needs to be decoded by base 64;
base64 is one of the most common encoding modes for transmitting 8-Bit byte codes on a network, can be used for transmitting and encoding electronic mails, and can also be used for representing, transmitting and storing some binary data including emails of MIME and storing complex data in XML in the case of commonly processing text data.
Step 403: judging a display mode selected by a user, and executing a step 404 when the display mode is an image-text display mode; when the display mode is a graphic and audio display mode, executing step 405;
step 404: and copying the data of the display buffer area to the display unit and outputting the data through a screen.
Step 405: reading audio data from the display data stream, acquiring a time factor according to the audio data, calculating output data frequency according to the time factor, synchronizing the audio data and the displayed image-text arrangement information according to the output data frequency, copying the synchronized image-text arrangement information to a display unit, outputting the image-text arrangement information through a screen, decoding the audio data according to the output data frequency by the audio data, and outputting the decoded audio data through a loudspeaker.
And releasing the data in the buffer area and the memory of the node tree after analysis.
The embodiment predefines the image-text data stream into an XML format, and analyzes, processes and displays the predefined data, so that the image-text display requirement can be met under the condition of not increasing hardware equipment.
Example two
The present embodiment provides an apparatus for processing a teletext data stream, referring to fig. 6, the apparatus comprising:
a predefining module 601, configured to perform XML predefining on the format of the image-text data stream;
an extracting module 602, configured to extract directory information from an information source and display the directory information in an interface display manner when a first trigger is generated;
the extracting module 602 is specifically configured to, when a first trigger is generated, the first trigger is generated by a user opening a reader; judging the type of the first trigger, determining the type of the information source according to the type of the first trigger, extracting the directory information from the corresponding information source corresponding to the type of the information source through a receiving interface of the set top box, and displaying the directory information in an interface display mode.
An obtaining module 603, configured to obtain, according to a request for directory information from a user, a graphics-text data stream corresponding to the requested directory information from an information source, and store the graphics-text data stream in a buffer area;
the obtaining module 603 is specifically configured to determine an information category selected by a user according to a request of the user for directory information, obtain an image-text data stream corresponding to the information category through the information source, and store the obtained data stream in the buffer area.
The parsing module 604 is configured to parse the image-text data stream in the buffer to obtain an image-text data stream to be displayed;
referring to fig. 7, the parsing module 604 specifically includes:
a reading unit 701, configured to read a graphics-text data stream from the buffer, and generate a large class node tree corresponding to the information category according to the graphics-text data stream;
the reading unit 701 is further specifically configured to read an image-text data stream from the buffer, check the data stream, and position the node data selected by the user from the broad class node tree according to the selection of the user when the check is passed.
A positioning unit 702, configured to position, according to the selection of the user, node data selected by the user from the large-scale node tree;
the processing unit 703 is configured to parse the node data according to a preset format to obtain a to-be-displayed image-text data stream, block the to-be-displayed image-text data stream, and store the to-be-displayed image-text data stream in corresponding memories respectively.
And the display module 605 is configured to process the data stream of the to-be-displayed image to obtain a displayed image and display the displayed image according to a display mode selected by a user.
The display module 605 is specifically configured to:
reading control information from the display data stream, and generating page parameter information according to the control information;
reading effective image-text data from the display data stream, arranging the effective image-text data by combining the page parameter information to obtain displayed image-text arrangement information, writing the displayed image-text arrangement information into a display buffer area, and setting a display processing completion mark;
the display mode selected by the user is determined,
and when the display mode is an image-text display mode, copying the data of the display buffer area to the display unit and outputting the data through a screen.
And when the display mode is a picture-text audio display mode, reading audio data from the display data stream, acquiring a time factor according to the audio data, calculating output data frequency according to the time factor, synchronizing the audio data with the displayed picture-text arrangement information according to the output data frequency, copying the synchronized picture-text arrangement information to a display unit, outputting the picture-text arrangement information through a screen, decoding the audio data according to the output data frequency by the audio data, and outputting the decoded picture-text arrangement information through a loudspeaker. The embodiment predefines the image-text data stream into an XML format, and analyzes, processes and displays the predefined data, so that the image-text display requirement can be met under the condition of not increasing hardware equipment.
The embodiment of the invention also provides a set top box comprising the device.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A method for processing a teletext data stream, the method comprising:
XML predefining the format of the image-text data stream in the information source;
when a first trigger is generated, extracting directory information from an information source and displaying the directory information in an interface display mode, wherein the first trigger is generated by a user starting a reader;
according to a request of a user for directory information, acquiring image-text data streams corresponding to the requested directory information from an information source and storing the image-text data streams in a buffer area;
analyzing the image-text data stream in the buffer area to obtain an image-text data stream to be displayed;
processing the image data stream to be displayed to obtain displayed images and texts, and displaying according to a display mode selected by a user;
the obtaining of the image-text data stream corresponding to the requested directory information from the information source and storing of the image-text data stream to the buffer area according to the request of the user for the directory information specifically includes:
judging the information type selected by the user according to the request of the user for the directory information;
acquiring the image-text data stream corresponding to the information category through the information source;
storing the obtained image-text data stream to the buffer area;
the analyzing the image-text data stream in the buffer area to obtain the image-text data stream to be displayed comprises:
reading the image-text data stream from the buffer area, and generating a large node tree of the information category according to the image-text data stream;
positioning the node data selected by the user from the large-class node tree according to the selection of the user;
and analyzing the node data according to a preset format to obtain a to-be-displayed image-text data stream, partitioning the to-be-displayed image-text data stream, and respectively storing the to-be-displayed image-text data stream into corresponding memories.
2. The method according to claim 1, wherein when the first trigger is generated, extracting directory information from a source and displaying the directory information in an interface display manner, specifically:
when a first trigger is generated, the first trigger is generated by opening a reader by a user; judging the type of the first trigger, determining the type of the information source according to the type of the first trigger, extracting the directory information from the information source corresponding to the type of the information source through a receiving interface of the set top box, and displaying the directory information in an interface display mode.
3. The method according to claim 1, wherein reading the teletext data stream from the buffer and generating the broad class node tree of the information category from the data stream, further comprises:
reading the image-text data stream from the buffer area, checking the data stream, and positioning the node data selected by the user from the large-class node tree according to the selection of the user when the check is passed.
4. The method according to claim 1, wherein the processing the data stream of the text to be displayed to obtain the displayed text, and displaying the displayed text according to the display mode selected by the user specifically comprises:
reading control information from the image-text data stream to be displayed, and generating page parameter information according to the control information;
reading effective image-text data from the image-text data stream to be displayed, arranging the effective image-text data by combining the page parameter information to obtain displayed image-text arrangement information, writing the displayed image-text arrangement information into a display buffer area, and setting a display processing completion mark;
judging a display mode selected by a user;
when the display mode is the image-text display mode, the data of the display buffer area is copied to the display unit and is output through a screen,
and when the display mode is a picture-text audio display mode, reading audio data from the display data stream, acquiring a time factor according to the audio data, calculating output data frequency according to the time factor, synchronizing the audio data with the displayed picture-text arrangement information according to the output data frequency, copying the synchronized picture-text arrangement information to a display unit, outputting the picture-text arrangement information through a screen, decoding the audio data according to the output data frequency by the audio data, and outputting the decoded picture-text arrangement information through a loudspeaker.
5. An apparatus for processing a teletext data stream, the apparatus comprising:
the pre-defining module is used for performing XML pre-defining on the format of the image-text data stream;
the device comprises an extraction module, a display module and a display module, wherein the extraction module is used for extracting the directory information from the information source and displaying the directory information in an interface display mode when a first trigger is generated, and the first trigger is generated by starting a reader by a user;
the acquisition module is used for acquiring image-text data streams corresponding to the requested directory information from the information source according to the request of the user for the directory information and storing the image-text data streams in the buffer area;
the analysis module is used for analyzing the image-text data stream in the buffer area to obtain an image-text data stream to be displayed;
the display module is used for processing the image data stream to be displayed to obtain displayed images and texts and displaying the images and texts according to a display mode selected by a user;
the analysis module specifically comprises:
the reading unit is used for reading the image-text data stream from the buffer area, generating a large-class node tree of the information type according to the image-text data stream, reading the data stream from the buffer area, checking the data stream, and positioning the node data selected by the user from the large-class node tree according to the selection of the user when the check is passed;
the positioning unit is used for positioning the node data selected by the user from the large-scale node tree according to the selection of the user;
and the processing unit is used for analyzing the node data according to a preset format to obtain a to-be-displayed image-text data stream, partitioning the to-be-displayed image-text data stream, and respectively storing the to-be-displayed image-text data stream into corresponding memories.
6. The apparatus of claim 5,
the extraction module is specifically used for generating a first trigger when the first trigger is generated, wherein the first trigger is generated by starting a reader by a user; judging the type of the first trigger, determining the type of the information source according to the type of the first trigger, extracting directory information from the information source corresponding to the type of the information source through a receiving interface of the set top box, and displaying the directory information in an interface display mode;
the acquisition module is specifically used for judging the information type selected by the user according to the request of the user for the directory information; acquiring the image-text data stream corresponding to the information category through the information source; storing the obtained image-text data stream to the buffer area;
the display module is specifically used for reading control information from the display data stream and generating page parameter information according to the control information; reading effective image-text data from the display data stream, arranging the effective image-text data by combining the page parameter information to obtain displayed image-text arrangement information, writing the displayed image-text arrangement information into a display buffer area, and setting a display processing completion mark; judging a display mode selected by a user, copying data of the display buffer area to the display unit when the display mode is an image-text display mode, and outputting the data through a screen; and when the display mode is a picture-text audio display mode, reading audio data from the display data stream, acquiring a time factor according to the audio data, calculating output data frequency according to the time factor, synchronizing the audio data with the displayed picture-text arrangement information according to the output data frequency, copying the synchronized picture-text arrangement information to a display unit, outputting the picture-text arrangement information through a screen, decoding the audio data according to the output data frequency by the audio data, and outputting the decoded picture-text arrangement information through a loudspeaker.
7. The apparatus of claim 5,
the reading unit is further configured to read a data stream from the buffer, check the data stream, and position the node data selected by the user from the large-scale node tree according to the selection of the user when the check is passed.
8. A set-top box comprising a processing means according to any of the preceding claims 5-7.
CN201310390496.3A 2013-08-30 2013-08-30 Image-text data flow processing method, image-text data flow processing device and set top box Expired - Fee Related CN103442275B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310390496.3A CN103442275B (en) 2013-08-30 2013-08-30 Image-text data flow processing method, image-text data flow processing device and set top box
PCT/CN2014/085282 WO2015027913A1 (en) 2013-08-30 2014-08-27 Image/text data stream processing method, device and set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310390496.3A CN103442275B (en) 2013-08-30 2013-08-30 Image-text data flow processing method, image-text data flow processing device and set top box

Publications (2)

Publication Number Publication Date
CN103442275A CN103442275A (en) 2013-12-11
CN103442275B true CN103442275B (en) 2017-04-12

Family

ID=49695933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310390496.3A Expired - Fee Related CN103442275B (en) 2013-08-30 2013-08-30 Image-text data flow processing method, image-text data flow processing device and set top box

Country Status (2)

Country Link
CN (1) CN103442275B (en)
WO (1) WO2015027913A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442275B (en) * 2013-08-30 2017-04-12 深圳市九洲电器有限公司 Image-text data flow processing method, image-text data flow processing device and set top box
CN111385618B (en) * 2018-12-29 2022-01-04 深圳Tcl新技术有限公司 Information source list display method, Android television and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1302038A (en) * 1999-12-29 2001-07-04 英业达集团(南京)电子技术有限公司 Realizing method for personal web page reading mechanism
CN101867695A (en) * 2010-05-21 2010-10-20 中山大学 Digital television set top box based on browser
CN102724591A (en) * 2012-03-30 2012-10-10 深圳创维数字技术股份有限公司 Set top box page displaying method and set top box device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238428A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Set top box (STB) and method for rapidly constructing television program table
CN102316367A (en) * 2010-06-30 2012-01-11 上海视加信息科技有限公司 Method for storing video resource information
CN102088627A (en) * 2011-01-19 2011-06-08 深圳创维数字技术股份有限公司 Program data information updating system and data updating method
CN102118650A (en) * 2011-01-25 2011-07-06 深圳市酷开网络科技有限公司 Method and device for displaying television menu, and television
CN103002336A (en) * 2012-11-15 2013-03-27 深圳市九洲电器有限公司 Data browsing method and device and set-top box
CN102968306B (en) * 2012-11-29 2016-01-20 广东全通教育股份有限公司 A kind of code automatic generation method based on data model driving and system
CN103442275B (en) * 2013-08-30 2017-04-12 深圳市九洲电器有限公司 Image-text data flow processing method, image-text data flow processing device and set top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1302038A (en) * 1999-12-29 2001-07-04 英业达集团(南京)电子技术有限公司 Realizing method for personal web page reading mechanism
CN101867695A (en) * 2010-05-21 2010-10-20 中山大学 Digital television set top box based on browser
CN102724591A (en) * 2012-03-30 2012-10-10 深圳创维数字技术股份有限公司 Set top box page displaying method and set top box device

Also Published As

Publication number Publication date
CN103442275A (en) 2013-12-11
WO2015027913A1 (en) 2015-03-05

Similar Documents

Publication Publication Date Title
US8732783B2 (en) Apparatus and method for providing additional information using extension subtitles file
US8289338B2 (en) Systems and methods for font file optimization for multimedia files
CN109218629B (en) Video generation method, storage medium and device
US20240236437A1 (en) Using text data in content presentation and conent search
CN100362858C (en) Method for realizing expansion EPG function by browser technology
US20190286684A1 (en) Reception device, information processing method in reception device, transmission device, information processing device, and information processing method
CN102065234B (en) Caption producing and broadcasting method and system based on distributive type caption processing system
KR101916874B1 (en) Apparatus, method for auto generating a title of video contents, and computer readable recording medium
WO2008007905A1 (en) Method and apparatus for encoding/decoding signal
CN101336545A (en) System and method for searching video signal
CN102073534A (en) Data analysis method and device
US20120301110A1 (en) Image processing apparatus method and computer program product
JP5197841B1 (en) Video playback apparatus and video playback method
CN103442275B (en) Image-text data flow processing method, image-text data flow processing device and set top box
CN111399788B (en) Media file playing method and media file playing device
CN102103586A (en) Multi-language bidirectionally mixed-arranged caption edition system
CN108965983A (en) It can closed caption data analytic method, smart television, storage medium and device
WO2022080670A1 (en) Content providing method and apparatus, and content playback method
CN102104741A (en) Method and device for arranging multi-language captions
CN113411517A (en) Video template generation method and device, electronic equipment and storage medium
CN102104742B (en) Multi-language caption mixing arrangement method and device
CN102104743A (en) Method and device for editing multi-language hybrid arranged captions
JP5492314B2 (en) Video playback apparatus and video playback method
CN113312516B (en) Video processing method and related device
KR101028839B1 (en) Apparatus for editing multi-picture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170412

Termination date: 20170830

CF01 Termination of patent right due to non-payment of annual fee