CN102868926A - Device and method for buffering teletext data - Google Patents

Device and method for buffering teletext data Download PDF

Info

Publication number
CN102868926A
CN102868926A CN2012103660841A CN201210366084A CN102868926A CN 102868926 A CN102868926 A CN 102868926A CN 2012103660841 A CN2012103660841 A CN 2012103660841A CN 201210366084 A CN201210366084 A CN 201210366084A CN 102868926 A CN102868926 A CN 102868926A
Authority
CN
China
Prior art keywords
buffer
data
text
image
aggregate
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.)
Pending
Application number
CN2012103660841A
Other languages
Chinese (zh)
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 CN2012103660841A priority Critical patent/CN102868926A/en
Publication of CN102868926A publication Critical patent/CN102868926A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention is applicable to the technical field of set-top boxes and discloses a device and a method for buffering teletext data. The device for buffering the teletext data comprises a decoding module, a filtering module, a first buffer, a second buffer and a display, wherein the decoding module is used for decoding teletext data packets, sequentially stores the teletext data packets into the first buffer and sends the teletext data packets to the filtering module; the filtering module is used for organizing the teletext data packets with the same page number, stores the teletext data packets as a data aggregate and then sends the data aggregate to the second buffer; and the second buffer is used for sending the data aggregate to the display for display. Therefore, the double-buffer device is high in processing speed and can avoid data packet loss and display delay.

Description

