CN1624654A - Medium player under LINUX operating system based on UNP protocol - Google Patents

Medium player under LINUX operating system based on UNP protocol Download PDF

Info

Publication number
CN1624654A
CN1624654A CN 200310114423 CN200310114423A CN1624654A CN 1624654 A CN1624654 A CN 1624654A CN 200310114423 CN200310114423 CN 200310114423 CN 200310114423 A CN200310114423 A CN 200310114423A CN 1624654 A CN1624654 A CN 1624654A
Authority
CN
China
Prior art keywords
upnp
protocol
media player
network
operating system
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.)
Pending
Application number
CN 200310114423
Other languages
Chinese (zh)
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.)
Hisense Group Co Ltd
Original Assignee
Hisense Group 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 Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN 200310114423 priority Critical patent/CN1624654A/en
Publication of CN1624654A publication Critical patent/CN1624654A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention relates a Media Player of LINUX system based on UPNP protocol, making the present LINUX operation system as platform using UPNP protocol technology, and being applied in desktop and embedded operation system. The Media Player uses the present video and audio file transmitting technology, without adding any hardware, adds a control module based on UPNP protocol for realizing automatic finding and inter operation functions of platform in network and supplying users with sharing the network resources. The platform can realize automatic publishing the news information and using by UPNP equipment in other network functions, becoming the shared media file processing terminal in network without manual installation by users; and it can be applied in desktop LINUX and embedded LINUX operation system; using the universal interface and soft decoding mechanism, its transportability is remarkable when automatically detect software and hardware environment and generate configuration file and upload decoder.

Description

Based on the media player under the LINUX operating system of UPNP agreement
Technical field
The present invention relates to a kind of player of playing multiple audio frequency and video formatted file under (SuSE) Linux OS, this player is embedded with the UPNP agreement specifically, can provide the media play service from the trend miscellaneous equipment in the UPNP wireless network.
Background technology
Along with the development, the particularly use of 802.11 agreements of various radio network techniques, prior wireless network has shown advantages such as its installation is convenient, use is flexible at present.For realizing being interconnected and resource sharing between wireless device, the UPNP protocol technology has been implemented in the application in the wireless network.
The UPNP protocol technology is the intelligence interconnection agreement of framework on ICP/IP protocol, and the interoperability functions such as automatic discovery, Web broadcast and information interaction that provide under " zero configuration " prerequisite between networked devices can be provided.But with respect to the media resource of family and commercial LAN (Local Area Network), the existing media player that disposes under LINUX operating system must realize at first that then network is shared by the mode of artificial setting.The mode of this playing network media resource needs the often situation of change address for user terminal, as place to use of the then every change of portable electronic device, all need carry out network configuration again.
As mentioned above, have the media player that under LINUX operating system, uses now, can not really adapt to the development of radio network technique, be unfavorable for that the user uses portable player randomly.Thereby, how to use existing UPNP protocol technology, realize that the media file of LINUX operating system lower network equipment room is shared and broadcast, be the problem that the prior wireless network urgent need solves.
Summary of the invention
Of the present invention based on the media player under the LINUX operating system of UPNP agreement, be to have now with LINUX operating system to be platform, to use the UPNP protocol technology, can run on desktop and embedded OS.Described media player utilization has the audio frequency and video file transfer technology now, under the prerequisite that does not increase any hardware, increase control module based on the UPNP agreement, function with automatic discovery of media player and interoperability in the realization network provides shared among users to use the purpose of Internet resources.
UPNP agreement, i.e. Universal Plug and Play general plug-and-play protocol.
Add the UPNP protocol stack in the described media player, to realize discovery, statement and the information sharing between the UPNP equipment.The UPNP protocol stack is compiled in the media player, and media player has just increased the function of automatic discovery and interoperability.The UPNP protocol stack just is used for media player is issued as an equipment, enjoys the service of media play with other UPNP equipment on the informing network.When other equipment on the network will call media file on this this equipment of player plays, host-host protocol still adopted agreements such as HTTP, RTSP, RTP.
After certain application program acquisition player provides the service of media play, just can call it in the mode that sends order.Start respective handling module and feedback processing information after the player resolve command.
Media player of the present invention at first calls the UPNP protocol stack when operation, with broadcast mode all UPNP equipment issues on network.After other UPNP equipment obtained service that this media player provides, the node that generates this equipment called for the later stage.Playing process comprises the analytic parameter tabulation, detects configuration file, and the initialization clock loads steps such as Voice ﹠ Video driving, audio-visual synchronization, play quality control.
Media player of the present invention mainly has the following advantages:
1, as UPNP equipment, can realize releasing news automatically and by the function of UPNP equipment calls service in other networks, thereby become the media file processing terminal of sharing in the network, need not the user and manually be provided with;
2, broadcast mode comprises wired and wireless two kinds, plays for local file ground simultaneously and does not take the network bandwidth, and what adopted is that buffering is play, and play quality is higher and relevant with network;
3, can run on desktop LINUX and flush type LINUX operating system;
4, media player of the present invention adopts general-purpose interface and soft decoding mechanism, detects hardware environment during compiling automatically and generates configuration file and the loading demoder, and portability is stronger.
Description of drawings
Fig. 1 is a media player data flow synoptic diagram of the present invention;
Fig. 2 is the UPNP protocol stack structure synoptic diagram of media player of the present invention;
Fig. 3 is a media player workflow diagram of the present invention.
Embodiment
As shown in Figure 1-Figure 3, of the present invention based on the media player under the LINUX operating system of UPNP agreement, in application program module, be added with the UPNP protocol stack and become one of UPNP equipment in the network.
Described media player, the UPNP protocol stack is programmed into application program module after, only be automatic discovery and the interoperability that increases with other UPNP equipment rooms.The UPNP protocol stack with media player after issue on the network, when this player of other UPNP equipment calls was realized playing media file, host-host protocols such as HTTP, RTSP or RTP were still adopted in the transmission of audio frequency and video file.
As shown in Figure 1, media player of the present invention, its application program module mainly includes content delivery subsystem, formats subsystem, and audio frequency and video transmission service module, connection management service module and player control service module.
When operation, at first call the UPNP protocol stack, with broadcast mode all UPNP equipment issues on network.After other UPNP equipment obtained service that this media player provides, the node that generates this equipment called for the later stage.After having set up UPNP and having connected, come from data stream on the network by the content delivery management subsystem, after the formats subsystem is decoded, deliver to playback equipment and play.
Audio frequency and video transmission service module, the Media Stream being in charge of and safeguarding from Network Transmission to the content delivery subsystem.
Data by the content delivery subsystem in the transmittance process of formats subsystem, the connection management service module is being undertaken and is being detected offered load, coordinating available bandwidth, the task of dynamic buffering data stream.
Store in buffer zone when data and promptly to begin after reaching the setting capacity to play, in playing process, provide the basic operation interface by player control service module, as advance, retreat, interactive operation functions such as time-out, volume control, progress monitoring.
As shown in Figure 2, be the UPNP protocol stack structure that media player of the present invention has.
The UPNP agreement is positioned on TCP/IP and the http protocol, the top particular device information that includes manufacturer's definition in the UPNP protocol stack, and what and then replenish is UPNP definition content.
The information of lower floor's definition is the UPNP specific protocol again, mainly include simple device and find agreement SSDP (Simple Service Discovery Protocol), general purpose event notification architecture GENA (General Event Notification Architecture), and simple object Access Protocol SOAP (Simple Object Access Protocol).
Above-mentioned agreement uses HTTPU or HTTPMU to send.Media player of the present invention is issued other UPNP equipment on intelligent link family or the LAN (Local Area Network) on the net after adding the UPNP protocol stack as a UPNP equipment.
As shown in Figure 3, media player workflow of the present invention is:
The first step, operation initialization setting powers on.
The initialization setting comprises the detection configuration file, sends the parameter list file and carry out system function optimization according to the CPU characteristic to control desk.
In second step, finish beginning analytical parameters tabulation after the initialization.If not illegal input or check the order of help information, player will generate playlist.
The font of packing into, load key code table (receiving keyboard instruction or remote command) is provided with terminal signaling and catches the processing function, and the Study document attribute detects file layout and calls respective decoder according to file type in this step;
In the 3rd step, detect the driver that needs when playing and be provided with, and startup is play.
Comprise and detect video drive, audio driven, detection Media Stream type, the initialization audio frequency, the initialization video, the initialization screen display is provided with necessary parameter and variable, and audio frequency is set, and video is set.
In playing process, system is in the message circulation state to receive keyboard commands or infrared remote control.
In addition, also want loading caption during displaying video, it is synchronous to adjust Voice ﹠ Video, and captions and picture synchronization receive by key control.
After play finishing, whether system will detect broadcast cycle index that whether All Files in the listed files all be played and be provided with and circulate and finish.
If do not had the file that can play in the listed files and reached predetermined cycle index, then program withdraws from.

Claims (3)

1, a kind of based on the media player under the LINUX operating system of UPNP agreement, its application program module mainly includes content delivery subsystem, formats subsystem, and audio frequency and video transmission service module, connection management service module and player control service module, it is characterized in that: in application program module, be provided with the UPNP protocol stack.
2, according to claim 1 based on the media player under the LINUX operating system of UPNP agreement, it is characterized in that: in the UPNP protocol stack, the UPNP agreement is positioned on TCP/IP and the http protocol, the particular device information that includes manufacturer's definition in the UPNP protocol stack, UPNP defines content, and the UPNP specific protocol.
3, according to claim 1 based on the media player under the LINUX operating system of UPNP agreement, it is characterized in that: described UPNP specific protocol, mainly include simple device and find agreement SSDP, general purpose event notification architecture GENA, and simple object Access Protocol SOAP.
CN 200310114423 2003-12-05 2003-12-05 Medium player under LINUX operating system based on UNP protocol Pending CN1624654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310114423 CN1624654A (en) 2003-12-05 2003-12-05 Medium player under LINUX operating system based on UNP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310114423 CN1624654A (en) 2003-12-05 2003-12-05 Medium player under LINUX operating system based on UNP protocol

Publications (1)

Publication Number Publication Date
CN1624654A true CN1624654A (en) 2005-06-08

Family

ID=34760195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310114423 Pending CN1624654A (en) 2003-12-05 2003-12-05 Medium player under LINUX operating system based on UNP protocol

Country Status (1)

Country Link
CN (1) CN1624654A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163115B (en) * 2007-09-01 2010-07-14 腾讯科技(深圳)有限公司 Method and device of opening player using network resource
CN101188506B (en) * 2007-12-20 2012-07-18 康佳集团股份有限公司 A media player of LINUX operating system and its realization method
CN103581816A (en) * 2013-11-18 2014-02-12 广州市花都区中山大学国光电子与通信研究院 Wireless multi-room music system synchronization mechanism based on UPnP protocol
CN104618368A (en) * 2015-01-27 2015-05-13 上海昊轩电子科技有限公司 Industrial self-inspection type broadcast music Ethernet transmission protocol
CN103457810B (en) * 2006-07-07 2017-04-12 三星电子株式会社 Method and apparatus for providing a service menu in a network environment
CN112350867A (en) * 2020-11-06 2021-02-09 绿博士有限公司 Plug and play universal platform for equipment unit

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457810B (en) * 2006-07-07 2017-04-12 三星电子株式会社 Method and apparatus for providing a service menu in a network environment
CN101163115B (en) * 2007-09-01 2010-07-14 腾讯科技(深圳)有限公司 Method and device of opening player using network resource
CN101188506B (en) * 2007-12-20 2012-07-18 康佳集团股份有限公司 A media player of LINUX operating system and its realization method
CN103581816A (en) * 2013-11-18 2014-02-12 广州市花都区中山大学国光电子与通信研究院 Wireless multi-room music system synchronization mechanism based on UPnP protocol
CN104618368A (en) * 2015-01-27 2015-05-13 上海昊轩电子科技有限公司 Industrial self-inspection type broadcast music Ethernet transmission protocol
CN112350867A (en) * 2020-11-06 2021-02-09 绿博士有限公司 Plug and play universal platform for equipment unit
CN112350867B (en) * 2020-11-06 2023-09-05 绿博士有限公司 Universal platform for plug and play of equipment units

Similar Documents

Publication Publication Date Title
CA2633649C (en) Programmable multimedia controller with programmable services
US20060164550A1 (en) Video device, video module unit, and video device operation method
JP4504687B2 (en) Communication structure using emulator interface
US20080288618A1 (en) Networked Device Control Architecture
US20070005783A1 (en) Systems, methods, and media for controlling a media connection from within a remoting protocol
US20110314096A1 (en) System and method for home-to-home delivery of media content via cable
EP2549680B1 (en) Content output system and codec information sharing method in same system
CN1741529A (en) Live content management method, source apparatus and receiving system
JP2006134315A (en) Method for identifying specific apparatus on upnp network, method for reproducing content through identified apparatus, and device for it
JP2008512734A (en) Multimedia content management system
US20100169514A1 (en) Picture push
CN100446458C (en) Method for realizing wireless accessing-internet of TV set bused on flash connection protocol
US20090106419A1 (en) Methods to Test Multimedia Devices on Computer Systems
US20010017653A1 (en) Image capturing apparatus and method, and recording medium therefor
CN104067627A (en) Video redirecting method, device, system and computer readable medium
CN1624654A (en) Medium player under LINUX operating system based on UNP protocol
US20060034291A1 (en) Live content switching method, source device, and sink device
US20100169505A1 (en) Render hopping
US20070260652A1 (en) Storage capacity query for UPnP AV media server CDS
KR101859766B1 (en) System and method for displaying document content using universal plug and play
RU2352977C2 (en) System for control of chamber resource in portable device
Lai et al. A portable UPnP-based high performance content sharing system for supporting multimedia devices
CN1534510A (en) System and method of realizing remote electronic photo album
KR101210359B1 (en) Method and apparatus for classfying contents with Digital Contents Management on DLNA network
WO2010078278A1 (en) Picture push

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication