CN1988493B - Resetting system and its method for buffer - Google Patents

Resetting system and its method for buffer Download PDF

Info

Publication number
CN1988493B
CN1988493B CN 200710000034 CN200710000034A CN1988493B CN 1988493 B CN1988493 B CN 1988493B CN 200710000034 CN200710000034 CN 200710000034 CN 200710000034 A CN200710000034 A CN 200710000034A CN 1988493 B CN1988493 B CN 1988493B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
buffer
data
processing unit
flag
reset
Prior art date
Application number
CN 200710000034
Other languages
Chinese (zh)
Other versions
CN1988493A (en )
Inventor
游维德
Original Assignee
智易科技股份有限公司
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
Grant date

Links

Abstract

The invention relates to a buffer replacement system and its method, in which, the replacement system includes a replacement flag located in the buffer and a control unit, the replacement method through the replacement flag set by control unit, re-reads the buffer data for disposal while exchanging a processing unit, so it can improve the use efficiency of buffer. In addition, the buffer can be set up the override flag so that the data can not be overrode to the buffer for retaining the buffer data and avoiding the loss.

Description

缓冲器的重置系统及其方法 Reset the buffer system and method

技术领域 FIELD

[0001] 本发明是有关于一种缓冲器,其尤指缓冲器的重置系统及其方法。 [0001] The present invention relates to a buffer, which is especially reset buffer systems and methods. 背景技术 Background technique

[0002] 按,现今串流系统多用于网际网路,让民众可于网路上收听广播、音乐或收看影片。 [0002] press, today's systems are used for Internet streaming, so that people can listen to the radio, music or watch videos on the web. 一般基本的串流系统,其包含有复数个处理单元与复数个缓冲器,其中相邻该处理单元间都设置有一缓冲器而用于暂存资料。 Basic streaming systems in general, which includes a plurality of processing units and a plurality of buffers, wherein the processing between adjacent units is provided with a buffer for temporarily storing the data. 请参阅图1,其为习用的串流系统的方块图。 See 1, which is a conventional streaming system of the block diagram. 此串流系统用于网际网路,如图所示,串流系统包含有一第一处理单元20'、一第二处理单元22'、 一第三处理单元对'、一第四处理单元洸'、一第一缓冲器30'及一第二缓冲器32'。 This system is used for Internet streaming, as shown, the system includes a first stream processing unit 20 ', a second processing unit 22', to ', a fourth processing unit Guang' a third processing unit a first buffer 30 'and a second buffer 32'. 第一处理单元20'用于从网际网路下载资料并储存至第一缓冲器30'。 The first processing unit 20 'is used to download data from the Internet and stored into the first buffer 30'.

[0003] 第二处理单元22'与第三处理单元24'用于依据第一缓冲器30'的资料型态而分别处理该第一缓冲器30'的资料,例如MP 3、WMA或WMV。 [0003] The second processing unit 22 'and the third processing unit 24' according to a first buffer 30 'respectively of the data type of the first processing buffer 30' data, e.g. MP 3, WMA or WMV. 第二处理单元22'从第一缓冲器30'将资料读取后并进行处理且将处理后的资料储存于第二缓冲器32',若第二处理单元22'无法处理第一缓冲器30'的资料时,系统将会重置第一缓冲器30'并由第三处理单元24'重新读取第一缓冲器30'的资料而进行处理,之后将处理后的资料储存于第二缓冲器32'。 The second processing unit 22 'from the first buffer 30' after the information is read and processed and the processed data stored in the second buffer 32 ', if the second processing unit 22' can not process a first buffer 30 'is data, the system will reset first buffer 30' by the third processing unit 24 'to re-reading the first buffer 30' performs data processing, after processing the data stored in the second buffer 32 '. 接着,由第四处理单元沈'从第二缓冲器32'读取处理后的资料而进行播放。 Subsequently, by the fourth processing unit reads data processed sink 'from the second buffer 32' performs playback. 其中缓冲器30,、32,为先进先出(First In First Out, FIFO)且为环型缓冲器(Ring Buffer)。 Wherein the buffer 30, and 32, as FIFO (First In First Out, FIFO) buffer and is ring (Ring Buffer).

[0004] 请参阅图2A,其为习用的环型缓冲器储存资料的状态示意图。 [0004] Please refer to Figure 2A, a schematic view of the status of stored data in the conventional ring buffer. 如图所示,缓冲器1'具有一开始指标5'与一结束指标7',缓冲器1'利用开始指标5'与结束指标7'指示缓冲器1'所储存资料10'的起始位址与结束位址。 As illustrated, the buffer 1 'having a start indicator 5' end and a target 7 ', the buffer 1' utilization start indicator 5 'end of the target 7' indicates a start bit 'stored data 10' of the buffer 1 address and end address. 当资料10'被读取时,开始指标5'即向前移动指向资料被读取的最后位址。 When information 10 'is read, the start pointer 5' i.e. moved forwardly directed last address information is read.

[0005] 再者,请参阅图2B,其为覆写资料至习用环型缓冲器的状态示意图。 [0005] In addition, please refer to Figure 2B, which is a schematic diagram of a conventional overwrite data to the ring buffer state. 如图所示,当缓冲器1'的资料10'被读取后,开始指标5'会向前移动至资料10'最后被读取后的位址, 也就是说若资料10'被读取完后,开始指标5'会与结束指标V指向相同的位址。 As shown, when the 'information 10' is read buffer 1, the start indicator 5 'moves forward to the data 10' after the last address is read, that is to say if the information 10 'is read after, start indicators 5 'end with the index V will point to the same address. 之后,若有一资料12'储存至缓冲器1'时,此资料12'会从结束指标V所指的位址开始写入,且结束指标V会向前移动直至完成写入资料12'至缓冲器1'为止。 Thereafter, if a data 12 'to the buffer storage 1', this profile 12 'will be written starting from the end address pointer within the meaning of V, and V moves forward end indicator until the completion of the writing data 12' to the buffer 1 'so far. 若写入资料12'至缓冲器1'的最后位址,而资料12'仍未完全写入时,则会从缓冲器1'的起始位址接续写入资料12',此时即会覆盖已被读取的资料10'。 'Is not yet completely written, the buffer will be from 1' if the write data 12 'to the buffer 1' is the last address, and writing the data starting address of 12 successive data 12 ', i.e., at this time will data covering 10 has been read. ' 所以,此种缓冲器1'称为环型缓冲器。 Therefore, such a buffer 1 'is called circular buffer.

[0006] 请复参阅图1,若当第二处理单元22'无法处理第一缓冲器30'的资料,而交换由第三处理单元24'试着去读取并处理第一缓冲器30'的资料时,由于第二处理单元22'已读取一部分的资料,所以开始旗标5'向前指向第二处理单元22'读取资料后的位址,故此时第三处理单元24'已无法重新读取第一缓冲器30'的原有资料,因此我们需要重置系统, 使第一处理单元20'交换为第三处理单元24'处理资料。 [0006] Please refer back to FIG. 1, when the when the second data processing unit 22 'can not process a first buffer 30', and the exchange by the third processing unit 24 'try to read and process a first buffer 30' when information, since the second processing unit 22 'have a portion of data read, the start flag 5' forwardly directed second processing unit 'after the address data is read, it is now the third processing unit 24' has 22 can not be re-reading the first buffer 30 'of the original information, so we need to reset the system, the first processing unit 20' for the third processing unit 24 exchange 'process data.

[0007] 因此,如何针对上述问题而提出一种新颖缓冲器的重置系统及其方法,不仅可改善交换处理单元后,交换后的处理单元无法读取缓冲器的原有资料的缺点,亦可避免缓冲器的原有资料被覆写,可解决上述的问题。 After drawback [0007] Therefore, how to reset the system and propose a novel buffer for the above-mentioned problems and methods, not only to improve the exchange processing unit, the processing unit can not read buffer exchange of the original data, also the original data can prevent buffer is overwritten, can solve the above problems.

4发明内容 4 SUMMARY OF THE INVENTION

[0008] 本发明的主要目的,在于藉由在缓冲器设置一重置旗标与一重置功能,使在交换处理单元时,可允许重置旗标以重置缓冲器,让交换后的处理单元可重新读取缓冲器的原有资料。 [0008] The main object of the present invention, that is provided by a reset flag in a buffer with a reset function, so that the exchange processing unit may allow the reset flag to reset the buffer, so that after the exchange of the processing unit may re-read the original data buffer.

[0009] 本发明的另一目的,在于藉由在缓冲器设置一覆写旗标,当未确定随后的处理单元是否可处理缓冲器的资料时,可设定覆写旗标,让后续资料无法覆写至缓冲器,以避免覆盖缓冲器内的原有资料,而避免缓冲器内的原有资料遗失。 [0009] Another object of the present invention is to overwrite by setting a flag in the buffer, whether or undetermined when the subsequent processing unit may process the data buffer, override flag may be set, so that subsequent data not to overwrite the buffer, to avoid overwriting the original data in the buffer, to avoid loss of the original data in the buffer.

[0010] 为达上述的目的,本发明的缓冲器的重置系统包含有一重置功能、一重置旗标、一覆写旗标与一控制单元,重置旗标与覆写旗标设于缓冲器,控制单元用于呼叫重置功能与设定覆写旗标,藉由控制器呼叫重置功能可重置缓冲器,以让处理单元交换后可重新读取缓冲器的资料,而设定覆写旗标可保留缓冲器的资料,以避免资料遗失。 [0010] To achieve the above object, according to the present invention, the buffer system comprises resetting a reset function to reset a flag, a flag overwritten with a control unit, resets the flag set override flag in the buffer, the control unit and the reset function for the call set an override flag may be reset function call by the controller to reset the buffer to allow re-read data buffer exchange of post-processing unit, and set data override flag may retain a buffer to avoid data loss.

[0011] 本发明的重置方法是依据处理单元处理缓冲器的资料的状态呼叫重置功能并确认重置旗标。 [0011] The reset method of the present invention is based on the buffer state data processing unit processing the call and confirm a reset function to reset the flag. 当一第一处理单元读取缓冲器的资料而无法处理时,控制单元则确认重置旗标并呼叫重置功能,以交换一第二处理单元与第一处理单元,让第二处理单元取代第一处理单元,而重新读取缓冲器的资料并进行处理。 A first processing unit when the read buffer data can not be processed, the control unit resets the flag and confirmation reset function call, to exchange a second processing unit and the first processing unit, the second processing unit so substituted a first processing unit, and the re-read data buffer and processed. 当资料写入缓冲器时,重置旗标将会设定为假(False),另外,当不确定处理单元是否可处理缓冲器的资料时,可藉由控制单元设定覆写旗标为一非覆写参数值,让后续资料无法覆写至缓冲器,即是无法将资料覆写于旧资料, 直至确认处理单元可处理缓冲器的资料时,才设定覆写旗标为一覆写参数值,让后续资料可覆写至缓冲器。 When the write buffer data, the flag will be reset to false (False), Further, the processing unit is uncertain when the data buffer may be processed, by the control unit may set an override flag is when a non-override parameters, so that the subsequent data is not overwritten to the buffer, i.e. data is not to overwrite the old data until the authentication processing unit may process the data buffers, only a flag is set to override cover write parameter values, so that follow-up information can be overwritten to the buffer.

[0012] 本发明的有益效果是:可以在缓冲器设置一重置旗标与一重置功能,使在交换处理单元时,可允许重置旗标以重置缓冲器,让交换后的处理单元可重新读取缓冲器的原有资料。 [0012] Advantageous effects of the present invention are: a reset flag may be provided with a reset function in the buffer, so that when the switching processing unit may allow the reset flag to reset the buffer, so that the exchange process unit can be re-read the original data buffer. 还可以在缓冲器设置一覆写旗标,当未确定随后的处理单元是否可处理缓冲器的资料时,可设定覆写旗标,让后续资料无法覆写至缓冲器,以避免覆盖缓冲器内的原有资料, 而避免缓冲器内的原有资料遗失。 Can also set a flag in the overwrite buffer, when not determined whether the subsequent processing unit may process the data buffer, override flag may be set, so that the subsequent data is not overwritten to the buffer, to avoid overwriting the buffer the original data in the device, to avoid loss of the original data in the buffer.

附图说明 BRIEF DESCRIPTION

[0013] 图1为习用串流系统的方块图; [0013] FIG. 1 is a conventional block diagram of a system stream;

[0014] 图2A为习用环型缓冲器储存资料的状态示意图; [0014] FIG. 2A is a conventional circular buffer stored data state schematic;

[0015] 图2B为覆写资料至习用环型缓冲器的状态示意图; [0015] FIG. 2B is a schematic diagram of a conventional overwrite data to the ring buffer state;

[0016] 图3为本发明的一较佳实施例的方块图; A block diagram of a preferred embodiment [0016] FIG. 3 embodiment of the present invention;

[0017] 图4为缓型缓冲器设定为非覆写参数的状态示意图; [0017] FIG. 4 is a schematic view of a non-set state buffer Buffer override parameters;

[0018] 图5为本发明的另一较佳实施例的方块图; A block diagram of another preferred embodiment of the [0018] embodiment of the present invention. FIG. 5;

[0019] 图6为本发明的一较佳实施例的流程图; A flowchart of a preferred embodiment [0019] FIG. 6 embodiment of the present invention;

[0020] 图7为本发明的另一较佳实施例的流程图。 Flowchart of [0020] FIG 7 is another preferred embodiment of the present invention.

