MX2007013880A - Recording and reproduction apparatus. - Google Patents

Recording and reproduction apparatus.

Info

Publication number
MX2007013880A
MX2007013880A MX2007013880A MX2007013880A MX2007013880A MX 2007013880 A MX2007013880 A MX 2007013880A MX 2007013880 A MX2007013880 A MX 2007013880A MX 2007013880 A MX2007013880 A MX 2007013880A MX 2007013880 A MX2007013880 A MX 2007013880A
Authority
MX
Mexico
Prior art keywords
service
recording
information
recorded
program
Prior art date
Application number
MX2007013880A
Other languages
Spanish (es)
Inventor
Shigeaki Watanabe
Yoshio Kawakami
Takaaki Suzuki
Original Assignee
Matsushita Electric Ind 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 Matsushita Electric Ind Co Ltd filed Critical Matsushita Electric Ind Co Ltd
Publication of MX2007013880A publication Critical patent/MX2007013880A/en

Links

Abstract

Conventionally, in a broadcast recording and reproduction apparatus that executes an application program in synchronization with service reproduction, only a single service is recorded even if the application program can be synchronized with a new service and continuously executed after a service switch. Therefore, when the service is switched during reproduction of an already-recorded service, the application program cannot perform its original operation. The present invention maintains normal operation of the application program by referring to synchronization information of the application program when the service that includes the application program is recorded, and simultaneously recording a service to which it is possible to switch.

Description

