CN100407706C - Multi-media processing method - Google Patents

Multi-media processing method Download PDF

Info

Publication number
CN100407706C
CN100407706C CN2006100355470A CN200610035547A CN100407706C CN 100407706 C CN100407706 C CN 100407706C CN 2006100355470 A CN2006100355470 A CN 2006100355470A CN 200610035547 A CN200610035547 A CN 200610035547A CN 100407706 C CN100407706 C CN 100407706C
Authority
CN
China
Prior art keywords
data
end points
main frame
multimedia processing
class
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
Application number
CN2006100355470A
Other languages
Chinese (zh)
Other versions
CN1852257A (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.)
Actions Semiconductor Co Ltd
Original Assignee
Actions Semiconductor Co Ltd
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 Actions Semiconductor Co Ltd filed Critical Actions Semiconductor Co Ltd
Priority to CN2006100355470A priority Critical patent/CN100407706C/en
Publication of CN1852257A publication Critical patent/CN1852257A/en
Application granted granted Critical
Publication of CN100407706C publication Critical patent/CN100407706C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a multimedia processing method. In an external multimedia processing device connected with a host and based on a data communication standard protocol, the multimedia processing device is described into an audio type device data packet, a video type device data packet and a large capacity storage type device data packet according to functional classification in a description data packet of the device. The present invention is provided with corresponding data transmission channels for each type of data, when a certain function of the multimedia processing device is operated by the host, a relevant data packet is packed according to a protocol of the device and a command is sent out. The multimedia processing device receives the control command of the host and generates interrupt. The command from the host is judged by an interrupt service routine which selects a corresponding channel to transmit data. The present invention leads the multimedia processing device to transmit audio/video data streams in real time as well as to realize the functions of transmitting and storing other data.

Description

A kind of multi-media processing method
Technical field
The present invention relates to a kind of multi-media processing method, especially relate to and a kind ofly can realize simultaneously that audio and video data streams transmits in real time and Large Volume Data transmits, the multi-media processing method of memory function.
Background technology
Present multimedia processing apparatus can pass through data transmission interface (general purpose interface bus for example, universal serialbus, be called for short usb) realize the transfer of data between external host and the multimedia processing apparatus, equipment can save the data in the memory cell, realizes the function of memory device; Also can realize the real-time Transmission of the audio, video data between external host and the multimedia processing apparatus by data transmission interface, but equipment with main-machine communication in, because informing this equipment of main frame just uses as the equipment of a certain class function, make when realizing this function, equipment can't transmit the data of other types again, does not utilize the whole bandwidth of data communication channel fully.
Summary of the invention
In order to overcome the deficiency of above technology, the object of the present invention is to provide a kind of multi-media processing method, make multimedia processing apparatus when realizing that audio and video data streams transmits in real time, can realize the function of other transfer of data, storage simultaneously.
The object of the invention can realize by following scheme: a kind of multi-media processing method, in the external multimedia processing apparatus that connects main frame, according to the data communication agreement, in the data of description bag of equipment, multimedia processing apparatus is described as the audio class device package by functional classification, video class device package and mass storage class device package, and above-mentioned three class data are provided with corresponding data-transmission channel separately, when main frame need be operated multimedia processing apparatus class function, according to the corresponding packet of the protocol packing of this kind equipment and give an order, multimedia processing apparatus receives that the control command of main frame produces interruption, and the order of interrupt service routine judgement main frame is also selected to transmit data by respective channel.
In the packet of describing the functions of the equipments type, audio class equipment uses 0 end points and a pair of turnover end points a, b, and wherein 0 end points is used to receive the control command of main frame, and end points a is used for uploading voice data, and end points b is used for receiving the voice data that passes under the main frame; Video class equipment uses 0 end points and other a pair of turnover end points c, d, and wherein 0 end points is used to receive the control command of main frame, and end points c is used for transmitting video data, and end points d is used for receiving the video data that passes under the main frame; Mass storage class equipment re-uses a pair of end points e, the f that is different from audio class and video class use, and wherein end points e is used for receiving the control command of main frame and receiving the data that main frame passes down, and end points f is used for uploading data.
Like this, according to the data communication agreement, main frame by the data of description bag of equipment, just knows which kind of equipment equipment is when equipment connects, and knows when carrying out certain kind equipment operation, by which bar channel transfer data.When main frame need be operated equipment class function, according to the corresponding packet of the protocol packing of this kind equipment, equipment receives that the control data of main frame produces interruption, interrupt service routine is judged the order of main frame and is correspondingly processed, if just delivering to data the decoding unit of audio frequency and video, the following biography of audio, video data carries out real-time decoding output, if the data that need uploading of audio, video data just will gather are uploaded to main frame by the passage of distributing in advance, if the following biography of Large Volume Data just arrives memory cell with deposit data.Like this, objectively each time point equipment can only be handled the request of a kind equipment, but because enough fast of communication speed, the data of audio frequency and video can reach the effect of real-time Transmission, in the time slot of non-audio, video data transmission, the transmission and the storage of other data have been realized simultaneously.
Description of drawings
Fig. 1 is the FB(flow block) of the inventive method.
Embodiment
As shown in Figure 1, the packet of the description functions of the equipments type in the multimedia processing apparatus, according to the standard agreement of usb or other standard communications protocol, equipment is described as the audio class device package, video class device package and mass storage class device package, audio class equipment uses 0 end points, end points a (making the in end points uses) and end points b (making the out end points uses), 0 end points is used to receive the control command of main frame, end points a is used for uploading voice data, and end points b is used for receiving the voice data that passes under the main frame; Video class equipment uses 0 end points, end points c (do in end points use) and end points d (making the out end points uses), and 0 end points is used to receive the control command of main frame, and end points c is used for transmitting video data, and end points d is used for receiving the video data of biography under the main frame; Mass storage class equipment uses end points e (making the out end points uses) and end points f (making the in end points uses), and end points e is used for receiving the control command of main frame and receives the data that main frame passes down, and end points f is used for uploading data.
The flow process that multimedia is handled is shown in block diagram 1, and is specific as follows:
1) host computer is operated the audio frequency and video class function of multimedia processing apparatus, and end points 0 produces and interrupts in the multimedia processing apparatus, and the control command of the control command of analysis computer main frame and audio frequency, video is prepared corresponding packet in default passage;
2) voice data is uploaded, and end points a produces interruption, and the voice data that multimedia processing apparatus just will have been gathered is uploaded to host computer by end points a;
3) voice data passes down, and end points b produces interruption, and the data that multimedia processing apparatus passes host computer down are put in the buffering by end points b and pass to DAC;
4) video data is uploaded, and end points c produces interruption, and multimedia processing apparatus is uploaded to host computer with the video data through gathering by end points c;
5) video data passes down, and end points d produces interruption, and the data that multimedia processing apparatus passes host computer down by end points d are put in the buffering and pass to video output unit;
6) host computer is operated the mass storage class function of multimedia processing apparatus or the Large Volume Data of host computer passes down, end points e produces interruption, the mass storage class control command of analysis computer main frame, and write the data that host computer passes down in the memory of multimedia processing apparatus by end points e;
7) Large Volume Data of host computer is uploaded, and end points f produces interruption, and multimedia processing apparatus is uploaded to host computer with Large Volume Data by end points f;
8) carry out other interrupt handling routines.

Claims (1)

1. multi-media processing method, in the external multimedia processing apparatus that connects main frame, according to the data communication agreement, in the data of description bag of equipment, be described as the audio class device package according to the multimedia processing apparatus functional classification, video class device package and mass storage class device package, and above-mentioned three class data are provided with corresponding data-transmission channel separately, when main frame need be operated multimedia processing apparatus class function, according to the corresponding packet of the protocol packing of this kind equipment and give an order, multimedia processing apparatus receives that the control command of main frame produces interruption, and the order of interrupt service routine judgement main frame is also selected to transmit data by respective channel; It is characterized in that: in the packet of describing the functions of the equipments type, audio class equipment uses 0 end points and a pair of turnover end points a, b, wherein 0 end points is used to receive the control command of main frame, and end points a is used for uploading voice data, and end points b is used for receiving the voice data that passes under the main frame; Video class equipment uses 0 end points and other a pair of turnover end points c, d, and wherein 0 end points is used to receive the control command of main frame, and end points c is used for the uploaded videos data, and end points d is used for receiving the video data that passes under the main frame; Mass storage class equipment re-uses a pair of end points e, the f that is different from audio class and video class use, and wherein end points e is used for receiving the control command of main frame and receiving the data that main frame passes down, and end points f is used for uploading data.
CN2006100355470A 2006-05-22 2006-05-22 Multi-media processing method Expired - Fee Related CN100407706C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100355470A CN100407706C (en) 2006-05-22 2006-05-22 Multi-media processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100355470A CN100407706C (en) 2006-05-22 2006-05-22 Multi-media processing method