A kind of buffer storage of image, text and data and method
Technical field
The invention belongs to the set-top box technique field, relate in particular to a kind of buffer storage and method of image, text and data.
Background technology
Teletext (tele text) is that a kind of outside ventures of brief literal and graphical information is play in televise when not transmitting picture gap, plug hole.
Traditional single buffer memory single task method is stored in teletext data bag (being called for short the image, text and data bag) and each magazine page or leaf under the same task, as shown in Figure 1.Single caching method is: decoder module decodes out with the image, text and data bag, is stored on the buffer; Filtering module is cluster with the packet arrangement of identical page number, and its timeslice that takies whole task is T1; On the buffer of aggregate of data storage, its timeslice that takies whole system is T2 to filtering module again; Last buffer offers display with aggregate of data (magazine page or leaf) and shows.Can occur but make in this way: each aggregate of data of buffer memory, display and decoder module can postpone T1+T2 timeslice, operation along with task, whole system can be lost the image, text and data bag, thereby cause buffer can not in time discharge data, finally cause decoder module not have idle memory cell to utilize.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of buffer storage and method of image, text and data, and it is slow to be intended to the resolution system processing speed, the problem of lost data packets and display delay occurs.
Embodiments of the invention are achieved in that a kind of buffer storage of image, text and data, and described device comprises: decoder module, filtering module, the first buffer, the second buffer and display;
Described decoder module is used for decoding the image, text and data bag, and it is stored in described the first buffer successively, and then sends to described filtering module;
Described filtering module is used for will having the described image, text and data bag arrangement of identical page number and saving as aggregate of data, more described aggregate of data is sent to described the second buffer;
Described the second buffer is used for that described aggregate of data is sent to described display and shows.
Another purpose of embodiments of the invention is to provide a kind of caching method of image, text and data, said method comprising the steps of:
Step 1, decoder module decode the image, text and data bag, and successively it are stored in the first buffer, and then send to filtering module;
Step 2, filtering module will have the described image, text and data bag arrangement of identical page number and save as aggregate of data, more described aggregate of data be sent to the second buffer;
Step 3, the second buffer send to display with described aggregate of data and show.
As from the foregoing, carry out synchronously with respect to the buffer memory of image, text and data bag and magazine page or leaf in single buffer memory single task, the inventive method is placed on the storage of the storage of image, text and data bag and magazine page or leaf that different task is asynchronous carries out; The two tasks of the two buffer memorys of the present invention are to come buffer memory image, text and data bag with a buffer in a task, in another task, come buffer memory magazine page or leaf with another buffer, therefore, the buffer memory of magazine page or leaf can not incured loss through delay the decoding efficiency of whole system decoder module, the image, text and data bag of can the fast cache decoder module decoding out, and accelerated the magazine caching of page processing time.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the realization block diagram of the buffer storage of the image, text and data that provides of prior art;
Fig. 2 is the realization block diagram of the buffer storage of image, text and data provided by the invention;
Fig. 3 is provided by the invention pair of buffer memory schematic diagram;
Fig. 4 is the realization flow figure of the caching method of image, text and data provided by the invention.
Fig. 5 comprises the realization flow figure that discharges the memory cell step on Fig. 4 basis.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Embodiment one
Fig. 2 shows the buffer storage of the image, text and data that one embodiment of the invention provides.
Embodiments of the invention are achieved in that a kind of buffer storage of image, text and data, and described device comprises: decoder module, filtering module, the first buffer, the second buffer and display;
Described decoder module is used for decoding the image, text and data bag, and it is stored in described the first buffer successively, and then sends to described filtering module;
Described filtering module is used for will having the described image, text and data bag arrangement of identical page number and saving as aggregate of data, more described aggregate of data is sent to described the second buffer;
Described the second buffer is used for that described aggregate of data is sent to described display and shows.
In the present embodiment, described filtering module also comprises: the first release module discharges for the memory cell that in real time the first buffer is comprised described image, text and data bag; Described the second buffer also comprises: the second release module, discharge for the memory cell that will comprise in real time described aggregate of data, and issue again filtering module.
In the present embodiment, described the first buffer is Cache, and capacity is little; Described the second buffer is the low speed buffer, and capacity is large.
In the present embodiment, every group of aggregate of data comprises 32 packets with identical page number, and every group of aggregate of data is a magazine page or leaf.
Now as follows to the specific implementation process prescription of apparatus of the present invention:
After decoder module decodes the image, text and data bag, memory pool to the first buffer of first task sends request, the memory cell that request is idle, the memory pool of the first buffer provides replys, if decoder module does not obtain idle memory cell, continue to wait for, until response obtains idle memory cell; Check the size of whole idle memory cell of the first buffer and the size of individual memory cells, suitably adjust the size of memory cell, obtain idle memory cell to guarantee that decoder module can both respond at every turn; Each image, text and data bag of decoding is out stored in each individual memory cells of the first buffer successively, the corresponding packet of each memory cell, then the store status of flag memory cell is for full; The image, text and data bag is sent to again the filtering module of the 3rd task.
The filtering module of second task can discharge the memory cell of the first buffer in real time, the memory cell of free time is offered decoder module, therefore the timeslice of first task just can additionally not taken, time that can consumption of filter module disposal data bunch, the resolution speed of decoder module just can not be affected.Filtering module is the image, text and data bag arrangement with identical page number and save as aggregate of data, again the aggregate of data of putting in order is offered the second buffer.
The second buffer is according to take bunch as unit, the data of each magazine page or leaf of buffer memory teletext, and aggregate of data can offer display and show.The second buffer discharges the space of the aggregate of data of having stored, and issues filtering module again, and filtering module receives new image, text and data bag again.
Fig. 3 is the data cached structure chart of two buffers, and N1 refers to that the teletext data type that the first buffer is stored is: the data take the teletext data bag as unit; N2 refers to that the teletext data type that the second buffer is stored is: the data take teletext data bunch (magazine page or leaf) as unit.Wherein dotted portion explanation: data cached bag and aggregate of data are asynchronous carrying out, and are independent of each other.The teletext data that needs to show is the data of teletext magazine page or leaf.
In the present embodiment, when the memory capacity of system hour, described the second buffer is only stored a front and back N page of the magazine page or leaf of current demonstration, number N determines according to the amount of capacity of described the second buffer reality.
The memory capacity of the second buffer can be set automatically as required, if the memory capacity of whole system is smaller, just storage policy need to be set, such as a front and back N page of the current magazine page or leaf that will show of a buffer memory, number N sets according to the memory capacity actual size.
Embodiment two
Fig. 4 shows the caching method of a kind of image, text and data of another embodiment of the present invention.
Another purpose of the embodiment of the invention is to provide a kind of caching method of image, text and data, said method comprising the steps of:
Step S101: decoder module decodes the image, text and data bag, and successively it is stored in the first buffer, and then sends to filtering module;
Step S102: filtering module will have the described image, text and data bag arrangement of identical page number and save as aggregate of data, more described aggregate of data be sent to the second buffer;
Step S103: the second buffer sends to display with described aggregate of data and shows.
Further, described method also comprises the step that discharges memory cell, sees Fig. 5:
Between S102 and S103, also comprise:
Step S1023: filtering module discharges the memory cell that comprises described image, text and data bag in the first buffer in real time;
Also comprise after behind S103:
Step S1031: the memory cell that the second buffer will comprise described aggregate of data in real time discharges, and issues filtering module again.
In the present embodiment, the decoding step of the storing step of described the first buffer and decoder module is carried out synchronously; The storing step of described the second buffer and the decoding step of decoder module are asynchronous carries out.
In the present embodiment, every group of aggregate of data comprises 32 packets with identical page number, and every group of aggregate of data is a magazine page or leaf.
In the present embodiment, when the memory capacity of system hour, described the second buffer is stored as follows: only store a front and back N page of the magazine page or leaf of current demonstration, number N determines according to the amount of capacity of described the second buffer reality.
In sum, when the page number of the magazine page or leaf that shows when needs changed, the storage characteristics of single cache way and two cache way was:
1, single buffer memory page that need to show is not on the spatial cache of buffer, buffer need to offer the magazine page or leaf of display teletext in real time, filtering module is put in order and is issued the data that buffer is stored the page bunch of current demonstration after the packet of whole magazine page or leaf, and then offer display, therefore the time of display demonstration just has delay, causes to show that response speed is very slow.
When 2, two buffer memorys switch the page that needs demonstration up and down page by page by demand, because the buffer memory of the buffer memory of packet and each magazine page or leaf is asynchronous carrying out, can not affect the decoding speed of decoder module, can not occur the first spatial cache yet and completely cause losing of data, or the slow situation of display speed appears, display will soon find the page of the magazine page or leaf that needs demonstration like this.The time that display shows does not have delay, therefore shows that response speed is very fast.
As seen, two caching system processing speeds are faster, the problem of lost data packets and display delay can not occur.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the buffer storage of an image, text and data is characterized in that, described device comprises: decoder module, filtering module, the first buffer, the second buffer and display;
Described decoder module is used for decoding the image, text and data bag, and it is stored in described the first buffer successively, and then sends to described filtering module;
Described filtering module is used for will having the described image, text and data bag arrangement of identical page number and saving as aggregate of data, more described aggregate of data is sent to described the second buffer;
Described the second buffer is used for that described aggregate of data is sent to described display and shows.
2. the buffer storage of image, text and data as claimed in claim 1 is characterized in that described filtering module also comprises: the first release module, and the memory cell that is used in real time the first buffer being comprised described image, text and data bag discharges;
Described the second buffer also comprises: the second release module, discharge for the memory cell that will comprise in real time described aggregate of data, and issue again filtering module.
3. the buffer storage of image, text and data as claimed in claim 1 is characterized in that described the first buffer is Cache, and capacity is little; Described the second buffer is the low speed buffer, and capacity is large.
4. the buffer storage of image, text and data as claimed in claim 1 is characterized in that every group of aggregate of data comprises 32 packets with identical page number, and every group of aggregate of data is a magazine page or leaf.
5. the buffer storage of image, text and data as claimed in claim 4, it is characterized in that, when the memory capacity of system hour, described the second buffer is only stored a front and back N page of the magazine page or leaf of current demonstration, number N determines according to the amount of capacity of described the second buffer reality.
6. the caching method of an image, text and data is characterized in that, said method comprising the steps of:
Step 1, decoder module decode the image, text and data bag, and successively it are stored in the first buffer, and then send to filtering module;
Step 2, filtering module will have the described image, text and data bag arrangement of identical page number and save as aggregate of data, more described aggregate of data be sent to the second buffer;
Step 3, the second buffer send to display with described aggregate of data and show.
7. the caching method of image, text and data as claimed in claim 6 is characterized in that, also comprises between described step 2 and step 3:
Filtering module discharges the memory cell that comprises described image, text and data bag in the first buffer in real time;
After described step 3, also comprise:
The memory cell that the second buffer will comprise described aggregate of data in real time discharges, and issues filtering module again.
8. the caching method of image, text and data as claimed in claim 6 is characterized in that the storing step of described the first buffer and the decoding step of decoder module are carried out synchronously; The storing step of described the second buffer and the decoding step of decoder module are asynchronous carries out.
9. the caching method of image, text and data as claimed in claim 6 is characterized in that every group of aggregate of data comprises 32 packets with identical page number, and every group of aggregate of data is a magazine page or leaf.
10. the caching method of image, text and data as claimed in claim 9 is characterized in that, when the memory capacity of system hour, described the second buffer is stored as follows:
Only store a front and back N page of the magazine page or leaf of current demonstration, number N determines according to the amount of capacity of described the second buffer reality.
CN2012103660841A 2012-09-28 2012-09-28 Device and method for buffering teletext data Pending CN102868926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103660841A CN102868926A (en) 2012-09-28 2012-09-28 Device and method for buffering teletext data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103660841A CN102868926A (en) 2012-09-28 2012-09-28 Device and method for buffering teletext data

Publications (1)

Publication Number Publication Date
CN102868926A true CN102868926A (en) 2013-01-09

Family

ID=47447485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103660841A Pending CN102868926A (en) 2012-09-28 2012-09-28 Device and method for buffering teletext data

Country Status (1)

Country Link
CN (1) CN102868926A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475825A (en) * 2013-09-09 2013-12-25 北京中科大洋科技发展股份有限公司 System and method for frequency channel packaging background processing
CN106973089A (en) * 2017-03-16 2017-07-21 北京索瑞特医学技术有限公司 Data processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908202A (en) * 2010-07-09 2010-12-08 哈尔滨工程大学 Method for fast displaying electronic chart
CN101938478A (en) * 2010-08-31 2011-01-05 中山大学 Set-top box browser, set-top box and method thereof
CN102446199A (en) * 2010-09-30 2012-05-09 易搜比控股公司 Method for integrating really simple syndication files

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908202A (en) * 2010-07-09 2010-12-08 哈尔滨工程大学 Method for fast displaying electronic chart
CN101938478A (en) * 2010-08-31 2011-01-05 中山大学 Set-top box browser, set-top box and method thereof
CN102446199A (en) * 2010-09-30 2012-05-09 易搜比控股公司 Method for integrating really simple syndication files

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475825A (en) * 2013-09-09 2013-12-25 北京中科大洋科技发展股份有限公司 System and method for frequency channel packaging background processing
CN103475825B (en) * 2013-09-09 2016-06-15 北京中科大洋科技发展股份有限公司 A kind of system and method for channel package background process
CN106973089A (en) * 2017-03-16 2017-07-21 北京索瑞特医学技术有限公司 Data processing method and device

Similar Documents

Publication Publication Date Title
WO2019227724A1 (en) Data read/write method and device, and circular queue
CN107220187B (en) Cache management method and device and field programmable gate array
US10248350B2 (en) Queue management method and apparatus
US7689047B2 (en) Reduced buffer size for JPEG encoding
US8077610B1 (en) Memory architecture for high speed network devices
EP3657744B1 (en) Message processing
CN105530479A (en) Video data processing method and system based on mobile terminal
CN101848135A (en) Management method and management device for statistical data of chip
CN103036805A (en) System and method for improving multicast performance in banked shared memory architectures
CN102868926A (en) Device and method for buffering teletext data
CN101594201B (en) Method for integrally filtering error data in linked queue management structure
CN111984198B (en) Message queue implementation method and device and electronic equipment
CN103617132A (en) Ethernet terminal sending achieving method based on shared storage and terminal device
CN112040284B (en) Synchronous display control method and device of multiple display screens and storage medium
CN104469241A (en) Device for achieving video frame rate change
CN102917036A (en) Memcached-based distributed cache data synchronization realization method
CN102780620B (en) A kind of network processes device and message processing method
JP5391449B2 (en) Storage device
CN106843748A (en) It is a kind of to improve the method and system that data write movable storage device speed
CN105550245A (en) Optimization system and method for network picture loading and caching based on Android platform
CN102710981B (en) A kind of method for receiving and processing data based on Set Top Box and device
US8645597B2 (en) Memory block reclaiming judging apparatus and memory block managing system
CN204496485U (en) A kind of I/O assisted access device based on high-speed data acquisition storage system
CN102571535A (en) Device and method for delaying data and communication system
CN117440273B (en) System and method for splicing upstream data of XGSPON OLT

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Shenzhen Jiuzhou Electric Appliance Co., Ltd.

Document name: Notification of an Office Action

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130109