Background technology
New media is the new media that a kind of technical development Network Based is got up, usually also be known as digital media, as digital magazine, digital newspaper, digital broadcasting, cell phone multimedia message, mobile TV, Games Software, desktop window, Digital Television, digital movie, touch media etc.With respect to the media on newpapers and periodicals, open air, broadcasting, TV four great tradition meanings, new media is called the 5th media visually.
Principal feature:
1, cater to the demand of people's amusement and recreation time fragmentation.Due to work and the quickening of rhythm of life, people's leisure time presents the fragmentation tendency, and new media has catered to just this demand and given birth to.
2, satisfy interactive expression, amusement and informational needs whenever and wherever possible.Third generation media take the internet as sign are moving towards Individuality expression and are exchanging the stage aspect the demand of propagating.For Web TV and mobile TV, the consumer is also the producer simultaneously.
3, people use the initiative of the purpose of new media and selection stronger.
4, media use and the content choice more personalized, cause the market segments more abundant.
New media provider or service provider wish that the potential user can understand, obtains and be interested in to use its new media that provides, as the new media user, equally also wish to obtain easily and to use its interested new media, but due to new media kind, quantity very large all, prior art is difficult to realize the effect spread that has of new media.
Summary of the invention
Technical problem to be solved in the utility model is to provide a kind of external unit for the new media propagation, can solve the problem that prior art can not have the effect spread new media.
In order to address the above problem, the utility model discloses a kind of external unit for the new media propagation, comprise human interface device, USB interface, be used for the storage unit of storage new media content, and be used for controlling the micro-control unit whether described human interface device can use; Described external unit is connected with main frame by described USB interface; Described storage unit is connected with described USB interface by micro-control unit, or directly is connected with described USB interface; Described human interface device is connected with described USB interface by micro-control unit.
Preferably, described human interface device is keyboard, mouse, handwriting pad or joystick.
Preferably, described storage unit is flash chip.
Preferably, described USB interface directly is connected with described main frame.
Preferably, described USB interface connects by bluetooth and described main frame.
Compared with prior art, the utlity model has following advantage:
In the utility model preferred embodiment, computer peripheral (as mouse) is owing to being integrated with storage unit, can be used as the carrier of pushed software (as client software, instant communication software, security control software, Games Software etc.), thus realize by hardware push, the business model of mounting software.
In addition, the micro-control unit that whether can use by controlling human interface device, can control only have select to install and use the software of preserving in storage unit after can normally use, more effectively solved the problem that prior art can not have the new medias such as effect spread Games Software, instant communication software.
Description of drawings
Fig. 1 is the structural representation that the utility model is used for external unit first embodiment of new media propagation;
Fig. 2 is the structural representation that the utility model is used for external unit second embodiment of new media propagation;
Fig. 3 is that the utility model is used for the external unit of new media propagation and the control flow chart that is connected control method embodiment micro-control unit of main frame;
Fig. 4 is for the external unit of new media propagation and the means of communication process flow diagram that is connected control method embodiment human interface device and USB interface of main frame;
Fig. 5 be in method flow shown in Figure 4 human interface device and USB interface write the processing operational flowchart;
Fig. 6 be in method flow shown in Figure 4 human interface device and USB interface read to process operational flowchart.
Embodiment
For above-mentioned purpose of the present utility model, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the utility model is described in further detail.
With reference to Fig. 1, show the structural representation that the utility model is used for external unit first embodiment of new media propagation, specifically comprise human interface device 11, usb 12, micro-control unit 13 and storage unit 14, wherein:
Human interface device (HID, Human Interface Device) the 11st, the equipment that computing machine is direct and the people is mutual, such as keyboard, mouse, handwriting pad and joystick etc.;
Usb 12 is Universal serial bus connection interfaces of the utility model external unit and main frame; In this preferred embodiment, external unit directly is connected by cable with main frame;
Whether micro-control unit (MCU, Micro Control Unit) 13 is used for controlling human interface device 11 can use;
Storage unit 14 is used for storage new media content; In this preferred embodiment, storage unit 14 is flash chip, the new media content can be digizine, digital newspaper, digital broadcasting, cell phone multimedia message, mobile TV, desktop window, Digital Television, digital movie, touch media etc., can be also the software products such as client software, instant communication software, security control software, Games Software;
In this preferred embodiment, storage unit 14 is connected with human interface device and all is connected with usb 12 by micro-control unit 13; For the new media that is stored in storage unit 14, become and use and can be set to the state of enabling by human interface device as long as can be set to the state of a new media, can be set to also that all new medias all use or specific new media use after just the cocoa human interface device be set to the state of enabling.
With reference to Fig. 2, show the structural representation of external unit the second embodiment that propagates for new media, this preferred embodiment is with the difference of first device embodiment shown in Figure 1:
Storage unit 14 directly is connected with usb 12; In addition, the USB interface of external unit realizes wireless connections by bluetooth and main frame equipment.
Need to prove, said apparatus embodiment belongs to preferred embodiment, and related unit and module might not be that the utility model is necessary.
With reference to Fig. 3, show the control flow that is connected the micro-control unit in control method embodiment of the utility model external unit and main frame, comprising:
Step S301: micro-control unit is set up communication by USB interface and main frame and is connected;
Step S302: the use state of the new media that micro-control unit is stored from the main frame reading cells;
Step S303: judge whether above-mentioned new media is in the state that has used; If turn step S304; Otherwise, turn step S302;
Step S304: described human interface device is set to the state of enabling.
With reference to Fig. 4, what show the utility model external unit and main frame is connected human interface device in control method embodiment and the means of communication flow process of USB interface, comprising:
Step S401:Save ACC/Status/Bank/MP0/MP1/TBLP;
Step S402:suspend_line=1? if turn step S408; Otherwise, turn step S403;
Step S403:Enable_usb_clock=1
Step S404:USR@int1=1? if turn step S405; Otherwise, turn step S406;
Step S405: actuating equipment is write data flow (FIFO1);
Step S406:USR@int2=1? if turn step S407; Otherwise, turn step S411;
Step S407: actuating equipment read data flow process (FIFO2);
Step S408:USR@int1=0; USR@int2=0;
Step S409:Resume_line=1? if turn step S410; Otherwise, turn step S411;
Step S410:Enable_usb_clock=1;
Step S411:Resume ACC/Status/Bank/MP0/MP1/TBLP.
Wherein,
FIFO1 specifically comprises (referring to accompanying drawing 5):
Step S405-1:nCmdIndex=0? if turn step S405-2; Otherwise, turn step S405-7;
Step S405-2:FIFO1_Wr_Check=1﹠amp; USB_Req_Flag=0? if turn step S405-3; Otherwise, turn step S405-7;
Step S405-3:F_ReplyNPacket=1? if turn step S405-4; Otherwise, turn step S405-7;
Step S405-4:F_ReplyNPacket=0; FIFO1_Wr_Check=1;
Step S405-5:MoveHIDDataOut;
Step S405-6:Write FIFO1;
Step S405-7:USR@int1=0; Restore ACC/Status/Bank/MP0/MP1/TBLP;
FIFO2 specifically comprises (referring to accompanying drawing 6):
Step S407-1:nCmdIndex=0? if turn step S407-2; Otherwise, turn step S407-5;
Step S407-2:FIFO2_Rd_Check=1﹠amp; USB_Req_Flag=0? if turn step S407-3; Otherwise, turn step S407-5;
Step S407-3:ReadFIFO;
Step S407-4:MoveHIDDataIn;
Step S407-5:USR@int2=0; Restore ACC/Status/Bank/MP0/MP1/TBLP;
For aforesaid each embodiment of the method, simple in order to describe, therefore it all is expressed as a series of combination of actions, but those skilled in the art should know, the utility model is not subjected to the restriction of described sequence of movement, because according to the utility model, some step can adopt other orders or carry out simultaneously; Secondly, those skilled in the art also should know, said method embodiment all belongs to preferred embodiment, and related action and module might not be that the utility model is necessary.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.
Above to a kind of external unit of propagating for new media provided by the utility model and be described in detail with the control method that is connected of main frame, used specific case herein principle of the present utility model and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present utility model and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present utility model, all will change in specific embodiments and applications, in sum, this description should not be construed as restriction of the present utility model.