CN103778078A - External device for new media transmission and control method for connection of external device and mainframe - Google Patents

External device for new media transmission and control method for connection of external device and mainframe Download PDF

Info

Publication number
CN103778078A
CN103778078A CN201210407289.XA CN201210407289A CN103778078A CN 103778078 A CN103778078 A CN 103778078A CN 201210407289 A CN201210407289 A CN 201210407289A CN 103778078 A CN103778078 A CN 103778078A
Authority
CN
China
Prior art keywords
interface device
usb
human interface
new media
usb interface
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.)
Granted
Application number
CN201210407289.XA
Other languages
Chinese (zh)
Other versions
CN103778078B (en
Inventor
韩伯翰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201210407289.XA priority Critical patent/CN103778078B/en
Publication of CN103778078A publication Critical patent/CN103778078A/en
Application granted granted Critical
Publication of CN103778078B publication Critical patent/CN103778078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an external device for new media transmission and a control method for connection of the external device and a mainframe. The external device comprises a man-machine interface device, a USB interface, a storage unit used for storing new media contents and a micro control unit used for controlling whether the main-machine interface device can be used or not. The external device is connected with the mainframe of a computer through the USB interface, the storage unit is connected with the USB interface through the micro control unit or is directly connected with the USB interface, and the man-machine interface device is connected with the USB interface through the micro control unit. Due to the fact that the storage unit is integrated on the external device of the computer, the external device can serve as a carrier of pushed software, and the business model of pushing and installing the software through hardware is achieved.

Description

Be used for the external unit of new media propagation and the control method that is connected with main frame thereof
Technical field
The present invention relates to network data transmission control technology field, particularly relate to a kind of external unit of propagating for new media and the control method that is connected with main frame thereof.
Background technology
New media is the new media that a kind of technical development Network Based is got up, conventionally be also known as digital media, as digizine, 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 in newpapers and periodicals, open air, broadcast, 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 fragmentation tendency, and new media has catered to this demand and raw just.
2, meet interactive expression, amusement and informational needs whenever and wherever possible.Third generation media take internet as mark are moving towards Individuality expression and are exchanging the stage aspect the demand of propagating.For Web TV and mobile TV, consumer is also the producer simultaneously.
3, people use the purpose of new media and the initiative of selection stronger.
4, media use and content choice more personalized, cause the market segments more abundant.
New media provider or service provider wish that potential user can understand, obtains and be interested in to use its new media providing, as new media user, equally also wish to obtain easily and to use its interested new media, but due to all very large of new media kind, quantity, prior art is difficult to realize the effect spread that has of new media.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of external unit of propagating for new media and the control method that is connected with main frame thereof, and can solve prior art can not have the problem of effect spread new media.
In order to address the above problem, the invention discloses a kind of external unit of propagating for new media, comprise human interface device, USB interface, for storing the storage unit of new media content, and the micro-control unit that whether can use for controlling described human interface device; 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 is directly 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 is directly connected with described main frame.
Preferably, described USB interface connects by bluetooth and described main frame.
According to another preferred embodiment of the present invention, a kind of control method that is connected of external unit with main frame for new media propagation is disclosed, comprising: described micro-control unit is set up communication by USB interface and main frame and is connected; Described micro-control unit reads the use state of the new media of storing described storage unit from described main frame; If the state of described new media in having used, described human interface device is set to the state of enabling.
Preferably, the means of communication of described human interface device and USB interface specifically comprise: judge that whether human interface device is enabled state, if not, finishes the USB communication in this clock period; USB state in this clock period is set to the state of enabling; Judge that whether system resource is interrupted is to interrupt 1, if so, carries out writing of human interface device and processes operation; Judge whether system resource is interrupted is to interrupt 2, and the processing of reading of if so, carrying out human interface device operates.
Preferably, the processing operation of writing of described human interface device specifically comprises: judge that USB write queue, whether in effective status, is if so, shifted out human interface device data, and write USB write queue.
Preferably, the processing operation of reading of described human interface device specifically comprises: judge that whether USB reads queue in effective status, if so, reads reading out data queue from USB, and is transferred to human interface device.
Preferably, described new media content comprises client software, instant communication software, security control software and Games Software.Compared with prior art, the present invention has the following advantages:
In the preferred embodiment of the present invention, 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 having solved prior art can not have the problem of the new medias such as effect spread Games Software, instant communication software.
Accompanying drawing explanation
Fig. 1 is the structural representation of the present invention for external unit first embodiment of new media propagation;
Fig. 2 is the structural representation of the present invention for external unit second embodiment of new media propagation;
Fig. 3 is that the present invention is 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 the method flow shown in Fig. 4 human interface device and USB interface write processing operational flowchart;
Fig. 6 be in the method flow shown in Fig. 4 human interface device and USB interface read to process operational flowchart.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
With reference to Fig. 1, show the structural representation of the present invention 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 people is mutual, such as keyboard, mouse, handwriting pad and joystick etc.;
Usb 12 is Universal serial bus connection interfaces of external unit of the present invention and main frame; In this preferred embodiment, external unit is directly connected by cable with main frame;
Whether micro-control unit (MCU, Micro Control Unit) 13 can use for controlling human interface device 11;
Storage unit 14 is for storing new media content; In this preferred embodiment, storage unit 14 is flash chip, 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 all connected with usb 12 by micro-control unit 13 with human interface device 11; For the new media being 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, also can be set to that all new medias all use or specific new media use after just 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 propagating for new media, this preferred embodiment is with the difference of the first device embodiment shown in Fig. 1:
Storage unit 14 is directly connected with usb 12; In addition, the USB interface of external unit realizes wireless connections by bluetooth and main frame equipment.
It should be noted that, said apparatus embodiment belongs to preferred embodiment, and related unit and module might not be that the present invention is necessary.
With reference to Fig. 3, show the control flow that is connected the micro-control unit in control method embodiment of external unit of the present invention 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 main frame reading cells;
Step S303: judge the whether state in having used of above-mentioned new media; If so, go to step S304; Otherwise, go to step S302;
Step S304: described human interface device is set to the state of enabling.
With reference to Fig. 4, what show external unit of the present invention 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 so, go to step S408; Otherwise, go to step S403;
Step S403:Enable_usb_clock=1
Step S404:USR@int1=1? if so, go to step S405; Otherwise, go to step S406;
Step S405: actuating equipment is write data flow (FIFO1);
Step S406:USR@int2=1? if so, go to step S407; Otherwise, go to 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 so, go to step S410; Otherwise, go to 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 so, go to step S405-2; Otherwise, go to step S405-7;
Step S405-2:FIFO1_Wr_Check=1 & USB_Req_Flag=0? if so, go to step S405-3; Otherwise, go to step S405-7;
Step S405-3:F_ReplyNPacket=1? if so, go to step S405-4; Otherwise, go to 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 so, go to step S407-2; Otherwise, go to step S407-5;
Step S407-2:FIFO2_Rd_Check=1 & USB_Req_Flag=0? if so, go to step S407-3; Otherwise, go to 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 is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, 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 present invention 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, between each embodiment identical similar part mutually referring to.
Above to provided by the present invention a kind of for new media propagate external unit and be described in detail with the control method that is connected of main frame, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (10)

1. an external unit of propagating for new media, comprise human interface device and USB interface, it is characterized in that, described external unit also comprises: for storing the storage unit of new media content, and the micro-control unit that whether can use for controlling described human interface device;
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 is directly connected with described USB interface;
Described human interface device is connected with described USB interface by micro-control unit.
2. external unit as claimed in claim 1, is characterized in that, described human interface device is keyboard, mouse, handwriting pad or joystick.
3. external unit as claimed in claim 1, is characterized in that, described storage unit is flash chip.
4. external unit as claimed in claim 1, is characterized in that, described USB interface is directly connected with described main frame.
5. external unit as claimed in claim 1, is characterized in that, described USB interface connects by bluetooth and described main frame.
6. the external unit of propagating for new media and the control method that is connected of main frame, is characterized in that, described external unit comprises human interface device, USB interface, storage unit and micro-control unit, and described method comprises:
Described micro-control unit is set up communication by USB interface and main frame and is connected;
Described micro-control unit reads the use state of the new media of storing described storage unit from described main frame;
If the state of described new media in having used, described human interface device is set to the state of enabling.
7. method as claimed in claim 6, is characterized in that, the means of communication of described human interface device and USB interface specifically comprise:
Judge that whether human interface device is enabled state, if not, finishes the USB communication in this clock period;
USB state in this clock period is set to the state of enabling;
Judge that whether system resource is interrupted is to interrupt 1, if so, carries out writing of human interface device and processes operation;
Judge whether system resource is interrupted is to interrupt 2, and the processing of reading of if so, carrying out human interface device operates.
8. method as claimed in claim 7, is characterized in that, the processing operation of writing of described human interface device specifically comprises: judge that USB write queue, whether in effective status, is if so, shifted out human interface device data, and write USB write queue.
9. method as claimed in claim 7, is characterized in that, the processing operation of reading of described human interface device specifically comprises: judge that whether USB reads queue in effective status, if so, reads reading out data queue from USB, and is transferred to human interface device.
10. method as claimed in claim 6, is characterized in that, described new media content comprises client software, instant communication software, security control software and Games Software.
CN201210407289.XA 2012-10-23 2012-10-23 The external equipment propagated for new media and its connection control method with main frame Active CN103778078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210407289.XA CN103778078B (en) 2012-10-23 2012-10-23 The external equipment propagated for new media and its connection control method with main frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210407289.XA CN103778078B (en) 2012-10-23 2012-10-23 The external equipment propagated for new media and its connection control method with main frame

Publications (2)

Publication Number Publication Date
CN103778078A true CN103778078A (en) 2014-05-07
CN103778078B CN103778078B (en) 2017-10-27

Family

ID=50570333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210407289.XA Active CN103778078B (en) 2012-10-23 2012-10-23 The external equipment propagated for new media and its connection control method with main frame

Country Status (1)

Country Link
CN (1) CN103778078B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868132A (en) * 2016-04-29 2016-08-17 优利德科技(中国)有限公司 USB communication based modular function expansion method and system for digital oscilloscope

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126628A1 (en) * 2006-11-29 2008-05-29 Sony Ericsson Mobile Communications Ab Methods, devices and computer program products for automatically providing an alternate usb configuration of a usb compliant peripheral device for exposure to a host computer
CN101604550A (en) * 2009-06-26 2009-12-16 苏州潇威科技有限公司 The flash memory device and the player method thereof of band automatic playing function of advertisements
CN102013123A (en) * 2010-11-22 2011-04-13 北京长城高腾信息产品有限公司 Lottery ticket machine for preventing from being operated by external input equipment
CN202373307U (en) * 2011-12-29 2012-08-08 张成杰 USB (Universal Serial Bus) memory device with voice-playing function
CN202948442U (en) * 2012-10-23 2013-05-22 韩伯翰 External equipment used for new media communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126628A1 (en) * 2006-11-29 2008-05-29 Sony Ericsson Mobile Communications Ab Methods, devices and computer program products for automatically providing an alternate usb configuration of a usb compliant peripheral device for exposure to a host computer
CN101604550A (en) * 2009-06-26 2009-12-16 苏州潇威科技有限公司 The flash memory device and the player method thereof of band automatic playing function of advertisements
CN102013123A (en) * 2010-11-22 2011-04-13 北京长城高腾信息产品有限公司 Lottery ticket machine for preventing from being operated by external input equipment
CN202373307U (en) * 2011-12-29 2012-08-08 张成杰 USB (Universal Serial Bus) memory device with voice-playing function
CN202948442U (en) * 2012-10-23 2013-05-22 韩伯翰 External equipment used for new media communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋鹏: ""嵌入式系统中USB接口技术应用研究与开发"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868132A (en) * 2016-04-29 2016-08-17 优利德科技(中国)有限公司 USB communication based modular function expansion method and system for digital oscilloscope
CN105868132B (en) * 2016-04-29 2019-01-11 优利德科技(中国)股份有限公司 A kind of Digital Oscillograph Module functions expanding method and system based on usb communication

Also Published As

Publication number Publication date
CN103778078B (en) 2017-10-27

Similar Documents

Publication Publication Date Title
CN102591954B (en) A kind of browser data load method and device
CN110300328B (en) Video playing control method and device and readable storage medium
CN102981990B (en) Data transmission method and device of terminal equipment with Androild platform
JP2013542515A (en) Redirection between different environments
US20110307808A1 (en) Rendering incompatible content within a user interface
CN102110196A (en) Method and system for safely transmitting data among parallel-running multiple user operating systems
CN109857573B (en) Data sharing method, device, equipment and system
CN103488502A (en) Method and device for loading data
CN103201705A (en) Output of video content
CN103500075A (en) Externally-connected computer accelerating device based on new materials
CN202948442U (en) External equipment used for new media communication
CN102779076B (en) The method and apparatus of interprocess communication in a kind of browser
CN103778078A (en) External device for new media transmission and control method for connection of external device and mainframe
CN109951737B (en) Video processing method, video processing device, electronic equipment and computer-readable storage medium
CN104581403A (en) Method and device for sharing video content
CN203775201U (en) LED display system based on Bluetooth, NFC and WIFI communication
CN103678244A (en) Intelligent device without application processor
CN102917260A (en) Information processing apparatus, information processing system, and program
CN102708002B (en) Display management method of video card in baseboard management controller (BMC) s, and server
CN102810054B (en) The control method of display device and display device
CN104991769A (en) Hostless computer
CN102981792A (en) Method and device and electronic product of double screen display
CN104793841A (en) Animation playing control method and system
CN102253940B (en) Method and device for processing data by tree view
CN202261681U (en) Network function integrated television and television network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant