CN110446117A - Video broadcasting method, apparatus and system - Google Patents

Video broadcasting method, apparatus and system Download PDF

Info

Publication number
CN110446117A
CN110446117A CN201910717815.4A CN201910717815A CN110446117A CN 110446117 A CN110446117 A CN 110446117A CN 201910717815 A CN201910717815 A CN 201910717815A CN 110446117 A CN110446117 A CN 110446117A
Authority
CN
China
Prior art keywords
video
data
video data
location information
data fragment
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
CN201910717815.4A
Other languages
Chinese (zh)
Other versions
CN110446117B (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.)
Beijing Calorie Information Technology Co Ltd
Original Assignee
Beijing Calorie Information 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 Beijing Calorie Information Technology Co Ltd filed Critical Beijing Calorie Information Technology Co Ltd
Priority to CN201910717815.4A priority Critical patent/CN110446117B/en
Publication of CN110446117A publication Critical patent/CN110446117A/en
Application granted granted Critical
Publication of CN110446117B publication Critical patent/CN110446117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/84Generation or processing of descriptive data, e.g. content descriptors
    • 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/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of video broadcasting methods, apparatus and system.Wherein, this method comprises: the location information of the progress of acquisition mark, the progress mark are used to indicate the playback progress of currently playing video data stream, wherein the video data stream includes multiple video-data fragments;The corresponding video data segment identification of the location information is sent to server;The server is received according to the first video-data fragment of the video-data fragment identification feedback;Play first video-data fragment.Present application addresses in the prior art, it can be just viewed by a user after entire body-building video download is completed, waste time more technical problem.

Description

Video broadcasting method, apparatus and system
Technical field
This application involves application domains, in particular to a kind of video broadcasting method, apparatus and system.
Background technique
In the prior art, user is during body-building, course of if desired watching training, and needs in advance that video download is complete Finish, storage is in the terminal;If after user has downloaded video, not watching for a long time, it will cause the wastes of terminal storage resource; In addition, needing to find video again if video has playback problem, and may result in user can not train after downloading completion, instruct The time for practicing the playing process consuming of information is more, and efficiency is lower.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present application provides a kind of video broadcasting method, apparatus and system, will at least to solve in the prior art Entire body-building video download can be just viewed by a user after completing, and waste time more technical problem.
According to the one aspect of the embodiment of the present application, a kind of video broadcasting method is provided, comprising: obtain progress mark Location information, the progress mark are used to indicate the playback progress of currently playing video data stream, wherein the video data Stream includes multiple video-data fragments;The corresponding video data segment identification of the location information is sent to server;Described in reception Server is according to the first video-data fragment of the video-data fragment identification feedback;Play first video-data fragment.
Optionally, before the corresponding video data segment identification of the location information being sent to server, the method is also Comprise determining that the video data segment identification corresponding with the location information;Wherein it is determined that corresponding with the location information The video data segment identification, comprising: determine the progress mark present position and the view according to the positional information The first relative distance between the initial play position of frequency data stream;Calculate first relative distance and the second relative distance it Between the first ratio, wherein second relative distance be the video data stream initial play position and terminate play position The distance between set;The corresponding video data segment identification is determined based on first ratio.
Optionally, before the corresponding video data segment identification of the location information being sent to server, the method is also Comprise determining that the video data segment identification corresponding with the location information;Wherein it is determined that corresponding with the location information The video data segment identification, comprising: obtain the corresponding played duration of the location information;Calculate the played duration with Second ratio of the total duration of the video data stream;The corresponding video data segment mark is determined based on second ratio Know.
Optionally, after receiving the first video-data fragment of the server according to the video-data fragment identification feedback, The method also includes: obtain second video-data fragment of the server based on the video-data fragment identification feedback, wherein The corresponding play time of second video-data fragment is later than the corresponding play time of first video-data fragment.
Optionally, after the location information for obtaining progress mark, the method also includes: it obtains and the location information pair The thumbnail for the video frame answered;The thumbnail is shown.
According to the one aspect of the embodiment of the present application, a kind of processing method of video data is provided, comprising: receive video Data segment identification;Determine the first video-data fragment of the corresponding currently playing video data stream of the video data segment identification, Wherein, the video data stream includes multiple video-data fragments;First video-data fragment is sent to terminal.
Optionally, before receiving video data segment identification, the method also includes: it establishes and stores the multiple video counts According to the corresponding relationship of section and multiple video data segment identifications, the multiple video-data fragment and the multiple video data segment identification It corresponds.
Optionally, after first video-data fragment being sent to terminal, the method also includes: it is based on the video Data segment identification determines the second video-data fragment, wherein the corresponding play time of second video-data fragment is later than described The corresponding play time of one video-data fragment;Second video-data fragment is sent to the terminal.
According to the one aspect of the embodiment of the present application, a kind of audio/video player system is provided, comprising: the first equipment is used for The location information of acquisition progress mark, the progress mark are used to indicate the playback progress of currently playing video data stream, In, the video data stream includes multiple video-data fragments;The corresponding video data segment identification of the location information is sent to Server;The server is received according to the first video-data fragment of the video-data fragment identification feedback;Play described first Video-data fragment;Second equipment, for receiving the video data segment identification;Determine the corresponding institute of the video data segment identification State the first video-data fragment;First video-data fragment is sent to terminal.
Optionally, the system also includes third equipment, instruct for being arranged in response to node, generate multiple nodes, institute State multiple nodes be used to indicate the video data stream is segmented after obtained segmentation position;According to the node to described Video data stream is segmented, and the multiple video-data fragment is obtained;The multiple video-data fragment is sent to the service Device.
According to the one aspect of the embodiment of the present application, a kind of video play device is provided, comprising: obtain module, be used for The location information of acquisition progress mark, the progress mark are used to indicate the playback progress of currently playing video data stream, In, the video data stream includes multiple video-data fragments;Sending module is used for the corresponding video data of the location information Segment identification is sent to server;Receiving module, for receiving the server according to the of the video-data fragment identification feedback One video-data fragment;Playing module, for playing first video-data fragment.
According to the one aspect of the embodiment of the present application, a kind of storage medium is provided, the storage medium includes storage Program, wherein equipment where controlling the storage medium in described program operation executes above-mentioned video broadcasting method.
According to the one aspect of the embodiment of the present application, a kind of processor is provided, the processor is used to run program, In, described program executes above-mentioned video broadcasting method when running.
In the embodiment of the present application, using the location information of the progress of acquisition mark, the progress mark is used to indicate current The playback progress of the video data stream of broadcasting, wherein the video data stream includes multiple video-data fragments;The position is believed It ceases corresponding video data segment identification and is sent to server;The server is received according to the video-data fragment identification feedback First video-data fragment;The mode for playing first video-data fragment, has reached and has been segmented video data stream, side is following The purpose broadcast can be obtained from server according to the dragging position of progress bar and be corresponded to realize when user drags progress bar Video-data fragment, the technical effect of the speed of download of training information is improved, and then solve in the prior art, by entire body-building Video download can be just viewed by a user after completing, and waste time more technical problem.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the flow diagram according to a kind of optional video broadcasting method of the embodiment of the present application;
Fig. 2 is the flow diagram according to a kind of processing method of optional video data of the embodiment of the present application;
Fig. 3 is the structural schematic diagram according to a kind of optional audio/video player system of the embodiment of the present application;
Fig. 4 is the structural schematic diagram according to a kind of optional video play device of the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to the embodiment of the present application, a kind of video broadcasting method embodiment is provided, it should be noted that in the stream of attached drawing The step of journey illustrates can execute in a computer system such as a set of computer executable instructions, although also, flowing Logical order is shown in journey figure, but in some cases, it can be to be different from shown or described by sequence execution herein The step of.
Fig. 1 is according to the flow diagram of the video broadcasting method of the embodiment of the present application, as shown in Figure 1, this method is at least Include the following steps:
Step S102, obtains the location information of progress mark, and progress mark is used to indicate currently playing video data stream Playback progress, wherein video data stream includes multiple video-data fragments;
In some optional embodiments of the application, when above-mentioned progress mark can be video playing on progress bar into The mark of node is spent, video data stream corresponds to entire training video, and multiple entire training videos of video-data fragment are divided into Multiple video-frequency bands.
The corresponding video data segment identification of location information is sent to server by step S104;
Optionally, video data segment identification can be the network address of video-data fragment or the play time of video-data fragment.
Step S106 receives server according to the first video-data fragment of video-data fragment identification feedback;
In some optional embodiments of the application, client passes through video-data fragment identification request server to terminal The first video-data fragment is sent, server feeds back the temporal information of the address URL of video resource and/or the first video-data fragment To client.
Optionally, the video data segment identification that server receiving terminal is sent, and determine that video data segment identification is corresponding First video-data fragment of currently playing video data stream.
After server determines the first video-data fragment, the first video-data fragment is sent to terminal, wherein terminal can be with It is used to watch the intelligent terminal of body-building video for user.
Wherein, before server receives video data segment identification, it need to establish and store multiple video-data fragments and multiple views According to the corresponding relationship of segment identification, multiple video-data fragments and multiple video data segment identifications correspond frequency.
In some optional embodiments of the application, server is compiled before the first video-data fragment is sent to terminal Entire video data stream can be obtained by collecting equipment, and editing equipment may be in response to the node setting instruction of administrator, generate multiple nodes, Multiple nodes are used to indicate the segmentation position obtained after video data stream is segmented by editing equipment, and editing equipment is according to node Video data stream is segmented, obtains multiple video-data fragments, and multiple video-data fragments are sent to server.
Step S108 plays the first video-data fragment.
Specifically, the video resource of the application can be parsed by FFMPEG, and terminal gets the first video data After section, the first video-data fragment is played out.
In some optional embodiments of the application, the corresponding video data segment identification of location information is sent to service Before device, also needs to execute following steps: determining video data segment identification corresponding with location information;
Specifically, it is determined that video data segment identification corresponding with location information can be realized in the following manner: root According to location information determine between progress mark present position and the initial play position of video data stream first it is opposite away from From;Calculate the first ratio between the first relative distance and the second relative distance, wherein the second relative distance is video data stream Initial play position and terminate the distance between play position;Corresponding video data segment identification is determined based on the first ratio.
Optionally, above-mentioned first relative distance can be indicated with the second relative distance by number of pixels, in terminal It is stored with different the first ratio and the corresponding relationship of different video data segment identifications, the second relative distance can be video counts According to pixel number shared by stream progress bar length.
Such as: if video-data fragment is identified as website information, when the first ratio is 30%, video data segment identification can be with For network address 1, when the first ratio is 40%, video data segment identification can be network address 2.
Optionally, before the corresponding video data segment identification of location information being sent to server, the above method also needs to hold Row following steps: video data segment identification corresponding with location information is determined;Wherein it is determined that video counts corresponding with location information It can also be realized in the following manner according to segment identification: obtain the corresponding played duration of location information;When calculating played Long the second ratio with the total duration of video data stream;Corresponding video data segment identification is determined based on the second ratio.
In some optional embodiments of the application, played duration can for the video of actual play when It is long, it can also be the video length before the corresponding play time of video data segment identification;Different second are stored in terminal The corresponding relationship of ratio and different video data segment identifications.
Such as: if video-data fragment is identified as temporal information, when the second ratio is 30%, video data segment identification can be with For the moment 1, when the second ratio is 40%, video data segment identification can be the moment 2.
Optionally, after receiving server according to the first video-data fragment of video-data fragment identification feedback, the above method It also needs to execute following steps: obtaining second video-data fragment of the server based on video-data fragment identification feedback, wherein the second view The corresponding play time of frequency data segment is later than the corresponding play time of the first video-data fragment.
In some optional embodiments of the application, the second video-data fragment is that the latter of the first video-data fragment regards Frequency data segment preloads the second video-data fragment, quickly loads the first frame of the second video-data fragment;By to second The acquisition and broadcasting of video-data fragment, the Caton phenomenon that can occur in the case where bad to avoid Network status, can be improved video The fluency of broadcasting.In addition, terminal can also obtain third video-data fragment of the server based on video-data fragment identification feedback, Wherein, the corresponding play time of third video-data fragment video playback time corresponding earlier than the first video-data fragment.Third view Frequency data segment is the previous video data segment of the first video-data fragment, by the acquisition and broadcasting to third video-data fragment, The video-frequency band once played before family is recalled can be used, review training movement improves user experience.
Optionally, after the location information for obtaining progress mark, following steps are can also be performed in the method: acquisition and position Confidence ceases the thumbnail of corresponding video frame;Thumbnail is shown.
In some optional embodiments of the application, terminal can obtain corresponding with the location information from server end Video frame thumbnail, the location information that client can be identified according to the corresponding address URL of video data stream with progress obtains The thumbnail is taken, specifically, the thumbnail can be determined wherein, terminal according to above-mentioned first ratio or the second ratio Video data segment identification can be determined according to the first ratio or the second ratio, and video data segment identification is sent to server, Server sends corresponding thumbnail according to the video data segment identification of storage and the corresponding relationship of thumbnail, to terminal.In addition, Terminal can also obtain the thumbnail of the corresponding video frame of location information from terminal local.
In some optional embodiments of the application, the user that the heart rate bracelet that terminal can obtain user's wearing is sent works as Preceding heart rate information, and the heart rate information is showed in training video.
By embodiment provided by the present application, different video-data fragments can be independently stored in terminal, Ke Yifang Just user checks the corresponding training action information of different time points by the client of playing video data stream, when user needs to look into When seeing the corresponding movement of some time point, the time point corresponding video-data fragment can be only downloaded, is improved under video-data fragment Carry speed.
In the embodiment of the present application, using the location information of the progress of acquisition mark, progress mark is used to indicate currently playing Video data stream playback progress, wherein video data stream includes multiple video-data fragments;By the corresponding video of location information Data segment identification is sent to server;Server is received according to the first video-data fragment of video-data fragment identification feedback;It plays The mode of first video-data fragment, has reached and has been segmented video data stream, the purpose that side is broadcast below, uses to realize and work as When family drags progress bar, corresponding video-frequency band can be obtained from server according to the dragging position of progress bar, improve training information The technical effect of speed of download, and then solve in the prior art, it could be by user after entire body-building video download is completed Viewing, wastes time more technical problem.
According to the one aspect of the embodiment of the present application, a kind of processing method of video data is additionally provided, as shown in Figure 2: This method includes at least following steps:
Step S202 receives video data segment identification;
Optionally, above-mentioned video data segment identification can be sent by client, and video data segment identification is sent to by terminal Before server, the location information of progress mark need to be obtained, progress mark is used to indicate broadcasting for currently playing video data stream Degree of putting into.The mark of progress node when above-mentioned progress mark can be video playing on progress bar, video data stream corresponds to whole A training video, multiple video-data fragments are multiple video-frequency bands that entire training video is divided into, and optionally, terminal obtains progress After the location information of mark, the corresponding video data segment identification of location information is sent to server.
Optionally, video data segment identification can be the network address of video-data fragment or the play time of video-data fragment.
Step S204 determines the first video data of the corresponding currently playing video data stream of video data segment identification Section, wherein video data stream includes multiple video-data fragments;
In some optional embodiments of the application, client passes through video-data fragment identification request server to terminal The first video-data fragment is sent, server feeds back the temporal information of the address URL of video resource and/or the first video-data fragment To client.
Optionally, before server receives video data segment identification, also need to establish and store multiple video-data fragments and more The corresponding relationship of a video data segment identification, multiple video-data fragments and multiple video data segment identifications correspond.
First video-data fragment is sent to terminal by step S206.
In some optional embodiments of the application, after server determines the first video-data fragment, by the first video Data segment is sent to terminal, wherein terminal can be used to watch the intelligent terminal of body-building video for user.
In some optional embodiments of the application, server is compiled before the first video-data fragment is sent to terminal Entire video data stream can be obtained by collecting equipment, and editing equipment may be in response to the node setting instruction of administrator, generate multiple nodes, Multiple nodes are used to indicate the segmentation position obtained after video data stream is segmented by editing equipment, and editing equipment is according to node Video data stream is segmented, obtains multiple video-data fragments, and multiple video-data fragments are sent to server, wherein Editing equipment can be the equipment for getting instruction ready for receiving administrator.
Specifically, the video resource of the application can be parsed by FFMPEG, and terminal gets the first video data After section, the first video-data fragment is played out.
Terminal need to determine and location information before the corresponding video data segment identification of location information is sent to server Corresponding video data segment identification;
Specifically, terminal determines that video data segment identification corresponding with location information can carry out reality in the following manner It is existing: the first phase between progress mark present position and the initial play position of video data stream is determined according to location information It adjusts the distance;Calculate the first ratio between the first relative distance and the second relative distance, wherein the second relative distance is video counts According to the distance between the initial play position of stream and end play position;Corresponding video data segment mark is determined based on the first ratio Know.
Optionally, above-mentioned first relative distance can be indicated with the second relative distance by number of pixels, in terminal It is stored with different the first ratio and the corresponding relationship of different video data segment identifications, the second relative distance can be video counts According to pixel number shared by stream progress bar length.
Such as: if video-data fragment is identified as website information, when the first ratio is 30%, video data segment identification can be with For network address 1, when the first ratio is 40%, video data segment identification can be network address 2.
Optionally, terminal also needs to execute before the corresponding video data segment identification of location information is sent to server Following steps: video data segment identification corresponding with location information is determined;Wherein it is determined that video data corresponding with location information Segment identification can also be realized in the following manner: obtain the corresponding played duration of location information;Calculate played duration With the second ratio of the total duration of video data stream;Corresponding video data segment identification is determined based on the second ratio.
In some optional embodiments of the application, played duration can for the video of actual play when It is long, it can also be the video length before the corresponding play time of video data segment identification;Different second are stored in terminal The corresponding relationship of ratio and different video data segment identifications.
Such as: if video-data fragment is identified as temporal information, when the second ratio is 30%, video data segment identification can be with For the moment 1, when the second ratio is 40%, video data segment identification can be the moment 2.
Optionally, it after the first video-data fragment is sent to terminal by server, also needs to execute following steps: based on video Data segment identification determines the second video-data fragment, wherein the corresponding play time of the second video-data fragment is later than the first video counts According to the corresponding play time of section;Second video-data fragment is sent to terminal.
In some optional embodiments of the application, the second video-data fragment is that the latter of the first video-data fragment regards Frequency data segment preloads the second video-data fragment, quickly loads the first frame of the second video-data fragment;By to second The acquisition and broadcasting of video-data fragment, the Caton phenomenon that can occur in the case where bad to avoid Network status, can be improved video The fluency of broadcasting.In addition, server is also based on video-data fragment identification feedback third video-data fragment, wherein third The corresponding play time of video-data fragment video playback time corresponding earlier than the first video-data fragment.Third video-data fragment is Family can be used by the acquisition and broadcasting to third video-data fragment in the previous video data segment of first video-data fragment The video-frequency band once played before recalling, review training movement, improves user experience.
In other optional embodiments of the application, terminal can also obtain corresponding with location information from server The thumbnail of video frame;Thumbnail is shown.Terminal can be identified according to the corresponding address URL of video data stream and progress Location information obtain the thumbnail and specifically the breviary can be determined according to above-mentioned first ratio or the second ratio Wherein, terminal can determine video data segment identification according to the first ratio or the second ratio to figure, and video data segment identification is sent out It send to server, server is sent corresponding according to the video data segment identification of storage and the corresponding relationship of thumbnail to terminal Thumbnail.In addition, terminal can also obtain the thumbnail of the corresponding video frame of location information from terminal local.
It should be noted that the preferred embodiment of the embodiment may refer to the associated description of embodiment illustrated in fig. 1, this Place repeats no more.
According to the one aspect of the embodiment of the present application, a kind of audio/video player system is provided, as shown in Figure 3: the system is extremely It less include: the first equipment 32, the second equipment 34;Wherein:
First equipment 32, for obtaining the location information of progress mark, progress mark is used to indicate currently playing video The playback progress of data flow, wherein video data stream includes multiple video-data fragments;By the corresponding video-data fragment of location information Mark is sent to the second equipment 34;The second equipment 34 is received according to the first video-data fragment of video-data fragment identification feedback;It broadcasts Put the first video-data fragment;Second equipment 34, for receiving video data segment identification;Determine video data segment identification corresponding One video-data fragment;First video-data fragment is sent to the first equipment 32.
Specifically, the first equipment 32 can be terminal, and the second equipment 34 can be server.
In some optional embodiments of the application, when above-mentioned progress mark can be video playing on progress bar into The mark of node is spent, video data stream corresponds to entire training video, and multiple entire training videos of video-data fragment are divided into Multiple video-frequency bands.
Optionally, video data segment identification can be the network address of video-data fragment or the play time of video-data fragment.
In some optional embodiments of the application, the first equipment 32 passes through the second equipment of video-data fragment identification request 34 send the first video-data fragment to the first equipment 32, and the second equipment 34 is by the address URL of video resource and/or the first video counts The first equipment 32 is fed back to according to the temporal information of section.
Optionally, the second equipment 34 receives the video data segment identification that the first equipment 32 is sent, and determines video-data fragment Identify the first video-data fragment of corresponding currently playing video data stream.
After second equipment 34 determines the first video-data fragment, the first video-data fragment is sent to the first equipment 32, In, the first equipment 32 can be used to watch the intelligent terminal of body-building video for user.
Wherein, before the second equipment 34 receives video data segment identification, it need to establish and store multiple video-data fragments and more The corresponding relationship of a video data segment identification, multiple video-data fragments and multiple video data segment identifications correspond.
In some optional embodiments of the application, above system further include: third equipment;Second equipment 34 is by Before one video-data fragment is sent to the first equipment 32, third equipment can obtain entire video data stream, and third equipment may be in response to Instruction is arranged in the node of administrator, generates multiple nodes, multiple nodes are used to indicate third equipment and are divided video data stream The segmentation position obtained after section, third equipment are segmented video data stream according to node, obtain multiple video-data fragments, and Multiple video-data fragments are sent to the second equipment 34, third equipment can be the equipment for getting instruction ready of acquisition administrator.
Specifically, the video resource of the application can be parsed by FFMPEG, and the first equipment 32 gets the first view After frequency data segment, the first video-data fragment is played out.
In some optional embodiments of the application, the first equipment 32 is by the corresponding video data segment identification of location information It is sent to before the second equipment 34, is also used to determine video data segment identification corresponding with location information;
Specifically, the first equipment 32 determine corresponding with location information video data segment identification can in the following manner into Row is realized: determining the between progress mark present position and the initial play position of video data stream according to location information One relative distance;Calculate the first ratio between the first relative distance and the second relative distance, wherein the second relative distance is view The distance between the initial play position of frequency data stream and end play position;Corresponding video data is determined based on the first ratio Segment identification.
Optionally, above-mentioned first relative distance can be indicated with the second relative distance by number of pixels, and first sets Different the first ratio and the corresponding relationship of different video data segment identifications are stored in standby 32, the second relative distance can be Pixel number shared by video data stream progress bar length.
Such as: if video-data fragment is identified as website information, when the first ratio is 30%, video data segment identification can be with For network address 1, when the first ratio is 40%, video data segment identification can be network address 2.
Optionally, before the corresponding video data segment identification of location information is sent to the second equipment 34 by the first equipment 32, It is also used to determine video data segment identification corresponding with location information;Wherein it is determined that video-data fragment corresponding with location information Mark can also be realized in the following manner: obtain the corresponding played duration of location information;Calculate played duration with Second ratio of the total duration of video data stream;Corresponding video data segment identification is determined based on the second ratio.
In some optional embodiments of the application, played duration can for the video of actual play when It is long, it can also be the video length before the corresponding play time of video data segment identification;Difference is stored in first equipment 32 The second ratio and the corresponding relationship of different video data segment identifications.
Such as: if video-data fragment is identified as temporal information, when the second ratio is 30%, video data segment identification can be with For the moment 1, when the second ratio is 40%, video data segment identification can be the moment 2.
Optionally, above-mentioned after receiving the second equipment 34 according to the first video-data fragment of video-data fragment identification feedback Method also needs to execute following steps: second video-data fragment of second equipment 34 based on video-data fragment identification feedback is obtained, In, the corresponding play time of the second video-data fragment is later than the corresponding play time of the first video-data fragment.
In some optional embodiments of the application, the second video-data fragment is that the latter of the first video-data fragment regards Frequency data segment preloads the second video-data fragment, quickly loads the first frame of the second video-data fragment;By to second The acquisition and broadcasting of video-data fragment, the Caton phenomenon that can occur in the case where bad to avoid Network status, can be improved video The fluency of broadcasting.In addition, the first equipment 32 can also obtain the second third of the equipment 34 based on video-data fragment identification feedback Video-data fragment, wherein the corresponding play time of third video-data fragment video playing corresponding earlier than the first video-data fragment Time.Third video-data fragment is the previous video data segment of the first video-data fragment, by third video-data fragment It obtains and plays, the video-frequency band once played before family is recalled can be used, review training movement improves user experience.
Optionally, after the location information for obtaining progress mark, the first equipment 32 is also used to obtain corresponding with location information Video frame thumbnail;Thumbnail is shown.
In some optional embodiments of the application, the first equipment 32 can obtain and institute's rheme from 34 end of the second equipment Confidence ceases the thumbnail of corresponding video frame, and the first equipment 32 can be according to the corresponding address URL of video data stream and progress mark The location information of knowledge, which obtains the thumbnail, specifically can determine the contracting according to above-mentioned first ratio or the second ratio Wherein, the first equipment 32 can determine video data segment identification to sketch map according to the first ratio or the second ratio, and by video data Segment identification is sent to the second equipment 34, the second equipment 34 according to the video data segment identification of storage and the corresponding relationship of thumbnail, Corresponding thumbnail is sent to the first equipment 32.In addition, the first equipment 32 can also be believed from the local position that obtains of the first equipment 32 Cease the thumbnail of corresponding video frame.
In some optional embodiments of the application, what the heart rate bracelet that the first equipment 32 can obtain user's wearing was sent The current heart rate information of user, and the heart rate information is showed in training video.
According to the one aspect of the embodiment of the present application, a kind of video play device is provided, as shown in figure 4, the device is extremely It less include: to obtain module 42, sending module 44, receiving module 46, playing module 48, in which:
Module 42 is obtained, for obtaining the location information of progress mark, progress mark is used to indicate currently playing video The playback progress of data flow, wherein video data stream includes multiple video-data fragments;
Sending module 44, for the corresponding video data segment identification of location information to be sent to server;
Receiving module 46, for receiving server according to the first video-data fragment of video-data fragment identification feedback;
Playing module 48, for playing the first video-data fragment.
Optionally, described device includes the first determining module, and the first determining module is used for institute's rheme in sending module 44 Confidence ceases corresponding video data segment identification and is sent to before server, determines the video counts corresponding with the location information According to segment identification;Wherein it is determined that the video data segment identification corresponding with the location information, can carry out in the following manner It realizes: determining the initial play position of progress the mark present position and the video data stream according to the positional information The first relative distance between setting;Calculate the first ratio between first relative distance and the second relative distance, wherein institute State the distance between initial play position and the end play position that the second relative distance is the video data stream;Based on described First ratio determines the corresponding video data segment identification.
Optionally, described device includes the second determining module, and the second determining module is used for institute's rheme in sending module 44 Confidence ceases corresponding video data segment identification and is sent to before server, determines the video counts corresponding with the location information According to segment identification;Wherein it is determined that the video data segment identification corresponding with the location information, can carry out in the following manner It realizes: obtaining the corresponding played duration of the location information;Calculate the total of the played duration and the video data stream Second ratio of duration;The corresponding video data segment identification is determined based on second ratio.
Optionally, the server is received according to the first of the video-data fragment identification feedback in the receiving module 46 After video-data fragment, the acquisition module 42 is also used to obtain the server based on the video-data fragment identification feedback Second video-data fragment, wherein the corresponding play time of second video-data fragment is later than first video-data fragment pair The play time answered.
Optionally, it after the location information for obtaining the acquisition progress mark of module 42, is also used to obtain and the position The thumbnail of the corresponding video frame of information;The thumbnail is shown.
It should be noted that the optional or preferred embodiment of the present embodiment may refer to the associated description in Fig. 1, herein It repeats no more.
According to the other side of the embodiment of the present application, a kind of storage medium is additionally provided, storage medium includes storage Program, optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: obtaining The location information of progress mark, the progress mark are used to indicate the playback progress of currently playing video data stream, wherein institute Stating video data stream includes multiple video-data fragments;The corresponding video data segment identification of the location information is sent to service Device;The server is received according to the first video-data fragment of the video-data fragment identification feedback;Play first video Data segment.
According to the other side of the embodiment of the present application, a kind of processor is additionally provided, processor is used to run program, In, program can be with the program code of following steps in the video broadcasting method of executing application when running:
The location information of acquisition progress mark, the progress mark are used to indicate the broadcasting of currently playing video data stream Progress, wherein the video data stream includes multiple video-data fragments;By the corresponding video data segment identification of the location information It is sent to server;The server is received according to the first video-data fragment of the video-data fragment identification feedback;Play institute State the first video-data fragment.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
In above-described embodiment of the application, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of unit, can be one kind Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of unit or module, It can be electrical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple units On.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of step of each embodiment method of the application Suddenly.And storage medium above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
The above is only the preferred embodiments of the application, it is noted that those skilled in the art are come It says, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications also should be regarded as The protection scope of the application.

Claims (13)

1. a kind of video broadcasting method characterized by comprising
The location information of acquisition progress mark, progress mark be used to indicate the broadcasting of currently playing video data stream into Degree, wherein the video data stream includes multiple video-data fragments;
The corresponding video data segment identification of the location information is sent to server;
The server is received according to the first video-data fragment of the video-data fragment identification feedback;
Play first video-data fragment.
2. the method according to claim 1, wherein the corresponding video data segment identification of the location information is sent out It send to before server, the method also includes: determine the video data segment identification corresponding with the location information;
Wherein it is determined that the video data segment identification corresponding with the location information, comprising:
The initial play position of progress the mark present position and the video data stream is determined according to the positional information The first relative distance between setting;
Calculate the first ratio between first relative distance and the second relative distance, wherein second relative distance is The distance between the initial play position of the video data stream and end play position;
The corresponding video data segment identification is determined based on first ratio.
3. the method according to claim 1, wherein the corresponding video data segment identification of the location information is sent out It send to before server, the method also includes: determine the video data segment identification corresponding with the location information;
Wherein it is determined that the video data segment identification corresponding with the location information, comprising:
Obtain the corresponding played duration of the location information;
Calculate the second ratio of the total duration of the played duration and the video data stream;
The corresponding video data segment identification is determined based on second ratio.
4. according to the method in claim 2 or 3, which is characterized in that receive the server according to the video-data fragment After first video-data fragment of identification feedback, the method also includes:
Obtain second video-data fragment of the server based on the video-data fragment identification feedback, wherein second view The corresponding play time of frequency data segment is later than the corresponding play time of first video-data fragment.
5. the method according to claim 1, wherein obtain progress mark location information after, the method Further include:
Obtain the thumbnail of video frame corresponding with the location information;
The thumbnail is shown.
6. a kind of processing method of video data characterized by comprising
Receive video data segment identification;
Determine the first video-data fragment of the corresponding currently playing video data stream of the video data segment identification, wherein institute Stating video data stream includes multiple video-data fragments;
First video-data fragment is sent to terminal.
7. according to the method described in claim 6, it is characterized in that, the method is also wrapped before receiving video data segment identification It includes:
Establish and store the corresponding relationship of the multiple video-data fragment Yu multiple video data segment identifications, the multiple video counts It is corresponded according to section and the multiple video data segment identification.
8. according to the method described in claim 6, it is characterized in that, after first video-data fragment is sent to terminal, The method also includes:
The second video-data fragment is determined based on the video data segment identification, wherein second video-data fragment is corresponding to be broadcast Putting the time is later than the corresponding play time of first video-data fragment;
Second video-data fragment is sent to the terminal.
9. a kind of audio/video player system characterized by comprising
First equipment, for obtaining the location information of progress mark, the progress mark is used to indicate currently playing video counts According to the playback progress of stream, wherein the video data stream includes multiple video-data fragments;By the corresponding video of the location information Data segment identification is sent to server;The server is received according to the first video data of the video-data fragment identification feedback Section;Play first video-data fragment;
Second equipment, for receiving the video data segment identification;Determine the video data segment identification corresponding described first Video-data fragment;First video-data fragment is sent to terminal.
10. system according to claim 9, which is characterized in that the system also includes:
Third equipment instructs for being arranged in response to node, generates multiple nodes, the multiple node is used to indicate the view The segmentation position that frequency data stream obtains after being segmented;The video data stream is segmented according to the node, obtains institute State multiple video-data fragments;The multiple video-data fragment is sent to the server.
11. a kind of video play device characterized by comprising
Module is obtained, for obtaining the location information of progress mark, the progress mark is used to indicate currently playing video counts According to the playback progress of stream, wherein the video data stream includes multiple video-data fragments;
Sending module, for the corresponding video data segment identification of the location information to be sent to server;
Receiving module, for receiving the server according to the first video-data fragment of the video-data fragment identification feedback;
Playing module, for playing first video-data fragment.
12. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require any one of 1 to 5 described in video broadcasting method.
13. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 5 described in video broadcasting method.
CN201910717815.4A 2019-08-05 2019-08-05 Video playing method, device and system Active CN110446117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910717815.4A CN110446117B (en) 2019-08-05 2019-08-05 Video playing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910717815.4A CN110446117B (en) 2019-08-05 2019-08-05 Video playing method, device and system

Publications (2)

Publication Number Publication Date
CN110446117A true CN110446117A (en) 2019-11-12
CN110446117B CN110446117B (en) 2022-08-02

Family

ID=68433209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910717815.4A Active CN110446117B (en) 2019-08-05 2019-08-05 Video playing method, device and system

Country Status (1)

Country Link
CN (1) CN110446117B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112023377A (en) * 2020-09-14 2020-12-04 成都拟合未来科技有限公司 Real-time interaction method, system, terminal and medium for fitness exercise
CN113359976A (en) * 2021-05-24 2021-09-07 广东省人民医院 Control method of intelligent device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8392530B1 (en) * 2008-12-18 2013-03-05 Adobe Systems Incorporated Media streaming in a multi-tier client-server architecture
CN103024456A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Online video playing method and video playing server
CN103491455A (en) * 2013-03-29 2014-01-01 吴晗 Video playing control system
CN105100839A (en) * 2015-07-14 2015-11-25 网易传媒科技(北京)有限公司 Video file downloading method, device, server and terminal equipment
CN106792217A (en) * 2016-12-16 2017-05-31 广东小天才科技有限公司 Video playing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8392530B1 (en) * 2008-12-18 2013-03-05 Adobe Systems Incorporated Media streaming in a multi-tier client-server architecture
CN103024456A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Online video playing method and video playing server
CN103491455A (en) * 2013-03-29 2014-01-01 吴晗 Video playing control system
CN105100839A (en) * 2015-07-14 2015-11-25 网易传媒科技(北京)有限公司 Video file downloading method, device, server and terminal equipment
CN106792217A (en) * 2016-12-16 2017-05-31 广东小天才科技有限公司 Video playing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112023377A (en) * 2020-09-14 2020-12-04 成都拟合未来科技有限公司 Real-time interaction method, system, terminal and medium for fitness exercise
WO2022053082A1 (en) * 2020-09-14 2022-03-17 成都拟合未来科技有限公司 Fitness practice real-time interaction method and system, terminal, and medium
CN113359976A (en) * 2021-05-24 2021-09-07 广东省人民医院 Control method of intelligent device, server and storage medium

Also Published As

Publication number Publication date
CN110446117B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
US10200723B2 (en) Converting live streaming content to video-on-demand streaming content
CN101656755B (en) Method and device for transmitting and broadcasting advertising programs
CN102036058B (en) Method, server, terminal and system for switching videos in video monitoring system
CN110765366B (en) Live broadcast and live broadcast matching method, device and equipment and computer readable storage medium
CN109327741A (en) Game live broadcasting method, device and system
CN106878767A (en) Video broadcasting method and device
CN113518247A (en) Video playing method, related equipment and computer readable storage medium
CN101998116A (en) Method, system and equipment for realizing multi-view video service
CN103533394A (en) Information pushing method and device and server
CN110121098A (en) Video broadcasting method, device, storage medium and electronic device
CN108133385A (en) A kind of advertisement placement method and device
CN110446117A (en) Video broadcasting method, apparatus and system
CN109714622A (en) A kind of video data handling procedure, device and electronic equipment
CN105939489A (en) Multimedia data carousel method and device
CN105812847A (en) HLS video live broadcast method, server and system
CN107318052A (en) Player method, television set and the storage medium of television video
CN110139123A (en) The broadcasting of files in stream media, transmission, treating method and apparatus
CN110691280B (en) Video advertisement processing method, client, video server and readable storage medium
CN106131689A (en) Method for downloading video and device
CN113630630A (en) Method, device and equipment for processing dubbing information of video commentary
CN105898398A (en) Advertisement play method and device, advertising method and device and advertisement system
CN113992638B (en) Synchronous playing method and device for multimedia resources, storage position and electronic device
CN108810567A (en) A kind of matched method in audio & video visual angle, client and server
CN106331763A (en) Method of playing slicing media files seamlessly and device of realizing the method
CN104980807B (en) A kind of method and terminal for multimedia interaction

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
GR01 Patent grant
GR01 Patent grant