[0021] 图号说明: [0021] FIG number Definitions:

[0022] 1,缓冲器 5,开始指标 [0022] 1, the buffer 5, the start index

[0023] 7'结束指标 10'资料 [0023] 7 'the end of the 10 indicators' data

[0024] 12'资料 20'第一处理单元 [0024] 12 'Profile 20' of the first processing unit

5[0025] 22,第二处理单元 5 [0025] 22, a second processing unit

[0026] 26'第四处理单元 [0026] 26 'of the fourth processing unit

[0027] 32'第二缓冲器 [0027] 32 'of the second buffer

[0028] 4结束指标 [0028] 4 End index

[0029] 8新资料 [0029] 8 new information

[0030] 13重置旗标 [0030] 13 reset flag

[0031] 20第一处理单元 [0031] The first processing unit 20

[0032] 24第三处理单元 [0032] The third processing unit 24

[0033] 40下载单元 [0033] The download unit 40

[0034] 53重置旗标 [0034] 53 reset flag

[0035] 60解码模组 [0035] The decoding module 60

[0036] 64第二解码单元 [0036] The second decoding unit 64

[0037] 70第二缓冲器 [0037] The second buffer 70

24'第三处理单元30'第一缓冲器2开始指标6旧资料10缓冲器16覆写旗标22第二处理单元30控制单元50第一缓冲器56覆写旗标62第一解码单元66第三解码单元80播放单元 24 'third processing unit 30' of the first buffer start index 2 6 10 buffer 16 overwrites old data flag processing unit 22 of the second 30 buffer 56 control unit 50 overwrites the first 62 of the first flag decoding unit 66 a third decoding unit 80 playback unit

具体实施方式 detailed description

[0038] 为使审查委员对本发明的结构特征及所达成的功效有更进一步的了解与认识,谨佐以较佳的实施例及配合详细的说明,说明如后: [0038] For a better understanding Review Board and the knowledge of the structural features and effects of the present invention is reached, and wish accompanied with the embodiment described in detail preferred embodiments, as will be described:

[0039] 请参阅图3,其为本发明的一较佳实施例的方块图。 [0039] Referring to FIG 3, a block diagram of a preferred embodiment of the present invention which embodiment. 如图所示,本发明的缓冲器的重置系统包含有一控制单元30、一重置旗标13与一覆写旗标16,重置旗标13与覆写旗标16皆设于一缓冲器10。 As shown, the buffer system of the present invention is reset includes a control unit 30, a flag 13 and a reset override flag 16, flag 13 is reset override flag 16 are disposed in a buffer 10. 控制单元30用于确认重置旗标(resettable flag) 13的状态与确认并改变覆写旗标(overwriteable flag) 16,以控制缓冲器10的资料读取与写入。 The control unit 30 resets the flag for confirming (resettable flag) 13 and the state change and confirm override flag (overwriteable flag) 16, data buffer 10 to control read and write. 控制单元30确认重置旗标13被设定,之后控制单元30允许呼叫重置功能以重置缓冲器10,也就是重置缓冲器10的开始指标回复至缓冲器10的起始位址,如此第三处理单元24即可在第二处理单元22读取缓冲器10的资料而无法处理时,可重新读取缓冲器10原有的资料而进行处理。 The control unit 30 resets the confirmation flag 13 is set, the control unit 30 allows the call after the reset function to reset the buffer 10, the start index is reset buffer 10 to start address of a reply buffer 10, thus in a third processing unit 24 to the second processing unit 22 reads the data buffer 10 can not be processed, may be re-read data buffer 10 and the original processing. 若重置旗标13被设定成一非重置参数,之后控制单元30便无法重置缓冲器10,最初将重置旗标13设定为重置参数,当有任何资料覆写于缓冲器10的资料时,重置旗标13 将会自动设定为非重置旗标。 If the reset flag 13 is set to a non-reset parameters, then the control unit 30 can not reset the buffer 10, the first flag will be reset 13 resets the parameters set, when there is any data in the buffer overwrite when the data 10, 13 will automatically reset the flag set to non-reset flag.

[0040] 控制单元30设定覆写旗标16为一非覆写参数值时,即为逻辑中的”假” (False), 是无法将资料覆盖缓冲器10的原有资料,请一并参阅图4所示,当覆写旗标16设定为一非覆写参数值时,资料将写入缓冲器10,直到结束指标到达缓冲器10的最后位址时,无法将资料覆写至缓冲器10,也就是说缓冲器10已储存旧资料6,当覆写旗标16设定为一非覆写参数值时,新资料可由开始旗标2之后写入缓冲器10,直到写满缓冲器10的容量,即是结束旗标4移至缓冲器10的尾端,如此可避免第一处理单元20后续写入资料于缓冲器10,而覆盖缓冲器10内原有的资料,使第二处理单元22或第三处理单元24读取缓冲器10的资料, 仍可保留缓冲器10原有的资料。 When [0040] the control unit 30 to set an override flag 16 is a non-override parameter value, is "false" (False), the data can not cover the original data buffer logic 10, please also Referring to FIG. 4, when the override flag 16 is set to a non-override parameters, data written to a buffer 10, until the end of the indicator reaches the final address buffer 10, data can not be overwritten to buffer 10, a buffer 10 that is old data saved 6, when the override flag 16 is set to a non-override parameters, new data may be written in the buffer 10 starts after the flag 2 until filled capacity of the buffer 10, that is, the trailing end 4 moves the end flag buffer 10, so the first processing unit 20 may avoid a subsequent write data in the buffer 10, and overwrite the original data in the buffer 10, the first second processing unit 22 or the third processing unit 24 reads the data buffer 10, 10 can retain the original data buffer. 控制单元30设定覆写旗标16为一覆写参数值时,即为逻辑中的”真”(Ture),缓冲器10可被覆写资料。 When the control unit 30 to set an override flag 16 is a parameter override, that is, logic "true" (Ture), data buffer 10 may be overwritten.

