WO2023103546A1 - 应用于无网络环境的健身视频流获取方法及系统 - Google Patents

应用于无网络环境的健身视频流获取方法及系统 Download PDF

Info

Publication number
WO2023103546A1
WO2023103546A1 PCT/CN2022/121808 CN2022121808W WO2023103546A1 WO 2023103546 A1 WO2023103546 A1 WO 2023103546A1 CN 2022121808 W CN2022121808 W CN 2022121808W WO 2023103546 A1 WO2023103546 A1 WO 2023103546A1
Authority
WO
WIPO (PCT)
Prior art keywords
video stream
fitness
video
slice
mirror
Prior art date
Application number
PCT/CN2022/121808
Other languages
English (en)
French (fr)
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 WO2023103546A1 publication Critical patent/WO2023103546A1/zh

Links

Images

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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of communication technology, in particular to a method and system for obtaining fitness video streams applied in a network-free environment.
  • Hyper Text Transfer Protocol Live Streaming is a streaming media network transmission protocol based on Hyper Text Transfer Protocol (HTTP) proposed by Apple. Similar to Moving Picture Experts Group-Dynamic Adaptive Streaming over HTTP (MPEG-DASH), but HLS is more concise, and its basic principle is that the server sends files or media streams according to different The code rate is divided into small fragments for transmission.
  • MPEG-DASH Moving Picture Experts Group-Dynamic Adaptive Streaming over HTTP
  • MPEG-DASH Moving Picture Experts Group-Dynamic Adaptive Streaming over HTTP
  • MPEG-DASH Moving Picture Experts Group-Dynamic Adaptive Streaming over HTTP
  • HLS technology has been widely used in fields that require video transmission, and HLS technology is often used in video transmission of fitness mirrors.
  • HLS technology relies on the data interaction between the fitness mirror and the streaming media server. If the connection between the fitness mirror and the streaming media server is interrupted, the fitness video on the fitness mirror will be interrupted, affecting the user's fitness experience.
  • the method and system for obtaining fitness video streams applied in a non-network environment provided by this application in various aspects can continuously play the fitness video of the fitness mirror when the connection between the fitness mirror and the streaming media server is interrupted, thereby improving user experience.
  • the embodiment of the present application provides a method for obtaining a fitness video stream applied in a non-network environment, and applied to a fitness mirror with a mirror display; the method includes:
  • the fitness mirror When the connection between the fitness mirror and the streaming media server is disconnected, the fitness mirror sends a data bridge request to the user electronic device;
  • the user electronic device After the user electronic device receives the data bridging request, it sends a fitness video stream playback request to the application programming interface (Application Programming Interface, API) server, and receives the video stream slice address generated by the API server according to the fitness video stream playback request;
  • API Application Programming Interface
  • the user electronic device downloads the video stream slice from the streaming media server according to the address of the video stream slice, and sends the downloaded video stream slice to the fitness mirror;
  • the fitness mirror presents video stream slices through a mirror display.
  • the fitness mirror uses HLS technology to download the fitness video from the streaming media server, and displays the fitness video through the mirror display.
  • the fitness mirror generally downloads the fitness video from the streaming server by receiving the video slice address sent by the API. If The fitness mirror loses connection with the streaming media server, indicating that the current fitness mirror has lost the way to obtain video slices, and at this time sends a data bridge request to the user's electronic device.
  • the video When using HLS technology for video playback, the video will generally be cached for a short period of time, or a whole section of video.
  • the user's electronic device is notified in time by using this short section of video playback time.
  • Electronic devices such as mobile phones, tablets and other devices, realize wireless download of video stream slices, and send them to the fitness mirror through near-field communication such as Bluetooth, so as to ensure uninterrupted fitness monitoring when the fitness mirror is disconnected from the network.
  • the video plays continuously.
  • the address corresponding to the video slice is provided by the API server.
  • the data interaction between the user electronic device and the API server is realized through the HTTPS protocol, which can improve the security of data transmission, and the data interaction between the user electronic device and the fitness mirror adopts a near-field bluetooth communication method.
  • the slice address index pre-stored on the API server is the corresponding relationship between Uniform Resource Locator (URL) and video slices.
  • the URL address searched by the API server is sent to the fitness mirror or user electronic equipment through HTTPS protocol, fitness mirror or user
  • the electronic device downloads corresponding slices from the streaming media server according to the URL address.
  • the video stream slices are downloaded and forwarded in time through the user's electronic device, which ensures that the fitness video of the fitness mirror can be played continuously and uninterrupted under various circumstances, improving user experience.
  • the data bridging request includes a first video stream slice identifier and a second video stream slice identifier; the first video stream slice identifier is an identifier of an undownloaded video stream slice in the fitness video currently played by the fitness mirror; the second The second video stream slice identifier is an identifier of a video stream slice of a fitness video that is not played in the exercise mirror playlist.
  • the user electronic device After the user electronic device receives the data bridging request, it sends a fitness video stream playback request to the API server, and receives the video stream slice addresses generated by the API server according to the fitness video stream playback request, including:
  • the user electronic device After receiving the data bridging request, the user electronic device extracts the first video stream slice identifier and the second video stream slice identifier from the data bridge request, and generates a fitness video stream to play according to the first video stream slice identifier and the second video stream slice identifier ask;
  • the user electronic device sends a fitness video stream playback request to the API server;
  • the API server generates a video stream slice address corresponding to the first video stream slice identifier and the second video stream slice identifier, and sends the video stream slice address to the user electronic device.
  • the data bridging request sent by the fitness mirror to the user electronic device includes:
  • the fitness mirror sends a first data bridging request to the user electronic device
  • the user electronic device When the user electronic device receives the first data bridging request, it disconnects from the local area network, establishes a connection with the API server through the wireless communication network, and establishes a connection with the fitness mirror through the near field communication network.
  • the method also includes:
  • the user electronic device generates corresponding video slice resolution data according to the communication rate, and writes the video slice resolution data into the fitness video stream playback request;
  • the API server extracts the video slice resolution data and the fitness video ID from the fitness video stream playback request, and generates a video stream slice address corresponding to the video slice resolution data and the fitness video ID.
  • generating a video stream slice address corresponding to the video slice resolution data and the fitness video identifier includes:
  • the API server retrieves the corresponding video stream slice address from the video stream slice index configured on the API server according to the video slice resolution data and the fitness video identifier.
  • the embodiment of the present application provides a fitness video stream acquisition system applied in a network-free environment, including a fitness mirror with a mirror display;
  • the fitness mirror is used to send a data bridge request to the user's electronic device when the connection between the fitness mirror and the streaming media server is disconnected;
  • the user electronic device After receiving the data bridging request, the user electronic device is used to send a fitness video stream playback request to the application programming interface (API) server, and receive the video stream slice address generated by the API server according to the fitness video stream playback request; according to the video stream slice address Download video stream slices from the streaming media server, and send the downloaded video stream slices to the fitness mirror;
  • API application programming interface
  • Fitness mirrors are also used to show slices of video streams via mirrored displays.
  • the data bridging request includes a first video stream slice identifier and a second video stream slice identifier; the first video stream slice identifier is an identifier of an undownloaded video stream slice in the fitness video currently played by the fitness mirror; the second The second video stream slice identifier is an identifier of a video stream slice of a fitness video that is not played in the exercise mirror playlist.
  • the user electronic equipment is further configured to extract the first video stream slice identifier and the second video stream slice identifier from the data bridge request after receiving the data bridging request, and generate fitness data according to the first video stream slice identifier and the second video stream slice identifier.
  • Video stream playback request ; send the fitness video stream playback request to the API server;
  • the API server is further configured to generate a video stream slice address corresponding to the first video stream slice identifier and the second video stream slice identifier, and send the video stream slice address to the user electronic device.
  • the fitness mirror is also used to determine whether the user electronic device and the fitness mirror are in the same local area network when the connection between the fitness mirror and the streaming media server is disconnected; if the user electronic device and the fitness mirror are in the same local area network , sending a first data bridging request to the user electronic device;
  • the user electronic device is also used for disconnecting the local area network connection when receiving the first data bridging request, establishing a connection with the API server through the wireless communication network, and establishing a connection with the fitness mirror through the near field communication network.
  • the user electronic device is also used to obtain the communication rate of the near-field communication network when the user electronic device establishes a connection with the fitness mirror through the near-field communication network; generate corresponding video slice resolution data according to the communication rate, And write the video slice resolution data into the fitness video stream playback request;
  • the API server is also used to extract the video slice resolution data and the fitness video ID from the fitness video stream playback request, and generate a video stream slice address corresponding to the video slice resolution data and the fitness video ID.
  • the API server is further configured to retrieve the corresponding video stream slice address from the video stream slice index configured on the API server according to the video slice resolution data and the fitness video identifier.
  • This application is applied to a method and system for obtaining fitness video streams in a non-network environment.
  • the video stream slices are downloaded and forwarded in time through the user's electronic device, which ensures that the fitness video of the fitness mirror can be used under various circumstances. Continuous and uninterrupted playback improves user experience.
  • FIG. 1 is a schematic flowchart of a method for acquiring a fitness video stream applied in a no-network environment provided by an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a system for obtaining fitness video streams applied in a no-network environment provided by an embodiment of the present application.
  • the term “a” should be understood as “at least one” or “one or more”, that is, in one embodiment, the number of an element can be one, while in another embodiment, the number of the element
  • the quantity can be multiple, and the term “a” cannot be understood as a limitation on the quantity.
  • FIG. 1 it is a schematic flowchart of a method for acquiring a fitness video stream applied to a no-network environment provided by the embodiment of the present application.
  • a fitness video streaming acquisition system for an environment wherein the fitness video streaming acquisition system applied to a non-network environment includes a fitness mirror with a mirror display.
  • the method for obtaining fitness video streams applied in a non-network environment may specifically include the content described in the following steps S1-S3.
  • the user electronic device After receiving the data bridging request, the user electronic device sends a fitness video stream playback request to the API server, and receives a video stream slice address generated by the API server according to the fitness video stream playback request.
  • S3 The user electronic device downloads the video stream slice from the streaming media server according to the address of the video stream slice, and sends the downloaded video stream slice to the fitness mirror; the fitness mirror displays the video stream slice through the mirror display.
  • the fitness mirror uses HLS technology to download the fitness video from the streaming media server, and displays the fitness video through the mirror display.
  • the fitness mirror generally downloads the fitness video from the streaming server by receiving the video slice address sent by the API server. If the fitness mirror loses the connection with the streaming media server, it means that the current fitness mirror has lost the way to obtain video slices, and at this time, a data bridge request is sent to the user electronic device.
  • the video When using HLS technology for video playback, the video will generally be cached for a short period of time, or a whole section of video.
  • the user's electronic device is notified in time by using this short section of video playback time.
  • Electronic devices such as mobile phones, tablets and other devices, realize wireless download of video stream slices, and send them to the fitness mirror through near-field communication such as Bluetooth, so as to ensure uninterrupted fitness monitoring when the fitness mirror is disconnected from the network.
  • the video plays continuously.
  • the address corresponding to the video slice is provided by the API server.
  • the data interaction between the user electronic device and the API server is implemented through the HTTPS protocol, which can improve the security of data transmission, and the data interaction between the user electronic device and the fitness mirror adopts a near-field Bluetooth communication method.
  • the slice address index pre-stored on the API server is the corresponding relationship between the URL and the video slice.
  • the URL address searched by the API server is sent to the fitness mirror or the user electronic device through the HTTPS protocol, and the fitness mirror or the user electronic device is downloaded from the streaming server according to the URL address. corresponding slice.
  • the video stream slices are downloaded and forwarded in time through the user's electronic device, which ensures that the fitness video of the fitness mirror can be played continuously and uninterrupted under various circumstances, improving user experience.
  • the data bridging request includes a first video stream slice identifier and a second video stream slice identifier; the first video stream slice identifier is an identifier of an undownloaded video stream slice in the fitness video currently played by the fitness mirror; the second The second video stream slice identifier is an identifier of a video stream slice of a fitness video that is not played in the exercise mirror playlist.
  • the user electronic device After receiving the data bridging request, the user electronic device sends a fitness video stream playback request to the API server, and receives the video stream slice address generated by the API server according to the fitness video stream playback request, including the following content.
  • the user electronic device After receiving the data bridging request, the user electronic device extracts the first video stream slice identifier and the second video stream slice identifier from the data bridge request, and generates a fitness video stream to play according to the first video stream slice identifier and the second video stream slice identifier Request: the user electronic device sends a fitness video stream playback request to the API server.
  • the API server generates a video stream slice address corresponding to the first video stream slice identifier and the second video stream slice identifier, and sends the video stream slice address to the user electronic device.
  • the data bridging request also includes an identifier for sending a fitness video stream playback request to the API server, wherein the first video stream slice identifier is the identifier corresponding to the video stream slice that the current video lacks, and the second video stream ID is the ID of the other videos in the playlist.
  • the user electronic device receives the video slice stream address sent by the API server, it should download the video stream slice according to the rules corresponding to HLS, that is, download and play from the first video stream identifier.
  • the data bridging request sent by the fitness mirror to the user electronic device includes:
  • the fitness mirror When the connection between the fitness mirror and the streaming media server is disconnected, it is judged whether the user's electronic device is in the same local area network as the fitness mirror; if the user's electronic device and the fitness mirror are in the same local area network, the fitness mirror sends the first A data bridging request; when the user electronic device receives the first data bridging request, it disconnects from the local area network, establishes a connection with the API server through the wireless communication network, and establishes a connection with the fitness mirror through the near field communication network.
  • the user's terminal device is often in the same local area network as the fitness mirror during the fitness process, and the user's terminal device accesses the local area network through Wireless Fidelity (WIFI).
  • WIFI Wireless Fidelity
  • the first data bridging request is also used to notify the user that the electronic device disconnects from the local area network, and passes through a wireless communication network such as a general packet radio service (General Packet Radio Service, GPRS), a fourth generation (Fourth Generation, 4G) Network, etc. establish communication with the API server, and establish near-field communication with the fitness mirror.
  • GPRS General Packet Radio Service
  • 4G fourth generation
  • the first data bridging request it may also include the authorization permission given by the fitness mirror to the user's electronic device to connect to the API server, and the near field communication pairing code.
  • the method for acquiring fitness video streams applied in a no-network environment may also include:
  • the user electronic device When the user electronic device establishes a connection with the fitness mirror through the near-field communication network, obtain the communication rate of the near-field communication network; the user electronic device generates the corresponding video slice resolution data according to the communication rate, and writes the video slice resolution data into Fitness video stream playback request; the API server extracts the video slice resolution data and fitness video ID from the fitness video stream playback request, and generates a video stream slice address corresponding to the video slice resolution data and fitness video ID.
  • the communication rate of the general near-field communication network is often not high. If the original resolution video slice data is used for transmission, it is easy to cause the video playback of the fitness mirror to freeze. Therefore, in this embodiment, use In order to obtain the communication rate of the near-field communication network, and download the video slices of the corresponding resolution, it can effectively alleviate the video jam caused by the transmission bit rate.
  • generating a video stream slice address corresponding to the video slice resolution data and the fitness video identifier includes:
  • the API server retrieves the corresponding video stream slice address from the video stream slice index configured on the API server according to the video slice resolution data and the fitness video identifier.
  • this embodiment provides a fitness video stream acquisition system applied in a network-free environment, including a fitness mirror with a mirror display.
  • the fitness mirror is used to send a data bridge request to the user electronic device when the connection between the fitness mirror and the streaming media server is disconnected.
  • the user electronic device is used to send a fitness video stream playback request to the API server after receiving the data bridging request, and receive the video stream slice address generated by the API server according to the fitness video stream playback request; download the video from the streaming media server according to the video stream slice address stream slice, and send the downloaded video stream slice to the fitness mirror.
  • Fitness mirrors are also used to show slices of video streams via mirrored displays.
  • the data bridging request includes a first video stream slice identifier and a second video stream slice identifier; the first video stream slice identifier is an identifier of an undownloaded video stream slice in the fitness video currently played by the fitness mirror; the second The second video stream slice identifier is an identifier of a video stream slice of a fitness video that is not played in the exercise mirror playlist.
  • the user electronic equipment is further configured to extract the first video stream slice identifier and the second video stream slice identifier from the data bridge request after receiving the data bridging request, and generate fitness data according to the first video stream slice identifier and the second video stream slice identifier.
  • Video stream playback request ; send the fitness video stream playback request to the API server.
  • the API server is further configured to generate a video stream slice address corresponding to the first video stream slice identifier and the second video stream slice identifier, and send the video stream slice address to the user electronic device.
  • the fitness mirror is also used to determine whether the user electronic device and the fitness mirror are in the same local area network when the connection between the fitness mirror and the streaming media server is disconnected; if the user electronic device and the fitness mirror are in the same local area network , a first data bridging request is sent to the user electronic device.
  • the user electronic device is also used for disconnecting the local area network connection when receiving the first data bridging request, establishing a connection with the API server through the wireless communication network, and establishing a connection with the fitness mirror through the near field communication network.
  • the user electronic device is also used to obtain the communication rate of the near-field communication network when the user electronic device establishes a connection with the fitness mirror through the near-field communication network; generate corresponding video slice resolution data according to the communication rate, And write the video slice resolution data into the fitness video streaming playback request.
  • the API server is also used to extract the video slice resolution data and the fitness video ID from the fitness video stream playback request, and generate a video stream slice address corresponding to the video slice resolution data and the fitness video ID.
  • the API server is further configured to retrieve the corresponding video stream slice address from the video stream slice index configured on the API server according to the video slice resolution data and the fitness video identifier.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • an integrated unit is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of this application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of software products, and the computer software products are stored in a storage medium Among them, several instructions are included to make a computer device (which may be a personal computer, a server, or a grid device, etc.) execute all or part of the steps of the methods in various embodiments of the present application.
  • the aforementioned storage media include: various media that can store program codes such as U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc. .

Abstract

本申请公开了应用于无网络环境的健身视频流获取方法及体系统,该方法包括:当健身镜与流媒体服务器的连接断开时,健身镜向用户电子设备发送数据桥接请求;用户电子设备向API服务器发送健身视频流播放请求,并接收视频流切片地址;用户电子设备根据视频流切片地址从流媒体服务器下载视频流切片,并将下载视频流切片发送至健身镜;健身镜通过镜面显示器展示视频流切片。本申请中健身镜断网期间及时通过用户电子设备进行视频流切片的下载和转发,保证了在各种情况下,健身镜的健身视频都可以持续不间断的播放,提高了用户体验。

Description

应用于无网络环境的健身视频流获取方法及系统
本申请要求于2021年12月08日提交中国专利局、申请号为202111487674.5、名称为“应用于无网络环境的健身视频流获取方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,具体涉及应用于无网络环境的健身视频流获取方法及系统。
背景技术
基于超文本传输协议直播流(Hyper Text Transfer Protocol Live Streaming,HLS)是苹果公司提出的基于超文本传输传输协议(Hyper Text Transfer Protocol,HTTP)的流媒体网络传输协议。类似于运动图像专家组-基于HTTP的动态自适应流(Moving Picture Experts Group-Dynamic Adaptive Streaming over HTTP,MPEG-DASH),但是HLS更加简洁,它的基本原理也是服务端把文件或媒体流按照不同的码率切分成一个个小片段进行传输,客户端在播放码流时,可以根据自身的带宽及性能限制,在同一视频内容的不同码率的备用源中,选择合适码率的码流进行下载播放。在传输会话开始时,客户端首先需要下载描述不同码流元数据的M3U8索引文件。
目前HLS技术已经广泛的应用在需要视频传输的领域中,健身镜的视频传输也常采用HLS技术。然而HLS技术依赖于健身镜与流媒体服务器的数据交互,如果健身镜与流媒体服务器的连接中断,会造成健身镜上健身视频中断,影响用户健身体验。
发明内容
本申请多方面提供的应用于无网络环境的健身视频流获取方法及系统能够在健身镜与流媒体服务器的连接中断时,健身镜的健身视频可以持续不间断的播放,提高用户体验。
一个方面,本申请实施例提供了应用于无网络环境的健身视频流获取方法,应用于带有镜面显示器的健身镜;该方法包括:
当健身镜与流媒体服务器的连接断开时,健身镜向用户电子设备发送数据桥接请求;
用户电子设备收到数据桥接请求后,向应用程序编程接口(Application Programming Interface,API)服务器发送健身视频流播放请求,并接收API服务器根据健身视频流播放请求生成的视频流切片地址;
用户电子设备根据视频流切片地址从流媒体服务器下载视频流切片,并将下载视频流切片发送至健身镜;
健身镜通过镜面显示器展示视频流切片。
本实施例实施时,健身镜采用HLS技术从流媒体服务器上下载健身视频,并通过镜面显示器展示该健身视频,健身镜一般通过接收API发送的视频切片地址从流媒体服务器上下载健身视频,如果健身镜失去与流媒体服务器的连接,说明当前健身镜失去了获取视频切片的途径,此时向用户电子设备发送数据桥接请求。
在采用HLS技术进行视频播放时,视频一般会额外缓存一小段时间,或者是缓存一个整段的视频,在本实施例中,利用这一小段视频播放的时间,及时通知用户电子设备,利用用户电子设备,如手机、平板等设备,实现视频流切片的无线下载,并通过近场通信如蓝牙等方式发送至健身镜,从而保证了在健身镜断网的情况下,可以无间断的对健身视频进行持续的播放。
在一些实施例中,由API服务器提供视频切片对应的地址。示例的,用户电子设备与API服务器的数据交互通过HTTPS协议实现,可以提高数 据传输的安全性,而用户电子设备与健身镜的数据交互采用近场蓝牙通信的方式。API服务器上预存的切片地址索引为统一资源定位系统(Uniform Resource Locator,URL)与视频切片的对应关系,API服务器搜索到的URL地址通过HTTPS协议发送至健身镜或用户电子设备,健身镜或用户电子设备根据URL地址从流媒体服务器下载相应的切片。本实施例中,健身镜断网期间及时通过用户电子设备进行视频流切片的下载和转发,保证了在各种情况下,健身镜的健身视频都可以持续不间断的播放,提高了用户体验。
在一些实施例中,数据桥接请求包括第一视频流切片标识和第二视频流切片标识;第一视频流切片标识为健身镜当前播放的健身视频中未下载完成的视频流切片的标识;第二视频流切片标识为健身镜播放列表中未播放的健身视频的视频流切片的标识。
用户电子设备收到数据桥接请求后,向API服务器发送健身视频流播放请求,并接收API服务器根据健身视频流播放请求生成的视频流切片地址包括:
用户电子设备收到数据桥接请求后,从数据桥接请求中提取第一视频流切片标识和第二视频流切片标识,并根据第一视频流切片标识和第二视频流切片标识生成健身视频流播放请求;
用户电子设备将健身视频流播放请求发送至API服务器;
API服务器生成对应第一视频流切片标识和第二视频流切片标识的视频流切片地址,并将视频流切片地址发送至用户电子设备。
在一些实施例中,当健身镜与流媒体服务器的连接断开时,健身镜向用户电子设备发送数据桥接请求包括:
健身镜失去与流媒体服务器的连接时,判断用户电子设备是否与健身镜处于同一个局域网络中;
如果用户电子设备与健身镜处于同一个局域网络中,则健身镜向用户电子设备发送第一数据桥接请求;
用户电子设备收到第一数据桥接请求时断开局域网连接,通过无线通信网络建立与API服务器的连接,并通过近场通信网络建立与健身镜的连接。
在一些实施例中,该方法还包括:
当用户电子设备通过近场通信网络建立与健身镜的连接时,获取近场通信网络的通信速率;
用户电子设备根据通信速率生成对应的视频切片分辨率数据,并将视频切片分辨率数据写入健身视频流播放请求;
API服务器从健身视频流播放请求中提取视频切片分辨率数据和健身视频标识,并生成对应视频切片分辨率数据和健身视频标识的视频流切片地址。
在一些实施例中,生成对应视频切片分辨率数据和健身视频标识的视频流切片地址包括:
API服务器根据视频切片分辨率数据和健身视频标识从配置于API服务器的视频流切片索引中检索出对应的视频流切片地址。
另一个方面,本申请实施例提供了应用于无网络环境的健身视频流获取系统,包括带有镜面显示器的健身镜;
健身镜用于当健身镜与流媒体服务器的连接断开时,向用户电子设备发送数据桥接请求;
用户电子设备用于收到数据桥接请求后,向应用程序编程接口(API)服务器发送健身视频流播放请求,并接收API服务器根据健身视频流播放请求生成的视频流切片地址;根据视频流切片地址从流媒体服务器下载视频流切片,并将下载视频流切片发送至健身镜;
健身镜还用于通过镜面显示器展示视频流切片。
在一些实施例中,数据桥接请求包括第一视频流切片标识和第二视频流切片标识;第一视频流切片标识为健身镜当前播放的健身视频中未下载 完成的视频流切片的标识;第二视频流切片标识为健身镜播放列表中未播放的健身视频的视频流切片的标识。
用户电子设备还用于收到数据桥接请求后,从数据桥接请求中提取第一视频流切片标识和第二视频流切片标识,并根据第一视频流切片标识和第二视频流切片标识生成健身视频流播放请求;将健身视频流播放请求发送至API服务器;
API服务器还用于生成对应第一视频流切片标识和第二视频流切片标识的视频流切片地址,并将视频流切片地址发送至用户电子设备。
在一些实施例中,健身镜还用于健身镜与流媒体服务器的连接断开时,判断用户电子设备是否与健身镜处于同一个局域网络中;如果用户电子设备与健身镜处于同一个局域网络中,则向用户电子设备发送第一数据桥接请求;
用户电子设备还用于收到第一数据桥接请求时断开局域网连接,通过无线通信网络建立与API服务器的连接,并通过近场通信网络建立与健身镜的连接。
在一些实施例中,用户电子设备还用于当用户电子设备通过近场通信网络建立与健身镜的连接时,获取近场通信网络的通信速率;根据通信速率生成对应的视频切片分辨率数据,并将视频切片分辨率数据写入健身视频流播放请求;
API服务器还用于从健身视频流播放请求中提取视频切片分辨率数据和健身视频标识,并生成对应视频切片分辨率数据和健身视频标识的视频流切片地址。
在一些实施例中,API服务器还用于根据视频切片分辨率数据和健身视频标识从配置于API服务器的视频流切片索引中检索出对应的视频流切片地址。
本申请应用于无网络环境的健身视频流获取方法及系统,健身镜断 网期间及时通过用户电子设备进行视频流切片的下载和转发,保证了在各种情况下,健身镜的健身视频都可以持续不间断的播放,提高了用户体验。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据附图获得其他的附图。
图1为本申请实施例所提供的应用于无网络环境的健身视频流获取方法的流程示意图。
图2为本申请实施例所提供的应用于无网络环境的健身视频流获取系统的结构示意图。
具体实施方式
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施方式对本申请进行进一步的详细描述。需要说明的是,在相互不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本申请,但是,本申请还可以采用其他不同于在此描述范围内的其他方式来实施,因此,本申请的保护范围并不受下面公开的具体实施例的限制。
本领域技术人员应理解的是,在本申请的揭露中,术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系是基于附图所示的方位或位置关系,其仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此上述术语不能理解为对本申请的限制。
可以理解的是,术语“一”应理解为“至少一”或“一个或多个”,即在一个实施例中,一个元件的数量可以为一个,而在另外的实施例中,该元件的数量可以为多个,术语“一”不能理解为对数量的限制。
结合参阅图1,为本申请实施例所提供的应用于无网络环境的健身视频流获取方法的流程示意图,应用于无网络环境的健身视频流获取方法可以应用于图1中的应用于无网络环境的健身视频流获取系统,其中应用于无网络环境的健身视频流获取系统包括带有镜面显示器的健身镜。应用于无网络环境的健身视频流获取方法具体可以包括以下步骤S1-步骤S3所描述的内容。
S1:当健身镜与流媒体服务器的连接断开时,健身镜向用户电子设备发送数据桥接请求。
S2:用户电子设备收到数据桥接请求后,向API服务器发送健身视频流播放请求,并接收API服务器根据健身视频流播放请求生成的视频流切片地址。
S3:用户电子设备根据视频流切片地址从流媒体服务器下载视频流切片,并将下载视频流切片发送至健身镜;健身镜通过镜面显示器展示视频流切片。
本实施例实施时,健身镜采用HLS技术从流媒体服务器上下载健身视频,并通过镜面显示器展示该健身视频,健身镜一般通过接收API服务器发送的视频切片地址从流媒体服务器上下载健身视频,如果健身镜失去与流媒体服务器的连接,说明当前健身镜失去了获取视频切片的途径,此时向用户电子设备发送数据桥接请求。
在采用HLS技术进行视频播放时,视频一般会额外缓存一小段时间,或者是缓存一个整段的视频,在本实施例中,利用这一小段视频播放的时间,及时通知用户电子设备,利用用户电子设备,如手机、平板等设备,实现视频流切片的无线下载,并通过近场通信如蓝牙等方式发送至健身镜, 从而保证了在健身镜断网的情况下,可以无间断的对健身视频进行持续的播放。
在一些实施例中,由API服务器提供视频切片对应的地址。示例的,用户电子设备与API服务器的数据交互通过HTTPS协议实现,可以提高数据传输的安全性,而用户电子设备与健身镜的数据交互采用近场蓝牙通信的方式。API服务器上预存的切片地址索引为URL与视频切片的对应关系,API服务器搜索到的URL地址通过HTTPS协议发送至健身镜或用户电子设备,健身镜或用户电子设备根据URL地址从流媒体服务器下载相应的切片。本实施例中,健身镜断网期间及时通过用户电子设备进行视频流切片的下载和转发,保证了在各种情况下,健身镜的健身视频都可以持续不间断的播放,提高了用户体验。
在一些实施例中,数据桥接请求包括第一视频流切片标识和第二视频流切片标识;第一视频流切片标识为健身镜当前播放的健身视频中未下载完成的视频流切片的标识;第二视频流切片标识为健身镜播放列表中未播放的健身视频的视频流切片的标识。
用户电子设备收到数据桥接请求后,向API服务器发送健身视频流播放请求,并接收API服务器根据健身视频流播放请求生成的视频流切片地址包括如下内容。
用户电子设备收到数据桥接请求后,从数据桥接请求中提取第一视频流切片标识和第二视频流切片标识,并根据第一视频流切片标识和第二视频流切片标识生成健身视频流播放请求;用户电子设备将健身视频流播放请求发送至API服务器。
API服务器生成对应第一视频流切片标识和第二视频流切片标识的视频流切片地址,并将视频流切片地址发送至用户电子设备。
本实施例实施时,数据桥接请求还包括用于向API服务器发送健身视频流播放请求的标识,其中,第一视频流切片标识是当前视频所缺少的视 频流切片对应标识,而第二视频流标识是播放列表中其他视频的标识。应当理解的是,用户电子设备在收到API服务器发送的视频切片流地址时,应当按照HLS对应的规则进行视频流切片的下载,即从第一视频流标识开始下载并播放。
在一些实施例中,当健身镜与流媒体服务器的连接断开时,健身镜向用户电子设备发送数据桥接请求包括:
健身镜与流媒体服务器的连接断开时,判断用户电子设备是否与健身镜处于同一个局域网络中;如果用户电子设备与健身镜处于同一个局域网络中,则健身镜向用户电子设备发送第一数据桥接请求;用户电子设备收到第一数据桥接请求时断开局域网连接,通过无线通信网络建立与API服务器的连接,并通过近场通信网络建立与健身镜的连接。
本实施例实施时,很多时候在健身的过程之中,用户的终端设备经常会和健身镜处在同一个局域网中,用户的终端设备通过无线保真(Wireless Fidelity,WIFI)接入该局域网,而健身镜发生与视频流服务器的连接断开,往往是因为该局域网失去了外网连接。所以在本实施例中,第一数据桥接请求还用于通知用户电子设备断开局域网、通过无线通信网络如通用无线分组业务(General Packet Radio Service,GPRS)、第四代(Fourth Generation,4G)网络等建立和API服务器的通信,并建立与健身镜的近场通信。应当理解的是,在第一数据桥接请求中,还可以包括健身镜给予用户电子设备的连接API服务器的授权许可,以及近场通信配对码。
在一些实施例中,应用于无网络环境的健身视频流获取方法还可以包括:
当用户电子设备通过近场通信网络建立与健身镜的连接时,获取近场通信网络的通信速率;用户电子设备根据通信速率生成对应的视频切片分辨率数据,并将视频切片分辨率数据写入健身视频流播放请求;API服务器从健身视频流播放请求中提取视频切片分辨率数据和健身视频标识,并 生成对应视频切片分辨率数据和健身视频标识的视频流切片地址。
本实施例实施时,一般的近场通信网络的通信速率往往不高,如果采用原分辨率的视频切片数据进行传输,很容易造成健身镜的视频播放卡顿,所以在本实施例中,采用了获取近场通信网络的通信速率,并进行对应分辨率的视频切片的下载,有效缓解传输码率带来的视频卡顿。
在一些实施例中,生成对应视频切片分辨率数据和健身视频标识的视频流切片地址包括:
API服务器根据视频切片分辨率数据和健身视频标识从配置于API服务器的视频流切片索引中检索出对应的视频流切片地址。
请参阅图2,基于相同的发明构思,本实施例提供了应用于无网络环境的健身视频流获取系统,包括带有镜面显示器的健身镜。
健身镜用于当健身镜与流媒体服务器的连接断开时,向用户电子设备发送数据桥接请求。
用户电子设备用于收到数据桥接请求后,向API服务器发送健身视频流播放请求,并接收API服务器根据健身视频流播放请求生成的视频流切片地址;根据视频流切片地址从流媒体服务器下载视频流切片,并将下载视频流切片发送至健身镜。
健身镜还用于通过镜面显示器展示视频流切片。
在一些实施例中,数据桥接请求包括第一视频流切片标识和第二视频流切片标识;第一视频流切片标识为健身镜当前播放的健身视频中未下载完成的视频流切片的标识;第二视频流切片标识为健身镜播放列表中未播放的健身视频的视频流切片的标识。
用户电子设备还用于收到数据桥接请求后,从数据桥接请求中提取第一视频流切片标识和第二视频流切片标识,并根据第一视频流切片标识和第二视频流切片标识生成健身视频流播放请求;将健身视频流播放请求发送至API服务器。
API服务器还用于生成对应第一视频流切片标识和第二视频流切片标识的视频流切片地址,并将视频流切片地址发送至用户电子设备。
在一些实施例中,健身镜还用于健身镜与流媒体服务器的连接断开时,判断用户电子设备是否与健身镜处于同一个局域网络中;如果用户电子设备与健身镜处于同一个局域网络中,则向用户电子设备发送第一数据桥接请求。
用户电子设备还用于收到第一数据桥接请求时断开局域网连接,通过无线通信网络建立与API服务器的连接,并通过近场通信网络建立与健身镜的连接。
在一些实施例中,用户电子设备还用于当用户电子设备通过近场通信网络建立与健身镜的连接时,获取近场通信网络的通信速率;根据通信速率生成对应的视频切片分辨率数据,并将视频切片分辨率数据写入健身视频流播放请求。
API服务器还用于从健身视频流播放请求中提取视频切片分辨率数据和健身视频标识,并生成对应视频切片分辨率数据和健身视频标识的视频流切片地址。
在一些实施例中,API服务器还用于根据视频切片分辨率数据和健身视频标识从配置于API服务器的视频流切片索引中检索出对应的视频流切片地址。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网格设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、 随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (11)

  1. 一种健身视频流获取方法,应用于带有镜面显示器的健身镜;所述方法包括:
    当所述健身镜与流媒体服务器的连接断开时,所述健身镜向用户电子设备发送数据桥接请求;
    所述用户电子设备收到所述数据桥接请求后,向应用程序编程接口(API)服务器发送健身视频流播放请求,并接收所述API服务器根据所述健身视频流播放请求生成的视频流切片地址;
    所述用户电子设备根据所述视频流切片地址从所述流媒体服务器下载视频流切片,并将所述下载视频流切片发送至所述健身镜;
    所述健身镜通过所述镜面显示器展示所述视频流切片。
  2. 根据权利要求1所述的健身视频流获取方法,其中,所述数据桥接请求包括第一视频流切片标识和第二视频流切片标识;所述第一视频流切片标识为健身镜当前播放的健身视频中未下载完成的视频流切片的标识;所述第二视频流切片标识为健身镜播放列表中未播放的健身视频的视频流切片的标识;
    所述用户电子设备收到所述数据桥接请求后,向应用程序编程接口(API)服务器发送健身视频流播放请求,并接收所述API服务器根据所述健身视频流播放请求生成的视频流切片地址包括:
    所述用户电子设备收到所述数据桥接请求后,从所述数据桥接请求中提取所述第一视频流切片标识和所述第二视频流切片标识,并根据所述第一视频流切片标识和所述第二视频流切片标识生成健身视频流播放请求;
    所述用户电子设备将所述健身视频流播放请求发送至所述API服务器;
    所述API服务器生成对应所述第一视频流切片标识和所述第二视频流切片标识的视频流切片地址,并将所述视频流切片地址发送至所述用户电子设备。
  3. 根据权利要求1或2所述的健身视频流获取方法,其中,当所述健身镜与流媒体服务器的连接断开时,所述健身镜向用户电子设备发送数据桥接请求包括:
    所述健身镜与所述流媒体服务器的连接断开时,判断所述用户电子设备是否与所述健身镜处于同一个局域网络中;
    如果所述用户电子设备与所述健身镜处于同一个局域网络中,则所述健身镜向所述用户电子设备发送第一数据桥接请求;
    所述用户电子设备收到所述第一数据桥接请求时断开局域网连接,通过无线通信网络建立与所述API服务器的连接,并通过近场通信网络建立与所述健身镜的连接。
  4. 根据权利要求3所述的健身视频流获取方法,还包括:
    当所述用户电子设备通过所述近场通信网络建立与所述健身镜的连接时,获取所述近场通信网络的通信速率;
    所述用户电子设备根据所述通信速率生成对应的视频切片分辨率数据,并将所述视频切片分辨率数据写入所述健身视频流播放请求;
    所述API服务器从所述健身视频流播放请求中提取所述视频切片分辨率数据和健身视频标识,并生成对应所述视频切片分辨率数据和所述健身视频标识的所述视频流切片地址。
  5. 根据权利要求4所述的健身视频流获取方法,其中,生成对应所述视频切片分辨率数据和所述健身视频标识的所述视频流切片地址包括:
    所述API服务器根据所述视频切片分辨率数据和所述健身视频标识从配置于所述API服务器的视频流切片索引中检索出对应的所述视频流切片地址。
  6. 一种健身视频流获取系统,包括带有镜面显示器的健身镜;
    所述健身镜用于当所述健身镜与流媒体服务器的连接断开时,向用户电子设备发送数据桥接请求;
    所述用户电子设备用于收到所述数据桥接请求后,向应用程序编程接口 (API)服务器发送健身视频流播放请求,并接收所述API服务器根据所述健身视频流播放请求生成的视频流切片地址;根据所述视频流切片地址从所述流媒体服务器下载视频流切片,并将所述下载视频流切片发送至所述健身镜;
    所述健身镜还用于通过所述镜面显示器展示所述视频流切片。
  7. 根据权利要求6所述的健身视频流获取系统,其中,所述数据桥接请求包括第一视频流切片标识和第二视频流切片标识;所述第一视频流切片标识为健身镜当前播放的健身视频中未下载完成的视频流切片的标识;所述第二视频流切片标识为健身镜播放列表中未播放的健身视频的视频流切片的标识;
    所述用户电子设备还用于收到所述数据桥接请求后,从所述数据桥接请求中提取所述第一视频流切片标识和所述第二视频流切片标识,并根据所述第一视频流切片标识和所述第二视频流切片标识生成健身视频流播放请求;将所述健身视频流播放请求发送至所述API服务器;
    所述API服务器还用于生成对应所述第一视频流切片标识和所述第二视频流切片标识的视频流切片地址,并将所述视频流切片地址发送至所述用户电子设备。
  8. 根据权利要求6或7所述的健身视频流获取系统,其中,所述健身镜还用于所述健身镜与所述流媒体服务器的连接断开时,判断所述用户电子设备是否与所述健身镜处于同一个局域网络中;如果所述用户电子设备与所述健身镜处于同一个局域网络中,则向所述用户电子设备发送第一数据桥接请求;
    所述用户电子设备还用于收到所述第一数据桥接请求时断开局域网连接,通过无线通信网络建立与所述API服务器的连接,并通过近场通信网络建立与所述健身镜的连接。
  9. 根据权利要求8所述的健身视频流获取系统,其中,所述用户电子设 备还用于当所述用户电子设备通过所述近场通信网络建立与所述健身镜的连接时,获取所述近场通信网络的通信速率;根据所述通信速率生成对应的视频切片分辨率数据,并将所述视频切片分辨率数据写入所述健身视频流播放请求;
    所述API服务器还用于从所述健身视频流播放请求中提取所述视频切片分辨率数据和健身视频标识,并生成对应所述视频切片分辨率数据和所述健身视频标识的所述视频流切片地址。
  10. 根据权利要求9所述的健身视频流获取系统,其中,所述API服务器还用于根据所述视频切片分辨率数据和所述健身视频标识从配置于所述API服务器的视频流切片索引中检索出对应的所述视频流切片地址。
  11. 一种计算机可读取存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的健身视频流获取方法的步骤。
PCT/CN2022/121808 2021-12-08 2022-09-27 应用于无网络环境的健身视频流获取方法及系统 WO2023103546A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111487674.5A CN116248952A (zh) 2021-12-08 2021-12-08 应用于无网络环境的健身视频流获取方法及系统
CN202111487674.5 2021-12-08

Publications (1)

Publication Number Publication Date
WO2023103546A1 true WO2023103546A1 (zh) 2023-06-15

Family

ID=86631827

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/121808 WO2023103546A1 (zh) 2021-12-08 2022-09-27 应用于无网络环境的健身视频流获取方法及系统

Country Status (2)

Country Link
CN (1) CN116248952A (zh)
WO (1) WO2023103546A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010130198A1 (zh) * 2009-05-11 2010-11-18 华为终端有限公司 一种接入网的切换方法、系统和设备
CN104093064A (zh) * 2013-07-12 2014-10-08 腾讯科技(北京)有限公司 在终端设备之间进行视频互动的方法、系统及装置
GB201512851D0 (en) * 2015-07-21 2015-09-02 Univ Guangdong Technology Digital home network multimedia share system and share method thereof
CN105812895A (zh) * 2016-03-17 2016-07-27 张俊莲 一种视频点播数据处理方法及其系统
US20180139486A1 (en) * 2015-04-29 2018-05-17 Ms45 Srl A method and system for transmitting on demand videos of fitness sessions on fixed and/or mobile electronic devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010130198A1 (zh) * 2009-05-11 2010-11-18 华为终端有限公司 一种接入网的切换方法、系统和设备
CN104093064A (zh) * 2013-07-12 2014-10-08 腾讯科技(北京)有限公司 在终端设备之间进行视频互动的方法、系统及装置
US20180139486A1 (en) * 2015-04-29 2018-05-17 Ms45 Srl A method and system for transmitting on demand videos of fitness sessions on fixed and/or mobile electronic devices
GB201512851D0 (en) * 2015-07-21 2015-09-02 Univ Guangdong Technology Digital home network multimedia share system and share method thereof
CN105812895A (zh) * 2016-03-17 2016-07-27 张俊莲 一种视频点播数据处理方法及其系统

Also Published As

Publication number Publication date
CN116248952A (zh) 2023-06-09

Similar Documents

Publication Publication Date Title
US20220006856A1 (en) Connected-media end user experience using an overlay network
JP6169690B2 (ja) 装置方位能力交換シグナリング及び装置方位に応答するマルチメディアコンテンツのサーバ適応
US10009659B2 (en) System and method for hybrid push-based streaming
EP2946542B1 (en) Supporting transport diversity and time-shifted buffers for media streaming over a network
US9367125B2 (en) Terminal apparatus for shooting and distributing video data and video-data distribution method
JP2016538754A (ja) コンテンツ配信のための方法及び装置
AU2008359277A1 (en) Proxy functionality
CN101848205A (zh) 一种基于rtsp的移动终端播放流媒体的方法及系统
WO2016015419A1 (zh) 流媒体的播放方法与播放装置
WO2015192683A1 (zh) 一种基于码流自适应技术的内容分发方法、装置及系统
CN104363511B (zh) 一种在移动设备中在线播放F4v视频的方法及系统
US10404606B2 (en) Method and apparatus for acquiring video bitstream
KR102636993B1 (ko) Http를 통한 동적 적응적 스트리밍을 위한 방법 및 장치
WO2014072739A1 (en) Video distribution
US10750248B1 (en) Method and apparatus for server-side content delivery network switching
CN111355979B (zh) 一种在线音频快速播放方法
WO2023103546A1 (zh) 应用于无网络环境的健身视频流获取方法及系统
EP3461135A1 (fr) Procédé de gestion du droit d'accès à un contenu numérique
KR20140117977A (ko) 엔스크린 서비스의 에이에스엠디를 지원하는 시스템 및 그 방법
US11671681B2 (en) Method of processing an error during the rendering of a digital content
KR102597653B1 (ko) 무선 스트리밍 방법

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: 22902971

Country of ref document: EP

Kind code of ref document: A1