Publications (2)

Publication Number Publication Date
CN1852257A CN1852257A (en) 2006-10-25
CN100407706C true CN100407706C (en) 2008-07-30

Family

ID=37133726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100355470A Expired - Fee Related CN100407706C (en) 2006-05-22 2006-05-22 Multi-media processing method

Country Status (1)

Country Link
CN (1) CN100407706C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108847920B (en) * 2018-06-25 2021-06-29 北京零态空间数码科技有限公司 Communication method and system
CN111638773A (en) * 2020-06-09 2020-09-08 安徽励展文化科技有限公司 Multimedia image processing system of multimedia exhibition room

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292917B1 (en) * 1998-09-30 2001-09-18 Agere Systems Guardian Corp. Unequal error protection for digital broadcasting using channel classification
CN2593264Y (en) * 2002-12-11 2003-12-17 高明 Intellection electronic device
CN1613072A (en) * 2002-01-09 2005-05-04 皇家飞利浦电子股份有限公司 A method and apparatus for multimodal story segmentation for linking multimedia content
CN1717905A (en) * 2002-11-27 2006-01-04 Rgb网络有限公司 Apparatus and method for dynamic channel mapping and optimized scheduling of data packets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292917B1 (en) * 1998-09-30 2001-09-18 Agere Systems Guardian Corp. Unequal error protection for digital broadcasting using channel classification
CN1613072A (en) * 2002-01-09 2005-05-04 皇家飞利浦电子股份有限公司 A method and apparatus for multimodal story segmentation for linking multimedia content
CN1717905A (en) * 2002-11-27 2006-01-04 Rgb网络有限公司 Apparatus and method for dynamic channel mapping and optimized scheduling of data packets
CN2593264Y (en) * 2002-12-11 2003-12-17 高明 Intellection electronic device

Also Published As

Publication number Publication date
CN1852257A (en) 2006-10-25

Similar Documents

Publication Publication Date Title
US9177565B2 (en) Optimized architecture for streaming audio applications
US7936669B2 (en) Systems and methods for flow control and quality of service
US10007479B2 (en) User terminal, method for playing audio data via bluetooth, and digital signal processor
KR100458373B1 (en) Method and apparatus for integration processing of different network protocols and multimedia traffics
CN105681881A (en) Multimedia data transmission method based on mobile terminal, and mobile terminal
WO2004010311A3 (en) Method and apparatus for zero-copy receive buffer management
TW200517946A (en) Device-side controller, host-side controller, communication controller, usb system, and packet communications method
US20040114639A1 (en) Method for inverse multiplexing
EP3273705A1 (en) Controlling bluetooth multimedia devices
US9210352B2 (en) Audio video instruction format switcher
CN107888337B (en) FPGA, FPGA information processing method and accelerating device
US7987488B2 (en) System for transmitting and receiving data
CN101527724B (en) Data transport container for transferring different data in internet protocol network
CN100407706C (en) Multi-media processing method
JPWO2014178275A1 (en) Transmitting apparatus, receiving apparatus, communication apparatus, program, transmitting method, and receiving method for wirelessly communicating continuous data by packet
CN101646075A (en) Device and method for adjusting code rate of multimedia code stream
EP2660726A1 (en) Method and device for emulating a bus system
CN101183948B (en) Ethernet serial port driving unit and method of transmitting data flow when performing narrowband dialing
US9344372B2 (en) Up-converter for ethernet physical layer
TW200509614A (en) Apparatus for performing a packet flow control and method of performing the packet flow control
GB2410655A (en) Varying transmitted data rate dependent on transmission bandwidth
CN104283647B (en) Data transmission method, device and network communication equipment based on air interface
CN102404184A (en) Data transmission system and transmission method
CN201123043Y (en) Household wireless multimedia game system
CN113556320A (en) Ethernet multi-channel audio real-time transmission method and equipment

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
C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: 519085 hi tech Zone, Guangdong, Zhuhai science and Technology Innovation Coast Road, No. four, No. 1

Patentee after: Juli Integrated Circuit Design Co., Ltd.

Address before: 519085, No. 1, Da Ha Road, Tang Wan Town, Guangdong, Zhuhai, -15-A101

Patentee before: Juli Integrated Circuit Design Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080730

Termination date: 20160522