Embodiment
The structural representation of the wireless data card that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, this wireless data card can comprise: radio-frequency module 101, power management module 102, baseband module 103 and interface 104.Wherein, power management module 102 is for powering for whole wireless data card, and radio-frequency module 101 for receiving the key information of wireless input device transmission, and sends to baseband module 103; Receive the operational order that baseband module 103 sends, and obtain network data according to operational order from network side and send to baseband module 103.Baseband module 103 sends to radio-frequency module 101 for key information being resolved to operational order, generate the discernible files in stream media of media device according to network data, read this files in stream media to make the media device connected by interface 104 and wireless data card and show.
It should be noted that, radio-frequency module 101 can be, but not limited to infrared ray (Infrared, referred to as: IR) transceiver, bluetooth (Bluetooth, referred to as: BT) (WirelessFidelity, referred to as WiFi) chip etc. for transceiver, Wireless Fidelity.Interface 104 can be USB interface.Media device can be the equipment such as TV, DPF, Set Top Box with USB interface.
Baseband module 103 at least comprises following two parts: processor and memory.Processor is mainly used in realizing carrying out control and management to whole wireless data card, and realize global system for mobile communications (GlobalSystemforMobileCommunication, referred to as: the software function that GSM) terminal is all, namely the ground floor (layer1---physical layer) of gsm communication agreement, the second layer (layer2---data link layer), third layer (layer3---network layer), man machine interface (Man-MachineInterface, referred to as: MMI) and application layer software.Preserve the operating system of wireless data card in memory, the software function realizing GSM terminal for processor provides running environment.Further, memory can also be used for the files in stream media etc. storing generation.Specific implementation can be the forms such as flash.
Media file process also be it should be noted that, after wireless data card of the prior art and media device connect, memory can be identified as by media device, and cause media device can only read the media file stored in wireless data card, and any other operation cannot be carried out.And the wireless data card provided in the present invention can be identified as main equipment after being connected with media device, and be identified as from equipment by wireless input device, chief reason is that wireless data provided by the invention is stuck in existence in software function and improves.The Architecture of Software schematic diagram of the wireless data card that the embodiment of the present invention two shown in composition graphs 2 provides, comprising: drive (driver) partly, agreement (protocol) part and application (application) part.That protocol section is mainly used is radio protocol stack (WirelessProtocolStack), mainly the operation of wireless data card is provided to the support in agreement, does not make an amendment herein.Main improvement of the present invention is: at drive part except traditional for driving except the Audio of sound drives, also increase the driving of wireless input device newly, as BT driving, IR driving, bluetooth drive etc., this just makes wireless data card wireless input device can be identified as from equipment, and self is as main equipment.At applying portion except traditional connection management (Conn-Manage), standard (Statistics), Short Message Service (ShortMessagingService, referred to as: SMS), also increased media file program (MediaFileProduce) newly, main effect is the network data resultant current media file that will receive.Also be integrated with in the media file program provided in the embodiment of the present invention operation interface (UserInterface, referred to as: UI).This operation interface can be set as, after wireless data card and media device connect, automatically showing on the media device, with the transmission facilitating user can be carried out key information by wireless input device.
Wireless input device can be, but not limited to be keyboard, mouse, remote controller etc.Wireless input device can by connecting between the transmission means of the wireless datas such as infrared or bluetooth and wireless data card.In the embodiment of the present invention, wireless data card by the driving of newly-increased wireless input device wireless input device is identified as wireless data card from equipment.By air interface (AirInterface), key information is sent to main equipment from equipment.The radio-frequency module 101 of main equipment receives the key information from equipment, as, browsing page, movie etc., key information is sent to baseband module 103, baseband module 103 pairs of key informations carry out driving and resolve, transfer key-press event to, and carry out different process according to different key-press event, generate different operational orders.Such as, operational order can be opening/closing window, starts/exit the fundamental operations such as application.If key-press event is browsing page, operational order can for connecting etc. according to the chained address of webpage and network side.Operational order is sent to radio-frequency module 101 by baseband module 103, and radio-frequency module 101, according to the operational order received, obtains corresponding network data from network side, and sends to baseband module 103 at this.Baseband module 103 generates the files in stream media of media device identification according to the network data obtained, and like this, the media device connected by interface 104 and wireless data card can be read the files in stream media of generation and show.Here it should be noted that, the kind of network data has a lot, such as sound, image, word, webpage, flash etc., the said network data of the present embodiment is not limited to above-mentioned said data, the data of various ways that can be a kind of data of form also can be.If voice data, also need to decode to voice data, and then generate files in stream media.The great advantage of files in stream media is that volume is little, buffer memory flexibly, highly versatile, any have digital media player (DigitalMediaPlayer, referred to as: DMP) equipment of playing function can playing stream media file.The form of files in stream media both can be the file of fixed size, also can be live content.With the advanced streaming format file of Microsoft (AdvancedStreamingFormat, referred to as: ASF) for example is described:
ASF Documents Logical is made up of three high-level object: head object (headobject), data object (dataobject) and index object (indexobject).Head uniquely comprises the object of other ASF objects in three high-level object to liking.The effect of head object provides a well-known bit sequence in the beginning of ASF file, and comprise every other head object information.Head object provides the information of the overall situation of the multi-medium data be stored in data object.Data object comprises all multi-medium datas of an ASF file.Multi-medium data stores with the form of ASF data cell, and each ASF data cell is variable length, and the data comprised must be same Media Streams.Data cell when they start transmission in data object in automatically sort, this sequence comes from the file format of interleaved.Index object comprises the time-based index that embeds the multi-medium data of ASF file.The time interval that each index enters performance is arranged when making, and is stored in index object.The embodiment of the present invention can utilize a time interval list to carry out a series of Media Stream of index, and the Media Stream logic of arbitrary buffer memory, all independent of other Media Streams, realizes file buffer memory playing continuously.
Files in stream media buffer memory be it should be noted that, cache-time can set, in order to reduce delay, 0.1s can be set as, files in stream media can be stored in the memory of baseband module 103 or the flash memory (Flash) set up in wireless data card or safe digital card (SecureDigitalMemoryCard, referred to as SD card) etc. memory, and the media device possessing DMP function is presented to by memory, the media device possessing DMP function is chosen this file and is started to play, and just can see corresponding network data content.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The wireless data card that the embodiment of the present invention provides, key information is sent to wireless data card by wireless input device, make wireless data card key information can be resolved to operational order, and obtain network data according to operational order from network side, and generate media device discernible files in stream media according to the network data obtained, to make the media device that connects with wireless data card can direct reading flow media file showing.Efficiently solve the difficulty that integrated wireless data card on the media device drives.Along with the development of cloud computing technology, technology provided by the invention certainly will can be applied to multiple fields such as video-on-demand service cloud platform, realizing video contents of streaming media is stored in the mass storage server of operator, and wireless data card is linked to server as Anytime clients, and wireless data card itself is without the need for very large memory space, but mass data can be obtained.Further, do not have the TV of the wireless data card of output display unit and extensive use, DPF etc. to be with to shield media device and wireless input device to existing, simple and easy and not simply constitute a complete computer system, greatly expanded the application of wireless data card, make user with the most simply, the most convenient, that cost is minimum mode achieves computer function.
The communication means flow chart of the wireless data card that Fig. 3 provides for the embodiment of the present invention three, as shown in Figure 3, the method can be understood as the communication means of the wireless data card that above-described embodiment provides, and the method can comprise:
Step 301, wireless data card receive the key information that wireless input device sends, and key information is resolved to operational order, obtains network data according to operational order from network side.
Wherein, wireless data card is as described in above-mentioned apparatus embodiments, and wireless input device can be, but not limited to be keyboard, mouse, remote controller etc.Wireless input device can by connecting between the transmission means of the wireless datas such as infrared or bluetooth and wireless data card.In the embodiment of the present invention, wireless data card by the driving of newly-increased wireless input device wireless input device is identified as wireless data card from equipment.By air interface (AirInterface), key information is sent to main equipment from equipment.The radio-frequency module 101 of main equipment receives the key information from equipment, as, browsing page, movie etc., key information is sent to baseband module 103, baseband module 103 pairs of key informations carry out driving and resolve, transfer key-press event to, and carry out different process according to different key-press event, generate different operational orders.Such as, operational order can be opening/closing window, starts/exit the fundamental operations such as application.If key-press event is browsing page, operational order can for connecting etc. according to the chained address of webpage and network side.Operational order is sent to radio-frequency module 101 by baseband module 103, and radio-frequency module 101, according to the operational order received, obtains corresponding network data from network side, and sends to baseband module 103 at this.Baseband module 103 generates the files in stream media of media device identification according to the network data obtained, and like this, the media device connected by interface 104 and wireless data card can be read the files in stream media of generation and show.Here it should be noted that, the kind of network data has a lot, such as sound, image, word, webpage, flash etc., the said network data of the present embodiment is not limited to above-mentioned said data, the data of various ways that can be a kind of data of form also can be.
Step 303, wireless data card generate media device discernible files in stream media according to network data, to make the media device reading flow media file that connects with wireless data card and to show.
The great advantage of files in stream media is that volume is little, buffer memory flexible, highly versatile, and any equipment with DMP playing function can playing stream media file.The form of files in stream media both can be the file of fixed size, also can be live content.
On the basis of above-mentioned execution mode, the communication means flow chart of the wireless data card that Fig. 4 provides for the embodiment of the present invention four, as shown in Figure 4, on the basis of the embodiment of the method shown in Fig. 3, can also comprise after step 301:
Step 302, wireless data card are decoded to the network data obtained.
If the network data obtained is voice data, also need to decode to voice data.
Accordingly, step 303 can be deformed into:
Step 303 ': generate the discernible files in stream media of media device according to decoded network data.
On the basis of above-described embodiment, the communication means flow chart of the wireless data card that Fig. 5 provides for the embodiment of the present invention five, as shown in Figure 5, on the basis of the embodiment of the method shown in Fig. 3 or Fig. 4, step 303(step 303 ') can also comprise afterwards:
Step 304: files in stream media is carried out buffer memory by wireless data card.
Files in stream media buffer memory be it should be noted that, cache-time can set, in order to reduce delay, 0.1s can be set as, files in stream media can be stored in the memory of baseband module 103 or the memory such as Flash or the SD card set up in wireless data card, and the media device possessing DMP function is presented to by memory, the media device possessing DMP function is chosen this file and is started to play, and just can see corresponding network data content.
The memory of wireless data card inside need not be very large, is more close to the technological trend of the cloud service developed gradually.Such as, and can provide playback function for user, the instruction that wireless data card can send according to wireless input device carries out buffer memory to the data that hope is preserved.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.