WO2015027713A1 - Video playback method, apparatus, and terminal device based on video aggregation service - Google Patents

Video playback method, apparatus, and terminal device based on video aggregation service Download PDF

Info

Publication number
WO2015027713A1
WO2015027713A1 PCT/CN2014/076096 CN2014076096W WO2015027713A1 WO 2015027713 A1 WO2015027713 A1 WO 2015027713A1 CN 2014076096 W CN2014076096 W CN 2014076096W WO 2015027713 A1 WO2015027713 A1 WO 2015027713A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
address
video address
list
address list
Prior art date
Application number
PCT/CN2014/076096
Other languages
French (fr)
Chinese (zh)
Inventor
李锋
李少雄
丁晓亮
蒋黎峰
江波
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Publication of WO2015027713A1 publication Critical patent/WO2015027713A1/en

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, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/23439Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements for generating different versions
    • 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/2665Gathering content from different sources, e.g. Internet and satellite

Definitions

  • the present invention is based on a Chinese patent application with the application number of 201310385404.2 and the application date of 2013/8/29, and claims the priority of the Chinese patent application, the Chinese patent application The entire disclosure is hereby incorporated by reference.
  • the present disclosure relates to the field of terminal devices, and in particular, to a video playback method, device, and terminal device based on a video aggregation service. Background technique
  • An online video service is a video playback, upload or download service provided by a provider of various online video services to users through their respective websites and clients.
  • the video aggregation service that emerged later provides a convenient online video service by aggregating the video sources of multiple online video service providers, so that playback can be achieved without switching back and forth between the various online video service providers. And the purpose of watching online videos.
  • the embodiment of the present disclosure provides a video playback method, device, and terminal device based on a video aggregation service.
  • the technical solution is as follows:
  • a video playback service-based video playback method comprising:
  • the video playback fails according to the first video address, determining whether the second video address is included in the pre-stored video address list, where the second video address has the same video definition as the first video address, and the second video The address is different from the video source corresponding to the first video address, where the video address list includes video play addresses of different video definitions in different video sources corresponding to the video;
  • obtaining the second video address from the video address list includes:
  • the method further includes:
  • the third video address is obtained from the video address list, and the video resolution corresponding to the third video address is lower than the first video address. Video clarity.
  • acquiring the third video address from the video address list includes:
  • the method further includes: acquiring, when the second video address fails to play, the third video address from the video address list. .
  • the method further includes: before determining whether the second video address is included in the pre-stored video address list, when the video playback fails according to the first video address, the method further includes:
  • the method further includes: when all video addresses in the video address list fail to play, output prompt information, where the prompt information is used. A prompt for the video to fail to play.
  • a video playback device-based video playback device is provided, the device comprising:
  • a judging module configured to determine whether a second video address is included in the pre-stored video address list when the video is played according to the first video address, where the second video address has the same video clarity as the first video address.
  • the second video address is different from the video source corresponding to the first video address, and the video address list includes the video Corresponding video play addresses of different video definitions in different video sources;
  • a video address obtaining module configured to acquire the second video address from the video address list when the second video address is included in the video address list
  • a video playing module configured to play a video according to the obtained video address.
  • the video address obtaining module is further configured to: when the video address list includes multiple second video addresses, obtain any one of the second video addresses from the plurality of second video addresses; Or, when the video address list includes multiple second video addresses, obtaining one from the plurality of second video addresses according to a priority of each second video address corresponding to a priority of the video source The second video address with a higher priority.
  • the video address obtaining module is further configured to: when the video address list does not include the second video address, obtain a third video address from the video address list, where the third The video resolution corresponding to the video address is lower than the video definition corresponding to the first video address.
  • the video address obtaining module is further configured to: randomly select, from the video address list, a video address that is lower than a video definition corresponding to the first video address as the third video address; Or, according to the current network condition, selecting a video address corresponding to the video definition that matches the network condition from the video address in the video address list that is lower than the video definition corresponding to the first video address. Said third video address.
  • the video address obtaining module is further configured to acquire the third video address from the video address list when all the second video addresses fail to play.
  • the device further includes:
  • a sending module configured to send a video play request to the video server, where the video play request carries a video identifier to be played, so that the video server returns a video address list according to the video identifier;
  • a receiving module configured to receive the video address list.
  • the device further includes:
  • a terminal device configured to output prompt information when all video addresses in the video address list fail to play, and the prompt information is used to prompt the video to fail to play.
  • the processor is configured to determine, when the video playback fails according to the first video address, whether the second video address is included in the pre-stored video address list, and the video resolution corresponding to the first video address is Similarly, the second video address is different from the video source corresponding to the first video address, and the video address list includes video play addresses of different video definitions in different video sources corresponding to the video;
  • the processor is further configured to: when the video address list includes the second video address, obtain the second video address from the video address list;
  • the processor is further configured to play a video according to the obtained video address.
  • FIG. 1 is a flowchart of a video playback service-based video playback method according to an exemplary embodiment.
  • FIG. 2 is a flowchart of a video aggregation service-based video playback method according to an exemplary embodiment.
  • FIG. I s a schematic structural diagram of a video playback service-based video playback device according to an exemplary embodiment;
  • FIG. 4 is a schematic structural diagram of a terminal device according to an exemplary embodiment. detailed description
  • FIG. 1 is a flowchart of a video playback method based on a video aggregation service according to an embodiment of the present disclosure.
  • the execution body of the embodiment of the present invention is a terminal device, and the method includes:
  • the terminal device determines whether the second video address is included in the pre-stored video address list, where the second video address has the same video resolution as the first video address, and the second The video address is different from the video source corresponding to the first video address, and the video address list includes video play addresses of different video definitions in different video sources corresponding to the video;
  • the failure to play the video may be that the video address cannot be opened, or the video may be in the process of playing the video, and the frequency of the card reaches the preset standard, which is not limited by the embodiment of the disclosure.
  • the terminal device obtains the second video address from the video address list.
  • the terminal device plays the video according to the obtained video address.
  • the terminal device plays the video, and the terminal device may be closed.
  • the video played by the current video address re-plays the video according to the obtained video address, or the terminal device turns off the video played by the current video address, and saves the current playback progress, and starts with the current playback progress according to the obtained video address.
  • the video is continuously played, and the embodiment of the present disclosure does not limit how to play the video.
  • FIG. 2 is a flowchart of a video playing method based on a video aggregation service according to an embodiment of the present disclosure.
  • the interaction entity of the embodiment of the present invention is a terminal device and a video server, and the method process includes:
  • the terminal device sends a video play request to the video server, where the video play request carries the video identifier to be played.
  • the terminal device when the user clicks on a certain video on the terminal device, the terminal device is triggered to send a video play request to the video server, where the video play request carries the video identifier of the video to be played, so that the video server receives the video.
  • the multiple video addresses corresponding to the video identifier are obtained according to the video identifier carried in the video play request, and the multiple video addresses are sent to the terminal device in the form of a list.
  • the video address list includes video addresses of different video definitions in different video sources corresponding to the video.
  • a preset number of video addresses may be selected from the obtained multiple video addresses to be listed.
  • the form is sent to the terminal device.
  • the method for selecting a preset number of video addresses from the obtained multiple video addresses may be any one of the following: (1) The video server selects, according to the current network status, the current network status from the multiple video addresses. a preset number of video addresses; (2) the video server randomly selects a preset number of video addresses from the plurality of video addresses; (3) the video server from the plurality of video addresses, according to the frequency of use of the video address by the user The usage status in the high or low or preset duration selects a preset number of video addresses.
  • the manner of selecting a preset number of video addresses from a plurality of video addresses is not limited to the above, and the embodiment of the present disclosure does not limit this.
  • the preset number may be set by the technician during development, or may be adjusted by the user during use, and may also be adjusted by the video server according to the frequency of use of the video address by the user. There is no limit to this.
  • the video identifier may be a video name or a video ID (Identity).
  • the video server receives the video play request, obtains a video address corresponding to the video identifier according to the video identifier in the video play request, and obtains a video address list.
  • the video server provides video from multiple video sources.
  • the video server may provide the terminal device with video from the video source.
  • the video server may Provide for terminal equipment from Video from multiple different video sources. That is, according to the number of video sources corresponding to the video identifier, the video address list may include video addresses of different video definition versions of a video in different video sources, and may also include one of the same video source. The video address of the different video definition versions of the video.
  • the video address list may be a correspondence list between the video source, the video address, and the video clarity.
  • Table 1 is a list of video addresses, see Table 1.
  • the video source includes an A platform and a B platform, and each video source includes three video definition videos, and each video definition corresponds to a different video address in the video source. If the currently selected video is the video in the A platform and the video resolution is standard definition, the terminal device acquires the video stream of the video corresponding to A1 through the video address A1, and the terminal device plays the video according to the video stream.
  • the video address may be sorted in the following manner: (1) after the video server obtains the video address corresponding to the video identifier according to the video identifier, the video server randomizes the video address. Arranging; (2) the video server performs video address arrangement according to a preset rule, for example, the video server sorts the position of the video address in the list according to a preset order of the video source, or the video server according to the level of video clarity Sorting the position of the video address in the list, or the video server sorts the position of the video address in the list according to the preset order of the video source and the resolution of the video, such as the adjusted video address shown in Table 1.
  • a preset rule for example, the video server sorts the position of the video address in the list according to a preset order of the video source, or the video server according to the level of video clarity Sorting the position of the video address in the list, or the video server sorts the position of the video address in the list according to the preset order of the video source and the resolution of the video, such as the adjusted video
  • the video server adjusts the position of the video address in the video address list according to the frequency of use of the video address by the user or the usage state within the preset duration to obtain a list of the adjusted video addresses, so that In the video address list, the bit where the video address is located The higher the priority is, the higher the frequency at which the video address is used, and the higher the playback success rate.
  • the order of the video addresses in the video address list is not limited to the above, and is not limited in this embodiment.
  • the video server sends the video address list to the terminal device.
  • the video server obtains the video address corresponding to the video identifier according to the video identifier, and the video server obtains the video address list according to the obtained multiple video addresses.
  • the video server sends the obtained video address list to the terminal device, so that after receiving the video address list, the terminal device performs video playback according to the video address in the video address list.
  • the terminal device receives the video address list, and obtains a video address as the first video address from the video address list, and the terminal device according to the The first video address acquires a video stream of the video corresponding to the video address, and the terminal device plays the video according to the acquired video stream.
  • the first video address may be a video source and a video address corresponding to the video definition randomly selected by the terminal device from the video address list, or the video address may be the first in the video address list.
  • the video address may also be that the terminal device selects a video source and a video definition video address that match the network condition from the video address list according to the current network condition.
  • the obtaining of the first video address may also be input by the user to the terminal device, or may be obtained by clicking the video address link provided in the video website, and the embodiment of the present disclosure is for the first video address.
  • the acquisition method is not limited.
  • the terminal device determines whether the second video address is included in the pre-stored video address list, where the second video address has the same video definition as the first video address, and the second video address is the first
  • the video source corresponds to a different video source
  • step 206 If yes, go to step 206;
  • step 207 If no, go to step 207.
  • the terminal device when the terminal device plays the video according to the first video address, when the video playback fails, the terminal device needs to replace the video address to continue playing the video. Therefore, the terminal device determines the pre-stored video. Whether the second video address is included in the address list.
  • the replacement of the video address may be implemented in different manners, that is, the replacement of the video address may be implemented by replacing the video source of the video when the current video resolution is unchanged, and the replacement video address may also be in the current video. When the source is unchanged, the video resolution of the video is replaced.
  • the replacement of the video address can also be achieved by simultaneously replacing the video source and video definition of the video.
  • the terminal device obtains the second video address from the video address list, and step 208 is performed;
  • the terminal device when the terminal device plays the video through the first video address, when the playback fails, the terminal device determines whether the video address list includes the same video resolution as the first video address. Video source with a different video address. When the terminal device determines that the video address list includes a video address having the same video resolution and a different video source as the first video address, the terminal device determines that the video address list includes the second video address, and at this time, the terminal The device obtains the second video address from the list of video addresses.
  • the terminal device obtains the second video address from the received video address list, and may randomly select a video address from a video address having the same video definition and a different video source as the first video address.
  • the terminal device obtains the second video address from the received video address list, and may also be the same as the video resolution corresponding to the first video address according to the current network connection with the video source.
  • the network status is represented by the network downlink speed
  • the video resolution is represented by SD, HD, and Super Clear.
  • Table 2 is a list of video addresses, see Table 2.
  • the terminal device selects the video definition as standard definition from the table 2, and the video source different from the E platform selects the video address D1 according to the current network condition.
  • the second video address when the first video address is E1, the video source corresponding to the video address is E, and the video resolution is SD.
  • the terminal device obtains the second video address from the received video address list, and the terminal device receives the video address list sent by the video server, and the video address list is arranged according to different video sources, and the terminal device According to the order of the video sources displayed in the video list, the video address under the current video definition at the next video source location of the location where the first video address is located is used as the second video address.
  • the video address list is arranged in the order of the video source and the video resolution from high to low, that is, the higher the video definition, the higher the position in the video address list, and Table 3 is a form of video address. For a list, see Table 3.
  • the video source of the next location in the video address list of the video source is ⁇ , at this time, select and ⁇ 2
  • the corresponding video has the same resolution ⁇ 2 as the second video address.
  • the process of acquiring the second video address by the terminal device is not limited in the embodiment of the present disclosure.
  • any one of the second video addresses is obtained from the second video address; or, when the video address list includes multiple seconds
  • the video address is obtained from the plurality of second video addresses according to the order in which the priority of the video source corresponding to each second video address is from high to low. A second video address with a high priority.
  • the priority of the video source may be set according to the usage history or usage status of the user, or may be preset by the user, which is not limited by the embodiment of the disclosure.
  • the plurality of second video addresses means that the video address list includes, in addition to the first video address, at least two video addresses having the same video definition and different video sources as the first video address.
  • Table 4 is a list of video addresses, see Table 4.
  • the video address list shown in Table 4 when the first video address is F1, the video source corresponding to F1 is F, and the video resolution is high definition. At this time, the video of other video sources whose video definition is high definition is high.
  • the addresses are G2 and H2, and both video addresses G2 and H2 can be used as the second video address. In an embodiment, when the video address list includes multiple second video addresses, any one of the second video addresses is obtained from the plurality of second video addresses, that is, any one of the video addresses G2 and H2 is obtained.
  • the video address is the video address used to play the video.
  • the terminal device when the second video address is not included in the video address list, the terminal device obtains a third video address from the video address list, and performs step 208;
  • the terminal device when the terminal device plays the video through the first video address, when the playback fails, the terminal device determines whether the video address list includes the same video definition as the first video address, and the video source Different video addresses. When the terminal device determines that the video address list does not include the video address with the same video resolution as the first video address and the video source is different, the terminal device determines whether the video address list includes the video definition ratio of the first video address. a low video address, when the terminal device determines that the video address list includes a video address that is lower than the video definition of the first video address, determining that the video address list includes the third video address, and at this time, the terminal device receives the video address The third video address is obtained from the video address list.
  • the obtaining the third video address from the video address list may be: randomly selecting, from the video address list, a video address lower than the video definition corresponding to the first video address as the third video address.
  • Table 5 is a list of video addresses, see Table 5.
  • the video address list includes the video address whose resolution is lower than the ultra clear is Kl, M2, Nl, ⁇ 2 or ⁇ 2, so the terminal device can be from Kl, ⁇ 2, Nl, ⁇ 2 and ⁇ 2
  • a video address is used as the third video address.
  • Table 6 is a list of video addresses in a form, see Table 6.
  • the video resolution corresponding to P2 is high definition.
  • the video address list does not include the second video address.
  • the video address corresponding to the standard definition is P1, Q1 or Rl. If the current network downlink speed is 150 KB/S, the video address Q1 corresponding to the downlink speed of the network may be used as the third video address.
  • the terminal device when the third video address is not included in the video address list, the terminal device outputs prompt information, where the prompt information is used for prompting that the video fails to play.
  • the terminal device output prompt information may be prompted by a pop-up prompt box.
  • the prompt box contains prompt information.
  • the terminal device output prompting information may also be prompted by the blinking or blinking of the indicator light corresponding to the playback failure.
  • the embodiment of the present disclosure does not limit how the terminal device prompts according to the prompt information.
  • the terminal device plays the video according to the obtained video address.
  • the terminal device when the second video address is included in the video address list, the terminal device is from the video address column. After the second video address is obtained in the table, the terminal device can close the video that has failed to be played, and automatically replay the video according to the second video address.
  • the terminal device may close the video that has failed to be played, and automatically restart according to the third video address. Play the video.
  • the terminal when the second video address is included in the video address list, after the terminal device obtains the second video address from the video address list, the terminal can also close the currently played video, save the playback progress, and automatically obtain the The second video address, starting from the saved playback progress, continues to play the video.
  • the terminal device may also close the currently played video, save the playback progress, and automatically obtain the obtained video.
  • the third video address starting from the saved playback progress, continues to play the video.
  • the second video address may be reselected according to the foregoing steps, until all the second video addresses fail to play or the second video address fails to play the preset threshold. , then output a prompt message or close the currently playing video.
  • the following steps may be performed: when all the second video addresses fail to play, the terminal device is in the video address list.
  • the video resolution corresponding to the third video address is lower than the video resolution corresponding to the first video address, and the terminal device plays the video according to the obtained video address; when the video address list does not include When the third video address is output, the prompt message is output or the currently playing video is turned off.
  • the terminal device when the terminal device plays the video according to the acquired second video address, when all the second video addresses in the video address list fail to play, the video is normally played not only by the video source. The impact will also be affected by the clarity of the video. In the case that the current video resolution is unchanged, when all the video addresses corresponding to the video clarity cannot play the video, the terminal device can also achieve the purpose of playing the video normally by changing the video definition. Therefore, the terminal device determines whether the video address list includes a third video address, and when the video address list includes the third video address, the terminal device acquires the third video address from the video address list.
  • the video resolution corresponding to the third video address is lower than the video resolution corresponding to the first video address, and the video source of the third video address may be the same as or different from the video source of the first video address. This is not limited.
  • the third video address may be reselected according to the foregoing steps, until all third video addresses fail to play or the number of playback failures of the third video address exceeds a preset threshold. , then close the currently playing video. Or, when all the third video addresses fail to play or the number of times the playback failure of the third video address exceeds a preset threshold, the prompt information is output.
  • the terminal device when all video addresses in the video address list fail to play, the terminal device outputs prompt information for prompting the video to fail to play.
  • the terminal device when the terminal device attempts all the video addresses in the video address list, and the playback fails or the number of playback failures exceeds a preset threshold, the terminal device outputs a prompt message to the user.
  • the foregoing process of playing a video according to a video address includes a process of interacting with a video server according to a video address and acquiring a video stream, which is described in the embodiment of the present disclosure.
  • the method provided by the embodiment of the present disclosure ensures that the video can be played smoothly by switching to a second video address that belongs to a different video source and has a lower video definition when the video is played according to the first video address fails.
  • the operation required by the user is greatly reduced, the online video playing process is simplified, and the user is greatly facilitated.
  • switching to a third video address lower than the current video definition is played, That is to say, the method of replacing the video sharpness is used to continue the video playing process, thereby making the online video playing process smoother and more simplified.
  • the apparatus includes: a determining module 301, a video address obtaining module 302, and a video playing module 303.
  • the determining module 301 is configured to determine, when the video playback fails according to the first video address, whether the second video address is included in the pre-stored video address list, and the second video address corresponds to the video resolution of the first video address.
  • the second video address is different from the video source corresponding to the first video address
  • the video address list includes video play addresses of different video definitions in different video sources corresponding to the video
  • the obtaining module 302 is connected to the video address obtaining module 302, configured to: when the video address list includes the second video address, obtain the second video address from the video address list; the video address obtaining module 302 and the
  • the video playing module 303 is connected to the video playing module 303, and is configured to play a video according to the obtained video address.
  • the video address obtaining module 302 is further configured to: when the video address list includes multiple second video addresses, obtain any one of the second video addresses from the plurality of second video addresses; or When the video address list includes multiple second video addresses, obtaining a high priority from the plurality of second video addresses according to a priority of each second video address corresponding to a priority of the video source Second video address.
  • the video address obtaining module 302 is further configured to: when the video address list does not include the second video address, obtain a third video address from the video address list, where the third video address corresponds to The video resolution is lower than the video resolution corresponding to the first video address.
  • the video address obtaining module 302 is further configured to randomly select, from the video address list, a video address that is lower than the video resolution corresponding to the first video address as the third video address; or, according to The current network status, from the video address in the video address list that is lower than the video definition corresponding to the first video address, select a video address corresponding to the video definition that matches the network status as the third video address.
  • the video address obtaining module 302 is further configured to obtain the third video address from the video address list when all the second video addresses fail to play.
  • the apparatus further comprises:
  • the sending module 304 is configured to send a video play request to the video server, where the video play request carries the video identifier to be played, so that the video server returns a video address list according to the video identifier;
  • the receiving module 305 is configured to receive the video address list.
  • the apparatus further comprises:
  • the output module 306 is configured to output prompt information when all video addresses in the video address list fail to play, and the prompt information is used to prompt the video to fail to play.
  • the apparatus determines whether the video content list corresponding to the first video address has the same definition and different video sources when the video fails to be played according to the first video address.
  • the second video address when the second video address is included in the video address list, acquire the second video address, and play the video according to the video address, so that the operation required by the user is greatly reduced, and the online video is simplified.
  • the playback process brings great convenience to the user.
  • the video playback process is continued by replacing the video source, thereby
  • the online video playback process is smoother and easier.
  • FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure. Referring to FIG.
  • the terminal device includes: a processor 401 and a memory 402.
  • the processor 401 is configured to determine, when the video playback fails according to the first video address, whether the second video address is included in the pre-stored video address list, and the second video address corresponds to the video resolution of the first video address. Similarly, the second video address is different from the video source corresponding to the first video address, and the video address list includes video play addresses of different video definitions in different video sources corresponding to the video; the processor 401 is further configured to: When the second video address is included in the video address list, the second video address is obtained from the video address list; the processor 401 is further configured to play a video according to the obtained video address; the processor 401 and The memory 402 is connected.
  • the processor 401 is further configured to: when the video address list includes multiple second video addresses, obtain any one of the second video addresses from the plurality of second video addresses; or, when When a plurality of second video addresses are included in the video address list, obtaining a second highest priority from the plurality of second video addresses according to a priority of each of the second video addresses corresponding to the priority of the video source Video address.
  • the processor 401 is further configured to: when the video address list does not include the second video address, obtain a third video address from the video address list, where the video corresponding to the third video address is clear The degree is lower than the video definition corresponding to the first video address.
  • the processor 401 is further configured to randomly select, from the video address list, a video address that is lower than the video definition corresponding to the first video address as the third video address; or, according to the current network. situation, From a video address in the video address list that is lower than the video definition corresponding to the first video address, a video address corresponding to the video definition matching the network condition is selected as the third video address.
  • the processor 401 is further configured to obtain the third video address from the video address list when all the second video addresses fail to play.
  • the terminal device further includes:
  • a sender configured to send a video play request to the video server, where the video play request carries a video identifier to be played, so that the video server returns a video address list according to the video identifier;
  • a receiver configured to receive the list of video addresses.
  • the terminal device further includes:
  • the display is configured to output a prompt message when all the video addresses in the video address list fail to play, and the prompt information is used to prompt the video to fail to play.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

The present disclosure relates to the field of terminal devices. Disclosed are a video playback method, apparatus, and terminal device based on a video aggregation service. The method comprises: when a video is unsuccessfully played according to a first video address, determining whether a pre-stored video address list comprises a second video address, the second video address and the first video address corresponding to the identical video definition, the second video address and the first video address corresponding to different video sources, and the video address list comprising video playback addresses with different video definition in the different video sources corresponding to the video; when the video address list comprises the second video address, acquiring the second video address from the video address list; and playing the video according to the acquired video address. The apparatus comprises: a determining module, a video address acquiring module, and a video playback module. The terminal device comprises: a processor and a storage device. In the present disclosure, a video address is automatically acquired, thereby reducing user operations.

Description

基于视频聚合服务的视频播放方法、 装置及终端设备 本申请基于申请号为 201310385404.2、 申请日为 2013/8/29的中国专利申请提出, 并 要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为参考。 技术领域  The present invention is based on a Chinese patent application with the application number of 201310385404.2 and the application date of 2013/8/29, and claims the priority of the Chinese patent application, the Chinese patent application The entire disclosure is hereby incorporated by reference. Technical field
本公开涉及终端设备领域, 特别涉及一种基于视频聚合服务的视频播放方法、 装置及 终端设备。 背景技术  The present disclosure relates to the field of terminal devices, and in particular, to a video playback method, device, and terminal device based on a video aggregation service. Background technique
随着网络技术和终端设备的不断发展,在线视频为人们的工作和娱乐带来了极大地便 利, 因此在线视频服务越来越受到人们的广泛关注。  With the continuous development of network technology and terminal equipment, online video has brought great convenience to people's work and entertainment. Therefore, online video services have received more and more attention.
在线视频服务是各个在线视频服务的提供商通过各自的网站和客户端向用户提供的 一种视频播放、 上传或下载服务。 而之后出现的视频聚合服务则通过聚合多家在线视频服 务提供商的视频源, 来为用户提供便捷的在线视频服务, 从而使得不需要在各个在线视频 服务提供商之间来回切换就可以达到播放和观看在线视频的目的。  An online video service is a video playback, upload or download service provided by a provider of various online video services to users through their respective websites and clients. The video aggregation service that emerged later provides a convenient online video service by aggregating the video sources of multiple online video service providers, so that playback can be achieved without switching back and forth between the various online video service providers. And the purpose of watching online videos.
在实现本公开的过程中, 发明人发现至少存在以下问题:  In the process of implementing the present disclosure, the inventors found that at least the following problems exist:
当视频播放失败后, 在用户进行处理的过程中, 可能并不知道如何在多家在线视频服 务提供商提供的视频源中做出选择, 而且在选择的过程中, 用户需要进行人工操作才能达 到更换视频源的目的。 而在一个实施例中, 当用户选择了一个视频源进行播放时, 如果发 现有卡顿情况, 那么用户可能会再更换一个视频源进行播放, 这样可能需要进行多次视频 源的更换操作, 从而使得在线视频的播放过程较繁琐, 为用户带来了很大的困扰。 发明内容  When the video fails to play, during the processing of the user, it may not know how to make a selection among the video sources provided by multiple online video service providers, and in the selection process, the user needs to perform manual operations to achieve The purpose of replacing the video source. In an embodiment, when the user selects a video source for playing, if a stuck condition is found, the user may replace the video source for playing, which may require multiple video source replacement operations. The process of playing online video is cumbersome, which brings great trouble to users. Summary of the invention
为了解决基于视频聚合服务的视频播放问题,本公开实施例提供了一种基于视频聚合 服务的视频播放方法、 装置及终端设备。 所述技术方案如下:  In order to solve the video playback problem based on the video aggregation service, the embodiment of the present disclosure provides a video playback method, device, and terminal device based on a video aggregation service. The technical solution is as follows:
根据本公开实施例的第一方面, 提供了一种基于视频聚合服务的视频播放方法, 所述 方法包括:  According to a first aspect of the embodiments of the present disclosure, a video playback service-based video playback method is provided, the method comprising:
当根据第一视频地址播放视频失败时,判断预存的视频地址列表中是否包括第二视频 地址, 所述第二视频地址与所述第一视频地址对应的视频清晰度相同, 所述第二视频地址 与所述第一视频地址对应的视频源不同,所述视频地址列表包括所述视频对应的不同视频 源中的不同视频清晰度的视频播放地址;  When the video playback fails according to the first video address, determining whether the second video address is included in the pre-stored video address list, where the second video address has the same video definition as the first video address, and the second video The address is different from the video source corresponding to the first video address, where the video address list includes video play addresses of different video definitions in different video sources corresponding to the video;
当所述视频地址列表中包括所述第二视频地址时,从所述视频地址列表中获取所述第 二视频地址;  When the second video address is included in the video address list, obtaining the second video address from the video address list;
根据获取到的视频地址, 播放视频。 在一个实施例中, 所述当所述视频地址列表中包括所述第二视频地址时, 从所述视频 地址列表中获取所述第二视频地址包括: Play the video based on the obtained video address. In an embodiment, when the second video address is included in the video address list, obtaining the second video address from the video address list includes:
当所述视频地址列表中包括多个第二视频地址时,从所述多个第二视频地址中获取任 意一个第二视频地址; 或,  Obtaining any one of the second video addresses from the plurality of second video addresses when the plurality of second video addresses are included in the video address list; or
当所述视频地址列表中包括多个第二视频地址时,根据每个第二视频地址对应视频源 的优先级从高到低的顺序, 从所述多个第二视频地址中获取一个优先级高的第二视频地 址。  When a plurality of second video addresses are included in the video address list, obtaining a priority from the plurality of second video addresses according to a priority of each second video address corresponding to a priority of the video source High second video address.
在一个实施例中, 所述判断预存的视频地址列表中是否包括第二视频地址之后, 所述 方法还包括:  In an embodiment, after determining whether the second video address is included in the pre-stored video address list, the method further includes:
当所述视频地址列表中不包括所述第二视频地址时,从所述视频地址列表中获取第三 视频地址, 所述第三视频地址对应的视频清晰度低于所述第一视频地址对应的视频清晰 度。  When the video address list does not include the second video address, the third video address is obtained from the video address list, and the video resolution corresponding to the third video address is lower than the first video address. Video clarity.
在一个实施例中, 所述当所述视频地址列表中不包括所述第二视频地址时, 从所述视 频地址列表中获取第三视频地址包括:  In an embodiment, when the second video address is not included in the video address list, acquiring the third video address from the video address list includes:
从所述视频地址列表中,随机选择一个低于所述第一视频地址对应视频清晰度的视频 地址作为所述第三视频地址; 或,  Selecting, from the video address list, a video address lower than a video definition corresponding to the first video address as the third video address; or
根据当前网络状况,从所述视频地址列表中低于所述第一视频地址对应的视频清晰度 的视频地址中,选择一个与所述网络状况匹配的视频清晰度对应的视频地址作为所述第三 视频地址。  Selecting, according to the current network condition, a video address corresponding to the video definition matching the network condition from the video address in the video address list that is lower than the video definition corresponding to the first video address, as the first Three video addresses.
在一个实施例中, 所述根据获取到的视频地址, 播放视频之后, 所述方法还包括: 当所有第二视频地址均播放失败时, 从所述视频地址列表中获取所述第三视频地址。 在一个实施例中, 所述当根据第一视频地址播放视频失败时, 判断预存的视频地址列 表中是否包括第二视频地址之前, 所述方法还包括:  In an embodiment, after the video is played according to the obtained video address, the method further includes: acquiring, when the second video address fails to play, the third video address from the video address list. . In an embodiment, the method further includes: before determining whether the second video address is included in the pre-stored video address list, when the video playback fails according to the first video address, the method further includes:
向视频服务器发送视频播放请求, 所述视频播放请求携带待播放的视频标识, 使得所 述视频服务器根据所述视频标识返回视频地址列表;  Sending a video play request to the video server, where the video play request carries the video identifier to be played, so that the video server returns a video address list according to the video identifier;
接收所述视频地址列表。  Receiving the list of video addresses.
在一个实施例中, 所述根据获取到的视频地址, 播放视频之后, 所述方法还包括: 当所述视频地址列表中所有视频地址都播放失败时, 输出提示信息, 所述提示信息用 于对所述视频播放失败的提示。 根据本公开实施例的第二方面, 提供了一种基于视频聚合服务的视频播放装置, 所述 装置包括:  In an embodiment, after the video is played according to the obtained video address, the method further includes: when all video addresses in the video address list fail to play, output prompt information, where the prompt information is used. A prompt for the video to fail to play. According to a second aspect of the embodiments of the present disclosure, a video playback device-based video playback device is provided, the device comprising:
判断模块, 用于当根据第一视频地址播放视频失败时, 判断预存的视频地址列表中是 否包括第二视频地址, 所述第二视频地址与所述第一视频地址对应的视频清晰度相同, 所 述第二视频地址与所述第一视频地址对应的视频源不同,所述视频地址列表包括所述视频 对应的不同视频源中的不同视频清晰度的视频播放地址; a judging module, configured to determine whether a second video address is included in the pre-stored video address list when the video is played according to the first video address, where the second video address has the same video clarity as the first video address. The second video address is different from the video source corresponding to the first video address, and the video address list includes the video Corresponding video play addresses of different video definitions in different video sources;
视频地址获取模块, 用于当所述视频地址列表中包括所述第二视频地址时, 从所述视 频地址列表中获取所述第二视频地址;  a video address obtaining module, configured to acquire the second video address from the video address list when the second video address is included in the video address list;
视频播放模块, 用于根据获取到的视频地址, 播放视频。  A video playing module, configured to play a video according to the obtained video address.
在一个实施例中, 所述视频地址获取模块, 还用于当所述视频地址列表中包括多个第 二视频地址时, 从所述多个第二视频地址中获取任意一个第二视频地址; 或, 当所述视频 地址列表中包括多个第二视频地址时,根据每个第二视频地址对应视频源的优先级从高到 低的顺序, 从所述多个第二视频地址中获取一个优先级高的第二视频地址。  In an embodiment, the video address obtaining module is further configured to: when the video address list includes multiple second video addresses, obtain any one of the second video addresses from the plurality of second video addresses; Or, when the video address list includes multiple second video addresses, obtaining one from the plurality of second video addresses according to a priority of each second video address corresponding to a priority of the video source The second video address with a higher priority.
在一个实施例中, 所述视频地址获取模块, 还用于当所述视频地址列表中不包括所述 第二视频地址时, 从所述视频地址列表中获取第三视频地址, 所述第三视频地址对应的视 频清晰度低于所述第一视频地址对应的视频清晰度。  In an embodiment, the video address obtaining module is further configured to: when the video address list does not include the second video address, obtain a third video address from the video address list, where the third The video resolution corresponding to the video address is lower than the video definition corresponding to the first video address.
在一个实施例中, 所述视频地址获取模块, 还用于从所述视频地址列表中, 随机选择 一个低于所述第一视频地址对应视频清晰度的视频地址作为所述第三视频地址; 或, 根据 当前网络状况,从所述视频地址列表中低于所述第一视频地址对应的视频清晰度的视频地 址中, 选择一个与所述网络状况匹配的视频清晰度对应的视频地址作为所述第三视频地 址。  In an embodiment, the video address obtaining module is further configured to: randomly select, from the video address list, a video address that is lower than a video definition corresponding to the first video address as the third video address; Or, according to the current network condition, selecting a video address corresponding to the video definition that matches the network condition from the video address in the video address list that is lower than the video definition corresponding to the first video address. Said third video address.
在一个实施例中,所述视频地址获取模块,还用于当所有第二视频地址均播放失败时, 从所述视频地址列表中获取所述第三视频地址。  In an embodiment, the video address obtaining module is further configured to acquire the third video address from the video address list when all the second video addresses fail to play.
在一个实施例中, 所述装置还包括:  In an embodiment, the device further includes:
发送模块, 用于向视频服务器发送视频播放请求, 所述视频播放请求携带待播放的视 频标识, 使得所述视频服务器根据所述视频标识返回视频地址列表;  a sending module, configured to send a video play request to the video server, where the video play request carries a video identifier to be played, so that the video server returns a video address list according to the video identifier;
接收模块, 用于接收所述视频地址列表。  a receiving module, configured to receive the video address list.
在一个实施例中, 所述装置还包括:  In an embodiment, the device further includes:
输出模块, 用于当所述视频地址列表中所有视频地址都播放失败时, 输出提示信息, 所述提示信息用于对所述视频播放失败的提示。 根据本公开实施例的第三方面, 提供了一种终端设备, 所述终端设备包括: 处理器和 存储器,  And an output module, configured to output prompt information when all video addresses in the video address list fail to play, and the prompt information is used to prompt the video to fail to play. According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, the terminal device comprising: a processor and a memory,
所述处理器, 用于当根据第一视频地址播放视频失败时, 判断预存的视频地址列表中 是否包括第二视频地址, 所述第二视频地址与所述第一视频地址对应的视频清晰度相同, 所述第二视频地址与所述第一视频地址对应的视频源不同,所述视频地址列表包括所述视 频对应的不同视频源中的不同视频清晰度的视频播放地址;  The processor is configured to determine, when the video playback fails according to the first video address, whether the second video address is included in the pre-stored video address list, and the video resolution corresponding to the first video address is Similarly, the second video address is different from the video source corresponding to the first video address, and the video address list includes video play addresses of different video definitions in different video sources corresponding to the video;
所述处理器, 还用于当所述视频地址列表中包括所述第二视频地址时, 从所述视频地 址列表中获取所述第二视频地址;  The processor is further configured to: when the video address list includes the second video address, obtain the second video address from the video address list;
所述处理器, 还用于根据获取到的视频地址, 播放视频。 本公开实施例提供的技术方案带来的一些有益效果可以是: The processor is further configured to play a video according to the obtained video address. Some of the beneficial effects brought by the technical solutions provided by the embodiments of the present disclosure may be:
通过当根据第一视频地址播放视频失败时, 切换至属于不同视频源、 具有较低视频清 晰度的第二视频地址进行播放, 保证了视频能够顺畅播放, 从而使得需要用户进行的操作 大大减少, 简化了在线视频的播放过程, 为用户带来了极大的便利。  When playing a video according to the first video address fails, switching to a second video address belonging to a different video source and having a lower video definition for playback ensures that the video can be smoothly played, thereby greatly reducing the operations required by the user. It simplifies the process of playing online video and brings great convenience to users.
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并不能限 制本发明。 附图说明  The above general description and the following detailed description are intended to be illustrative and not restrictive. DRAWINGS
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本公开的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings which are used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present disclosure. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
此处的附图被并入说明书中并构成本说明书的一部分, 示出了符合本发明的实施例, 并与说明书一起用于解释本发明的原理。  The accompanying drawings, which are incorporated in the specification of FIG
图 1是根据一示例性实施例示出的一种基于视频聚合服务的视频播放方法流程图; 图 2是根据一示例性实施例示出的一种基于视频聚合服务的视频播放方法流程图; 图 3 是根据一示例性实施例示出的一种基于视频聚合服务的视频播放装置结构示意 图;  FIG. 1 is a flowchart of a video playback service-based video playback method according to an exemplary embodiment. FIG. 2 is a flowchart of a video aggregation service-based video playback method according to an exemplary embodiment. FIG. Is a schematic structural diagram of a video playback service-based video playback device according to an exemplary embodiment;
图 4是根据一示例性实施例示出的一种终端设备结构示意图。 具体实施方式  FIG. 4 is a schematic structural diagram of a terminal device according to an exemplary embodiment. detailed description
为使本公开的目的、技术方案和优点更加清楚, 下面将结合附图对本公开实施方式作 在一个实施例中详细描述。  In order to make the objects, technical solutions, and advantages of the present disclosure more apparent, the embodiments of the present disclosure will be described in detail in the embodiments.
图 1是本公开实施例提供的一种基于视频聚合服务的视频播放方法流程图。参见图 1, 该发明实施例的执行主体为终端设备, 该方法包括:  FIG. 1 is a flowchart of a video playback method based on a video aggregation service according to an embodiment of the present disclosure. Referring to FIG. 1, the execution body of the embodiment of the present invention is a terminal device, and the method includes:
101、 当根据第一视频地址播放视频失败时, 终端设备判断预存的视频地址列表中是 否包括第二视频地址, 该第二视频地址与该第一视频地址对应的视频清晰度相同, 该第二 视频地址与该第一视频地址对应的视频源不同,该视频地址列表包括该视频对应的不同视 频源中的不同视频清晰度的视频播放地址;  101. When the video playback fails according to the first video address, the terminal device determines whether the second video address is included in the pre-stored video address list, where the second video address has the same video resolution as the first video address, and the second The video address is different from the video source corresponding to the first video address, and the video address list includes video play addresses of different video definitions in different video sources corresponding to the video;
需要说明的是, 播放视频失败可以是该视频地址无法打开, 也可以是视频播放的过程 中, 出现卡顿情况, 并且卡顿频率达到了预设标准, 本公开实施例对此不做限定。  It should be noted that the failure to play the video may be that the video address cannot be opened, or the video may be in the process of playing the video, and the frequency of the card reaches the preset standard, which is not limited by the embodiment of the disclosure.
102、 当该视频地址列表中包括该第二视频地址时, 终端设备从该视频地址列表中获 取该第二视频地址;  102. When the second video address is included in the video address list, the terminal device obtains the second video address from the video address list.
103、 终端设备根据获取到的视频地址, 播放视频。  103. The terminal device plays the video according to the obtained video address.
需要说明的是, 终端设备根据获取到的视频地址, 播放视频可以是终端设备关闭通过 当前视频地址播放的视频, 根据获取到的视频地址重新进行视频播放, 也可以是终端设备 关闭通过当前视频地址播放的视频, 并保存当前播放进度, 根据获取到的视频地址以当前 播放进度为起点继续播放视频, 本公开实施例对如何播放视频的过程不做限定。 It should be noted that, according to the obtained video address, the terminal device plays the video, and the terminal device may be closed. The video played by the current video address re-plays the video according to the obtained video address, or the terminal device turns off the video played by the current video address, and saves the current playback progress, and starts with the current playback progress according to the obtained video address. The video is continuously played, and the embodiment of the present disclosure does not limit how to play the video.
本公开实施例提供的方法, 通过当根据第一视频地址播放视频失败时, 切换至属于不 同视频源、 具有较低视频清晰度的第二视频地址进行播放, 保证了视频能够顺畅播放, 从 而使得需要用户进行的操作大大减少, 简化了在线视频的播放过程, 为用户带来了极大的 便利。 图 2是本公开实施例提供的一种基于视频聚合服务的视频播放方法流程图。参见图 2, 该发明实施例的交互主体为终端设备和视频服务器, 该方法流程包括:  The method provided by the embodiment of the present disclosure ensures that the video can be played smoothly by switching to a second video address that belongs to a different video source and has a lower video definition when the video is played according to the first video address fails. The operation required by the user is greatly reduced, the online video playing process is simplified, and the user is greatly facilitated. FIG. 2 is a flowchart of a video playing method based on a video aggregation service according to an embodiment of the present disclosure. Referring to FIG. 2, the interaction entity of the embodiment of the present invention is a terminal device and a video server, and the method process includes:
201、 终端设备向视频服务器发送视频播放请求, 该视频播放请求携带待播放的视频 标识;  201. The terminal device sends a video play request to the video server, where the video play request carries the video identifier to be played.
在一个实施例中, 当用户在终端设备上点播某个视频时, 则触发该终端设备向视频服 务器发送视频播放请求, 该视频播放请求携带待播放视频的视频标识, 使得视频服务器接 收到该视频播放请求后, 根据该视频播放请求中所携带的视频标识, 获取该视频标识所对 应的多个视频地址, 并将该多个视频地址以列表的形式发送给终端设备。 其中, 该视频地 址列表包括该视频对应的不同视频源中的不同视频清晰度的视频地址。  In an embodiment, when the user clicks on a certain video on the terminal device, the terminal device is triggered to send a video play request to the video server, where the video play request carries the video identifier of the video to be played, so that the video server receives the video. After the play request, the multiple video addresses corresponding to the video identifier are obtained according to the video identifier carried in the video play request, and the multiple video addresses are sent to the terminal device in the form of a list. The video address list includes video addresses of different video definitions in different video sources corresponding to the video.
在上述过程中, 仅以将获取到的多个视频地址均发送给终端设备为例进行说明, 而事 实上, 还可以从获取到的多个视频地址中选取预设数目的视频地址, 以列表的形式发送给 终端设备。其中, 从获取到的多个视频地址中选取预设数目的视频地址的方式可以为以下 任一种: (1 ) 视频服务器根据当前网络状况, 从该多个视频地址中选取符合当前网络状 况的预设数目的视频地址; (2) 视频服务器从该多个视频地址中随机选取预设数目的视 频地址; (3 ) 视频服务器从该多个视频地址中, 根据用户对视频地址的使用频率的高低 或预设时长内的使用状态选取预设数目的视频地址。 当然, 从多个视频地址中选取预设数 目的视频地址的方式不限于以上几种, 本公开实施例对此不做限定。  In the above process, only a plurality of obtained video addresses are sent to the terminal device as an example, and in fact, a preset number of video addresses may be selected from the obtained multiple video addresses to be listed. The form is sent to the terminal device. The method for selecting a preset number of video addresses from the obtained multiple video addresses may be any one of the following: (1) The video server selects, according to the current network status, the current network status from the multiple video addresses. a preset number of video addresses; (2) the video server randomly selects a preset number of video addresses from the plurality of video addresses; (3) the video server from the plurality of video addresses, according to the frequency of use of the video address by the user The usage status in the high or low or preset duration selects a preset number of video addresses. Of course, the manner of selecting a preset number of video addresses from a plurality of video addresses is not limited to the above, and the embodiment of the present disclosure does not limit this.
需要说明的是, 该预设数目可以由技术人员在开发时设置, 也可以由用户在使用过程 中调整, 还可以由视频服务器根据用户对视频地址的使用频率的高低进行调整, 本公开实 施例对此不做限定。  It should be noted that the preset number may be set by the technician during development, or may be adjusted by the user during use, and may also be adjusted by the video server according to the frequency of use of the video address by the user. There is no limit to this.
本公开实施例中, 视频标识可以是视频名称, 也可以是视频 ID (Identity, 身份标识 码) 。  In the embodiment of the present disclosure, the video identifier may be a video name or a video ID (Identity).
202、 视频服务器接收该视频播放请求, 根据该视频播放请求中的视频标识, 获取该 视频标识所对应的视频地址, 得到视频地址列表;  202. The video server receives the video play request, obtains a video address corresponding to the video identifier according to the video identifier in the video play request, and obtains a video address list.
对于视频服务器来说, 该视频服务器提供了来自多个视频源的视频。 其中, 当多个视 频源中只有一个视频源包含该视频标识时,该视频服务器可以为终端设备提供来自该视频 源的视频, 当多个视频源中均包含该视频标识时, 该视频服务器可以为终端设备提供来自 多个不同视频源的视频。 也即是, 根据该视频标识所对应的视频源数量的不同, 该视频地 址列表中可以包括不同视频源中某个视频的不同视频清晰度版本的视频地址,还可以包括 同一个视频源中某个视频的不同视频清晰度版本的视频地址。 For video servers, the video server provides video from multiple video sources. When only one video source of the multiple video sources includes the video identifier, the video server may provide the terminal device with video from the video source. When the video identifier is included in multiple video sources, the video server may Provide for terminal equipment from Video from multiple different video sources. That is, according to the number of video sources corresponding to the video identifier, the video address list may include video addresses of different video definition versions of a video in different video sources, and may also include one of the same video source. The video address of the different video definition versions of the video.
其中, 该视频地址列表可以是视频源、 视频地址和视频清晰度三者之间的对应关系列 表。 表 1是一种形式的视频地址列表, 参见表 1。  The video address list may be a correspondence list between the video source, the video address, and the video clarity. Table 1 is a list of video addresses, see Table 1.
表 1  Table 1
Figure imgf000008_0001
Figure imgf000008_0001
在如表 1所示的视频地址列表中, 视频源包括 A平台和 B平台, 每个视频源包括 3 种视频清晰度的视频, 同时每个视频清晰度在视频源中对应不同的视频地址。 如果当前选 择播放的是 A平台中, 视频清晰度为标清的视频, 则终端设备通过视频地址 A1获取 A1 所对应视频的视频流, 终端设备根据该视频流播放该视频。  In the video address list shown in Table 1, the video source includes an A platform and a B platform, and each video source includes three video definition videos, and each video definition corresponds to a different video address in the video source. If the currently selected video is the video in the A platform and the video resolution is standard definition, the terminal device acquires the video stream of the video corresponding to A1 through the video address A1, and the terminal device plays the video according to the video stream.
需要说明的是, 该视频地址列表中视频地址的排序方式可以有以下情况: (1 ) 视频 服务器根据该视频标识获取与该视频标识相对应的视频地址后,该视频服务器将该视频地 址进行随机排列; (2) 该视频服务器根据预设规则进行视频地址排列, 如, 该视频服务 器根据视频源的预设顺序对视频地址在列表中的位置进行排序,或该视频服务器根据视频 清晰度的高低对视频地址在列表中的位置进行排序,或该视频服务器根据视频源的预设顺 序和视频清晰度的高低对视频地址在列表中的位置进行排序,例如表 1所示的调整后的视 频地址列表; (3 ) 该视频服务器根据用户对视频地址的使用频率的高低或预设时长内的 使用状态,对视频地址在视频地址列表中的位置进行调整,以得到调整后的视频地址列表, 使得在该视频地址列表中, 视频地址所处的位置越靠前, 说明该视频地址被使用的频率越 高, 播放成功率越大。 当然, 该视频地址列表中视频地址的排序方式不限于上述几种, 本 公开实施例对此不做限定。  It should be noted that, in the video address list, the video address may be sorted in the following manner: (1) after the video server obtains the video address corresponding to the video identifier according to the video identifier, the video server randomizes the video address. Arranging; (2) the video server performs video address arrangement according to a preset rule, for example, the video server sorts the position of the video address in the list according to a preset order of the video source, or the video server according to the level of video clarity Sorting the position of the video address in the list, or the video server sorts the position of the video address in the list according to the preset order of the video source and the resolution of the video, such as the adjusted video address shown in Table 1. (3) The video server adjusts the position of the video address in the video address list according to the frequency of use of the video address by the user or the usage state within the preset duration to obtain a list of the adjusted video addresses, so that In the video address list, the bit where the video address is located The higher the priority is, the higher the frequency at which the video address is used, and the higher the playback success rate. Of course, the order of the video addresses in the video address list is not limited to the above, and is not limited in this embodiment.
203、 视频服务器向终端设备发送该视频地址列表;  203. The video server sends the video address list to the terminal device.
在一个实施例中,视频服务器根据该视频标识,获取到该视频标识所对应的视频地址, 同时视频服务器根据获取到的多个视频地址, 得到视频地址列表。视频服务器将该得到的 视频地址列表发送到终端设备, 使得终端设备在接收到该视频地址列表后, 根据该视频地 址列表中的视频地址进行视频的播放。  In one embodiment, the video server obtains the video address corresponding to the video identifier according to the video identifier, and the video server obtains the video address list according to the obtained multiple video addresses. The video server sends the obtained video address list to the terminal device, so that after receiving the video address list, the terminal device performs video playback according to the video address in the video address list.
204、 当终端设备接收到该视频地址列表时, 根据该视频地址列表中的第一视频地址 进行播放; 204. When the terminal device receives the video address list, according to the first video address in the video address list. Play
在一个实施例中, 当视频服务器根据该视频标识获取到视频地址列表后, 终端设备接 收该视频地址列表, 并从该视频地址列表中, 获取一个视频地址作为第一视频地址, 终端 设备根据该第一视频地址向视频服务器获取该视频地址所对应的视频的视频流,终端设备 根据获取到的视频流播放该视频。  In an embodiment, after the video server obtains the video address list according to the video identifier, the terminal device receives the video address list, and obtains a video address as the first video address from the video address list, and the terminal device according to the The first video address acquires a video stream of the video corresponding to the video address, and the terminal device plays the video according to the acquired video stream.
需要说明的是,该第一视频地址可以是终端设备从该视频地址列表中随机选择的一个 视频源和视频清晰度所对应的视频地址,也可以是视频地址处于该视频地址列表中第一位 的视频地址, 还可以是终端设备根据当前网络状况, 从该视频地址列表中选择一个与该网 络状况相匹配的视频源和视频清晰度的视频地址。 当然, 可选地, 该第一视频地址的获取 还可以由用户输入到终端设备上,也可以是用户通过点击视频网站中提供的视频地址链接 来得到, 本公开实施例对第一视频地址的获取方式不做限定。  It should be noted that the first video address may be a video source and a video address corresponding to the video definition randomly selected by the terminal device from the video address list, or the video address may be the first in the video address list. The video address may also be that the terminal device selects a video source and a video definition video address that match the network condition from the video address list according to the current network condition. Of course, the obtaining of the first video address may also be input by the user to the terminal device, or may be obtained by clicking the video address link provided in the video website, and the embodiment of the present disclosure is for the first video address. The acquisition method is not limited.
205、 当播放失败时, 终端设备判断预存的视频地址列表中是否包括第二视频地址, 该第二视频地址与该第一视频地址对应的视频清晰度相同,该第二视频地址与该第一视频 地址对应的视频源不同;  205. When the playback fails, the terminal device determines whether the second video address is included in the pre-stored video address list, where the second video address has the same video definition as the first video address, and the second video address is the first The video source corresponds to a different video source;
如果是, 执行步骤 206;  If yes, go to step 206;
如果否, 执行步骤 207。  If no, go to step 207.
在一个实施例中, 当终端设备根据该第一视频地址播放该视频的过程中, 当出现播放 视频失败的情况时, 终端设备需要更换视频地址来继续播放视频, 因此, 终端设备判断预 存的视频地址列表中是否包括第二视频地址。  In an embodiment, when the terminal device plays the video according to the first video address, when the video playback fails, the terminal device needs to replace the video address to continue playing the video. Therefore, the terminal device determines the pre-stored video. Whether the second video address is included in the address list.
其中, 更换视频地址可以通过不同的方式来实现, 即更换视频地址可以是在当前所用 视频清晰度不变的情况下, 通过更换该视频的视频源来实现, 更换视频地址也可以是在当 前视频源不变的情况下, 通过更换该视频的视频清晰度来实现, 更换视频地址还可以是对 该视频的视频源和视频清晰度同时进行更换来实现。  The replacement of the video address may be implemented in different manners, that is, the replacement of the video address may be implemented by replacing the video source of the video when the current video resolution is unchanged, and the replacement video address may also be in the current video. When the source is unchanged, the video resolution of the video is replaced. The replacement of the video address can also be achieved by simultaneously replacing the video source and video definition of the video.
206、 当该视频地址列表中包括该第二视频地址时, 终端设备从该视频地址列表中获 取该第二视频地址, 并执行步骤 208;  206, when the video address list includes the second video address, the terminal device obtains the second video address from the video address list, and step 208 is performed;
在一个实施例中, 当终端设备通过第一视频地址播放视频的过程中, 当出现播放失败 的情况时,终端设备判断该视频地址列表中是否包括与第一视频地址对应的视频清晰度相 同、视频源不同的视频地址。 当终端设备确定该视频地址列表中包括与第一视频地址对应 的视频清晰度相同、视频源不同的视频地址时, 则终端设备确定该视频地址列表中包括该 第二视频地址, 此时, 终端设备从该视频地址列表中获取该第二视频地址。  In an embodiment, when the terminal device plays the video through the first video address, when the playback fails, the terminal device determines whether the video address list includes the same video resolution as the first video address. Video source with a different video address. When the terminal device determines that the video address list includes a video address having the same video resolution and a different video source as the first video address, the terminal device determines that the video address list includes the second video address, and at this time, the terminal The device obtains the second video address from the list of video addresses.
本公开实施例中, 终端设备从接收到的视频地址列表中获取第二视频地址, 可以是从 与第一视频地址对应的视频清晰度相同、视频源不同的视频地址中, 随机选择一个视频地 址作为该第二视频地址; 终端设备从接收到的视频地址列表中获取第二视频地址, 也可以 为根据当前与视频源进行网络连接的网络状况, 从与第一视频地址对应的视频清晰度相 同、视频源不同的视频地址中, 选择一个与该网络状况匹配的视频源所对应的视频地址作 为该第二视频地址, 例如, 将网络状况以网络下行速度表示, 将视频清晰度以标清、 高清 和超清来表示, 表 2是一种形式的视频地址列表, 参见表 2。 In the embodiment of the present disclosure, the terminal device obtains the second video address from the received video address list, and may randomly select a video address from a video address having the same video definition and a different video source as the first video address. As the second video address, the terminal device obtains the second video address from the received video address list, and may also be the same as the video resolution corresponding to the first video address according to the current network connection with the video source. In the video address different from the video source, select a video address corresponding to the video source that matches the network status. For the second video address, for example, the network status is represented by the network downlink speed, and the video resolution is represented by SD, HD, and Super Clear. Table 2 is a list of video addresses, see Table 2.
表 2  Table 2
Figure imgf000010_0001
Figure imgf000010_0001
参见表 2, 当第一视频地址为 E1时, 则该视频地址对应的视频源为 E, 视频清晰度为 标清。 当当前的网络下行速度为 110KB 该第一视频地址无法播放该视频时, 终端设备 从表 2中, 选取视频清晰度为标清, 不同于 E平台的视频源中根据当前网络状况选择视频 地址 D1作为该第二视频地址。  Referring to Table 2, when the first video address is E1, the video source corresponding to the video address is E, and the video resolution is SD. When the current network downlink speed is 110 KB, the first video address cannot play the video, the terminal device selects the video definition as standard definition from the table 2, and the video source different from the E platform selects the video address D1 according to the current network condition. The second video address.
当然, 终端设备从接收到的视频地址列表中获取第二视频地址, 还可以是终端设备接 收视频服务器发送的视频地址列表, 且该视频地址列表是以视频源的不同进行排列的, 则 终端设备根据该视频列表中所显示的视频源的先后顺序,将该第一视频地址所在位置的下 一个视频源位置处的当前视频清晰度下的视频地址作为该第二视频地址。如, 该视频地址 列表是以视频源以及视频清晰度由高到低顺序排列的, 即视频清晰度越高在该视频地址列 表中的位置就越靠前, 表 3是一种形式的视频地址列表, 参见表 3。  Certainly, the terminal device obtains the second video address from the received video address list, and the terminal device receives the video address list sent by the video server, and the video address list is arranged according to different video sources, and the terminal device According to the order of the video sources displayed in the video list, the video address under the current video definition at the next video source location of the location where the first video address is located is used as the second video address. For example, the video address list is arranged in the order of the video source and the video resolution from high to low, that is, the higher the video definition, the higher the position in the video address list, and Table 3 is a form of video address. For a list, see Table 3.
表 3  table 3
Figure imgf000010_0002
Figure imgf000010_0002
如表 3所示, 当该第一视频地址为 Y2时, 所对应的视频源为 Y, 则该视频源 Υ所在 视频地址列表中的下一位置的视频源为 Τ, 此时, 选取与 Υ2对应的视频清晰度相同的 Τ2 作为第二视频地址。 本公开实施例对终端设备获取第二视频地址的过程不做限定。  As shown in Table 3, when the first video address is Y2, and the corresponding video source is Y, the video source of the next location in the video address list of the video source is Τ, at this time, select and Υ2 The corresponding video has the same resolution Τ2 as the second video address. The process of acquiring the second video address by the terminal device is not limited in the embodiment of the present disclosure.
需要说明的是, 当该视频地址列表中包括多个第二视频地址时, 从该多个第二视频地 址中获取任意一个第二视频地址; 或, 当该视频地址列表中包括多个第二视频地址时, 根 据每个第二视频地址对应视频源的优先级从高到低的顺序,从该多个第二视频地址中获取 一个优先级高的第二视频地址。 It should be noted that when the video address list includes multiple second video addresses, any one of the second video addresses is obtained from the second video address; or, when the video address list includes multiple seconds The video address is obtained from the plurality of second video addresses according to the order in which the priority of the video source corresponding to each second video address is from high to low. A second video address with a high priority.
需要说明的是, 该视频源的优先级可以是根据用户的使用历史或使用状况进行设定, 也可以是通过用户的预先指定, 本公开实施例对此不做限定。  It should be noted that the priority of the video source may be set according to the usage history or usage status of the user, or may be preset by the user, which is not limited by the embodiment of the disclosure.
其中, 多个第二视频地址是指该视频地址列表中, 除了包括第一视频地址外, 还包括 至少两个具有与该第一视频地址对应的视频清晰度相同、视频源不同的视频地址。表 4是 一种形式的视频地址列表, 参见表 4。  The plurality of second video addresses means that the video address list includes, in addition to the first video address, at least two video addresses having the same video definition and different video sources as the first video address. Table 4 is a list of video addresses, see Table 4.
表 4  Table 4
Figure imgf000011_0001
Figure imgf000011_0001
在如表 4所示的视频地址列表中,当第一视频地址为 F1时,则 F1对应的视频源为 F, 视频清晰度为高清, 此时, 视频清晰度为高清的其它视频源的视频地址为 G2和 H2, 则视 频地址 G2和 H2都可以作为第二视频地址。 在一个实施例中, 当该视频地址列表中包括 多个第二视频地址时, 从该多个第二视频地址中获取任意一个第二视频地址, 即为从视频 地址 G2和 H2中任意获取一个视频地址作为当前播放视频所使用的视频地址。  In the video address list shown in Table 4, when the first video address is F1, the video source corresponding to F1 is F, and the video resolution is high definition. At this time, the video of other video sources whose video definition is high definition is high. The addresses are G2 and H2, and both video addresses G2 and H2 can be used as the second video address. In an embodiment, when the video address list includes multiple second video addresses, any one of the second video addresses is obtained from the plurality of second video addresses, that is, any one of the video addresses G2 and H2 is obtained. The video address is the video address used to play the video.
207、 当该视频地址列表中不包括该第二视频地址时, 终端设备从该视频地址列表中 获取第三视频地址, 并执行步骤 208;  207, when the second video address is not included in the video address list, the terminal device obtains a third video address from the video address list, and performs step 208;
在一个实施例中, 当终端设备通过第一视频地址播放视频的过程中, 出现播放失败的 情况时, 终端设备判断该视频地址列表中是否包括与第一视频地址的视频清晰度相同、 视 频源不同的视频地址。当终端设备确定该视频地址列表中不包括与第一视频地址的视频清 晰度相同、视频源不同的视频地址时, 则终端设备判断该视频地址列表中是否包括比第一 视频地址的视频清晰度低的视频地址, 当终端设备确定该视频地址列表中包括比第一视频 地址的视频清晰度低的视频地址时, 确定该视频地址列表中包括该第三视频地址, 此时, 终端设备从该视频地址列表中获取该第三视频地址。 其中, 从该视频地址列表中获取第三视频地址可以为: 从该视频地址列表中, 随机选 择一个低于该第一视频地址对应视频清晰度的视频地址作为该第三视频地址。表 5是一种 形式的视频地址列表, 参见表 5。 视频源 视频清晰度 视频地址 In an embodiment, when the terminal device plays the video through the first video address, when the playback fails, the terminal device determines whether the video address list includes the same video definition as the first video address, and the video source Different video addresses. When the terminal device determines that the video address list does not include the video address with the same video resolution as the first video address and the video source is different, the terminal device determines whether the video address list includes the video definition ratio of the first video address. a low video address, when the terminal device determines that the video address list includes a video address that is lower than the video definition of the first video address, determining that the video address list includes the third video address, and at this time, the terminal device receives the video address The third video address is obtained from the video address list. The obtaining the third video address from the video address list may be: randomly selecting, from the video address list, a video address lower than the video definition corresponding to the first video address as the third video address. Table 5 is a list of video addresses, see Table 5. Video source video sharpness video address
κ 1¾清 K1  κ 13⁄4清 K1
标清 Κ2  Standard definition Κ2
Μ 超清 Ml  Μ Super clear Ml
1¾清 M2  13⁄4 clear M2
Ν 1¾清 N1  Ν 13⁄4 clear N1
标清 N2  Standard definition N2
当第一视频地址为 Ml时, 该第一视频地址 Ml对应的视频清晰度为超清, 由表 5可 知, 该视频地址列表中不包括该第二视频地址, 则可以通过降低视频清晰度的方式来播放 视频, 此时, 视频地址列表中包括视频清晰度低于超清的视频地址为 Kl、 M2、 Nl、 Κ2 或 Ν2, 因此, 终端设备可以从 Kl、 Μ2、 Nl、 Κ2和 Ν2中任选一个视频地址作为该第三 视频地址。  When the first video address is M1, the video resolution corresponding to the first video address M1 is super clear. As can be seen from Table 5, the second video address is not included in the video address list, and the video clarity can be reduced. In the mode to play the video, at this time, the video address list includes the video address whose resolution is lower than the ultra clear is Kl, M2, Nl, Κ2 or Ν2, so the terminal device can be from Kl, Μ2, Nl, Κ2 and Ν2 Optionally, a video address is used as the third video address.
从该视频地址列表中获取第三视频地址, 还可以为根据当前网络状况, 从该视频地址 列表中低于该第一视频地址对应的视频清晰度的视频地址中,选择一个与该网络状况匹配 的视频清晰度对应的视频地址作为该第三视频地址。表 6是一种形式的视频地址列表, 参 见表 6。  Obtaining a third video address from the video address list, and selecting, according to the current network condition, a video address that is lower than the video definition corresponding to the first video address in the video address list, and selecting a network status The video address corresponding to the video definition is used as the third video address. Table 6 is a list of video addresses in a form, see Table 6.
表 6  Table 6
Figure imgf000012_0001
Figure imgf000012_0001
当第一视频地址为 P2时, 则 P2对应的视频清晰度为高清, 参见表 6可知, 该视频地 址列表中不包含第二视频地址, 此时, 标清对应的视频地址为 Pl、 Q1或 Rl, 如当前的网 络下行速度为 150KB/S时, 则可以将对应于该网络下行速度的视频地址 Q1作为第三视频 地址。  When the first video address is P2, the video resolution corresponding to P2 is high definition. Referring to Table 6, the video address list does not include the second video address. At this time, the video address corresponding to the standard definition is P1, Q1 or Rl. If the current network downlink speed is 150 KB/S, the video address Q1 corresponding to the downlink speed of the network may be used as the third video address.
在一个实施例中, 当该视频地址列表中不包括第三视频地址时, 终端设备输出提示信 息, 该提示信息用于对该视频播放失败的提示。  In an embodiment, when the third video address is not included in the video address list, the terminal device outputs prompt information, where the prompt information is used for prompting that the video fails to play.
需要说明的是, 终端设备输出提示信息可以是以弹出提示框的方式进行提示。 其中, 提示框中包含提示信息。终端设备输出提示信息也可以通过播放失败所对应指示灯的亮灭 或闪烁的方式进行提示, 本公开实施例对终端设备根据提示信息如何进行提示不做限定。  It should be noted that the terminal device output prompt information may be prompted by a pop-up prompt box. The prompt box contains prompt information. The terminal device output prompting information may also be prompted by the blinking or blinking of the indicator light corresponding to the playback failure. The embodiment of the present disclosure does not limit how the terminal device prompts according to the prompt information.
208、 终端设备根据获取到的视频地址, 播放视频。  208. The terminal device plays the video according to the obtained video address.
在一个实施例中, 当该视频地址列表中包括该第二视频地址, 终端设备从视频地址列 表中获取到第二视频地址后, 终端设备可以关闭当前播放失败的视频, 并自动根据该第二 视频地址重新播放该视频。而当该视频地址列表中不包括该第二视频地址时, 终端设备从 视频地址列表中获取到第三视频地址后, 终端设备可以关闭当前播放失败的视频, 并自动 根据该第三视频地址重新播放该视频。 In an embodiment, when the second video address is included in the video address list, the terminal device is from the video address column. After the second video address is obtained in the table, the terminal device can close the video that has failed to be played, and automatically replay the video according to the second video address. When the second video address is not included in the video address list, after the terminal device obtains the third video address from the video address list, the terminal device may close the video that has failed to be played, and automatically restart according to the third video address. Play the video.
在一个实施例中, 当该视频地址列表中包括该第二视频地址, 终端设备从视频地址列 表中获取到第二视频地址后, 还可以关闭当前播放的视频, 保存播放进度, 自动根据获取 到的第二视频地址, 以保存的播放进度为起点, 继续播放该视频。 而当该视频地址列表中 不包括该第二视频地址时, 终端设备从视频地址列表中获取到第三视频地址后, 终端设备 还可以关闭当前播放的视频, 保存播放进度, 自动根据获取到的第三视频地址, 以保存的 播放进度为起点, 继续播放该视频。  In an embodiment, when the second video address is included in the video address list, after the terminal device obtains the second video address from the video address list, the terminal can also close the currently played video, save the playback progress, and automatically obtain the The second video address, starting from the saved playback progress, continues to play the video. When the second video address is not included in the video address list, after the terminal device obtains the third video address from the video address list, the terminal device may also close the currently played video, save the playback progress, and automatically obtain the obtained video. The third video address, starting from the saved playback progress, continues to play the video.
需要说明的是, 如果当前获取的第二视频地址仍播放失败, 可以根据上述步骤重新选 择第二视频地址,直到所有第二视频地址播放均失败或第二视频地址的播放失败次数超过 预设阈值, 则输出提示信息或关闭当前播放的视频。 又或者, 所有第二视频地址播放均失 败或第二视频地址的播放失败次数超过预设阈值时, 可以执行如下步骤: 当所有第二视频 地址均播放失败时, 终端设备从该视频地址列表中获取该第三视频地址, 该第三视频地址 对应的视频清晰度低于该第一视频地址对应的视频清晰度,终端设备根据获取到的视频地 址, 播放视频; 当该视频地址列表中不包含第三视频地址时, 则输出提示信息或关闭当前 播放的视频。  It should be noted that, if the currently acquired second video address still fails to play, the second video address may be reselected according to the foregoing steps, until all the second video addresses fail to play or the second video address fails to play the preset threshold. , then output a prompt message or close the currently playing video. Alternatively, when all the second video address fails to play or the number of times the playback failure of the second video address exceeds a preset threshold, the following steps may be performed: when all the second video addresses fail to play, the terminal device is in the video address list. Obtaining the third video address, the video resolution corresponding to the third video address is lower than the video resolution corresponding to the first video address, and the terminal device plays the video according to the obtained video address; when the video address list does not include When the third video address is output, the prompt message is output or the currently playing video is turned off.
在一个实施例中, 终端设备根据获取到的第二视频地址, 播放视频的过程中, 当该视 频地址列表中, 所有的第二视频地址均播放失败时, 由于视频的正常播放不仅受到视频源 的影响, 还会受到视频清晰度的影响。 在当前视频清晰度不变的情况下, 当所有该视频清 晰度对应的视频地址均不能播放视频时,终端设备还可以通过改变视频清晰度的方式来达 到正常播放视频的目的。 因此, 终端设备判断该视频地址列表中是否包含第三视频地址, 当该视频地址列表中包含第三视频地址时,终端设备从该视频地址列表中获取该第三视频 地址。 其中, 该第三视频地址对应的视频清晰度低于该第一视频地址对应的视频清晰度, 且该第三视频地址与第一视频地址的视频源可以相同也可以不同,本公开实施例对此不作 限定。  In an embodiment, when the terminal device plays the video according to the acquired second video address, when all the second video addresses in the video address list fail to play, the video is normally played not only by the video source. The impact will also be affected by the clarity of the video. In the case that the current video resolution is unchanged, when all the video addresses corresponding to the video clarity cannot play the video, the terminal device can also achieve the purpose of playing the video normally by changing the video definition. Therefore, the terminal device determines whether the video address list includes a third video address, and when the video address list includes the third video address, the terminal device acquires the third video address from the video address list. The video resolution corresponding to the third video address is lower than the video resolution corresponding to the first video address, and the video source of the third video address may be the same as or different from the video source of the first video address. This is not limited.
需要说明的是, 若当前获取的第三视频地址仍播放失败, 可以根据上述步骤重新选择 第三视频地址,直到所有第三视频地址播放均失败或第三视频地址的播放失败次数超过预 设阈值, 则关闭当前播放的视频。 又或者, 所有第三视频地址播放均失败或第三视频地址 的播放失败次数超过预设阈值时, 则输出提示信息。  It should be noted that, if the currently acquired third video address still fails to play, the third video address may be reselected according to the foregoing steps, until all third video addresses fail to play or the number of playback failures of the third video address exceeds a preset threshold. , then close the currently playing video. Or, when all the third video addresses fail to play or the number of times the playback failure of the third video address exceeds a preset threshold, the prompt information is output.
在一个实施例中, 当该视频地址列表中所有视频地址都播放失败时, 终端设备输出提 示信息, 该提示信息用于对该视频播放失败的提示。  In one embodiment, when all video addresses in the video address list fail to play, the terminal device outputs prompt information for prompting the video to fail to play.
在一个实施例中, 当终端设备尝试了视频地址列表中所有的视频地址, 并且都播放失 败或播放失败次数超过预设阈值时, 终端设备输出提示信息向用户进行提示。 在一个实施例中,上述根据视频地址播放视频的过程均包括根据视频地址与视频服务 器之间进行交互并获取到视频流的过程, 本公开实施例对此赘述。 In an embodiment, when the terminal device attempts all the video addresses in the video address list, and the playback fails or the number of playback failures exceeds a preset threshold, the terminal device outputs a prompt message to the user. In an embodiment, the foregoing process of playing a video according to a video address includes a process of interacting with a video server according to a video address and acquiring a video stream, which is described in the embodiment of the present disclosure.
本公开实施例提供的方法, 通过当根据第一视频地址播放视频失败时, 切换至属于不 同视频源、 具有较低视频清晰度的第二视频地址进行播放, 保证了视频能够顺畅播放, 从 而使得需要用户进行的操作大大减少, 简化了在线视频的播放过程, 为用户带来了极大的 便利。在一个实施例中, 当视频地址列表中的所有第二视频地址都播放视频失败或视频地 址列表中不包括第二视频地址时, 切换至低于当前视频清晰度的第三视频地址进行播放, 即采用更换视频清晰度的方式, 继续进行视频的播放过程, 从而使得在线视频的播放过程 更加顺利与简化。 图 3是本公开实施例提供的一种基于视频聚合服务的视频播放装置结构示意图。参见 图 3, 该装置包括: 判断模块 301、 视频地址获取模块 302和视频播放模块 303。 其中, 该 判断模块 301, 用于当根据第一视频地址播放视频失败时, 判断预存的视频地址列表中是 否包括第二视频地址, 该第二视频地址与该第一视频地址对应的视频清晰度相同, 该第二 视频地址与该第一视频地址对应的视频源不同,该视频地址列表包括该视频对应的不同视 频源中的不同视频清晰度的视频播放地址;该判断模块 301与该视频地址获取模块 302相 连接, 该视频地址获取模块 302, 用于当该视频地址列表中包括该第二视频地址时, 从该 视频地址列表中获取该第二视频地址;该视频地址获取模块 302与该视频播放模块 303相 连接, 该视频播放模块 303, 用于根据获取到的视频地址, 播放视频。  The method provided by the embodiment of the present disclosure ensures that the video can be played smoothly by switching to a second video address that belongs to a different video source and has a lower video definition when the video is played according to the first video address fails. The operation required by the user is greatly reduced, the online video playing process is simplified, and the user is greatly facilitated. In an embodiment, when all the second video addresses in the video address list fail to play the video or the video address list does not include the second video address, switching to a third video address lower than the current video definition is played, That is to say, the method of replacing the video sharpness is used to continue the video playing process, thereby making the online video playing process smoother and more simplified. FIG. 3 is a schematic structural diagram of a video playback device based on a video aggregation service according to an embodiment of the present disclosure. Referring to FIG. 3, the apparatus includes: a determining module 301, a video address obtaining module 302, and a video playing module 303. The determining module 301 is configured to determine, when the video playback fails according to the first video address, whether the second video address is included in the pre-stored video address list, and the second video address corresponds to the video resolution of the first video address. Similarly, the second video address is different from the video source corresponding to the first video address, and the video address list includes video play addresses of different video definitions in different video sources corresponding to the video; the determining module 301 and the video address The obtaining module 302 is connected to the video address obtaining module 302, configured to: when the video address list includes the second video address, obtain the second video address from the video address list; the video address obtaining module 302 and the The video playing module 303 is connected to the video playing module 303, and is configured to play a video according to the obtained video address.
在一个实施例中, 该视频地址获取模块 302, 还用于当该视频地址列表中包括多个第 二视频地址时, 从该多个第二视频地址中获取任意一个第二视频地址; 或, 当该视频地址 列表中包括多个第二视频地址时,根据每个第二视频地址对应视频源的优先级从高到低的 顺序, 从该多个第二视频地址中获取一个优先级高的第二视频地址。  In an embodiment, the video address obtaining module 302 is further configured to: when the video address list includes multiple second video addresses, obtain any one of the second video addresses from the plurality of second video addresses; or When the video address list includes multiple second video addresses, obtaining a high priority from the plurality of second video addresses according to a priority of each second video address corresponding to a priority of the video source Second video address.
在一个实施例中, 该视频地址获取模块 302, 还用于当该视频地址列表中不包括该第 二视频地址时, 从该视频地址列表中获取第三视频地址, 该第三视频地址对应的视频清晰 度低于该第一视频地址对应的视频清晰度。  In an embodiment, the video address obtaining module 302 is further configured to: when the video address list does not include the second video address, obtain a third video address from the video address list, where the third video address corresponds to The video resolution is lower than the video resolution corresponding to the first video address.
在一个实施例中, 该视频地址获取模块 302, 还用于从该视频地址列表中, 随机选择 一个低于该第一视频地址对应视频清晰度的视频地址作为该第三视频地址; 或, 根据当前 网络状况, 从该视频地址列表中低于该第一视频地址对应的视频清晰度的视频地址中, 选 择一个与该网络状况匹配的视频清晰度对应的视频地址作为该第三视频地址。  In an embodiment, the video address obtaining module 302 is further configured to randomly select, from the video address list, a video address that is lower than the video resolution corresponding to the first video address as the third video address; or, according to The current network status, from the video address in the video address list that is lower than the video definition corresponding to the first video address, select a video address corresponding to the video definition that matches the network status as the third video address.
在一个实施例中, 该视频地址获取模块 302, 还用于当所有第二视频地址均播放失败 时, 从该视频地址列表中获取该第三视频地址。  In one embodiment, the video address obtaining module 302 is further configured to obtain the third video address from the video address list when all the second video addresses fail to play.
在一个实施例中, 该装置还包括:  In one embodiment, the apparatus further comprises:
发送模块 304, 用于向视频服务器发送视频播放请求, 该视频播放请求携带待播放的 视频标识, 使得该视频服务器根据该视频标识返回视频地址列表; 接收模块 305, 用于接收该视频地址列表。 The sending module 304 is configured to send a video play request to the video server, where the video play request carries the video identifier to be played, so that the video server returns a video address list according to the video identifier; The receiving module 305 is configured to receive the video address list.
在一个实施例中, 该装置还包括:  In one embodiment, the apparatus further comprises:
输出模块 306,用于当该视频地址列表中所有视频地址都播放失败时,输出提示信息, 该提示信息用于对该视频播放失败的提示。  The output module 306 is configured to output prompt information when all video addresses in the video address list fail to play, and the prompt information is used to prompt the video to fail to play.
综上所述, 本公开实施例提供的装置, 通过当根据第一视频地址播放视频失败时, 判 断预存的视频地址列表中是否包含与该第一视频地址对应的视频清晰度相同、视频源不同 的第二视频地址, 当该视频地址列表中包括该第二视频地址时, 获取该第二视频地址, 并 根据该视频地址播放视频, 从而使得需要用户进行的操作大大减少, 简化了在线视频的播 放过程, 为用户带来了极大的便利。 在一个实施例中, 当视频地址列表中的所有第二视频 地址都播放视频失败或视频地址列表中不包括第二视频地址时, 采用更换视频源的方式, 继续进行视频的播放过程, 从而使得在线视频的播放过程更加顺利与简化。  In summary, the apparatus provided by the embodiment of the present disclosure determines whether the video content list corresponding to the first video address has the same definition and different video sources when the video fails to be played according to the first video address. The second video address, when the second video address is included in the video address list, acquire the second video address, and play the video according to the video address, so that the operation required by the user is greatly reduced, and the online video is simplified. The playback process brings great convenience to the user. In an embodiment, when all the second video addresses in the video address list fail to play the video or the video address list does not include the second video address, the video playback process is continued by replacing the video source, thereby The online video playback process is smoother and easier.
需要说明的是:上述实施例提供的基于视频聚合服务的视频播放装置在进行视频播放 时, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能 分配由不同的功能模块完成, 即将终端设备的内部结构划分成不同的功能模块, 以完成以 上描述的全部或者部分功能。另外, 上述实施例提供的基于视频聚合服务的视频播放装置 与基于视频聚合服务的视频播放方法实施例属于同一构思,其具体实现过程详见方法实施 例, 这里不再赘述。 图 4是本公开实施例提供的一种终端设备结构示意图。 参见图 4, 该终端设备包括: 处理器 401和存储器 402。 其中, 该处理器 401, 用于当根据第一视频地址播放视频失败 时, 判断预存的视频地址列表中是否包括第二视频地址, 该第二视频地址与该第一视频地 址对应的视频清晰度相同, 该第二视频地址与该第一视频地址对应的视频源不同, 该视频 地址列表包括该视频对应的不同视频源中的不同视频清晰度的视频播放地址; 该处理器 401, 还用于当该视频地址列表中包括该第二视频地址时, 从该视频地址列表中获取该第 二视频地址; 该处理器 401, 还用于根据获取到的视频地址, 播放视频; 该处理器 401与 该存储器 402相连接。  It should be noted that the video playback service-based video playback device provided by the foregoing embodiment is only illustrated by the division of each functional module in the video playback. In actual applications, the foregoing functions may be allocated differently according to requirements. The function module is completed, that is, the internal structure of the terminal device is divided into different functional modules to complete all or part of the functions described above. In addition, the video aggregating service-based video playback device provided by the foregoing embodiment is the same as the video aggregation service-based video playback method embodiment, and the specific implementation process is described in the method embodiment, and details are not described herein again. FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure. Referring to FIG. 4, the terminal device includes: a processor 401 and a memory 402. The processor 401 is configured to determine, when the video playback fails according to the first video address, whether the second video address is included in the pre-stored video address list, and the second video address corresponds to the video resolution of the first video address. Similarly, the second video address is different from the video source corresponding to the first video address, and the video address list includes video play addresses of different video definitions in different video sources corresponding to the video; the processor 401 is further configured to: When the second video address is included in the video address list, the second video address is obtained from the video address list; the processor 401 is further configured to play a video according to the obtained video address; the processor 401 and The memory 402 is connected.
在一个实施例中, 该处理器 401, 还用于当该视频地址列表中包括多个第二视频地址 时, 从该多个第二视频地址中获取任意一个第二视频地址; 或, 当该视频地址列表中包括 多个第二视频地址时, 根据每个第二视频地址对应视频源的优先级从高到低的顺序, 从该 多个第二视频地址中获取一个优先级高的第二视频地址。  In an embodiment, the processor 401 is further configured to: when the video address list includes multiple second video addresses, obtain any one of the second video addresses from the plurality of second video addresses; or, when When a plurality of second video addresses are included in the video address list, obtaining a second highest priority from the plurality of second video addresses according to a priority of each of the second video addresses corresponding to the priority of the video source Video address.
在一个实施例中, 该处理器 401, 还用于当该视频地址列表中不包括该第二视频地址 时, 从该视频地址列表中获取第三视频地址, 该第三视频地址对应的视频清晰度低于该第 一视频地址对应的视频清晰度。  In an embodiment, the processor 401 is further configured to: when the video address list does not include the second video address, obtain a third video address from the video address list, where the video corresponding to the third video address is clear The degree is lower than the video definition corresponding to the first video address.
在一个实施例中, 该处理器 401, 还用于从该视频地址列表中, 随机选择一个低于该 第一视频地址对应视频清晰度的视频地址作为该第三视频地址; 或, 根据当前网络状况, 从该视频地址列表中低于该第一视频地址对应的视频清晰度的视频地址中,选择一个与该 网络状况匹配的视频清晰度对应的视频地址作为该第三视频地址。 In an embodiment, the processor 401 is further configured to randomly select, from the video address list, a video address that is lower than the video definition corresponding to the first video address as the third video address; or, according to the current network. situation, From a video address in the video address list that is lower than the video definition corresponding to the first video address, a video address corresponding to the video definition matching the network condition is selected as the third video address.
在一个实施例中, 该处理器 401, 还用于当所有第二视频地址均播放失败时, 从该视 频地址列表中获取该第三视频地址。  In an embodiment, the processor 401 is further configured to obtain the third video address from the video address list when all the second video addresses fail to play.
在一个实施例中, 该终端设备还包括:  In an embodiment, the terminal device further includes:
发送器, 用于向视频服务器发送视频播放请求, 该视频播放请求携带待播放的视频标 识, 使得该视频服务器根据该视频标识返回视频地址列表;  a sender, configured to send a video play request to the video server, where the video play request carries a video identifier to be played, so that the video server returns a video address list according to the video identifier;
接收器, 用于接收该视频地址列表。  a receiver, configured to receive the list of video addresses.
在一个实施例中, 该终端设备还包括:  In an embodiment, the terminal device further includes:
显示器, 用于当该视频地址列表中所有视频地址都播放失败时, 输出提示信息, 该提 示信息用于对该视频播放失败的提示。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The display is configured to output a prompt message when all the video addresses in the video address list fail to play, and the prompt information is used to prompt the video to fail to play. A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权利要求 Rights request
1、 一种基于视频聚合服务的视频播放方法, 其特征在于, 所述方法包括: 当根据第一视频地址播放视频失败时,判断预存的视频地址列表中是否包括第二视频 地址,所述第二视频地址与所述第一视频地址对应的视频清晰度相同,所述第二视频地址 与所述第一视频地址对应的视频源不同,所述视频地址列表包括所述视频对应的不同视频 源中的不同视频清晰度的视频播放地址; 1. A video playback method based on video aggregation service, characterized in that the method includes: when the video playback based on the first video address fails, determining whether the pre-stored video address list includes the second video address, the The video definition corresponding to the second video address and the first video address is the same, the video source corresponding to the second video address and the first video address is different, and the video address list includes different video sources corresponding to the video. Video playback addresses of different video definitions;
当所述视频地址列表中包括所述第二视频地址时,从所述视频地址列表中获取所述第 二视频地址; When the second video address is included in the video address list, obtain the second video address from the video address list;
根据获取到的视频地址, 播放视频。 Play the video according to the obtained video address.
2、 根据权利要求 1所述的方法, 其特征在于, 所述当所述视频地址列表中包括所述 第二视频地址时, 从所述视频地址列表中获取所述第二视频地址包括: 2. The method according to claim 1, wherein when the second video address is included in the video address list, obtaining the second video address from the video address list includes:
当所述视频地址列表中包括多个第二视频地址时,从所述多个第二视频地址中获取任 意一个第二视频地址; 或, When the video address list includes multiple second video addresses, obtain any second video address from the multiple second video addresses; or,
当所述视频地址列表中包括多个第二视频地址时,根据每个第二视频地址对应视频源 的优先级从高到低的顺序, 从所述多个第二视频地址中获取一个优先级高的第二视频地 址。 When the video address list includes multiple second video addresses, a priority is obtained from the multiple second video addresses according to the priority of the video sources corresponding to each second video address from high to low. High second video address.
3、 根据权利要求 1所述的方法, 其特征在于, 所述判断预存的视频地址列表中是否 包括第二视频地址之后, 所述方法还包括: 3. The method according to claim 1, characterized in that, after determining whether the pre-stored video address list includes the second video address, the method further includes:
当所述视频地址列表中不包括所述第二视频地址时,从所述视频地址列表中获取第三 视频地址, 所述第三视频地址对应的视频清晰度低于所述第一视频地址对应的视频清晰 度。 When the second video address is not included in the video address list, a third video address is obtained from the video address list, and the video definition corresponding to the third video address is lower than that corresponding to the first video address. video clarity.
4、 根据权利要求 3所述的方法, 其特征在于, 所述当所述视频地址列表中不包括所 述第二视频地址时, 从所述视频地址列表中获取第三视频地址包括: 4. The method according to claim 3, wherein when the second video address is not included in the video address list, obtaining the third video address from the video address list includes:
从所述视频地址列表中,随机选择一个低于所述第一视频地址对应视频清晰度的视频 地址作为所述第三视频地址; 或, From the video address list, randomly select a video address that is lower than the video resolution corresponding to the first video address as the third video address; or,
根据当前网络状况,从所述视频地址列表中低于所述第一视频地址对应的视频清晰度 的视频地址中,选择一个与所述网络状况匹配的视频清晰度对应的视频地址作为所述第三 视频地址。 According to the current network conditions, select a video address corresponding to a video definition matching the network condition as the third video address from the video address list that is lower than the video definition corresponding to the first video address. Three video addresses.
5、 根据权利要求 1所述的方法, 其特征在于, 所述根据获取到的视频地址, 播放视 频之后, 所述方法还包括: 5. The method according to claim 1, characterized in that, after playing the video according to the obtained video address, the method further includes:
当所有第二视频地址均播放失败时, 从所述视频地址列表中获取所述第三视频地址。 When all second video addresses fail to play, the third video address is obtained from the video address list.
6、 根据权利要求 1所述的方法, 其特征在于, 所述当根据第一视频地址播放视频失 败时, 判断预存的视频地址列表中是否包括第二视频地址之前, 所述方法还包括: 6. The method according to claim 1, characterized in that, when the video playback based on the first video address fails, before determining whether the pre-stored video address list includes the second video address, the method further includes:
向视频服务器发送视频播放请求,所述视频播放请求携带待播放的视频标识,使得所 述视频服务器根据所述视频标识返回视频地址列表; 接收所述视频地址列表。 Send a video playback request to the video server, where the video playback request carries the video identifier to be played, so that the video server returns a video address list according to the video identifier; Receive the video address list.
7、 根据权利要求 1所述的方法, 其特征在于, 所述根据获取到的视频地址, 播放视 频之后, 所述方法还包括: 7. The method according to claim 1, characterized in that, after playing the video according to the obtained video address, the method further includes:
当所述视频地址列表中所有视频地址都播放失败时,输出提示信息,所述提示信息用 于对所述视频播放失败的提示。 When all video addresses in the video address list fail to play, prompt information is output, and the prompt information is used to prompt that the video fails to play.
8、 一种基于视频聚合服务的视频播放装置, 其特征在于, 所述装置包括: 判断模块,用于当根据第一视频地址播放视频失败时,判断预存的视频地址列表中是 否包括第二视频地址,所述第二视频地址与所述第一视频地址对应的视频清晰度相同,所 述第二视频地址与所述第一视频地址对应的视频源不同,所述视频地址列表包括所述视频 对应的不同视频源中的不同视频清晰度的视频播放地址; 8. A video playback device based on video aggregation service, characterized in that, the device includes: a judgment module, used to judge whether the second video is included in the pre-stored video address list when the video playback based on the first video address fails. address, the video definition corresponding to the second video address and the first video address is the same, the video source corresponding to the second video address and the first video address is different, and the video address list includes the video Corresponding video playback addresses of different video definitions in different video sources;
视频地址获取模块,用于当所述视频地址列表中包括所述第二视频地址时,从所述视 频地址列表中获取所述第二视频地址; A video address acquisition module, configured to obtain the second video address from the video address list when the second video address is included in the video address list;
视频播放模块, 用于根据获取到的视频地址, 播放视频。 The video playback module is used to play videos based on the obtained video address.
9、 根据权利要求 8所述的装置, 其特征在于, 所述视频地址获取模块, 还用于当所 述视频地址列表中包括多个第二视频地址时,从所述多个第二视频地址中获取任意一个第 二视频地址; 或, 当所述视频地址列表中包括多个第二视频地址时, 根据每个第二视频地 址对应视频源的优先级从高到低的顺序,从所述多个第二视频地址中获取一个优先级高的 第二视频地址。 9. The device according to claim 8, characterized in that: the video address acquisition module is further configured to: when the video address list includes multiple second video addresses, obtain the video address from the multiple second video addresses. Obtain any second video address in Obtain a second video address with a higher priority among multiple second video addresses.
10、 根据权利要求 8所述的装置, 其特征在于, 所述视频地址获取模块, 还用于当所 述视频地址列表中不包括所述第二视频地址时, 从所述视频地址列表中获取第三视频地 址, 所述第三视频地址对应的视频清晰度低于所述第一视频地址对应的视频清晰度。 10. The device according to claim 8, wherein the video address acquisition module is further configured to obtain the second video address from the video address list when the video address list does not include the second video address. A third video address, the video definition corresponding to the third video address is lower than the video definition corresponding to the first video address.
11、 根据权利要求 10所述的装置, 其特征在于, 所述视频地址获取模块, 还用于从 所述视频地址列表中,随机选择一个低于所述第一视频地址对应视频清晰度的视频地址作 为所述第三视频地址; 或, 根据当前网络状况, 从所述视频地址列表中低于所述第一视频 地址对应的视频清晰度的视频地址中,选择一个与所述网络状况匹配的视频清晰度对应的 视频地址作为所述第三视频地址。 11. The device according to claim 10, wherein the video address acquisition module is further configured to randomly select from the video address list a video with a definition lower than that of the video corresponding to the first video address. address as the third video address; or, according to the current network conditions, select one that matches the network conditions from the video address list that is lower than the video resolution corresponding to the first video address. The video address corresponding to the video definition is used as the third video address.
12、根据权利要求 8所述的装置, 其特征在于, 所述视频地址获取模块, 还用于当所 有第二视频地址均播放失败时, 从所述视频地址列表中获取所述第三视频地址。 12. The device according to claim 8, characterized in that, the video address acquisition module is further configured to obtain the third video address from the video address list when all second video addresses fail to play. .
13、 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括: 13. The device according to claim 8, characterized in that, the device further includes:
发送模块,用于向视频服务器发送视频播放请求,所述视频播放请求携带待播放的视 频标识, 使得所述视频服务器根据所述视频标识返回视频地址列表; A sending module, configured to send a video playback request to the video server, where the video playback request carries a video identifier to be played, so that the video server returns a video address list according to the video identifier;
接收模块, 用于接收所述视频地址列表。 A receiving module, configured to receive the video address list.
14、 根据权利要求 8所述的装置, 其特征在于, 所述装置还包括: 14. The device according to claim 8, characterized in that, the device further includes:
输出模块, 用于当所述视频地址列表中所有视频地址都播放失败时, 输出提示信息, 所述提示信息用于对所述视频播放失败的提示。 An output module, configured to output prompt information when all video addresses in the video address list fail to play, and the prompt information is used to prompt that the video fails to play.
15、 一种终端设备, 其特征在于, 所述终端设备包括: 处理器和存储器, 15. A terminal device, characterized in that the terminal device includes: a processor and a memory,
所述处理器,用于当根据第一视频地址播放视频失败时,判断预存的视频地址列表中 是否包括第二视频地址, 所述第二视频地址与所述第一视频地址对应的视频清晰度相同, 所述第二视频地址与所述第一视频地址对应的视频源不同,所述视频地址列表包括所述视 频对应的不同视频源中的不同视频清晰度的视频播放地址; The processor is configured to determine whether the pre-stored video address list includes a second video address when playing a video based on the first video address fails, and the video definition corresponding to the second video address and the first video address. Same, the video source corresponding to the second video address is different from the video source corresponding to the first video address, and the video address list includes video playback addresses of different video definitions in the different video sources corresponding to the video;
所述处理器,还用于当所述视频地址列表中包括所述第二视频地址时,从所述视频地 址列表中获取所述第二视频地址; The processor is also configured to obtain the second video address from the video address list when the second video address is included in the video address list;
所述处理器, 还用于根据获取到的视频地址, 播放视频。 The processor is also used to play the video according to the obtained video address.
PCT/CN2014/076096 2013-08-29 2014-04-24 Video playback method, apparatus, and terminal device based on video aggregation service WO2015027713A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310385404.2 2013-08-29
CN201310385404.2A CN103517098B (en) 2013-08-29 2013-08-29 Based on the video broadcasting method of video aggregation service, device and terminal device

Publications (1)

Publication Number Publication Date
WO2015027713A1 true WO2015027713A1 (en) 2015-03-05

Family

ID=49899006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076096 WO2015027713A1 (en) 2013-08-29 2014-04-24 Video playback method, apparatus, and terminal device based on video aggregation service

Country Status (2)

Country Link
CN (1) CN103517098B (en)
WO (1) WO2015027713A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517098B (en) * 2013-08-29 2017-04-05 小米科技有限责任公司 Based on the video broadcasting method of video aggregation service, device and terminal device
CN104811796B (en) * 2014-01-24 2018-11-16 北京猎豹移动科技有限公司 Network video continuous transmission method and device
CN103873928B (en) * 2014-03-14 2017-07-21 可牛网络技术(北京)有限公司 A kind of method, device and application server for playing video
CN103945240B (en) * 2014-04-17 2017-07-25 海信集团有限公司 A kind of video broadcasting method and device based on video aggregation
CN104135692B (en) * 2014-07-18 2017-11-10 北京奇虎科技有限公司 The loading display method and loaded and displayed device of video information
CN104135685B (en) * 2014-07-18 2017-12-19 北京奇虎科技有限公司 The display methods and display device of the broadcast information of video web page
CN104217021B (en) * 2014-09-25 2018-10-23 北京奇虎科技有限公司 Reading server, terminal device and its method for showing reading content
CN105791969B (en) * 2014-12-23 2019-03-29 深圳Tcl数字技术有限公司 Coordinate the methods, devices and systems of multiple live telecast resources
CN105100830B (en) * 2015-07-23 2019-02-15 中国科学院声学研究所 A kind of device and method for being switched fast video source based on video aggregation service
CN105933735A (en) * 2016-06-20 2016-09-07 徐汕 Automatic sorting method of live broadcast program source videos
CN108093273B (en) * 2016-11-22 2020-10-02 北京国双科技有限公司 Data sorting method, device and system
CN106658092A (en) * 2016-12-12 2017-05-10 暴风集团股份有限公司 Video aggregation playing method and system
WO2018112784A1 (en) * 2016-12-21 2018-06-28 深圳市泰普森科技有限公司 Video playing method based on set-top box and set-top box
CN108184138A (en) * 2017-11-20 2018-06-19 腾讯科技(深圳)有限公司 Video broadcasting method, server, client, storage medium and electronic device
CN107872685A (en) * 2017-11-20 2018-04-03 珠海市魅族科技有限公司 A kind of player method of multi-medium data, device and computer installation
CN109348284A (en) * 2018-11-28 2019-02-15 深圳市创维软件有限公司 A kind of channel playback method, device, equipment and medium
CN112118487B (en) * 2019-06-21 2022-01-28 腾讯科技(深圳)有限公司 Video playing control method, device, equipment and medium
CN110278452A (en) * 2019-06-24 2019-09-24 北京字节跳动网络技术有限公司 Video Acceleration of starting method, apparatus, storage medium, terminal and server
CN110909206B (en) * 2019-12-03 2023-06-23 北京百度网讯科技有限公司 Method and device for outputting information
CN114727132B (en) * 2021-01-05 2024-01-12 上海新天策数字科技有限公司 Definition address acquisition method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141622A (en) * 2007-10-23 2008-03-12 张伟华 Interactive edit and extended expression method of network video link information
CN102143385A (en) * 2011-03-16 2011-08-03 华为技术有限公司 Media play processing method, digital media server and system
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal
CN103517098A (en) * 2013-08-29 2014-01-15 小米科技有限责任公司 Video playing method, device and terminal equipment based on video aggregation service

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8510555B2 (en) * 2011-04-27 2013-08-13 Morega Systems Inc Streaming video server with virtual file system and methods for use therewith
CN102355448B (en) * 2011-06-29 2015-07-01 北京原力创新科技有限公司 Cloud streaming media data transmission method and system
CN103220577B (en) * 2012-01-18 2015-07-29 腾讯科技(深圳)有限公司 A kind of video broadcasting method, device and system
WO2014071554A1 (en) * 2012-11-06 2014-05-15 华为技术有限公司 Content recommendation method, system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141622A (en) * 2007-10-23 2008-03-12 张伟华 Interactive edit and extended expression method of network video link information
CN102143385A (en) * 2011-03-16 2011-08-03 华为技术有限公司 Media play processing method, digital media server and system
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal
CN103517098A (en) * 2013-08-29 2014-01-15 小米科技有限责任公司 Video playing method, device and terminal equipment based on video aggregation service

Also Published As

Publication number Publication date
CN103517098B (en) 2017-04-05
CN103517098A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
WO2015027713A1 (en) Video playback method, apparatus, and terminal device based on video aggregation service
US10708351B1 (en) System and method for managing media content
US8875181B2 (en) Method and system for presenting media content
WO2017107542A1 (en) Video program obtaining method, device and system
WO2015027717A1 (en) Method, apparatus and terminal device for playing online video
US20220286718A1 (en) Method for playing back live-streaming video, and device thereof
US9749373B2 (en) System and method for improved content streaming
US9860177B2 (en) Managing network load using device application programs
US9973635B1 (en) System and method for processing of a service subscription using a telecommunications operator
WO2014187234A1 (en) Ott video quality monitoring method, apparatus, and system
US9900641B2 (en) System and method for presenting support services
WO2016202046A1 (en) Method and apparatus for repairing wireless router device
CN107087293A (en) A kind of cut-in method, terminal and server
US11847042B2 (en) Automatic adjustment of a logging level of an electronic device
EP3170310A1 (en) System and method for streaming real-time video from mobile device to set-top-box connected with iptv server
CN104639976A (en) Method for synchronizing programs of set top box and mobile terminal, set top box and mobile terminal
JP2018521583A (en) Application implementation method and service controller
WO2023226341A1 (en) Network slice selection policy method, data connection creation method, and apparatus and system
CN114793291B (en) IOS multi-device real-time screen projection method, system, computer device and storage medium
CN104469420A (en) Service emergency method, device and system for interactive personality TV (IPTV)
WO2018121780A1 (en) Multimedia content association and playback method, apparatus and terminal
US9485458B2 (en) Data processing method and device
CN104935571B (en) A kind of exchange method of video game server-side and client
CN106304071A (en) A kind of network access verifying method, access authentication equipment and certificate server
CN109874025A (en) It is a kind of live streaming, time shift and look back function monitoring method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14839691

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14839691

Country of ref document: EP

Kind code of ref document: A1