RECORDING AND PLAYING EQUIPMENT FIELD OF THE INVENTION The present invention relates to an apparatus for recording and reproducing transmissions that accumulates a content and reproduces the accumulated content. In particular, the present invention relates to an installation for receiving a content consisting of data such as video, audio and a program that are mutually synchronized, multiplexed as a video wave, and sent, in which the transmission wave is received and video, audio and data are accumulated, as well as an installation to play the content while maintaining synchronization between video / audio and data such as a program.
! BACKGROUND OF THE INVENTION i Varied content is included in a transmission wave sent from a transmission station.
Apart from the video and audio used in a normal TV show, there are cases in which data is included in the content. There are watt methods for sending data, which can be broadly divided into a method for sending data chronologically and a method for repeatedly sending data by fixed interval. In the first method of chronologically sending, for example, the data that REF.8 184560 continues during the course of time are sent in sequential order. This method is suitable for sending large amounts of data over a long period of time, but there is a disadvantage that data that can not be received due to the synchronization of the sending can not be received again. On the other hand, in the second method of repeatedly sending the data at a fixed interval, the same data is sent repeatedly any number of times during a fixed period. This method has the advantage that during the period in which the same data is being sent, any of the data pieces sent repeatedly can be received, and in this way the synchronization of reception is not limited. The transmission of data, represented by BML, and the sending of files through a I DSM-CC data carousel are examples of this method. It is unknown, particularly in transmission, when a receiver It will select a channel and start a reception. In the method of sending the data chronologically, when the start of reception fails behind the synchronization of the sending and the acquisition of the data fails, the data can not be readjusted. Therefore, when sending data such as an application program together with video and audio on the transmission wave, the method of repeatedly sending the data by fixed interval is favorable.
Currently they have developed and are in I operation specifications to receive a transmission wave that includes video, audio and an application program and run the application program in synchronization with video and audio, as in the previous method. It is possible to receive the application program sent, load the application program in a terminal and implement several 'additional functions when running the application program, instead of simply watching the video and audio. This method for sending the application program and loading the application program into the terminal is also called "download". For example, a specification called Digital Video Broadcasting-Multimedia Home Platform (DVB-MHP) ETSI ES 201 812 vl .1.1 (2003-12) has been developed in Europe, and have already started operations in accordance with this specification. In addition, the Platform specification I Open Cable Applications (OCAP) OC-SP-OCAP1.0-114-050119,! which provides the same provision in the cable broadcast environment, is being developed in the United States, and real operations are ready to begin. In these specifications, the application program is written in the Java language. Several Application Programming Interfaces (APIs) for tuning, visual presentation of graphs and the like are provided in the terminal, and the Java application program can control those functions by invoking the APIs. In addition, in North America, the OCAP-DVROC-SP-OCAP-DVR-101-040524 specification is being developed, which is focused on adding a function to record and play the content in the OCAP specification. With this specification, the video, audio and the application program Java synchronized to it and executed, which will be sent as a cable television transmission, will be I record the content, and in addition, they reproduce in the same way) than when the recorded content is reproduced directly from the transmission wave. The application program plays in synchronization with the video and audio, in the same way as the direct reproduction of the transmission wave. Moreover, with OCAP-DVR, trick playback of the content is achieved by recording content transmitted to a randomly accessible high-speed storage medium, such as a hard disk, semiconductor memory and the like. Here, trick playback refers to functions for reproducing content at an arbitrary speed, from an arbitrary position, and so on, such as fast forward, rewind, slow camera,! pause, jump and similar. With OCAP-DVR, the application program loaded in the terminal from the transmission wave can control the recording and playback of trick content. In other words, APIs for trick recording and playback are provided in the terminal, and the Java application program controls each function by invoking those APIs. 1 In OCAP-DVR, the video, audio and the application program synchronized to it and executed are collectively defined as a service. When a broadcast receiving terminal plays a service, the application runs in synchronization with the playback j of the video and audio. Normally, in the event of the change of the service, the service that will be changed contains a different application program and in this way the application program executed until then is terminated. However, here, in case the same application program is contained in a plurality of services, it is possible; Continuously execute that application program within a new service even if a service change occurs. For example, a video A, an audio A and an application program A are included in a service A, and a video B, an audio B and application program A are included in a different B syndicate. Application program A is written in the program code to switch between service A and service B. Application program A is while service A is being played; this, the program code mentioned above is even if the service changes and the service B is reproduced, the application program A is executed continuously. Note that with OCAP-DVR, it is possible to cause application program A to terminate in case of a service change by properly establishing an indicator within the application program's synchronization information. With the recording function of OCAP-DVR, it is possible to record a transmitted service. However, with OCAP-DVR, a single service or channel identifier is specified when, the service to be recorded is specified; therefore, a failure occurs in case an application program for two or more services is reproduced. In other words, to use the description mentioned above, service B is not recorded in case service A is specified as being recorded. Thus, when the program code written in the application program A to change from service A to service B is executed during the reproduction of service A, service B can not be reproduced, and an abnormal state occurs. In view of this, an object of the present invention is to provide a recording and reproducing apparatus and a recording and reproduction method in which an abnormal state does not occur even when a service change actually occurs, when referring to synchronization information. of the application program when the service that includes the application program is recorded, and record | simultaneously a service that could be changed. BRIEF DESCRIPTION OF THE INVENTIONTo achieve the above-mentioned objective, a recording and reproducing apparatus of the present invention: a receiving unit that receives various services, each including video information, audio information, and a program, synchronization information to synchronize the video information and audio information with the (program, and identification information of service elements to identify the video information, audio information, program and synchronization information; a recording unit that records, in a recording medium, a specified predetermined service, from among the different services received; a reproduction unit that reproduces video information and audio information included in the predetermined service received or the predetermined service recorded in the recording medium; and a program execution unit executing a program i included in the received predetermined service or the predetermined service recorded in the recording medium, and the recording and reproducing apparatus reproducing the video information i and the audio information included therein. default service recorded in the recording medium in synchronization with the program included in the default service, when executing the program included in the I predetermined service according to the synchronization information; repurchases the service item identification information corresponding to the specified predetermined service among the different services received in case an update of the synchronization information or service element identification information occurs while the recording unit is recording the service predetermined; and isolates the predefined service specified based on the identification information of acquired service elements, and causes the recording unit to record the isolated service. Accordingly, it is possible to prevent an abnormal state from occurring even when a service change actually occurs by referencing synchronization information of the application program when the service including the application program is recorded, and simultaneously recording a service to which It is possible to change. Moreover, the recording and reproducing apparatus may 'reacquire the identification information of service elements corresponding to the specified predetermined service among the plurality of services received in case an update of the synchronization information or the identification information of service elements occur while the recording unit is draping, and can isolate the specified predetermined service based on the acquired service item identification information, and cause the recording unit to record video information, audio information, a program , the synchronization information and the i identification information of service elements i included in the isolated service. In addition, the recording and reproducing apparatus may reacquire the service element identification information corresponding to the specified predetermined service among the plurality of services received in the event of an update of the synchronization information or identification information. of service items while the recording unit is recording, and may isolate the specified predetermined service based on the identification information of acquired service items, and cause the recording unit to record a transport stream corresponding to the isolated service . Moreover, a program included in a first specified service that will be recorded can also be included in a second service; the synchronization information may include continuous execution information indicating whether it is possible or not to continue running the program included in the first service when the first service is changed, l during playback, by the second service, and the second service is played; and the recording and reproducing apparatus can isolate, as the predetermined service, the second service in addition to the first specified service, based on the acquired service item identification information, and cause the recording unit to record the isolated service, in case the continuous execution information included in the synchronization information corresponding to the program included in the first service indicates that it is possible to continue executing the program even when the second service has been changed and the second service is reproduced. Consequently, in case the program is of a type that can be executed continuously even if a service change occurs, the second service is also recorded in the recording medium, and therefore the program does not fall a state in which it is not continuously executable at the time of a service change. In addition, the recording and reproducing apparatus can 'isolate, as the predetermined service, the second service in addition to the first specified service, based on i the identification information of elements of service acquired, and cause the recording unit to record the isolated service, only in case simultaneous recording of the first service and the second service can be allowed. Further, the recording and reproducing apparatus according to the present invention includes: a receiving unit that receives various services, each including video information, audio information, a program, synchronization information to synchronize the video information ii and the audio information with the program, and identification information of service elements to identify the video information, audio information, program and synchronization information; a recording unit recording, a recording medium, a first service specified among the plurality of services received; a reproduction unit that reproduces video information and audio information included in the first service received or the first service recorded in the recording medium; and a program execution unit i executing a program included in the first received service or the first service recorded in the recording medium, and the recording and reproducing apparatus reproducing the video information and audio information included in the first service recorded in the recording medium in synchronization with the program included in the first service, when executing the program included in the first service according to the synchronization information; the program included in the first service that is specified to be recorded is also included in a second service; the synchronization information includes continuous execution information that indicates whether it is possible or not to continue executing the program included in the first service when the first service is changed, during the reproduction, by the second service, and the second service is reproduced; Y I the recording and playback device isolates, as the default service, the second service in addition to the first! service specified, based on the identification information of purchased service elements, and cause the recording unit to record the isolated service, in case the execution information continues to be included in the synchronization information corresponding to the program included in the service. the first service indicates that it is possible to continue executing the program even when the second service is changed and the second service is reproduced. Consequently, it is possible to prevent an abnormal state from occurring even when a service change actually occurs: by referencing synchronization information of the application program when the service including the application program is recorded, and simultaneously recording a service to which It is possible to change.
In addition, the program included in the first service I that is specified as being recorded can also be included in a second service; the synchronization information may include continuous execution information indicating whether or not it is possible to continue executing the program included in the first service when the first The service will be changed, during playback, for the second service, and the second service will be reproduced; and the recording and reproducing apparatus can isolate, as the predetermined service, the second service in addition to the first specified service, based on the identification information of acquired service elements, and cause the recording unit to record a current of transport corresponding to the isolated service, in case the continuous execution information included in the synchronization information i corresponding to the program included in the first service indicates that it is possible to continue executing the program even when changing to the second service and the second: service is reproduced, moreover, the recording and reproduction apparatus ! it can isolate, as the default service, the second service in addition to the first specified service, based on the identification information of acquired service elements, and cause the recording unit to record the transport stream corresponding to the isolated service, only in case the simultaneous recording of the first service and the second service can be allowed. In addition, the recording unit can convert a file format of a service into another format, in case of recording a service in the recording medium, and record a period of validity of the file together with the service. Consequently, for example, the program and synchronization information is recorded as a file; therefore, space can be saved in the recording medium, and the program does not fall into a state in which continuous execution at the time of a service change is not possible. I Furthermore, the recording unit may restart the recording of the service each time the synchronization information or service element identification information is updated. Note that the present invention can be implemented not only as the recording and reproducing apparatus mentioned above but also as a recording and reproducing method, a program for the method and a storage means for storing the program.
Additional information about the technical background of this application The descriptions of the provisional application of E.U.A. No. 60/687624, filed on June 6, 2005 and the provisional application of E.U.A. No. 60/751374, filed on December 19, 2005, including description, figures and re-vviinndaiiccaacciioes are incorporated herein by way of I reference in its entirety.
! BRIEF DESCRIPTION OF THE FIGURES These and other objects, advantages and characteristics of the invention will become apparent from the following description thereof taken in conjunction with the appended figures and illustrate a specific embodiment of the invention.
In the | FIGURES: FIGURE 1 is a configuration diagram of a transmission system according to the present invention. i Figure 2 is an example of how to use an I band invention. Figure 4 is an example of how to use a frequency band used in communications between a system on the side of the transmission system and a terminal apparatus, in a cable television system according to the present invention. Figure 5 is a configuration diagram of a TS package predefined by MPEG-2 specifications. Figure 6 is a schematic diagram of a MPEG-2 transport stream. Figure 7 is an example of division when a PES package predefined by MPEG-2 specifications is carried in TS packets. 'Figure 8 is an example of division when a section MPEG-2 predefined by MPEG-2 specifications is transmitted using a TS packet. Figure 9 is a configuration diagram of a section MPEG-2 predefined by MPEG-2 specifications. Figure 10 is an example of using an MPEG-2 'section predefined by MPEG-2 specifications.; Figure 11 is an example of using a PMT predefined by MPEG-2 specifications. Figure 12 is an example of using a PAT predefined by MPEG-2 specifications. Figure 13 is an example of configuration of a hardware configuration of a transmission recording and reproducing apparatus according to the present invention.
: Figure 14 is an example of a front panel of an input unit 1310 in a hardware configuration of a! terminal apparatus 1200 according to the present invention. Figure 15 is an example of a connection of devices at the time of recording, in the recording and reproducing apparatus according to the present invention. Figure 16 is an example of a connection of devices at the time of reproduction, in the recording and reproducing apparatus according to the present invention. Figure 17 is a diagram showing a structure of the program stored in a terminal apparatus of I according to the present invention. Figure 18 is an example of an EPG executed by a terminal apparatus in accordance with the present invention. Figure 19 is an example of an EPG executed by a terminal apparatus according to the present invention. Figure 20 is an example of information stored in the secondary storage unit according to the present invention. Figure 21 is an example of a recording information management table according to the present invention.
| Figure 22 is a schematic diagram showing details of AIT prescribed by the DVB-MHP standard in accordance with the present invention. Figure 23 is a schematic diagram showing a file system sent in DSMCC format according to the present invention. Figure 24 is a diagram showing a structure of the program stored in a terminal apparatus according to the present invention. Figure 25 is an example of a connection of i devices at the time of recording, in the recording and reproducing apparatus according to the present invention. Figure 26 is an example of configuration of a hardware configuration of a transmission recording and reproducing apparatus according to the present invention.; Figure 27 is an example of a connection of devices at the time of recording, in the recording and reproducing apparatus according to the present invention. Figure 28 is an example of a connection of devices at the time of reproduction, in the recording and reproducing apparatus according to the present invention.
Fig. 29 is an example of a recording information management table according to the present invention. Figure 30 is a schematic diagram showing details of AIT extension according to the present invention. The figure 31 is a flow diagram of a recording processing according to the present invention. : Figure 32 is a flow chart of a recording processing according to the present invention. Figure 33 is a flowchart of a recording processing according to the present invention. Fig. 34 is a flow diagram of a recording processing according to the present invention. Figure 35 is a flow diagram of a recording processing according to the present invention. Figure 36 is a flow diagram of a recording processing according to the present invention. Fig. 37 is a flow diagram of a recording processing according to the present invention. Fig. 38 is a flow chart of a recording according to the present Fig. 39 is a flow diagram of a recording processing according to the present I invention.
DETAILED DESCRIPTION OF THE INVENTION i The recording and reproducing apparatus according to the present invention records a content consisting of video, audio, a program and information and synchronization to synchronize the video, the audio and the program, the synbronization information it includes information that can be executed continuously which indicates that the execution of the program can be continued even when the content is changed by other content; the apparatus includes: a storage medium for storing the content, and a content storage unit that stores, in the storage medium, all the content included within a content transport medium in case the information that can be executed continuously indicate that the execution of the program can be continued, and store, in the storage medium, only a content specified in other cases. Consequently, when the program is a type that can be continuously run even when the content is changed by other content, all the content in the content transport medium is stored in the storage medium, and therefore the program does not fall in a state in which continuous execution is not possible at the time of switching to other content. In addition, the content recording and reproducing apparatus includes a storage permission unit containment unit containing a removable storage permission unit that allows a plurality of contents to be stored in the storage means; the content storage unit asks, in case the information that can be run continuously I indicated that the execution of the program can be continued, if i allow or not to store all the content included in the content transport medium, and store, in the middle of storage, all the content included in the content transport medium in case the permission is obtained, and stores, in the storage medium, only the content specified in other cases. Accordingly, actual storage occurs after the storage, in the storage medium, of all content within the content transport medium is allowed; therefore, the recording is carried out taking into consideration the capacity of the storage medium, and the program does not fall into a state in which continuous execution is not possible at the time of recording.
I change to other content. Moreover, the content recording and reproducing apparatus includes a content selection unit containment unit containing a removable content selection unit for selecting which content to store on the storage medium, and the content storage unit stores , in the storage medium, only a content that has been judged by the content selection unit i that is recorded based on the information that can specify all the content included in the content transport medium. Consequently, instead of storing all the content within the content transport stream, only the selected content is stored in the storage medium; therefore, it is possible to conserve space inside; of the storage medium, and the program does not fall into a state in which continuous execution is not possible at the time of switching to other content. In addition, the content recording and reproducing apparatus includes a content selection unit containment unit containing a removable content selection unit for selecting which content to store in the storage medium; in case the content selection has not specified the content that will be recorded based on the information that can be specified by all the content included in the content transport medium, the content storage unit asks, in case the information that can be executed continuously indicates that the execution of the program can be continued, if it is allowed or not to store all the content i included in the content transport medium, and stores, in the storage medium, all content included in the content transport medium in case permission is obtained, and stores, in the storage medium, only the content specified in other cases. As a result, it is possible to specify whether all content in the content transport stream or only the selected content is stored in the storage medium.; therefore, it is possible to conserve space in the storage medium, and the state also does not fall into a state) in which continuous execution is not possible at the time of changing with other content. In addition, the synchronization information includes information that can be executed continuously which indicates that the execution of the program can be continued even when! the content is changed by other content, and content specification information to specify other content that the program requires, and the recording and reproducing apparatus includes a content storage unit that stores, in the storage medium, the content specified with the content specification information in case the information that can be executed continuously indicates that the execution of the program can be continued, and stores, in the storage medium, only content specified in other cases. Consequently, it is possible to specify other content that the program requires; therefore, it is possible to conserve space in the storage medium, and the program also does not fall into a state in which continuous execution is not possible at the time of switching to other content. In addition, the content storage unit asks, in case the information that can be executed continuously indicates that the program can be executed continuously, if it is allowed to store the content specified with the information of content specification, and stores, in the middle of storage, the content specified by the content specification information in the case of obtaining permission, and stores, in : I the storage medium, only the content specified in other | cases. Consequently, it is possible to specify other content that the program requires; therefore, it is possible to record1 taking into consideration the constion of space within the storage medium, and the program also does not fall into a state in which continuous execution is not possible at the time of switching to other content. In addition, apart from being possible to specify other content that the program requires, it is also possible to select the content that will actually be stored; therefore, it is possible to cons space in the storage medium, and the program does not fall into a state in which continuous execution is not possible at the time of changing to another content. Moreover, in the event that the content selection unit has not specified the content to be recorded based on the content specification information, the content storage unit asks, in case the information that can be executed continuously indicates that the execution of the program can be continued, if it is allowed to store the content specified by the content specification information, and stores, in the storage medium, the content specified by the content specification information in case of permission, and stores, in the storage medium, only the content specified in other cases. i! Consequently, after specifying other content that the program requires, it is also possible ! select the content that will actually be stored, even if you do not select the content, it is possible to record! taking into consideration the constion of space inside! of the storage medium, and the program does not fall into a state in which continuous execution is not possible at the time of switching to other content. In addition, the content transport medium is stored directly when the content storage unit stores, in the storage medium, all the content included in the content transport medium. i Consequently, the content transport stream itself is stored when all the content is stored I in the content transport stream; the structure can be simplified, and the program does not fall into a state in which continuous execution is not possible at the time of changing to another content. In addition, the content storage unit will store, in the storage medium, all the contents that have, as the constituent element, synchronization information with a value in which at least one of the pieces of information that can be continuously executed indicate! that the execution of the program can be continued. Consequently, the content in the transpon stream of content that is considered necessary is stored in the storage medium after specifying the program of the type that can be executed continuously even when the content changes for a different content, and therefore the program does not fall into a state in which i is not possible continuous execution at the time of changing other content. In addition, the content storage unit asks, in case the information that can be continuously executed in the synchronization information having specified content as the constituent element indicates i that | execution can be continued, if it is allowed to store, in the storage medium, all the contents that have, as a constituent element, the synchronization information with a value in which at least one of the piece of information continuously executable indicates that the execution of the program can be continued, and it stores, in the storage medium, all the contents that they have, such as a constituent element, the synchronization information with a value in which at least one of the pieces of information that can be executed continuously indicate that program execution can be continued in I allow case, and store, in the storage medium, only the content specified in other cases. As a result, the actual storage occurs after there is permission in relation to whether or not it is stored, in the storage medium, the content in the medium of content that is considered necessary; therefore, it is possible to record taking into consideration the conservation of space in the storage medium, and the program also does not fall into a state in which continuous execution at a time of changing to other content is not possible. Moreover, the content storage unit i stores, in the storage medium, only the content that the content selection unit judged as being I recorded on the basis of the information that can specify the contents that have, as the constituent element, the synchronization information with a value in which at least one of the executable piece of information continuously indicates that the execution of the program can be continued . Consequently, instead of storing all the content in the content transport stream that is considered necessary, only the selected content is stored in the storage medium, and therefore, it is possible to conserve space in the storage medium, and the program does not fall into a state in which continuous execution is not possible at the time of switching to other content. In addition, in case the content selection unit has not specified the content that will be recorded based on the information that can specify the contents that have, as a constituent element, the synchronization information with a value in which minus one of the executable piece of information continuously indicates that the execution of the program can be continued, the content storage unit asks, in case i the continuously executable information indicates that the execution of the program can be executed, whether it is stored or not , in the storage medium, all the contents that i have as a constituent element, the synchronization information with a value in which at least one of the pieces of continuously executable information indicates that the execution of the program can be continued. i allows, and stores, in the storage medium, all the contents:. In addition, the synchronization information with a value in which at least one of the pieces of information continuously executable indicates that the execution of the program can be continued in the case that there is permission, and stores, in the storage medium, only the content specified in ! other cases . i 'Consequently, it is possible to specify whether all the content is stored in the content transport stream that is considered necessary or only the selected content in the storage medium, and therefore it is possible to conserve space in the storage medium and the program does not fall into a state in which continuous execution is not possible at the time of changing other content. In addition, the video and audio are stored in stream format, and the program and synchronization information are stored in a file format extracted from the stream, when the content storage unit carries out storage on the storage medium. Consequently, the program information and synchronization are stored as files, and therefore it is possible to conserve space in the storage medium, and the program does not fall into a state in which it is not possible to I continuous execution at the time of switching to other content.
| First Mode Hereinafter, an apparatus and a method according to a first embodiment of the present invention are described with reference to the figures. The present invention focuses on the recording and reproduction of content sent and received with an arbitrary medium; however, in the present embodiment, a cable television transmission system is described as an example. In the cable television transmission system, a transmission recording and reproducing apparatus (recording and reproducing apparatus), such as that of the present invention, is generally referred to as a terminal apparatus. Figure 1 is a block diagram showing a list of apparatuses constituting a transmission system; the transmission system is constituted by a system of the transmission station (distributor center) 101, a terminal apparatus there, a terminal apparatus B112 and a terminal device C113. A coupling 121 between the transmission station system indicated for another terminal is, in the cable system, a wired coupling such as coaxial cable, a fiber optic cable and the like. In FIG. 1, a system on the transmission station side is coupled with three terminal devices, but the number of terminal devices is arbitrary. The system on the transmission station side 101 sends information such as video / audio / data for the transmission of data in a transmission signal to a plurality of terminal devices. The transmission signal is transmitted using a frequency from a frequency band established by an operational regulation of the transmission system, the laws of a country / region in which the transmission system operates, and so on. With the cable system of the present embodiment, the frequency band is used in the transmission of transmission signals divided into the data details and the transmission direction (inward, outward) and applied. 2 is a graph showing an example of the iI division of the frequency band. The frequency band is broadly divided into two types: Outside Band i (abbreviated OOB) and In Band. 5 MHz to 130 MHz are assigned as OOB, and are used primarily in input / output data and in the exchange of input / output data between a system on the transmission station side 101 and the terminal apparatus there, the terminal apparatus B112 and the terminal device I C113. '130 MHz to 864 MHz are allocated as In-Band, and are mainly used in a single-output transmission channel and include video / audio. The QPSK modulation type is used with i OOB, and 'the modulation type QAM64 or QAM256 is used with In Band. | The modulation type technology is generally known and of little concern for the present invention, and therefore! Both their detailed descriptions are omitted. Figure 3 is an example of a more detailed use I of the OOB frequency band. 70 MHz to 74 MHz are used in the sending of output data from the system on the transmission station side 101, and all the terminal devices. There, the terminal apparatus B112 and the terminal apparatus C113 receive 1 the same data from the same system as the Transmission station side 101. On the other hand, 10.0 MHz to 10.1 MHz are used in the sending of input data from the terminal apparatus there to the system of the transmission station side 101; 10 I.1 MHz to 10.2 MHz are used in sending input data from the terminal apparatus B112 to the system on the transmission station side 101 and 10.2 MHz to 10.3 MHz are used as data transmission j of input terminal C113 to the system of the transmission station 101. Through this, it is possible to independently send cubic data for each terminal device from each terminal apparatus there, B112 and C113 to the system on the side of transmission station 101. I Figure 4 is an example of use of a band of frequencies in band. 150 MHz at 156 MHz and 156 MHz at 162 MHz are allocated to a TV channel 1 and a TV 2 channel, respectively, and subsequently, the TV channels are assigned at 6 MHz intervals. The radio channels are assigned in 1 MHz units of 310 MHz and above. Each of these channels can be used as analog transmission or as a digital transmission. The digital transmission is sent in the form of TS packages under the MPEG-2 specifications, and it is also possible to send data for transmission of various data and organization information of TV programs to configure an EPG, in addition to audio and video. The transmission station side system 101 uses the frequency bands described above to send a suitable transmission signal to the terminal devices, and therefore has a modulation unit QPSK, a modulation unit QAM, and so on. In addition, the system on the transmission station side 101 has a QPSK demodulator to receive data from the terminal devices. Moreover, the system on the transmission station side 101 can be thought of as having several devices related to modulation activities and the demodulation unit. However, the present invention relates mainly to terminal apparatuses, and therefore detailed descriptions are omitted. Terminal devices There, B112 and C113 have I a QAM demodulation unit and a demodulation unit QPSK to receive and reproduce a transmission signal i coming from the system of the transmission station side 101. In addition, each terminal apparatus has a QPSK modulation unit for sending data, which are unique to each terminal apparatus, to the system on the transmission station side 101. In the present invention, the terminal devices are recording and reproducing apparatus of the device. transmissions, and their detailed configurations are described I later. The system on the transmission station side 101 modulates an MPEG-2 transport current and transmits to the current within the transmission signal. A terminal device receives the transmission signal, demodulates and reproduces the MPEG-2 transport stream, and of the current, extracts and uses the necessary information. To describe a structure of function and connection of devices present in the terminal apparatus, the structure of the transport stream MPEG-2 is first described in a simple manner. Figure 5 is a diagram showing the structure of a TS packet. A TS 500 packet has a length of 188 bytes, and is composed of a header 501, an adaptation field 502 and a payload 503. The header 501 contains control information of the TS packet, has a length of 4 bytes and is structured as shown in 504. In header 501 there is a field indicated as "Package ID" (hereinafter, PID), and the TS packet is identified through the value of this PID. The adaptation field 502 contains additional information such as time information. The adaptation field 502 is not another requirement, and there are cases in which the adaptation field 502 is not present. The payload 503 contains information carried in the TS packet, such as video, audio and data transmission data. Figure 6 is a schematic diagram of the I transport stream MPEG-2. The TS packet contains different information in the payload, such as video, audio, data used for data transmission, and the like. A TS 601 package and a TS 603 package contain a PID 'l00 in the header, and contain information that refers! to video 1 in the payload. A TS 602 package and a package! TS 605 contain a PID 200 in the header, and contain information that refers to data 1 in the payload. ! A TS 604 package contains a PID 300 in the header, and contains information that refers to audio 1 in the useful parget. Mixing TS packets containing various types of data in payloads and transmitting these as a series in sequence is called multiplexing. A transport stream MPEG-2 600 is an example of a configuration in which the TS packets 601 to 605 are multiplexed. TS packages that have identical PIDs contain identical types of information. Therefore, the terminal apparatus reproduces video and audio, and reproduces data such as TV program management information, by receiving multiplexed TS packets and extracting, by PID, the information contained in the TS packet. In Figure 6, the TS 601 packet and the TS 603 packet each carry information that refers to video 1, the TS 602 packet and the TS 605 packet each carry information that relates to the data 1. Here, it is gives a description with respect to a formatd of each type of data contained in the payload. Video and audio are expressed by a format called a Packaged Element Current (PES) packet. The package PES includes video information or audio information of a certain period of time, and upon receipt of the PES packet, the transmission recording and playback apparatus can send j the video and audio information contained therein.
I pack PES to a screen and speaker. The transmission station transmits the PES packets without pause, and therefore it is possible for the broadcast recording and playback apparatus to continuously play the video and audio without pause. When the PES packet is actually transmitted, the PES packet is divided and stored in the payloads I of a plurality of TS packets in case the PES packet is larger than the payload of a TS packet. i Figure 7 shows an example of division when a PES packet is transmitted. A PES 701 package is too large to be stored and carried in a payload of a single TS packet, and therefore the PES 701 packet is divided into a PES 702a packet division, a PES B 702b packet division, and a PES C 702c package division, and it is carried in three TS 703 to 705 packages which have identical PIDs. In reality, video and audio are obtained as an elementary stream (ES) obtained by concatenating data contained in the payloads of a plurality of PES packets. The format of this elementjal stream is digitized video and audio, such as that defined by the MPEG-2 video standard, the MPEG-1 and 2 audio standard, and the like.
On the other hand, information such as the organization information of TV programs and data used for the transmission of data are expressed using a format called an MPEG-2 section. When the MPEG-2 section is actually transmitted, the MPEG-2 section is divided and stored in the loads | useful of a plurality of TS packets in case the MPEG-2 sediment has a larger size than the payload of a TS packet. Figure 8 shows an example of division when the MPEG-2 section is transmitted. As an MPEG-2 section I 801 is too large to be stored and carried in a useful cargo of a single TS packet, the MPEG-2 801 section is divided into a division of section A 802a, a division of section B 802b and a division of section C 802c, and it is carried in three TS 803 to 805 packets which have identical PIDs. Figure 9 expresses a structure of the section MPEG-2. An MPEG-2 900 section is configured with a header 901 and a payload 902. The header 901 contains control information of the MPEG-2 section. That configuration is expressed by a header configuration 903. The payload 902 contains data carried in section i MPEG-2J 900. A table identifier (hereinafter, table ^ id) present in the header configuration 903 expresses the type of the MPEG-2 section, and an extension of Table identifier (hereafter, table_id_extension) is I an extension identifier used when distinguishing more between MPEG-2 sections with an identical table_id. The case in which the TV program organization information is transmitted, as in Figure 10, can be given as an example of using the MPEG-2 section. In this example, as described in a row 1004, information necessary for demodulation of the transmission signal is written in the MPEG-2 section having a table_id of 64 in the header configuration 903, and that MPEG-2 section is carried also in a TS package with a PID of 16 assigned. The PES format does not exist in the case of the MPEG-2 section. For that reason, the elementary current (ES) is the concatenation of the payloads of TS packets identified by identical PIDs within the MPEG-2 transport stream. For example, in Figure 8, the TS 803 to 805 packets, in which the MPEG-2 801 section is divided and carried, are all identified with the PID of 200. It can be said that this is an ES carrying the MPEG-2 section 801. A concept called a program also exists in the MPEG-2 transport stream. The program is expressed as a collection of ESs, and is used in case one wishes to manage a plurality of ESs all at once. When the program is used, it is possible to manage video / audio, as well as accompanying data transmission data, all together.
For example, in the case of simultaneously managing the video / audio to be played, by grouping the video ES and the audio ES as a program, it can be seen that the transmission recording and reproducing apparatus must simultaneously reproduce these two ESs like a TV show. To express the program, two tables, one calls Table of Program Maps (PMT) and a Table of Association of i Prograrties (PAT), are used in MPEG-2. Detailed descriptions can be found in the specifications of ISO / IEC 13818-1, "MPEG-2 Systems". The PMT and the PAT are briefly described below. i! The PMT is a table that includes the number of programs in the MPEG-2 transport stream. The PMT is configured as an MPEG-2 section, and has a table_id of 2. The PMT contains a program number used to identify the program and additional program information, as well as information that refers to an ES that belongs to the program. An example of the PMT is given in Figure 11. 1100 It is a program number. The program number is assigned only to programs in the same transport stream, and is used to identify the PMT. The rows 1111 to 1114 express information referring to individual ESs. A column 1101 is a type of ES, in which "video", "audio", and "data", and so on are specified. A column 1102 is the PID of the TS packets that constitute the ES. A column 1103 is additional information that refers to the ES.
For example, the ES shown in row 1111 is an audio ES,, and is carried by TS packets with a PID of 5011. I The PAT is a table, of which only one is present, in the transport stream MPEG-2. The PAT is configured as an MPEG-2 section, has a table_id of 0, and is carried by a TS packet with a PID of 0. The PAT contains a transport stream identifier (hereinafter, transport_stream_id) used in the identification of the MPEG-2 transport stream, and information that refers to all the PMTs that represent an existing program in the MPEG-2 transport stream.; An example of the PAT is given in figure 12. 1200 It is a, transport_stream_id. The transport_stream_id is used to identify the MPEG-2 transport stream. The rows 1211 to 1213 express information that refers to the program. A column 1201 is the program number. A column 1202 is the PID of the TS packet that sends the PID corresponding to the program. For example, the PMT of the program shown in row 1211 has a program number of 101, and the corresponding PMT is carried in the TS packet with a PID of 501. 'In case the terminal reproduces true! program, the terminal uses the PAT and the PMT and specifies the video and audio that constitute a program, and reproduces that video and audio. For example, with respect to the transport MPEG-2 that takes the PAT in the figure PMT in figure 11, the following procedure is followed in case the video and audio belonging to the program with a program number of 101 are reproduced. First, a PAT transmitted as an MPEG-2 'section with a table_id of "0" is acquired from a TS packet I with a1 PID of "0". The PAT is scrutinized for a program with the program number "101", and the row 1211 is obtained. From the row 1211, the PID "501" of the TS package is obtained.
I I takes the PMT of the program with a program number "101". Then, the PMT transmitted as the MPEG-2 section with a table_id of "2" is acquired from the TS packet with the PID of "501". Row 1111, which is audio information ES, and line Iera 1112, which is video information, is I get from the PMT. A PID "5011" of the TS packet carrying the audio ES is obtained from the 1111 row. In addition, a PID "5012" of the TS packet carrying the video ES is obtained from the 1112 row. audio is acquired from a TS packet with a PID "5011", and a PS video packet is purchased from a TS packet with a PID of "5012". Through In this case, it is possible to acquire the ES video and audio packages that will be reproduced, and the video and audio that constitute the number of programs 101 can be reproduced.
Note that there are cases in which the MPEG-2 transport stream is randomized. This is a scenario called a conditional access system. For example, by randomizing ES packets that carry certain video / audio, only the specified observers who can descramble them are able to watch that video and audio. To discourage and watch the video and audio, an observer must disclose the video and audio using a device called i a scrambler. For example, in a terminal apparatus compatible with OCAP, an adapter in the form of a card with an internal descrambler is used. A cable television operator distributes an adapter configured to be able to descramble a specified program to each observer, and the observer inserts that adapter into the terminal apparatus. After doing so, the adapter descrambles the program i based on scrambling information such as a descrambling key and contract information I from each contract holder. A descrambling method, a method for having the descrambling key and the like depend on the adapter, and have no influence on the implementation of the present invention. I! So far simple descriptions have been given that refer to the MPEG-2 specifications; hereinafter, detailed definitions of the terminology are given. In the present invention there are two types of the term "program".
One is a "program" that appears in the MPEG-2J specifications and the other is a "program" that refers to an assembly of codes executed by a CPU. Since the former is synonymous with the term "service" used in the operating regulations, hereafter, to avoid confusion, the former is called "service" and the latter is simply called "Program". In addition, in relation to the latter, a "program" . I particularly written in the language} e Java is called a description with respect to several general specified in accordance with the present invention. Hereinafter, the transmission recording and reproduction terminal used in the present embodiment is described in detail. Fig. 13 is a block diagram showing a general hardware configuration of the transmission recording and reproducing apparatus according to the present embodiment; in other words, a specific configuration and intern of the terminal devices 111, 112 and 113 i shown in FIG. 1. 1300 is the transmission recording and reproducing apparatus, which is configured of: a tuner 1301; a TS decoder (TS demultiplexer) 1302; an AV 1303 decoder; a loudspeaker 1304; a visual presenter 1305; a CPU 1306; a secondary storage unit 1307; a primary storage unit 1308; a ROM 1309; an input unit 1310; an adapter 1311; an AV 1312 encoder and a multiplexer (transport stream multiplexer MPEG-2 or similar) 1313. Note that the present embodiment is obtained by expanding a transmission recording and playback terminal implemented by the OCAP-DVR specifications, and the configuration of Specific hardware is almost identical to that required by the OCAP-DVR specifications. The tuner 1301 is a device that demodulates a modulable transmission signal transmitted from the system on the transmission station side 101, according to tuning information such as a frequency prescribed by the CPU 1306. The tuner 1301 includes: a QAM demodulator 1301a that internally demodulates a band signal. A QPSK 1301b demodulator that demodulates I an out-of-band signal and a QPSK modulator 1301c that carries out modulation. An MPEG-2 transport stream obtained as a result when the QAM demodulator 1301a of the tuner 1301 demodulates the band signal passes through the adapter having a descrambling function, and is sent to the TS 1302 decoder. 1 The TS 1302 decoder is a device that I has a function to segregate PES packets and MPEG-2 sections that meet specified conditions of the MPEG-2 transport stream, based on a PID, a section filter condition and so on, prescribed by the CPU 1306, This segregation function is called packet filtering. Two types of filter devices, which are a 'PID filter and a section filter, are included in the TS decoder. The details of the filtration are given below. The input of the transport stream MPEG-2 to the decoder of TS is carried out by several types of constituent elements. In case a transmission is received and a service without recording is played back, the transport stream MPEG-2 sent by the adapter 1311 is inserted in the TS 1302 decoder. On the other hand, in case a recorded service is played in the secondary storage unit 1307, the transport current MPEG-2 which sends the secondary storage unit 1307 is input to the TS decoder 1302. Which input is received is controlled by the CPU 1306, which receives an instruction from the software. The PES packets of the video and audio that the decoder of TS 1302 segregated are sent to the AV decoder 1303. In addition, the MPEG-2 section segregated by the decoder of TS 1302 is transferred to the primary storage unit 1308 through Access of Direct Memory (DMA), and is used for a program and the like executed by the CPU 1306.! The decoder AV 1303 is a device with a function of decoding the ES of video and ES of audio codifibadas. The AV decoder extracts the ES from the PES packet that carries the audio and video information sent from the TS decoder, and decodes the ES. An audio signal i and a video signal obtained through the decoding carried out by the AV decoder 1303 are sent to the loudspeaker 1304 and the visual presenter 1305 at the time of the reproduction of the service, but are sent to the encoder AV 1302 at the time of service recording. Which output route to take is controlled by the CPU 1306, which receives a software instruction. | The loudspeaker 1304 reproduces audio sent from the AV decoder 1303. i The visual presenter 1305 plays video sent from the AV decoder 1303. i The CPU 1306 executes a program that operates in the transmission recording and playback apparatus. The CPU 1306 executes a program contained in the ROM 1309. Or, the CPU 1306 executes a program downloaded from a transmission signal or a network and content in the primary storage unit 1308. Or, the CPU 1306 executes a program downloaded from a transmission signal or a network and content in the secondary storage unit 1307.
The tuner 1301, TS decoder 1302, decoder AV 1303, loudspeaker 1304, visual presenter 1305, secondary storage unit 1307, primary storage unit 1308, ROM 1309 and input unit 1310 are controlled in accordance with the addresses of the executed program. In addition, the CPU 1306 is able to control the adapter 1311 by communicating not only with the devices present within the terminal apparatus 1300, but with devices within the adapter 1311. ii I The secondary storage unit 1307 is a memory device, whose memory it is not erased even if the power supply to the device is interrupted; for example, a non-volatile memory such as a FLASH-ROM, a hard disk drive (HDD), a rewritable medium such as a CD-R and a DVD-R. The secondary storage unit 1307 stores information based on an instruction from the CPU 1306. The primary storage unit 1308 is a device that has a function of temporarily storing information in accordance with an instruction from the CPU 1306, a device capable of DMA transfer, and so forth, and is configured of a RAM or the like. ROM 1309 is a memory device not to be more specific, it is configured of a DVD, and the like. The program that is stored in the ROM 1309. Input 1310 is, to be more specific, configured from a front panel or a remote control receiver, and accepts a user input. Figure 14 is an example of a case where the input unit 1310 is configured from the front panel. A front panel i 1400 t, has seven buttons: one cursor button up I 1401, a downward cursor button 1402, a left cursor button 1403, a right cursor button 1404, a I button © K 1405, a cancel button 1406, an EPG 1407 button and a I mode change button 1408. When a user presses a button, an identifier of the button pressed is notified to the CPU 1306. I The 1311 adapter is a device for descrambling the MPEG-2 transport stream sent on the In-Band frequency scale, and includes one or more descramblers. The transport stream MPEG-2 sent by the tuner 1301a is input to the adapter 1311, and the TS packet having the PID specified by the CPU 1306 is descrambled. The adapter 1311 sends the MPEG-2 transport stream, which has been descrambled, to the TS 1302 decoder. In addition, the 1311 adapter performs format conversion of sent data on a frequency scale OOB. The information that is sent by OOB is modulated in the QPSK modulation format. With respect to the output transmission, the scrambler QPSK 1301b demodulates the output signal: sent from the system on the transmit station side 101, and a bit stream generated in the adapter 1311 is input. The adapter 1311 extracts information specified by the CPU 1306 from various information I included in the bitstream, converts the information into a format that can be interpreted by a program that operates on the CPU 1306, and provides this to the CPU 1306. On the other hand, with respect to the input transmission, the CPU 1306 enters information that will be sent to the transmission side system 101 on the adapter 1311. The adapter 1311 converts the information entered from the CPU 1306 into a format that can be interpreted by the system on the transmission station side 101, and send this to the QPSK 1301c modulator. The QPSK modulator 1301c modulates by QPSK the information entered from adapter 1311, and sends this to the system on the transmitting station side 101. A CableCARD, formerly called an Installation Point (POD), used in the United States cable system, , can be given as a specific example of the 1311 adapter. The AV 1312 encoder encodes the audio signal decoded by the AV 1303 decoder into audio in the MPEG format, and encodes the video signal into video in the MPEG video format. The AV 1312 encoder sends the video and audi? encoded by the 1313 multiplexer. The AV 1312 encoder can be obtained by publicly known technology. The multiplexer 1313 is a device that has the function of multiplexing, in an MPEG-2 transport stream, the video and audio input from the AV 1312 encoder as well and separated by the can be obtained by I Hereinafter, a process is described in detail : First the process in the. which the service contained in the transmission wave is recorded in the secondary storage unit 1307. I Figure 15 shows a conceptual reproduction expressing the sequence of physical connections, details of I processing and input / output data format of each device during service recording. 1500 is a Terminal apparatus, which has: tuner 1301; adapter 1311; a descrambler 1501; the TS 130 decoder; a PID filter 1502; a section filter 1503; i AV decoder 1303; the primary storage unit 1308; the AV 1312 encoder; the multiplexer 1313 and a recording area i 1504. The constituent elements in the figure 15 that i have the same numbers as in figure 13 have the same functions and in this way their descriptions are omitted. First, the tuner 1301 carries out tuning in the transmission wave according to a tuning instruction provided by the CPU 1306. The tuner 1301 demodulates the transmission wave and enters the transport stream MPEG-2 in the adapter 1311 .! The descrambler 1501, which is inside the adapter 1311, descrambles the transport stream MPEG-2 < based on conditional access information for each observer. The MPEG-2 transport stream, which has been descrambled, is entered into the i TS decoder. Two types of devices that process the MPEG-2 transport stream are present within the TS 1302 decoder: the PID filter 1502 and the section filter 1503. The PID filter 1502 extracts, from the MPEG-2 transport stream entered, a TS packet that has a PID Specified by the CPU 1306 and then extracts a PES packet and an MPEG-2 section present in that payload. For example, when the MPEG-2 transport stream in Figure 6 is inputted in case CPU 1306 has instructed PID filtering to extract the TS packet with a PID = 100, packets 601 and 603 are extracted, then they are concatenated and then a PES packet of a video 1 is reconfigured. Or, when, the transport stream MPEG-2 in figure 6 is entered in case the CPU 1306 has instructed PID filtering that extracts the TS packet with a PID = 200, packets 602 and 605 are extracted, then concatenated and after? an MPEG-2 section of data 1 is reconfigured. i The section filter 1503 extracts the MPEG-2 section conforming to a section filter condition specified by the CPU 1306 from the entered MPEG-2 sections, and transfers this MPEG-2 section to the unit by DMA; Primary storage 1308. A PID value can be specified as the section filter condition, and a value 'table_id can be specified as a helper condition. For example, CPU 1306 specifies PID filtering that extracts the TS packet with a PID = 200, and section filtering that extracts a section with a table_id of 64. As mentioned above, after the MPEG-2 section of the! data 1 is reconfigured, the section filter 1503 extracts! only the section with a table_id of 64 among those MPEG-2 sections, and transfer this to the primary storage unit 1308 via DMA, which is a buffer.; The MPEG-2 section that is input to the primary storage unit 1308 is input to the multiplexer 1313. A video PES packet and an audio PES packet extracted by the TS 1302 decoder are input to the AV 1303 decoder. AV decoder decodes the PES video package and converts it into video, and enters this into the i AV 1312 'encoder. The AV decoder also decodes the audio package i PES and converts the audio, and enters this into the AV 1312 encoder. The AV 1312 encoder converts the video into video MPEG and enter this in the multiplexer 1313. The AV 1312 encoder also converts the audio into MPEG audio and enters this in the multiplexer 1313. The multiplexer 1313 multiplexes the MPEG video and MPEG audio input from the AV encoder, in the entered MPEG-2 section of the primary storage unit 1308, and then generates a transport stream MPEG-2. The generated MPEG-2 transport stream is recorded in the recording area 1504. i The recording area 1504 is composed of all or part of the secondary storage unit 1307, or another recording area, and records the MPEG-2 transport stream, which constitutes a service. Next, the process in which the service is read consecutively from the secondary storage unit 1307 and is reproduced is described below. Figure 16 shows a conceptual reproduction that expresses the sequence of physical connections, details of Processing and input / output data format of each device during service playback. 1600 is a I used terminal equipment, which has: recording area 1504; the decoder of TS 1302; the PID filter 1502; the filter of section 1503; the AV 1303 decoder; the loudspeaker 1304; the visual presenter 1305; and the primary storage unit 1308. The constituent elements of figure 16 having the same numbers as in figure 13 have the same functions and thus their descriptions are omitted. In the order described in Fig. 15, the MPEG-2 transport stream recorded in the recording area 1504 is input to the TS 1302 decoder.] Next, a video ESP and an audio PES having; a PID specified by the CPU 1306 is extracted by the PID filter 1502 within the decoder of TS 1302. The extracted PES packet is input to the AV decoder 1303. Or, the MPEG-2 section having a PID and a table id specified by the CPU 1306 is extracted by the PID filter 1502 and the section filter 1503 inside the TS 1302 decoder. The extracted MPEG-2 section is transferred by DMA to the primary storage unit 1308. The video PES and the audio PES input to the AV 1303 decoder are decoded, and sent as an audio signal and a video signal. After that, the audio signal and the video signal are input to the visual presenter 1305 and speaker 1304, thus reproducing the audio and video. i The MPEG-2 section entered in the primary storage unit 1308 is input to the CPU 1306 and used by software when appropriate. An example of a hardware configuration that relates to the present invention has been described so far. Hereinafter, a key function of the present invention is described, which is the control of recording and reproduction of the service by means of a Java program,. The recording of the service in the present invention refers to recording video, audio, a Java program, synchronization information of the Java program and so on which are contained in the service, in a storage medium such as a hard disk, a disk Blu-ray (BD), a Digital Versatile Disc (DVD), and a memory card: Secure Digital (SD). These storage media I are indicated, in the configuration diagram shown in Figure 13, as the secondary storage unit 1307. i The reproduction of the service refers to the execution and reproduction of the video, audio and Java program recorded in the recording medium, with based on the synchronization information of the Java program. It is required that a reproduction result of a recorded service is almost equivalent to a result of directly reproducing the service after receiving a transmission wave. Figure 17 is a configuration diagram of a program necessary for recording and reproduction of the service, and is software recorded in ROM 1309. i A program 1700 is formed of an OS 1701, an EPG 1702, a Java VM 1703, and a Java library 1704, which are subprograms. i OS 1701 is an operating system; Linux, Windows, and the like are examples. OS 1701 is composed of: a 1701a core to execute other subprograms such as the EPG 1702 and VM Java 1703; and a 1701b library used by the sub-programs to control the constituent elements I of the terminal point 1300. The 1701a core is publicly known technology and therefore its detailed description is omitted.; The library 1701b provides, for example, a tuning function to control the tuner. The library 1701b accepts, from another subprogram, tuning information that includes a frequency, and supplies this to the tuner 1301. The tuner 1301 carries out demodulation based on the tuning information provided, and the transport stream MPEG-2 can pass. demodulated to the TS 1302 decoder.
As a result, other subprograms can control the I tuner 1301 through library 1701b. Also, library 1701b provides channel information to uniquely identify a channel. • An example of the channel information is shown in Figure 20. The channel information is sent using an OOB or a frequency scale In Band, it is converted into a graph format by the 1311 adapter, and is stored in a unit of temporary memory accessible by the library. A 2001 column is a channel identifier, and is equivalent to, for example, an originator identifier (hereafter, source_ID) as defined by SCTE65 Service Information Delivered Out-Of-Band For Digital Cable Television. A 2002 column is a channel name and is equivalent to a source_ID in the same SCTE65 standard. A column 2003 is tuning information, and is information such as a frequency, a transfer rate, a modulation formation and the like given to the tuner 1301. A column 2004 is a program number for specifying the PMT. For example, a 2011 row is a group of service information with a channel ID of "1", a channel name of "channel" 1", a frequency of" 150 MHz ... "in the tuning information and a program number between" 101. "In addition to this, it is also possible that the library 1701b establishes parameters used in the control of the I hardware constituent elements shown in the figure 13. The individual functions are described below., The Java VM 1701 is a Java virtual machine that sequentially analyzes and executes programs written in the Java ™ language.The programs written in the Java language are Compiled from intermediate codes that do not depend on hardware, called byte codes, the Java virtual machine is an interpreter that executes these byte codes.
Java 17,03 runs the Java 1704 library that is written in the Java language. Details of the Java language are explained in publications such as "Java Language Specification" (ISBN -201-63451-1) and "Specification of Java Virtual Machines" (ISBN 0-201-63451-X). In addition, it is possible to invoke or be invoked by other subprograms not written in the Java language through a native Java interface (JNI). The details that refer to the NYI can be found in the book "Native Java Interface" and so on. 'The Java library 1704 is a library written in the Java language and which is invoked by the Java program to control functions of the transmission recording and playback apparatus. However, there are situations in which a subprogram not written in the Java language, such as the 1701b library of OS 1701, is used according to I need. The Java program can use a function provided by the Java 1740 library when invoking a Java application programming interface (API) contained by the Java 1704 library. A 1704c tuner is a Java library for I control the reception tuner In Band 1301a in the Terminal of recording and reproduction of transmissions. When I read the Java program passes tuning information that includes a frequency to the tuner 1704c, the tuner 1704c uses that information to invoke a tuning function of the library 1701b, and as a result, it is possible to control an operation of the receiving tuner In Band 1301a of the recording and reproduction terminal of i transmissions. An SF 1704e is a Java library for controlling a function of the PID filter 1502 and the section filter 1503 of the transmission recording and playback terminal. When | the Java program passes filter conditions such as a PID, table_id and similar to the SF 1704e, the SF 1704e uses a function of the library 1701b, based on these conditions, it establishes the filtering conditions and controls the PID filter 1502 and the filter of section 1503, acquires an MPEG-2 section that satisfies desired filter conditions and passes the MPEG-2 section to the Java program that has established the filter conditions. A DSM-CC 1704d is a Java library to access a file system of an object carousel DSM-CC i The DSM-CC object carousel is included in the MPEG-2 section acquired by the SF 1704e. The DSM-CC is defined by ISO / IEC13818-6, and is a mechanism to use the MPEG-2 section to send an arbitrary file. By using this, it is possible to send a file from a transmission station to a terminal. Based on an i DSM-CC 'identifier and a file identifier specified by the Java program and so on, the DSM-CC 1704d uses the SF 1704e and it acquires the MPEG-2 section, extracts a file based on the ISO / IEC13818-6 standard, and sends this file to the primary storage unit 1308, the unit of I secondary storage 1307 and the like. A detailed method for implementing the DSM-CC is not related to the present invention and therefore its details are omitted. An AM 1704b is an application manager that provides a function to manage the execution and termination of the Java programs contained in the service. I The AM 1704b extracts a Java program multiplexed on a channel specified by a specified MPEG-2 transport stream, and causes the execution or termination of that extracted Java program according to synchronization information multiplexed separately. A Java class file of the Java program is multiplexed into the transport stream MPEG-2 in the DSM-CC format mentioned above.
In addition, the synchronization information of the Java i program is in a format called AIT and is multiplexed in the transport stream MPEG-2. AIT is an acronym for Application Information Table, as defined in section 10 of the DVB-MHP specification (ETSITS 101812 DVB-MHP specification VI.0.2), and is an MPEG-2 section with a table_id of "0x74" . In the descriptions of the present modality, the AIT used is a modified version of the one that is defined by the DVB-MHP specifications. An internal configuration of the AM 1704b is shown in Figure 24. The AM 1704b is configured of an AIT monitoring unit 2402 and an application management state unit 2401. i The AIT 2402 monitoring unit monitors the status of the update of the AIT, with the private section and the channel identifier of the MPEG-2 transport stream that < s sent from the TS decoder at the time of service playback and recording, as an entry !. First, the AIT monitoring unit 2402 searches for channel information in library 1701b with a channel identifier specified as a key, and obtains the corresponding service program number. Then, using (SF 1704e and the like, a PAT of the transport stream MPEG-2 is acquired.) Then, the PID of a PMT that corresponds to the program number obtained is obtained from the information of the PMT. the SF 1704e, it I acquires the real PMT. The acquired PMT is in a format as in Figure 11, and it has written the PID of an elementary that has "data" as a current identifier and "AIT" as supplementary information. Moreover, when the PID and table_id "0x74" of the AIT obtained now as the filtering conditions are given by the SF 1701e, the real AIT is obtained. Figure 22 is a graph schematically showing an example of the information in the AIT. A version number of AIT 2200 expresses the version of that AIT. The higher the version of the AIT, the more recent the AIT will be. The AIT with the same version of AIT is received repeatedly, but the monitoring unit of AIT 2402 ignores and does not acquire AIT with the same version of AIT as a TIA that has already been acquired, and only acquires an AIT that is more recent. than the AIT already acquired. Note at this time, and there is a possibility that a version update of the PAT and the PMT will occur. Thus, if a version update occurs in the PAT and in the PMT, it is continuously monitored, and in the event that a version update in the PAT or PMT actually occurs., the real AIT must be reacquired through the method mentioned above based on the PAT and PMT of the updated version. The AIT monitoring unit 2402 sends the new AIT acquired by AIT to the application status management unit 2401 and a recording services selection unit 2404. A column 2201 is an identifier of the Java program. According to the MHP standard, this identifier is defined as an Application ID. A column 2202 is control information of the Java program. In the control information, there is "self-start", "present", "delete" and the like; "autostart" means that the terminal 1300 executes the Java program automatically in an instant, "present" means that an automatic execution is not performed, and "delete" means stopping the Java program. A column 2203 is a DSM-CC identifier to extract the PID that includes the Java program, in the DSM-CC format. A column 2204 e¡s a program name of the Java program. A column i 2205 is a service limit indicator (hereinafter, serviqe_bound_flag), where 1 means that the program Java 'will undoubtedly end when a different service is selected. Zero means that when another service is selected, in case the Java program that also corresponds to the AIT of that service is indicated, that the Java program continues to be executed without being terminated. However, even in the case of 0, priority is given to the control information of a Java program in a newly selected service. Also in the case of 0, when the newly selected service has not been recorded, the execution of the current Java program as such is continued. i 'Note that in such case, the configuration may be one in which the Java program is terminated. Here, an EPG application in which selective replication can be carried out for a service can only be given as an example of a Java program in which the I servic _bound_flag = 0 In other words, by including an identical application in which the service_bound_flag = 0 in All the services to be reproduced selectively, it is possible! run the EPG application continuously without the i termination in case each service is reproduced selectively from this EPG application. The rows 2211, 2212, 2213 and 2214 are groups of the Java program information. The Java program defined by row 2211 is a combination of the Java program identifier "0x3221", "autostart" control information, a DSM-CC identifier "1" and the program name "a / TopXlet". The Java program defined in row 2212 is a group that includes a Java program identifier "3x3222", the control information "present", a DSM-CC identifier "1" and a program name "b / GameXlet" . Here, the three Java programs defined by rows 2211, 2212 and 2214 have the same DSM-CC identifier. This indicates that three Java programs are included in a file system encoded in the DSM-CC format. Here, four types of ! information are pre-written for the Java program, but in fact, more types of information are defined. Details can be found in the DVB-MHP specifications. I i The application status management unit 2401 analyzes the details of the renewed AIT I i sent from the AIT 2402 monitoring unit, and manages a state of execution of a Java program based on those details of the AIT. First, the application status management unit 2401 finds a Java program with "autostart" control information inside the AIT, and extracts the corresponding DSM-CC identifier and Java program name. Referring to Figure 22, AM 1704b extracts the Java program from row 2211, and acquires the DSM-CC identifier of "1" and the Java program name "a / TopXlet". Then, the application status management unit 2401 uses the acquired DSM-CC identifier of the AIT to access the DSM-CC 1704d and can extract the Java program file stored in the DSM-CC archiving system. The file is stored in the primary storage unit 1308, the secondary storage unit 1307 and so on. Extract data such as the file system of the TS packet from the transport stream MPEG-2 and save the data in a storage medium such as the primary storage unit 1308 and i the secondary storage unit 1307 is called I onwards download. Figure 23 is an example of a downloaded file system. In the diagram, a circle represents a directory and a square represents a file. 2301 is a root directory, 2302 is a "a" directory, 2303 is a "b" directory, 2304 is a "TopXlet. Class" file and 2305 is a "GameXlet. Class" file, 2306 is a "z" directory , 2307 is a "file" MusicXlet. Class "and 2308 is a file" StudyXlet. Class ". Then, the application status management unit 2401 passes the Java program that will be executed to the VM! Java 1703, among the file systems downloaded in the primary storage unit 1308. Here, when the name of the Java program to be executed is "A / TopXJlet", the file "a / TopXlet. Class", in which " . class' "is added to the end of the program name, it is the file, which will be executed. "/" is a division of directory and file name, and with reference to figure 23, file 2304 is the Java program that must be executed. The archive is executed in the Java VM as a Java program. The application status management unit 2401 analyzes the AIT each time an AIT with a AIT's new version is sent from the AIT monitoring unit 2402 and changes a running state of a new Java program. A JMF 1704a handles the playback control of the video and audio contained in the service. Specifically, at the time of service playback, the JMF 1704a causes a specific video ES and an audio ES I specific from the MPEG-2 transport stream sent from the TS decoder will be input into the AV decoder. An entry of the JMF 1704a is a channel identifier of a channel that will be reproduced. First, the JMF 1704a fuses channel information in library 1701b with a channel identifier specified as a key, and obtains the program number. Then, using the SF 1704e and the like, the PAT of the transport stream MPEG-2 is acquired. Then, the PID of the PMT corresponding to the program number obtained is obtained from the information of the PMT. Again, using the SF 1704e, the actual PMT is acquired. The acquired PMT is in a format like the one shown in Figure 11, and it has written the PIDs of elementary streams that have "video" and "audio" as the current identifiers. When the JMF 1704a sets those PIDs in the filter! PID 1502 of the decoder of TS 1321 through the library 1701b, the video ES and the audio ES, in which) those PIDs are multiplexed, are decoded by the AV 1303 decipher, as shown in figure 15 or i figure 16 The decoded audio and video are played through! of speaker 1304 and visual presenter 1305. An administrator of recorded service handler 1704g handles the recording and execution of a recorded service handler to determine whether or not another service is simultaneously recorded in addition to a service specified at the time of recording. Figure 24 shows an internal configuration of the recorded service handler manager 1704g. The recorded service manager manager 1704g includes: a recorded service selection handler unit 2406; a handwriting invocation unit for recording recorded service 2405; a multi-service recording permission handler unit 2408 and a multi-service write permission handler unit 2407. The recorded services handler handler registration unit 2406 provides a Java API that records a handheld of recorded services. The Java API is in a registerHandler format (Handler h) and specifies the i I service selection handler recorded in h. When this AP | I is invoked, the specified recorded service selection handler is stored in the primary storage unit 1308. The recorded service selection handler is a part of the downloaded Java program, and is program code written in the Java language. The recorded service selection handler has a return value of i a Handler method. notify that you have a PMT provision [] (AIT ait, PMT pmt, PMT pmt []). The ait parameter is an AIT that injects the service that will be recorded; the pmt parameter is the PMT that indicates the service that will be recorded; and the pmt [] parameter is a PMT group that will be recorded simultaneously. These parameters are transmitted from the unit | selection of recording services 2404 to the grabadfs service selection handler invocation unit 2405. The downloaded Java program refers to information of these parameters, selects the service to be recorded simultaneously with the original service, and returns This is the PMT return value []. Note that a value of null returned means that the recorded service selection handler does not particularly specify a service to be recorded, and the selection of the service to be recorded is left to the recording manager 1704h. The recorded service selection handler invocation unit 2405 accepts, from the selection unit I of recording services 2404, the AIT that includes the service that will be recorded, the PMT that indicates the service that will be recorded and all the PMTs that correspond to the service that will be recorded simultaneously. Then, the recorded service selection handler invocation unit 2405 invokes, like those pieces of information, a notification method of the recorded service selection handler that is registered in the primary storage unit. Then i of that, the handler invocation unit I recorded service selection 2405 notifies the recording services selection unit 2404 of the PMT return value [] from the recorded services selection handler. 'The recording service handle manager of various services 2408 provides a Java API I registering a recording permission handler for several services. The Java API is in a registerHandler format (Allowfiandlerh), and specifies the recording permission handler of several services to h. When this API is invoked, the specified multi-service recording permission handler is stored in the primary storage unit 1308.
The recording permission handler for several services is a part of the downloaded Java program, and is program code written in the Java language. The recording permission handler of several services has, as a return value, a Handler method. allowMultiServiceRec () with a Boolean value. When this method is invoked, the downloaded Java program judges whether or not the recording of several services is allowed simultaneously with the original service, and returns this as the return value. A true playback speed means that recording simultaneously is allowed. various services. A false return means that the recording of several services is not allowed, and only the specified service is recorded only once. I, The permission handler invocation unit of ! Recording multiple services 2407 invokes the allowMultiServiceRec method of the recording permission manager of various services registered in the primary memory after receiving a request for judgment of recording permission of several services of the recording service selection unit 2404. After of that, the multi-service recording permission handler unit 2407 notifies the recording service selection unit 2404 of the return value from the multi-service write permission handler, the recording manager 1704h saves the recording service. MPEG-2 transport stream that includes the service specified in the secondary storage unit. Figure 24 shows an internal configuration of the recording manager 1704h. The recording manager 1704h includes a recording registration unit 2403 and the recording services selection unit 2404. With the channel identifier, start time and end time as inputs, the recording register unit 2403 records , in the secondary storage unit 1307, only the space between the start time and the end time of the specified service. The recording register unit 2403 is a J J API for the recording record, which has a record (int source_id, Time start, Time end). source_id specifies the channel identifier, start specifies the time; Start recording and end specifies the recording end time. In addition, the recording record unit I 2403 also accepts an application for registration from programs other than Java. For example, it is possible to specify the channel identifier, start time and end time of the EPG 1702. When the recording register is carried out, the recording register unit 2403 is at rest. After that, after arriving at a certain time before the recording start time, the EPG 1702 supplies the specified channel identifier, time of I record start and recording end time to the recording service selection unit 2404, and request service recording. Here, the certain time may be an arbitrary time, but it is desirable that this be an amount of time in which a recording preprocessing can be completed by the service selection unit of I recording 2404, as described below. The recording service selection unit 2404 records the service in the secondary storage unit based on the specified channel identifier, recording start time and recording end time. First, the recording service selection unit 2404 ensures, within the secondary storage unit 1307, a recording area 1504 for recording the MPEG-2 transport stream corresponding from the specified start time1 to the specified end time . A media identifier is supplied to the secured recording area. Then, with the channel identifier as a key, the recording service selection unit 2404 obtains tuning information corresponding to the channel identifier of the channel information contained by the library 1701b. After that, when the recording service selection unit 2404 supplies the tuning information to the Tuner! During the recording process, after receiving a notification of the new AIT with an updated version from the AIT 2402 monitoring unit, or detecting a version update of a PAT or a PMT, the service selection unit 2404 notifies the recorded service selection handler unit 2405 of the most recent AIT, the PMT of the service to be recorded as specified by the channel identifier which in turn is specified by the registration unit. 2403, and all the PMTs within the MPEG-2 transport stream as the recorded service simultaneously, and request the invocation of the recorded service selection handler. Then, as indicated above, the recorded service selection handler invoking unit 2405 returns the return value of a recording and playback handler notification method to the recording service selection unit 2404. If an arrangement of PMT returns from the recorded service selection handler invocation unit ! 2405, 'a service expressing the specified PMT is recorded simultaneously. All the ESs indicated in the PMT layout i, or in other words, the audio, video and all the PIDs and table_ids of the section ES that constitute the service related to all the PMTs, are sent in the PID filter 1502 and, the section filter 1503 of the TS decoder.
However, in case there is little space remaining in the unit! secondary storage 1307, only a part of the audio / video ES and section is recorded, according to that remaining i space. In other words, the recording service selection unit 2404 examines the remaining space in the secondary storage unit 1307 through the library 1701b, and sets the PID filter 1502 and the section filter 1503 of the TS decoder to be recorded, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video ES is written into the stream, and can be extracted by the library 1701b. There is a method in which the amount of space needed for recording is recorded from the bit rate and a recording time, and a service in which at least the ES of I audio / video can not be recorded is not recorded. After that, an output destination of each hardware constituent element is established through the library 1701b to follow the process, shown in FIG. 15, of recording the service included in the transmission wave in the secondary storage unit 1307. Then, according to the flow 'described in FIG. 15, all the ESs constituting a desired channel are recorded in the recording area 1504 which has been secured. On the other hand, if null returns from the unit of invocation of recorded service selection handler 2405, the recording service selection unit 2404 determines, through the following stages, the service that will be recorded simultaneously. i 1 First, the recorded service selection unit 2404 refers to the AIT, and examines a servicé_bound_flag of all the Java programs included in the service. 1 If the service_bound_flag = l for all Java programs, the recorded service selection unit 2404 records only the service that will be recorded as specified by the channel identifier. In other words, all the ESs indicated in the PMT of the service to be recorded, or in other words, the audio, video and all the PIDs and table_ids of the ES of 'section constituting the service, are set in the PID filter. 1502 and the section filter 1503 of the TS decoder. After this, an output destination of each hardware constituent element is established through the library 1701b to follow in this way the process, shown in FIG. 15, of recording the service included in the transmission wave in the unit. secondary storage 1307. Then, according to the flow described in FIG. 15, all the ESs constituting a desired channel are recorded in the recording area 1504 i that has | been insured On the other hand, in case there is a Java program in which the service_bound_flag = 0, the recorded service selection unit 2404 first requests the recording permission handler unit of various services i 2407 to make a judgment of whether the recording of several services is allowed or not. In the event that the multi-service recording permission handler invocation unit 2407 return false, the process described in case the I I servic ^ _bound_flag = l is carried out, and only the service that will be recorded as specified by the channel identifier is recorded. In case the multi-service recording permission handler unit 2407 returns true, the recorded service selection unit 2404 records all services within the MPEG-2 transport stream. In other words, all the ESs indicated in all the PMTs within the MPEG-2 transport stream, or in other words, the audio, video and all the PIDs and table_ids of the section ES that constitute the service related to all the PMTs, it ! set in the PID filter 1502 and the section filter 1503 of the TS decoder. However, in case there is little remaining space in the secondary storage unit 1307, only a part of the audio / video ES and section is recorded, according to that remaining space. In I other words, the unit of selection of recorded services 2404 examines the remaining space in the secondary storage unit 1307 through the library 1701b,! and puts the PID filter 1502 and the section filter 1503 of the TS decoder to be recorded, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video IES is written into the stream, and can be extracted by the library 1701b. There is a method in which the amount of space needed to record is calculated from the bit rate and a recording time, and a service in which at least the audio / video IS can not be recorded is not recorded. After that, an exit destination, of each constituent element of hardware is established through the library 1701b in order to continue! the process, shown in Figure 15, of recording the service included in the transmission wave in the secondary storage unit 1307. Then, according to the flow described in Figure 15, all the ESs that constitute a desired channel are recorded in the recording area 1504 that has been secured.
It is desirable to complete the preprocessing that occurs before the recording actually takes place, as described above, before the specified recording start time. The service can be recorded in the recording area 1504 after that specified start time. j After that, when the end time of I specified recording, the recorded service selection unit 2404 stops the tuning process of the tuner 1704c, and causes the writing of the transport stream MPEG-2 in the recording area 1504 to terminate. Further! a recording information management table as shown in Figure 21 is created as management information of the MPEG-2 transport stream recorded above. Figure 21 is an example of the recording information management table for managing recording information recorded in the recording area 1504 of the secondary storage unit 1307 and the like. The recording information is recorded in graphic format. A column 2101 is a recording identifier. A column 2102 is the channel identifier is a number is the time column 2105 is the recording end time for the service. A column 2106 is a media identifier that identifies the MPEG-2 transport stream that is recorded as the service. Each of the rows 2111 to 2112 is a group of each recording identifier, channel identifier, program number I, start time, end time and media identifier. For example, row 2111 shows a recording identifier of "000", a channel information of "2", a program number of "102", a start time of "2005/03/30 11:00", an end time of "2005/03/30 12: 00" and a media identifier of "TS_001". A 1704f service administrator manages the reproduction of the service within the MPEG-2 transport stream that has been recorded in the unit.
I secondary storage 1307, or service in the transport stream MPEG-2 entered from adapter 1311.
! Hereinafter, a process is described in the case of managing the reproduction of the service contained in the transport stream MPEG-2 recorded in the secondary storage unit 1307. This is equivalent to the reproduction of a service already recorded. In this case, the service manager 1704f has the recording identifier as an entry. Only the service already recorded in the secondary storage unit 1307 and specified by that recording identifier will be reproduced. First, referring to the recording information management table created by the recording manager 1704h, the service manager 1704f obtains the channel identifier and the media identifier of the service that will be reproduced, through the identifier of the service. specified recording. Then, through the library 1701b, the service manager 1704f instructs the secondary storage unit 1307 to send, to the i TS decoder 1302, the MPEG-2 transport stream specified by the obtained media identifier. In addition !!, through the library 1701b, the service manager 1704f establishes the output destination of each constituent element of hardware to flow through the trajectory shown in figure 16. After this, the unit! secondary storage 1307 is provided to JMF 1704a as the location of the transport stream MPEG-2, and the channel identifier of the channel to be reproduced is provided. Then, through the process described above, the JMF 1704a begins playback of multiplexed audio and video in the MPEG-2 transport stream sent from the secondary storage unit 1307. Furthermore, the channel identifier which will be reproduced is provided to the monitoring unit of AIT 2402 of AM 1704b. Then, according to the multiplexed AIT in the transport stream MPEG-2 sent from the secondary storage unit 1307 by means of the decoder of TS 1302, the AM 1704b starts the execution and termination of the multiplexed Java program in the same transport stream MPEG-2.
After that, the reproduction of the service is continued until the end of the transport stream MPEG-2 sent from the secondary storage unit 1307. On the other hand, the case of managing the reproduction of the service within the MPEG-2 transport stream entered from the 1311 adapter.
This corresponds to reproducing the service directly from the transmission wave. In this case, the administrator of I services 1704f has the channel identifier of the service that will be reproduced as the entry. Through library i 1701b, service manager 1704f instructs the MPEG-2 transport stream sent from adapter 1311 of figure 17 to be sent to the decoder of TS 1302. In addition, through the library 1701b, the service manager 1704f sets the output destination of each hardware constituent element to flow through the path shown in the figure; 16. After that, the 1311 adapter is provided to the JMF 1704a as the location of the transport stream MPEG-2Í, and the channel identifier that will be reproduced is provided. Then, through the process described above, the JMF Í704a begins playback of multiplexed audio and video within the MPEG-2 transport stream sent from the 1311 adapter. In addition, the 1311 adapter is provided to the AM 1704b as the location of the MPEG-2 transport stream, and is provided the channel identifier that will be reproduced. Then, according to the multiplexed AIT in the transport stream MPEG-2 sent from the adapter 1311, the AM 1704b begins the execution and termination of the multiplexed Java program in the transport stream MPEG-2 sent from the secondary storage unit. 1307. After that, the reproduction of the service continues until the end of the transport stream i MPEG-2 'sent from the secondary storage unit 1307. i I The EPG 1702 is an Electric Program Guide, and it is a function that allows a user to select a TV program that will be recorded and played. Normal reproduction through receiving a transmission wave deviates from the scope of the present invention and thus its descriptions are omitted. In the case of recording the TV show, EPG 1702 visually presents a list of TV shows I transmitted, and allows the user to select a desired TV program. Figure 19 is an example of a display screen to allow the user to select a TV program that will be recorded. One hour 1901 and channels 1902 and 1903 are presented visually in a grid, and it is possible to review the TV programs of each recordable channel each time. It is possible for the user to move a focus 1911 within the screen using up, down, right and left cursor buttons 1401 to 1404 which are included in the input unit 1310 of the terminal apparatus 1300. Furthermore, when i press a button OK 1405, the TV program that lights the focus is currently selected to be recorded.
I to EPG! 1702 acquires the channel identifier of the TV program of the library, and when the TV program to be recorded © is selected by the user, it notifies the ! channel identifier, start time and end time of the TV program to the recording register unit 2403 of the recording manager 1704h. On the other hand, in case of playing a recorded TV program, the EPG 1702 visually presents a list of already recorded TV programs, and allows the user to select a desired TV program. Figure 18 is an example of a visual screen presenter to cause the selection of an already recorded TV program. All TV programs stored in the secondary storage unit 1307 at that time point are listed. It is possible for the user to move a focus 1801 within the screen by using the up and down cursor buttons 1401 and 1402, which are included in the input unit 1310 of terminal point 1300. Moreover, when the OK button 1405 is pressed, the TV program that currently illuminates the focus is selected to be reproduced. The EPG 1702 acquires the recording identifier of the recording manager's TV program 1704h, and when the TV program to be reproduced is selected by the user, it notifies the service manager 1704f of the recording identifier of that TV program. Based on this information, the service administrator 1704f reads and plays the TV program of the secondary storage unit 1307. A characteristic operation of this I mode configured as described above is shown in I and forward in the present. ! Figure 31 is a flow chart showing an outline of a process when the service included in the transmission wave is recorded in the secondary storage unit 1307, in the present embodiment. In S3101, the Java program or other program i provides channel identifier, recording start time and recording end time to the recording register unit 2403. Then, moving to S3102, the recording register unit 2403 rest until a period I of constant time before the specified recording start time. After this, when the constant period of time before the specified recording start time is reached, the process goes to S3103, and the recording register unit 2403 requests the unit of recording.
I selection of recorded services 2404 begin the recording process. The recorded service selection unit 2404 repeats the following process until the specified recording end time is reached. When a version update of the i AIT or ¡PMT occurs, or an update of the PMT caused by a version upgrade of the PAT occurs, the process goes to S3104, 'and the recorded service selection unit 2404 I will acquire all the PMTs within the transport stream that contains the service to be recorded, the service being specified by the channel identifier. The unit is requested to invoke the service selection handler I grabadps 2405 specify all the PMTs and invoke a notification method of the grabadbs service selection handler. The process branches in the following way according to that return value. i, In case the return value is a PMT arrangement, the process goes to S3105, and the recorded service selection unit 2404 records, in the unit of Secondary storage 1307, all audio / video ESs and sections included in the PMT arrangement, according to the remaining space in the secondary storage unit 1307.
In case the return value is null, the processed goes to S3106, and a value of the service_bound_flag is Examines for all Java AIT programs of the service specified by the specified channel identifier. When1 the service_bound_flag = l for all Java programs, I the process passes to S3107, and only the audio / video ESs and service section specified by the channel identifier, which in turn is specified by the recording register unit 2403, are recorded in the secondary storage unit 1307. I On the other hand, in S3106, in case the service_bound_flag is not 1 for all Java programs, the process goes to S3108. Here, the multi-service write permission handler unit 2407 is asked to invoke the AllowMultiServiceRec method of the multi-service write permission handler. If that result is false, the process goes to S3107 mentioned abovei. On the other hand, if that result is true, the process moves to S3109, and the audio / video ESs and sections of all the PMTs within the MPEG-2 transport stream that includes the service specified by the channel identifier, which is in turn specified by I the recording register unit 2403, are recorded in the secondary storage unit 1307, according to the remaining space in the secondary storage unit 1307. | When processing after each of the aforementioned branches concludes, the process is returned to S3103, and processing is repeated.
I As described above, according to the present embodiment, at the time of recording a service, if another service is simultaneously recorded or not with that service, it can be determined through the downloaded Java i program that refers to a number of ESs that will be recorded, the space available in a memory unit, and the like. In addition, it is possible to automatically detect if the Java program included in the service is of a type that can be executed for two or more services, and in case the Java program is of that executable type, it is possible to record all the recordable services. Through this, even if the Java program actually performs a service change during service playback, it is possible to run the Java program continuously without terminating abnormally.
[Second Mode] Hereinafter, an apparatus and a method according to the second embodiment of the present invention are described with reference to the figures. A hardware configuration used in the present embodiment is configured as shown in Figure 13 and Figure '14. Since it is the same configuration and function as in the first mode, its descriptions are omitted. In the present embodiment, each hardware constituent element has the following entry and exit scenario. First, Figure 15 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device, in case only one i ES specified in a service is recorded. Since it is the same configuration as that described in the first mode, its descriptions are omitted in this way. Next, Figure 25 shows a conceptual reproduction that expresses the sequence of physical connections, i details of processing and input / output data format of each device, in case all of an MPEG-2 transport stream transporting a service be recorded. 2500 is a terminal apparatus, which includes an i tuner 1301, adapter 1311, descrambler 1501 and a recording area 1504. The constituent elements in the figure! 15 that have the same numbers as in figure 13 have the same functions and in this way their descriptions are omitted. First, the tuner 1301 conducts tuning in the transmission wave according to a tuning instruction provided by the CPU 1306. The tuner 1301 demodulates the transmission wave and inputs the transport stream MPEG-2 in the adapter i 1311. The descrambler 1501, which is inside the adapter 1311, descrambles the MPEG-2 transport stream, based on conditional access information for each observer. The transport stream MPEG-2, which has been descrambled, is recorded in the secondary storage unit. I Finally, Figure 16 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and data format of Input / output of each device, during the reproduction of the service from a secondary storage unit. Since it is the same configuration as that described in the first mode, its descriptions are omitted in this way. An example of a hardware configuration that relates to the present invention has been described so far. Hereinafter, a key function of the present invention is described, which is the control of the recording and reproduction of the service by means of a Java program. A software configuration used in the present embodiment is configured as shown in Figure 17 and Figure 24. In addition, Figure 18 to Figure 23, used in the first embodiment, are again used here to describe configurations of each type of data and a screen configuration. With respect to Figure 17 and Figure 24, the constituent elements apart from the recorded service selection unit 2404 and the recorded services selection handler invocation unit 2405 are identical to those described in the first embodiment, and therefore their descriptions are omitted. The recorded service selection handler invocation unit 2405 of the present embodiment is a version! partially modified from the invoking unit of the recorded service selection handler 2405 of the first mode, and an output value differs from that of the first mode. In addition, according to this, a method of notifying the grabadqs service selection handler has a different format. A method Handler.notify (AITait, PMTpmt, PMTpmt []) of the present modality adopts an integer int value as a value of i retornd. A return value of 0 indicates that the recorded services selection handler does not attempt to determine the selection of the service to be recorded. A return value of 1 indicates that only a specified service that will be recorded is recorded. A return value of 2 indicates that the MPEG-2 transport stream transporting the service to be recorded is recorded. The recorded services selection handler invocation unit 2405 returns the return value of this notification method to the recorded service selection unit 2404. The recorded service selection unit 2404 of the present embodiment is a partially version. modified of the service selection unit recorded 2404 of the first mode, and the process following the invocation of the notification method by the recorded service selection handler invoking unit i 2405 differs from the first mode. If a return value of 1 returns from the unit invokes ion of handler of selection of recorded services I 2405, only the service that will be recorded specified by the i channel identifier is recorded. In other words, all the ESs indicated in the PMT of the service to be recorded, or in other words, the audio, video and all the PIDs and table_ids of the section ES constituting the service, are set in the PID filter 1502 and the section filter 1503 of the TS decoder. After this, a fate of I exit! of each hardware constituent element is established through the library 1701b in order to follow the process, shown in FIG. 15, of recording the service included in the transmission wave in the secondary storage unit 1307. According to the flip described in Figure 15, all the ESs that constitute a desired channel are recorded in the area of I 1504 recording that has been secured. If a return value of 2 returns from the recorded service selection handler invocation unit 2405, the complete MPEG-2 transport stream transporting the service to be recorded is recorded. In this case, as shown in Fig. 25, the recorded service selection unit 2404 establishes an output destination of I each constituent element of hardware by means of library 1701b, in accordance with input and output operations that occur when the complete MPEG-2 transport stream carrying the service is recorded. Then, according to the flow described in Figure 25, all the complete MPEG-2 transport stream that carries the The service to be recorded is recorded in the secured recording area 1504. On the other hand, if a return value of 0 is returned from the recorded service selection handler invocation unit 2405, the recorded service selection unit 2404 determines, through the following stages, the service to be recorded simultaneously. First, the service selection unit i recorded 2404 refers to the AIT and examines a service_bound_flag of all the Java programs included in the service. ! If the service_bound_flag = l for all Java programs, the recorded service selection unit 2404 records only the service that will be recorded as specified by the i i channel identifier. In other words, all the ESs indicated in the PMT of the service to be recorded, or in other words, the audio, video and all the PIDs and table__ids of the 'ES of section constituting the service, are set in the PID filter 1502 and the filter section 1503 I of the TS Coder. After this, a destination of the output of each constituent element of hardware is I establishes through the library 1701b to follow the i processed, shown in figure 15, to record the service I included in the transmission wave in the secondary storage unit 1307. Then, according to the flow described in Figure 15, all the ESs that constitute a desired channel are recorded in the recording area 1504 that has been secured. On the other hand, in case there is a Java program in which the service_bound_flag = 0, the recorded services selection unit 2404 requests the recording permission handler of various services 2407 to invoke a judgment of whether or not allows or not the recording of several services. In the event that the multi-service recording permission handler unit 2407 returns false, the process described in the case where the service_bound_flag = l is carried out, and only the service that will be recorded as specified by the channel identifier is recorded. In the event that the multi-service recording permission handler unit 2407 returned true, the recorded service selection unit 2404 records the complete MPEG-2 transport stream carrying the service to be recorded. In this case, as shown in FIG. 25, the recorded service selection unit 2404 establishes an output destination of each hardware constituent element by means of the library 1701b in accordance with input / output operations that occur when the current Full MPEG-2 transport that transports the service is recorded. Then, according to the flow described in Fig. 25, the complete transport stream MPEG-2 carrying the service to be recorded is recorded in the secured recording area 1504. i It is desirable to complete the preprocessing that occurs before that the recording actually takes place, as described above, before the specified recording start time. Actually, the recording in the gripping area 1504 occurs after the specified start time. After that, when the specified recording end time is reached, the recorded service recording unit 2404 stops the tuning process I of Tuner 1704c, and causes the writing of the MPEG-2 transport stream in the area to end. of recording 1504. In addition, a recording information management table such as that shown in Figure 21 is created as the transport stream management information.
MPEG-2 recorded previously. The processes apart from those mentioned above are the same as in the first modality. Hereinafter an operation is shown I characteristic of the present modality configured as described above. Figure 32 is a flow diagram showing an outline! of a process when the service included in the transmission wave is recorded in the secondary storage unit 1307, in the present embodiment. In S3201, the Java program or other program provides the channel identifier, recording start time and recording end time to the recording registration unit 2403. Then, moving to S3202, the recording registration unit. 2403 is on hold until a constant period of time before the specified recording start period. After that, when the Constant period of time before the specified recording start time, the process moves to S3203, and the recording register unit 2403 requests the recorded service selection unit 2404 to begin the recording process. The recorded service selection unit 2404 repeats the following process until the specified recording end time is reached. When a version update of the AIT or ¡PMT occurs, or an update of the PMT caused by a version update of the PAT, the process goes to S3204, and the recorded service selection unit 2404 acquires all the PMTs within the transport stream that i contained the service that will be recorded, the service being i specified by the channel identifier. The unit is requested! Invoice of selection handler of recorded services 2405 specify all the MPTs and invoke a notification method of the service selection handler grabadps. The process branches off in the following manner agreed with that return value. In case the return value is 2, the processed goes to S3207, and all the transport current MPEG- i 2 that! include the service specified by the channel identifier, which in turn is specified by the recording register unit 2403, is recorded in the unit, secondary storage 1307. | i! In case the return value is 1, the process goes to S3208, and the video / audio ESs and section of only the service specified by the channel identifier, which in turn is specified by the registration unit. recording 2403, they are recorded in the secondary storage unit 1307. In case the return value is 0, the process goes to S3205, and a value of the service union indicator service_bound_flag is examined for all the Java programs of the AIT of the service specified by the specified channel identifier. In case the service_bound_flag = l for all Java programs, the process goes to S3208, described above. On the other hand, in case the service_bound_flag is not 1 for all Java programs, the process goes to S3206, and the unit is requested! In order to invoke the permissions manager of multiple services recording 2407, invoke the AllowMultiServiceRec method of the recording permissions manager of varp-os services. If that result is false, the process passes l S3208 mentioned above, However, if that resumption is true, the process goes to S3207 mentioned above. When the processing ends after each of the branches mentioned above, process i returns to S3203 , and the processing is repeated. ! According to the present method, when recording a service, it is possible to determine if only that service is recorded or if the complete MPEG-2 transport stream carrying that service is recorded through the program • Java downloaded in reference to the remaining available space in one; storage unit. In addition, it is possible to automatically detect if the Java program included in the service is of a type that can be executed for two or more services, and in case the Java program is this executable type, it is possible to record the MPEG transport stream. -2 'complete that transport the service. Through this, even if the Java program actually made a service change during service playback, it is possible to run the Java program continuously without it being terminated abnormally. I Third modality | Hereinafter, an apparatus and a method according to the third embodiment of the present invention are described with reference to the figures. Fig. 26 is a block diagram showing a general hardware configuration of the transmission recording and reproducing apparatus according to the present embodiment, in other words, a configuration ; specific intern of the terminal devices 111, 112 and 113 shown in figure 1. 1300 It is a recording device and ! reproduction of transmissions that is configured of: a tuner 1301; a TS decoder (TS demultiplexer) 1302; an AV 1303 decoder; a loudspeaker 1304; a visual presenter 1305; a CPU 1306; a secondary storage unit 1307; a primary storage unit 1308; a ROM 1309; an input unit 1310; an adapter 1311; an AV 1311 encoder; a multiplexer (MPEG-2 transport stream multiplexer or similar) 1313; a conversion unit 2601 and a reading unit 1 of section 2602. Part of multiplexer 1313, section conversion unit 2601 and section reading unit 2602, elements having the same names and numbers i as those described in figure 13 in the first embodiment are identical to those described in the first modality, and therefore their descriptions are omitted. The multiplexer 1313 differs from that of the first mode in that it does not multiplex an AIT section and a DSM-CC 'section. Apart from that, multiplexer 1313 is the same. The section conversion unit 2401 converts the location that is not multiplexed by the multiplexer into an i file, and records the file into a recording area 1504 of the secondary storage unit 1307. After passing, through the unit of primary storage 1308, section AIT and section DSM-CC which are filtered by decoder TS 1302 pass through section conversion unit 2401 and are recorded in recording area 1504 without passing through the multiplexer. Here, a recording method when recording the section in the recording area 1504 differs depending on a section format. ! In the case of a file system recorded within an MPEG-2 transport stream in a DSM-CC file system format, the 2401 section conversion unit converts this file system into a unique file system format for the recording area 1504, which is itself unique to a terminal, and records the file system in the recording area 1504. In addition, in the case of an AIT, the section conversion unit 2401 converts the AIT into an expanded recording information management table format, as in FIG. 29, and records the AIT in the recording area 1504. The recording information management table shown in FIG. 26 is an expanded version of the table. recording information management shown in Figure 21; the items identified with them! numbers in both tables have the same meaning as those in the recording information management table shown in FIG. 21. Sequence conversion unit 2401 creates a part of the AIT information management table, and merges this with the recording information management table when the service sejlection unit records 2404 creates the recording information management table. Each of rows 2911 and 2912 shows I recording information for a service. Each of the rows 2911, 2912 has a recording identifier 2101, a channel identifier 2102, a program number 2103, a service write start time 2104, a service write end time 2105, a service identifier means 2106, and a reference 2907 to the administration table of information of AIT. The AIT information management table has a media time of 2921 and a version of AIT 2922 corresponding to it. The media time 2921 is the time at the time of reproduction of the corresponding MPEG-2 transport stream, and is a time stamp showing a position in the corresponding MPEG-2 transport stream. An AIT version number 2922 corresponds to a version of AIT 2200 in FIG. 22. For example, recording information of the service having a recording identifier 2101 of "001" has a media identifier 2106 of "TS_002" and in the media time 2921 of "00:00:00" in the referred AIT information management table, the corresponding AIT version 2922 is "1". In the same way, the AIT version 2922 that corresponds to the media time 2921 of recording as an AIT file name 2923. In a real transmission wave, AITs with the same version of AIT are repeatedly transmitted any number of times, but in the present modality, upon detecting a change in the received AIT version, only the first AIT that is updated at that time point is recorded in the recording area 1504. | The section reading unit 2602 searches for the media time corresponding to the present playback time of the MPEG-2 transport stream read from the recording area, and reads, from a file, the AIT and DSM-CC file system that correspond to that media time, and- pass! these to a software AIT monitoring unit 2402. In other words, the AIT 2402 monitoring unit does not refer to a filtering result of the TS decoder as in the first mode, but rather obtains a file AIT binary and a DSM-CC file system of the section reading unit 2602.; Figure 14 is an example of configuration of the unit; of entry 1310 in the present modality. Because it is the same as that described in the first mode, the descriptions are omitted. A process in which the above-described recording and reproduction apparatus described above records a service contained in a transmission transmission in the secondary storage unit 1307, and a process in which the recording and recording apparatus is described in detail, is hereinafter described in detail. Transmission playback reads and reproduces sequentially the service of the secondary storage unit 1307. First, the process in which the service contained in the transmission wave is recorded in the secondary storage unit 1307 is described. 27 shows a conceptual reproduction I that expresses the sequence of physical connections, details of i processing and input / output data format of each device during the recording of the service. The elements l constituents in the figure that have the elements I identical to the constituent elements shown in Figure 15 have already been described in the first embodiment, and therefore their descriptions are omitted. Unlike figure 15, with the hardware configuration shown in the I figure 27, after passing through the primary storage unit 1308, the AIT section and the DSM-CCl section which are filtered by the TS 1302 decoder pass, through the section conversion unit 2601 and are recorded in the recording area 1504 without passing through the multiplexer. Next, a description is given which relates to a process in which the recorded MPEG-2 transport stream is read sequentially from the secondary storage unit 1307 and the service is reproduced. Figure 28 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device during service recording. The constituent elements in the figure having identical numbers to the constituent elements shown in figure 16 have already been described in the first embodiment and therefore their descriptions are omitted. The hardware configuration of Figure 28 differs from that in Figure 16 in that the section recorded in the recording area 1504 is read in the storage Primary through the 2901 reading unit through the primary storage without passing through the TS decoder. Up to now, an example of a hardware configuration relating to the present invention has been described. Hereinafter, a key function of the present invention is described, which is the control of the recording of the service and the control of the trick reproduction by means of a Java program. A software configuration used in the present embodiment is configured as shown in Figure 17 and Figure 24. In addition, Figure 18 to Figure 23, used in the! first mode, they are used again here to describe configurations of each type of data and a screen configuration. Referring to FIG. 17 and FIG. 24, the I constituent elements apart from the application status management unit 2401, the AIT administration unit 2402 and the recorded service selection unit 2404 are identical to those described in FIG. the first modality, and therefore their descriptions are omitted. In the present embodiment, the AIT 2402 monitoring unit is a partially modified version of the AIT 2402 monitoring unit of the first mode, and differs in that! instead of filtering and acquiring the multiplexed AIT in the MPEG-2 transport stream read from the secondary storage unit 1307, the AIT 2402 monitoring unit reads an AIT file that has been recorded separately in the secondary storage unit 1307 The AIT 2402 monitoring unit verifies that the AIT corresponds to the time! of media present in accordance with the progress of service rendering or recording with media time 2921 in the AIT information management table, acquire the AIT file name corresponding to the current media time, and read the file from Real AIT. Time; of media progresses, and when a time is reached in which a different TIA must be referenced, a new TIA is extracted. In other words, this is equivalent to a version update in the AIT. Therefore, a valid AIT time of a current version runs from a valid start time of that AIT until the valid start time of another AIT. The processes apart from this are the same as those of the AIT 3231 monitoring unit of the first modality. The application status management unit 2401 of the present embodiment is a partially modified version of the application state management unit 2401 of the first embodiment, and reads a Java class file recorded in an original file system format of the secondary storage unit i 1307, instead of reading a Java program read from the section DSM-CC! multiplexed with the MPEG-2 transport stream. Processes other than this are the same as the application state management unit of the first mode. The recorded service selection unit 2404 of the present embodiment is a partially modified version of the service selection unit recorded 2404 of the first mode, and the process that follows the recall value of the recording and playback manager notification method returning from the recorded services selection handler invocation unit i 2405 differs from the first mode. If a PMT disposition returns from the recorded service selection handler invocation unit i 2405, a group of services that the specified PMT specifies is recorded simultaneously. All the ESs indicated in the PMT position, or in other words the audio, video and all the PIDs and table_ids record the section ES that constitute the service related to all the PMTs, are sent in the Pl 1502 filter and the section filter 1503 of the TS decoder. However, in case there is very little space remaining in the secondary storage unit 1307, only a part of the ES and audio / jvideo section is recorded, according to that remaining space.
In other words, the recorded service selection unit i 2404 examines the remaining space in the secondary storage unit 1307 through the library 1701b ,! and it places the PID filter 1502 and the section filter 1503 of the TS decoder to record, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bitrate of the audio / video ES is written in the current, and may be extracted by the library 1701b.
There is a method in which the amount of space needed I for recording is calculated from the bit rate and a recording time, and a service in which at least i the audio / video IS can not be recorded and is not recorded.
I After that, an output destination of each element and constituent of hardware is set through the library i 1701b, in order to follow the process, shown in figure 27, of recording the service included in the unit. Transmission in the secondary storage unit 1307. Then, according to the flow described in FIG. 27, all the ESs constituting a desired channel are recorded i in the recording area 1504 which has been secured. On the other hand, if a null result returns from the unit, of recorded services handler invocation 2405, the recorded services selection unit 2404 determines, i through the following steps, the service to be recorded i simultaneously. First, the grabadps service selection unit 2204 refers to the AIT, and examines a service_bound_flag of all the Java programs included in the service. If the service_bound_flag = l for all Java i programs, the recorded service selection unit 2404 records only the service that will be recorded as specified by the channel identifier. In other words, all the ESs denoted in the PMT of the service that will be recorded, or in other words the audio, video and all the PIDs and table_ids of the The section constituting the service is set to i the PID filter 1502 and the section filter 1503 of the TS decoder. After that, an output destination of each hardware constituent element is established through the library 1701b in order to follow the process, i shown in FIG. 27, of recording the service included in the transmission wave in the secondary storage unit 1307. Then, according to the flow described in figure 27, all the ESs that constitute a desired channel are recorded in the secured recording area 1504. 1 On the other hand, in case there is a Java program in which the service_bound_flag = 0, the recorded services selection unit 2404 requests the invocation unit of I handle of recording permissions of several services 2407 a judgment of whether or not it is allowed to record several services. In the event that the recording permission handler of multiple services 2407 returns false, the ! process described in case service_bound_flag = l is carried out, and only the service that will be recorded as specified by the channel identifier is recorded. In the event that the recording permission handler of various i, services 2407 returns true, the recorded service selection unit 2404 records all services within the MPEG-2 transport stream. In other words, all the ESs indicated in all the PMTs I inside, of the MPEG-2 transport stream, or in other words, the audio, video and all the PIDs and table_ids of the ES, section constituting the service related to all 'PMTs, are set in the PID filter 1502 and the filter! of section 1503 of the TS decoder. However, in case there is little space remaining in the secondary storage unit 1307, only a part of the audio / video IS and section is recorded, according to that remaining space. In other words, the recorded service selection unit 2404 examines the spacing of the secondary storage unit 1307 through, of the library 1701b, and sets the PID filter 1502 and the section filter 1503 of the TS decoder to be recorded, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in the space restahte. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video ES is described in the stream, and can be extracted by the library 1701b.
There is a method in which the amount of space needed for recording is calculated from the bit rate and a recording time, and a service in which at least the audio / video ES can not be recorded is not recorded. After that, an output destination of each hardware constituent element is established through the library 1701b to follow the process, shown in FIG. 27, of recording the service included in the transmission wave in the secondary storage unit 1307 Then, according to the flow described in Figure 17, all the ESs that constitute a desired channel are recorded in the recording area 1504 that has been secured. It is desirable to complete the pre-processing that occurs before the recording actually takes place, as described above, before the specified recording start time. Really recording in the recording area 1504 occurs after the specified start time. , After that, when the specified recording end time is reached, the recorded service selection unit 2404 stops the tuning process of the i Tuner 1704c, and causes the writing of the MPEG-transport stream to come to an end. 2 in the recording area 1504. In addition, a recording information management table as shown in Fig. 29 is created as the management information of the MPEG-2 transport stream? recorded previously. Note that the part of the AIT information management table is merged with i the table created by the section 2401 conversion unit.
The processes apart from this are the same as with the application status management unit in the first mode. Hereinafter, a characteristic operation of the present embodiment configured as described above is shown hereinafter. , Figure 33 is a flow chart showing an outline of a process when the service included in the transmission wave is recorded in the storage unit I secondary 1307, in the present modality. In S3301, the Java program or other program provides the channel identifier, recording start time and recording end time in the recording register unit 2403. Then, moving to S3302, the recording register unit 2403 rests until a constant period of time before the specified recording start time. After that, when the constant period of time before the specified recording start time is reached, the process moves to S3303, and the recording register unit 2403 requests the recorded service selection unit 2404 to begin the recording process. . The recorded service selection unit 2404 repeats the following process until the specified recording end time is reached. When a version update of the AIT or I PMT occurs, or a PMT update caused by a PAT version update, the process changes to S3304, and the recorded service selection unit 2404 acquires I all the PMTs within the transport stream that contains the service that will be recorded, the service being i specified by the channel identifier. The unit of invocation of service selection handler i recorded 2405 is requested to specify all the PMTs and invoke a service selection handler notification method.
I grabadfs. The process branches in the following way according to that return value. In the event that the return value is an arrangement of PMTs, the process is passed to S3305, and the recorded service selection unit 2404 records, in the secondary storage unit 1307, all audio / video ESs and audio files. section included in the PMT layout, according to the space remaining in the secondary storage unit 1307. In case the return value is zero, the process goes to S3306, and a value of the service_bound_flag is examined for all the Java programs of the service AIT specified by the specified channel identifier. In case the service_bound_flag = l for all the Java programs, the process goes to S3307, and the video / audio ESs and section file only of the service specified by the channel identifier, which in turn is specified by the recording register unit 2404, they are recorded in the secondary storage unit I 1307. I, On the other hand, in S3306, in case the service_bound_flag is not 1 for all the Java programs, the process passes to S3308. Here, the recording permission handler of various services 2407 is invoked to invoke the AllowMultiServiceRec method of the I recording permission manager for several services. If this rebultado is false, the process passes to the mentioned S3307 ! above. On the other hand, if that result is true, the processed passes to S3309, and the audio / video ESs and sections of i all input PMTs in the transport stream MPEG-i 2 that include the service specified by the identifier channel, which in turn is specified by the recording register unit 2403, are recorded in the secondary storage unit 1307, according to the remaining space of the secondary storage unit 1307.
When processing ends after each of the branches mentioned above, the process returns to S3303, and processing is repeated. As described above, in accordance with the present modality, at the time of recording a service, if another service is simultaneously recorded or not with that service can be determined through a downloaded Java program making reference to the available space in a unit of memory, and the like. In addition, it is possible to automatically detect if the Java program included in the service is of a type that can be executed through two or more services, and in case the Java program is of this executable type, it is possible to record all the services Recordable Through this, even if the Java program performs a Service change i during service playback, it is possible to run continuously by the Java program without it being terminated abnormally. Moreover, because the private section that repeatedly sends the same data, such as the AIT and li to DSM-CC, it is converted into file format, and it is only recorded when there is an update, it is possible to keep i space in the storage unit.
Fourth modality Hereinafter, they are described with reference to the figures? an apparatus and method according to the fourth embodiment of the present invention. i ^ A hardware configuration used in the present mode is configured as shown in Figure 13 and Figure 14. Since it has the same configuration and function as I in the first modality, its descriptions are omitted. In the first mode, each hardware component has the following input and output scenario.
First, Figure 15 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device, in the case of recording only a specified ES within a service. Because this is the same configuration as that described in the first embodiment, its descriptions are omitted here. i Next, Figure 16 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and data format of I input / output of each device during playback same storage unit configuration that the descriptions are omitted here. An example of a hardware configuration relating to the present invention has been described so far. Hereinafter, a key function of the present invention is described, which is the control of the recording and reproduction of the service by means of a Java program. In addition, FIGS. 18 to FIG. 21 and FIG. 23, which are used in the first embodiment, are used again herein to describe configurations of each type of data and a screen configuration used in the present embodiment. In the present embodiment, an AIT of a format shown in Figure 30 is used, instead of that shown in the figure 22. With respect to the AIT shown in Figure 30, elements with names and numbers identical to those i shown in Figure 22 are identical to those described in the first embodiment, and therefore their descriptions are omitted. In FIG. 30, a recording target channel identifier 3001 has been added again. FIG. 30 lists the service channel identifiers that will be recorded simultaneously, so that each Java program i is normally executed. For example, this means that for a Java program in column 2211 to operate normally, it is necessary to simultaneously record services that have channel identifiers of 1 and 2. A software configuration used in the first mode is configured as illustrated in FIG. 17 and FIGURE 24. With reference to FIG. 17 and FIG. 24, the constituent elements apart from the recorded services selection unit 2404 are identical to those described in FIG.
I the first modality, and therefore its descriptions are omitted. ! The recorded service selection unit 2404 of this embodiment is a partially modified version of the recorded service selection unit 2404 of the first mode, and the process that follows i) receiving a notification from an AIT monitoring unit.
I refer to a new AIT, the version of which is updated, during recording operations or ii) detect an update of a version in the PAT and the PMT, differs from the first modality. At this time, the recorded service selection unit 2404 first examines the simultaneous recording target channel identifier 3001, in the new AIT j, the version of which is updated, received from the AIT 2402 monitoring unit. of redundancies, the channel identifiers of simultaneous recording target 3001 written in all the Java programs indicated in the AIT are listed. In the example of the AIT shown in Figure 30, with the exception of redundancies, the simultaneous recording target channel identifiers are 1, 2 and 4. After That is, the recorded services selection unit 2404 i notifies the most recently recorded AIT service handler invocation unit 2405, the PMT that corresponds to the simultaneous write target channel identifier with exception of redundancies, and the PMT of the service that will be recorded, and requests an invocation of the recorded service selection handler. Then, as mentioned above, the unit! Service Recorder Invocation 2405 returns the return value of a recording and playback manager notification method to the recorded service selection unit 2404. I If a PMT disposition returns from the service manager invocation unit recorded 2405, a group of services expressing the specified PMT is recorded simultaneously. All ESs indicated in the PMTf provision | or in other words, the audio, video and all the PITs detable ids of the section ES constituting the service related to all the PMTs, are set in the PID filter 150) 2 and the section filter 1503 of the TS decoder. However, in case there is little space remaining in the unit | secondary storage 1307, only a part of the ES audio / video and section is recorded, according to that remaining space. In other words, the recorded serice selection unit 2404 examines the remaining space in the secondary storage unit i 1307 through the library 1701b, and places the PID filter 1502 and the section filter 1503 of the decoder 13 to be recorded, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bitrate of the audio / video ES is written to the stream, and can be extracted by the library 1301b. There is a method in which the amount of space needed to track is calculated from the bit rate and a recording time, and a service in which at least the I ES audio / video can not be recorded is not recorded. Thereafter; an output destination of each hardware constituent element is established through the library 1701b in order to follow the process, shown in figure 15, I record the service included in the transmission wave in the secondary storage unit 1307. Then, according to the flow explained in figure 15, all the ESs that constitute a desired channel are recorded in the area of 1504 recording that has been secured. On the other hand, if a null result returns from the recorded service selection handler invocation unit 1 2405, the unit of selection of recorded services 2404 determines, through the following stages, the service to record simultaneously. First, the recorded services selection unit 2404 refers to the AIT, and examines a servide_bound_flag of all the Java programs included in the service. , If the service_bound_flag = l for all Java programs, (the recorded services selection unit 2404 records only the service that will be recorded as specified by the channel identifier.) In other words, all the ESs denoted in the service PMT how to record, or in other words, the audio, video and all the PIDs and table ids of the 'ES of section that constitute the service, I set up on the PID filter 1502 and the section filter 1503 I of the TS decoder. After that, an output destination of each hardware constituent element is established through the library 1701b to follow the process, shown in FIG. 15, of recording the service Included in the transmission wave in the unit I secondary storage 1307. Then, according to the In the flow described in FIG. 15, all the ESs that constitute a desired channel are recorded in the recording area 1504 that has been secured. On the other hand, in case there is a Java program in the icual service_bound_flag = 0, the recorded services selection unit 2404 requests the recording permission unit of recording permissions of various services 2407 a judgment of whether it is allowed or do not record several services. In the event that the recording permission handler of multiple services 2407 returns false, the process described in case serivce_bound_flag = l is carried out to cabp, and only the service that will be recorded as specified by the identifier of channel is recorded. In the event that the permission handler invocation unit of I recording multiple services 2407 returns true, the recorded services selection unit 2404 records all services specified by the simultaneous recording target channel identifier, with the exception of i redundancies. In other words, all ESs indicated in I the PMT group that correspond to the identifier of the simultaneous recording target channel, or in other words, the audio, video and all the PIDs and table__ids of the section ES that support the services related to the PMTs, are established in the PID filter 1502 and J filter section 1503 of the TS decoder. i, However, in case there is little remaining space in the secondary storage unit 1307, only a part of the audio / video ES and section is recorded, i agreed with that remaining space. In other words, the recorded service selection unit 2404 examines the remaining i space in the secondary storage unit 1307 through the library 1701b, and sets the filter PID 15.02 and the section filter 1503 of the TS decoder to be recorded! Of the secondary storage unit 1307, only I am the audio / video and section that can be recorded in the remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video ES is written into the stream, and may be extracted by the library 1701b. There is a method in which the amount of space needed to record is calculated from the I bitrate and a recording time, and a service in the cuajl at least the audio / video IS can not be recorded is not recorded. After that, an output destination of each hardware constituent element is established through the library 1701b in order to follow the process, shown in FIG. 15, of recording the service included in the transmission wave in the unit. secondary storage 1307. Then, according to the flow described in FIG. 15, all the ESs that constitute a desired channel are recorded in the recording area 1504 that has been secured. It is desirable to complete the pre-processing before the actual recording takes place, as described above before the specified recording start time. In fact, the recording in the recording area 1504 occurs after the specified start time. After that, when the specified recording end time is reached, the recorded service selection unit 2404 stops the tuning process of the Tuner 1704c, and causes the writing of the MPEG-2 transport stream to conclude in the area of recording 1504. i In addition, a recording information management table as shown in figure 21 is created as transport stream management information MPEG-2; recorded previously. The processes apart from those mentioned above are the same as in the first modality. i A characteristic operation of this I modality configured as described above is shown hereinafter. Figure 34 is a flow chart showing an outline of a process when the service included in the transmission wave i is recorded in the secondary storage unit 1307, in the present embodiment. In S3401, the Java program or other program provides the channel identifier, recording start time and recording end time to the recording register unit 2403. Then, moving to S3402, the unit; Recording register 2403 waits until a period of constant time before the specified recording start time. After that, when the constant period of time before the specified recording start time is reached, the process moves to S3403, and the recording register unit 2403 requests the recorded service selection unit 2404 to begin the recording process. recording. The recorded service selection unit 2404 repeats the following process until the specified recording end time is reached. When a version update of the AIT? | PMT, or an update of the PMT caused by a version update of the PAT, the process passes to S3404, and the recorded service selection unit 2404 examines the simultaneous recording target channel identifier if the AIT that includes the service that it will be recorded specified by the channel identifier, and determines the service that will be recorded simultaneously. The recorded services selection unit 2404 specifies the service that will be I record simultaneously, and request the recorded services selection handler invocation unit 2405 to invoke the notification method of the recorded services selection handler. The process branches as follows, according to the return value. In case the return value is a PMT arrangement, the process is passed to S3405, and the recorded service selection unit 2404 records, in the secondary storage unit 1307, all the audio / video ESs and selections included in it. the layout of PMT, according to the remaining space of the secondary storage unit 1307. In case the return value is null, the process goes to S3406, and a value of the service_bound_flag is examined for all the Java programs of the AIT of the service specified by the specified channel identifier. In case the service_bound_flag = l for all Java programs, the process goes to S3407, and the video / audio ESs and section of only the service specified by the channel identifier, which in turn is specified by the unit Recording register 2403, is recorded in the secondary storage unit 1307. On the other hand, in S3406, in case service_bound_flag is not 1 for all Java programs, the process goes to S3408. Here, the recording permission handler of various services 2407 is invoked to invoke the AllowMultiServiceRec method of the multi-service write permission handler. If that result is false, the process goes to S3407 mentioned earlier. ! On the other hand, if the result is true, the process goes to S3409, and the video / audio ESs and section of all the PMTs that correspond to the service that will be recorded simultaneously are recorded in the secondary storage unit 1307, according to the remaining space of the unit! secondary storage 1307. i When the processing ends after each of the branches mentioned above, the process returns to S3403, and processing is repeated. In accordance with the present modality, in addition to the effects of the first modality, only the service that is necessary for normal execution of the Java program is selectively recorded, thus making normal execution possible! of the Java program without a waste of space in the storage unit.
Fifth embodiment I In the following, an apparatus and a method according to the fifth embodiment of the present invention are described with reference to the figures. A hardware configuration used in this I modality is configured as shown in figure 13 and figure '14. Since it is the same configuration and function as in I the first was modality, its descriptions are omitted. In the present embodiment, a hardware constituent element has the following entry and exit scenario. First, Figure 15 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device, in the case of recording of only one ES specified within a service. Since this is the same configuration as that described in the first mode, its descriptions are omitted in this way. Then, figure 25 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device, in case a MPEG-2 transport current is recorded that transports a service. Since it is the same configuration as that described in the second mode, its descriptions are omitted in this way.
Finally, Figure 16 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device during the recording of the service. Because it is the same configuration as that described in the first mode, its descriptions are omitted in this way. 1 An example of a hardware configuration relating to the present invention has been described so far. Hereinafter, a key function of the present invention is described, which is the recording control and I reproduction of the service through a Java program. In addition, Figure 18 to Figure 21 and Figure 23, which are used in the first embodiment, are used here again to describe configurations of each type of data and a screen configuration used in the present embodiment. The AIT format shown in Figure 30 of the fourth embodiment is also used here. Because the figures are the same as those described in the first and fourth modes, their descriptions are omitted in this way. A software configuration used in the present embodiment is configured as shown in Figure 17 and Figure j 24. Referring to Figure 17 and Figure 24, the constituent elements apart from the invocation unit of the service selection handler 2405 and the recorded service selection unit 2404 are identical to those described in the first embodiment, and therefore their descriptions are omitted. In addition, the recorded service handler invocation unit 2405 is the same as that described in the second embodiment, and thus its descriptions are omitted here. The recorded service selection unit 2404 i of the present embodiment is a partially modified version of the recorded service selection unit 2404 of the second embodiment, and the method of providing a PMT when requested, of the invocation unit of the second mode. selection handler recorded services 2405 and during the recording operations, an invocation of a recorded service selection handler, differs from the second mode. After receiving a notification from the AIT 2405 monitoring unit of a new AIT whose version is updated, or detecting an update of the AIT version or the PMT, the recorded services selection unit i 2404 first examines a simultaneous recording target channel identifier 3001 in the new AIT, whose version is updated, received from the AIT 2402 monitoring unit. Except for redundancies, the 3001 simultaneous write target channel identifiers written in all Java programs are listed indicated in the AIT. 'In the example of the AIT shown in Figure 30, with the exception of redundancies, the simultaneous write target channel identifiers are 1, 2 and 4. After that, the recorded service selection unit 2404 notifies the recorded service selection handler unit 2405 of the AIT. more recent, the PMT that corresponds to the identifier of the target channel of simultaneous recording with the exception of redundancies, and the service PMT that will be recorded, and requests to invoke the handler of selection of recorded services. Then, as indicated above,! the recorded services selection handler invocation unit 2405 returns the return value of a recording and playback handler notification method to the recorded service selection unit 2404. | The processes after this are the same as those described in the second modality. From now on, a characteristic operation of the! present modality configured as described above. ! Figure 35 is a flow diagram showing an outline of a process when the service included in the transmission wave is recorded in the secondary storage unit 1307, in the present embodiment. In S3501, the Java program or other Java program provides the channel identifier, recording start time and recording end time to the recording register unit 2403, then, after S3502, the recording register unit 2403 rests until a period of time! constant before the specified recording start time. After that, when the constant period of time before the specified recording start time is reached, the process moves to S3503, and the recording register unit 2403 requests the recorded service selection unit 2403 to begin the recording process. . The recorded service selection unit 2404 repeats the following processing until the specified recording end time is reached. Ii When a version update of the AIT or PMT, or an update of the PMT caused by a version upgrade of the PAT, the process is passed to S3504, and the recorded services selection facility 2404 examines the simultaneous recording target channel identifier if the AIT I includes the service to be recorded specified by the channel identifier, and determines the service that will be recorded simultaneously. The recorded service selection unit 2404 specifies the service to be recorded simultaneously, and requests the invoking unit of recorded service selection handler 2405 to invoke the notification method of the recorded services selection handler. The process branches in the following way according to that return value.
If the return value is 2, the process goes to 53507, and all MPEG-2 transport streams that i include in the service specified by the channel identifier, which is in turn specified by the recording register unit 2403, are recorded in the secondary storage unit 1307. If the return value is 1, the process goes to 53508, 'and the video / audio ESs and section only of the service specified for the channel identifier, which is to its Once specified by the recording register unit 2403, they are recorded in the secondary storage unit 1307. 1 In case the return value is 0, the process passes to S3505, and a value of the service_bound_flag is examined for all Java programs of the service AIT specified by the specified channel identifier. In the event that the service_bound_flag = l for all Java programs, the process goes to S3508, described above. On the other hand, in the event that the service_bound_flag is not 1 for all the Java programs, the process goes to S3506, and the (write-in-hand drive for multiple-service recording permission 2407) is called to invoke the method AllowMiiltiServiceRec of the recording permission handler for several services. If that result is false, the process goes to 'S3508 mentioned above. However, if that result is true, the process passes to S3507 mentioned above., I When the processing ends after each one! the branches mentioned above, process i returns to S3503 and the processing is repeated. In accordance with the present embodiment, in addition to the effects of the second modality, it is possible to selectively record only the service necessary for execution I normal of the Java program, thus making possible the normal execution of the Java program without a wasteful consumption of space of the storage unit.
Sixth modality A device and a method according to the sixth are described hereinafter with reference to the figures 15 embodiment of the present invention. I ^ A hardware configuration used in the present embodiment is configured as shown in figure 26 and figure, 14. Since figure 26 has the same configuration and function as in the third embodiment, its descriptions are omitted. Also, since figure 14 has the same configuration and function as in the first modality, its descriptions are omitted. | In the present modality, each constituent element of hardware has the following scenario of __ i 2nd entry and exit.
First, Figure 27 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device, in the case of recording only one ES j specified within a service. Because it is the same configuration as that described in the third mode, its descriptions are then omitted. Next, Figure 28 shows a conceptual reproduction expressing the sequence of physical conditions, details of processing and input / output data format of each service recording device. Since it is the same configuration as that described in the third mode, its descriptions are then omitted. So far, an example of a hardware configuration that relates to the present invention has been described. Hereinafter, a key function of the present invention is described, which is the control of recording and reproduction of the service by means of a Java program.; In addition, figures 18 to figure 20 and figure 23, which! they are used in the first embodiment, they are used again here to describe configurations of each type of data and a configuration and a screen used in the present embodiment; the recording information management table shown in Fig. 29 of the third embodiment and the AIT format shown in Fig. 30 of the fourth embodiment are also used here. Since the figures are the same as those described in the first, third and fourth modes, then their descriptions are omitted. I A software configuration used in the present embodiment is configured as shown in Figure 17 and Figure 24. With reference to figure 17 and figure 24, the I constituent elements apart from the application status management unit 2401, the AIT management unit 2402 and the recorded service selection unit 2404 are identical to those described in the first embodiment, and therefore their descriptions are omitted. Furthermore, since the administration unit of i state, of applications 2401 and the administration unit of i AIT 2402 are the same as those described in the third embodiment, their descriptions are omitted in this way. The recorded services selection unit 2404 of the present embodiment is a partially modified version of the recorded services selection unit 2404 of the first embodiment. The processing that follows i) receiving a notification from an AIT monitoring unit with respect to a new AIT, whose version is updated, during recording operations or ii) detecting a version update of the AIT and the PMT, differs from the first mode. At this time, the recorded service selection unit 2404 first examines the identifier of the simultaneous recording target 3001, in the new AIT, whose version is updated, received from the unit of ! AIT 2402 monitoring. Except for redundancies, the 3001 simultaneous write target channel identifiers written in all the Java programs indicated in the AIT are listed. In the example of the AIT shown in figure 130, with the exception of redundancies, the identifiers The target for simultaneous recording is 1, 2 and 4. 1 After that, the recorded services selection unit 2404 notifies the handler invocation unit of I recorded services 2405 of the most recent AIT, the PMT that corresponds to the identifier of the simultaneous recording target channel with the exception of redundancies, and the PMT of the service that will be recorded, and requests an invocation of the Handler of selection of recorded services. Then, as previously mentioned, the handler invocation unit I recorded service selection 2405 returns the return value of a recording and playback manager notification method to the selected services I 2404 selection unit. If a PMT disposition returns to the selection handler invocation unit of recorded services 2405, 'a group of services that the specified PMT expresses is recorded simultaneously. All the ESs indicated in the PMT layout, or in other words the audio, video and all the PIDs and table_ids of the section ES that constitute the service related to all the PMTs, are fixed in the PID filter 1502 and the filter of section 1503 of the TS decoder. However, in case there is little remaining space in the secondary storage unit 1307, only a part of the audio / video ES and section is recorded, according to that remaining space. In other words, the recorded service selection unit 2404 examines the remaining space in the secondary storage unit 1307 through the library 1701b, and places the PID filter 1502 and the section filter 1503 of the TS decoder to be recorded, in the secondary storage unit 1307, only the video / audio ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video ES is written into the stream, and can be extracted by the library 1701b. There is a method in which the amount of space needed for recording is calculated from the bit rate and a recording time, and a service in which at least the audio / video IS can not be recorded and it is not recorded. After that, an output destination of each hardware constituent element is established through the library 1701b in order to follow the process, shown in FIG. 27, of recording the service included in the transmission wave in the unit. secondary storage 1307. Then, according to the flow described in FIG. 27, all the ESs constituting a desired channel are recorded in the recording area 1504 that has been secured. 1 On the other hand, if a null result returns from the recorded services handler invocation unit 2405, the recorded service selection unit 2404 determines, all the PIDs and table_ids of the section ES that constitute the service related to the PMTs are established in the PID filter 1502 and the filter of section 1503 of the TS deactivator. However, in case there is little remaining space in the secondary storage unit 1307, only a part of the audio / video ES and section is recorded, according to that remaining space. In other words, the recorded service selection unit 2404 examines the remaining space in the secondary storage unit 1307 through the library 1701b, and establishes the PID filter 1502 and the section filter 1503 of the TS decoder for gcabar, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video ES is described in the stream, and can be extracted by the library 1701b. There is a method in which the amount of space needed for recording is calculated from the bit rate and a recording time, and a service in which at least the audio / video IS can not be recorded is not recorded. record After that, an output destination of each hardware constituent element is established through the library 1701b in order to follow the process, shown in FIG. 27, of recording the service included in the transmission wave in the unit. secondary storage 1307. Then, according to the flow explained in FIG. 27, all the ESs that constitute a desired channel are recorded in the recording area 1504 that has been secured. ! It is desirable to complete the pre-processing that occurs before the recording actually takes place, as described above, before the specified recording start time. In fact, the recording in the recording area 504 occurs after the specified start time. After that, when the specified recording end time is reached, the recorded service unit 2404 stops the tuning process of the tuner 1704c, and causes the writing of the MPEG-2 transport stream in the recording area 1504 comes to an end. In addition, a recording information management table as shown in Fig. 29 is created to record management information of the MPEG-2 transport stream recorded above. Note that the part of the AIT information management table is merged with the table created by the section 2401 conversion unit! The processes other than this are identical to those of the recorded service selection unit 2404 of the first mode. Hereinafter, a characteristic operation of the present embodiment, configured as described above, is shown. Figure 36 is a flow chart showing an outline of a process when the service included in the transmission wave is recorded in the secondary storage unit 1307, in the present embodiment. In S3601, the Java program or other program provides the channel identifier, recording start time and recording end time to the recording register unit 2403. Then, moving to S3602, the recording register unit 2403 waits until a period of constant time before the specified recording start time. After this, when the constant period of time before the specified recording start time is reached, the process goes to S3603, and the recording register unit 2403 requests the recorded service selection unit 2404 to begin the recording process. , The recorded service selection unit 2404 repeats the following process until the specified recording end time is reached. When a version update of the AIT or PMT occurs, or an update of the PMT caused by a version update of the PAT, the process passes to S3104, and the 2404 version update of the PAT occurs, the process passes to S3604, and the recorded service selection unit 2404 examines the simultaneously recorded target channel identifier of the AIT that includes the service to be recorded. specified by the channel identifier and determines the service that will be recorded simultaneously. The recorded service selection unit i 2404 specifies the service to be recorded simultaneously, and requests the recorded service selection handler invocation unit 2405 to invoke the notification method of the recorded services selection handler. The process branches in the following way according to that return value. In case the return value is a PMT arrangement, the process goes to S3605, and the unit I recorded service selection 2404 records, in the secondary storage unit 1307, all the audio / video ESs and sections included in the PMT arrangement, according to the space remaining in the secondary storage unit 1307. In case of that the return value is null, the processed goes to S3606, and a value of the service_bound_flag is I examine for all the Java programs of the AIT of the service specified by the specified channel identifier. When the service_bound_flag = l for all Java programs, the process goes to S3607, and only the audio / video ESs and section file of the service specified by the channel identifier, which in turn is specified by the registration unit 2403, are recorded in the secondary storage unit 1307. On the other hand, in S3606, in case the service_bound_flag is not 1 for all Java programs, the process goes to S3608. Here, the recording permission handler of several recording permissions is requested I 2407 services invoke the AllowMultiServiceRec method of the recording permissions manager of several services. If that result is false, the process goes to S3607 mentioned above. On the other hand, if that result is true, the process moves to S3609, and the audio / video ESs and section files of all the PMTs that correspond to the service that will be recorded simultaneously are recorded in the secondary storage unit 1307, according to the space subtract in the secondary storage unit 1307. When the processing ends after each j of the aforementioned branches, the process is returned to S3603, and the processing is repeated. According to the present embodiment, in addition to the effects of the third modality, only the service necessary for the normal execution of the Java program is selectively recorded, thus making possible the normal execution of the Java program without wasting space in the i-inity of storage.
Seventh modality Hereinafter they are described with reference to the figures? an apparatus and method according to the seventh embodiment of the present invention. A hardware configuration used in the present embodiment is configured as shown in Figure 13 and Figure 14. Since it has the same configuration and function as in the first embodiment, its descriptions are omitted. In the present embodiment, each hardware constituent element has the following entry and exit scenario. First, Figure 15 shows a conceptual reproduction I that expresses the sequence of physical connections, processing details and input / output i data format of each device, in case only a specified ES is recorded in a service. Since it is the same configuration as that described in the first mode, its descriptions are omitted in this way. I Next, Figure 16 shows a conceptual reproduction expressing the sequence of physical connections, processing details and input / output data format of each device during service recording. Since it is the same configuration as that described in the first mode, its descriptions are omitted in this way. An example of a hardware configuration that relates to the present invention has been described so far. Hereinafter, a key function of the present invention is described, which is the control of the recording and repro duction of the service by means of a Java program. Figure 18 to Figure 23, used in the first embodiment, are used again here to describe configurations of each type of data and a screen configuration used in the present embodiment. Since the constituent elements are the same as those described in the first modality, their descriptions are omitted in this way. J A software configuration used in the present embodiment is configured as shown in figure 17 and figure 24. With respect to figure 17 and figure 24, the constituent elements apart from the AIT 2402 monitoring unit and the unit selection of recorded services 2404 are identical to those described in the first embodiment, and therefore their descriptions are omitted. In addition to the functions of the AIT 2402 monitoring unit of the first modality, the monitoring unit of Alt 2402 of the present modality monitors; a version update of all the TIAs included in one I transport stream MPEG-2. In other words, the version update of the AIT is also monitored on channels other than the specified channel identifier. This process is almost identical to the case of acquiring the AIT of the service that corresponds to the specified channel identifier. First, using the library 1701b, tuning information corresponding to the specified channel identifier i is acquired. Then, using the SF 1704e, the PAT is acquired. The real PMT of all the PMTs . referred by their PAT are acquired, and in reference to the written details within the real PMTs, the PID of an elementary stream of "data" of current type and is searched with "AIT" as additional information; the filtering of the section is carried out on this PID, and all are acquired ! the real AITs. Whenever the version of any of the AITs is updated, the AIT 2402 monitoring unit i sends the newest complete AIT of all services within the MPEG-2 transport stream to the i-selection unit i Recorded services 2404. Note that because there is the possibility that an update of the occurrence will occur for the PAT and the PMT, in case a version update occurs for the PAT or the PMT, the AIT i must be reacquired and You must verify the version update of the AIT.
The recorded service selection unit 2404 of the present embodiment is a partially modified version of the recorded services selection unit 2404 of the first embodiment, and the process that follows i) receiving a notification from an AIT monitoring unit.
AIT 24Ó2 and if there is even a Java program in which the service_bound_flag = 0 in the AIT of the service that holds the AIT is the service that will be recorded simultaneously. After that, the recorded services selection unit 2404 notifies the recorded services handler invocation unit 2405 of the new AIT, the group of the PMT corresponding to the service judged to be simultaneously recorded, and the PMT of the service that will be recorded, and requests an invocation of the service selection handler recorded. Then, as mentioned above, the recorded services selection handler invocation unit 2405 returns the return value of a recording and playback handler notification method to the recorded service selection unit 2404. If a PMT disposition returns from the recorded service selection handler invoking unit I 2405, a service group that expresses the specified PMT is recorded simultaneously. All the ESs indicated in the PMT layout, or in other words, the audio, video and all the PIDs and table_ids of the section ES that constitute the service related to all PMTs, are sent in the PID filter 1502 and the filter of section 1503 of the TS decoder. However, in case there is little space remaining in the secondary storage unit 1307, only a part of the audio / ideo ES and section is recorded, according to that remaining space.
In other words, the recording service selection unit 2404 examines the remaining space in the secondary storage unit 1307 through the library 1701b, and it places the PID filter 1502 and the section filter 1503 of the TS decoder to be recorded, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video ES is written into the stream, and can be extracted by the library 1701b. There is a method in which the amount of space needed for recording is calculated from the bit rate and a recording time, and a service in which at least the audio and video IS i can not be recorded is not recorded. record After that, an output destination of each hardware constituent element is established through the library t 1701b to follow the process, shown in FIG. 15, of recording the service included in the transmission wave in the unit. secondary storage 1307.
Then, according to the flow described in FIG. 15, all the ESs constituting a desired channel are recorded in the recording area 1504 that has been secured.
On the other hand, if the null result returns from the recorded service selection handler invocation unit 2405, the recording service selection unit 2404 determines, through the following steps, the service that will be recorded simultaneously. First, the recorded service selection unit 2404 refers to the AIT of the service to be recorded specified by the recording register unit 2403, and examines a service_bound_flag of all the Java programs included in the service. If the service_bound_flag = l for all Java programs, the recorded service selection unit 2404 records only the service that will be recorded as specified by the channel identifier. In other words, all the ESs indicated in the PMT of the service to be recorded, or in other words, the audio, video and all the PIDs and table_ids of the section ES that constitute the service, are set in the PID filter 1502 and the section filter 1503 of the TS decoder. After this, an output destination of each hardware constituent element is established through the library 1701b to follow in this way the i proceed, shown in figure 15, to record the service included in the transmission wave in the unit secondary storage 1307. Then, according to the flow described in Figure 15, all the ESs that constitute A part of the audio / video and section ES was recorded, according to that remaining space. In other words, the recorded service selection unit 2404 examines the remaining space in the secondary storage unit 1307 through the library 1701b, and places the PID filter 1502 and the section filter 1503 of the TS decoder to be recorded, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. By For example, a bit rate of the audio / video ES is written into the stream, and can be extracted by the library 1701b. There is a method in which the amount of space needed to record is calculated from the bit rate and a recording time, and a service in which at least the audio / video IS can not be recorded is not recorded. ba After that, an output destination of each constituent element of hardware is established through I the library 1701b in order to follow the process, shown in figure 15, of recording the service included in the transmission on the secondary storage unit 1307. Then, according to the flow described in figure 15 , all ESs that constitute a desired channel are recorded in the secured recording area 1504.
It is desirable to complete the preprocessing that occurs before the recording actually takes place, as described above, before the specified recording start time. In fact, the recording in the recording area 1504 occurs after the specified start time. After that, when the specified end time is reached, the service selection unit recorded administration of the MPEG-2 transport stream recorded above. The processes apart from those mentioned above are the same as in the first modality. Hereinafter, a characteristic operation of the present embodiment, configured as described above, is shown. Figure 37 is a flow diagram showing a I contour of a process when the service included in the transmission wave is recorded in the secondary storage unit 1307, in the present embodiment. In S3701, the Java program or other program provides the channel identifier, recording start time and recording end time to the recording register unit 2403. After, moving to S3702, the recording register unit 2403 waits until a constant period of time before the specified recording start time. After that, when the constant period of time before the specified recording start time is reached, the process goes to S3703, and the recording register unit 2403 requests the recorded service selection unit 2404 to begin the recording process. . The recorded service selection unit 2404 repeats the following process until the specified recording end time is reached. When a version update of the AIT or PMT occurs, or an update of the PMT caused by a version update of the PAT, the process moves to S3704, and the unit of selection of recorded services 2404 determines the service to be recorded simultaneously based on the service_bound_flag of the AIT that includes the service that will be recorded by the channel identifier The unit of selection of recorded services 2404 specifies the service that will be recorded simultaneously, and requests the unit of invocation of selection handler of recorded services 2405 invoking a notification method of the handler of recorded service selection. The process branches as follows according to this return value. In case the return value is a PMT arrangement, the process goes to S3705, and the recorded service selection unit 2404 records, in the secondary storage unit 1307, all the audio / video ESs and sections included in it. the disposition of PMT, according to the space remaining in the storage unit i ^ secondary 1307. In case the return value is null, the processed passes to S3706, and a value of service_bound_flag is examined for all programs Java of the AIT of the service specified by the specified channel identifier. When! the service_bound_flag = l for all Java programs, the process goes to S3707, and only the audio / video ESs and service section specified by the channel identifier, which in turn is specified by the registration unit of recording 2403, they are recorded in the secondary storage unit 1307. On the other hand, in S3706, in case the i serve bound_flag is not 1 for all Java programs, the process goes to S3708. Here, the recording permission handler of various services 2407 is invoked to invoke the AllowMultiServiceRec method of the multi-service write permission handler. If that result is false, the process goes to S3707 mentioned above. On the other hand, if that result is true, the process goes to S3709, and the audio / video ESs and sections of all the PMTs that correspond to the service that will be recorded simultaneously are recorded in the storage unit secunda.ria 1307, of According to the space remaining in the secondary storage unit 1307. When the processing is completed after each i of the branches mentioned above, the process © is returned to S3703, and the processing is repeated. According to the present embodiment, in addition to the effects of the first modality, it is possible to selectively record only the service necessary for normal execution of the Java program, thus making possible the normal execution of the Java program without consuming waste of space in the unit storage.
! Eighth embodiment Hereinafter, an apparatus and a method according to the eighth embodiment of the present invention are described with reference to the figures. A hardware configuration used in this I modality is configured as shown in figure 13 and the figure; 14. Since it has the same configuration and function as in the first mode, its descriptions are omitted. In the present embodiment, each hardware constituent element has the following entry and exit scenario. First, Figure 15 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device, in case of only recording a specified ES within a service. Since it is the same configuration as that described in the first modality, its descriptions are omitted in this way. Next, FIG. 25 shows a conceptual reproduction expressing the sequence of physical connections, processing details and input / output data format of each device, in case an MPEG-2 transport stream carrying a service is recorded. Since it is the same configuration as that described in the second mode, its descriptions are omitted in this way. I! Finally, Figure 16 shows a conceptual reproduction expressing the sequence of physical connections, processing details and input / output data format of each device during the recording of the service. Since it is the same configuration as that described in the first mode, its descriptions are omitted in this way. Up to now, an example of a hardware configuration that relates to the present invention has been described. Hereinafter, a key function of the present invention is described, which is the control of the recording and reproduction of the service by means of a Java program Figure 18 to Figure 23, which are used in the first embodiment, are used in new here to describe configurations of each type of data and a screen configuration used in the present mode. Since the constituent elements are the same as those described in the first embodiment, their descriptions are thus omitted A software configuration used in the present embodiment is configured as shown in figure 17 and figure 24. With respect to the figure 17 and FIG. 24, the constituent elements apart from the AIT monitoring unit 24 -02, the recorded function selection handler invocation unit 2405 and the recorded service selection unit 2404 are identical to those described in the first embodiment , and therefore their descriptions are omitted. In addition, the recorded service selection handler invocation unit 2405 is the same as that described in the second embodiment, and therefore its descriptions are omitted from this. The monitoring unit of AIT 2402 is the same as that described in the seventh modality, and therefore its descriptions are omitted. The unit of selection of recorded services 2404 of the present modality is a partially modified version of the service selection unit. recorded 2404 of the second embodiment, and the method of providing a PMT when requested, of the recorded service selection handler invocation unit 2405 and during recording operations, an invocation of a recorded services selection handler, differs. of the second modalic.ad. At this point, the recorded services selection unit 2404, first examines a service_bound_flag 2205 from a new AIT group (the version of which has been updated, received from the AIT 2402 monitoring unit). If there is no Java program in which the service_bound_flag = 0 in the AIT of the service specified by the recording channel identifier, which is in turn specified by the recording register unit 2403, it is determined that there is no service to be recorded simultaneously . j On the other hand, if there is even a Java program in which the service_bound_flag = 0 in the service AIT service_bound_flag = 0 in the AIT of the service that holds the AIT is the service that will be recorded simultaneously. After that, the recorded services selection unit 2404 notifies the recorded services handler invoking unit 2405 of the new AIT, the group of the PMT corresponding to the service judges that it will be recorded simultaneously, and the PMT of the service that will be recorded, and requests an invocation of the handler of selection of recorded services. Then, as mentioned above, the recorded service selection handler invocation unit 2405 returns the return value of a recording and playback handler notification method to the recorded service selection unit 2404. The processes after this they are the same as those described in the second modality. ! ! Hereinafter, a characteristic operation of the present embodiment is shown, configured as described above. Figure 38 is a flow chart showing an outline of a process when the service included in the transmission wave is recorded in the secondary storage unit 1307, in the present embodiment. i In S3801, the Java program or other program provides the channel identifier, recording start time and recording end time to the recording register unit 2403. Then, moving to S3802, the recording register unit 2403 waits up to a constant period of time before the specified recording start time. After this, when the constant period of time ends before the specified recording start time, the process moves to S3803, and the recording register unit 2403 requests the selection unit I recorded services 2404 begin the recording process.
The recorded service selection unit 2404 repeats the following process until the specified recording end time is reached. When a version update of the AIT or PMT, or an update of the PMT caused by a version update of the PAT, the process passes to S3804, and the unit of selection of recorded services 2404 determines the service that will be recorded simultaneously based on the service_bound_flag of the AIT which includes the service that will be recorded specified by the channel identifier. Unit; The recorded service selection feature 2404 specifies the service to be recorded simultaneously, and requests the recorded service selection handler invocation unit 2405 to invoke a notification method of the recorded services selection handler. The process branches off in the following way according to that value of returned.
If the return value is 2, the process goes to S3807, and the complete MPEG-2 transport stream including the service specified by the channel identifier, which in turn is specified by the recording register unit 2403, is recorded in the secondary storage unit 1307. If the return value is 1, the process goes to S3808 and the video / audio ESs and section of only the service: .o specified by the channel identifier, which in turn is specified by the recording registration unit. 2403, is recorded to the secondary storage unit 1307. ! In case the return value is 0, the process passes to S3805, and a value of the service_bound_flag is examined for all the Java programs of the service AIT specified by the specified channel identifier.
I When! the service_bound_flag = l for all Java programs, the process goes to S3808, described above. On the other hand, | in case the service_bound_flag is not 1 for all Java programs, the process goes to S3806 and the recording permission handler of several services 2407 is invoked to invoke the AllowMultiServiceRec method of the recording permission handler of several services services. If that result is false, the process goes to S3808 mentioned above. However, if that result is true, the process goes to S3807, previously mentioned. When processing ends after each of the branches mentioned above, the process is returned to S3803, and processing is repeated. According to the present modality, besides the effects of the second modality, it is possible to selectively record only the service that is assumed is necessary for normal execution of the Java program, thus making possible the normal execution of the Java program without consumption I wasted space on the storage unit.
Ninth embodiment Hereinafter, an apparatus and a method according to the ninth embodiment of the present invention are described with reference to the figures. ! A hardware configuration used in the present embodiment is configured as shown in Figure 26 and Figure 14. Since Figure 26 has the same configuration and funtion as in the third embodiment, its descriptions are omitted. Since Figure 14 has the same configuration and function as in the first mode, its descriptions are omitted. In the present embodiment, each hardware constituent element has the following entry and exit scenario.
First, Figure 27 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device, in case only one ES is recorded in a service. Since it is the same configuration as the one described in the third modality, its descriptions are omitted in this way. Then, figure 28 shows a conceptual reproduction that expresses the sequence of physical connections, processing details and input / output data format of each device during the recording of the service. Since it is the same configuration as that described in the third embodiment, its descriptions are omitted in this way. An example of a hardware configuration relating to the present invention has been described so far. Hereinafter, a key function of the present invention is described, which is the control of the recording and reproduction of the service by means of a Java program. Figure 18 to Figure 21 and Figure 23, which are used in the first embodiment, are again used here to describe configurations of each type of data and a screen configuration used in the present embodiment; the AIT format shown in Figure 30 of the fourth embodiment is also used here. Since the figures are the same as those described in the first and fourth modes, their descriptions are omitted in this way. A software configuration used in the present embodiment is configured as shown in Figure 17 and Figure 24. With respect to Figure 17 and Figure 24, the constituent elements apart from the AIT 2402 monitoring unit, handler invocation unit. of recorded service selection 2405 and the recorded service selection unit 2404 are identical to those described in the first embodiment, and therefore their descriptions are omitted. In addition, the recorded service selection handler invocation unit 2405 is the same as that described in the second embodiment, and therefore its descriptions are omitted in this way. The monitoring unit of AIT 2402 is the same as the one described in the seventh modality, and therefore its descriptions are omitted. The recorded service selection unit 2404 of the present embodiment is a partially modified version of the recorded service selection unit 2404 of the first embodiment, and the method of providing a PMT when requested, of the handler invoking unit. selection of recorded services 2405 and during recording operations, an invocation of a recorded services selection handler, differs from the first mode. At this point, the unit of selection of recorded services. Then, as mentioned above, the recorded service selection handler invocation unit 2405 returns the return value of a recording and playback handler notification method to the recorded service selection unit 2404. If a PMT disposition returns from the recorded service selection handler invocation unit 2405, a service group expressing the specified PMT is recorded simultaneously. All the ESs indicated in the PMT layout, or in other words, the audio, video and all the PIDs and table_ids of the section ES that constitute the service related to all PMTs, are sent in the PID filter 1502 and the filter of section 1503 of the TS decoder. However, in case there is little space remaining on the secondary storage unit 1307, only a part of the audio / video ES and section is recorded, according to that remaining space. In other words, the ! recording service selection unit 2404 examines the remaining space in the secondary storage unit 1307 through library 1701b, and it puts the PID filter 1502 and the section filter 1503 of the TS decoder to be recorded, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space.
The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video ES is written into the stream and can be extracted by the library 1701b.
There is a method in which the amount of space needed for recording is calculated from the bit rate and a recording time, and a service in which at least the audio / video IS can not be recorded. it is recorded.
After that, an output destination of each hardware constituent element is established through the library 1701b to follow the process, shown in Fig. 27, of recording the service included in the transmission wave in the secondary storage unit 1307.
Then, according to the flow described in Figure 27, all the ESs that constitute a desired channel are recorded in the recording area 1504 that has been secured. On the other hand, if a null result returns from the ! unity! of recording services selected handler 2405, the recording services selection unit 2404 determines, through the following stages, the service that will be recorded simultaneously. First, the recorded services selection unit 2404 refers to the AIT and examines a service_bound_flag of all the Java programs included in the service. If the service_bound_flag = l for all the Java programs, the unit of selection of recorded services 2404 records only -. service that will be recorded as specified by the channel identifier. In other words, all the ESs indicated in the PMT of the service that will be recorded, or in other words, the audio, video and all the PIDs and table_ids of the section ES constituting the service, are set in the PID filter 1502 and the section filter 1503 of the TS decoder. After this, an output destination of the constituent hardware element is established through the library 1701b to follow in this way the process, shown in FIG. 27, of recording the service included in the transmission wave in the unit. secondary storage 1307. Then, according to the flow 'described in FIG. 27, all the ESs constituting a desired channel are recorded in the secured recording area 1504. I On the other hand, in the case that there is a Java program in which the service_bound_flag = 0, the recorded service selection unit 2404 requests the invoking unit of the recording permission manager of various services 2407 a judgment of whether the recording of various services is allowed or not. In the event that the invocation unit of the recording permission manager of several services 2407 returns false, the process described in the case in which the service_bound_flag = l is carried out, and only the service that will be recorded as specified by the channel identifier it is recorded. In the event that the recording permission handler of multiple services 2407 returns true, the recorded service selection unit 2404 records all services specified by the simultaneous write target channel identifier, with the exception of redundancies. In other words, all the ESs indicated in the PMT group that correspond to the target channel identifier of simultaneous recording, or in other words, the audio, video and all the PIDs and table_ids of the section ES that constitute the service related to The PMTs are set in the PID filter 1502 and the filter in section 1503 of the TS decoder. However, in case there is little remaining space in the secondary storage unit 1307, only a part of the audio / video ES and section is recorded, according to that remaining space. In other words, the recorded service selection unit 2404 examines the remaining spacing in the secondary storage unit i 1307 through the library 1701b, and sets the filter PID 1502 and the section filter 1503 of the TS decoder to be recorded, in the secondary storage unit 1307, only the audio / video ES and section that can be recorded in that remaining space. The determination of the required space can be carried out with an arbitrary algorithm. For example, a bit rate of the audio / video ES is written into the stream, and can be extracted by the library 1701b. There is a method in which the amount of space needed to record is computed from the bit rate and a recording time, and a service in which it is recorded. At least the audio / video ES can not be recorded is not recorded. After that, an output destination of each hardware constituent element is established through the library 1701b in order to follow the process, shown in FIG. 27, of recording the service included in the transmission wave in the unit. secondary storage 1307. Then, according to the flow described in FIG. 27, all the ESs that constitute a desired channel are recorded in the secured recording area 1504.
! It is desirable to complete the preprocessing that It happens before the recording actually takes place, as i was described above, before the recording start time I specified. Actually recording in the recording area 1504 occurs after the specified start time I After that, when the specified recording end time is reached, the recorded service selection unit 2404 stops the tuning process of the tuner 1704c, and causes the writing of the MPEG-2 transport stream in the area to end. of recording 1504 In addition, a recording information management table as shown in Fig. 29 is created as management information of the MPEG-2 transport stream recorded above. Note that the part of the AIT information management table is combined with the table created by the section 2401 conversion unit.
I ^ I The processes apart from this are the same as those of the application state management unit in the first mode. Figure 39 is a flow diagram showing a contour of a process when the service included in the transmission wave is recorded in the secondary storage unit 1307, in the present embodiment. In S3901, the Java program or another program I provides the channel identifier, recording start time and recording end time to the recording register unit 2403. Then, moving to S3902, the recording register unit 2403 waits until a constant period of time before time. Start of recording specified. After that, when the period of constant time before the specified recording start time I is reached, the process goes to S3903, and the recording register unit 2403 requests the recorded service selection unit 2404 to start the process of recording.
The recorded service selection unit 2404 repeats the following process until the specified recording end time is reached. When a version update of the AIT or PMT occurs, or an update of the PMT caused by a version update of the PAT, the process goes to S3904, and the unit of selection of recorded services 2404 determines the service that will be recorded simultaneously based on the service_bound_flag of the AIT that includes the service that will be recorded specified by the channel identifier. The recorded service selection unit 2404 specifies the service to be recorded simultaneously, and requests the recorded services selection handler invocation unit 2405 to invoke a notification method of the recorded services selection handler. The process I branches in the following way according to that value of i? Ror? 'O. In case the return value is a PMT provision, the process passes to S3905, and the recorded service selection unit 2404 records, in the secondary storage unit 1307, all the audio / video ESs and sections included in the PMT arrangement, according to the remaining space in the secondary storage unit 1307. In the event that the return value is null, the process passes to S3906, and a value of the service_bound_flag is examined for all the Java programs of the service AIT specified by the specified channel identifier. In case the service_bound_flag = l for all Java programs, the process goes to S3907, and only the audio / video ESs and section file of the service specified by the channel identifier, which in turn is specified by the recording register unit 2403, are recorded in the secondary storage unit 1307. On the other hand, in S3906, in case the service_bound_flag is not 1 for all Java programs, the process goes to S3908. Here, the recording permission handler of various services 2407 is invoked to invoke the AllowMultiServiceRec method of the multi-service write permission handler. If that result is false, the process goes to S3907 mentioned above. On the other hand, if that result is true, the process moves to S3909, and the audio / video ESs and section files of all the PMTs corresponding to the service that will be recorded simultaneously are recorded in the secondary storage unit 1307, according to the space remaining in the secondary storage unit 1307. When the processing is completed after each of the branches mentioned above, the process is returned to S3903, and processing is repeated.
In accordance with the present modality, in addition to the effects! of the third modality, it is possible to selectively record only the service necessary for normal execution of the Java program, thus making possible the normal execution of the Java program without wasting space in the storage unit. Some of the embodiments described above indicate embodiments of the present invention, but other embodiments may be considered without departing from the scope of the present invention. In addition, a configuration can be one in which the main processes of each modality are selected and combined. It is possible to replace parts of the previous description that are implemented by software with hardware and I vice versa. i In the description of the modes, the simultaneous write channel identifier is written according to a Java program, but the simultaneous write channel identifier can be written as a list in the AIT as a list of simultaneous write channel identifiers necessary for the reproduction of the service, with the exception of redundancies. The Handler method. allowMultiServiceRec () of the recording permission handler of several services can adopt a configuration in which it provides, as a parameter, a parameter identical to that of the method It is not necessary for the AV decoder to decode video and audio at the same time. The present invention can be implemented even if the AV decoder is configured as separate video and audio decoders. In addition, the AV decoder may have a decoding function for data such as subtitling and the like without any interference. The audio signal and video signal decoded by the AV decoder can be encrypted at any stage until they are stored in the recording area 1504. In the modes, an example is given in which an adapter controlling conditional access has been introduced. , but the adapter is not necessary for the implementation of the present invention. The adapter can have any format, and a configuration without the adapter is also possible. In such a case, in Fig. 15, the MPEG-2 transport stream of the tuner is input directly into the TS decoder, the present invention is applicable in such case as well. In addition, the distribution of the conditional access by the adapter does not necessarily have to be carried out before the TS decoder. A configuration in which the adapter is in an arbitrary position and used to release conditional access can be easily implemented, and the present invention is applicable in such a case as well.
An encoding format in which the AV encoder encodes the audio and video signal may be an arbitrary format. The present invention is applicable notwithstanding the coding format. A multiplexer multiplexer format can also be an arbitrary format. The present invention is applicable, notwithstanding the multiplexing format. The visual presenter and the loudspeaker may be contained within the transmission recording and reproducing apparatus, or a visual presenter and external loudspeaker may be connected to the transmission recording and reproducing apparatus. The present invention is applicable notwithstanding the location and number of the loudspeaker. and the visual presenter I The present invention can be implemented even if the CPU itself is a system that carries out various processes, all or some of the processes being TS decoding, AV decoding, AV coding and multiplexing. As a format for recording the service, the MPEG-2 transport stream can also be recorded directly into the recording area after it has been sent from the tuner, without passing through the TS decoder; or, the format of the MPEG-2 transport stream from the tuner can be converted, by installing a translator that converts the format of the MPEG-2 transport stream, and recorded in the recording area. The present invention is applicable notwithstanding the service recording method. Some of the Java virtual machines translate the byte code into an executable form that can be interpreted by the CPU, and pass the result to the CPU that executes it; the present invention is applicable in such a case as well. The above embodiments describe a method for implementation with respect to the AIT in which the transport stream is obtained from In-Band; however, the method to refer to the Java program that the AM should execute does not depend solely on the AIT. In OCAP, which is assumed to be used in the US cable system, XAIT is used, which is identical to AIT and transmits OOB synchronization data. In addition, methods such as starting a program pre-recorded in the ROM, starting a program downloaded and recorded in the secondary storage unit, and so on can be considered. A method for recording the DSM-CC file system and the AIT file can be an arbitrary method. The present invention can be implemented even if they combine a method in which the AIT section is acquired from the MPEG-2 transport stream and a It is noted that in relation to this date, the best method known to the applicant to carry out the aforementioned invention, is that which is clear from the present description of the invention.