[0041] 以下是举一实施例,而对本发明进行说明。 [0041] For the following is an embodiment of the present invention will be described. 当第一处理单元20储存一第一资料至缓冲器10后,第二处理单元22会读取缓冲器10的第一资料以进行处理。 When the first processing unit 20 stores a first data to the buffer 10, the second processing unit 22 reads the first data buffer 10 for processing. 第二处理单元22于处理第一资料时,是会发送一回应讯息至控制单元30,通知控制单元30可处理第一资料。 The second processing unit 22 to the first data processing, a response message is sent to the control unit 30, the notification control unit 30 may process the first data. 若第二处理单元22可处理第一资料时,控制单元30即依据表示可处理资料的回应讯息设定覆写旗标为覆写参数值,让第一处理单元20可覆写资料至缓冲器10。 If the second processing unit 22 may process the first data, i.e., the control unit 30 based on the processing information represents a response message is set to override the parameter values ​​override flag, so that the processing unit 20 may overwrite the first data to the buffer 10. 若第二处理单元22无法处理第一资料时,控制单元30将会确认缓冲器10的覆写旗标16,若重置旗标设定为逻辑中的”真”,即会重置缓冲器10,并即依据表示无法处理资料的回应讯息发送一交换讯息至第三处理单元24,也就是说当第二处理单元22无法处理第一资料时,控制单元30 会交换第二处理单元22与第三处理单元对,让第三处理单元M取代第二处理单元22。 If the second processing unit 22 can not process the first data, the control unit 30 will confirm the override flag buffer 1610, and if the reset flag is set to logic "true", i.e. reset buffer 10, and that is expressed according to the response message can not handle data exchange sends a message to the third processing unit 24, that is to say when the second processing unit 22 can not process the first data, the control unit 30 will be exchanged with the second processing unit 22 a third processing unit, so that M third processing unit instead of the second processing unit 22.

[0042] 此外,控制单元30于发送驱动讯息的同时亦会重置缓冲器10并设定重置旗标13 为重置参数值,以重置缓冲器10,使开始指标回复指向缓冲器10的第一资料的起始位置, 让第三处理单元M可以从缓冲器10储存第一资料的起始位置开始读取第一资料,如此即可解决第三处理单元M在第二处理单元22无法处理缓冲器10的资料时,无法重新读取缓冲器10原有资料的问题,以提高缓冲器10的使用效能。 [0042] Further, the control unit 30 to simultaneously transmit messages will reset driving buffer 10 and sets the reset flag to reset the parameter values ​​13 to reset the buffer 10, so that the start indicator pointing to the buffer 10 replies starting position of the first data, the third processing unit so that M may start reading a first data from the buffer 10 stores the starting position of the first data, will resolve the third processing unit in the second processing unit 22 M unable to handle data buffer 10, the buffer can not be re-read issue 10 of the original data in order to improve the effectiveness of the use of the buffer 10. 上述,第三处理单元M于处理第一资料时,亦会发送回应讯息至控制单元30,使控制单元30设定覆写旗标13为覆写参数值,让第一处理单元20可接续覆写资料至缓冲器10。 Above, M in the third processing unit processing the first data will also send response message to the control unit 30, the control unit 30 that the override flag is set to override the parameter value 13, the first processing unit 20 may make the connection cover write data to the buffer 10. 上述,若覆写旗标被设定为覆写参数值且第一处理单元20写入足够资料至缓冲器10以覆写一些资料,之后重置旗标13为非重置参数值。 Above, if the override flag is set to override the parameter value and a first processing unit 20 writes enough data to the buffer 10 to overwrite some of the information, a non-reset after the reset flag parameter value 13.

[0043] 另外,若之后第一处理单元20无法处理缓冲器10的资料,第三处理单元M亦无法处理缓冲器10的资料时,其会发送表示无法处理资料的回应讯息至控制单元30,之后若有任何其他处理单元时,此时控制单元30即会发送交换讯息至其他处理单元,以交换第三处理单元对,让其他处理单元取代第三处理单元24,同时控制单元30会重置缓冲器10并设定重置旗标13为重置参数。 When [0043] Further, if after the first processing unit 20 can not process data buffer 10, the third processing unit M also can not handle data buffer 10, which will be unable to process transmits a response message to the control unit 30 of the information, after if any other processing unit, the control unit 30 at this time will be sent to the other processing unit to exchange messages in exchange for a third processing unit, the processing unit so that other substituents third processing unit 24, while the control unit 30 resets buffer 10 and sets the flag 13 is reset to reset parameters.

[0044] 请参阅图5,其为本发明的另一较佳实施例的方块图。 [0044] Referring to FIG. 5, a block diagram of another preferred embodiment of the present invention thereof. 如图所示,本发明的缓冲器的重置系统可应用于网路的串流系统。 As shown, the buffer reset system of the invention may be applied to the web streaming system. 此串流系统包含有一下载单元40、第一缓冲器50、 一解码模组60、一第二缓冲器70与一播放单元80。 This streaming system includes a download unit 40, a first buffer 50, a decoding module 60, a buffer 70 and a second playing unit 80. 下载单元40藉由网际网路下载一网路资料并写入第一缓冲器50。 With Internet downloading unit 40 downloads a network data and written to the first buffer 50. 网路资料可为WMA、WMV或MP3的资料格式或任何其他格式,。 Network data can be WMA, WMV or MP3 data format or any other format. 由于起初不确定解码模组60的一第一解码单元62、一第二解码单元64与一第三解码单元66是否可解码第一缓冲器50内的网路资料。 Since initially uncertain a first decoding unit 60 decodes the module 62, a second decoding unit 64 and a third decoding unit 66 decodes whether a first buffer 50 in the data network. 第一缓冲器50的覆写旗标56初始设定为非覆写参数,所以可确保切换解码单元。 The first buffer 50 of the override flag set to non override the initial parameters 56, it is possible to ensure the switching decoder.

[0045] 解码模组60,用于解码第一缓冲器50的网路资料,解码模组60的第一解码单元62、第二解码单元64与第三解码单元66,分别用于针对WMA、WMV以及MP3的资料格式进行解码。 [0045] The decoding module 60 for decoding the first network data buffer 50, the decoding module 60 of the first decoding unit 62, the second decoding unit 64 decoding unit 66 and the third, are used for WMA, WMV and MP3 data formats to be decoded. 当第一缓冲器50储存有网路资料时,第一解码单元62将先读取第一缓冲器50的网路资料,若第一缓冲器50的网路资料为WMA格式时,第一解码单元62即可进行解码,并发送表示可以处理的回应讯息至控制单元30,以让控制单元30得知第一解码单元62可解码网路资料,此时控制单元30会设定第一缓冲器的覆写旗标56为覆写参数值,让下载单元40 可持续储存网路资料至第一缓冲器50。 When the first buffer 50 stores network information, a first decoding unit 62 to read the first data buffer 50 of the network, if the network information 50 of the first buffer to WMA format, a first decoding 62 can decode unit, and transmits a response message to the control unit 30 can be processed to the control unit 30 so that the decoding unit 62 may decode the first data network, then the control unit 30 will set a first buffer the override flag 56 to override parameter values, so that the download unit 40 stores a sustainable network data to the first buffer 50.

[0046] 若,下载单元40所下载的网路资料为MP3格式时,第一解码单元62将无法进行解码,此时第一解码单元62会发送表示无法处理的回应讯息至控制单元30,让控制单元30得知第一解码单元62无法解码第一缓冲器50的网路资料。 [0046] If, downloading unit 40 downloads the network data to MP3 format, the first decoding unit 62 will not be decoded, when the first decoding unit 62 indicates the response message will be sent to the control unit 30 can not handle, so the control unit 30 that the first decoding unit 62 is unable to decode the first data buffer 50 of the web. 控制单元30随即会发送交换讯息至第二解码单元64,而交换第一解码单元62与第二解码单元64,使第二解码单元64取代第一解码单元62,同时会重置第一缓冲器50,让第二解码单元64可重新读取第一缓冲器50原有的网路资料,即读取第一解码单元62所读取而无法解码的网路资料。 The control unit 30 then sends a message exchange to the second decoding unit 64, and the first switching unit 62 and the second decoding unit 64 decode the second decoding unit 64 instead of the first decoding unit 62, while the first buffer is reset 50, so that the second decoding unit 64 may re-read the first data buffer 50 of the original web, i.e., a first decoding unit 62 reads the read data and the network can not be decoded.

[0047] 由于,第二解码单元64是针对WMV格式的网路资料进行解码,所以第二解码单元64亦无法对MP3格式的网路资料进行解码。 [0047] As the second decoding unit 64 is decoding network data for WMV format, so the second decoding unit 64 will not be able to decode the information on the Internet in MP3 format. 此时,第二解码单元64亦会发送表示无法处理的回应讯息至控制单元30,以让控制单元30发送驱动讯息至第三解码单元66,而交换第二解码单元64与第三解码单元66,让第三解码单元66取代第二解码单元64,并再重置第一缓冲器50。 In this case, the second decoding unit 64 also transmits a response message to the control unit 30 can not handle, to allow the control unit 30 sends a message to the third drive unit 66 decoding, the second decoding unit 64 while switching the third decoding unit 66 , the decoding unit 66 so that the third substituent second decoding unit 64, a first buffer 50 and then resets. 让第三解码单元66可重新读取第一缓冲器50的网路资料。 Let the third decoding unit 66 may re-read the first buffer network data 50.

[0048] 由于第一缓冲器50所储存的网路资料的格式符合第三解码单元66可解码的资料格式,所以第三解码单元66将发送表示可处理的回应讯息至控制单元30,控制单元30将会依据回应讯息设定覆写旗标56为覆写参数值,使下载单元40可允许储存网路资料至第一缓冲器50,而覆盖原有的网路资料,让第三解码单元66可持续读取第一缓冲器50的网路资料而进行解码。 [0048] Since the format of network information stored in the first buffer 50 matches the third decoding unit 66 can decode the data format, the third decoding unit 66 transmits a response message that can be processed to the control unit 30, the control unit 30 is set based on response message will overwrite flags parameter values ​​56 to override the store download unit 40 may allow the network to the first data buffer 50, and overwrite the original data network, so that the third decoding unit 66 sustainable first reading network data buffer 50 and decoded.

[0049] 若,下载单元40所下载的网路资料的格式并非为WMA、WMV以及MP3时,由于解码模组60的解码单元62、64、66皆无法解码第一缓冲器50所储存的网路资料,加上控制单元30于此网路串流系统亦无法侦测到有其它解码单元存在,也就是代表此网路串流系统有误,而无法解码第一缓冲器50所储存的网路资料。 [0049] If, format download unit 40 downloads the data network is not the time for the WMA, WMV and MP3, because the decoding module 60 of decoding unit 64, 66 are unable to decode the first buffer 50 stores network road information, the control unit 30 coupled thereto network streaming system also can not detect the existence of other decoding unit, is representative of this network streaming system error, it can not be stored in the decoding buffer 50 of the first web Road information.

[0050] 上述,第一解码单元62、第二解码单元64或第三解码单元66解码网路资料后,所产生的解码资料会储存至第二缓冲器70。 [0050] The first decoding unit 62, decoding unit 64 after the second or the third decoding unit 66 decodes the information network, the information generated by the decoding is stored into the second buffer 70. 之后,播放单元80会读取第二缓冲器70内的解码资料以进行播放。 Then, the playback unit 80 reads the decoded data in the second buffer 70 for playback. 在此实施例中,由于解码模组60所产生的解码资料的格式,是符合播放单元80可播放资料的格式,所以第二缓冲器70不需设置重置旗标与覆写旗标。 In this embodiment, since the format of the decoded data generated by the decoding module 60, a playback unit 80 may conform to the format data play, the second buffer 70 without setting the override flag reset flag. 在这实施例中,覆写旗标初始设定为”真”,并且第二缓冲器70相当于传统的环形缓冲器,然而第二缓冲器70亦可应用于不同的资料格式。 In this embodiment, the override flag is initially set to "true", and the second buffer 70 corresponds to the conventional ring buffer, while the second buffer 70 can be applied to different data formats.

[0051] 请参阅图6,其为本发明的一较佳实施例的流程图。 [0051] Please refer to FIG. 6, the flowchart of which a preferred embodiment of the present invention. 为了便于说明,此实施例是配合图3进行说明。 For convenience of description, this embodiment is described with FIG. 3. 当不确定系统的处理单元22、24是否可处理缓冲器10所储存的资料时, 可先设定缓冲器10的覆写旗标16为非覆写参数值,让第一处理单元20无法储存资料至缓冲器10,以避免系统的处理单元22、24皆无法处理缓冲器10的资料时,第一处理单元20尚接续储存资料至缓冲器10而覆盖缓冲器10原有的资料而遗失。 When the processing unit uncertain whether processing system 22, 24 the information stored in buffer 10, 16 may be set to overwrite a non-override flag parameter value buffer 10, so the first processing unit 20 can not store when the data to the buffer 10, in order to avoid processing unit of the system 22, 24 are unable to process data buffer 10, the first processing unit 20 still continue to store data buffer 10 and cover 10 of the original data buffer and lost. 如步骤SlO所示,当第一处理单元20写入资料至缓冲器10时,控制单元30即会设定缓冲器10的覆写旗标16为非覆写参数值,让缓冲器10无法覆写资料。 In step SlO, when the first processing unit 10 writes data to the buffer 20, i.e. the control unit 30 will be set to non override parameters overwrite flag buffer 10 16, 10 so that the buffer can not cover write data.

[0052] 第二处理单元22即会读取缓冲器10的资料并进行处理,且依据处理资料的状态对应发送回应讯息至控制单元30。 [0052] i.e., the second processing unit 22 reads the data buffer 10 and processed, and transmits a corresponding response message to the control unit 30 according to the state processing of data. 控制单元30如步骤S12所示,接收到回应讯息后,即会进一步执行步骤S14,依据回应讯息确认第二处理单元22是否可以处理缓冲器10的资料, 若第二处理单元22可以处理缓冲器的资料,控制单元30即会执行步骤S16,设定覆写旗标16为覆写参数值,以让缓冲器10可覆写资料,使得第二处理单元22可持续读取缓冲器10 的资料并进行处理。 The control unit 30 as shown in step S12, after receiving the response message, i.e. further performs step S14, the confirmation response message according to the second processing unit 22 whether the data buffer 10 can process, if the second processing unit 22 may process buffer data, i.e., the control unit 30 performs step S16, the flag 16 is set to override the parameter values ​​override to allow data buffer 10 may be overwritten, so that the second processing unit 22 reads the data buffer 10 sustainable and processed.

