CN103024069A - Method for acquiring medium information from server by network terminal - Google Patents

Method for acquiring medium information from server by network terminal Download PDF

Info

Publication number
CN103024069A
CN103024069A CN2012105768808A CN201210576880A CN103024069A CN 103024069 A CN103024069 A CN 103024069A CN 2012105768808 A CN2012105768808 A CN 2012105768808A CN 201210576880 A CN201210576880 A CN 201210576880A CN 103024069 A CN103024069 A CN 103024069A
Authority
CN
China
Prior art keywords
media information
information
server
xml
medium
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
CN2012105768808A
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.)
Fujian Sunnada Communication Co Ltd
Original Assignee
Fujian Sunnada Communication 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 Fujian Sunnada Communication Co Ltd filed Critical Fujian Sunnada Communication Co Ltd
Priority to CN2012105768808A priority Critical patent/CN103024069A/en
Publication of CN103024069A publication Critical patent/CN103024069A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for acquiring medium information from a server by a network terminal. The method includes that XML (extensive makeup language) is utilized as transmission carriers for medium information with large medium content conversion amount; for medium information small in medium content conversion amount, data packets are directly utilized as carriers to transmit converted medium content; by adopting the TCP/IP (transmission control protocol/internet protocol) as communication protocol, the server transmits medium commands comprising data packet content of medium content conversion information, a terminal decides whether medium information in an XML file manner is to be downloaded or not according to the data packet content of the medium commands, if yes, the terminal directly downloads the XML file and materials from the server in an FTP (file transmission protocol) manner and analyzes the XML file to acquire medium information and play medium; and if not, the data packets are directly analyzed to acquire medium information and play the medium. By the method for acquiring medium information from the server by the network terminal, limited broadband resources are effectively utilized, files can be more safely and efficiently reach the terminal, and data transmission of the terminal and the server is free of limit by an operation system.

Description

A kind of method that makes the network terminal obtain media information from server
[technical field]
The present invention relates to a kind of method that makes the network terminal obtain media information from server.
[background technology]
The media information Play System is along with the development of society is used more and more widely at present.General large media information system is generally by service end, middle communication terminal, and terminal plays end three parts form.And media information is under limited network broadband traffic environment, and can it be transferred to the network terminal efficiently, and to one of decision feature of this system's quality, its certainty factor is selection and the transmission method of the carrier of used carrying media information beyond doubt.
It is different according to customer requirements that terminal is changed media information, may only have partial content to carry out conversion, then only needs this moment the content information of conversion fraction is issued, and amount of information is less; What have need to carry out brand-new conversion to whole content, and the amount of information that issue this moment is just larger.And what of media information content conversion are media information transmission means now generally be regardless of, generally whole media information directly are added in the communication data packets of communication protocol of media information Play System and are handed down to the network terminal.Particularly when in size each layer greater than transmission network of this packet during minimum MTU value, there is following problem in such processing mode:
(1) causes easily losing of information with the disposable transmission big data quantity of data packet form information, be unfavorable for network terminal parsing obtaining information;
(2) take too much broadband resource, be unfavorable for that also the network terminal obtains other communication datas of server;
(3) be transferred to the network terminal for what unaltered media information content also was repeated, wasted effective broadband resource.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of network terminal that makes to obtain the method for media information from server, and terminal can be efficiently be obtained from server end needs the media information play.
The present invention is achieved in that a kind of method that makes the network terminal obtain media information from server, for the media information of media information content converted quantity greater than minimum MTU value in used each layer of transmission network of control, transport vehicle take XML as media information, and for the media information of media information content converted quantity less than minimum MTU value in used each layer of transmission network of control, directly transmit the media information content of conversion take packet as carrier; By ICP/IP protocol as communication protocol, server is assigned media information conversion order, this order comprises the packet content of media content information converting, whether the network terminal determines to have the media information needs of XML document form to download according to the packet content of this order, if have then and directly download XML file and material from server end by the network terminal in the FTP mode, network terminal analyzing XML file acquisition media information is play; If then direct resolution data bag does not obtain media information, play.
Further, the described network terminal directly is specially from server end download XML file and material in the FTP mode: whether the inquiry from download formation of FTP thread has downloading task, if have then obtain user name and login password, login server and carry out the file download, downloaded then to proceed to download in the formation and carried out query task; Do not inquire about if having downloading task then proceed to download in the formation yet.
Further, described network terminal analyzing XML file acquisition media information comprises the steps:
(1) network terminal is resolved the XML file of the programme information of media information, obtains the time, cycle-index of the broadcast of this media information and the filename of corresponding task package informatin XML;
(2) resolve the XML file of this task package informatin, obtain the area information that media information is play, area information comprises the material information XML filename of the terminal resolution of broadcast, the broadcast attribute that comprises several zones, regional and corresponding region;
(3) resolve material information XML file, obtain the attribute that material is play, and material name, material ID, material date of playing;
(4) according to all XML files of resolving media information, obtain the required information of playing, play corresponding media information content in the zone of correspondence.
The present invention has following advantage: directly take packet as carrier, because the few and common packet contrast of amount of information, and seldom account for bandwidth for the little media information of media information content converted quantity.Adopting the XML file for the large media information of media information content converted quantity is carrier, transmit by File Transfer Protocol, because the content and structure of the XML document of XML file separates fully, the advantage such as unified and standard, so that terminal can very simple parsing, and obtaining information; The XML file can reach the data storing file of lightweight, and it can be different operability systems with server that the media information that interoperability is forced in a large number only need take very little memory space while terminal, and the user also can define media information; Adopt FTP individual transmission XML file, can be so that file security arrives the network terminal efficiently.
[description of drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method flowchart.
Fig. 2 is that the inventive method FTP downloads flow chart.
Fig. 3 is the FB(flow block) of the inventive method terminal parses XML file.
[embodiment]
The method that makes the network terminal obtain media information from server of the present invention, for the large media information of media information content converted quantity (such as the whole or most of media information contents of conversion), transport vehicle take XML as media information, and for the little media information of media information content converted quantity (such as the conversion localized media information content), directly transmit the media information content of conversion take packet as carrier; By ICP/IP protocol as communication protocol, server is assigned media information conversion order, this order comprises the packet content of media information content information converting, whether the network terminal determines to have the media information needs of XML document form to download according to the packet content of order, if have then and directly download XML file and material from server end by the network terminal in the FTP mode, terminal parses XML file acquisition media information is play; If then direct resolution data bag does not obtain media information, play.
The used media information of the invention process process comprises programme information, task package informatin, (video, picture, literal) material information, the corresponding XML file that these three kinds of information are just arranged.As shown in Figure 1, server issues media information conversion order, and the terminal parses command packet judges whether the XML file issues media information:
If media information is with the XML document form, then the network terminal obtains the FTP information of the XML file of the single information of program downloading from this order.FTP information comprises server address, and user name and login password is exactly the positional information at the XML file place of programme information in addition.When the XML file of wait programme information was downloaded to terminal, the network terminal was resolved the XML file of programme information, obtains the FTP information of the XML file of downloading task package informatin.FTP has downloaded the XML file of task package informatin, and the XML file of network terminal parsing task package informatin obtains the FTP information of the XML file of download material information.FTP has downloaded the XML file of material information, and the network terminal is resolved the FTP information of the XML file acquisition download material of material information.The network terminal is downloaded material according to material FTP information.Resolve all XML and obtain broadcast information, play;
If media information is data packet form, then directly obtain localized media information conversion information from datagram and change content, play.
As shown in Figure 2, whether the inquiry from download formation of FTP thread has downloading task, if having then obtain user name and login password, logins server and carries out file and download, and has downloaded then to proceed in the download formation and has carried out query task; Do not inquire about if having downloading task then proceed to download in the formation yet.
As shown in Figure 3, FTP has finished the download of All Files of this media information, and the network terminal then needs all XML files of media information are resolved, and obtains broadcast information:
(1) network terminal is resolved the XML file of the programme information of media information, obtains the time, cycle-index of the broadcast of this media information and the filename of corresponding task package informatin XML;
(2) resolve the XML file of this task package informatin, obtain the area information that media information is play, area information comprises the material information XML filename of the terminal resolution of broadcast, the broadcast attribute that comprises several zones, regional and corresponding region;
(3) resolve material information XML file, obtain the attribute that material is play, and material name, material ID, material date of playing;
(4) according to all XML files of resolving media information, obtain the required information of playing, play right media content in the zone of correspondence.
In the transmission network that the present invention uses with reality in the communication protocol in each layer minimum MTU value as the cut off value of media information content converted quantity size.MTU (Maximum Transmission Unit, MTU) refers to certain maximum data packet size that can pass through above one deck (take byte as unit) of a kind of communication protocol.
The present invention is for the large media information of media information content converted quantity, transport vehicle take XML as media information, XML is extend markup language (Extensible Markup Language, XML), being used for the electroactive marker subfile makes it have structural markup language, can be used for flag data, definition data type, be a kind of data storing file of lightweight, the original language that allows the user that oneself markup language is defined.It possesses following advantage:
1) content and structure of XML document separates fully;
2) interoperability is strong, and the file format of most of plain texts all has this advantage.Text-only file is passing fire wall easily, communicates by letter between the different system on the different operating system;
3) unified and standard, XML has unified standard syntax, and the XML document that any system and product are supported all has unified form and grammer.So just so that XML has had the characteristic of cross-platform cross system;
4) support Multi-encoding, for common text documents, XML document itself has comprised the record of the coding that uses, and this has made things convenient for the processing of multi-language system to data.In view of above advantage the present invention has adopted the carrier of XML as media information, can between any two platforms, transmit efficiently like this, terminal parses is very succinct traversal also.
Among the present invention, the network terminal is directly downloaded XML file and material from server end in the FTP mode, FTP(File Transfer Protocol, FTP) be the agreement of two computer transmission files on the TCP/IP network, FTP is one of agreement of using the earliest on TCP/IP network and INTERNET, and it belongs to the application layer of network protocol suite.The FTP client computer can give an order download file to server, file upload, the catalogue on establishment or the change server.Be characterized in:
1, fully Network Based, have the characteristic that uploads and downloads of network file.As support breakpoint transmission, be not subjected to working group and IP address limitation etc.;
2, have perfect user authority management system, each is logined the user and has specified power; Transfer of data can be carried out the fail safe encryption, guarantees that data are not intercepted, and is safe.
The present invention uses ICP/IP protocol as communication protocol, can effectively guarantee the accurate arrival of data.Transmission speed is fast, and file is larger, and speed is faster.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (3)

1. method that makes the network terminal obtain media information from server, it is characterized in that for the media information content converted quantity greater than in used each layer of transmission network of control during the media information of minimum MTU value, transport vehicle take XML as media information, and for the media information content converted quantity less than in used each layer of transmission network of control during the media information of minimum MTU value, the direct media information content of transmission conversion take packet as carrier; By ICP/IP protocol as communication protocol, server is assigned media information conversion order, this order comprises the packet content of media content information converting, whether the network terminal determines to have the media information needs of XML document form to download according to the packet content of this order, if have then and directly download XML file and material from server end by the network terminal in the FTP mode, network terminal analyzing XML file acquisition media information is play; If then direct resolution data bag does not obtain media information, play.
2. a kind of method that makes media termination obtain media information from server according to claim 1, it is characterized in that: the described network terminal directly is specially from server end download XML file and material in the FTP mode: whether the inquiry from download formation of FTP thread has downloading task, if have then obtain user name and login password, login server and carry out the file download, downloaded then to proceed to download in the formation and carried out query task; Do not inquire about if having downloading task then proceed to download in the formation yet.
3. a kind of media termination that makes according to claim 2 obtains the method for media information from server, and it is characterized in that: described network terminal analyzing XML file acquisition media information comprises the steps:
(1) network terminal is resolved the XML file of the programme information of media information, obtains the time, cycle-index of the broadcast of this media information and the filename of corresponding task package informatin XML;
(2) resolve the XML file of this task package informatin, obtain the area information that media information is play, area information comprises the material information XML filename of the terminal resolution of broadcast, the broadcast attribute that comprises several zones, regional and corresponding region;
(3) resolve material information XML file, obtain the attribute that material is play, and material name, material ID, material date of playing;
(4) according to all XML files of resolving media information, obtain the required information of playing, play corresponding media information content in the zone of correspondence.
CN2012105768808A 2012-12-26 2012-12-26 Method for acquiring medium information from server by network terminal Pending CN103024069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105768808A CN103024069A (en) 2012-12-26 2012-12-26 Method for acquiring medium information from server by network terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105768808A CN103024069A (en) 2012-12-26 2012-12-26 Method for acquiring medium information from server by network terminal

Publications (1)

Publication Number Publication Date
CN103024069A true CN103024069A (en) 2013-04-03

Family

ID=47972193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105768808A Pending CN103024069A (en) 2012-12-26 2012-12-26 Method for acquiring medium information from server by network terminal

Country Status (1)

Country Link
CN (1) CN103024069A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505086B1 (en) * 2001-08-13 2003-01-07 William A. Dodd, Jr. XML sensor system
CN101035279A (en) * 2007-05-08 2007-09-12 孟智平 Method for using the information set in the video resource
CN101945263A (en) * 2007-05-08 2011-01-12 孟智平 Method for using information sets in video resources
CN102571966A (en) * 2012-01-16 2012-07-11 上海方正数字出版技术有限公司 Network transmission method for large extensible markup language (XML) document
CN102664899A (en) * 2012-05-04 2012-09-12 华为技术有限公司 Service processing method, service processing device and service processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6505086B1 (en) * 2001-08-13 2003-01-07 William A. Dodd, Jr. XML sensor system
CN101035279A (en) * 2007-05-08 2007-09-12 孟智平 Method for using the information set in the video resource
CN101945263A (en) * 2007-05-08 2011-01-12 孟智平 Method for using information sets in video resources
CN102571966A (en) * 2012-01-16 2012-07-11 上海方正数字出版技术有限公司 Network transmission method for large extensible markup language (XML) document
CN102664899A (en) * 2012-05-04 2012-09-12 华为技术有限公司 Service processing method, service processing device and service processing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
赵冲冲 等: "XML格式领域数据传输的优化技术研究", 《计算机科学》 *
黄俊 等: "XML在移动多媒体服务系统中的应用研究", 《计算机工程与设计》 *

Similar Documents

Publication Publication Date Title
US10224028B2 (en) Break state detection for reduced capability devices
TWI541663B (en) Initiating font subsets
CN102282825B (en) Method and device for streaming media to request address mapping and cache nodes in content delivery network
CA2988108C (en) Break state detection in content management systems
US20130282737A1 (en) Method and apparatus for intelligently deploying an application, method and apparatus for processing application access, system for intelligently deploying and scheduling an application
CN104025548A (en) Method and apparatus for flexible caching of delivered media
US20100257573A1 (en) Content publishing and storing method for the interactive personal television media delivery system
WO2015191965A2 (en) Automated service profiling and orchestration
CN108984170A (en) The multilingual rendering method of the H5 page and device
CN102591597A (en) Information processing apparatus, method for controlling the same
US20130225153A1 (en) Method for controlling remote device through a short messaging service (sms) and device therefor
US20140096237A1 (en) Information processing system, access right management method, information processing apparatus and control method and control program therefor
KR100801004B1 (en) Apparatus and method for matching the protocol of embedded av contents
WO2015027430A1 (en) Server and file sharing method
KR20140126827A (en) Method and apparatus for transmitting and receiving a broadcasting service by using moving picture experts group media transport in a digital video broadcasting system
CN102497436A (en) Networked file storing method and system based on HTTP (Hyper Text Transport Protocol)
JP5222823B2 (en) Access log management method
EP3214845B1 (en) Reception device, transmission device, and corresponding data processing methods
US7409446B2 (en) Information-provision method and information-provision device for structuralized documents stored in different devices connected to a network
EP2566177A1 (en) Electronic apparatus and method for transferring contents on cloud system to device connected to DLNA
CN103024069A (en) Method for acquiring medium information from server by network terminal
EP3214846A1 (en) Reception device, transmission device, and data processing method
CN112866294B (en) Multi-protocol adaptation method, device and readable storage medium
GB2580420A (en) Electronic message adaptation
KR102108651B1 (en) Method for interlocking M2M platform using LoRa communication and system using the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130403