Claims (1)

  1. CLAIMS 'Having described the invention as above, the content of the following claims is claimed as property: i 1. A recording and reproduction apparatus characterized in that it comprises: I a receiving unit that functions to receive various services, each including information of video, audio information, a program, synchronization information to synchronize video information and audio information with the program, and identification information of service elements to identify video information, audio program information and information of synchronization; A recording unit that functions to record, in a recording medium, a specified predetermined service, among the different services received; ! a reproduction unit that functions to reproduce video information and audio information included in the received predetermined service or the predetermined service recorded in the recording medium; and j a program execution unit that functions to execute a program included in the predetermined service received or the predetermined service recorded in the recording medium, wherein the recording and reproducing apparatus: reproduces the video information and audio information. included in the predetermined service recorded in the recording medium in synchronization with the program included in the predetermined service, when executing the program included in the predetermined service according to the synchronization information; it reacquires the identification information of service elements corresponding to the specified predetermined service between the different services received in case an update of the synchronization information or the identification information of service elements occurs while the recording unit is downloading the service. default service; and isolates the predetermined service specified based on the identification information of acquired service elements, and causes the recording unit to record the isolated service. The recording and reproducing apparatus according to claim 1, characterized in that: it reacquires the identification information of service elements corresponding to the specified predetermined service among the plurality of services received in case an update of the information of synchronization or service item identification information occurs while the recording unit is recording, and isolates the specified predetermined service based on the acquired service item identification information, and causes the recording unit to record video information , audio information, a program, synchronization information and identi fi cation information of service elements included in the isolated service. I 3. The recording and reproducing apparatus according to claim 1, characterized in that: j reacquires the identification information of service elements corresponding to the specified predetermined service among the plurality of services received in case of an updating of the synchronization information the information of I identification of elements of service while the unit of The recorder is recording, and it isolates the specified default service based on the acquired service item identification information, and causes the recording unit to record a transport stream corresponding to the isolated service. 4. The recording and reproducing apparatus according to claim 1, characterized in that a program included in a first specified service to be recorded can also be included in a second service; the synchronization information may include continuous execution information indicating whether or not it is possible to continue executing the program included in the first service when the first service is changed, during playback, by the second service, and the second service is reproduced; and the recording and reproducing apparatus isolates, as the predetermined service, the second service in addition to the first specified service, based on the identification information of acquired service elements, and causes the recording unit to record the isolated service, in case that the continuous execution information included in the synchronization information corresponding to the program included in the first service indicates that it is possible to continue executing the program even when the second service has been changed and the second service is reproduced. The recording and reproducing apparatus according to claim 1, characterized in that it isolates, as the predetermined service, the second service in addition to the first specified service, based on the identification information of acquired service elements, and causes the recording unit records the isolated service, only in case the simultaneous recording of the first service and the second service can be allowed. 6. A recording and reproducing apparatus characterized in that it comprises: a receiving unit operating to receive various services, each including video information, audio information, a program, synchronization information for synchronizing video information and audio information with the program, and identification information of service elements to identify the video information, audio information, program and synchronization information; a recording unit that functions to record, in a recording medium, a first service specified among the plurality of services received; a playback unit that works to play video information and audio information I included in the first service received or the first service recorded on the recording medium; and a program execution unit that functions to execute a program included in the first service received or the first service recorded in the recording medium, wherein the recording and reproducing apparatus reproduces the video information and audio information included. in the first service recorded in the recording medium in synchronization with the program included in the first | service, when executing the program included in the first service according to the synchronization information; the program included in the first service that specifies that it is recorded is also included in a second service; the synchronization information includes continuous execution information indicating whether it is possible or not to continue executing the program included in the first service when the first service is changed, during playback, by the second service, and the second service is played; and the recording and reproducing apparatus isolates, as the predetermined service, the second service in addition to the first specified service, based on the identi fi cation information of acquired service elements, and causes the recording unit to record the isolated service, in In case the continuous execution information included in the synchronization information corresponding to the program included in the first service indicates that it is possible to continue executing the program even when the second service is changed and the second service is reproduced. The recording and reproducing apparatus according to claim 6, characterized in that: the program included in the first service that is specified as the one to be recorded is also included in a second service; the synchronization information may include continuous execution information indicating whether it is possible or not to continue executing the program included in the first service when the first service is changed, during playback, by the second service, and the second service is reproduced; and the recording and reproducing apparatus isolates, as the predetermined service, the second service in addition to the first specified service, based on the information of I identification of elements of acquired service, and causes the recording unit to record a transport stream corresponding to the isolated service, in case the execution information continues included in the synchronization information corresponding to the program included in the first service indicate that it is possible to continue executing the program even when the second service is changed and the second service is reproduced. The recording and reproducing apparatus according to claim 7, characterized in that: it isolates, as the predetermined service, the second service in addition to the first specified service, based on the identification information of purchased service elements, and causes the recording unit to record the transport current corresponding to the isolated service, only in case simultaneous recording of the first service and the second service can be allowed. The recording and reproducing apparatus according to claim 1 or 6, characterized in that: the recording unit converts a file format of a service into another format, in case of recording a service in the recording medium, and records a period of validation ?: of the file together with the service. 0. The recording and reproducing apparatus of claim 1 or 6, characterized The recording unit restarts the recording of the service each time the synchronization information or service element identification information is updated. 11. A recording and reproducing apparatus characterized in that it comprises: a receiving unit that functions to receive various services, each including video information, audio information, a program, synchronization information for synchronizing video information and audio information with the program, and identification information of service elements to identify the video information, audio information, program and synchronization information; a recording unit that functions to record, in a recording medium, a predetermined service specified among the different services received; a reproduction unit that functions to reproduce video information and audio information included in the received predetermined service or the predetermined service recorded in the recording medium; and a program execution unit that functions to execute a program included in the predetermined service received or the predetermined service recorded in the recording medium, wherein the recording and reproducing apparatus: j reproduces the video information and the audio information included in the predetermined service recorded in the recording medium in synchronization with the program i included in the predetermined service, when executing the program included in the predetermined service according to the synchronization information; based on the synchronization information acquired, and causes the recording unit to record the isolated service. The recording and reproducing apparatus according to claim 11, characterized in that: the synchronization information includes simultaneous recording information indicating whether a second service will be recorded at the same time in case a specified first service is recorded | to be recorded, and continuous execution information indicating whether it is possible or not to continue executing a program included in the first service when the first service is changed, during playback, by the second service, and the second service is reproduced; and i the recording and playback apparatus isolates, as the predetermined service, the second service in addition to the first specified service, based on the simultaneous recording information included in the acquired synchronization information, and causes the recording unit to record the service isolated , in case the execution information continues included in the synchronization information corresponding to the program included in the first service, it indicates that it is possible to continue executing the program even when the second service has been changed and the second service is reproduced, 13. The compliant recording and reproducing apparatus with claim 12, characterized in that: it isolates, as the predetermined service, the second service in addition to the first specified service, based on the simultaneous recording information included in the acquired synchronization information, and causes the recording unit to record e the isolated service, only in case the simultaneous recording of the first service and the second service can be allowed. The recording and reproducing apparatus according to claim 11, characterized in that: it isolates the specified predetermined service based on the simultaneous recording information included in the synchronization information, and causes the recording unit to record video information, audio information, a program, synchronization information and identification information of service elements included in the isolated service. is reproduced; and the recording and reproducing apparatus: reacquires the synchronization information corresponding to the predetermined service specified among the different services received in the event that an update of the synchronization information or the service element identification information occurs while the Recording is recording the default service; and isolates the specified predetermined service based on the continuous execution information included in the acquired synchronization information, and causes the recording unit to record the isolated service. The recording and reproducing apparatus according to claim 12, characterized in that: i isolates the specified predetermined service based on the simultaneous recording information included in the acquired synchronization information, and causes the recording unit to record the information of video, audio information, a program, synchronization information and identification information of service elements included in the isolated service. 20. The recording and reproducing apparatus according to claim 11, characterized in that: it isolates the specified predetermined service based on the acquired synchronization information, and causes the recording unit to record a transport stream corresponding to the isolated service.
MX2007013880A 2005-06-06 2006-06-05 Recording and reproduction apparatus. MX2007013880A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US68762405P 2005-06-06 2005-06-06
US75137405P 2005-12-19 2005-12-19
JP2006011670 2006-06-05

Publications (1)

Publication Number Publication Date
MX2007013880A true MX2007013880A (en) 2008-01-24

Family

ID=40273380

Family Applications (1)

Application Number Title Priority Date Filing Date
MX2007013880A MX2007013880A (en) 2005-06-06 2006-06-05 Recording and reproduction apparatus.

Country Status (1)

Country Link
MX (1) MX2007013880A (en)

Similar Documents

Publication Publication Date Title
EP1886490B1 (en) Broadcast receiving terminal
US7590331B2 (en) Broadcast recording apparatus
KR20080015087A (en) Broadcast recording and reproduction apparatus and method thereof
EP1900206B1 (en) Content reproduction apparatus
KR20080078836A (en) Recording apparatus with remaining capacity detection unit
KR101059682B1 (en) Information processing device
CN101208750B (en) Recording and reproduction apparatus and recording and reproduction method
CN101341748A (en) Content management system
WO2006129819A1 (en) Broadcast receiving terminal and program execution method
KR20080015096A (en) Recording and reproduction apparatus
KR20080027821A (en) Recording and reproduction apparatus
WO2007072891A1 (en) Recording and reproduction apparatus
MX2007013880A (en) Recording and reproduction apparatus.
CN101194508A (en) Recording and reproduction apparatus
MX2007013537A (en) Broadcast recording and reproduction apparatus and method thereof.
MX2007014724A (en) Broadcast receiving terminal and program execution method.
JP2006345505A (en) Broadcast accumulation terminal
MX2007014828A (en) Program execution apparatus and execution method.
MX2007013716A (en) Recording and reproduction apparatus and recording and reproduction method.

Legal Events

Date Code Title Description
HC Change of company name or juridical status

Owner name: SUMITOMO CHEMICAL COMPANY, LIMITED

FA Abandonment or withdrawal