Embodiment
The embodiment of the invention provides media displaying method and television terminal, after television terminal receives the fetch interface descriptor order of main process equipment by its host interface transmission by its equipment interface, send the interface descriptor that comprises interface type to this main process equipment, main process equipment is identified as television terminal to equipment that should interface type according to interface descriptor, and the medium that television terminal will obtain from network offer main process equipment by its equipment interface and present.
In order to make those skilled in the art person understand the technical scheme that the embodiment of the invention provides better, the technical scheme that the embodiment of the invention provides is described in further detail below in conjunction with the drawings and specific embodiments.
Television terminal and main process equipment functional structure and interface connection diagram are as shown in Figure 2 in the embodiment of the invention, television terminal shown in Fig. 2 is generally set-top box, convenient in order to describe with example, the television terminal among the second and the 3rd embodiment of follow-up the inventive method all specifically describes and is set-top box.Compare with existing normally used set-top box, set-top box in the embodiment of the invention needs to dispose in advance USB (Universal Serial Bus in the peripheral hardware interface module, USB) equipment interface, the usb host interface of the main process equipment that links to each other with this USB device interface can be by being identified as this set-top box memory devices such as USB flash disk, portable hard drive, or be identified as scanner, the first-class vision facilities of making a video recording, the media information that provides by set-top box be provided and on main process equipment, present.The USB device interface links to each other with main control module, CPU in the main control module (Central Processing Unit, central processing unit) or DSP (Digital SignalProcessing, Digital Signal Processing)/ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)) is respectively CPU or the chip of supporting this USB device interface, disk in the while memory module, FLASH (flash memory) and SDRAM (SynchronousDynamic Random-Access Memory, the stochastic and dynamic memory) also links to each other, preserve by the Correspondent Node of business platform or this set-top box by its memory space that provides and comprise the medium that the user needs information to what this set-top box sent with main control module.
The first embodiment flow process of the inventive method is as shown in Figure 3:
Step 301: television terminal sends the interface descriptor that comprises interface type after receiving the fetch interface descriptor order of main process equipment by its host interface transmission by its equipment interface to this main process equipment.
Wherein, main process equipment is generally DPF or the PC that is provided with host interface; Interface type generally includes the interface of memory devices such as USB flash disk or portable hard drive, the perhaps interface of the scanner or the first-class vision facilities of making a video recording; Medium generally include at least a in video, audio frequency or the image.
Step 302: television terminal is identified as equipment that should interface type according to described interface descriptor by main process equipment.
Wherein, when main process equipment receives the interface type that comprises in the interface descriptor when being storage device interface, television terminal is identified as jumbo memory devices such as USB flash disk or portable hard drive; When main process equipment receives the interface type that comprises in the interface descriptor when being the vision facilities interface, television terminal is identified as scanner or makes a video recording first-class vision facilities.
Step 303: the medium that television terminal will obtain from network offer main process equipment by its equipment interface and present.
Wherein, the medium that from network, obtain comprise following one or more: the medium of preserving with general format that television terminal receives that business platform provides, after television terminal receives the TV programme that business platform provides, be converted to the medium that general format is preserved, television terminal receives the medium with the general format preservation that Correspondent Node provides, after television terminal receives the stream media information that Correspondent Node provides, be converted to the medium that general format is preserved, after television terminal receives the communication medium information that Correspondent Node provides, be converted to the medium that general format is preserved.The type of above-mentioned general format is generally JPG form, mpeg format, GIF form or BMP form.
When interface type is storage device interface, television terminal offers main process equipment with medium and presents and comprise, main process equipment reads the medium of preserving in the television terminal according to general-purpose serial bus USB host-host protocol searching loop, and main process equipment presents the medium that read.
When interface type is the vision facilities interface, television terminal offers main process equipment with medium and presents and comprise, television terminal will send the medium request and be sent to main process equipment, television terminal receives after permission that main process equipment returns sends message, the medium of preserving are sent to main process equipment in proper order by the USB host-host protocol, main process equipment presents described medium after television terminal returns the reception normal messages.Further, main process equipment returns to television terminal and receives not normal message, or does not return any message to television terminal in the default time, and then television terminal is retransmitted described medium and returned the reception normal messages until main process equipment.
The second embodiment flow chart of the inventive method as shown in Figure 4, when this embodiment shows device interface types as the set-top box of television terminal and is storage device interface, the medium of the main process equipment that is connected with this set-top box present process, suppose the DPF of this main process equipment for picture is shown:
Step 401: the pre-box of machine receives picture and the holding time of every pictures, while execution in step 402 and the step 407 then that business platform sends.
Directly when set-top box provides the business platform of picture sending each pictures, the holding time of this picture in set-top box sent to set-top box, the picture that business platform sends is the picture that has comprised user's information needed, this picture can send by JPG form, MEPG form, GIF form or BMP form, set-top box can be used to preserve above-mentioned picture as the space of realizing memory device with FLASH space or the ram space of self, and with this space opening to main process equipments such as DPFs.
Step 402: whether the USB device interface of set-top box receives the fetch interface descriptor order of the usb host interface transmission of DPF, if then execution in step 403; Otherwise return step 401.
Step 403: set-top box sends the interface descriptor that comprises storage USB device interface type to this DPF.
Set-top box has increased the USB device interface, and supports the USB chip of this USB device interface or support the CPU of this USB device interface.After the USB device interface of set-top box receives the fetch interface descriptor order that the usb host interface of DPF sends, to this DPF transmission interface descriptor, interface type territory correspondence in this interface descriptor is set to storage device interface, is used for representing that this set-top box is jumbo memory device.
Step 404: DPF is identified as memory device according to this interface descriptor with set-top box.
DPF reads corresponding interface type territory after receiving interface descriptor, according to the storage device interface information that is provided with in this interface type territory set-top box is identified as the memory device with big capacity storage function, such as portable hard drive.
Step 405: DPF is according to the picture of preserving in the USB standard transmission protocol searching loop reading machine top box.
Especially, when the server update pictorial information and when set-top box sends new picture, the picture that set-top box will newly receive also is kept in the FLASH space or ram space of self, and offers DPF, and DPF is increased to new picture sequence in the display sequence.
Step 406: DPF was presented at the picture that reads on the display screen according to the picture demonstration time interval that sets in advance, and finished current flow process.
Can set in advance the time interval that picture shows on the DPF, when DPF reads picture from the memory space of set-top box after, show these pictures according to time interval order.
Step 407: whether arrive the holding time of described picture, if then execution in step 408; Otherwise, return step 401.
Step 408: set-top box is deleted this picture, finishes current flow process.
In order to prevent that the picture of being watched by the user that has shown by DPF from holding over the memory space of set-top box, and prevent that DPF from reading this picture and demonstration repeatedly, when arriving the holding time of picture, set-top box can be with the picture deletion of correspondence.
The 3rd embodiment flow chart of the inventive method as shown in Figure 5, when this embodiment shows device interface types as the set-top box of television terminal and is the vision facilities interface, the picture procedure for displaying of the main process equipment that is connected with this set-top box, still suppose the DPF of this main process equipment for picture is shown:
Step 501: set-top box receives picture and the holding time of every pictures, while execution in step 502 and the step 507 then that business platform sends.
Directly when set-top box provides the business platform of picture sending each pictures, the holding time of this picture in set-top box sent to set-top box, the picture that business platform sends is the picture that has comprised user's information needed, this picture can send by JPG form, MEPG form, GIF form or BMP form, and set-top box can be kept at above-mentioned picture in the FLASH space or ram space of self.
Step 502: whether the USB device interface of set-top box receives the fetch interface descriptor order of the usb host interface transmission of DPF, if then execution in step 503; Otherwise return step 501.
Step 503: set-top box sends the interface descriptor that comprises the vision facilities interface type to this DPF.
Set-top box has increased the USB device interface, and supports the USB chip of this USB device interface or support the CPU of this USB device interface.After the USB device interface of set-top box received the fetch interface descriptor order that the usb host interface of DPF sends, to this DPF transmission interface descriptor, the interface type territory correspondence in this interface descriptor was set to the vision facilities interface.
Accordingly, drive, make the support that increases in this DPF image device by the USB that revises DPF in advance, with guarantee with set-top box between being communicated with of USB passage.
Step 504: DPF is identified as vision facilities according to this interface descriptor with set-top box.
DPF reads corresponding interface type territory after receiving interface descriptor, according to the vision facilities interface message that is provided with in this interface type territory set-top box is identified as vision facilities, such as scanner.
Step 505: set-top box sends request with picture and is sent to DPF.
Step 506: whether set-top box receives the permission transmission message that DPF returns, if then execution in step 507; Otherwise, return step 501.
Step 507: set-top box is sent to DPF with picture in proper order by the USB host-host protocol.
When set-top box sends picture in the memory space in proper order, can be after successfully sending a pictures, send next pictures at regular intervals more in order, until all pictures are sent successfully.Wherein, interlude can also can be controlled by writing set-top box software by server being included in this pictorial information when set-top box sends picture.
Step 508: whether set-top box receives the reception normal messages that DPF returns, if then execution in step 509; Otherwise, return step 507.
Step 509: DPF was presented at the picture that reads on the display screen according to the picture demonstration time interval that sets in advance, and finished current flow process.
Can set in advance the time interval that picture on the DPF shows, after picture sequence that set-top box is preserved in memory space successfully sent DPF, DPF showed these pictures according to time interval order.The user can delete the picture of having seen, thereby guarantees to be always the new picture that the user has not seen in the DPF.
Step 510: whether arrive the holding time of described picture, if then execution in step 511; Otherwise, return step 501.
Step 511: set-top box is deleted this picture, finishes current flow process.
Corresponding with the embodiment of media displaying method of the present invention, the present invention also provides a kind of television terminal.
The first embodiment block diagram of television terminal of the present invention is as shown in Figure 6:
This television terminal comprises: transmitting element 610 and medium provide unit 620.Wherein, transmitting element 610 sends the interface descriptor that comprises interface type after being used for receiving the fetch interface descriptor order that main process equipment sends by its host interface by equipment interface to this main process equipment; The medium that medium provide unit 620 to be used for obtaining from network offer described main process equipment by equipment interface.
The second embodiment block diagram of television terminal of the present invention is as shown in Figure 7:
This television terminal comprises: receiving element 710, delete cells 720, transmitting element 730 and medium provide unit 740.Wherein, receiving element 710 is used to receive business platform and/or Correspondent Node send holding time from medium to television terminal; Delete cells 720 is used for deleting this medium when arriving the holding time of described medium; Transmitting element 730 sends the interface descriptor that comprises interface type after being used for receiving the fetch interface descriptor order that main process equipment sends by its host interface by equipment interface to this main process equipment; The medium that medium provide unit 740 to be used for obtaining from network offer described main process equipment by equipment interface.
Further, when the interface type of television terminal was storage device interface, the medium that medium provide unit 740 specifically to be used for preserving offered the main process equipment that reads according to USB host-host protocol searching loop; When the interface type of television terminal was the vision facilities interface, medium provided unit 740 to comprise the transmission request unit, were used for the request of transmission medium is sent to main process equipment; Send media units, be used for when receiving after permission that main process equipment returns sends message, medium are sent to described main process equipment by the circulation of USB host-host protocol, when returning to television terminal, main process equipment receives not normal message, or in the default time, do not return any message to television terminal, then television terminal is retransmitted described medium and is returned the reception normal messages until described main process equipment
Description by the embodiment of the invention as can be known, use the embodiment of the invention, the user need not to turn on television set, but the medium that business platform or Correspondent Node provide are presented by the main process equipment that links to each other with the equipment interface of television terminal, make the user that the information of operator by providing such as television terminals such as set-top box can be provided at any time, need not for a long time or switch television set continually; And the user need not to buy extras, and the main process equipment ready-made by DPF or PC (PersonalComputer, personal computer) machine etc. just can obtain and present the medium that television terminal provides, and reduced user's investment.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, this program is when carrying out, after comprising the steps: that television terminal receives the fetch interface descriptor order of main process equipment by its host interface transmission by its equipment interface, send the interface descriptor that comprises interface type to this main process equipment; Described television terminal is identified as the equipment of corresponding described interface type according to described interface descriptor by described main process equipment; The medium that described television terminal will obtain from network offer described main process equipment by its equipment interface and present.Described storage medium, as: ROM/RAM, magnetic disc, CD etc.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.