CN106878828A - The method and device of automatic switchover multimedia code check - Google Patents

The method and device of automatic switchover multimedia code check Download PDF

Info

Publication number
CN106878828A
CN106878828A CN201710093739.5A CN201710093739A CN106878828A CN 106878828 A CN106878828 A CN 106878828A CN 201710093739 A CN201710093739 A CN 201710093739A CN 106878828 A CN106878828 A CN 106878828A
Authority
CN
China
Prior art keywords
multimedia file
playing
code check
duration
playing multimedia
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
CN201710093739.5A
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.)
Whaley Technology Co Ltd
Original Assignee
Whaley Technology 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 Whaley Technology Co Ltd filed Critical Whaley Technology Co Ltd
Priority to CN201710093739.5A priority Critical patent/CN106878828A/en
Publication of CN106878828A publication Critical patent/CN106878828A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of method and device of automatic switchover multimedia code check, is applied to multimedia play equipment.Wherein, operation has system plays device and application plays device on the multimedia play equipment.The section of playing multimedia file is loaded under system plays device, while recording each corresponding playing duration of section and downloading duration.Playing duration and downloading duration of the application plays device according to the corresponding playing duration of single section and downloading duration or the corresponding playing duration of multiple section and downloading duration for receiving after cumulative obtain current network condition, so as to send the control instruction being downloaded in playing multimedia file corresponding to pair code check adaptable with current network condition to system plays device.Correspondence is downloaded and played to system plays device in playing multimedia file, so as to complete the automatic switchover to multimedia code check according to the control instruction.

Description

