The application is, and to be on December 17th, 1997, denomination of invention the applying date of applicant Hitachi Co., Ltd divide an application for the Chinese patent application No.03110459.2 of " receiving system of digital broadcast signal with and receiving/recording/replay device ".
Embodiment
Fig. 1 is the structural representation according to the device that is used for receiving/recording/playback digital broadcast signal of first embodiment of the invention.In the following description, antenna 300 receives the satellite broadcasting according to the strong control of orthogonal phase shift (below abbreviate " QPSK " as) digital modulation., the present invention is not restricted to the QPSK modulating system, but can relate to broadcasting-satellite system.And, in the following description, adopt motion picture expert group 2 (below abbreviate " MPEG2 " as) as Signal Compression/decompression systems., similarly, the Signal Compression/decompression systems of Shi Yonging not is to be used for limiting in embodiments of the present invention.
In Fig. 1, label 300 expression antennas, the radio wave that label 301 expressions are used for receiving converts the transducer of tuning input signal to, label 302 expression cables.And, label 401 tuners, label 402 expression qpsk demodulators, label 403 is represented error correction forward (below be called " FEC "), be used to proofread and correct owing to the signal errors that transmits and cause label 414 and 424 expression switches, label 413 expressions second splitter, label 423 expression signal record/replay devices, and label 404 expressions first splitter.And label 405 expression MPEG2 decoders, label 406 expression video encoders, label 407 is D/A converters, show on label 408 indication panels (OSD), label 409 expression control device, label 410 expression television sets, label 434 and 415 all are that random access memory (RAM) (below be called " RAM ") is used for being decompressed by first splitter and 405 pairs of data of MPEG2 decoder, label 419 indication read-only memorys (below be called " ROM ") are used for the operation sequence of storage and control device 409.
In Fig. 1, the radio wave of launching from the satellite (not shown) is received by antenna 300, is converted device 301 then and converts the tuner input signal to.This tuner input signal enters into tuner 401 by cable 302.In example shown in Figure 1, according to the state that is provided with of control device, tuner 401 is selected required signal from input signal, export required signal then.By qpsk demodulator 402 demodulation, the signal of this demodulation enters into FEC403 then from the signal of tuner 401 output.FEC proofreaies and correct because the error of the digital input signals that the signal transmission causes.
The digital signal of carrying out the error correction of input signal in the above described manner and obtaining is imported into first splitter 404 by switch 414 and 424.Say that generally said digital broadcasting satellite system is characterised in that a plurality of programs of reusable on by the single radio wave that is installed in the radio wave transponder (not shown) relaying on the satellite in the present embodiment.By first splitter 404 from the required program of the selection of multiplexing program.The digital signal of being separated by first splitter 404 enters into MPEG2 decoder 405.MPEG2 decoder 405 decompression digital signals are with the digital audio and video signals before producing the preceding digital video signal of compression and compressing.The digital video signal of this playback enters into video encoder 406 by OSD408, and the digital audio and video signals of resetting enters into D/A converter 407.Video encoder 406 converts the digital video signal that enters to analog video signal, is output to television set 410 then.On the other hand, D/A converter 407 converts the digital audio and video signals of input to simulated audio signal, is output to television set 410 then.Above-mentioned operation is controlled according to the program that is stored among the ROM419 by control device.
With reference now to Fig. 2 and Fig. 3,, be described in the example of the general application order operation that is used to separate the required programs signal in first splitter 404.The signal that enters into first splitter 404 of Fig. 1 has such structure, promptly is multiplexed with shown in Fig. 2 B at the bag shown in Fig. 2 A.Fig. 2 B has shown an example of cladding usefulness method.Signal multiplexing shown in Fig. 2 B is handled by first splitter 404.
It should be noted that Fig. 2 C has indicated shown in Fig. 2 A the configuration example of beginning 20, label 23 has shown a sync byte, equals to indicate the fixed mode of the head of beginning 20.Label 24 expressions transmit error indicator, and label 25 expression PU Payload Units begin indicating device, and label 26 shows the transmission priority, the PID of label 27 expression indication bag attributes, label 28 is for transmitting scrambling control, and label 29 expression adaptive fields are controlled, and label 30 shows continuous counter.Their indications are surrounded by the various attributes and the state of pass with each, and structure is 4 bytes.Each numeral one bit number.
The example that in the flow process of Fig. 3, has shown the operation of in first splitter 404, carrying out.At first step 201, the beholder imports a logical channel.This logical channel means so general name, is used to constitute the video and the audio-frequency information of this program, is used for conventional analog broadcast system.Say that generally in digit broadcasting system, a single-frequency of multiplexing a plurality of programs is called as tangible channel.At next step 202, for example, receive PAT (program correlation table), it is corresponding to a bag of formation multiplexed signals shown in Figure 2 (below be called " TS (transmitting stream) ").It should be noted that " PAT " equals to be included in by table among the PSI (program specific information) of international standard MPEG2 definition.And the PID of indication PAT is defined as having particular value.As a result, for example, when the PID of PAT was stored among the ROM419 in advance, first splitter 404 can receive this PAT, no matter be included in the information of the signal of reception.In the step 203 below, check whether required logical channel is included in the additional data of the PAT that step 202 receives.If required logical channel is arranged, operating process enters into step 204.In this step 204, receive and a NIT (network information table) that PSI is corresponding, comprise the tangible channel of required logical channel with acquisition, in this NIT, described actual channel and be included in relation between the logical channel in the additional data.Then, in step 205, operating process enters into the actual channel that step 204 obtains.In side circuit,, such frequency that will be chosen to tuner 401 develops this actual channel by being set by control device 409.Therefore, in step 206, receive PAT, it equals to constitute the bag of the multiplexed signals ST in the actual channel of exploitation.When receiving PAT, at next step 207, obtained PMT (program map table), and received this PMT that comprises above-mentioned PID.In this PMT, PID (bag ID) has been described, such as the video and the audio frequency that are formed in the required logical channel that step 201 enters.In this case, PMT is made of beginning among Fig. 2 B and additional data zone, and equals a PSI table.And, in PID, the bag PID that is used for such as PCR (program clock reference) having been described, this PCR represents video.Audio frequency and temporal information, they constitute each logical channel among the TS that is included in reception.Therefore, in step 208, obtain this video that is used for required programs, the bag PID of audio frequency and PCR.In step 209, the PID that order obtains is set to the required video flowing of first splitter 404 shown in Figure 1 and required audio stream is received, and they enter into MPEG2 decoder 405 then, with decoding therein.
Handle by NTSC encoder 406 by OSD408 by the vision signal of aforesaid operations decoding, therefore be converted into analog video signal.And audio signal converts simulated audio signal to by D/A converter 407.Then, analog video signal and simulated audio signal all enter into television set 410, therefore reproduce or the required program of demonstration beholder.
To describe operation subsequently below, the signal of reception is provided to record/playback apparatus 423 by the switch 414 and second splitter 413, and with the digital signal of recorder, the digital signal of this record is reset by switch 424 from record/playback apparatus 423.
By under the situation on the record/playback apparatus 423, switch 414 switches under the control of control device 409 by this way in digital signal, and promptly FEC403 is connected to second splitter 413.When the signal of beholder's playback of recorded, second splitter 413 equals such device, promptly only produces the required data of required programs of only resetting in response to the instruction from control device 409 inputs.In the embodiment in figure 1, remove and to be used for such as PAT, PMT, outside each bag of video and audio frequency, only produce PCR (program clock reference) with the relevant information (pf EIT) of required programs (being the current program of watching).This PCR is corresponding with indication data of required temporal information in MPEG2 decoder 405.
The another kind of structure of second splitter is shown in Figure 13 among Fig. 1.Second splitter 413 has the splitter 4131 that extracts information needed, corresponding with second splitter 413 shown in Figure 2, and rate switching device 4132, be used for the transfer rate of the output signal of splitter 4131 is carried out rate conversion, so that this transfer rate is suitable for record/playback apparatus 423.Specifically, this rate switching device 4131 is for example corresponding to a FIFO (advanced/as to go out earlier) memory.
Another structure of second splitter of Fig. 1 is shown in Figure 14.Except that above-mentioned structure shown in Figure 13, has an interface arrangement 4133 in this structure.Be that label 4133 is second splitter 413 of Fig. 1 and the interface arrangement between the record/playback apparatus 423, for example, when the signal of rate switching device 4132 outputs was parallel signal, such interface arrangement was used for becoming serial signal with being parallel to conversion of signals.
By having Fig. 1, the signal that second splitter of Figure 13 or structure shown in Figure 14 extracts is recorded on the record/playback apparatus 423.During replay operations, the digital signal of being reset by record/playback apparatus 423 enters into first splitter 404 by switch 424.
Be recorded in signal on the record/playback apparatus 423 by playback time, first splitter 404 is worked according to operation in tandem shown in Figure 4 under the control of control device 409.Operation in tandem is described now.It should be noted that and irrelevant with this program, this state also is used as the initial condition of present embodiment owing to indicate the PID of the program relevant with information to have specific value usually.
When record/playback apparatus 423 enters digital signal, under the control of control device 409, the logical channel numbers that first splitter 404 receives the information relevant with required programs so obtains to describe in the required programs relevant information is shown in the first step 441 of Fig. 4.At next step 442, receive PAT (program correlation table).In this level, owing to the channel of having known the channel that the record channel is edited in step 441, can obtain the PID (bag ID) of PMT (program map table) immediately, video and the audio frequency of bag PID (bag ID) such as the program of record wherein described.The operation in tandem that following operation and Fig. 3 are explained is similar.
As previously described,, do not want beholder's complicated operations according to first embodiment, can be from the program that record/playback apparatus 423 is reset immediately by shunt and decoding, to show that this program is recorded on the record/playback apparatus under utilizing signal condition in numeral.In addition, owing to write down the information relevant with required programs, utilize the business of this information relevant with program to be enhanced, it constitutes a feature of digit broadcasting system.
Fig. 5 has shown a kind of structure according to the digital broadcast signal receiving/recording/replay device of second embodiment of the invention.First embodiment that it will be appreciated that at Fig. 1, second splitter, 413 information are only extracted the information relevant with required programs according to the instruction of control device 409 inputs.In contrast, embodiment according to Fig. 5, second splitter 413 is so to constitute, promptly this second splitter 413 is according to all information relevant with program of instruction fetch of control device 409, and whether relevant with required programs the information that differentiate to receive information corresponding, and all information relevant with program of extraction are recorded on the record/playback apparatus 423.
Fig. 6 has shown under the situation that adopts structure embodiment illustrated in fig. 5, handles from the operation in tandem of the replay signal of record/playback apparatus 423 generations.That is, the operation in tandem of Fig. 6 has reduced the operating process that obtains logical channel from the information relevant with required programs, and is defined in the step 441 as the operation of Fig. 4 desired sequence.Then, at first step 601, the information of checking logical channel whether with its on write down the PID that in PAT, describes PMT overlap.If this information does not overlap with PMT, the operating process of repeated execution of steps 601 so overlaps with PMT up to this information.On the contrary, if this information overlaps with this PMT, operating process enters into the operating process of step 602 definition.Operation subsequently is identical with the operating process of the step 443 of Fig. 4 definition afterwards.
According to second embodiment of Fig. 5, the circuit structure of second splitter 413 can be simpler than the circuit structure of first embodiment shown in Figure 1.And similar with first embodiment of Fig. 1, when utilizing the information of in the information relevant, describing of being correlated with, can improve business with program with program.
Fig. 7 has shown the structure according to the digital broadcast signal receiving/recording/replay device of third embodiment of the invention.The 3rd embodiment of Fig. 7 is that with the difference of second embodiment of Fig. 5 second splitter 413 does not extract the information relevant with program, still only extracts PAT, PMT, PCR and video/audio data under the control of control device 409.As a result, compare with second embodiment shown in Figure 5, the structure of second splitter 413 can further be simplified.
Fig. 8 is according to the structure of the digital broadcast signal receiving/recording/replay device of fourth embodiment of the invention.The difference of the 4th embodiment of Fig. 8 and first embodiment of Fig. 1 is only to extract PMT under the control of control device 409 of second splitter 413 of Fig. 8, PCR and voice data, but also adopted PID rewriting device 433.Promptly in the 4th embodiment of Fig. 8, PID rewriting device 433 is so to constitute, and promptly the PID of PMT is rewritten into the particular value that is provided with by control device.And the signal of this particular value is recorded on the record/playback apparatus 423.As a result, when the signal of playback of recorded,, can obtain the PID of video/audio data and the PCE described in the PMT immediately because the PID of PMT is discerned in advance.Be similar to first embodiment of Fig. 1, the PID of can reset immediately these video/audio datas and PCE, and do not want complicated operations.
Fig. 9 has shown the structure according to the digital broadcast signal receiving/recording replay device of fifth embodiment of the invention.The difference of the 5th embodiment of Fig. 9 and the 4th embodiment of Fig. 8 is that second splitter 413 of Fig. 9 only extracts PCR and video/audio data under the control of control device 409, and PCR and video/audio data PD be rewritten as the particular value that is provided with by control device 409 by PID rewriting device 433.
According to the 5th embodiment of Fig. 9, at playback duration, discerned the PCR of record and the PID of video/audio data in advance, can reset immediately these PCR and video/audio data have carried out complicated operations and need not the beholder, and be similar with first embodiment of Fig. 1.And compare with the 4th embodiment shown in Figure 8, the amount of information of record can reduce, and the structure of second splitter 413 can be simplified.
Figure 10 has shown the structure according to the digital broadcast signal receiving/recording/replay device of sixth embodiment of the invention.The difference of the 6th embodiment of Figure 10 and the 5th embodiment of Fig. 9 is that bag shown in Figure 10 inserts the PID rewriting device that device 433 is used as Fig. 9.In the 6th embodiment of Figure 10, second splitter 413 obtains required PCR and the various information PID such as video/audio data, and extracts above-mentioned PCR, and video and audio frequency insert device 453 to be provided to bag.This bag inserts device 453 and form description PID such as the PCR that obtains in second splitter 413, and the bag of video and audio frequency is inserted into this bag then from the input signal that second splitter 143 produces.The signal of playback of recorded then, control device 409 is at first controlled first splitter 404 by this way, the splitter 404 of winning is received by bag insert the bag that device 453 inserts, and obtains the PCR that describes in the bag of this reception, the PID of video and audio frequency thus.As a result, similar with the 5th embodiment of Fig. 9, can reproduce required program immediately, and the user does not carry out complicated operations.Be understood that and can use the PID that is inserted the bag of device insertion by bag, this PID is identical with the PAT of MPEG2 standard definition.Because the PID of this PAT of MPEG2 standard definition is set to particular value, when in first splitter 404, handling from signal that record/playback apparatus 423 is reset, at first control first splitter 404 and extract bag by presetting control device 409, just can realize the operating process that Figure 10 explains with PID identical with PAT.
As mentioned above, owing to adopted the sixth embodiment of the present invention shown in Figure 10, do not need the user to carry out any operation and just can show required program immediately.
Figure 11 has shown the block diagram according to the digital broadcast signal receiving/recording/replay device of seventh embodiment of the invention.In Figure 11, label 463 is the transfer rate checkout gear.In Figure 11, with Fig. 1 or embodiment illustrated in fig. 5 similar, according to the instruction of control device 409 input, second splitter 413 extracts such as the information of video and audio frequency and additional data such as programme information.Be imported into transfer rate checkout gear 463 from the PS (transport stream) of second splitter, 413 outputs.When the transfer rate that detects the TS of input when transfer rate checkout gear 463 surpassed predetermined value, the such signal of these transfer rate checkout gear 463 outputs was to control device 409, and the notice transfer rate is above the fact of predetermined value.When entering notification signal from transfer rate checkout gear 463, control device 409 is controlled second splitter 413 in the mutation mode, does not promptly extract not the information that directly influence shows according to current order of priority.In other words, for example, when the transfer rate of the TS that exports from second splitter 413 surpasses predetermined value, stop the extraction operation of programme information.As a result, the transfer rate of exporting from second splitter of utilizing signal becomes and is less than or equal to steady state value.
As mentioned above, in the 7th embodiment of Figure 11, employing is such as being that tape deck is as record/playback apparatus 423, the upper limit that wherein has the transfer rate of recordable multiplexed signals, in this case, the information that constitutes program writes down to produce added value, except that the multiplexed signals of leaveing no choice but write down surpasses predetermined transfer rate such as programme information with additional information such as video and audio frequency.Even when the transfer rate of the multiplexed signals that will write down surpasses current transfer rate, stop to the extraction operation of the irrelevant information of playback of programs content, but therefore recorded program information.
Figure 12 is the block diagram according to the digital broadcast signal receiving/recording/replay device of eighth embodiment of the invention.In Figure 12, label 473 is a switching device.In Figure 12; in response to instruction from control device 409 inputs; second splitter 413 extracts the information relevant with record; protection as copyright; and when extraction is forbidden the information of recording operation as the information relevant with record; control device 409 detects the extraction of the information of forbidding recording operation, and comes control switch device 473 according to the information that detects.As a result, the signal from 413 outputs of second splitter is not added to record/playback apparatus 423.
In other words when signal when emission is surveyed in emission, be used for the information that the announcement recordings operation is under an embargo with the protection copyright and be affixed to this side, by adopting the 8th embodiment of Figure 12, this digital broadcast signal receiving/recording/replay device can be operated according to this information.
The 8th embodiment from Figure 12, although adopted the switching device 437 that is used to forbid recording operation, even under the control of control device 409, the part operation of second splitter 413 (rate switching device 4132 or the like) or whole operation all have been stopped, and also can obtain similar effects.
Although it should be noted in this embodiment first splitter 404 to be described as the circuit that separates with second splitter 413, these two devices also can constitute single circuit block.
Figure 15 is the block diagram according to the digital broadcast signal receiving/recording/replay device of ninth embodiment of the invention.
In Figure 15, label 501 shows antenna, label 502 indication tuners, and label 503 shows error correction forward (FEC), is used for the error of the signal of correct transmission.Also having label 505 is switches, label 506 shows first packet separating circuit, label 507 expression MPEG2 decoders, label 508 is the video/audio output, label 509 shows second packet separating circuit, label 510 expression bag replacement circuits, label 511 expression interface circuits, label 512 expression record/playback apparatus, label 513 is a system controller, label 514 display output circuits, label 518 expression video/audio outputs.In Figure 15, the radio wave of launching from the satellite (not shown) is received by antenna 501, and this signal enters into tuner 502 then.In example shown in Figure 15, tuner 502 is selected required signal according to the state that is provided with of system controller 513 from input signal, export required signal then.By qpsk demodulator 503 demodulation, the signal of demodulation enters into FEC504 then from the signal of tuner 502 output.FEC504 proofreaies and correct the error of the digital input signals that is caused by the signal transmission.
The digital signal of carrying out the error correction of input signal in the above described manner and obtaining is input to first packet separating circuit 506 by switch 505.Say that generally said digital broadcasting satellite system has such feature among the present invention, i.e. a plurality of programs of reusable on by the single wireless electric wave of the radio wave transponder relaying that is installed in satellite.From multiplexing program, select required program by first packet separating circuit 506.The digital signal of being separated by first packet separating circuit 506 enters MPEG2 decoder 507.507 pairs of compressed digital signal of this PMEG2 decoder decompress, to produce the compression numeral [digital audio and video signals before vision signal and the compression before.The digital video signal of resetting and the digital audio and video signals of playback are converted into analog video and audio signal respectively by output circuit 514, then from 518 outputs of video/audio output.Above-mentioned operation is by system controller 513 controls.
The example of general application order operation that is used to separate required programs information in above-mentioned first packet separating circuit 506 is with said similar with reference to figure 1 and Fig. 3.In other words, first packet separating circuit 506 shown in Figure 15 is corresponding with first splitter 404 shown in Figure 1, and by system controller 513 controls.First packet separating circuit 506 is carried out in step 201 to 208 and the operating process of step 209 definition of Fig. 3, to extract required video flowing and required audio stream.Then, to be provided to MPEG2 decoder 507 decoded for required program stream.The vision signal of decoding and the audio signal of decoding are handled to convert analog signal in output circuit 514.These analog video/audio signals to be received by the television set (not shown), therefore can show the program that the beholder is required from 58 outputs of video/audio output then.
Next, record is described by the operation in tandem of record/playback apparatus 512 by the signal of second packet separating circuit, 509 receptions, and the operation in tandem of the signal of playback of recorded on record/playback apparatus 512.
Second packet separating circuit 509 is corresponding to such device, and during the replay operations after record, when the beholder only reset this required program, it extracted required data.During replay operations, except that the signal that first packet separating circuit 506 extracts,, then need to be different from another stream of program stream owing to also need bag.In the 9th embodiment of Figure 15, except each wraps such as above-mentioned PAT, PMT, outside video data and the voice data, also extract the PCR (program clock reference) of the data equal to indicate the required temporal information of MPEG2 decoder 507, and with the relevant information of required programs (being the current program of seeing of beholder), after this they are recorded on the record/playback apparatus 512 by bag replacement circuit 510 and interface circuit 511.
One embodiment of the present of invention expectation: when by record/playback apparatus 512 replay signal, the program of this tracer signal is automatically selected.For reaching this purpose, after the above-mentioned PAT of execution substituted in bag replacement circuit 510, record wrapped substitution signal.
The work of bag replacement circuit 510 will be described below:
Figure 16 has shown first kind of configuration example of bag replacement circuit.In Figure 16, label 44 has shown the buffer that is used for interim stored data with several approximately bytes, label 40 indication PID testing circuits, detect PID27 in its data from be stored in buffer 44, label 41 shows the PID coincidence circuit, be used for and compare by PID and the predetermined value that PID testing circuit 40 detects, label 42 is the storage circuits that are used to store alternate data, label 46 shows selects circuit, be used for selecting the data of input, select from the data of storage circuit 42 outputs from the output of buffer 44.Also having label 54 is timing generating circuit, and label 56 expression PID registers are used to store the predetermined PID by system controller 13 inputs.
Figure 17 indicates the work timing figure of bag replacement circuit.This bag replacement circuit of hypothesis is cell operation with the byte now, and all input bags 45 or the like all are 8 bit parallel signals.Although do not show in Figure 16, the indicated byte clock 60 of bag replacement circuit and Figure 17 is synchronously worked.
From the separated flow 45 of second packet separating circuit, 509 outputs is that the unit is stored in the buffer 44 with several bytes sequentially.In Figure 17, the data corresponding with every grade that are stored in buffer 44 buttons are set to buffer 1 (52), buffer 2 (53), buffer 3 (61) and buffer 4 (46).And the enabling signal 70 of the part of representative input bag has been indicated in Figure 17.Otherwise this enabling signal 70 can be exported from second packet separating circuit 509, or is produced from sync byte 23 by timing generating circuit 54.
The PID of the bag that substitutes by system controller 513 inputs, is stored in the PID register 56 in advance then, and the data (data of Ti Daiing) after substituting enter into storage circuit 42 storages by system controller 513.Should note in storage circuit 42, can storing a plurality of bag data.
From enabling signal 70, produce detection clock 63 by timing generating circuit 54.13 bits altogether at 64 places regularly, i.e. low level 5 bits of 8 bits of buffer 1 output and buffer 2 have become PID27.PID coincidence circuit 41 will be by PID testing circuit 40 PID55 that detects and the alternative PID57 that is stored in the PID register 56; Relatively.When the PID55 that detects overlapped with the PID57 that substitutes, testing result 51 was set to " H " shown in 65.On the contrary, when the PID55 that detects does not overlap with the PID57 that substitutes, testing result 51 remains by " L " shown in the dotted line 66, select circuit 46 to select " a ", as long as when testing result 51 equals " H ", select circuit 46 to select " b ", if therefore the PID55 that selects overlaps with the PID57 that substitutes, this selects circuit 46 alternate data 47 corresponding with the output of storage circuit 42.As a result, all bags with predetermined PID can be substituted by arbitrary data.The output of storage circuit 42 is regularly by timing generating circuit 54 controls.When the PID55 that detects did not overlap with the PID that substitutes, the output of buffer 44 was directly exported.
As a result, use the alternative PAT that writes the PID of a plurality of PMT bags according to a plurality of programs multiplexing on single inlet flow 80 of PAT of the PID of the PMT that has write the program that only is used for current record.In other words, under the control of system controller 513, the PID of PAT is stored in the PID register, and has only the PAT of the PID of the PMT bag that only is used for the program that will write down can be stored storage circuit 42.
Figure 18 is the timing diagram that indication bag lock out operation and bag substitute the example of operation.In the figure, label 80 shows the inlet flow that will enter second packet separating circuit 9, and label 45 indications show and wrap the corresponding output stream of output of replacement circuit 510 by second packet separating circuit 509 by the separated flow label 48 that only separates the bag relevant with program and produce.Should be understood that in Figure 18, character " A ", " B ", " C " are indicated respectively and program A, the bag that program B is relevant with program C, the bag outside another character " ST " expression audio pack.
Bag relevant with program A and PAT are extracted from inlet flow 80 by packet separating circuit 509, therefore obtain the stream 45 that separates.Owing to all program A this moment, B, the PID of the PMT of C are written to PAT (81,83), and by the aforesaid operations mode, bag replacement circuit 510 substitutes the PAT (82,84) of the PID of the PMT that only is used for program A, therefore exports output stream 48.This output stream 48 is for example handled by the parallel-to-serial conversion portion in the interface circuit 511, and the output stream through the parallel-to-serial conversion is provided to record/playback apparatus 512 then, with record.
In replay operations, the signal of being reset by record/playback apparatus 512 carries out the signal that serial-to-parallel is converted into serial/parallel conversion by interface circuit 511, and it is provided to first packet separating circuit 506 by switch 550 then.When being recorded in signal on the record/playback apparatus 512 by first packet separating circuit, 506 playback times, this first packet separating circuit 506 is by system controller 513 controls, with according to Fig. 4 in identical operation in tandem that the structure of figure is explained operate.
In the superincumbent description, bag replacement circuit 510 substitutes whole bag.Otherwise when PAT was replaced, beginning 20 quilts were directly anti-phase, and have only the part of data 21 replaced.As a result, alternative timing can be set immediately after beginning 20.Under the situation of this replacement, the structure of replacement circuit 510 is shown in Figure 19, and its operation timing is displayed among Figure 20.In Figure 19, select the input " a " of circuit 43 to be used as buffer 44 separated flow 45 before.Identical among the timing that the timing of detection clock 63 shown in Figure 20 and testing result 51 become " H " and Fig. 5.The moment of selecting the input " a " of circuit 43 to finish, and alternate data 21 only corresponding to switch 20.Multiplexing this structure, the memory capacity of buffer 44 can reduce, and circuit size also can reduce.
Equally, in Figure 17 and Figure 20, the timing that testing result 51 is got back to " L " is set at after the final data of this bag of output.Otherwise this backhaul timing 67 can be arranged on half place of bag.As a result, only having an appointment a part of data 21 can be replaced.
Perhaps, when bag replacement circuit 510 has can be with all bags replace to the pattern of alternate data the time, be on the record/playback apparatus 512 in any timing and can write down any bag.The example of operation of this any situation is presented among Figure 21.In Figure 21, label 50 shows the operator scheme by the bag replacement circuit 510 of system controller 513 controls." PAT substitutes " is to carry out the pattern that above-mentioned normal bag substitutes operation." all alternating patterns-1 " be a kind of like this pattern, and all separated flows that wherein enter into bag circuit 510 are replaced with first alternate data that its PID is irrelevant by being stored in storage circuit 42.All alternating patterns-the 2nd in addition ", such pattern, all separated flows that wherein enter bag replacement circuit 510 are replaced with second alternate data that its PID is irrelevant similarly by being stored in the storage circuit 42.In all alternating patterns, PID coincidence circuit 41 can irrespectively be provided with testing result 51 with PID55 that detects and the PID57 that substitutes and be " H ".As Figure 21 output stream presented, under the control of alternating pattern 50, any bag, PA1 (92 and 94), and PA2 (95) can be by system controller 513 records.PA1 that is undertaken by the judgement of 54 pairs of alternating patterns 50 of timing generating circuit and the selection between the PA2 are with control storage circuit 42.Specifically, when storage circuit 42 adopts RAM, this RAM to read the address selected.
As a result, for example, when opening entry operation and end record operation, can write down the bag of indication recording operation interruption etc.Owing in replay operations, can detect the in-edit of recording operation and change point, also can carry out automatic setting operation, on program, can change by the first bag separator 506.
On the other hand, be under the situation of weak point in the period of all alternating patterns, can not guarantee to contract out in the stream 45 of present separation.Therefore, the lock out operation that second packet separating circuit 509 carries out is so controlled, and makes can pass through all bags during all alternating patterns.
Figure 22 has shown operation timing in this case.Promptly under the control of system controller 513, in second packet separating circuit 509, introduced all bags and passed through pattern.In the figure, label 100 display separation patterns when this clastotype is " L ", carry out the normal separation operation, and when this clastotype was " H ", all bags became effectively by pattern.
When second packet separating circuit 509 was operated in all bag output mode in all alternating patterns-1 and all alternating patterns-2, on the stream that separates, all bags 101 to 105 all entered into bag replacement circuit 10.As a result, PA1 (106,107,108) and PA2 (109,110) can intactly be recorded on the record/playback apparatus 12.
It should be noted: although with the I/O normal mode among Figure 15, interface circuit 511 is connected to record/playback apparatus 512, and input and output can be disconnected from each other.Also have, the above embodiments have adopted the data serial transfer operation, but also can adopt the data parallel transfer operation.Under this replacement situation, no longer need interface circuit also-string conversion operations.Also have, first packet separating circuit 506 and second packet separating circuit 509 provide respectively in the above-described embodiments.Otherwise, single circuit structure of these two packet separating circuits one-tenth capable of being combined.
In addition, in the operation of Figure 16 and Figure 19, signal is interpreted as 8 bit parallel signals.Otherwise for example, these signals can be treated to the parallel signal of 16 bits, or the serial signal of 1 bit.
Be understood that: at Figure 18, among Figure 21 and Figure 22, inlet flow 80, separated flow 45 and output stream 48 appear at same timing place., specifically,, between these streams, can produce the sequential delays of several bytes to several bags owing to carry out various signal processing operations.In this embodiment, ignored this this delay.
Although above-mentioned bag replacement circuit 510 is replaced PAT, this also beginning 20 of replaceable another bag of bag replacement circuit 510, and data 21.
Also have, have this possibility, 4 bits that promptly are included in the continuous counter 30 in the beginning 20 must all change by each bag.In this case, continuous counter 30 or comprise 8 bits (1 byte) data of the continuous counter 30 that is stored in the storage circuit 42 can be under the control of system controller 513 each timing of replacing bag all be replaced.To ending place, although do not show in Figure 16 that testing result 51 enters into system controller 513, therefore can be substituted by bag and carry out this identification.
In addition, error-detecting CRC sign indicating number is added in the data 21 of actual packet.The CRC sign indicating number of alternate data can be calculated by system controller 513.Perhaps in bag replacement circuit 510, adopt CRC code generating circuit (not shown), therefore produce or additional CRC sign indicating number.
Also have, in the above-described embodiments, 510 of the bag replacement circuits that is adopted are used for substituting bag.Otherwise bag also can be replaced in the piece of first packet separating circuit 509.In addition, bag also can be replaced in timing place when bag is separated.Also have each bag to enter system controller 513 once, replace by this system controller 513 then.When bag was replaced by this system controller 513, live load increased.Therefore, although need high-speed CPU, advantage is that the alternative operation of bag can be carried out neatly.
In the superincumbent description, used the PID27 that is included in the beginning 20, to judge whether that having carried out bag substitutes operation.Otherwise, be included in other data in the beginning 20, or the particular data that is included in the data 21 can be used for this judgement purpose.
It should also be understood that: in Figure 16 and Figure 19, adopted buffer 44 as split circuit, storage circuit 44 and PID register 56, but utilize one or two storage circuit can constitute these circuit jointly.
Explain in detail,, to have only optionally record of the digital signal energy quilt relevant as the front with required programs even when the amount of information of the signal that will launch is different from the amount of information that can write down in the recording/reproducing transposition time according to the present invention.And the program of record can be reset immediately, does not need the complex operations of playback duration.