CN101241441B - Program replacing method and device - Google Patents
Program replacing method and device Download PDFInfo
- Publication number
- CN101241441B CN101241441B CN2008100824650A CN200810082465A CN101241441B CN 101241441 B CN101241441 B CN 101241441B CN 2008100824650 A CN2008100824650 A CN 2008100824650A CN 200810082465 A CN200810082465 A CN 200810082465A CN 101241441 B CN101241441 B CN 101241441B
- Authority
- CN
- China
- Prior art keywords
- program
- message
- pod
- java applet
- transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Stored Programmes (AREA)
Abstract
A program replacing method capable of updating a program by executing instead a temporarily downloaded program without deleting the existing program as well as capable of easily restoring such existing program. Moreover, when a function not equipped to the existing program is required to be added, said program replacing method downloads a program so that it can be executed concurrently with the existing program.
Description
The present patent application application number that to be the applicant submit on June 4th, 2004 is 200410071429.6 divides an application.
Technical field
The present invention relates to download and the update method of replaceable original program, particularly in Digital Television, original program is replaced as the program of download temporarily and carries out.
Background technology
Open the function that downloads and upgrade that discloses in flat 10-326192 communique and the Te Kai 2003-122578 communique in the existing Digital Television (Japan) spy.Fig. 1 is the pie graph of the existing digital cable TV system that downloads and carry out, and this system is made of headend (headend) 4110, two station terminal devices 4120 and 4130.Headend 4110 is preserved three program A4111, program B4112, program C4113, supplies with end device 4120 and 4130.End device 4120 has three program A4121, program B4122, program C4123 that preserve in advance and carries out the processor 4124 of these programs.Equally, end device 4130 also has in advance three program A4131, program B4132, program C4133 that preserve and carries out the processor 4134 of these programs.If send new program from headend 4110, then end device 4120 and 4130 is also preserved itself and original program replacing, carries out the program of upgrading later on.For example, if from headend 4110 new program 4111 is sent to end device 4120 and 4130, then end device 4120 and 4130 is replaced into program A4111 with program A4121 and 4131.After, processor 4124 and 4134 is carried out the program A4111 that upgraded, and replaces program A4121 and 4131.Like this, by upgrading the program that end device is preserved, can realize end device function renewal and append new function.
But, in existing technology,, can not turn back to the program before upgrading simply owing to upgrade original program.During and time qualified on, under the situation of the function of wanting to provide specific, needing to download from headend once more turns back to original program.In general, downloading needs the time, can not use other functions of end device simultaneously, so if increase download time, then produce the problem that the user can not use end device.
Summary of the invention
The object of the present invention is to provide a kind of program replacing method, can carry out the program updates in the broadcast receiving terminal apparatus, also can easily return original program.
To achieve these goals, the invention provides a kind of program replacing method, be installed on the transmission of carrying out message between POD on the broadcast receiving terminal apparatus and the program in the described broadcast receiving terminal apparatus removably when receiving, program in the described broadcast receiving terminal apparatus that displacement is registered carrying out the transmission reception of message with described POD, it is characterized in that, this method comprises: first registration step, register so that first program can be carried out the transmission reception of message with described POD, described first program has the identifier that is used for the specific program kind; Notifying process is notified second program in the Already in described broadcast receiving terminal apparatus, stops the transmission reception of the message of described second program and described POD, and described second program has the identifier with the identifier identical content of described first program; And first stop step, the transmission that stops the message of described second program and described POD receives, the transmission of the message between the program in described POD and the described broadcast receiving terminal apparatus receives and utilizes message pathway ID to carry out, this message pathway ID is the specific communication path that message send to receive of being used for, register so that described first program can be carried out the step that the transmission of message receives with described POD, also carry out the communication path that message sends reception and distribute the first message pathway ID being used for described first program and described POD.
In addition, be assigned to and be used for described second program and described POD and carry out the second message pathway ID that message sends the communication path that receives, after stopping the message transmission receiving step of described second program and described POD, also be held.
And described program replacing method also has: second stops step, and the transmission that stops the message of described first program and described POD receives; Second registration step, stopped described second program that the transmission with the message of described POD receives, utilize the second message pathway ID to register so that can send reception with described POD once more, the described second message pathway ID has been assigned to be used for described second program and described POD and to carry out message and send the communication path that receives.
And, be installed on the transmission of carrying out message between POD on the broadcast receiving terminal apparatus and the program in the described broadcast receiving terminal apparatus removably when receiving, displacement with can and described POD carry out the transmission reception of message and program in the described broadcast receiving terminal apparatus that is registered, it is characterized in that, this device comprises: registration portion, register so that first program can be carried out the transmission reception of message with described POD, described first program has the identifier that is used for the specific program kind; Notice portion notifies second program in the Already in described broadcast receiving terminal apparatus, stops the transmission reception of the message of described second program and described POD, and described second program has the identifier with the identifier identical content of described first program; And stop portion, the transmission that stops the message of described second program and described POD receives, the transmission of carrying out message between the program in above-mentioned POD and above-mentioned broadcast receiving apparatus receive to be to utilize and specificly to be used for that message pathway ID that message sends the communication path that receives carries out, and registers so that described first program can be carried out registration portion that the transmission of message receives, also carry out the communication path that message sends reception and distribute the first message pathway ID being used for described first program and described POD with described POD.
The invention provides a kind of program replacing method of carrying out by broadcast receiving terminal apparatus, be installed on when carrying out the transmission reception of message between POD on the described broadcast receiving terminal apparatus and the program in the described broadcast receiving terminal apparatus on removable/dress ground, program in the described broadcast receiving terminal apparatus that displacement is registered can carry out transmission with the message of described POD and receive, it is characterized in that this method comprises:
Registration step is registered first program, thereby makes described first program can carry out the transmission acceptance of message with described POD, and described first program has the identifier that is used for the recognizer kind; The transmission that stops to carry out with described POD message of second program in described broadcast receiving terminal apparatus of notifying process, notice receives, and described second program has the identical identifier of content with the identifier of described first program; And, stopping step, the transmission that stops the message of described second program and described POD receives.
Thus,, do not eliminate, so can turn back to the preceding state that upgrades simply owing to preserve original second program even download is used for the situation of the first new program of renewal (displacement).Have, POD for example is the card that is called as the descrambling etc. of CableCard (TM) again.
Here, also can have to described first program and notify described first program can carry out the step that the transmission with the message of described POD receives.
Thus, first program knows that the transmission that can carry out with the message of POD receives, and can begin to receive with the transmission of the message of POD.
Have again, thereby to receive be to make by being registered can carry out described second program that the transmission of message receives with described POD and become non-registered in the transmission that stops the message of described second program and described POD.
In addition, also the part of described first program as broadcast wave can be transmitted.
In addition, received described second program that stops the notice that the transmission with the message of described POD receives and carried out necessary the processing, can carry out described second program that the transmission of message receives with described POD and become non-registered thereby make by being registered.Thus, second program can be carried out aftertreatment after the renewal etc.
Have again, a kind of program replacing device, be installed on when carrying out the transmission reception of message between POD on the broadcast receiving terminal apparatus and the program in the described broadcast receiving terminal apparatus on removable/dress ground, program in the described broadcast receiving terminal apparatus that displacement is registered can carry out transmission with the message of described POD and receive, it is characterized in that this device comprises:
Registering unit is used to register first program, thereby makes described first program can carry out the transmission acceptance of message with described POD, and described first program has the identifier that is used for the recognizer kind; Notification unit, the transmission that is used to notify second program in described broadcast receiving terminal apparatus to stop to carry out with described POD message receives, and described second program has the identical identifier of content with the identifier of described first program; And, stop element, the transmission that stops the message of described second program and described POD receives.
In addition, also can comprise: stop the step that the transmission of the message of described first program and described POD receives; And,
So that stopped the step that mode that described second program that the transmission with the message of described POD receives can send reception is once more registered.
Thus, after being first program, when returning the second original program once more, can not download second program, only carry out location registration process and just turn back to original state by second program updates.
Have again, also before the step that can receive, have the step of notifying the transmission of the message that stops described first program and described POD to receive to described first program in the transmission of the message that stops described first program and described POD.
Thus, before first program is stopped, can know its situation in advance, so can before stopping, finishing necessary processing.
Have again, the present invention not only can be used as such program replacing method and realizes, and can be used as the program replacing device that each step has been installed realize in circuit etc., or realize, or realize as the recording medium of the embodied on computer readable that has write down such program as the program that makes computing machine carry out each step.
Description of drawings
By the descrambling that carries out below in conjunction with the accompanying drawing that an example exemplarily is shown, above-mentioned and other purposes of the present invention and characteristics will become apparent, wherein:
Fig. 1 is the pie graph of the existing program replacing method structure of expression.
Fig. 2 is the structural drawing of the embodiment 1 of cable television system of the present invention.
Fig. 3 represents to be used in the cable television system of the present invention an example of the frequency band using method of communicating by letter between headend and end device.
Fig. 4 represents to be used in the cable television system of the present invention an example of the frequency band using method of communicating by letter between headend and end device.
Fig. 5 represents to be used in the cable television system of the present invention an example of the frequency band using method of communicating by letter between headend and end device.
Fig. 6 represents the structural drawing of end device in the cable television system of the present invention.
Fig. 7 represents the outward appearance typical example of end device in the cable television system of the present invention.
Fig. 8 is the pie graph of the hardware configuration of POD of the present invention.
Fig. 9 is the pie graph of the program structure of POD preservation of the present invention.
Figure 10 is the structural drawing with the bag of MPEG specification definition.
Figure 11 represents an example of MPEG2 transport stream.
Figure 12 represents to be seen by the exception that front panel constitutes under the situation of input part.
Figure 13 is the pie graph of the program structure of end device preservation of the present invention.
One example of the demonstration of Figure 14 (1) expression display of the present invention.
One example of the demonstration of Figure 14 (2) expression display of the present invention.
Figure 15 represents information one example that secondary storage part of the present invention is preserved.
Figure 16 represents information one example that a storage part of the present invention is preserved.
Figure 17 is the mode chart of the PAT content of expression MPEG2 specification specifies of the present invention.
Figure 18 is the mode chart of the PAT content of expression MPEG2 specification specifies of the present invention.
Figure 19 is the mode chart of the AIT content of expression DVB-MHP specification specifies of the present invention.
Figure 20 is the mode chart of the expression file system that sends by the DSMCC mode of the present invention.
Figure 21 is the mode chart of expression XAIT content of the present invention.
Figure 22 represents information one example that secondary storage part of the present invention is preserved.
Figure 23 represents demonstration one example of display of the present invention.
Figure 24 represents information one example that secondary storage part of the present invention is preserved.
Figure 25 is the action classification code of java applet and the table of its meaning of gathering of the present invention.
Figure 26 represents demonstration one example of display of the present invention.
Figure 27 represents demonstration one example of display of the present invention.
Figure 28 represents information one example that secondary storage part of the present invention is preserved.
Figure 29 is the process flow diagram of the action when POD Lib accepts the registration of java applet in the expression embodiment 1.
Figure 30 is the process flow diagram of the action when POD Lib accepts the registration of java applet in the expression embodiment 1.
Figure 31 (1) is the mode chart of providing and delivering from the message of POD in the expression embodiment 1.
Figure 31 (2) is the mode chart of providing and delivering from the message of POD in the expression embodiment 1.
Figure 31 (3) is the mode chart of providing and delivering from the message of POD in the expression embodiment 1.
Figure 32 (1) is the mode chart of providing and delivering from the message of POD in the expression embodiment 1.
Figure 32 (2) is the mode chart of providing and delivering from the message of POD in the expression embodiment 1.
Figure 33 (1) is the mode chart of providing and delivering from the message of POD in the expression embodiment 1.
Figure 33 (2) is the mode chart of providing and delivering from the message of POD in the expression embodiment 1.
Figure 33 (3) is the mode chart of providing and delivering from the message of POD in the expression embodiment 1.
Figure 34 represents information one example that secondary storage part of the present invention is preserved.
Figure 35 is the process flow diagram that POD Lib accepts the action when eliminating java applet in the expression embodiment 1.
Figure 36 is the process flow diagram that POD Lib accepts the action when eliminating java applet in the expression embodiment 1.
Figure 37 is the process flow diagram of the run when POD Lib accepts the registration of java applet in the expression embodiment 1.
Figure 38 is the process flow diagram of the run when POD Lib accepts the registration of java applet in the expression embodiment 1.
Figure 39 represents from the end device energized until the process flow diagram of change from the action of the message dispensing of POD.
Figure 40 represents from the end device energized until the process flow diagram of change from the action of the message dispensing of POD.
Figure 41 is the java applet of expression on the end device and the figure of the dispensing of the message between the subroutine on POD path one example.
Figure 42 is the process flow diagram that gathers the action of the POD Lib under the registration java applet situation in POD Lib.
Figure 43 is the process flow diagram of the action of the POD Lib under registration (that is, making the registration of message dispensing that register and java applet in the secondary storage part the become non-registered) situation that gathers POD Lib elimination java applet.
Embodiment
Below, describe embodiments of the present invention in detail with reference to accompanying drawing.
The embodiment 1 of cable television system of the present invention at first, is described with reference to accompanying drawing.Fig. 2 is the block scheme that expression constitutes the device relation of wire system, and this system is made of headend 101 and three end device A111, end device B112, end device C113.In the present embodiment,, connect three end devices for a headend, even but the end device of arbitrary number is connected on the headend, also can implement the present invention.
101 pairs of a plurality of end devices of headend send video/sound/broadcast singals such as data, and the data that receive simultaneously from end device send.In order to realize it, the band segmentation that will be used for the transmission between headend 101 and end device A111, end device B112, end device C113 is used.Fig. 3 is the table of expression band segmentation one example.Frequency band roughly is divided into two kinds of Out Of Band (be called for short OOB) and In-Band.5~130MHz is distributed to OOB, be mainly used in the exchange of the data between headend 101 and end device A111, end device B112, end device C113.130MHz~864MHz distributes to In-Band, is mainly used in the broadcasting channel that comprises video/sound.In OOB, use the QPSK modulation system, and In-Band uses the QAM64 modulation system.Relevant modulation system technology, owing to be and the little relevant known technology of the present invention, so omit detailed explanation.Fig. 4 is more detailed use one example of OBB frequency band.The data that 70MHz~74MHz is used for headend 101 send, and all end device A111, end device B112, end device C113 receive identical data from headend 101.On the other hand, 10.0MHz~10.1MHz is used for sending from the data of end device A111 head-end device 101,10.1MHz~10.2MHz is used for sending from the data of end device B112 head-end device 101,10.2MHz~10.3MHz is used for sending from the data of end device C113 head-end device 101.Thus, data that can each end device is intrinsic send to headend 101 from each end device A111, end device B112, end device C113.Fig. 5 is use one example for the In-Band frequency band.150~156MHz and 156~162MHz distribute to television channel 1 and television channel 2 respectively, distribute television channel at interval by 6MHz later on.After 310MHz, be that unit distributes to radio channel by 1MHz.These each channels can be used as analog broadcasting and use, and also can be used as digital broadcasting and use.Under the situation of digital broadcasting, the MOEG2 transmission package form transmission by based on the MPEG2 specification except sound and video, also can send various datacast data.
End device A111, end device B112, end device C113 receive from the broadcast singal of headend 101 and reproduce.In addition, for headend 101, send the intrinsic data of each end device.Three end devices adopt identical structure in the present embodiment.
Fig. 6 is the block scheme of the hardware configuration of expression end device.The 500th, end device is made of QAM demodulation section 501, QPSK demodulation section 502, QPSK modulation portion 503, TS demoder 505, audio decoder 506, loudspeaker 507, Video Decoder 508, display 509, secondary storage part 510, storage part 511, ROM512, input part 513, a CPU514.In addition, in end device 500, dismantled and assembled POD504.
Fig. 7 is the slim TV machine as outward appearance one example of end device 500.
The 601st, the casing of slim TV machine, except POD504, all component parts of built-in end device 500.
The 602nd, display is equivalent to the display 509 among Fig. 6.
The 603rd, by the front panel that a plurality of buttons constitute, be equivalent to the input part 513 of Fig. 6.
The 604th, signal input terminal, the stube cable line receives with the transmission of the signal of headend 101 so that carry out.Signal input terminal is connected with QAM demodulation section 501, QPSK demodulation section 502, the QPSK modulation portion 503 of Fig. 6.
The 605th, be equivalent to the POD card of the POD504 of Fig. 6.As the POD card 605 of Fig. 7, POD504 employing and end device 500 be mode independently, can dismounting on end device 500.The details of POD504 is with aftermentioned.
The 606th, the insertion groove of insertion POD card 605.
With reference to Fig. 6, QAM demodulation section 501 usefulness comprise the tuning information by the CPU514 specified frequency, and the signal that headend 101 has been carried out QAM modulation and transmission carries out demodulation, hands to POD504.
POD504 forms the mode that can carry out dismounting from end device body 500 as shown in Figure 7.As the example of POD504, the card that carries out descrambling etc. that is called as CableCard (TM) is arranged.The connecting interface of terminal body 500 and POD504 defines by OpenCable (TM) HOST-POD Interface Specification (OC-SP-HOSTPOD-IF-I12-03021O) and with reference to the specifications of these specifications.Here, omit its details, only the explanation part relevant with the present invention.
Fig. 8 is the block scheme of the inner structure of expression POD504.POD504 is made of first descrambling (descrambler) portion 701, the second descrambling portion 702, scramble (scrambler) portion 703, first storage part 704, second storage part 705, CPU706.
The first descrambling portion 701 receives the signal of being encrypted by the QAM demodulation section 501 of end device 500, and is decrypted according to the indication from CPU706.Then, the signal of deciphering is sent to the TS demoder 505 of end device 500.Information such as key necessary in the decoding are suitably provided by CPU706.Specifically, headend 101 is broadcasted several charging channels.If the user buys this charging channel, then the first descrambling portion 701 is by receiving descrambling to the necessary informations such as key from CPU706, and the user can browse charging channel.When the information of necessity such as key was not provided, the first descrambling portion 701 did not carry out descrambling, and the signal former state that receives is sent to TS demoder 505.
The second descrambling portion 702 receives the signal of being encrypted by the QPSK demodulation section 502 of end device 500, and is decrypted according to the indication from CPU706.Then, decrypted data is handed to CPU706.
CPU706 carries out second storage part, 705 program stored.Program is made of a plurality of subroutines.Fig. 9 is an example of second storage part, 705 program stored.In Fig. 9, program 800 is made of a plurality of subroutines such as master routine 801, initialization subroutine 802, network sub program 803, reproduction subroutine 804, PPV subroutines 805.
Here, PPV is the simple of Pay Per View, is the service that can watch specific programs such as image with charge method.If the user inputs password, then head-end device 101 notices are bought, and scramble is disengaged, and can watch.Because this watching, the user pays the expense of buying in the future.
In addition, initialization subroutine 802 passes through the second frequency of second storage part, 705 storages the CPU514 notice QPSK modulation portion 503 of end device 500.Initialization subroutine 802 offers scramble portion 703 with the enciphered message of second storage part, 705 storages.If the information that initialization subroutine 802 will send offers scramble portion 703 by network sub program 803, then the enciphered message that provides is provided in scramble portion 703, and data are encrypted, and offers the QPSK modulation portion 503 of end device 500.The information of 503 pairs of encryptions that provide of QPSK modulation portion is modulated, and sends to headend 101.
Its result, initialization subroutine 802 can carry out two-way communication with headend 101 by end device 500, the second descrambling portion 702, scramble portion 703, network sub program 803.
The subroutine of carrying out two-way communication with headend 101 is used, is used for to network sub program 803 by a plurality of subroutines such as master routine 801, initialization subroutine 802.Specifically, work for other subroutines of using network sub program 803, so that carry out two-way communication by TCP/IP and headend 101.TCP/IP is given for the known technology that carries out the agreement of message exchange between multiple arrangement, omits detailed explanation here.Network sub program 803 subroutine 802 starting that when power connection, is initialised, by end device 500 head-end devices 101 notice MAC Address (Media Access Control address simple), this address is the identifier of the POD504 that stores in advance of identification second storage part 705, and request obtains the IP address.To POD504 notice IP address, network sub program 803 is stored in the IP address in first storage part 704 headend 101 by end device 500.After, headend 101 and POD504 use this IP address as the identifier of POD504, communicate.
Reproduce subroutine 804 decryption informations such as the 3rd key that decryption information such as second key of second storage part, 705 storages and end device 500 provide are offered the first descrambling portion 701, can carry out descrambling.In addition, by network sub program 803, the signal that receives the first descrambling portion 701 that is input to is the information of PPV channel.When knowing the PPV channel, starting PPV subroutine 805.
If starting PPV subroutine 805 then shows the message of urging program to be bought to end device 500, receive user's input.Specifically, if transmit the information of wanting to be presented on the picture, then display message on the display 509 of the program of moving on the CPU514 of end device 500 at end device 500 to the CPU514 of end device 500.If the user is by the input part 513 input passwords of end device 500, then the CPU514 of end device 500 receives this password, the PPV subroutine 805 that notice is moved on the CPU706 of POD504.PPV subroutine 805 sends to headend 101 with the password that receives by network sub program 803.If password is correct, then headend 101 will be deciphered required decryption informations such as the 4th key by network sub program 803 notice PPV subroutines 805.The signal that the decryption informations such as the 4th key that PPV subroutine 805 will receive offer 701 pairs of inputs of 701, the first descrambling portions of the first descrambling portion carries out descrambling.
With reference to Fig. 6,505 pairs of signals that receive from POD504 of TS demoder are implemented filtering, and data necessary is handed to audio decoder 506, Video Decoder 508 and CPU514.Here, the signal that transmits of POD504 is the MPEG2 transport stream.The details of MPEG2 transport stream is recorded among the MPEG specifications ISO/IEC13818-1, omits its details in the present embodiment.The MPEG2 transport stream is made of a plurality of regular length bags, in each bag, and allocation packet ID.Figure 10 is the structural drawing of bag.The 900th, bag is made of 188 bytes of regular length.The beginning nybble is a head 901, preserves the identifying information of bag, and remaining 184 bytes is service load 902, comprises to want the information that sends.The 903rd, the detailed catalogue of head 901.To the 12nd~the 24th 13, comprising ID from the outset.Figure 11 is the mode chart that shows the row of a plurality of bags that are sent out.Bag 1001 has bag ID ' 1 ', the number one information of input video A in service load in head.Bag 1002 has bag ID ' 2 ', the number one information of sound import A in service load in head.Bag 1003 has bag ID ' 3 ', the number one information of sound import B in service load in head.
With reference to Figure 11, if CPU514 is to TS demoder 505 indication bag ID ' 1 ' with as ' the Video Decoder 508 ' of exporting the destination, then TS demoder 505 extracts the bag of bag ID ' 1 ' from the MPEG2 transport stream that POD504 receives, and hands to Video Decoder 508.In Figure 11, only video data is handed to Video Decoder 508.Simultaneously, if CPU514 to TS demoder 505 indication bag ID ' 2 ' with ' audio decoder 506 ', then TS demoder 505 extracts the bag of bag ID ' 2 ' from the MPEG2 transport stream that POD504 receives, and hands to audio decoder 506.In Figure 11, only voice data is handed to audio decoder 508.
The processing of only taking out necessary bag according to this bag ID is the filtering that TS demoder 505 carries out.TS demoder 505 can be carried out a plurality of filtering of CPU514 indication simultaneously.
With reference to Fig. 6, audio decoder 506 connects the voice data the bag that the MPEG2 transport stream that provides from TS demoder 505 is provided, and carries out the digital-to-analog conversion and outputs to loudspeaker 507.
ROM512 is the storer that can not rewrite, and is made of ROM or CD-ROM, DVD etc. particularly.ROM512 preserves the program that CPU514 carries out.
CPU514 carries out the ROM512 program stored.According to the indication of the program of carrying out, QAM demodulation section 501, QPSK demodulation section 502, QPSK modulation portion 503, POD504, TS demoder 505, display 509, secondary storage part 510, storage part 511, a ROM512 are controlled.
Figure 13 is an example of the structural drawing of the program of being carried out by CPU514 of storing among the ROM512.
OS1201 is if connect the power supply of end device 500, the subroutine of just starting CPU514.OS1201 is the simple of operating system, and Linux etc. are examples.OS1201 is the general name of the kernel program 1201a and the known technology that routine library 1201b constitutes of parallel other subroutines of execution, omits detailed explanation.In the present embodiment, the kernel program 1201a of OS1201 carries out EPG1202 and JavaVM1203 as subroutine.In addition, routine library 1201b is for these subroutines, is provided for a plurality of functions of the component parts that control terminal device 500 has.
As an example of function, introduce tuber function.Tuber function receives the tuning information that comprises frequency from other subroutines, it is handed to QAM demodulation section 501.QAM demodulation section 501 carries out demodulation process according to the tuning information that provides, and demodulated data can be handed to POD504.Its result, other subroutines can be controlled qam demodulator by routine library 1201b.
EPG1202 is by to user's display program guide look and accept the program display part 1202a from user's input, the recapiulation 1102b that carries out the channel channel selection and constitute.Here, EPG is the simple of ElectricProgram Guide.If connect the power supply of end device 500, then EPG1202 is started by kernel program 1201a, in the inside of the EPG1202 that starts, and the input that program display part 1202a waits for from the user by the input part 513 of end device 500.Here, under the situation that input part 513 is made of front panel shown in Figure 12,, then notify the identifier of EPG button to CPU514 if the user presses the EPG button 1107 of input part 513.The program display part 1202a as the EPG1202 of subroutine of the last action of CPU514 receives this identifier, displays program information on display 509.Figure 14 (1) and Figure 14 (2) are examples that is presented at the listing on the display 509.With reference to Figure 14 (1), on display 509, grid-like ground displays program information.In row 1301, show time information.In row 1302, the indicated channel name ' channel 1 ', with the moment time corresponding section of row 1301 in the program shown.In that ' in the channel 1 ', ' news 9 ', 10:30~12:00 shows ' film AAA ' to be presented at 9:00~10:30 repertoire.Row 1303 are same with row 1302, the indicated channel name ' channel 2 ', with the moment time corresponding section of row 1301 in the program shown.' film BBB ', 11:00~12:00 shows ' news 11 ' at 9:00~11:00 repertoire.The 1330th, cursor.Cursor 1330 moves when the left cursor 1103 of pressing front panel 1100 and right cursor 1104.Under the state of Figure 14 (1), if by bottom right cursor 1104, cursor 1330 moves right, as Figure 14 (2).And under the state of Figure 14 (2), if by bottom left cursor 1103, then cursor 1330 is moved to the left, as Figure 14 (1).
Under the state of Figure 14 (1), if press the OK button 1105 of front panel 1100, then program display part 1202a is to the recapiulation 1102b notice ' identifier of channel 1 '.Under the state of Figure 14 (2), if press the OK button 1105 of front panel 1100, then program display part 1202a is to the recapiulation 1102b notice ' identifier of channel 2 '.
In addition, program display part 1202a with the programme information that shows by POD504 from headend 101 is stored in storage part 511 termly.Usually, obtain programme information from headend and need the time.When the EPG of input part 513 button 1107 is pressed, be kept at the programme information in the storage part 511, display program table as soon as possible in advance one time by showing.
In addition, in reproduction, if the user presses the last cursor 1101 and the following cursor 1102 of front panel 1100, then recapiulation 1102b receives the notice that is pressed from input part 513 by CPU514, the channel that change is being reproduced.At first, the identifier of recapiulation 1102b channel in the current reproduction of storage in storage part 511.Figure 16 (1), Figure 16 (2) and Figure 16 (3) are the examples of the identifier of the channel preserved in storage part 511.Identifier ' 3 ' is stored in Figure 16 (1), and with reference to Figure 15, the channel of expression channel name ' TV3 ' is in the reproduction.In the state of Figure 16 (1), if the user presses cursor 1101, then recapiulation 1102b is with reference to the channel information of Figure 15, for the channel name of the preceding channel in table ' switches in the channel of channel 2 ' and reproduces, so ' identifier ' 2 ' of channel 2 ' is handed to service manager with channel name.Simultaneously, the channel identifier ' 2 ' of storage in storage part 511 of rewriting.The state that Figure 16 (2) expression channel identifier is rewritten.In addition, under the state of Figure 16 (1), if the user presses down cursor 1102, then recapiulation 1102b is with reference to the channel information of Figure 15, for the channel name of the next channel in table ' switches in the channel of TV Japan ' and reproduces, the identifier ' 4 ' of channel name ' TVJapan ' is handed to service manager.Simultaneously, the channel identifier ' 4 ' of storage in storage part 511 of rewriting.The state that Figure 16 (3) expression channel identifier is rewritten.
JavaVM1203 is the Java Virtual Machine of resolving in turn and carrying out with the program of Java (TM) language description.The program of describing with Java language is called as bytecode, is compiled as the intermediate code that does not rely on hardware.Java Virtual Machine is an interpretive routine of carrying out this bytecode.In addition, after the Java Virtual Machine of a part is translated into the intelligible execute form of CPU514 with bytecode, hand to CPU514 and execution.JavaVM1203 specifies the java applet of carrying out among the starting kernel program 1201a.In the present embodiment, kernel program 1201a specified services supervisory routine 1204 is as the java applet of carrying out.The details of Java language ' is illustrated in Java Virtual MachineSpecification many books such as (ISBN 0-201-63451-X) at books.Here, omit its details.
Then, the CA1205d request descrambling of service manager 1204 in java applet storehouse 1205.CA1205d provides deciphering to go up necessary information by the routine library 1201b of OS1201 to POD504.POD504 is decrypted and hands to TS demoder 505 according to the information that provides to the signal that provides from QAM demodulation section 501.
Then, the JMF1205a of service manager 1204 in java applet storehouse 1205 provides the identifier of channel, the reproduction of request video/sound.
At first, JMF1205a obtains from PAT, PMT and is used to differentiate the video that will reproduce and the bag ID of sound.PAT and PMT are embedded in the service load of the bag that comprises in the MPEG2 transport stream by the table that the program in MPEG2 specification specifies, the performance MPEG2 transport stream constitutes, and sound and video are sent simultaneously.Its details please refer to specifications.Here, only explanation roughly.PAT is the abbreviation of Program Assocition Table, is kept in the bag that wraps ID ' 0 ' to be sent out.JMF1205a by the routine library 1201b of OS1201, specifies bag ID ' 0 ' and CPU514 in order to obtain PAT in TS demoder 505.TS demoder 505 carries out filtering by bag ID ' 0 ', and by handing to CPU514, JMF1205a collects the bag of PAT.Figure 17 is the table of PAT information one example of pattern ground expression collection.Row 1601 are program numbers.Row 1602 are bag ID.The bag ID of row 1602 is used to obtain PMT.Row 1611~1613rd, the group of the bag ID corresponding with the program number of channel.Here, three channels of definition.Row 1611 has defined the group of program number ' 101 ' and bag ID ' 501 '.If offering the channel identifier of JMF1205a is ' 2 ', then JMF1205a is with reference to the row 1412 of Figure 15, obtains corresponding program number ' 102 ', then, with reference to the row 1612 of the PAT of Figure 17, obtains the bag ID ' 502 ' corresponding with program number ' 102 '.PMT is the abbreviation of Program Map Table, is kept in the bag by the bag ID of PAT regulation to be sent out.JMF1205a by the routine library 1201b of OS1201, specifies bag ID and CPU514 to TS demoder 505 in order to obtain PMT.Here, the bag ID of appointment is ' 502 '.TS demoder 505 carries out filtering by bag ID ' 502 ', and by handing to CPU514, JMF1205a collects the bag of PMT.Figure 18 is the table of PMT information one example of pattern ground expression collection.Row 1701 are traffic category.Row 1702 are bag ID.In the bag of the bag ID of row 1702 appointments, be kept in the service load by the traffic category specified message and be sent out.Row 1703 are side informations.Row 1711~1714 is called as elementary streams, is the group with the information category that wraps the ID transmission.Row 1711 is groups of traffic category ' sound ' and bag ID ' 5011 ', is illustrated in the service load of wrapping ID ' 5011 ' and preserves sound.JMF1205a obtains the video of reproduction and the bag ID of sound from PMT.With reference to Figure 18, JMF1205a obtains the bag ID ' 5011 ' of sound from row 1711, obtains the bag ID ' 5012 ' of video from row 1712.
Then, the routine library 1201b of JMF1205a by OS1201 offers TS demoder 505 with the bag ID of the sound that obtains with as the bag ID of the audio decoder 506 of output destination, video with as the group of the Video Decoder 508 of output destination.TS demoder 505 carries out filtering according to bag ID that provides and output destination.Here, will wrap the bag of ID ' 5011 ' and hand to audio decoder 506, will wrap the bag of ID ' 5012 ' and hand to Video Decoder 508.The digital-to-analog conversion of the bag that audio decoder 506 provides is reproduced sound by loudspeaker 507.The digital-to-analog conversion of the bag that Video Decoder 508 provides, display video on display 509.
At last, the AM1205b of service manager 1204 in java applet storehouse 1205 provides the identifier of channel, request for data broadcast reproduction.Here, data broadcast playback is to extract the java applet that comprises in the MPEG2 transport stream, is carried out by JavaVM1203.The method of imbedding java applet in the MPEG2 transport stream adopts the DSMCC mode of describing among the MPEG specifications ISO/IEC13818-6.Here, omit the specification specified of DSMCC.The DSMCC mode is in the bag of MPEG2 transport stream, and regulation is carried out Methods for Coding to the file system that catalogue and file by the computing machine use constitute.In addition, the information of the java applet of execution is the form that is called as AIT, is embedded in the bag of MPEG2 transport stream to be sent out.AIT defines in the 10th chapter of DVB-MHP specification (formally say, be ETSI TS 101 812DVB-MHP specification V1.0.2), is the simple of Application InformationTable.
AM1205b is at first in order to obtain AIT, and is same with JMF1205a, obtains PAT, PMT, the bag ID of the bag that acquisition AIT is saved.If the identifier of the channel that provides is ' 2 ', the PAT of Figure 17, the PMT of Figure 18 are sent out, and then by the process same with JMF1205a, obtain the PMT of Figure 18.AM1205b extracts bag ID information as a supplement with traffic category for ' data ' from the elementary streams with ' AIT ' from PMT.With reference to Figure 18, the elementary streams of row 1713 is fit to, and obtains bag ID ' 5013 '.
AM1205b provides bag ID and the output destination CPU514 of AIT to TS demoder 505 by the routine library 1201b of OS1201.TS demoder 505 carries out filtering by the bag ID that provides, and hands to CPU514.Its result, AM1205b can collect the bag of AIT.Figure 19 is the table of information one example of the AIT that collects of pattern ground expression.Row 1801 are identifiers of java applet.Row 1802 are control informations of java applet.' autostart ', ' present ', ' kill ' etc. are arranged in control information, and ' autostart ' means that end device 500 automatically carries out this program immediately, and ' present ' means and do not automatically perform, and ' kill ' means program is stopped.Row 1803 are to be used to extract the DSMCC identifier that comprises the bag ID of java applet by the DSMCC mode.Row 1804 are program names of java applet.Row 1811 and 1812 is message block of java applet.The java applet of row 1811 definition is groups of identifier ' 301 ', control information ' autostart ', DSMCC identifier ' 1 ', program name ' a/TopXlet '.The java applet of row 1812 definition is groups of identifier ' 302 ', control information ' present ', DSMCC identifier ' 1 ', program name ' b/GameXlet '.Here, two java applets have identical DSMCC identifier, and this is illustrated in and comprises two java applets in the file system of encoding by a DSMCC mode.Here, for java applet, only stipulate four information, but in fact defined more information.Details please refer to the DVB-MHP specification.
AM1205b finds out the java applet of ' autostart ' from AIT, extract corresponding DSMCC identifier and java applet name.With reference to Figure 19, AM1205b extracts the java applet of row 1811, obtains DSMCC identifier ' 1 ' and java applet name ' a/TopXlet '.
Then, AM1205b uses the DSMCC identifier that obtains from AIT, obtains to preserve in the DSMCC mode bag ID of the bag of java applet from PMT.Specifically, in PMT, be ' data ' with traffic category, obtain the bag ID of the elementary streams consistent with the DSMCC identifier of side information.
If the DSMCC identifier is ' 1 ', PMT is Figure 18, and then the elementary streams with row 1714 is consistent, takes out bag ID ' 5014 '
The routine library 1201b of AM1205b by OS1201 to TS demoder 505 specify by the DSMCC mode imbedded data bag bag ID and as the CPU514 of output destination.Here, provide bag ID ' 5014 '.TS demoder 505 carries out filtering by the bag ID that provides, and hands to CPU514.Its result, AM1205b can collect necessary bag.AM1205b according to DSMCC mode reflex original file system, is kept in storage part 511 from the bag of collecting.To from the bag the MPEG2 transport stream, take out the data of file system etc. later on and be kept at the process in the memory units such as storage part 511 and be called download.
Figure 20 is an example of downloaded files system.Among the figure, circle is represented catalogue, square expression file, the 1901st, root directory, the 1902nd, catalogue ' a ', the 1903rd, catalogue ' b ', the 1904th, file ' TopXlet.class ', the 1905th, file ' GameXlet.class '.
Then, AM1205b delivers the java applet of execution to JavaVM1203 from the file system that is loaded in a storage part 511 down.If the java applet of carrying out ' a/TopXlet ' by name, then the last file ' TopXlet.class ' that adds ' .class ' in the java applet name becomes the file that will carry out.'/' is the separator of catalogue and filename, and with reference to Figure 20, file 1904 is the java applets that will carry out.Then, AM1205b hands to JavaVM1203 with file 1904.
JavaVM1203 carries out the java applet of delivering.
If service manager 1204 receives the identifier of other channels, then stop the video/sound to reproduce by each routine library that comprises in the java applet storehouse 1205 and the execution of java applet by each routine library that comprises in the identical Java routine library 1205, according to the identifier of the channel of new reception, carry out the reproduction and the java applet of video/sound.
Below, download, the preservation as the java applet of major function of the present invention is described and carries out function.
Figure 21 is the table that information one example of the XAIT that end-apparatus 101 is from the beginning obtained is represented on pattern ground.Row 2001 are identifiers of java applet.Row 2002 are control informations of java applet.' autoselect ', ' present ' etc. are arranged in control information, and ' autoselect ' means that end device 500 automatically carries out this program when energized, and ' present ' means and be not to automatically perform.Row 2003 are to be used to extract the DSMCC identifier that comprises the bag ID of java applet by the DSMCC mode.Row 2004 are program names of java applet.Row 2005 are the priority of java applet.Row 2011 and 2012 is message block of java applet.The java applet of row 2011 definition is groups of identifier ' 701 ', control information ' autoselect ', DSMCC identifier ' 1 ', program name ' a/PPV1Xlet '.Here,, only stipulate five information, even but the definition more information also can be implemented the present invention for java applet.
If service manager 1204 receives the XAIT information, then by and from AIT information, download the identical process of java applet, from the MPEG2 transport stream, file system is kept in storage part 511.Then, the file system of preserving is replicated in the secondary storage part 510.Have again, or not also can not be directly downloaded in the secondary storage part 510 by a storage part 511.Then, service manager 1204 is mapped the preservation position of XAIT information and downloaded files system and is kept in the secondary storage part 510.Figure 22 represents that secondary storage part 510 is with the corresponding example of preserving of XAIT information and downloaded files system.In Figure 22, identical with element and Figure 21 of Figure 21 duplicate numbers, so omit explanation.Row 2101 are preserved the preservation position of the file system of corresponding download.Among the figure, represent to preserve the position with arrow.The 2110th, the downloaded files system keeps top-level director 2111, catalogue ' a ' 2112, catalogue ' b ' 2113, file ' PPV1Xlet.class ' 2114, file ' PPV2Xlet.class ' 2115 in inside.
Here, XAIT information is preserved after preserving java applet, but also can preserve before preserving java applet.
After end device 500 energized, OS1201 is assigned to JavaVM1203 with service manager 1204, and behind JavaVM1203 starting service manager 1204, service manager 1204 is at first with reference to the XAIT information of preserving in the secondary storage part 510.Here,, the program of ' autoselect ' is handed to JavaVM1203 with reference to the control information of each java applet, and starting.With reference to Figure 22, the java applet ' PPV1Xlet ' of row 2011 definition is started.
Here, establishing java applet ' PPV1Xlet ' is the PPV subroutine 805 that has corresponding to POD504 inside, the program of the programme information of expression PPV object.In end device 500, when not having java applet ' PPV1Xlet ', if PPV subroutine 805 transmits the information that will show to the CPU514 of end device 500 on picture, then the dialogue display routine that comprises among the routine library 1201b of OS1201 shows the message of urging program to be bought shown in Figure 23 on display 509.The 2201st, dialog box has the display unit of the password box 2203 that is used to input message 2202, four passwords, OK button 2204, cancel button 2205.But, in this shows,, need the user to wait the inconvenience of confirming programme content with reference to program guide so have because programme content is unclear.
If preserve java applet ' PPV1Xlet ' in the end device 500, with its starting, then Java program ' PPV1Xlet ' in the POD in java applet storehouse 1205 Lib1205e with self as registering from the java applet of POD504 reference.When registration, the identifier of the java applet of self, action classification, priority is registration simultaneously also.POD Lib1205e with the registration content stores in secondary storage part 510.Figure 24 is that secondary storage part 510 preserves can be from an example of the state of the information of the java applet of the POD504 reference of registration.In this embodiment, preserve the identifier of row 2301 storage java applets, the action classification of row 2302 storage java applets, the priority of row 2303 storage java applets, the name of row 2304 storage java applets with sheet form.Here, the action classification of java applet has ' 1 ' and ' 2 ' two values shown in Figure 25, and value ' 1 ' expression can not be carried out the program that comprises among the routine library 1201b of the java applet of registration and java applet that is registered in addition and OS1201 simultaneously.Value ' 2 ' expression can be carried out the program that comprises among the routine library 1201b of the java applet of registration and java applet that is registered in addition and OS1201 simultaneously.With reference to Figure 24, the java applet of row 2311~2312 expression registrations.Row 2311 is the group of the name ' PPV1Xlet ' of identifier ' PPV ', action classification ' 2 ', priority ' 200 ', java applet.
POD Lib1205e can carry out the transmission reception of data to the information that POD504 notifies registered java applet between subroutine in POD504 and registered java applet.For example, the PPV subroutine 805 in the POD504 transmits the programme content that PPV buys object to the registered java applet shown in the row 2311 of Figure 24, and java applet can show on display 509 as shown in Figure 26.With the element of Figure 23 duplicate numbers be and Figure 23 components identical, so omit explanation.The 2501st, the programme information that registered java applet shows.Here, carry out dialogue display routine and the registered java applet of the routine library 1201b of OS1201 simultaneously.At this moment, POD504 discerns the other side's who transmits data java applet with reference to the classification of registered java applet.
On the other hand, dialogue display routine and the registered java applet of the routine library 1201b of OS1201 are developed respectively, and as a result of, 2201 and 2501 may be repeated to show.For fear of it, the dialogue display routine of the routine library 1201b of OS1201 is stopped.Specifically, functions such as that java applet all has is that the dialogue display routine of the routine library 1201b of OS1201 will carry out, password input, and, by ' 1 ' registration of action classification.Figure 27 is the example that registered java applet is in this case accepted indication and shown at display 509 from the PPV subroutine of POD504.
Here, as shown in Figure 28, establish secondary storage part 510 and preserve registered java applet.In this embodiment, two java applets have identical identifier ' PPV ', and action classification can not and be deposited ' 1 ' time.Under such situation, POD Lib1205e only makes the high java applet action of priority.Perhaps, both sides are moved, but will only distribute to the high java applet of priority from the message of POD504.
Figure 29, Figure 30 are the process flow diagrams that is summarised in the action of the POD Lib1205e under the situation of registering java applet among the POD Lib1205e.POD Lib1205e accepts the registration (step S2801) of java applet.The information of accepting is kept at (step S2802) in the secondary storage part 510.Compare being registered in the java applet in the secondary storage part 510 and the identifier of the java applet accepted, judge whether the java applet of same identifier is a plurality of (step S2803).Under the situation of the java applet that same identifier is arranged, proceed to the step S2901 of Figure 30.Under the situation of the java applet that does not have same identifier, also whether the action classification of the java applet that investigation is accepted counter foil capable (step S2804).Can not situation under, stop from POD504 the message of the routine library 1201b of OS1201 dispensing (step S2805).Then, make message dispensing effective (step S2806) from POD504 to the java applet of accepting, and the ends log-in reason.In step S2803, under the situation of the java applet that same identifier is arranged, investigate a plurality of same identifier java applet action classification whether can and counter foil capable (step S2901).Under the situation that the java applet that also counter foil is capable is arranged, the priority of the java applet of relatively accepting and the priority of original java applet (step S2902).When the priority of the java applet of accepting is the highest, stop the message dispensing (step S2903) to original java applet from POD504, make the message dispensing of the java applet accepted from POD504 effectively (step S2904).In step S2901, under the action classification situation that all also counter foil is capable of all java applets, proceed to step S2904.In step S2902, the priority of the java applet of accepting is not that original java applet continues to accept message under the highest situation, so direct end process.
Figure 31, Figure 32, Figure 33 be expression according to the process flow diagram of this action, the mode chart that changes from the dispensing destination of the message of POD504.The state that Figure 31 (1) expression java applet is not registered is provided and delivered all message to the routine library 1201b of OS1201 from POD504.Arrow 3001 expression message dispensings.Under the state of Figure 31 (1), if java applet is registered, then under the action classification of registered java applet can coacting situation, with reference to the process flow diagram of Figure 29, carry out the processing of step S2801, S2802, S2803, S2804, S2806, become the state of Figure 31 (2).Here, the 3011st, registered java applet, arrow 3002 be new settings from POD504 flowing to the message of java applet 3011.Strictly speaking, between POD504 and java applet, insert CPU514 and POD Lib1205e.Under the action classification of registered java applet can not coacting situation, with reference to the process flow diagram of Figure 29, carry out the processing of step S2801, S2802, S2803, S2804, S2805, S2806, become the state of Figure 31 (3).Stop arrow 3001 expression from POD504 to the flowing of the message of routine library 1201b, set again from the dispensing of POD504 to the message of java applet 3011.
Figure 32 (1) expression java applet is registered one, from POD504 all message is provided and delivered to the state of the java applet 3111 of the routine library 1201b of 0S1201 and registration.Arrow 3101 and 3102 expression message dispensings.Under the state of Figure 32 (1), if java applet is registered, then under the action classification of registered java applet can coacting situation, with reference to the process flow diagram of Figure 29, Figure 30, carry out the processing of step S2801, S2802, S2803, S2901, S2904, become the state of Figure 32 (2).Here, the 3112nd, registered java applet, arrow 3103 expression new settings from the dispensing of POD504 to the message of java applet 3112.
Figure 33 (1) expression java applet is registered one, from POD504 all message is provided and delivered to the state of the java applet 3211 that is registered.Java applet 3211 because of action classification can not and counter foil is capable becomes such state.Arrow 3201 expression message dispensings.Under the state of Figure 32 (1),, then can and deposit under the situation of action the priority of more original java applet 3211 and registered java applet at the action classification of registered java applet if java applet is registered.Under the high situation of the priority of registered java applet, with reference to the process flow diagram of Figure 29, Figure 30, carry out the processing of step S2801, S2802, S2803, S2901, S2902, S2903, S2904, become the state of Figure 32 (2).Stop arrow 3201 expression from the dispensing of POD504 to the message of java applet, reset the dispensing to the message of java applet 3211 from POD504.Under the high situation of the priority of original java applet 3211, with reference to the process flow diagram of Figure 29, Figure 30, carry out the processing of step S2801, S2802, S2803, S2901, S2902, become the state of Figure 32 (3).The dispensing of message does not change.
Have again, under the situation that the priority of the limit priority of original java applet and the java applet of accepting equates in step S2902, in step S2903, write control, so that the java applet of accepting, so that receive message.This means under the equal situation of the priority of a plurality of java applets, can consider to select one arbitrarily.
Perhaps, carry out a plurality of java applets, transmit identical message to a plurality of java applets.In this case, a plurality of java applets are installed wittingly,, understood mutual action, even action does not have problems simultaneously yet to produce equal priority and identifier.Figure 34 is the example that a plurality of java applets have same identifier and priority situation.Here, from the information of POD504 to programme transmission content and expense.The java applet of row 3311 carries out the expense demonstration and accepts the password input, and the java applet of row 3312 can implement only to carry out the demonstration of programme content.
POD Lib1205e accepts the registration of java applet, also accepts elimination simultaneously.Figure 35, Figure 36 gather the process flow diagram that POD Lib1205e eliminates the action of the POD Lib1205e under the situation of registration of java applet.POD Lib1205e accepts the elimination (step S3401) of java applet.The java applet that elimination is accepted from secondary storage part 510 (step S3402).Whether the java applet that investigation will be eliminated is current accepts message (step S3403) from POD504, if accept, then makes the message dispensing invalid (step S3404) to the java applet of accepting from POD504.The java applet (step S3405) whether same identifier is arranged in the investigation secondary storage part 501 if having, then makes the message dispensing effective (step S3406) to the routine library 1201b of OS1201 from POD504.In step S3403, if the java applet of eliminating does not receive message, then end process from POD504.In step S3405, when the java applet of the java applet same identifier that has and will eliminate,, investigate whether also counter foil capable (step S3501) of all java applets with reference to Figure 36.All java applets that can and deposit that identifier is equated reach the message dispensing effective (step S3502) from POD504 to the routine library 1201b of OS1201.At all java applets and counter foil when not capable, do not extract java applet (step S3503) with limit priority.Make message dispensing effective (step S3504) from POD504 to the java applet that extracts.
As described above, according to present embodiment, by not eliminating original program, the interim replacement, carried out the program of downloading, and can carry out the renewal of program thus, can easily turn back to original program simultaneously.In addition, by downloading save routine,, thereby can append the function that does not have in original program so that can carry out simultaneously with original program.
Have again, in the present embodiment, PPV subroutine 805 and java applet in the POD504 carry out message, the action of going forward side by side is done, but be not limited to PPV, even, also can both adapt to between any subroutine on the POD504 and any java applet on the end device 500, carrying out message, moving.In addition, java applet also can mix the part of the binary mode that can directly carry out by the part of Java description and CPU, even only the binary mode that can directly be carried out by CPU constitutes, also can implement.
In the present embodiment, preserve the content that ROM512 preserves, can implement to eliminate ROM512 by secondary storage part 510.In addition, secondary storage part 510 is made of a plurality of sub-secondary storage parts, even each sub-secondary storage part is preserved different information, also can implement.For example, a sub-secondary storage part is only preserved tuning information, and another sub-secondary storage part is preserved the routine library 1201b of OS1201, and another sub-secondary storage part is preserved the java applet of download etc., can at length cut apart.
In embodiment 1, if java applet is registered, then registered java applet stops message communicating with POD504 suddenly in the routine library 1201b of OS1201 and the secondary storage part 510.For example, buy processing midway,, then buy processing and be interrupted, the possibility until the password useless of importing is midway arranged if java applet is registered at user PPV.
Therefore, in the present embodiment, routine library 1201b and the original java applet of the OS1201 that is stopped for message communicating are notified in advance, stop after obtaining to understand.Specifically, with the step S2903 that stops message dispensing, Figure 30 of the step S2805 of Figure 29 of the process flow diagram of the action of expression in the embodiment 1 to routine library 1201b stop the message dispensing of original java applet is replaced into the process flow diagram of describing among Figure 34.
With reference to Figure 37, POD Lib1205e for message send the object be stopped, specifically for the routine library 1201b of java applet and OS1201, giving advance notice stops message and sends (step S3601).The routine library 1201b that has accepted the java applet of expiry notification and OS1201 knows to POD Lib1205e to stop message transmission (step S3602) after finishing necessary processing.POD Lib1205e stops the transmission (step S3603) of message.
In addition, the subroutine on the POD504 needs also to know that the message informing destination is changed.The process flow diagram of Figure 38 action that to be expression POD Lib1205e changed to POD504 notification message notice destination.
POD Lib1205e is for POD504, and giving advance notice stops message transmission (step S3701).The POD504 that has accepted expiry notification knows that to POD Lib1205e stopping message sending (step S3702) after finishing necessary processing.POD Lib1205e stops the transmission (step S3703) of message, sets new distribution destination (step S3704).At last, the POD Lib1205e new distribution destination notice POD504 (step S3705) that will set.
In addition, the notice that the routine library 1201b of java applet that resets and OS1201 also can accept to have set.The routine library 1201b of java applet and OS1201 not only accepts message from POD504, and the situation that transmits the message to POD504 is arranged.Specifically, can be set forth in the password of among the PPV user being imported and be sent to POD504 etc.Send effectively if can know message, then do not need invalidly to transmit message.
In embodiment 1, registered java applet is kept in the secondary storage part 510, but also can implements to be kept in storage part 511.
Under being kept at situation in the storage part 511, when power remove, the information complete obiteration of preservation.But as mentioned above, if download the execution java applet according to XATI, then the java applet of Zhi Hanging will self be registered among the POD Lib1205e, so can restore.But, in this case, power connection a little while after, the routine library 1201b of OS1201 just begins action, so produce to switch.Figure 39 is that expression end device 500 is behind power connection, until the process flow diagram of the action of being changed from the message dispensing of POD504.If energized in end device 500 (step S3801), then the program of end device 500 and POD504 is started, and establishes message dispensing (step S3802) between POD504 and routine library 1201b.AM1205 downloads java applet according to XAIT information, and JavaVM1203 carries out this java applet (step S3803).Under java applet need carry out situation with the message of POD504, will self be registered in (step S3804) among the PODLib1205e.According to the process flow diagram of stipulating among Figure 29, Figure 30, change message dispensing (step S3805) as required.
On the other hand,, under situation about registered java applet being kept in the secondary storage part 510, after energized, in registered java applet, distribute message, replace the routine library 1201b of OS1201 from POD504 as enforcement mode 1.But as mentioned above, if download the execution java applet according to XAIT, then the java applet of Zhi Hanging will self be registered among the POD Lib1205e, so become double registration.In order to prevent double registration, PODLib1205e does not accept the registration of the java applet registered.Figure 40 is that expression end device 500 is behind power connection, until the process flow diagram of change from the action of the message dispensing of POD504.If energized in end device 500 (step S3901), then the program of end device 500 and POD504 is started, according to the log-on message that secondary storage part 510 is preserved, between POD504 and java applet or routine library 1201b, establish message dispensing (step S3902).AM1205b downloads java applet according to XAIT information, and JavaVM1203 carries out this java applet (step S3903).Under java applet need carry out situation with the message of POD504, (step S39040 among the POD Lib1205e will self be registered in.POD Lib1205e is with reference to secondary storage part 510, and whether investigation has registered identical java applet (step S3905).If do not preserve, then carry out location registration process, according to the process flow diagram of Figure 29, Figure 30 regulation, change message dispensing (step S3906) as required.
Have again,, can carry out following application by embodiment 1,2,3.
If massaging devices such as personal computer and portable phones, then the present invention is suitable for.
In addition, POD504 is removable mode, but also can implement built-in.Have, under built-in situation, remove the CPU706 of POD504, CPU514 also can implement the action of CPU706.
The java applet of registering among the POD Lib1205e is not only the java applet of download, even and built-in in advance java applet, also can implement.In addition, if removable storage mediums such as dismounting SD storage card are then controlled socket, can be taken into java applet therefrom.In addition, install and be connected to network of network portion, can take out java applet from network.
And in embodiment 1~3, the only subroutine on the POD504 is to the java applet message of providing and delivering, but plural subroutine and java applet can implement to provide and deliver individually respectively message.Figure 41 represents an example of a plurality of subroutines on the POD504 and the dispensing of the message between a plurality of java applet.Subroutine A4001, subroutine B4002, subroutine C4003 action in POD504, on end device 500, java applet X4011, java applet Y4021, java applet Z4013 action.The path of the message dispensing that arrow 4021,4022,4023,4024 expressions are set.From the path 4021 of subroutine A4001, make subroutine and java applet one to one to the dispensing of java applet X4011 setup message.On the other hand, subroutine B4002 has the path of message dispensing in two java applets of java applet Y4012, java applet Z4013.On the contrary, java applet Z4013 receives message from two subroutines of subroutine B4002, subroutine C4003.
In addition, in the figure from subroutine to the java applet message of providing and delivering, but also can implement from java applet to the subroutine message of providing and delivering.In addition, also can exchange messages by bidirectional mode.
Here, in the dispensing path of message, dispensing message pathway ID, subroutine and java applet use message pathway ID, transmission the other side that also can particular message.In addition, when the registration java applet, replace the identifier of the java applet that will register simultaneously, promptly use this message pathway ID, also can implement the present invention.For the java applet of contention and the message pathway of the subroutine on the POD504,, can specificly carry out the java applet of message dispensing according to action classification etc.Perhaps, definition is used to discern the subroutine identifier of the subroutine on the POD504, when the registration java applet, replaces the identifier of the java applet of registration simultaneously, promptly uses this subroutine identifier, also can implement the present invention.
In addition, the usage operation classification is determined the java applet of dispensing message, but also usage operation classification is not determined according to the rule that the java applet of last registration java applet priority scheduling preferential or registration earlier pre-establishes.
In embodiment 1~3, the action of the java applet of registering among the POD Lib1205e means the action of accepting the message dispensing.That is, java applet moves by the dispensing of accepting message.On the other hand, java applet generally can parallelly carry out a plurality of processing.In the present invention, other processing for the java applet beyond the processing of moving by the dispensing of accepting message has can not have all restrictedly to implement.
In addition, as illustrating in the above-mentioned embodiment, POD Lib1205e accepts the message dispensing registration as the java applet of the dispensing object of message is also accepted to eliminate (promptly not registering) simultaneously.
Figure 42 is the process flow diagram that is summarised in the action of the PODLib1205e under the situation of registering java applet among the POD Lib1205e.
The registration of (at least one side or the both sides that comprise transmission/reception) if the message that POD Lib1205e accepts to carry out with java applet is provided and delivered, then secondary storage part 510 is preserved necessary information (information for example shown in Figure 28) (step SX101), the identifier of java applet by will having accepted registration in step SX101 and in secondary storage part 510 identifier of other java applets of registration compare, judge the java applet (step SX102) that in secondary storage part 510, whether has with the identifier same identifier of the java applet of having accepted to register.
Its result, in secondary storage part 510, have the java applet of same identifier situation (promptly in step SX101 for another java applet of same identifier being arranged with the java applet of having accepted registration, accept situation about finishing by PODLib1205e before moment that is registered in step SX101 of dispensing of message) under (being "Yes" among the step SX102), POD Lib1205e sends the object that is stopped for message, specifically, another java applet for registration in the secondary storage part 510 (promptly has the java applet same identifier with the registration of having accepted the message dispensing in step SX101, finish another java applet of the registration of accepting message dispensing) and the routine library 1201b of OS1201, notice stops message transmission (step SX103) in advance.Having accepted the java applet of expiry notification and the routine library 1201b of OS1201 (provides and delivers (promptly in the message that stops from POD504 in the end necessary processing, the not registration of registration message dispensing) the inter-process of preceding necessity that will finish), knows stop (the step SX104) of message transmission to POD Lib1205e.Accepted this and known that the POD Lib1205e of notice eliminates original (being registered in the secondary storage part 510 from POD504, become the object that stops from the dispensing of the message of POD504) java applet or with the registration of the message dispensing of the routine library 1201b of OS1201 (promptly, do not register), stop message dispensing (step SX105) to java applet.Then, the java applet of having accepted registration in notifying step SX101 begins back (the step SX106) that message is provided and delivered, by accepting among the step SX101 registration from the message dispensing of POD504 to the java applet of having accepted registration, the dispensing that makes message is (step SX107) effectively.
On the other hand, in secondary storage part 501, do not have under the situation of java applet of same identifier (being "No" among the step SX102), POD Lib1205e has accepted registration in notifying step SX101 java applet begins message dispensing back (step SX106), by accepting among the step SX101 registration from the message dispensing of POD504 to the java applet of having accepted registration, the dispensing that makes message is (step SX107) effectively.
Figure 43 be gather POD Lib1205e eliminate java applet registration (that is, do not register with secondary storage part 510 in the registration of message dispensing of registered java applet) situation under the process flow diagram of action of PODLib1205e.
If POD Lib1205e accepts the elimination (step SX201) of java applet, then for becoming the java applet of eliminating object, the dispensing (step SX202) of giving advance notice and stopping message.The java applet of having accepted expiry notification (is stopping from the dispensing of the message of POD504 (promptly finishing necessary processing, the not registration of the dispensing of registration message) the inter-process of preceding necessity that will finish), knows the dispensing (step SX203) that stops message to POD Lib1205e.The POD Lib1205e that has accepted this notice by eliminate (promptly not registering) in the java applet of registration in the secondary storage part 510 as the registration of the message dispensing of the java applet of the object that is requested to eliminate, stop from POD504 message dispensing (step SX204) as the java applet of object.Then, POD Lib1205e accepts registration with the dispensing of the message of POD504 by the routine library 1201b to 0S1201, makes and the message dispensing of the routine library 1201b of OS1201 effectively (step SX205).
In addition, another java applet of registration or the java applet of new registration are arranged in the secondary storage part 510 in step SX205, when carrying out one of them message dispensing of (maybe can carry out) and these java applets, by carrying out POD504 and accept and registration as the message dispensing of the java applet of object, also can make with as the message dispensing of the java applet of object effectively.And, if with the dispensing of the message of POD504 in as the routine library 1201b of java applet that distributes object and OS1201 mutually and deposit (promptly, there is not mutual contention), then accept the registration with the message dispensing of the routine library 1201b of OS1201, the message of also can in routine library 1201b, providing and delivering as the java applet of object and OS1201.
As described above, according to embodiment, by not eliminating original program, the interim replacement, carried out the program of downloading, and in the renewal (displacement) that can carry out program, also can easily return original program.
Claims (4)
1. program replacing method, be installed on the transmission of carrying out message between POD on the broadcast receiving terminal apparatus and the program in the described broadcast receiving terminal apparatus removably when receiving, program in the described broadcast receiving terminal apparatus that displacement is registered carrying out the transmission reception of message with described POD, it is characterized in that this method comprises:
First registration step is registered so that first program can be carried out the transmission reception of message with described POD, and described first program has the identifier that is used for the specific program kind;
Notifying process is notified second program in the Already in described broadcast receiving terminal apparatus, stops the transmission reception of the message of described second program and described POD, and described second program has the identifier with the identifier identical content of described first program; And
First stops step, and the transmission that stops the message of described second program and described POD receives,
The transmission of the message between the program in described POD and the described broadcast receiving terminal apparatus receives and utilizes message pathway ID to carry out, and this message pathway ID is that the specific message that is used for sends the communication path that receives,
Register so that described first program can be carried out the step that the transmission of message receives with described POD, also carry out the communication path that message sends reception and distribute the first message pathway ID being used for described first program and described POD.
2. program replacing method as claimed in claim 1, it is characterized in that, be assigned to and be used for described second program and described POD and carry out the second message pathway ID that message sends the communication path that receives, after stopping the message transmission receiving step of described second program and described POD, also be held.
3. program replacing method as claimed in claim 1 also has:
Second stops step, and the transmission that stops the message of described first program and described POD receives;
Second registration step, stopped described second program that the transmission with the message of described POD receives, utilize the second message pathway ID to register so that can send reception with described POD once more, the described second message pathway ID has been assigned to be used for described second program and described POD and to carry out message and send the communication path that receives.
4. program replacing device, be installed on the transmission of carrying out message between POD on the broadcast receiving terminal apparatus and the program in the described broadcast receiving terminal apparatus removably when receiving, displacement with can and described POD carry out the transmission reception of message and program in the described broadcast receiving terminal apparatus that is registered, it is characterized in that this device comprises:
Registration portion registers so that first program can be carried out the transmission reception of message with described POD, and described first program has the identifier that is used for the specific program kind;
Notice portion notifies second program in the Already in described broadcast receiving terminal apparatus, stops the transmission reception of the message of described second program and described POD, and described second program has the identifier with the identifier identical content of described first program; And
Stop portion, the transmission that stops the message of described second program and described POD receives,
It is to utilize the specific message pathway ID that is used for the communication path of message transmission reception to carry out that the transmission of carrying out message between the program in above-mentioned POD and above-mentioned broadcast receiving apparatus receives,
Register so that described first program can be carried out registration portion that the transmission of message receives, also carry out the communication path that message sends reception and distribute the first message pathway ID being used for described first program and described POD with described POD.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US47549703P | 2003-06-04 | 2003-06-04 | |
JP158928/2003 | 2003-06-04 | ||
JP2003158928 | 2003-06-04 | ||
US60/475,497 | 2003-06-04 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100714296A Division CN100382580C (en) | 2003-06-04 | 2004-06-04 | Program replacing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101241441A CN101241441A (en) | 2008-08-13 |
CN101241441B true CN101241441B (en) | 2011-02-09 |
Family
ID=39891342
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100824650A Expired - Fee Related CN101241441B (en) | 2003-06-04 | 2004-06-04 | Program replacing method and device |
CN2008100824646A Expired - Fee Related CN101256496B (en) | 2003-06-04 | 2004-06-04 | Program replacing method and device |
CN2008100824561A Expired - Fee Related CN101261587B (en) | 2003-06-04 | 2004-06-04 | Program replacing method and device |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100824646A Expired - Fee Related CN101256496B (en) | 2003-06-04 | 2004-06-04 | Program replacing method and device |
CN2008100824561A Expired - Fee Related CN101261587B (en) | 2003-06-04 | 2004-06-04 | Program replacing method and device |
Country Status (1)
Country | Link |
---|---|
CN (3) | CN101241441B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5274808A (en) * | 1990-09-19 | 1993-12-28 | Hitachi, Ltd. | Method and system for replacing program in uninterruptible computer system |
JP2001117779A (en) * | 1999-10-20 | 2001-04-27 | Funai Electric Co Ltd | Electronic instrument and program rewriting method |
CN1318166A (en) * | 1999-08-18 | 2001-10-17 | 松下电器产业株式会社 | Software rewriting method and software rewriting device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010080210A (en) * | 1998-10-19 | 2001-08-22 | 매클린토크 샤운 엘 | Television set-top box with configurable functionality |
-
2004
- 2004-06-04 CN CN2008100824650A patent/CN101241441B/en not_active Expired - Fee Related
- 2004-06-04 CN CN2008100824646A patent/CN101256496B/en not_active Expired - Fee Related
- 2004-06-04 CN CN2008100824561A patent/CN101261587B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5274808A (en) * | 1990-09-19 | 1993-12-28 | Hitachi, Ltd. | Method and system for replacing program in uninterruptible computer system |
CN1318166A (en) * | 1999-08-18 | 2001-10-17 | 松下电器产业株式会社 | Software rewriting method and software rewriting device |
JP2001117779A (en) * | 1999-10-20 | 2001-04-27 | Funai Electric Co Ltd | Electronic instrument and program rewriting method |
Also Published As
Publication number | Publication date |
---|---|
CN101256496B (en) | 2011-07-20 |
CN101256496A (en) | 2008-09-03 |
CN101241441A (en) | 2008-08-13 |
CN101261587A (en) | 2008-09-10 |
CN101261587B (en) | 2012-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100926201B1 (en) | Method and apparatus for replacing a program | |
US5951639A (en) | Multicast downloading of software and data modules and their compatibility requirements | |
CA2341248C (en) | Application data table for a multiservice digital transmission system | |
US20080276300A1 (en) | Program Execution Device | |
AU2002334278A1 (en) | Method and apparatus for a receiver/decoder | |
WO2003019931A2 (en) | Method and apparatus for a receiver/decoder | |
WO2005017675A2 (en) | Program executing apparatus | |
CN100502476C (en) | Program execution device and method | |
US20090151003A1 (en) | Receiver capable of managing conditional access software objects, download-based conditional access system including the receiver, and method for managing the conditional access software | |
EP1053633B1 (en) | Configuring method and device | |
CN101241441B (en) | Program replacing method and device | |
JP4554659B2 (en) | Program replacement method and program replacement device | |
JP4149502B2 (en) | Program replacement method and program replacement device | |
JP2008117386A (en) | Program replacing method and apparatus | |
MXPA00007588A (en) | Configuring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110209 Termination date: 20210604 |
|
CF01 | Termination of patent right due to non-payment of annual fee |