The method and device of automatic switchover multimedia code check
Technical field
The present invention relates to multimedia field, a kind of method in particular to automatic switchover multimedia code check and Device.
Background technology
With science and technology and economic fast development, the resource of many multimedia files can just find on the net.Pass through Network and application plays device, people can enjoy the program for wanting to see, obtain abundant seeing and hearing enjoyment.
But, in the playing process to multimedia file, the code check of multimedia file can be influenceed by network condition. At present, application plays device obtains current network conditions by the speed-measuring method of mixed-media network modules mixed-media, then according to network condition come real When switching present multimedia file code check.But, the speed measuring function of mixed-media network modules mixed-media and the download capabilities in multimedia file source have Larger gap, it is impossible to network condition of the authentic and valid reflection multimedia file source in downloading process, after causing switching Multimedia file code check is mismatched with current network condition, influences Consumer's Experience.
The content of the invention
In view of this, the purpose of a preferred embodiment of the present invention is to provide a kind of multimedia file code check made after switching The method of the automatic switchover multimedia code check matched with current network condition, methods described is applied to multimedia play equipment, Operation has system plays device and application plays device on the multimedia play equipment, and methods described includes:
The system plays device under the netcast address of playing multimedia file according to being loaded in cutting for playing multimedia file Piece, while recording each described corresponding playing duration and downloading duration of cutting into slices;
The system plays device is right by the corresponding playing duration of the single section and downloading duration or multiple sections Playing duration and downloading duration after the playing duration and downloading duration answered are cumulative are sent to the application plays device;
The application plays device obtains current network condition according to the playing duration and downloading duration that receive;
The application plays device is according to current network condition to system plays device transmission pair and current network feelings The control instruction being downloaded in playing multimedia file corresponding to the adaptable code check of condition;
The system plays device receives the control instruction, downloads and play the code check being adapted with current network condition It is corresponding in playing multimedia file.
Another preferred embodiment of the present invention also provides a kind of device of automatic switchover multimedia code check, and described device is applied to Multimedia play equipment, described device includes running on system plays device and the application plays on the multimedia play equipment Device, the system plays device includes download module, the first sending module and playing module, and the application plays device includes analysis mould Block and the second sending module,
The download module, playing multimedia file is loaded in for basis under the netcast address of playing multimedia file Section, while recording each described corresponding playing duration and downloading duration of cutting into slices;
First sending module, for by the corresponding playing duration of the single section and downloading duration or multiple described Playing duration and downloading duration after corresponding playing duration of cutting into slices and downloading duration are cumulative are sent to the application plays device;
The analysis module, for obtaining current network condition according to the playing duration and downloading duration that receive;
Second sending module, for according to current network condition to the system plays device send pair with it is current The control instruction being downloaded in playing multimedia file corresponding to the adaptable code check of network condition;
The download module, for receiving the control instruction, downloads the code check institute being adapted with current network condition It is corresponding in playing multimedia file;
The playing module, for broadcasting many matchmakers corresponding to the code check being adapted with current network condition to downloading Body file is played out.
In terms of existing technologies, the method and device tool of automatic switchover multimedia code check provided in an embodiment of the present invention There is following beneficial effect:
When application plays device is loaded in the section of playing multimedia file according to system plays device under, cut described in each of acquisition Broadcasting after the corresponding playing duration of piece and downloading duration or the corresponding playing duration of multiple sections and downloading duration are cumulative Duration and downloading duration, obtain current network condition, so as to control the system plays device to download and current network condition Corresponding to adaptable code check in playing multimedia file, this causes the code check in playing multimedia file that system plays device is played It is adapted with current network condition.Thus, the automatic switchover of multimedia code check is completed, Consumer's Experience is improved.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
The block diagram of the multimedia play equipment that Fig. 1 is provided for present pre-ferred embodiments.
Fig. 2 is more for the automatic switchover for being applied to the multimedia play equipment shown in Fig. 1 that present pre-ferred embodiments are provided A kind of schematic flow sheet of the method for media code rate by utilizing.
A kind of schematic flow sheet of the sub-step that Fig. 3 includes for step S110 in Fig. 2.
A kind of one of schematic flow sheet of part sub-step that Fig. 4 includes for step S140 in Fig. 2.
The two of a kind of schematic flow sheet of the part sub-step that Fig. 5 includes for step S140 in Fig. 2.
The three of a kind of schematic flow sheet of the part sub-step that Fig. 6 includes for step S140 in Fig. 2.
A kind of block diagram of the device of the automatic switchover multimedia code check that Fig. 7 is provided for present pre-ferred embodiments.
Another square frame of the device of the automatic switchover multimedia code check that Fig. 8 is provided for present pre-ferred embodiments is illustrated Figure.
Icon:100- multimedia play equipments;110- memories;120- storage controls;130- processors;200- systems Player;210- download modules;The sending modules of 220- first;230- playing modules;300- application plays devices;310- analyzes mould Block;The sending modules of 320- second;321- detection sub-modules;322- sends order submodule;323- first processes submodule;324- Second processing submodule;325- the 3rd processes submodule;The device of 400- automatic switchover multimedia code checks.
Specific embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of selected embodiment of the invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing.Meanwhile, of the invention In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Refer to Fig. 1, the block diagram of the multimedia play equipment 100 that Fig. 1 is provided for present pre-ferred embodiments.This Multimedia play equipment 100 described in inventive embodiments may be, but not limited to, smart mobile phone, panel computer, intelligent TV set Deng.As shown in figure 1, the multimedia play equipment 100 includes:The device 400 of automatic switchover multimedia code check, system plays device 200th, application plays device 300, memory 110, storage control 120 and processor 130.
Directly or indirectly it is electrically connected between the memory 110, storage control 120 and each element of processor 130, To realize the transmission or interaction of data.For example, these elements each other can be by one or more communication bus or holding wire Realize being electrically connected with.Be stored with the device 400 of automatic switchover multimedia code check in memory 110, wherein, the automatic switchover is more The device 400 of media code rate by utilizing includes system plays device 200 and application plays device 300.The dress of the automatic switchover multimedia code check Put 400 respectively include at least one the memory 110 can be stored in the form of software or firmware (firmware) in it is soft Part functional module.The processor 130 is by running software program and module of the storage in memory 110, such as present invention The device 400 of the automatic switchover multimedia code check in embodiment, so as to perform various function application and data processing, that is, realizes The method of the automatic switchover multimedia code check in the embodiment of the present invention.
Wherein, the memory 110 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 110 be used for storage program, the processor 130 after execute instruction is received, Perform described program.The processor 130 and other access of possible component to memory 110 can be in the storage controls Carried out under the control of device 120.
The processor 130 is probably a kind of IC chip, the disposal ability with signal.Above-mentioned processor 130 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..Can also be digital signal processor (DSP), application specific integrated circuit (ASIC), scene Programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware group Part.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.General processor can be with It is microprocessor or the processor can also be any conventional processor etc..
It is appreciated that the structure shown in Fig. 1 be only illustrate, multimedia play equipment 100 may also include than shown in Fig. 1 more Many or less components, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can be using hardware, soft Part or its combination are realized.
Fig. 2 is refer to, Fig. 2 is the multimedia play equipment 100 being applied to shown in Fig. 1 that present pre-ferred embodiments are provided Automatic switchover multimedia code check method a kind of schematic flow sheet.Wherein, being run on the multimedia play equipment 100 has System plays device 200 and application plays device 300, the flow in Fig. 2 can be realized by the processor 130.Below to cutting automatically The idiographic flow for changing the method for multimedia code check is described in detail.
Step S110, system plays device 200 is loaded in playing multimedia according under the netcast address of playing multimedia file The section of file, while recording each described corresponding playing duration and downloading duration of cutting into slices.
In the present embodiment, the system plays device 200 is the bottom player in the multimedia play equipment 100. The system plays device 200 can be to provide the set of invoking performance function, by calling with realization for above-mentioned functions function The bottom functions such as load, broadcasting.The system plays device 200 is loaded in playing multimedia file according under the netcast address for obtaining, Described can be single audio file, or single video file in playing multimedia file, can also be audio frequency and video File.Wherein, netcast address can be URL (Uniform Resource Locator, URL), unified URLs is the expression of the position and access method to the resource that can be obtained from internet, is standard money on internet The address in source.Each file on internet has a unique URL, and the information that URL is included points out the position of file, as long as Can be to document alignment, it is possible to which various operations are carried out to file, such as, and storage, renewal, replacement etc..
Refer to Fig. 3, Fig. 3 is a kind of schematic flow sheet of the sub-step that step S110 includes in Fig. 2.The step S110 Including sub-step S112 and sub-step S113.
The sub-step S112, the corresponding multimedia file source section row of the current multimedia file section downloaded of inquiry Table, the corresponding playing duration of the section that acquisition has been downloaded.
In the present embodiment, initial multimedia file stream is cut into Downloadable single multimedia file stream, institute State single multimedia file stream and be section, the corresponding broadcasting of acquisition section can be searched in the slice list of multimedia file source Duration.Wherein, when the multimedia file is video file, the code check of section in any case, can represent video text The definition of part.Code check refers to the data traffic that multimedia file is used within the unit interval, is also code stream (Data Rate), Under same resolution ratio, the code check of video file is bigger, and compression ratio is just smaller, and image quality is better, and video pictures are also more clear It is clear.When the multimedia file is audio file or audio-video document, similarly, the code check of section in any case, can be with Represent the quality of audio file or audio-video document.
In the implementation method of the present embodiment, it is assumed that the multimedia file is video file, file playing video is obtained M3U8 playlists, download the section in playlist, and the section correspondence downloaded according to M3U8 playlists Playing duration (such as, a video file is cut into slices according to every 10s, and each M3U8 sections represent the video file number of 10s According to).Wherein, video flowing is cut into HTTP Live Streaming the video flowing small one by one that can be downloaded by HTTP, and raw Into the playlist.HTTP Live Streaming are the Streaming transfer protocols based on HTTP proposed by Apple.And M3U8 playlists refer to the M3U playlists of UTF-8 coded formats.M3U files are to have recorded an index text-only file, Open it when playout software be not play it, but according to its index find corresponding video file the network address so that Played online.
The step S113, the beginning download time cut into slices by each multimedia file and completion download time, obtain The downloading duration of each multimedia file section.
In the present embodiment, when the system plays device 200 downloads each multimedia file section, record described each many The beginning download time and completion download time of media file section.According to completion download time and beginning download time, institute State the downloading duration that system plays device 200 obtains each multimedia file section.
Step S120, the system plays device 200 is by the corresponding playing duration of the single section and downloading duration or many Playing duration and downloading duration after the corresponding playing duration of the individual section and downloading duration are cumulative are sent to application plays device 300。
In the present embodiment, the system plays device 200 can be by each cut into slices corresponding playing duration and the download Duration is packed, it is also possible to playing duration by the multiple corresponding playing duration of the section and downloading duration after cumulative and when downloading Packing long, the call back function (such as, listener) then registered by application plays device 300 is sent to application plays device 300. Wherein, the application plays device 300 can be upper strata player (such as, the iqiyi.com that the multimedia play equipment 100 is downloaded Player), or network player (such as, multimedia file be derived from that the player or direct-on-line of band are played the Tripartite's player), for realizing logic decision, sending the functions such as control instruction, invoking performance function/system plays device 200.
Step S130, the application plays device 300 obtains current net according to the playing duration and downloading duration that receive Network situation.
In the present embodiment, the application plays device 300 judges current net by the information that system plays device 200 sends Network situation.Wherein, the information that the system plays device 200 sends is exactly the download in playing multimedia file reality, therefore, The characteristics of message that system plays device 200 sends has accurate.The application plays device 300 can be according to predetermined number The average downloading duration and playing duration of section obtain current network condition, it is also possible to by the section of predetermined number Playing duration and downloading duration after corresponding playing duration and downloading duration are cumulative obtain current network condition, can be with Current network condition is obtained according to the downloading duration and playing duration of each section.
Step S140, the application plays device 300 sends right according to current network condition to the system plays device 200 The control instruction being downloaded in playing multimedia file corresponding to code check being adapted with current network condition.
Refer to Fig. 4, Fig. 4 is one of schematic flow sheet of part sub-step that step S140 includes in Fig. 2.The step S140 includes sub-step S141 and sub-step S142.
The sub-step S141, detection obtains the code check in playing multimedia file in the code check of playing multimedia file Grade.
In the present embodiment, by the code check of the section in playing multimedia file, so as to obtain in playing multimedia file Code check grade (such as, video file is divided into high definition, SD, blue light etc., audio file and audio-video document be divided into standard quality, High-quality, ultrahigh quality etc.).
The sub-step S142, be and current network condition phase by the code check level adjustment in playing multimedia file The code check grade of adaptation, and send pair code check grade institute being adapted with current network condition to the system plays device 200 The corresponding control instruction being downloaded in playing multimedia file.
In the present embodiment, it is described to be and current network condition by the code check level adjustment in playing multimedia file Adaptable code check grade, and send pair code check grade being adapted with current network condition to the system plays device 200 Corresponding includes the step of the control instruction that playing multimedia file is downloaded:
If the not least level of code check grade and the corresponding playing duration of the section in playing multimedia file is less than institute The downloading duration of section is stated, is sent to the system plays device 200 after being lowered to the code check grade in playing multimedia file The corresponding control instruction being downloaded in playing multimedia file;
If the code check grade in playing multimedia file is non-highest and the corresponding playing duration of the section is more than institute The downloading duration of section is stated, is sent to the system plays device 200 after being raised to the code check grade in playing multimedia file The corresponding control instruction being downloaded in playing multimedia file.
Next introduce how the application plays device 300 sends control instruction in the form of son of illustrating.Assuming that current Single video file in playing multimedia file, and the code check grade one of video file be divided into blue light, super clear, high definition, It is smooth.
The corresponding playing duration of the section is compared with the downloading duration of the section, the section correspondence is judged Playing duration and the downloading duration of the section between magnitude relationship.
When the code check grade of file playing video is non-lowermost level (such as, super clear) and the corresponding playing duration of the section Less than the section downloading duration when, the code check grade of the file playing video is lowered, and to system plays device 200 send the control instruction for downloading corresponding file playing video after code check grade is lowered.
When the playing duration of the section is slightly less than downloading duration, such as, downloading duration is 5s, and playing duration is 4s, The code check grade of the file playing video clear is then adjusted to high definition by super.It is much smaller than in the playing duration of the section and is downloaded During duration, such as, downloading duration is 5s, and playing duration is 2s, then by the code check grade of the file playing video by super clear tune Whole is smoothness.Wherein, the grade of adjustment can cut into slices corresponding playing duration and downloading duration according to actual conditions It is adjusted.
It is that lowermost level and the corresponding playing duration of the section are less than or wait in the code check grade of the file playing video When the downloading duration of the section, the code check grade to the file playing video is not adjusted.
When the code check grade of the file playing video is the non-superlative degree (such as, high definition) and the corresponding broadcasting of the section When duration is more than the downloading duration of the section, the code check grade of the file playing video is raised, and broadcast to system Put device 200 and send the control instruction for downloading corresponding file playing video after code check grade is raised.
When the playing duration of the section is slightly larger than downloading duration, such as, downloading duration is 3s, and playing duration is 6s, The code check grade of the file playing video is then adjusted to super clear by high definition.It is much larger than in the playing duration of the section and is downloaded During duration, such as, downloading duration is 3s, and playing duration is 9s, then the code check grade of the file playing video is adjusted by high definition Whole is blue light.Wherein, the grade of adjustment can cut into slices corresponding playing duration and downloading duration according to actual conditions It is adjusted.
In the code check grade of the file playing video be highest and the corresponding playing duration of the section is more than or waits When the downloading duration of the section, the code check grade to the file playing video is not adjusted.
Refer to Fig. 5, Fig. 5 is two of the schematic flow sheet of the part sub-step that step S140 includes in Fig. 2.The step S140 also includes sub-step S147, sub-step S148 and sub-step S149.
The sub-step S147, when obtaining code check level adjustment, in the play time of playing multimedia file.
The sub-step S148, the netcast address in playing multimedia file after being adjusted.
The sub-step S149, by the play time in playing multimedia file and the adjustment after broadcasting many matchmakers The netcast address of body file is sent to system plays device 200.
Refer to Fig. 6, Fig. 6 is three of the schematic flow sheet of the part sub-step that step S140 includes in Fig. 2.The step S140 can also include sub-step S144, sub-step S145 and sub-step S146.
The sub-step S144, judges whether that the netcast in playing multimedia file after code check level adjustment can be obtained Address.
In the present embodiment, the netcast address in playing multimedia file after code check level adjustment is searched, if searching To the netcast address, then sub-step S145 is performed.
The sub-step S145, being downloaded in playing multimedia file after the 200 pairs of adjustment of control system player.
In the present embodiment, if the netcast address can not be found, step S146 is performed.
The sub-step S146, is not adjusted to the code check grade in playing multimedia file.
Step S150, the system plays device 200 receives the control instruction, downloads and plays and current network condition Corresponding to adaptable code check in playing multimedia file.
In the present embodiment, the application plays device 300 receives the control instruction, downloads and plays and current network The mode in playing multimedia file corresponding to the adaptable code check of situation is one of any for following three kinds:
Stop to currently broadcasting the broadcasting of section, after being starting point broadcasting code check level adjustment with the play time Playing multimedia file;
To currently broadcasting after section finishes playing, play after code check level adjustment in playing multimedia file;
After being finished playing to the section downloaded, play code check level adjustment after in playing multimedia file.
Fig. 7 is refer to, Fig. 7 is the one of the device 400 of the automatic switchover multimedia code check that present pre-ferred embodiments are provided Plant block diagram.The device 400 of the automatic switchover multimedia code check is applied to multimedia play equipment 100, described automatic The device 400 of switching multi-media code check includes running on system plays device 200 and application on the multimedia play equipment 100 Player 300, the system plays device 200 includes download module 210, the first sending module 220 and playing module 230, described Application plays device 300 includes the sending module 320 of analysis module 310 and second.
The download module 210, playing multimedia text is loaded in for basis under the netcast address of playing multimedia file The section of part, while recording each described corresponding playing duration and downloading duration of cutting into slices.
In the present embodiment, first download module 210 record simultaneously each corresponding playing duration of the section and The mode of downloading duration includes:
The current multimedia file section corresponding multimedia file source slice list downloaded of inquiry, what acquisition had been downloaded The corresponding playing duration of cutting into slices;
The beginning download time and completion download time cut into slices by each multimedia file, obtain each multimedia The downloading duration of file section.
In the present embodiment, the step of first download module 210 is performed refers to the detailed of the step S110 shown in Fig. 2 Thin description.
First sending module 220, for by the corresponding playing duration of the single section and downloading duration or multiple Playing duration and downloading duration after the corresponding playing duration of the section and downloading duration are cumulative are sent to the application plays Device 300.
In the present embodiment, the step of first sending module 220 is performed refers to the detailed of the step S120 shown in Fig. 2 Thin description.
The analysis module 310, for obtaining current network condition according to the playing duration and downloading duration that receive.
In the present embodiment, the step of analysis module 310 is performed refers to retouching in detail for the step S130 shown in Fig. 2 State.
Second sending module 320, for according to current network condition to the system plays device 200 send pair with The control instruction being downloaded in playing multimedia file corresponding to the adaptable code check of current network condition.
Fig. 8 is refer to, Fig. 8 is the another of the device 400 of the automatic switchover multimedia code check that present pre-ferred embodiments are provided A kind of block diagram.Second sending module 320 includes:
Detection sub-module 321, for detecting the code check in playing multimedia file, obtains described in playing multimedia file Code check grade;
Order submodule 322 is sent, for being and current net by the code check level adjustment in playing multimedia file The adaptable code check grade of network situation, and send pair code being adapted with current network condition to the system plays device 200 The control instruction being downloaded in playing multimedia file corresponding to rate grade.
In the present embodiment, the order submodule 322 that sends is by the code check level adjustment in playing multimedia file It is the code check grade being adapted with current network condition, and to the system plays device 200 transmission pair and current network feelings The mode of the control instruction being downloaded in playing multimedia file corresponding to the adaptable code check grade of condition includes:
If the not least level of code check grade and the corresponding playing duration of the section in playing multimedia file is less than institute The downloading duration of section is stated, is sent to the system plays device 200 after being lowered to the code check grade in playing multimedia file The corresponding control instruction being downloaded in playing multimedia file;
If the code check grade in playing multimedia file is non-highest and the corresponding playing duration of the section is more than institute The downloading duration of section is stated, is sent to the system plays device 200 after being raised to the code check grade in playing multimedia file The corresponding control instruction being downloaded in playing multimedia file.
Referring once again to Fig. 8, second sending module 320 also includes:
First treatment submodule 323, for obtaining during code check level adjustment, the reproduction time in playing multimedia file Point;
Second processing submodule 324, for being adjusted after the netcast address in playing multimedia file;
3rd treatment submodule 325, for by after the play time in playing multimedia file and the adjustment System plays device 200 is sent in the netcast address of playing multimedia file.
In the present embodiment, the second processing submodule 324 be additionally operable to after being adjusted in playing multimedia file Netcast address before,
Judge whether that the netcast address in playing multimedia file after code check level adjustment can be obtained;
When the netcast address in playing multimedia file after being obtained in that adjustment, the system plays device is controlled Being downloaded in playing multimedia file after 200 pairs of adjustment, the network in playing multimedia file after can not obtain adjustment is broadcast When putting address, the code check grade in playing multimedia file is not adjusted.
In the present embodiment, the step of second sending module 320 is performed refers to the detailed of the step S140 shown in Fig. 2 Thin description.
The download module 210, is additionally operable to receive the control instruction, downloads the code being adapted with current network condition Corresponding to rate in playing multimedia file.
In the present embodiment, the step of download module 210 is performed refers to retouching in detail for the step S150 shown in Fig. 2 State.
The playing module 230, for broadcasting corresponding to the code check being adapted with current network condition to downloading Multimedia file is played out.
In the present embodiment, 230 pairs of downloads of the playing module is right with the code check institute that current network condition is adapted The mode played out in playing multimedia file answered is one of any for following three kinds:
Stop to currently broadcasting the broadcasting of section, after being starting point broadcasting code check level adjustment with the play time Playing multimedia file;
To currently broadcasting after section finishes playing, play after code check level adjustment in playing multimedia file;
After being finished playing to the section downloaded, play code check level adjustment after in playing multimedia file.
In the present embodiment, the step of playing module 230 is performed refers to retouching in detail for the step S150 shown in Fig. 2 State.
In sum, the method and device of automatic switchover multimedia code check provided in an embodiment of the present invention, in system plays When device is according to the section that playing multimedia file is loaded under the netcast address of playing multimedia file, system plays device obtains institute State the corresponding playing duration of section and downloading duration, and to application plays device send the corresponding playing duration of the single section and Playing duration and downloading duration after downloading duration or the corresponding playing duration of multiple section and downloading duration are cumulative, from And cause that application plays device obtains current network condition.Application plays device is played according to current network condition, control system Device download with current network condition be adapted code check corresponding in playing multimedia file so that system plays device play It is adapted with current network condition in the code check of playing multimedia file.Thus, the automatic switchover to multimedia code check is completed, Improve Consumer's Experience.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (14)

1. a kind of method of automatic switchover multimedia code check, is applied to multimedia play equipment, on the multimedia play equipment Operation has system plays device and application plays device, it is characterised in that methods described includes:
The system plays device according to the section that playing multimedia file is loaded under the netcast address of playing multimedia file, together Each corresponding playing duration of the section of Shi Jilu and downloading duration;
The system plays device is corresponding by the corresponding playing duration of the single section and downloading duration or multiple sections Playing duration and downloading duration after playing duration and downloading duration are cumulative are sent to the application plays device;
The application plays device obtains current network condition according to the playing duration and downloading duration that receive;
The application plays device is according to current network condition to system plays device transmission pair and current network condition phase The control instruction being downloaded in playing multimedia file corresponding to the code check of adaptation;
The system plays device receives the control instruction, downloads and play the code check institute being adapted with current network condition right Answer in playing multimedia file.
2. method according to claim 1, it is characterised in that the application plays device is according to current network condition to institute State system plays device and send being downloaded in playing multimedia file corresponding to pair code check being adapted with current network condition Control instruction the step of include:
The detection code check in playing multimedia file, obtains the code check grade in playing multimedia file;
It is the code check grade being adapted with current network condition by the code check level adjustment in playing multimedia file, and to The system plays device sends entering in playing multimedia file corresponding to pair code check grade being adapted with current network condition The control instruction that row is downloaded.
3. method according to claim 2, it is characterised in that described to adjust the code check grade in playing multimedia file Whole is the code check grade being adapted with current network condition, and to system plays device transmission pair and current network condition Including the step of the control instruction that playing multimedia file is downloaded corresponding to adaptable code check grade:
If the not least level of code check grade and the corresponding playing duration of the section in playing multimedia file is cut less than described The downloading duration of piece, sent to the system plays device after being lowered to the code check grade in playing multimedia file it is corresponding The control instruction that playing multimedia file is downloaded;
If the code check grade in playing multimedia file is non-highest and the corresponding playing duration of the section is cut more than described The downloading duration of piece, sent to the system plays device after being raised to the code check grade in playing multimedia file it is corresponding The control instruction that playing multimedia file is downloaded.
4. method according to claim 1, it is characterised in that the application plays device is according to current network condition to institute State system plays device and send being downloaded in playing multimedia file corresponding to pair code check being adapted with current network condition Control instruction the step of also include:
When obtaining code check level adjustment, the play time in playing multimedia file;
The netcast address in playing multimedia file after being adjusted;
The netcast ground in playing multimedia file after by the play time in playing multimedia file and the adjustment Location is sent to system plays device.
5. method according to claim 4, it is characterised in that it is described adjusted after the network in playing multimedia file Include before the step of broadcast address:
Judge whether that the netcast address in playing multimedia file after code check level adjustment can be obtained;
When the netcast address in playing multimedia file after being obtained in that adjustment, the system plays device is controlled to adjustment Being downloaded in playing multimedia file afterwards, when the netcast address in playing multimedia file after can not being adjusted, Code check grade in playing multimedia file is not adjusted.
6. method according to claim 4, it is characterised in that the system plays device receives the control instruction, downloads And the mode in playing multimedia file corresponding to the code check being adapted with current network condition is played for following three kinds any One of:
Stop to currently broadcasting the broadcasting of section, after being starting point broadcasting code check level adjustment with the play time broadcast it is many Media file;
To currently broadcasting after section finishes playing, play after code check level adjustment in playing multimedia file;
After being finished playing to the section downloaded, play code check level adjustment after in playing multimedia file.
7. method according to claim 1, it is characterised in that described while when recording each corresponding broadcasting of the section The step of long and downloading duration, includes:
The current multimedia file section corresponding multimedia file source slice list downloaded of inquiry, it is described that acquisition has been downloaded Cut into slices corresponding playing duration;
The beginning download time and completion download time cut into slices by each multimedia file, obtain each multimedia file The downloading duration of section.
8. a kind of device of automatic switchover multimedia code check, described device is applied to multimedia play equipment, and described device includes The system plays device and application plays device on the multimedia play equipment are run on, the system plays device includes downloading mould Block, the first sending module and playing module, the application plays device include analysis module and the second sending module, and its feature exists In:
The download module, cutting for playing multimedia file is loaded in for basis under the netcast address of playing multimedia file Piece, while recording each described corresponding playing duration and downloading duration of cutting into slices;
First sending module, for by the corresponding playing duration of the single section and downloading duration or multiple sections Playing duration and downloading duration after corresponding playing duration and downloading duration are cumulative are sent to the application plays device;
The analysis module, for obtaining current network condition according to the playing duration and downloading duration that receive;
Second sending module, for according to current network condition to the system plays device send pair and current network The control instruction being downloaded in playing multimedia file corresponding to the adaptable code check of situation;
The download module, is additionally operable to receive the control instruction, downloads the code check institute being adapted with current network condition right Answer in playing multimedia file;
The playing module, for literary in playing multimedia corresponding to the code check being adapted with current network condition to downloading Part is played out.
9. device according to claim 8, it is characterised in that second sending module includes:
Detection sub-module, for detecting the code check in playing multimedia file, obtains the code check in playing multimedia file Grade;
Order submodule is sent, for being and current network condition phase by the code check level adjustment in playing multimedia file The code check grade of adaptation, and sent corresponding to pair code check grade being adapted with current network condition to the system plays device The control instruction being downloaded in playing multimedia file.
10. device according to claim 9, it is characterised in that the transmission order submodule will be described in playing multimedia The code check level adjustment of file is the code check grade being adapted with current network condition, and sends right to the system plays device The side of the control instruction being downloaded in playing multimedia file corresponding to code check grade being adapted with current network condition Formula includes:
If the not least level of code check grade and the corresponding playing duration of the section in playing multimedia file is cut less than described The downloading duration of piece, sent to the system plays device after being lowered to the code check grade in playing multimedia file it is corresponding The control instruction that playing multimedia file is downloaded;
If the code check grade in playing multimedia file is non-highest and the corresponding playing duration of the section is cut more than described The downloading duration of piece, sent to the system plays device after being raised to the code check grade in playing multimedia file it is corresponding The control instruction that playing multimedia file is downloaded.
11. devices according to claim 8, it is characterised in that second sending module also includes:
First treatment submodule, for obtaining during code check level adjustment, the play time in playing multimedia file;
Second processing submodule, for being adjusted after the netcast address in playing multimedia file;
3rd treatment submodule, for broadcasting many matchmakers after by the play time in playing multimedia file and the adjustment The netcast address of body file is sent to system plays device.
12. devices according to claim 11, it is characterised in that the second processing submodule is additionally operable to adjusted Afterwards before the netcast address of playing multimedia file,
Judge whether that the netcast address in playing multimedia file after code check level adjustment can be obtained;
When the netcast address in playing multimedia file after being obtained in that adjustment, the system plays device is controlled to adjustment Being downloaded in playing multimedia file afterwards, when the netcast address in playing multimedia file after can not being adjusted, Code check grade in playing multimedia file is not adjusted.
13. devices according to claim 11, it is characterised in that the playing module is to download and current network feelings The mode played out in playing multimedia file corresponding to the adaptable code check of condition is one of any for following three kinds:
Stop to currently broadcasting the broadcasting of section, after being starting point broadcasting code check level adjustment with the play time broadcast it is many Media file;
To currently broadcasting after section finishes playing, play after code check level adjustment in playing multimedia file;
After being finished playing to the section downloaded, play code check level adjustment after in playing multimedia file.
14. devices according to claim 8, it is characterised in that it is right that the download module records each described section simultaneously The playing duration and the mode of downloading duration answered include:
The current multimedia file section corresponding multimedia file source slice list downloaded of inquiry, it is described that acquisition has been downloaded Cut into slices corresponding playing duration;
The beginning download time and completion download time cut into slices by each multimedia file, obtain each multimedia file The downloading duration of section.
CN201710093739.5A 2017-02-21 2017-02-21 The method and device of automatic switchover multimedia code check Pending CN106878828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710093739.5A CN106878828A (en) 2017-02-21 2017-02-21 The method and device of automatic switchover multimedia code check

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710093739.5A CN106878828A (en) 2017-02-21 2017-02-21 The method and device of automatic switchover multimedia code check

Publications (1)

Publication Number Publication Date
CN106878828A true CN106878828A (en) 2017-06-20

Family

ID=59167369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710093739.5A Pending CN106878828A (en) 2017-02-21 2017-02-21 The method and device of automatic switchover multimedia code check

Country Status (1)

Country Link
CN (1) CN106878828A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348265A (en) * 2018-11-27 2019-02-15 湖南国科微电子股份有限公司 Based on the live broadcasting method and system under HLS multi-code stream mode
CN110536175A (en) * 2018-05-24 2019-12-03 腾讯科技(深圳)有限公司 A kind of code rate switching method and apparatus
WO2020238065A1 (en) * 2019-05-28 2020-12-03 平安科技(深圳)有限公司 Media file downloading method and apparatus, and terminal and medium
CN113852865A (en) * 2020-06-28 2021-12-28 中兴通讯股份有限公司 Code rate adjusting method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051937A (en) * 2011-10-12 2013-04-17 腾讯科技(深圳)有限公司 Video frequency broadcast and control method as well as device
CN103905820A (en) * 2012-12-28 2014-07-02 中国科学院声学研究所 Client side video quality self-adaption method and system based on SVC
CN104967884A (en) * 2015-04-17 2015-10-07 北京奇艺世纪科技有限公司 Code stream switching method and code stream switching device
CN105323604A (en) * 2015-10-29 2016-02-10 西安交通大学 QoE (Quality of Experience) driven HTTP streaming media on demand buffer area control method
CN106210929A (en) * 2016-07-13 2016-12-07 诚迈科技(南京)股份有限公司 Network flow download terminal based on HLS client and optimization method
CN106303562A (en) * 2016-09-20 2017-01-04 天津大学 The multi-view point video adaptive transmitted control algorithm controlled based on PI

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051937A (en) * 2011-10-12 2013-04-17 腾讯科技(深圳)有限公司 Video frequency broadcast and control method as well as device
CN103905820A (en) * 2012-12-28 2014-07-02 中国科学院声学研究所 Client side video quality self-adaption method and system based on SVC
CN104967884A (en) * 2015-04-17 2015-10-07 北京奇艺世纪科技有限公司 Code stream switching method and code stream switching device
CN105323604A (en) * 2015-10-29 2016-02-10 西安交通大学 QoE (Quality of Experience) driven HTTP streaming media on demand buffer area control method
CN106210929A (en) * 2016-07-13 2016-12-07 诚迈科技(南京)股份有限公司 Network flow download terminal based on HLS client and optimization method
CN106303562A (en) * 2016-09-20 2017-01-04 天津大学 The multi-view point video adaptive transmitted control algorithm controlled based on PI

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110536175A (en) * 2018-05-24 2019-12-03 腾讯科技(深圳)有限公司 A kind of code rate switching method and apparatus
CN109348265A (en) * 2018-11-27 2019-02-15 湖南国科微电子股份有限公司 Based on the live broadcasting method and system under HLS multi-code stream mode
WO2020238065A1 (en) * 2019-05-28 2020-12-03 平安科技(深圳)有限公司 Media file downloading method and apparatus, and terminal and medium
CN113852865A (en) * 2020-06-28 2021-12-28 中兴通讯股份有限公司 Code rate adjusting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11616818B2 (en) Distributed control of media content item during webcast
CN100377143C (en) Method and apparatus for acquiring media services available from content aggregators
KR101401183B1 (en) Apparatus and methods for describing and timing representations in streaming media files
CN104463643B (en) A kind of method presenting user comment in advertisement
CN106878828A (en) The method and device of automatic switchover multimedia code check
US20070011699A1 (en) Providing identification of broadcast transmission pieces
CN103327410B (en) Method and system for playing video in mobile terminal browser and mobile terminal
CN106657143A (en) Streaming media transmission method and device, server and terminal
CN104125229B (en) The player method of Streaming Media and playing device
CN105681912A (en) Video playing method and device
CN106658226B (en) Playing method and device
EP2702551A2 (en) Multiple-carousel selective digital service feeds
WO2006065407A2 (en) Distributive system for marking and blocking video and audio content related to video and audio programs
US11122331B2 (en) Receiving device, transmitting device, and data processing method
CN103716662A (en) Mixed transmission method and server
CN107734362A (en) The determination method, apparatus and computer-readable recording medium of a kind of video source
CN107333163A (en) A kind of method for processing video frequency and device, a kind of terminal and storage medium
CN104394475A (en) Streaming media file playing method and media player
CN104185040A (en) Application synchronization method, application server and terminal
US10878076B2 (en) Receiving apparatus, transmitting apparatus, and data processing method
CN103024491A (en) Video playing method and video playing system of mobile terminal
CN107690093A (en) A kind of video broadcasting method and device
CN102984558A (en) Set top box and method of playing frames in channel switching process of set top box
CN106303754A (en) A kind of audio data play method and device
CN104284209B (en) The method and apparatus for building mapping database, the method and apparatus of program push

Legal Events

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

Application publication date: 20170620