CN116248952A - Body-building video stream acquisition method and system applied to network-free environment - Google Patents

Body-building video stream acquisition method and system applied to network-free environment Download PDF

Info

Publication number
CN116248952A
CN116248952A CN202111487674.5A CN202111487674A CN116248952A CN 116248952 A CN116248952 A CN 116248952A CN 202111487674 A CN202111487674 A CN 202111487674A CN 116248952 A CN116248952 A CN 116248952A
Authority
CN
China
Prior art keywords
video stream
video
slice
mirror
exercise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111487674.5A
Other languages
Chinese (zh)
Inventor
赵天爵
邵彬
陈亮
杨双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Fit Future Technology Co Ltd
Original Assignee
Chengdu Fit Future Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Fit Future Technology Co Ltd filed Critical Chengdu Fit Future Technology Co Ltd
Priority to CN202111487674.5A priority Critical patent/CN116248952A/en
Priority to PCT/CN2022/121808 priority patent/WO2023103546A1/en
Publication of CN116248952A publication Critical patent/CN116248952A/en
Pending legal-status Critical Current

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 stream to a specific local network, e.g. a 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 stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a 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 or rendering scenes according to encoded video stream 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a body-building video stream acquisition method applied to a network-free environment, which comprises the following steps: the exercise mirror receives a video stream slice address generated by the API server according to the exercise video stream play request; the body-building video stream playing request is initiated to an API server by an APP configured on user electronic equipment; the body-building mirror downloads the video stream slice from the streaming media server according to the video stream slice address; the gymnastic mirror displays the video stream slice through the mirror display. The invention also discloses a body-building video stream acquisition system applied to the network-free environment. The exercise mirror does not need to interact with the APP directly, only needs to passively receive the video slice address and download the video from the streaming media server according to the video slice address, does not need to transfer the data by the transfer server, does not need to interact with the APP through the home gateway, is convenient to operate, and can effectively reduce the operation cost.

Description

Body-building video stream acquisition method and system applied to network-free environment
Technical Field
The invention relates to the technical field of communication, in particular to a body-building video stream acquisition method and system applied to a network-free environment.
Background
HLS is an HTTP-based streaming network transport protocol proposed by apple inc. Similar to MPEG-DASH, but HLS is more concise, its basic principle is that the server divides the file or media stream into small segments according to different code rates for transmission, and the client can select the code stream with proper code rate for downloading and playing in the standby sources with different code rates of the same video content according to the bandwidth and performance limit of the client when playing the code stream. At the beginning of a transmission session, the client first needs to download an M3U8 index file describing metadata of different code streams.
Currently, HLS technology is widely applied in the field where video transmission is required, and HLS technology is also often adopted for video transmission of body-building mirrors. However, HLS technology relies on data interaction between the fitness mirror and the streaming media server, and if the connection between the fitness mirror and the streaming media server is interrupted, the video on the fitness mirror is interrupted, which affects the fitness experience of the user.
Disclosure of Invention
The invention aims to provide a method and a system for acquiring body-building video stream for a network-free environment, which solve the problems that the body-building video on a body-building mirror is interrupted and the body-building experience of a user is influenced due to the fact that the connection between the body-building mirror and a streaming media server in the prior art is interrupted.
The invention is realized by the following technical scheme:
in one aspect, the present embodiments provide a method of acquiring a body-building video stream for use in a network-free environment for use with a body-building mirror having a mirror display; the method comprises the following steps:
when the body-building mirror loses the connection with the streaming media server, the body-building mirror sends a data bridging request to an APP configured on user electronic equipment;
after receiving the data bridging request, the APP sends a body-building video stream playing request to an API server, and receives a video stream slice address generated by the API server according to the body-building video stream playing request;
the APP downloads a video stream slice from the streaming media server according to the video stream slice address and sends the downloaded video stream slice to the gymnastic mirror;
the fitness mirror displays the video stream slice through the mirror display.
Further, 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 a video stream slice which is not downloaded in the exercise video currently played by the exercise mirror; the second video stream slice identifier is an identifier of a video stream slice of the exercise video which is not played in the exercise mirror playlist;
after receiving the data bridging request, the APP sends a body-building video stream playing request to an API server, and receives a video stream slice address generated by the API server according to the body-building video stream playing request, wherein the video stream slice address comprises:
after the APP receives the data bridging request, extracting the first video stream slice identifier and the second video stream slice identifier from the data bridging request, and generating an exercise video stream playing request according to the first video stream slice identifier and the second video stream slice identifier;
the APP sends the exercise video stream playing 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 APP.
Further, when the fitness mirror loses connection with the streaming server, sending a data bridging request to an APP configured on the consumer electronic device comprises:
when the body-building mirror loses connection with the streaming media server, judging whether the APP and the body-building mirror are in the same local area network;
if the APP and the exercise mirror are in the same local area network, the exercise mirror sends a first data bridging request to the APP;
and when the APP receives the first data bridging request, disconnecting the local area network, establishing connection with the API server through a wireless communication network, and establishing connection with the gymnastic mirror through a near field communication network.
Further, when the APP establishes connection with the body-building mirror through a near field communication network, the communication rate of the near field communication network is obtained;
the APP generates corresponding video slice resolution data according to the communication rate, and writes the video slice resolution data into a body-building video stream playing request;
the API server extracts the video slice resolution data and the exercise video identification from the exercise video stream play request and generates a video stream slice address corresponding to the video slice resolution data and the exercise video identification.
Further, generating the video stream slice address corresponding to the video slice resolution data and the workout video identification includes:
and the API server retrieves the corresponding video stream slice address from the video stream slice index configured in the API server according to the video slice resolution data and the fitness video identification.
In another aspect, the present embodiments provide an exercise video stream acquisition system for use in a network-less environment, including for use with an exercise mirror having a mirror display;
when the body-building mirror loses the connection with the streaming media server, the body-building mirror sends a data bridging request to an APP configured on user electronic equipment;
after receiving the data bridging request, the APP sends a body-building video stream playing request to an API server, and receives a video stream slice address generated by the API server according to the body-building video stream playing request;
the APP downloads a video stream slice from the streaming media server according to the video stream slice address and sends the downloaded video stream slice to the gymnastic mirror;
the fitness mirror displays the video stream slice through the mirror display.
Further, 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 a video stream slice which is not downloaded in the exercise video currently played by the exercise mirror; the second video stream slice identifier is an identifier of a video stream slice of the exercise video which is not played in the exercise mirror playlist;
after receiving the data bridging request, the APP sends a body-building video stream playing request to an API server, and receives a video stream slice address generated by the API server according to the body-building video stream playing request, wherein the video stream slice address comprises:
after the APP receives the data bridging request, extracting the first video stream slice identifier and the second video stream slice identifier from the data bridging request, and generating an exercise video stream playing request according to the first video stream slice identifier and the second video stream slice identifier;
the APP sends the exercise video stream playing 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 APP.
Further, when the body-building mirror loses connection with the streaming media server, judging whether the APP and the body-building mirror are in the same local area network;
if the APP and the exercise mirror are in the same local area network, the exercise mirror sends a first data bridging request to the APP;
and when the APP receives the first data bridging request, disconnecting the local area network, establishing connection with the API server through a wireless communication network, and establishing connection with the gymnastic mirror through a near field communication network.
Further, when the APP establishes connection with the body-building mirror through a near field communication network, the communication rate of the near field communication network is obtained;
the APP generates corresponding video slice resolution data according to the communication rate, and writes the video slice resolution data into a body-building video stream playing request;
the API server extracts the video slice resolution data and the exercise video identification from the exercise video stream play request and generates a video stream slice address corresponding to the video slice resolution data and the exercise video identification.
Further, the API server retrieves a corresponding video stream slice address from a video stream slice index configured to the API server according to the video slice resolution data and the fitness video identification.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the exercise mirror does not need to interact with the APP directly, only needs to passively receive the video slice address and download the video from the streaming media server according to the video slice address, does not need to transfer the data by the transfer server, does not need to interact with the APP through the home gateway, is convenient to operate, and can effectively reduce the operation cost.
Drawings
The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention. In the drawings:
FIG. 1 is a schematic diagram of steps of a method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a system architecture according to an embodiment of the invention.
Detailed Description
For the purpose of making apparent the objects, technical solutions and advantages of the present invention, the present invention will be further described in detail with reference to the following examples and the accompanying drawings, wherein the exemplary embodiments of the present invention and the descriptions thereof are for illustrating the present invention only and are not to be construed as limiting the present invention.
Examples
Referring to fig. 1 in combination, a flowchart of a method for acquiring a body-building video stream applied to a network-free environment according to an embodiment of the present invention is provided, where the method for acquiring a body-building video stream applied to a network-free environment may be applied to the body-building video stream acquisition system applied to a network-free environment in fig. 1, where the body-building video stream acquisition system applied to a network-free environment includes a body-building mirror with a mirror display. Further, the exercise video stream obtaining method applied to the network-free environment specifically may include the following descriptions of step S1 to step S3.
S1: the exercise mirror receives a video stream slice address generated by an API server according to an exercise video stream play request; the exercise video stream playing request is initiated to the API server by an APP configured on the user electronic equipment;
s2: the gymnastic mirror downloads the video stream slice from the streaming media server according to the video stream slice address;
s3: the fitness mirror displays the video stream slice through the mirror display.
In the prior art, the intelligent home and the user terminal equipment are generally realized through a transfer server, and if the intelligent home and the user terminal equipment are required to be directly communicated, the home gateway equipment such as a router and the like are required to be correspondingly set, so that the intelligent home gateway equipment is inconvenient to apply. For example, when a mobile phone observes a home camera, the camera generally sends a shot image to a transfer server through a home router, and then the image is forwarded to the mobile phone by the transfer server to complete timely image transmission, so that the setting of the transfer server can obviously increase the operation cost.
When the embodiment is implemented, a scheme is provided for directly communicating with the body-building mirror without user terminal equipment APP; the body-building mirror only needs to interact with the API server instead of the user terminal equipment APP, and the API server is an existing server and mainly aims at providing the body-building mirror with an address corresponding to the video slice. The manner adopted in this embodiment is a conventional HLS manner, and the API server provides the address corresponding to the video slice. By way of example, the data interaction between the APP and the API server is realized through an HTTPS protocol, so that the safety of data transmission can be improved, and the data interaction between the API server and the body-building mirror also adopts the HTTPS protocol. The slice address index pre-stored on the API server is the corresponding relation between the URL and the video slice, the URL address searched by the API server is sent to the gymnastic mirror through the HTTPS protocol, and the gymnastic mirror downloads the corresponding slice from the streaming media server according to the URL address.
In this embodiment, the exercise video stream playing request sent by the APP may be directly sent to the API server, and the API server extracts the video slice address corresponding to the exercise video to be played according to the exercise video stream playing request, and directly sends the address to the exercise mirror. In this embodiment, the body-building mirror does not need to interact directly with the APP, only needs to passively receive the video slice address and download video from the streaming media server according to the video slice address, does not need to transfer the data by the transfer server, does not need to interact with the APP through the home gateway, is convenient to operate, and can effectively reduce the operation cost.
In one embodiment, the API server has a video stream slice index configured thereon;
the generation process of the video stream slice address comprises the following steps:
and the API server extracts the exercise video identification from the exercise video stream playing request, and retrieves the video stream slice address corresponding to the exercise video identification from the video stream slice index according to the exercise video identification.
In one embodiment, when a user training program is configured on the APP, the APP obtains a body-building video identifier of each section of body-building video in the user training program and a starting time of each section of body-building video, and generates the body-building video stream playing request according to the body-building video identifier and the starting time;
the API server generates a video stream slice address according to the fitness video identifier, and adds the starting time as a time stamp of the fitness video in the video stream slice address to the video stream slice address;
the fitness mirror receives a video stream slice address added with a time stamp and sent by the API server;
and the body-building mirror downloads the video stream slice from the streaming media server according to the video stream slice address, and displays the corresponding video stream slice through the mirror display according to the timestamp.
When the embodiment is implemented, in order to improve user experience, a training plan of a user can be formulated on an APP corresponding to the exercise mirror, but because the APP is not in direct communication with the exercise mirror in the embodiment, the embodiment adopts the steps that an exercise video identifier and a starting time in the training plan are acquired through a user terminal APP, and information is sent to an API server; the starting time is added into the video stream slice address as a time stamp by the API server, and the API server does not pre-store relevant information of the user, so that the video stream slice address with the time stamp can be directly generated without acquiring the relevant information of the user. The body-building mirror can download the video stream slice according to the video stream slice address, play the video according to the time stamp, and the whole process can completely realize automatic transmission and identification without intervention of users.
In one embodiment, the gymnastic mirror integrates the video stream slices into video stream data when acquiring the video stream slices;
the fitness mirror extracts user habit data corresponding to the video stream data from a user habit library configured on the fitness mirror; the user habit data comprises video switching time and video pause time;
the body-building mirror selects a plurality of video frames from the video stream data according to the video switching time, and inserts video switching prompts into the video frames to serve as switching prompt frames; the gymnastic mirror selects a plurality of video frames from the video stream data according to the video pause time, and inserts a video pause prompt into the plurality of video frames as a pause prompt frame;
when the body-building mirror displays the switching prompt frame through the mirror display, switching or continuing playing the video according to the gesture instruction of the user; and when the body-building mirror displays the pause prompt frame through the mirror display, pausing or continuing playing the video according to the gesture instruction of the user.
In the implementation of this embodiment, although the user equipment carried with the user should be able to establish communication with the exercise mirror during the exercise, if the exercise video needs to be processed by immediate calculation during the exercise, the exercise mirror itself needs to have better computing resources. The approach taken in this embodiment is for the gym mirror to extract the nodes of the user habit pause and switch video directly from the user habit library and generate relevant video frames at these nodes. When playing the video frames, the user gesture is recognized to realize switching, playing or pausing of the video. On one hand, misoperation of user gestures can be avoided, namely gesture recognition can not be performed in playing of frames other than the frames, and on the other hand, related operations can be completed under the condition of user habit, so that user experience is facilitated.
For example, a user is used to pause for rest in the twentieth second in the standard exercise video flat-panel support, then the video frames of a few frames related to the twentieth second are taken as pause prompt video frames, at this time, the user makes a hand waving gesture, the video pauses, and after the user has a rest for a moment, the user resumes training again. In other processes, the body-building mirror does not recognize the gesture made by the user.
In one embodiment, further comprising:
when the body-building mirror downloads the video stream slice, generating a download condition report according to the download condition;
the gym mirror checks the communication connection state of the gym mirror and the APP, and adds the download condition report to a target APP equipment address and sends the target APP equipment address to the API server when the communication connection state is unconnected;
the API server forwards the downloading situation report to the APP according to the address of the target APP equipment;
and the APP displays the downloading situation report form to the user.
Referring to fig. 2, based on the same inventive concept, the present embodiment provides a body-building video stream acquisition system applied to a network-free environment, including a body-building mirror with a mirror display;
the exercise mirror receives a video stream slice address generated by an API server according to an exercise video stream play request; the exercise video stream playing request is initiated to the API server by an APP configured on the user electronic equipment;
the gymnastic mirror downloads the video stream slice from the streaming media server according to the video stream slice address;
the fitness mirror displays the video stream slice through the mirror display.
In one embodiment, the API server has a video stream slice index configured thereon;
the generation process of the video stream slice address comprises the following steps:
and the API server extracts the exercise video identification from the exercise video stream playing request, and retrieves the video stream slice address corresponding to the exercise video identification from the video stream slice index according to the exercise video identification.
In one embodiment, when a user training program is configured on the APP, the APP obtains a body-building video identifier of each section of body-building video in the user training program and a starting time of each section of body-building video, and generates the body-building video stream playing request according to the body-building video identifier and the starting time;
the API server generates a video stream slice address according to the fitness video identifier, and adds the starting time as a time stamp of the fitness video in the video stream slice address to the video stream slice address;
the fitness mirror receives a video stream slice address added with a time stamp and sent by the API server;
and the body-building mirror downloads the video stream slice from the streaming media server according to the video stream slice address, and displays the corresponding video stream slice through the mirror display according to the timestamp.
In one embodiment, the gymnastic mirror integrates the video stream slices into video stream data when acquiring the video stream slices;
the fitness mirror extracts user habit data corresponding to the video stream data from a user habit library configured on the fitness mirror; the user habit data comprises video switching time and video pause time;
the body-building mirror selects a plurality of video frames from the video stream data according to the video switching time, and inserts video switching prompts into the video frames to serve as switching prompt frames; the gymnastic mirror selects a plurality of video frames from the video stream data according to the video pause time, and inserts a video pause prompt into the plurality of video frames as a pause prompt frame;
when the body-building mirror displays the switching prompt frame through the mirror display, switching or continuing playing the video according to the gesture instruction of the user; and when the body-building mirror displays the pause prompt frame through the mirror display, pausing or continuing playing the video according to the gesture instruction of the user.
In one embodiment, when the gymnastic mirror downloads the video stream slice, a download condition report is generated according to the download condition;
the gym mirror checks the communication connection state of the gym mirror and the APP, and adds the download condition report to a target APP equipment address and sends the target APP equipment address to the API server when the communication connection state is unconnected;
the API server forwards the downloading situation report to the APP according to the address of the target APP equipment;
and the APP displays the downloading situation report form to the user.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The elements described as separate components may or may not be physically separate, and as such, those skilled in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, where the elements and steps of the examples are generally described functionally in the foregoing description of the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a grid device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1. The method is applied to the body-building video stream acquisition method in the network-free environment, and is characterized by being applied to a body-building mirror with a mirror surface display; the method comprises the following steps:
when the body-building mirror loses the connection with the streaming media server, the body-building mirror sends a data bridging request to an APP configured on user electronic equipment;
after receiving the data bridging request, the APP sends a body-building video stream playing request to an API server, and receives a video stream slice address generated by the API server according to the body-building video stream playing request;
the APP downloads a video stream slice from the streaming media server according to the video stream slice address and sends the downloaded video stream slice to the gymnastic mirror;
the fitness mirror displays the video stream slice through the mirror display.
2. The method of claim 1, wherein 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 a video stream slice which is not downloaded in the exercise video currently played by the exercise mirror; the second video stream slice identifier is an identifier of a video stream slice of the exercise video which is not played in the exercise mirror playlist;
after receiving the data bridging request, the APP sends a body-building video stream playing request to an API server, and receives a video stream slice address generated by the API server according to the body-building video stream playing request, wherein the video stream slice address comprises:
after the APP receives the data bridging request, extracting the first video stream slice identifier and the second video stream slice identifier from the data bridging request, and generating an exercise video stream playing request according to the first video stream slice identifier and the second video stream slice identifier;
the APP sends the exercise video stream playing 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 APP.
3. The method of claim 1, wherein sending a data bridging request to an APP configured on a consumer electronic device when the fitness mirror loses connection with a streaming server comprises:
when the body-building mirror loses connection with the streaming media server, judging whether the APP and the body-building mirror are in the same local area network;
if the APP and the exercise mirror are in the same local area network, the exercise mirror sends a first data bridging request to the APP;
and when the APP receives the first data bridging request, disconnecting the local area network, establishing connection with the API server through a wireless communication network, and establishing connection with the gymnastic mirror through a near field communication network.
4. The method for acquiring a body-building video stream applied to a network-free environment according to claim 3, wherein when the APP establishes a connection with the body-building mirror through a near field communication network, a communication rate of the near field communication network is acquired;
the APP generates corresponding video slice resolution data according to the communication rate, and writes the video slice resolution data into a body-building video stream playing request;
the API server extracts the video slice resolution data and the exercise video identification from the exercise video stream play request and generates a video stream slice address corresponding to the video slice resolution data and the exercise video identification.
5. The method of claim 4, wherein generating video stream slice addresses corresponding to video slice resolution data and a workout video identifier comprises:
and the API server retrieves the corresponding video stream slice address from the video stream slice index configured in the API server according to the video slice resolution data and the fitness video identification.
6. The body-building video stream acquisition system applied to the network-free environment is characterized by comprising a body-building mirror applied to a mirror surface display;
when the body-building mirror loses the connection with the streaming media server, the body-building mirror sends a data bridging request to an APP configured on user electronic equipment;
after receiving the data bridging request, the APP sends a body-building video stream playing request to an API server, and receives a video stream slice address generated by the API server according to the body-building video stream playing request;
the APP downloads a video stream slice from the streaming media server according to the video stream slice address and sends the downloaded video stream slice to the gymnastic mirror;
the fitness mirror displays the video stream slice through the mirror display.
7. The exercise video stream acquisition system for use in a network-less environment of claim 6, wherein the data bridging request comprises a first video stream slice identifier and a second video stream slice identifier; the first video stream slice identifier is an identifier of a video stream slice which is not downloaded in the exercise video currently played by the exercise mirror; the second video stream slice identifier is an identifier of a video stream slice of the exercise video which is not played in the exercise mirror playlist;
after receiving the data bridging request, the APP sends a body-building video stream playing request to an API server, and receives a video stream slice address generated by the API server according to the body-building video stream playing request, wherein the video stream slice address comprises:
after the APP receives the data bridging request, extracting the first video stream slice identifier and the second video stream slice identifier from the data bridging request, and generating an exercise video stream playing request according to the first video stream slice identifier and the second video stream slice identifier;
the APP sends the exercise video stream playing 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 APP.
8. The exercise video stream acquisition system for a network-less environment of claim 6, wherein when the exercise scope loses connection with a streaming media server, determining whether the APP is in the same local area network as the exercise scope;
if the APP and the exercise mirror are in the same local area network, the exercise mirror sends a first data bridging request to the APP;
and when the APP receives the first data bridging request, disconnecting the local area network, establishing connection with the API server through a wireless communication network, and establishing connection with the gymnastic mirror through a near field communication network.
9. The exercise video stream acquisition system applied to a network-less environment of claim 8, wherein when the APP establishes a connection with the exercise mirror through a near field communication network, acquiring a communication rate of the near field communication network;
the APP generates corresponding video slice resolution data according to the communication rate, and writes the video slice resolution data into a body-building video stream playing request;
the API server extracts the video slice resolution data and the exercise video identification from the exercise video stream play request and generates a video stream slice address corresponding to the video slice resolution data and the exercise video identification.
10. The exercise video stream acquisition system for a network-less environment of claim 9, wherein the API server retrieves a corresponding video stream slice address from a video stream slice index configured to the API server based on the video slice resolution data and an exercise video identification.
CN202111487674.5A 2021-12-08 2021-12-08 Body-building video stream acquisition method and system applied to network-free environment Pending CN116248952A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111487674.5A CN116248952A (en) 2021-12-08 2021-12-08 Body-building video stream acquisition method and system applied to network-free environment
PCT/CN2022/121808 WO2023103546A1 (en) 2021-12-08 2022-09-27 Fitness video stream acquisition method and system applied to network-free environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111487674.5A CN116248952A (en) 2021-12-08 2021-12-08 Body-building video stream acquisition method and system applied to network-free environment

Publications (1)

Publication Number Publication Date
CN116248952A true CN116248952A (en) 2023-06-09

Family

ID=86631827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111487674.5A Pending CN116248952A (en) 2021-12-08 2021-12-08 Body-building video stream acquisition method and system applied to network-free environment

Country Status (2)

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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888631B (en) * 2009-05-11 2014-02-19 华为终端有限公司 Method, system and equipment for switching access network
CN104093064B (en) * 2013-07-12 2017-07-21 腾讯科技(北京)有限公司 The method, system and device of video interactive are carried out between terminal devices
EP3289766B1 (en) * 2015-04-29 2022-06-22 MS45 Srl A method and system for transmitting on demand videos of fitness sessions on fixed and/or mobile electronic devices
GB2540571A (en) * 2015-07-21 2017-01-25 Univ Guangdong Technology Digital home network multimedia share system and share method thereof
CN105812895A (en) * 2016-03-17 2016-07-27 张俊莲 Video on-demand data processing method and system

Also Published As

Publication number Publication date
WO2023103546A1 (en) 2023-06-15

Similar Documents

Publication Publication Date Title
US11336702B2 (en) Interaction information transmission method and apparatus
CN111135569A (en) Cloud game processing method and device, storage medium and electronic equipment
CN108737884B (en) Content recording method and equipment, storage medium and electronic equipment
EP2490445A1 (en) Method, terminal and server for realizing fast playing
US8813160B2 (en) Method, system and user device for obtaining a key frame in a streaming media service
US20140109156A1 (en) Method, terminal, server and system for playing media file
US11924371B2 (en) Content sending method and apparatus, and content receiving method and apparatus
US20140036098A1 (en) Terminal Apparatus And Video-Data Distribution Method
CN112839238B (en) Screen projection playing method and device and storage medium
WO2013017165A1 (en) Shaping media traffic based on manifest file in http adaptive streaming
KR100739172B1 (en) Method for transmitting moving picture in mobile terminal using pseudo streaming technology
CN107566854B (en) Method and device for acquiring and sending media content
CN101848205A (en) RTSP based stream media playing method and system thereof on mobile terminal
US20230045876A1 (en) Video Playing Method, Apparatus, and System, and Computer Storage Medium
US10404606B2 (en) Method and apparatus for acquiring video bitstream
KR101795537B1 (en) System and method for providing of cloud streaming service which is adapting to network environment
EP3099069B1 (en) Method for processing video, terminal and server
US20240196024A1 (en) Live Video Playback
CN106658065B (en) Audio and video synchronization method, device and system
KR101701742B1 (en) Apparatus and method for live streaming between mobile communication terminals
US7821943B2 (en) Data transmission
WO2022166591A1 (en) Method and apparatus for playing live streaming resource, and storage medium and electronic device
CN116248952A (en) Body-building video stream acquisition method and system applied to network-free environment
CN105959798B (en) The frame alignment method, apparatus and equipment of video flowing
CN116248927A (en) Remote control-based body-building video stream acquisition method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination