CN103648027A - Digital media terminal and media file play method - Google Patents

Digital media terminal and media file play method Download PDF

Info

Publication number
CN103648027A
CN103648027A CN201310647076.9A CN201310647076A CN103648027A CN 103648027 A CN103648027 A CN 103648027A CN 201310647076 A CN201310647076 A CN 201310647076A CN 103648027 A CN103648027 A CN 103648027A
Authority
CN
China
Prior art keywords
task
window
bag
prestrain
playlist
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310647076.9A
Other languages
Chinese (zh)
Other versions
CN103648027B (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.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net eVideo Information Systems 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 Star Net eVideo Information Systems Co Ltd filed Critical Fujian Star Net eVideo Information Systems Co Ltd
Priority to CN201310647076.9A priority Critical patent/CN103648027B/en
Publication of CN103648027A publication Critical patent/CN103648027A/en
Application granted granted Critical
Publication of CN103648027B publication Critical patent/CN103648027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

The invention discloses a media file play method which includes: S101: a preload task packet is determined according to a play list; S102: the preload task packet is acquired and parsed so that window coordinate information and at least one task are obtained; S103: material data are preloaded to material buffer areas corresponding to the tasks in order and each material buffer area is associated uniquely with a window coordinate; S104: when the play time of a current task packet reaches a play time period, window display is performed according to the window coordinate information of the preload task packet and the preload task packet is set as a current task packet and material data of each material buffer area are loaded to a display unit and played in a corresponding window according to a material play time during a play time period and then a new preload task packet is determined after returning to the S101. The invention also discloses a digital media terminal.

Description

A kind of digital media terminal and media file playing method
Technical field
The present invention relates to a kind of digital media terminal and media file playing method.
Background technology
Existing digital media terminal is realized the scheme of playing: the task type that need to play according to each window, set up the corresponding thread of playing, and when needing playing material, just start to load corresponding material.
The digital media terminal of above-mentioned prior art is play scheme, owing to there is no buffering, causes needing to wait for that material loads in playing process, and the switching of task bag or material are switched and occur time delay affecting playing fluency, user's experience effect is poor.
Summary of the invention
For solving the digital media terminal of prior art, play media file scheme owing to not having buffering to cause needing to wait for that material loads in playing process, task bag is switched or material switches and occurs delay technique defect, the invention provides a kind of can prestrain task bag and digital media terminal and the media file playing method of split window prestrain material data.
The technical scheme that the present invention adopts is:
A kind of media file playing method is provided, comprises: S101, according to playlist, determine prestrain task bag, described playlist records the broadcasting sequence number corresponding with task bag; S102, obtain and resolve prestrain task bag, obtain window coordinates information and at least one task, each task comprises at least one material, and each material comprises material data and material playing duration; S103, material data are preloaded into and the corresponding material of task buffering area in order, material buffering area is only associated with window coordinates; S104, when the playing duration of current task bag has reached reproduction time section, according to the window coordinates information of prestrain task bag, carry out window demonstration, prestrain task bag is set as to new current task bag, and the material data of each material buffering area are loaded on to display unit and according to material playing duration, at corresponding window, play in reproduction time section, then return to step S101 and determine new prestrain task bag.
Another technical solution used in the present invention is:
A kind of digital media terminal is provided, comprise processing unit and the display unit being connected respectively with processing unit, buffer unit, described processing unit comprises: scheduler module, and for determine prestrain task bag according to playlist, described playlist records the broadcasting sequence number corresponding with task bag; Parsing module, for obtaining and resolve prestrain task bag, obtains window coordinates information and at least one task, and each task comprises at least one material, and each material comprises material data and material playing duration; Prestrain module, for material data being preloaded in order to buffer unit and the corresponding material of task buffering area, material buffering area is only associated with window coordinates; And display control module, for when the playing duration of current task bag has reached reproduction time section, according to the window coordinates information of prestrain task bag, carry out window demonstration, prestrain task bag is set as to new current task bag, and the material data of each material buffering area are loaded on to display unit in reproduction time section and play at corresponding window according to material playing duration, then notify described scheduler module to determine new prestrain task bag.
The invention has the beneficial effects as follows: the digital media terminal that is different from prior art is play scheme owing to not having buffering to cause needing to wait for that material loads in playing process, the switching of task bag or material are switched and occur delay technique defect, digital media terminal of the present invention and media file playing method, the next one is play to bag and as prestrain, play bag, and the material that in prestrain broadcasting bag, task comprises is loaded on to the corresponding buffering area of task successively, form the material buffer queue of different task, and when carrying out the broadcasting of task bag, the material of each task is play in the window of a correspondence, realization is play without the task bag of waiting for, the material zero-waiting that realizes further multiwindow multitask is switched broadcasting, improve material loading velocity and promoted user's experience.
Accompanying drawing explanation
Fig. 1 is the functional block diagram of a kind of digital media terminal in an embodiment of the present invention;
Fig. 2 is the functional block diagram of processing unit;
Fig. 3 realizes the principle schematic that digital media terminal material is play under one specific embodiment;
Fig. 4 is that in a specific embodiment, list material is play schematic diagram;
Fig. 5 is the flowchart of a kind of media file playing method in an embodiment of the present invention;
Fig. 6 is playlist step of updating flowchart.
Main element symbol description
Digital media terminal 100
Processing unit 10
Display unit 20
Buffer unit 30
Embodiment
By describing technology contents of the present invention, structural feature in detail, being realized object and effect, below in conjunction with execution mode and coordinate accompanying drawing to be explained in detail.
Label Play System comprises the media server that is arranged at the digital media terminal in a plurality of broadcastings place and is positioned at operator place.Media server is for being sent to specific digital media terminal by task bag, and digital media terminal is play the material in task bag.Wherein, described media server is connected by network communication with digital media terminal.
Referring to Fig. 1, is the functional block diagram of a kind of digital media terminal in an embodiment of the present invention.Digital media terminal 100 comprises processing unit 10 and the display unit 20 being connected respectively with processing unit 10, buffer unit 30.
Referring to Fig. 2, is the functional block diagram of processing unit.Described processing unit 10 comprises scheduler module, parsing module, prestrain module, display control module.
Scheduler module is for determining prestrain task bag according to playlist, and described playlist records the broadcasting sequence number corresponding with task bag.
Parsing module is used for obtaining and resolves prestrain task bag, obtains window coordinates information and at least one task, and each task comprises at least one material, and each material comprises material data and material playing duration.
Prestrain module is for material data are preloaded into buffer unit 30 and the corresponding material of task buffering area in order, and material buffering area is only associated with window coordinates.
Display control module is for when the playing duration of current task bag has reached reproduction time section, according to the window coordinates information of prestrain task bag, carry out window demonstration, prestrain task bag is set as to new current task bag, and the material data of each material buffering area are loaded on to display unit 20 and according to material playing duration, at corresponding window, play in reproduction time section, then notify described scheduler module to determine new prestrain task bag.
In the present embodiment, described task comprises list, form, text, picture.Referring to Fig. 3, is under a specific embodiment, to realize the principle schematic that digital media terminal material is play.Below in conjunction with this principle schematic and specific embodiment, the present invention is further described.In figure, show a prestrain task bag, its window coordinates information is divided into window 1, window 2, window 3, window 4 by window.The task that parsing module parses from task bag comprises financial list, real-time form, text and picture task.Each task comprises at least one material, and for example, financial list task comprises multiple lists, and form material package is drawn together multiple forms in real time, and text task comprises a plurality of texts, and picture task comprises plurality of pictures.With the material of task form mutually should task task queue.Prestrain module is respectively loaded on the task queue of each task and the corresponding buffering area of task, for example, financial list in financial list task queue is loaded on to financial list buffering area successively, real-time form in real-time form task queue is loaded on to real-time form buffering area successively, text in text task queue is loaded on to real-time form buffering area successively, the picture in picture task queue is loaded on to picture buffering area successively.Display control module is for when the playing duration of current task bag has reached reproduction time section, according to the window coordinates information display window 1 of prestrain task bag, window 2, window 3, window 4, prestrain task bag is set as to new current task bag, and the material data of each material buffering area are loaded on to display unit 20 and according to material playing duration, at corresponding window, play in reproduction time section, for example, financial list is play at window 1 successively, real-time form is play at window 2 successively, text is play at window 3 successively, picture is play at window 4 successively.
In the present embodiment, described processing unit 10 also comprises reproduction time section generation module, and reproduction time section generation module specifically comprises that task playing duration generates submodule, reproduction time section is set submodule.Task playing duration generates submodule for generation task playing duration that all material playing duration of each task are added up; Reproduction time section is set submodule, for the maximum task playing duration of value is set as to reproduction time section.
In the present embodiment, described processing unit 10 also comprises playlist update module, for judging whether to receive the playlist of the renewal that media server sends, and with the playlist of renewal, replaces current playlist when receive.For example, when media server sends new task bag to digital media terminal, and when new task bag is inserted to playlist, media server will be sent to digital media terminal by the playlist of renewal.
In the present embodiment, when task is list, material data comprise gauge outfit data and table volume data, and described display control module comprises Application of Splitting Window module, the first display module, the second display module.Application of Splitting Window module is for by Application of Splitting Window corresponding to list task being gauge outfit window and table body window; The first display module, for the gauge outfit data of first material of material buffering area are shown at described gauge outfit window, shows the table volume data of first material at table body window; The second display module, in the time will playing next material, upgrades the table volume data of next material to show to showing body window.Referring to Fig. 4, is that in a specific embodiment, list material is play schematic diagram.This list is financial list, comprise that gauge outfit part and table body divide, correspondingly window 1 is divided into gauge outfit window and table body window, while loading first list, gauge outfit data and table volume data are presented at respectively to gauge outfit window and table body window, when loading next list, as long as load table volume data.
The media file playing method below the present invention being applied in above-mentioned digital media terminal is elaborated.Referring to Fig. 5, is the flowchart of a kind of media file playing method in an embodiment of the present invention.This media file playing method comprises step:
Step S101, according to playlist, determine prestrain task bag, described playlist records the broadcasting sequence number corresponding with task bag;
Step S102, obtain and resolve prestrain task bag, obtain window coordinates information and at least one task, each task comprises at least one material, and each material comprises material data and material playing duration;
Step S103, material data are preloaded into and the corresponding material of task buffering area in order, material buffering area is only associated with window coordinates;
Step S104, when the playing duration of current task bag has reached reproduction time section, according to the window coordinates information of prestrain task bag, carry out window demonstration, prestrain task bag is set as to new current task bag, and the material data of each material buffering area are play at corresponding window according to material playing duration in reproduction time section, then return to step S101 and determine new prestrain task bag.
In the present embodiment, in described step S2, also comprise that reproduction time section generates step, specifically comprises: by the cumulative generation task playing duration of all material playing duration of each task; The task playing duration that value is maximum is set as reproduction time section.
Referring to Fig. 6, is playlist step of updating flowchart.In the present embodiment, described a kind of media file playing method also comprises playlist step of updating:
Step S201, judge whether to receive the playlist of the renewal that media server sends; Step S202, when receiving the playlist of renewal, with the playlist upgrading, replace current playlist.For example, when media server sends new task bag to digital media terminal, and when new task bag is inserted to playlist, media server will be sent to digital media terminal by the playlist of renewal.
In the present embodiment, described task comprises list, form, text, picture.When task is list, material data comprise gauge outfit data and table volume data, and described " the material data of each material buffering area are play at corresponding window according to material playing duration in reproduction time section " specifically comprises: by Application of Splitting Window corresponding to list task, be gauge outfit window and table body window; The gauge outfit data of first material of material buffering area are shown at described gauge outfit window, the table volume data of first material is shown at table body window; In the time will playing next material, the table volume data of next material is upgraded and shown to showing body window.
The invention has the beneficial effects as follows: the digital media terminal that is different from prior art is play scheme owing to not having buffering to cause needing to wait for that material loads in playing process, the switching of task bag or material are switched and occur delay technique defect, digital media terminal of the present invention and media file playing method, the next one is play to bag and as prestrain, play bag, and the material that in prestrain broadcasting bag, task comprises is loaded on to the corresponding buffering area of task successively, form the material buffer queue of different task, and when carrying out the broadcasting of task bag, the material of each task is play in the window of a correspondence, realization is play without the task bag of waiting for, the material zero-waiting that realizes further multiwindow multitask is switched broadcasting, improve material loading velocity and promoted user's experience.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a media file playing method, is characterized in that, comprising:
S101, according to playlist, determine prestrain task bag, described playlist records the broadcasting sequence number corresponding with task bag;
S102, obtain and resolve prestrain task bag, obtain window coordinates information and at least one task, each task comprises at least one material, and each material comprises material data and material playing duration;
S103, material data are preloaded into and the corresponding material of task buffering area in order, material buffering area is only associated with window coordinates;
S104, when the playing duration of current task bag has reached reproduction time section, according to the window coordinates information of prestrain task bag, carry out window demonstration, prestrain task bag is set as to new current task bag, and the material data of each material buffering area are loaded on to display unit and according to material playing duration, at corresponding window, play in reproduction time section, then return to step S101 and determine new prestrain task bag.
2. a kind of media file playing method according to claim 1, is characterized in that, also comprises that reproduction time section generates step, specifically comprises in described step S2:
By the cumulative generation task playing duration of all material playing duration of each task;
The task playing duration that value is maximum is set as reproduction time section.
3. a kind of media file playing method according to claim 2, is characterized in that, also comprises playlist step of updating:
Judge whether to receive the playlist of the renewal that media server sends, and with the playlist of renewal, replace current playlist when receive.
4. a kind of media file playing method according to claim 2, is characterized in that, described task comprises list, form, text, picture.
5. a kind of media file playing method according to claim 4, it is characterized in that, when task is list, material data comprise gauge outfit data and table volume data, and described " the material data of each material buffering area are play at corresponding window according to material playing duration in reproduction time section " specifically comprises:
By Application of Splitting Window corresponding to list task, be gauge outfit window and table body window;
The gauge outfit data of first material of material buffering area are shown at described gauge outfit window, the table volume data of first material is shown at table body window;
In the time will playing next material, the table volume data of next material is upgraded and shown to showing body window.
6. a digital media terminal, comprises processing unit and the display unit being connected respectively with processing unit, buffer unit, it is characterized in that, described processing unit comprises:
Scheduler module, for determine prestrain task bag according to playlist, described playlist records the broadcasting sequence number corresponding with task bag;
Parsing module, for obtaining and resolve prestrain task bag, obtains window coordinates information and at least one task, and each task comprises at least one material, and each material comprises material data and material playing duration;
Prestrain module, for material data being preloaded in order to buffer unit and the corresponding material of task buffering area, material buffering area is only associated with window coordinates; And
Display control module, for when the playing duration of current task bag has reached reproduction time section, according to the window coordinates information of prestrain task bag, carry out window demonstration, prestrain task bag is set as to new current task bag, and the material data of each material buffering area are loaded on to display unit in reproduction time section and play at corresponding window according to material playing duration, then notify described scheduler module to determine new prestrain task bag.
7. a kind of digital media terminal according to claim 6, is characterized in that, described processing unit also comprises reproduction time section generation module, and reproduction time section generation module specifically comprises:
Task playing duration generates submodule, for generation task playing duration that all material playing duration of each task are added up; And
Reproduction time section is set submodule, for the maximum task playing duration of value is set as to reproduction time section.
8. a kind of digital media terminal according to claim 7, it is characterized in that, processing unit also comprises playlist update module, for judging whether to receive the playlist of the renewal that media server sends, and with the playlist of renewal, replaces current playlist when receive.
9. a kind of digital media terminal according to claim 7, is characterized in that, described task comprises list, form, text, picture.
10. a kind of digital media terminal according to claim 9, is characterized in that, when task is list, material data comprise gauge outfit data and table volume data, and described display control module comprises:
Application of Splitting Window module, for by Application of Splitting Window corresponding to list task being gauge outfit window and table body window;
The first display module, for the gauge outfit data of first material of material buffering area are shown at described gauge outfit window, shows the table volume data of first material at table body window;
The second display module, in the time will playing next material, upgrades the table volume data of next material to show to showing body window.
CN201310647076.9A 2013-12-04 2013-12-04 A kind of digital media terminal and media file playing method Active CN103648027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310647076.9A CN103648027B (en) 2013-12-04 2013-12-04 A kind of digital media terminal and media file playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310647076.9A CN103648027B (en) 2013-12-04 2013-12-04 A kind of digital media terminal and media file playing method

Publications (2)

Publication Number Publication Date
CN103648027A true CN103648027A (en) 2014-03-19
CN103648027B CN103648027B (en) 2016-09-21

Family

ID=50253168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310647076.9A Active CN103648027B (en) 2013-12-04 2013-12-04 A kind of digital media terminal and media file playing method

Country Status (1)

Country Link
CN (1) CN103648027B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979297A (en) * 2016-06-14 2016-09-28 天脉聚源(北京)传媒科技有限公司 Watching duration statistic method and system
CN107613404A (en) * 2017-09-07 2018-01-19 北京达佳互联信息技术有限公司 Video broadcasting method, device and terminal
CN111915346A (en) * 2020-07-07 2020-11-10 厦门盈趣汽车电子有限公司 Advertisement publishing method and system
CN113691865A (en) * 2021-08-24 2021-11-23 京东方科技集团股份有限公司 Multimedia playing method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030004805A1 (en) * 2001-06-29 2003-01-02 Vaitekunas Jeffrey J. Business method for billboard advertising
CN101650959B (en) * 2009-09-07 2012-10-17 中国科学院声学研究所 Layering framework for multimedia synchronous broadcast and control relationship
CN103260057A (en) * 2013-04-15 2013-08-21 华为技术有限公司 Method and server and terminal for terminal playing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030004805A1 (en) * 2001-06-29 2003-01-02 Vaitekunas Jeffrey J. Business method for billboard advertising
CN101650959B (en) * 2009-09-07 2012-10-17 中国科学院声学研究所 Layering framework for multimedia synchronous broadcast and control relationship
CN103260057A (en) * 2013-04-15 2013-08-21 华为技术有限公司 Method and server and terminal for terminal playing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979297A (en) * 2016-06-14 2016-09-28 天脉聚源(北京)传媒科技有限公司 Watching duration statistic method and system
CN105979297B (en) * 2016-06-14 2019-03-19 天脉聚源(北京)传媒科技有限公司 One kind watching duration statistical method and system
CN107613404A (en) * 2017-09-07 2018-01-19 北京达佳互联信息技术有限公司 Video broadcasting method, device and terminal
CN111915346A (en) * 2020-07-07 2020-11-10 厦门盈趣汽车电子有限公司 Advertisement publishing method and system
CN111915346B (en) * 2020-07-07 2022-12-27 厦门盈趣汽车电子有限公司 Advertisement publishing method and system
CN113691865A (en) * 2021-08-24 2021-11-23 京东方科技集团股份有限公司 Multimedia playing method and system

Also Published As

Publication number Publication date
CN103648027B (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN102647634B (en) Multi-fragment video playing method and device based on hypertext markup language (HTML) 5 video
CN105025319B (en) A kind of video pushing method and device
US20170324792A1 (en) Dynamic track switching in media streaming
CN111541913B (en) Video playing method and device of spliced screen, computer equipment and medium
CN102439983B (en) Data rapid distribution method and device
CN105451087A (en) Pushing method, terminals, historical data server and system for barrage information
CN104065979A (en) Method for dynamically displaying information related with video content and system thereof
WO2016074327A1 (en) Control method, apparatus and system of media stream
CN108055304B (en) Remote data synchronization method, device, server, equipment and storage medium
CN103648027A (en) Digital media terminal and media file play method
CN105898535A (en) Play start speed improving method, video player and electronic device
US20240289398A1 (en) Method, apparatus, device and storage medium for content display
CN103777970B (en) A kind of method for upgrading software and a kind of electronic equipment
US10178431B2 (en) Hybrid stream delivery
CN106331788A (en) Video download method and device
CN111930973A (en) Multimedia data playing method and device, electronic equipment and storage medium
CN114679621A (en) Video display method and device and terminal equipment
WO2014161267A1 (en) Method and device for showing poster
CN106161656B (en) Interface jumping method and device
CN104994429B (en) A kind of method and device playing video
CN105872636A (en) Video pushing method and system, and device based on CDN (Content Delivery Network)
CN111641690B (en) Session message processing method and device and electronic equipment
CN104615647A (en) View model requesting and issuing method and device
CN110175309B (en) Native terminal resource pool management system and method for mobile application hybrid development
CN109348280B (en) Network television program switching method, intelligent television and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160817

Address after: 350000, Fuzhou County, Fujian City, Minhou Province town science and technology east road building A zone 27

Applicant after: Fujian softcom limited of StarNet

Address before: Fuzhou City, Fujian Province, Jinshan Road 350002 No. 618 No. 20 Ruijie orangery Chau Science Park 4

Applicant before: Fujian Starnet e-Video Information System Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220207

Address after: 350000 19-22 Jinshan Science and Technology Park, citrus Island star network, 618 Jinshan Road, Cangshan District, Fuzhou, Fujian.

Patentee after: FUJIAN STAR-NET COMMUNICATION Co.,Ltd.

Address before: 350000 floor 27, zone a, Chuangye building, Keji East Road, Shangjie Town, Minhou County, Fuzhou City, Fujian Province

Patentee before: Fujian softcom limited of StarNet