[0053] 假若,第二处理单元22所发送的回应讯息表示无法处理资料,控制单元30在执行步骤S14时将会依据回应讯息而得知,并且执行步骤S18,侦测是否存在有其他处理单元, 以图3为例,控制单元30将会侦测到有第三处理单元24。 [0053] If the second processing unit 22 sends a response message indicates that the data can not be processed, according to the control unit 30 will respond to that message and S14 is executed in step, and step S18, detects the presence or absence of other processing units , 3 as an example, the control unit 30 will detect a third processing unit 24. 此时,控制单元30执行步骤S19, 重置缓冲器10,并且发送交换讯息至第三处理单元24,以交换第三处理单元24与第二处理单元22,让第三处理单元24读取缓冲器10原有的资料而进行处理。 At this time, the control unit 30 executes step S19, reset the buffer 10, and transmits the third message to the exchange processing unit 24, in exchange for a third processing unit 24 and the second processing unit 22, processing unit 24 so that the third read buffer 10 of the original data and processing. 随后,即重复执行步骤S12与步骤S14,若第三处理单元M可处理缓冲器10的资料,即进行步骤S16,并接续进行步骤S17,若第三处理单元M亦无法处理时,则又进行步骤S18,此时由于控制单元30已侦测不到有其他处理单元存在,所以如步骤S20所示,代表此系统错误而无法处理缓冲器10 的资料。 Subsequently, i.e., step S12 is repeatedly executed and step S14, if the third processing unit M may process data buffer 10, i.e., for step S16, and the connection for step S17, if the third processing unit M also to handle, and for step S18, the control unit 30 at this time since there has not detected the presence of other processing units, so as shown in step S20, the representative of the system error buffer 10 can not be processed.

[0054] 控制单元30于上述步骤S12,若未接收到回应讯息时,控制单元30会进行步骤S22,侦测缓冲器10是否被填满,因为覆写旗标设定为”假”,所以缓冲器将会填满,且缓冲器10储存资料并无关于资料被处理单元所读取,缓冲器10若未被填满资料时,则更多资料被写入(如步骤S10),并再一次确认及传送回应讯息(如步骤S12)。 When [0054] the control unit 30 to the step S12, if no response message is received, the control unit 30 will conduct step S22, the buffer 10 to detect whether or not filled, since the override flag is set to "false", so It will fill the buffer, and the buffer 10 stores the read information is not information on the processing unit, if not the buffer 10 is filled when data is written to the additional information (step SlO), and then and send a confirmation response message (step S12). 若缓冲器10已被填满资料时,控制单元30则执行步骤S24,持续等待回应讯息。 If the buffer 10 has been filled with data, the control unit 30 executes step S24, continued to wait for a response message. 之后,控制单元30于接收到回应讯息后,则执行步骤S26,此步骤同于上述步骤S14。 Thereafter, the control unit 30 after receiving the response message, execute step S26, the same step this to the step S14. 若回应讯息表示可处理缓冲器10的资料,则执行步骤S16,若回应讯息表示无法处理缓冲器10的资料,则执行同于步骤S18的步骤S28。 If the response message indicates that can handle data buffer 10, proceed to step S16, if the response message said it could not process data buffer 10, steps S28 to step S18 is the same. 若控制单元30侦测没有存在其他处理单元时,是如步骤S20所示,表示系统错误, 若有处理单元存在则进行步骤S29,此步骤同于步骤S19。 If the control unit 30 detects the absence of the other processing units, as is shown in step S20, the system indicates an error, if it exists for the processing unit step S29, the procedures were the same in this step S19. 随后重复执行步骤S24。 Then repeat step S24.

[0055] 请参阅图7,其为本发明的另一较佳实施例的流程图。 [0055] Please refer to FIG. 7, a flowchart of another embodiment of the present invention, its preferred embodiments. 此实施例为控制单元设定缓冲器的覆写旗标为覆写参数值后的处理流程。 This embodiment is a control unit sets the flag buffer overwrite processing flow overridden parameter values. 此实施例同样配合图3进行说明。 This Example 3 will be described with FIG. 由于缓冲器10的覆写旗标16设定为覆写参数值,所以如步骤S30所示,第一处理单元20可写入资料至缓冲器10。 Since the override flag buffer 10 is set to 16 override the parameter values, as shown in step S30, the first processing unit 20 may write data to the buffer 10. 之后,第二处理单元22会先读取缓冲器10的资料并进行处理,且依据处理资料的状态发送回应讯息。 After that, the second processing unit 22 will first read data buffer 10 and processed, and the processing of data according to the state send a response message. 如步骤S32所示,当控制单元30接收到回应讯息后会执行步骤S34,若回应讯息表示第二处理单元22可处理缓冲器10的资料时,即如步骤S36所示,表示系统正常,第二处理单元22将接续读取缓冲器10的资料并进行处理。 When such a step, when the control unit 30 receives the response message S34 shown in step S32 is executed, if the response message indicates the second processing unit 22 may process data buffer 10, i.e. as shown in step S36 represents the normal system, the connecting the second processing unit 22 reads the data buffer 10 and processed.

[0056] 若,回应讯息表示第二处理单元22无法处理资料时,控制单元30则进行步骤S38, 侦测是否有其他处理单元存在,于此实施例系侦测尚有第三处理单元M存在,所以进行步骤S39,重置缓冲器10并交换第三处理单元M与第二处理单元22,让第三处理单元M取代第二处理单元22,交换完成后则重复执行步骤S32。 [0056] If, in response to the second message indicates that processing unit 22 can not be processed, the control unit 30 proceeds step S38, the processing to detect whether there are other units, this embodiment detects line M there exists a third processing unit Therefore for step S39, the rearrangement buffer 10 and a third switching unit M and the processing of the second processing unit 22, so that the third processing unit M instead of the second processing unit 22, after the exchange is complete repeat step S32. 之后,若第三处理单元M亦无法处理缓冲器10的资料时,由于系统已没有其他处理单元存在可以进行交换,所以如步骤S40 所示,表示此系统错误。 Then, if the third processing unit M also can not handle data buffer 10, the system because no other processing unit has been present can be exchanged, so as shown in step S40, this indicates a system error.

[0057] 于上述步骤S32,若控制单元30持续未接收到回应讯息时,控制单元30会如步骤S42所示,侦测缓冲器10是否被填满,缓冲器10若未被填满资料时,则更多资料被写入(如步骤S10),并再一次确认及传送回应讯息(如步骤S12),若缓冲器10已被填满资料时,则直接认定此系统正常。 When [0057] the above-mentioned step S32, when the control unit 30 does not receive the response message continuously, the control unit 30 will be as shown in step S42, detects whether the buffer 10 is full, data buffer 10 is filled if not , the more information is written (step SlO), and once again confirm the response message and transmits (step S12), if the data buffer 10 has been filled, this system is normally determined directly. 其是因为起初会设定覆写旗标16为覆写参数值即表示此系统的其中的一处理单元可处理缓冲器10的资料,所以直接认定此系统正常。 Because it will initially set an override to override flag 16 indicates that this parameter value, that is a system in which the processing unit can process data buffer 10, so direct that the system is normal. 本发明设定覆写旗标为覆写参数值不一定需经过第五图的流程,若确定系统的处理单元可处理缓冲器的资料时,亦可直接设定覆写旗标为覆写参数值。 The present invention override flag is set to override the parameter values ​​are not necessarily subject to a fifth flow chart, if the data processing unit of the system may determine the processing buffer, or directly override flag is set override parameters value.

[0058] 综上所述,本发明的缓冲器的重置系统及其方法是藉由设置重置旗标于缓冲器, 让两处理单元于交换时,重置缓冲器,如此交换后的处理单元即可重新读取前一处理器所读取而无法处理的资料。 [0058] In summary, the reset of the system and method of the present invention, the buffer is reset by setting a flag in the buffer, so that the processing unit to exchange two reset buffers such that after the exchange process unit can be re-read before a processor can not process the data read. 又,重置旗标将可自动设定而允许控制单元得知系统是否需要重置。 Further, the reset flag will be automatically set to allow the control unit to know whether the system needs to be reset. 另外,本发明更设置覆写旗标于缓冲器,若在不确定系统的处理器是否可处理缓冲器的资料时,为了避免缓冲器的资料被后续写入的资料覆盖而遗失,可藉由设定覆写旗标为非覆写参数值,让缓冲器无法覆写资料直至确定有处理单元可处理缓冲器的资料,覆写旗标将会设定为覆写参数,使缓冲器像一般环形缓冲器一样,如此即可确保缓冲器的资料不会遗失,而提高缓冲器的使用效能。 Further, the present invention is further provided override flag in the buffer, if the buffer whether the processor data processing system uncertain, in order to avoid data overlay buffer data is written and a subsequent loss, can be by setting parameter values ​​override standard non-override flag, so that the buffer can not overwrite data until the processing unit may determine the processing data buffer, overwriting the flag will be set to override parameters, like most of the damper Like a ring buffer, so we can ensure that the buffer data will not be lost, and improve the effectiveness of the use of buffers. 若覆写旗标的初始状态设定为覆写参数时,缓冲器就相当于环形缓冲器,将资料读进缓冲器前时,允许重置并切换处理单元。 If the override flag is set to the initial state when the override parameters, the buffer is equivalent to the ring buffer, the information is read into the front buffer, allowing reset and the switching processing unit. [0059] 以上所述,仅为本发明的一较佳实施例而已,并非用来限定本发明实施的范围,举凡依本发明权利要求范围所述的形状、构造、特征及精神所为的均等变化与修饰,均应包括于本发明的权利要求范围内。 [0059] Equalization of the above, merely embodiments of the present invention a preferred embodiment only, not intended to limit the scope of embodiments of the present invention, under this covered the shape, structure, feature, or spirit of the claimed invention, the scope of the claims changes and modifications shall be included in claims of the present invention within the scope of claims.

Claims (8)

  1. 1. 一种缓冲器的重置系统,其特征在于,其包含:一重置旗标,设于该缓冲器,该重置旗标被设定为一重置参数值时,重置该缓冲器,该缓冲器为环形缓冲器;以及一控制单元,呼叫一重置功能,当一第一处理单元读取该缓冲器的资料而无法处理该缓冲器的资料时,该控制单元呼叫该重置功能,以重置该缓冲器,使开始指标回复指向该缓冲器的第一数据的起始位置,并交换一第二处理单元取代该第一处理单元,使该第二处理单元读取并处理该缓冲器的资料;一覆写旗标,其设置于该缓冲器,被该控制单元设定为一非覆写参数值时,则无法覆写数据至该缓冲器,该覆写旗标被控制单元设定为一覆写参数值时,则可覆写数据至该缓冲器;该第一处理单元与该第二处理单元于读取而处理该缓冲器的数据后,会依据是否可处理数据而对应发送一响应讯息至 A buffer reset system, characterized in that it comprises: a reset flag provided in the buffer, when the reset flag is set to a reset parameter values, resets the buffer device, the buffer is a ring buffer; and a control unit when a call a reset function, when a first processing unit reads the data buffer and the buffer can not be processed, the control unit of the call weight function is set, the buffer is reset to the start position of the first return start pointer points to the data buffer, and a second processing unit to exchange the first processing unit is substituted so that the second processing unit reads and processing the data buffer; an override flag, which is disposed in the buffer, when the control unit is set to a non-override parameters, the buffer can not overwrite the data to the override flag when the control unit is set to a parameter override values ​​may be overwritten to the data buffer; after the first processing unit and the second processing unit processing the read data and the buffer, will be based on whether processing data corresponding to a response message sent to 控制单元,该控制单元依据该响应讯息设定该覆写旗标,若该控制单元设定该覆写旗标为该非覆写参数值后,该第一处理单元或该第二处理单元可处理该缓冲器的数据时,该控制单元设定该覆写旗标为该覆写参数值,让后续数据可覆写至该缓冲器,若该第一处理单元或该第二处理单元未发送该响应讯息至该控制单元时,该控制单元会持续等待该响应讯息,以设定该覆写旗标。 The control unit, the control unit sets the flag according to override the response message, if the control unit after the setting of the override flag for non-override parameters, the first processing unit or the second processing unit may processing the data buffer, the control unit sets the parameter values ​​override flag for the override, so that subsequent data can be overwritten to the buffer, if the first processing unit or the second processing unit untransmitted when the response message to the control unit, the control unit continues to wait for the response message, to set the override flag.
  2. 2.如权利要求1所述的系统,其特征在于,该控制单元于该第二处理单元与该第一处理单元交换完成后,该重置旗标自动设定为一非重置参数值,不需重置该缓冲器。 2. The system according to claim 1, characterized in that, after the control unit is switched to the second processing unit to the first processing unit is completed, the reset flag is automatically set to a non-reset parameter values, the buffer without resetting.
  3. 3.如权利要求1所述的系统,其特征在于,该控制单元于交换该第二处理单元之前,先侦测该第二处理单元是否存在。 The system according to claim 1, wherein the control unit is switched on prior to the second processing unit, the second processing unit to detect whether or not there.
  4. 4.如权利要求1所述的系统,其特征在于,该缓冲器可为一环型缓冲器并为一先进先出的缓冲器。 4. The system according to claim 1, wherein the buffer may be a circular buffer as a FIFO and buffer.
  5. 5.如权利要求1所述的系统,其特征在于,重置该缓冲器,让该缓冲器的一开始指标回复该缓冲器的起始位址。 5. The system according to claim 1, wherein the buffer is reset, so the start index of the reply buffer start address of the buffer.
  6. 6. 一种缓冲器的重置方法,该缓冲器设有一重置旗标与一覆写旗标,该覆写旗标,设定为一非覆写参数值时,则无法覆写数据至该缓冲器,该覆写旗标被设定为一覆写参数值时, 则可覆写数据至该缓冲器,该重置旗标被设定为一重置参数值时,重置该缓冲器,该缓冲器为环形缓冲器,其特征在于,该方法包含:依据处理单元读取而处理该缓冲器的资料的状态,设定该重置旗标;其中,一第一处理单元读取该缓冲器的资料而无法处理该缓冲器的资料时,设定该重置旗标为该重置参数值,以重置该缓冲器,使开始指标回复指向该缓冲器的第一数据的起始位置,并侦测一第二处理单元是否存在以交换该第二处理单元与该第一处理单元后,该重置旗标自动设定为一非重置参数值,该第二处理单元取代该第一处理单元读取并处理该缓冲器的资料;其中,该第 6. A method for the reset of the buffer, the buffer is provided with a flag and a reset override flag, the override flag is set to a non-override parameter values, the data can not be overwritten to when the buffer, overwriting the flag is set to a parameter override values ​​may be overwritten to the data buffer, the reset flag is set to a reset parameter values, resets the buffer device, the buffer is a circular buffer, wherein the method comprises: according to the processing status of the processing unit reads the data of the buffer, sets the reset flag; wherein a first processing unit reads when the data buffer is unable to process the data of the buffer, sets the reset flag to reset the parameter values ​​for the standard, to reset the buffer the first data start indicator pointing to the reply buffer from the start position, and detect whether there is a second processing unit to the second processing unit after switching to the first processing unit, the reset flag is automatically set to a non-reset parameter values, the second processing unit substituted the first processing unit reads and processes the data buffer; wherein the first 一处理单元与该第二处理单元于读取而处理该缓冲器的资料后,会依据是否可处理资料而对应发送一回应讯息,以依据该回应讯息设定该覆写旗标,当设定该覆写旗标为该非覆写参数值后,该第一处理单元或该第二处理单元可处理该缓冲器的数据时, 则设定该覆写旗标为该覆写参数值,让后续数据可覆写至该缓冲器,若该第一处理单元或该第二处理单元未发送该响应讯息时,则持续等待该响应讯息,以设定该覆写旗标。 After a processing unit and the second processing unit reads the processed data to the buffer, data processing will be based on whether a response message transmitted to correspond to the override flag set according to the response message, when the set when the override flag for the non-override parameters, the first processing unit or second processing unit may process the data in the buffer, it sets the parameter values ​​for the override standard override flag, so subsequent data can be overwritten to the buffer, if the first processing unit or the second processing unit in response to the message is not sent, keeps waiting for the response message, to set the override flag.
  7. 7.如权利要求6所述的方法,其特征在于,重置该缓冲器,让该缓冲器的一开始指标回复至该缓冲器的起始位址。 7. The method according to claim 6, wherein the buffer is reset, so the start index to return the buffer start address of the buffer.
  8. 8.如权利要求6所述的方法,其特征在于,可运用于一串流系统的该缓冲器。 8. The method according to claim 6, wherein the buffer may be applied to a system stream.
CN 200710000034 2007-01-05 2007-01-05 Resetting system and its method for buffer CN1988493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710000034 CN1988493B (en) 2007-01-05 2007-01-05 Resetting system and its method for buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710000034 CN1988493B (en) 2007-01-05 2007-01-05 Resetting system and its method for buffer

Publications (2)

Publication Number Publication Date
CN1988493A true CN1988493A (en) 2007-06-27
CN1988493B true CN1988493B (en) 2012-01-11

Family

ID=38185136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710000034 CN1988493B (en) 2007-01-05 2007-01-05 Resetting system and its method for buffer

Country Status (1)

Country Link
CN (1) CN1988493B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625107A (en) 2003-12-02 2005-06-08 明基电通股份有限公司 Method for transmitting data of video-audio playing system
US7028149B2 (en) 2002-03-29 2006-04-11 Intel Corporation System and method for resetting a platform configuration register
CN1874295A (en) 2005-05-30 2006-12-06 林正泰 Method and device for down loading wireless digital content in series flow

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7028149B2 (en) 2002-03-29 2006-04-11 Intel Corporation System and method for resetting a platform configuration register
CN1625107A (en) 2003-12-02 2005-06-08 明基电通股份有限公司 Method for transmitting data of video-audio playing system
CN1874295A (en) 2005-05-30 2006-12-06 林正泰 Method and device for down loading wireless digital content in series flow

Also Published As

Publication number Publication date Type
CN1988493A (en) 2007-06-27 application

Similar Documents

Publication Publication Date Title
US7673238B2 (en) Portable media device with video acceleration capabilities
US7912994B2 (en) Reducing connection time for mass storage class peripheral by internally prefetching file data into local cache in response to connection to host
US20040057366A1 (en) Method and apparatus of recording information in reduced waiting time
US6539518B1 (en) Autodisk controller
US20070050479A1 (en) Content receiving apparatus and content receiving method
US20080180551A1 (en) Image pickup apparatus and control method for image pickup apparatus, image display apparatus and control method for image display apparatus, and recording medium
US20040249985A1 (en) Host network interface device and drive network interface device
US20080052699A1 (en) Syncronized dual-processor firmware updates
JP2001069440A (en) Driver
JP2000216845A (en) Network control system, controller and target
US7480749B1 (en) Main memory as extended disk buffer memory
US20060059300A1 (en) Firmware Update for Optical Disc Drive
US20080295087A1 (en) Firmware upgrade system and control method thereof
US6205141B1 (en) Method and system for un-tagged command queuing
US20090113087A1 (en) Stream data transfer control device
US7849259B1 (en) Disk controller response handler for write commands
JPH11242563A (en) Disk medium access interface device and its access method and disk drive device
JP2008172621A (en) Network system, terminal, recorder, method for displaying recording reservation state, program for terminal, and program for recorder
JP2005182983A (en) Flash memory device and flash memory system including buffer memory
US20080288550A1 (en) System and method for bridging file systems between two different processors in mobile phone
US6108742A (en) Method and apparatus of interfacing data between microprocessor and memory
US7890780B2 (en) Systems and methods for managing power for data storage devices
US20090074387A1 (en) Information playback system, data generation apparatus and data playback apparatus
US6332176B1 (en) Autohost controller
US20080151749A1 (en) Communication system, server, communication terminal and communication method

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CF01