CN102118643B - Network subtitle playing system and method - Google Patents

Network subtitle playing system and method Download PDF

Info

Publication number
CN102118643B
CN102118643B CN200910244314.5A CN200910244314A CN102118643B CN 102118643 B CN102118643 B CN 102118643B CN 200910244314 A CN200910244314 A CN 200910244314A CN 102118643 B CN102118643 B CN 102118643B
Authority
CN
China
Prior art keywords
captions
file
subtitle
client
playing server
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
CN200910244314.5A
Other languages
Chinese (zh)
Other versions
CN102118643A (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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN200910244314.5A priority Critical patent/CN102118643B/en
Publication of CN102118643A publication Critical patent/CN102118643A/en
Application granted granted Critical
Publication of CN102118643B publication Critical patent/CN102118643B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Systems (AREA)

Abstract

The invention provides a network subtitle playing system and method. The system comprises a remote playing server and at least one client, wherein the remote playing server comprises a file receiving unit, a subtitle generating unit and a subtitle sending unit, the file receiving unit is used for receiving a subtitle file sent by the client, the subtitle generating unit is used for analyzing the subtitle file and generating subtitle pictures according to the subtitle attribute information obtained through analyzing, and the subtitle sending unit is used for sending the generated subtitle pictures to corresponding clients; and the client comprises a communication unit and a subtitle displaying unit, the communication unit is used for sending the subtitle file to the remote playing server and receiving the subtitle pictures sent by the remote playing server, and the subtitle displaying unit is used for outputting the subtitle pictures to be played and displayed on a local display window. Through the network subtitle playing system, a plurality of clients are connected with the subtitle playing server. By sharing the playing processing function of a playing server background, subtitles are displayed locally, the working efficiency is increased, and resources are fully utilized.

Description

A kind of network caption playing system and player method thereof
Technical field
The present invention relates to caption playing technical field, particularly relate to a kind of network caption playing system and player method thereof.
Background technology
In prior art, for captions making and play all complete in a film titler.Develop multiple application system now, as teletext compiles broadcast system, studio caption producing system, achieve making and the playing function of captions.
But along with the variation of application scenarios, in some cases, user only needs on the local machine, the captions picture made is browsed.Such as, after captions staff makes a subtitle file, need to submit to higher level and consult examination & verification.Caption editing just without the need to complexity on the machine of then user (auditor), making, analytical capabilities, as each attribute play up, the editting function such as special effects, and on subscriber set, only need to browse the captions picture generated according to the subtitle file made.System play in traditional captions, and require subscriber set to possess complicated captions play-back application, cost is higher, uses inconvenience.
In a word, the technical problem needing those skilled in the art urgently to solve is exactly: how can a kind of caption playing system, user-friendly, and reduce the cost, saving resource.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of network caption playing system and player method thereof, user-friendly, and reduce the cost, saving resource, achieve networking.
In order to solve the problem, the invention discloses a kind of network caption playing system, comprising: remote playing server and at least one client;
Described remote playing server comprises:
File reception unit, for receiving the subtitle file that client sends;
Captions generation unit, for resolving received subtitle file, and generates captions picture according to resolving the title information obtained;
Captions transmitting element, for being sent to corresponding client by the captions picture of generation;
Described client comprises:
Communication unit, for the subtitle file of this locality is sent to remote playing server, and receives the captions picture of remote playing server transmission;
Captions display unit, carries out broadcast displaying for being outputted to by the captions received picture on local display window.
Preferably, described subtitle file is captions XML file or source word curtain project file.
Preferably, described remote playing server also comprises:
File conversion unit, for being converted into captions XML file by the source word obtained from client curtain project file according to presetting rule;
Then described captions generation unit is resolved the captions XML file that file conversion unit generates, and generates captions picture according to resolving the title information obtained.
Preferably, described communication unit is also for sending the nodal information corresponding to subtitle file to remote playing server; Wherein, described nodal information comprises: ID mark or nodename.
Preferably, described remote playing server also comprises:
Paragraph extraction unit, for carrying out node checks according to the nodal information received in subtitle file, extracts the paragraph of subtitle file;
Then, the paragraph of described captions generation unit to extracted subtitle file is resolved, and generates captions picture according to resolving the title information obtained.
In addition, the invention also discloses a kind of network captions player method, comprising:
The subtitle file of this locality is sent to remote playing server by client;
Remote playing server is resolved the subtitle file received, and generates captions picture according to resolving the title information obtained;
The captions picture of generation is sent to corresponding client by remote playing server;
The captions picture received outputs on local display window by client carries out broadcast displaying.
Wherein, described client is at least one.
Preferably, described subtitle file is captions XML file or source word curtain project file.
Preferably, described method also comprises:
The source word curtain project file obtained from client is converted into captions XML file according to presetting rule by remote playing server; The captions XML file that conversion generates is resolved, and generates captions picture according to resolving the title information obtained.
Preferably, described method also comprises:
By corresponding for the subtitle file of this locality nodal information, it is sent to remote playing server to client; Wherein, described nodal information comprises: ID mark or nodename.
Preferably, described method also comprises:
Remote playing server carries out node checks according to the nodal information received in subtitle file, extracts the paragraph of subtitle file; Then, the paragraph of extracted subtitle file is resolved, and generate captions picture according to resolving the title information obtained.
Compared with prior art, the present invention has the following advantages:
The present invention is on remote playing server, the subtitle file that the client received sends is resolved, the title information obtained according to parsing is sent to corresponding client after generating captions picture, local display window on the client carries out broadcast and shows.Pass through the present invention, the local area network (LAN) of development group can be set up, multiple client machine is made to be connected on a captions Play Server, by the playback process function on shared Play Server backstage, local client carries out captions displaying, effectively improve operating efficiency, and take full advantage of resource.
Further, the present invention according to the demand of client, to Play Server sending node information, Play Server can extract certain the several part in subtitle file, generate a few sections of captions pictures and carry out broadcasting displaying in this locality, and without the need to all playing from the beginning to the end.Improve the Experience Degree of user. meet multiple broadcasting demand, play flexible form.
Accompanying drawing explanation
Fig. 1 is the structure chart of a kind of network caption playing system of the present invention embodiment one;
Fig. 2 is the structure chart of a kind of network caption playing system of the present invention embodiment two;
Fig. 3 is the flow chart of a kind of network captions of the present invention player method embodiment one;
Fig. 4 is the flow chart of a kind of network captions of the present invention player method embodiment two.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
With reference to Fig. 1, show the structure chart of a kind of network caption playing system of the present invention embodiment one, comprising: remote playing server 11 and at least one client 12;
Described remote playing server 11 comprises:
File reception unit 111, for receiving the subtitle file that client sends;
Captions generation unit 112, for resolving received subtitle file, and generates captions picture according to resolving the title information obtained;
Captions transmitting element 113, for being sent to corresponding client by the captions picture of generation;
Described client 12 comprises:
Communication unit 121, for the subtitle file of this locality is sent to remote playing server, and receives the captions picture of remote playing server transmission;
Captions display unit 122, carries out broadcast displaying for being outputted to by the captions received picture on local display window.
Concrete, described remote playing server 11 carries out transfer of data by network and each client, in each client, do not possess captions play-back application, the file reception unit 111 of captions Play Server receives the subtitle file of each client transmission, resolved by captions generation unit 112 pairs of subtitle files, the title information of acquisition, and generate captions picture according to title.
Wherein, subtitle file can be the file of multiple format, as SRT, SUB, IDX form etc.Preferably, described subtitle file is captions XML file.Captions XML file refers to the captions XML file title information extracted from source word curtain project file being organized generation in XML mode.So-called XML (Extensible Markup Language) i.e. extend markup language, it is that a kind of simple data store language, uses a series of simple mark data of description.
Concrete, remote playing server possesses play-back application, and application program refers to complete a certain or a few particular tasks and is developed the computer program run on operating system.Each application program run on independently process, they have oneself independently address space.The line of demarcation of different application is called processing border.Captions generation unit 112, by enabling play-back application, is resolved subtitle file, obtains the attribute information of captions.Described attribute information comprises: caption content and broadcasting attribute.Wherein, display properties be captions play up mode, as font, color, font size, special effects etc.In addition, described attribute information generally also comprises: the file description information of captions, and in the title of the format version of such as subtitle file number, character set that subtitle file uses, subtitle file, the television system of subtitle file support, subtitle file, the data of the subtitle file header such as quantity of subtitle segment all belong to the file description information of captions.Then, caption content is generated captions picture according to broadcasting attribute.
Further, corresponding subtitle picture is sent to each client by captions transmitting element 113.In each client, user can browse the local captions picture generated by subtitle file respectively, and without the need to installing play-back application.
By the embodiment of the present invention, the local area network (LAN) of development group can be set up, make multiple client machine be connected on a captions Play Server, by the playback process function on shared Play Server backstage, local client carries out captions displaying.Then, even if there is the parsing playing function of remote playing server on one machine, also the broadcasting demand not having multiple client computer can be met, such as, subscriber set not have player, in order to check captions picture, only need a subtitle file, just by network in teleprocessing, local client computer can be shown.By the present invention, effectively improve operating efficiency, and take full advantage of resource.
With reference to Fig. 2, show the structure chart of a kind of network caption playing system of the present invention embodiment two, comprising:
Comprise: remote playing server 21 and at least one client 22;
Described remote playing server 21 comprises:
File reception unit 211, for receiving the subtitle file of client transmission and corresponding nodal information thereof; Wherein, described nodal information comprises: ID mark or nodename;
Paragraph extraction unit 212, for carrying out node checks according to the nodal information received in subtitle file, extracts the paragraph of subtitle file;
Captions generation unit 213, for resolving the paragraph of extracted subtitle file, and generates captions picture according to resolving the title information obtained;
Captions transmitting element 214, for being sent to corresponding client by the captions picture of generation;
Described client 22 comprises:
Communication unit 221, for the subtitle file of this locality and corresponding nodal information thereof are sent to remote playing server, and receives the captions picture of remote playing server transmission;
Captions display unit 222, carries out broadcast displaying for being outputted to by the captions received picture on local display window.
In some cases, client does not need remote playing server to resolve whole subtitle files, and only need a part of captions picture of obtaining wherein, then the communication unit of client can to remote playing server sending node information, wherein, described nodal information comprises: ID mark or nodename.Then paragraph extraction unit carries out node checks according to the nodal information received in subtitle file, extracts the paragraph of subtitle file; Further, the paragraph of captions generation unit to extracted subtitle file is resolved, and generates corresponding captions picture.
Such as, for captions XML file, it adopts tree structure usually, and one of them file comprises each node, is a captions block under each node; Being divided into again multiple child node in captions block, is captions sub-block under child node, by that analogy.Category division can be carried out according to the mode of first node, Section Point, the 3rd node, comprise Section Point under first node, under Section Point, comprise the 3rd node, etc.
Wherein, (unique authentication) can be identified according to ID or nodename identifies node.
A kind of XML file organized based on above-mentioned example is as shown in following code:
<?xml version=″1.0″encoding=″UTF-8″?>
<Document>
<Platform name=“A10”/>
<SceneList>
<Scene name=" schedules today " id=" F07DFA82-C82F-44D1-82A8} "/>
--be the Sequence--> had in this Scene below
<ItemList>
<Item name=“Logo_Sport/image”id=“{BD790880-44D2-4212-
98CD”/>
<Item name=“Sport_Name/text”id=“{E48D8088-4DF9-410C-
3731}”/>
<Item na me=“Schedule/text”id=“{8A238B91-EF97-462C-
52F5}”/>
</ItemList>
</Scene>
<Scene name=" troop's introduction " id=" 329B4D31-6DF4-4512-9F5B-2F40} " >
<ItemList>
<Item name=“***”id=“***”/>
</ItemList>
</Scene>
</SceneList>
</Document>
Wherein, first node in this XML file is scene (Scene), Section Point is entry (Item), " schedules today " scene and " troop's introduction " scene is divided in scene, wherein, multiple entry such as Logo_Sport, Sport_Name, Schedule is comprised again in " venue " scene.Each scene and entry have unique ID identification number corresponding.
In concrete application, such as, when extracting " schedules today " scene paragraph, the node checks information that can be inputted by user, search Scene name be today schedules or ID identification number be the node of " F07DFA82-C82F-44D1-82A8 ", then by resolving this paragraph, generate the captions picture comprising icon Logo_Sport, title Sport_Name, event arrangement Schedule.
Or, can by searching the node that ID is designated " BD790880-44D2-4212-98CD ", " 8A238B91-EF97-462C-52F5 " respectively, extract " icon entry " and " event arrangement entry " two paragraphs, then by after the parsing of resolution unit, captions broadcast unit plays the captions picture about match place and race title successively.
Pass through the embodiment of the present invention, the present invention according to the demand of client, to Play Server sending node information, Play Server can extract certain the several part in subtitle file, generate a few sections of captions pictures and carry out broadcasting displaying in this locality, and without the need to all playing from the beginning to the end.Improve the Experience Degree of user, meet multiple broadcasting demand, play flexible form.
In a preferred embodiment of the invention, client is source word curtain project file to the subtitle file that remote playing server sends, then remote playing server also comprises:
File conversion unit 215, for being converted into captions XML file by the source word obtained from client curtain project file according to presetting rule;
Then described captions generation unit is resolved the captions XML file that file conversion unit generates, and generates captions picture according to resolving the title information obtained.
Source word curtain project file is the original subtitle file adopting various describing mode to generate, and its amount of information is very high, but unfixing order and statement rule.Therefore, need to be converted into captions XML file, the form of node is rearranged into according to presetting rule, after conversion, it is any scene that file can clearly describe below certain node, what comprises below this scene, under event, comprise what entry, thus captions generation unit can be resolved according to the resolution rules of tree.
With reference to Fig. 3, show the flow chart of a kind of network captions of the present invention player method embodiment one, comprising:
Step 301, the subtitle file of this locality is sent to remote playing server by client;
Step 302, remote playing server is resolved the subtitle file received, and generates captions picture according to resolving the title information obtained;
Step 303, the captions picture of generation is sent to corresponding client by remote playing server;
Step 304, the captions picture received outputs on local display window by client carries out broadcast displaying.
Wherein, described client is at least one.
Preferably, described subtitle file is captions XML file or source word curtain project file.
With reference to Fig. 4, show the flow chart of a kind of network captions of the present invention player method embodiment two, comprising:
Step 401, the source word curtain project file of this locality and corresponding nodal information thereof are sent to remote playing server by client; Wherein, described nodal information comprises: ID mark or nodename;
Step 402, the source word curtain project file obtained from client is converted into captions XML file according to presetting rule by remote playing server;
Step 403, remote playing server carries out node checks according to the nodal information received in captions XML file, extracts the paragraph of subtitle file;
Step 404, resolves the paragraph of extracted subtitle file, and generates captions picture according to resolving the title information obtained;
Step 405, the captions picture of generation is sent to corresponding client by remote playing server;
Step 406, the captions picture received outputs on local display window by client carries out broadcast displaying.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For embodiment of the method, due to itself and system embodiment basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above to a kind of network caption playing system provided by the present invention and player method thereof, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, 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.

Claims (2)

1. a network caption playing system, is characterized in that, comprising: remote playing server and at least one client;
Described remote playing server comprises:
File reception unit, for receiving the subtitle file that client sends;
Captions generation unit, for resolving received subtitle file, and generates captions picture according to resolving the title information obtained;
Captions transmitting element, for being sent to corresponding client by the captions picture of generation;
Described client comprises:
Communication unit, for the subtitle file of this locality is sent to remote playing server, and receives the captions picture of remote playing server transmission;
Captions display unit, carries out broadcast displaying for being outputted to by the captions received picture on local display window;
Wherein, described subtitle file is captions XML file or source word curtain project file;
Described remote playing server also comprises:
File conversion unit, for being converted into captions XML file by the source word obtained from client curtain project file according to presetting rule;
Then described captions generation unit is resolved the captions XML file that file conversion unit generates, and generates captions picture according to resolving the title information obtained;
Described communication unit is also for sending the nodal information corresponding to subtitle file to remote playing server; Wherein, described nodal information comprises: ID mark or nodename;
Wherein, described remote playing server also comprises:
Paragraph extraction unit, for carrying out node checks according to the nodal information received in subtitle file, extracts the paragraph of subtitle file;
Then, the paragraph of described captions generation unit to extracted subtitle file is resolved, and generates captions picture according to resolving the title information obtained.
2. a network captions player method, is characterized in that, comprising:
The subtitle file of this locality is sent to remote playing server by client;
Remote playing server is resolved the subtitle file received, and generates captions picture according to resolving the title information obtained;
The captions picture of generation is sent to corresponding client by remote playing server;
The captions picture received outputs on local display window by client carries out broadcast displaying;
Wherein, described client is at least one;
Wherein, described subtitle file is captions XML file or source word curtain project file;
The source word curtain project file obtained from client is converted into captions XML file according to presetting rule by remote playing server;
The captions XML file that conversion generates is resolved, and generates captions picture according to resolving the title information obtained;
Described method, also comprises:
By corresponding for the subtitle file of this locality nodal information, it is sent to described remote playing server to described client;
Wherein, described nodal information comprises: ID mark or nodename;
Wherein, described remote playing server carries out node checks according to the nodal information received in subtitle file, extracts the paragraph of subtitle file;
Then, the paragraph of extracted subtitle file is resolved, and generate captions picture according to resolving the title information obtained.
CN200910244314.5A 2009-12-30 2009-12-30 Network subtitle playing system and method Expired - Fee Related CN102118643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910244314.5A CN102118643B (en) 2009-12-30 2009-12-30 Network subtitle playing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910244314.5A CN102118643B (en) 2009-12-30 2009-12-30 Network subtitle playing system and method

Publications (2)

Publication Number Publication Date
CN102118643A CN102118643A (en) 2011-07-06
CN102118643B true CN102118643B (en) 2015-05-27

Family

ID=44217211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910244314.5A Expired - Fee Related CN102118643B (en) 2009-12-30 2009-12-30 Network subtitle playing system and method

Country Status (1)

Country Link
CN (1) CN102118643B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710901B (en) * 2011-08-04 2015-02-18 新奥特(北京)视频技术有限公司 Image-text production and real-time broadcasting method and system
CN102436350B (en) * 2011-12-06 2014-11-12 北京航空航天大学 Remote application window display method, server and user terminal
CN104581341B (en) 2013-10-24 2018-05-29 华为终端有限公司 A kind of caption presentation method and subtitle display
CN109005470B (en) * 2018-08-27 2020-11-10 佛山龙眼传媒科技有限公司 Method, system and device for synthesizing subtitles on line
US20220383228A1 (en) * 2021-05-25 2022-12-01 Glocalize Inc. Multilingual subtitle service system and method for controlling server thereof
KR102431383B1 (en) * 2021-07-04 2022-08-10 글로지 주식회사 Server and method for providing subtitle service of many languages using artificial intelligence learning model, and control method of the server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005640A (en) * 2006-09-30 2007-07-25 丰达软件(苏州)有限公司 Method for text information changing into stream medium or multimedia then received by terminal
CN101365106A (en) * 2008-10-10 2009-02-11 四川长虹电器股份有限公司 IPTV system Chinese subtitle indication method
CN101494741A (en) * 2008-01-24 2009-07-29 新奥特(北京)视频技术有限公司 Technology implement method for Snooker live television subtitling system
CN101540847A (en) * 2008-03-21 2009-09-23 株式会社康巴思 Caption producing system and caption producing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1158799A1 (en) * 2000-05-18 2001-11-28 Deutsche Thomson-Brandt Gmbh Method and receiver for providing subtitle data in several languages on demand

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005640A (en) * 2006-09-30 2007-07-25 丰达软件(苏州)有限公司 Method for text information changing into stream medium or multimedia then received by terminal
CN101494741A (en) * 2008-01-24 2009-07-29 新奥特(北京)视频技术有限公司 Technology implement method for Snooker live television subtitling system
CN101540847A (en) * 2008-03-21 2009-09-23 株式会社康巴思 Caption producing system and caption producing method
CN101365106A (en) * 2008-10-10 2009-02-11 四川长虹电器股份有限公司 IPTV system Chinese subtitle indication method

Also Published As

Publication number Publication date
CN102118643A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN102118643B (en) Network subtitle playing system and method
EP0849946A2 (en) Interactive TV broadcasting system and file access method applied thereto
CN105578222A (en) Information push method and device
WO2012067464A2 (en) Apparatus and method for mashup of multimedia content
CN102073534B (en) Data analysis method and device
US20080109482A1 (en) Digital asset management data model
CN104065979A (en) Method for dynamically displaying information related with video content and system thereof
CN102131110B (en) System and method for issuing IPTV (internet protocol television) contents
CN101674423B (en) Method for generating caption broadcasting list driven by on-line program
CN102065234B (en) Caption producing and broadcasting method and system based on distributive type caption processing system
Lai et al. A personalized mobile IPTV system with seamless video reconstruction algorithm in cloud networks
CN103947220A (en) Display device and method for providing content using the same
JP5414792B2 (en) Method and apparatus for providing rich media service
EP1003304A1 (en) System for providing contents
CN106792102A (en) Method and Set Top Box that set top box side homepage multiple audio video synchronization is played
JP2017005442A (en) Content generation device and program
US7512955B2 (en) Method and system for accessing and implementing declarative applications used within digital multi-media broadcast
CN106792103A (en) Set top box side homepage wicket represents the method and Set Top Box of multiple recommendation bitmaps
CN1882936B (en) Package metadata and targeting/synchronization service providing system using the same
JP6478357B2 (en) Method and related apparatus for providing a media presentation guide in a media streaming over hypertext transfer protocol
CN102065230B (en) Networked caption manufacturing and broadcasting system
KR20070047627A (en) System for managing multimedia contents between heterogeneous terminals using metadata
CN115357755A (en) Video generation method, video display method and device
CN102118582A (en) Subtitle broadcasting device with separated production and broadcast and broadcasting method thereof
CN102065228A (en) Title generator for playing general title file

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150527

Termination date: 20161230

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