WO2017101375A1 - 一种播放视频的控制方法和系统 - Google Patents

一种播放视频的控制方法和系统 Download PDF

Info

Publication number
WO2017101375A1
WO2017101375A1 PCT/CN2016/088941 CN2016088941W WO2017101375A1 WO 2017101375 A1 WO2017101375 A1 WO 2017101375A1 CN 2016088941 W CN2016088941 W CN 2016088941W WO 2017101375 A1 WO2017101375 A1 WO 2017101375A1
Authority
WO
WIPO (PCT)
Prior art keywords
projection device
smart terminal
control
user
network server
Prior art date
Application number
PCT/CN2016/088941
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 乐视控股(北京)有限公司
Priority to US15/242,410 priority Critical patent/US20170171270A1/en
Publication of WO2017101375A1 publication Critical patent/WO2017101375A1/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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • 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/27Server based end-user applications
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Definitions

  • the present invention relates to the field of multimedia control technologies, and in particular to a control method and system for playing video.
  • Internet TV which has become popular in the near future, can connect to the Internet to download video files provided by video websites online, so that users can see the latest programs on the big screen, compared with on-demand video through smart terminals such as computers and mobile phones. Smart TVs have larger screen sizes and better sound quality for a better viewing experience.
  • an object of the present invention is to provide a control method and system for realizing a playback video of a video terminal during a video playback process of a smart terminal remotely controlling a projection device.
  • the present invention provides a control method for playing a video, comprising the following steps:
  • the smart terminal is connected to the network server through a network, and the network server is connected to the network through the network. Screening device.
  • the step of the smart terminal receiving a control instruction input by the user on the projection device includes:
  • the touch operation is parsed to obtain a control command for controlling video playback.
  • the operation interface includes a progress control interface
  • the progress control interface includes a progress bar and a progress control block sliding on the progress bar
  • the smart terminal receives a control instruction input by the user on the projection device, and the The steps of controlling the instructions forwarded to the web server include:
  • a progress adjustment instruction including the point in time is sent to the web server.
  • the operation interface includes a barrage sending interface, where the barrage sending interface includes an input area and a sending area; the smart terminal receives a control instruction input by the user on the projection device, and forwards the control instruction to the network server. Steps, including:
  • the smart terminal acquires the text information input by the user and temporarily saves it in the input area; when detecting that the user clicks on the sending area, the text information saved in the input area is forwarded to the web server.
  • step of the smart terminal receiving the control instruction input by the user on the projection device, and forwarding the control command to the network server includes:
  • the play link of the next video file in the playlist of the smart terminal is obtained;
  • a push command including a play link of the video file is sent to the web server.
  • step of pushing the video file to the projection device for playing further includes:
  • the video playback is terminated and the operation interface is displayed.
  • the network server searches for a projection device that is currently bound to the smart terminal, and sends the control command to the projection device, and further includes the step of binding the smart terminal and the projection device to the network server.
  • the smart terminal transmits a binding request containing the user information of the smart terminal and the projection device to the web server.
  • the smart terminal receives the control instruction input by the user for the projection device, and the step of forwarding the control command to the network server further includes:
  • the intelligent terminal generates a control message including its own user information and the control instruction
  • the intelligent terminal forwards the control message to the network server through the network according to the network protocol.
  • a control method for playing a video including:
  • the smart terminal is connected to the network server through a network, and the network server is connected to the projection device through the network.
  • step of the network server sending the control instruction to the projection device, so that the projection device controls the video playback according to the control instruction includes:
  • the progress adjustment instruction is sent to the projection device so that the projection device starts playing the video file being played from the point in time.
  • step of the network server sending the control instruction to the projection device, so that the projection device controls the video playback according to the control instruction further includes:
  • the step of searching for the projection device that is currently bound to the smart terminal, and before the step of transmitting the control instruction to the projection device further includes the step of binding the smart terminal and the projection device, including:
  • the smart terminal and the projection device are bound.
  • the step of transmitting the control instruction to the projection device, so that after the projection device receives the control instruction, the step of controlling the video playback according to the control instruction further includes:
  • the control message is forwarded to the projection device; so that the projection device parses the control message, obtains a control command from the control message, and executes the control command to control the video playback.
  • an identification code is generated and sent to the smart terminal and the projection device respectively; the intelligent terminal adds the identification code to the control message before transmitting the control message; so that the projection device receives the control report.
  • the control message is parsed, the identification code is obtained, and the identification code is compared with its own identification code. If the two match, the control command is further obtained; if the two do not match, the control message is ignored.
  • an intelligent terminal which is connected to a network server through a network, and the network server is connected to the projection device through a network, including:
  • a receiving unit configured to receive a control instruction input by the user on the projection device
  • a forwarding unit configured to forward the control instruction to the network server; after receiving the control instruction, the network server searches for a projection device currently bound to the smart terminal, and sends the control instruction to the screening a device; after the projection device receives the control instruction, controlling video playback according to the control instruction.
  • the receiving unit is configured to display a video playing interface, and is further configured to add an operation interface to the video playing interface, and sense a touch operation of the user on the operation interface, and the analyzing touch operation obtains a control instruction for controlling video playing.
  • the operation interface includes a progress control interface
  • the progress control interface includes a progress bar and a progress control block sliding on the progress bar
  • the receiving unit is configured to sense a user drag operation of the progress control block, and obtain After the drag operation ends, the position of the progress control block is calculated, and the corresponding time point in the video file is calculated
  • the forwarding unit is configured to send a progress adjustment instruction including the time point to the network server.
  • the operation interface includes a barrage sending interface, where the barrage sending interface includes an input area and a sending area; the receiving unit is configured to acquire text information input by the user, temporarily saved in the input area, and when the user detects that the user clicks to send When the zone is used, the text information saved in the input zone is forwarded to the web server.
  • the barrage sending interface includes an input area and a sending area
  • the receiving unit is configured to acquire text information input by the user, temporarily saved in the input area, and when the user detects that the user clicks to send When the zone is used, the text information saved in the input zone is forwarded to the web server.
  • the receiving unit senses that the touch operation is a swipe operation toward the first direction, and acquires a play status of the projection device; if the video device is playing the video file at this time, the next video file is obtained in the play list of the smart terminal. a play link, sending a push command including a play link of the next video file to the network service; or, if the touch operation is perceived as a swipe operation toward the second direction, acquiring the play status of the smart terminal at this time; The video file is being played and a push command containing the play link of the video file is sent to the web server.
  • the forwarding unit is further configured to: after the video file is successfully pushed to the projection device, terminate the video playback, and display the operation interface.
  • the forwarding unit is further configured to send a binding request of the user information including the smart terminal and the projection device to the network server.
  • the forwarding unit generates a control message including the user information and the control instruction, and forwards the control message to the network server according to a network protocol.
  • a network server including:
  • a receiving unit configured to receive a control instruction sent by the smart terminal to the projection device
  • a binding unit configured to search for a projection device currently bound to the smart terminal
  • a forwarding unit configured to send the control instruction to the projection device; so that the projection device receives the After controlling the instruction, controlling video playback according to the control instruction;
  • the smart terminal is connected to the network server through a network, and the network server is connected to the projection device through the network.
  • the receiving unit is configured to acquire, from the smart terminal, a progress adjustment instruction including a time point; the forwarding unit is configured to send the progress adjustment instruction to the projection device, and the projection device sends the video file being played from the time point Start playing.
  • the receiving unit is configured to acquire text information from the smart terminal, and save the text information as a barrage of a video file being played by the projection device.
  • the binding unit is further configured to compare user information of the smart terminal and the projection device, and determine whether the user of the two is an associated user; the associated user is a user whose user information is the same or the user information is previously associated with the network server; If it is determined that the user of the smart terminal and the projection device is an associated user, the binding unit binds the smart terminal and the projection device.
  • the receiving unit is configured to receive, by the smart terminal, a control message that includes user information and a control command of the smart terminal, parse the control message, and obtain user information of the smart terminal from the control message;
  • the binding unit is configured to search for a projection device that is synchronously bound to the user terminal according to user information of the smart terminal;
  • the forwarding unit is configured to forward the control message to the projection device; so that the projection device parses the control message, obtains a control instruction from the control message, and executes the control instruction to control the video playback.
  • the binding unit is further configured to: when the smart terminal and the projection device are bound, generate an identification code, and send the identification code to the smart terminal and the projection device respectively; and the intelligent terminal adds the identification code to the control before sending the control message. a message; after the projection device receives the control message, parsing the control message to obtain the identification code; the projection device compares the identification code with its own identification code, and if the two match, further obtains the control instruction; If the one does not match, the control message is ignored.
  • a system which employs the smart terminal, the web server and the projection device in any of the above embodiments.
  • a computer storage medium can store a program, and when the program is executed, the first aspect of the present invention can provide a implementation manner of a method for controlling a video to be played. Some or all of the steps.
  • a computer storage medium is further provided, wherein the computer storage medium can store a program, and when the program is executed, the second aspect of the present invention can provide implementations of a control method for playing a video. Some or all of the steps in the way.
  • another smart terminal including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the smart terminal is connected to the network server through a network, and the network server is connected to the projection device through the network.
  • another network server comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the smart terminal is connected to the network server through a network, and the network server is connected to the projection device through the network.
  • a projection device comprising a projection device, the intelligent terminal provided by the eighth aspect of the present invention, and the network server provided by the ninth aspect of the present invention.
  • the present invention provides a method and system for controlling video playback, which acquires user operations through an intelligent terminal, obtains control commands according to user operations, and passes control commands through network services.
  • the device is sent to the projection device to remotely control the video playback process of the projection device.
  • an easy-to-operate intelligent terminal as an operating platform, the operating speed is increased, the control difficulty of the projection device is reduced, and the user can remotely control the projection device.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a method for controlling a play video according to the present invention
  • FIG. 2 is a schematic flowchart diagram of another embodiment of a method for controlling playing video according to the present invention.
  • FIG. 3 is a sequence diagram of still another embodiment of a method for controlling playing video according to the present invention.
  • FIG. 4 is a sequence diagram of an optional embodiment of a method for controlling playing video according to the present invention.
  • FIG. 5 is a system block diagram of an embodiment of a control system for playing video according to the present invention.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a method for controlling playing video according to the present invention.
  • an embodiment of the present invention provides a control method for playing a video, which is applied to a system including an intelligent terminal, a network server, and a projection device, wherein the smart terminal and the projection device both communicate with the network through a network.
  • the server connection (the network is generally a remote communication network, and its specific expression may be a mobile network, a wired network, etc.), and includes the following steps:
  • the smart terminal receives a control instruction input by the user on the projection device, and forwards the control command to the network server.
  • the smart terminal retrieves a control instruction corresponding to the touch operation in a preset control instruction list, and forwards the retrieved control instruction to the network server.
  • touch operation and control commands are exemplified below.
  • the smart terminal is a smart device with a network connection function including a computer, a smart phone, and a tablet computer.
  • the network server After receiving the control instruction, the network server searches for a projection device that is currently bound to the smart terminal, and sends the control instruction to the projection device.
  • the projection device is a smart projection device with a network connection function including a smart TV and a network projector.
  • the synchronous binding means that the smart terminal and the projection device are pre-bound in the network server. After receiving the control command sent by the smart terminal, the network server does not need to confirm the target again, and sends the control command to the smart terminal. Fixed projection equipment. The specific binding method is described below.
  • the projection device controls video playback according to the control instruction.
  • the above steps S200-S400 realize the process of the smart terminal remotely controlling the video playing of the projection device through the network. Since the method is not controlled by local communication (for example, based on the same router's LAN, Bluetooth, infrared, etc.), it is not limited by distance.
  • the method further includes: switching the connection manner between the smart terminal and the projection device, specifically, the smart terminal periodically (or receiving the user's instruction) detecting the projection device in the local network, if When the projection device that has established the binding relationship is detected, it is directly sent through the local network when the control command is subsequently sent. When sending some control commands that need to be implemented by the network server, it is still sent through the network server; thus reducing the control delay and further improving the operation speed.
  • the step of the smart terminal receiving a control instruction input by the user on the projection device includes:
  • the smart terminal displays an operation interface.
  • the smart terminal senses a touch operation of the user on the operation interface.
  • S2003 The smart terminal parses the touch operation to obtain a control instruction for controlling video playback.
  • the smart terminal provides the user with an interface for performing a touch operation.
  • the smart terminal parses the touch operation of the user into a meaningful control command.
  • the foregoing parsing step may be completed locally in the smart terminal, or may be further performed by the web server after the touch operation is sent to the web server, or may be performed after the touch operation is sent to the projection device intact.
  • the final analysis is performed.
  • the method further comprises:
  • the smart terminal displays an operation interface, the operation interface includes a progress control interface, the progress control interface includes a progress bar and a progress control block sliding on the progress bar; the smart terminal receives a pair of projection devices input by a user And the step of forwarding the control command to the network server, including the step S210, the step of the smart terminal sensing the user operation, and adjusting the progress of the video playback of the projection device, specifically comprising the following substeps:
  • the dragging operation includes: sensing a click operation of the user, and if the contact position of the click operation falls within the display range of the progress control block, further sensing the sliding operation of the user on the touch screen, that is, sensing the movement of the contact.
  • the position of the progress control block on the progress bar is moved X (X) It can be positive or negative) as the position of the progress control block after the drag operation ends.
  • the left endpoint of the progress bar is used as the video time starting point and the right endpoint is used as the video time ending point.
  • the distance between the left end point of the progress bar and the midpoint of the progress control block, and the ratio of the distance between the right end of the progress bar and the midpoint of the progress control block can be proportionally calculated.
  • the point in time at which the progress control block represents the video file at this time.
  • step S210 and its sub-steps enable the smart terminal to control the projection device through the network server.
  • the process of playing the progress of the frequency
  • the operation interface includes a barrage sending interface, where the barrage sending interface includes an input area and a sending area; the smart terminal receives a control instruction input by the user on the projection device, and The step of forwarding the control command to the network server, including the step S220, the step of the smart terminal sensing the user operation and sending the barrage, specifically includes the following sub-steps:
  • S221 Acquire text information input by the user, and temporarily save the information in the input area.
  • the input area may be a frame or a specific area of other shapes. After the user inputs the text information, the text information is temporarily saved in the area to be visible to the user, and may be further modified.
  • the sending area is used to sense a user's sending operation.
  • the sending operation may also be detected by other means, such as detecting that the user double-clicks on the input area, or detecting a sliding operation of the user in the input area, and the like.
  • the web server saves the text information as a barrage of a video file being played by the projection device.
  • the barrage includes a sending time.
  • the barrage is displayed on the playing interface.
  • step S220 Through the above step S220 and its sub-steps, the function of transmitting the barrage comment remotely is realized.
  • the implementation manners are similar. That is, the user terminal obtains the user operation, and then determines the specific control command according to the operation.
  • the concept of the control instruction list is proposed, and the characteristics of the user operations and the control commands can be one-to-one correspondingly listed in the control instruction list.
  • the control command is sent to the projection device via the web server (or local network), and the projection device adjusts its playback process according to the control command.
  • the smart terminal receives the control instruction input by the user for the projection device, and the step of forwarding the control command to the network server, including S230, the smart terminal perceives the user operation, and the next video file in the playlist Push to the projection device, including the following steps:
  • the sweeping operation refers to, after sensing the touch operation of the touch screen, acquiring the starting point position of the contact, tracking the movement of the contact, and finally obtaining the vanishing point position when the contact disappears, if the position of the starting point of the contact is passed,
  • the vanishing point position, the moving path and the moving time, and determining that this is a sliding operation with a short duration (the specific time threshold can be determined separately) is determined as the "sweeping operation" defined herein.
  • the first direction refers to the direction from the starting point position to the vanishing point position, which is an artificially defined direction. Generally, in order to adapt to the user's operating habits, the first direction may be set to the right direction, and may of course be set to other directions. .
  • the smart terminal prompts the user that “the last playlist has been reached” or other prompt information similar thereto.
  • the network server acquires a play link in the push instruction, searches for a corresponding video file in the video library according to the play link, and sends the video file to the projection device, and the projection device starts accepting the network server. After the video file is pushed, the video file starts playing.
  • step S230 and its sub-steps realize the function of the user to switch the video of the projection device by operating the smart terminal.
  • the user performs a swipe operation in the first direction in the smart terminal, and the projection device can play the next video file.
  • the smart terminal receives a control instruction input by the user for the projection device, and the step of forwarding the control command to the network server, including S240, the smart terminal perceives the user operation, and pushes the video file being played.
  • the following steps are included:
  • the sweeping operation is the same as the above-described sweeping operation definition, and the second direction is generally set to be upward in order to adapt to the user's operating habits, and of course, may be set to other directions. Further, if it is determined that the starting point position of the contact is located in the video playing interface of the smart terminal, the subsequent steps are performed, otherwise it is not executed.
  • the web server pushes the video file to the projection device for playing according to the play link.
  • the step of pushing the video file to the projection device for playing further includes:
  • the video playback process of the smart terminal is stopped, and the operation interface is displayed on the smart terminal for the user to operate, and the video playback process of the projection device is controlled remotely.
  • step S290 further includes:
  • S291 Synchronize the poster of the video file in the smart terminal.
  • FIG. 2 is a schematic flowchart diagram of another embodiment of a method for controlling playing video according to the present invention.
  • the network server searches for a projection device that is currently bound to the smart terminal, and before sending the control command to the projection device, further includes S100,
  • the smart terminal and the projection device are bound on the network server, and specifically include the following sub-steps:
  • the smart terminal sends a binding request including user information of the smart terminal and the projection device to the network server.
  • the transmission path includes a wireless data connection provided by a wireless carrier or a wired network connection provided by a broadband operator.
  • the network server compares user information of the smart terminal and the projection device, and determines that the users of the two are No is an associated user; the associated user is a user whose user information is the same or the user information is previously associated with the network server.
  • the meaning of the binding means that when the network server receives the control command sent by the smart terminal or the behavior of pushing the video, the network controller directly pushes the control instruction or video to the projection device bound to the smart terminal, and no longer queries the smart terminal for the target;
  • the binding function can use the correspondence of physical addresses or the corresponding implementation of the username.
  • step S110 an implicit step is included, that is, the step of the smart terminal acquiring the user information of the projection device.
  • the projection device displays a two-dimensional code including its own user information
  • the smart terminal scans the two-dimensional code, acquires the user information of the projection device, adds its own identification information, or obtains the screening by other means.
  • the user information of the device is added to its own identification information.
  • the network server compares the identification information of the two, if the identification information of the projection device is found in the identification information of the mobile terminal, it can be proved that the mobile terminal and the projection device are in the same working space, that is, the user currently wishes to directly directly through the mobile terminal. Control the projection device to directly implement the binding.
  • the smart terminal receives a control instruction input by the user for the projection device, and the step of forwarding the control command to the network server includes:
  • the smart terminal generates a control message including its own user information and the control instruction.
  • the intelligent terminal forwards the control packet to the network server according to a network protocol.
  • the network server After receiving the control command, the network server searches for a projection device that is currently bound to the smart terminal, and the step of sending the control command to the projection device includes:
  • the network server After receiving the control packet, the network server parses the control packet, and obtains user information of the smart terminal from the control packet.
  • the network server searches for a projection device that is bound to the user terminal according to the user information of the smart terminal.
  • the network server forwards the control message to the projection device.
  • the projection device controls the video playback according to the control instruction.
  • the steps involved include:
  • the projection device After receiving the control message, the projection device parses the control message and obtains a control command from the control message.
  • the projection device controls video playback according to the control instruction.
  • the identifier is generated and sent to the smart terminal and the projection device respectively.
  • the smart terminal receives a control instruction input by the user for the projection device, and the step of forwarding the control command to the network server includes:
  • the smart terminal adds the identifier to the control packet.
  • the step of controlling video playback according to the control instruction includes:
  • the projection device After receiving the control message, the projection device parses the control message to obtain an identification code.
  • the projection device compares the identification code with its own identification code. If the two match, the control command is further obtained. If the two do not match, the control message is ignored.
  • the embodiment provides a method for verifying the security of a control message by assigning a separate identification code when binding the smart terminal and the projection device, adding the identification code to the control message, and causing the projection device to receive The method of matching the identification code when controlling the message completes the security verification of the control message.
  • FIG. 3 is a sequence diagram of still another embodiment of a method for controlling playing video according to the present invention. As shown, the method in this embodiment includes the following steps:
  • the smart terminal acquires user information of the projection device.
  • the user equipment returns user information to the smart terminal.
  • the smart terminal sends user information of the self and the projection device to the network server.
  • the network server binds the smart terminal and the projection device according to the user information.
  • the smart terminal receives an operation instruction of the user.
  • the smart terminal identifies an operation instruction, and obtains a control instruction corresponding to the operation instruction.
  • the smart terminal sends a control command to the network server.
  • the network server sends a control instruction to the projection device bound to the smart terminal.
  • the projection device controls its own video playing process according to the control instruction.
  • the binding process of the smart terminal and the projection device in the network server is implemented, and on the basis of the binding, the smart terminal further recognizes the user operation, obtains a control instruction, and sends a control command through the network server to control the video playback of the projection device. process.
  • the user can connect to the projection device through the smart terminal anytime and anywhere, and even if the user is not in the same area, the user can remotely control the video playback process of the projection device.
  • FIG. 4 is a timing diagram of an optional embodiment of a method for controlling playing video according to the present invention. As shown, the method in this embodiment includes the following steps:
  • the smart terminal acquires user information of the projection device.
  • the user equipment returns user information to the smart terminal.
  • the smart terminal sends user information of the self and the projection device to the network server.
  • the network server binds the smart terminal and the projection device according to the user information.
  • the smart terminal receives an operation instruction of the user.
  • the smart terminal identifies an operation instruction, and obtains a control instruction corresponding to the operation instruction.
  • the smart terminal generates a control message including its own user information and the control instruction.
  • the smart terminal sends a control message to the network server.
  • the network server parses the user information of the smart terminal from the control message.
  • the network server searches for a projection device that is synchronously bound to the smart terminal.
  • the network server forwards the control message to the projection device.
  • the projection device parses the control command from the control message.
  • the projection device controls video playback according to a control instruction.
  • control command is sent by controlling the message.
  • the control message can also be encrypted when necessary to further improve the security of the entire communication process.
  • an intelligent terminal is further provided, where the smart terminal is connected to a network server through a network, and the network server is connected to the projection device through a network, including:
  • a receiving unit configured to receive a control instruction input by the user on the projection device
  • a forwarding unit configured to forward the control instruction to the network server; after receiving the control instruction, the network server searches for a projection device currently bound to the smart terminal, and sends the control instruction to the screening a device; after the projection device receives the control instruction, controlling video playback according to the control instruction.
  • the receiving unit is configured to display a video playing interface, and is further configured to add an operation interface to the video playing interface, and sense a touch operation of the user on the operation interface, and the resolution touch operation is used to control the video. Control instructions for playback.
  • the operation interface includes a progress control interface, the progress control interface includes a progress bar and a progress control block sliding on the progress bar; the receiving unit is configured to sense a user to the progress control block The drag operation obtains the position of the progress control block after the end of the drag operation, and calculates the corresponding time point of the position in the video file; the forwarding unit is configured to send a progress adjustment instruction including the time point to the network server.
  • the operation interface includes a barrage sending interface, where the barrage sending interface includes an input area and a sending area; and the receiving unit is configured to acquire text information input by the user, and temporarily save the information in the input area.
  • the text information saved in the input area is forwarded to the web server.
  • the receiving unit senses that the touch operation is a swipe operation toward the first direction, and acquires a play status of the projection device; if the projection device is playing a video file at this time, the playback of the smart terminal is acquired.
  • the play link of the next video file sends a push command including a play link of the next video file to the network service; or, if the touch operation is perceived as a swipe operation toward the second direction, the smart terminal is acquired at this time.
  • Playback state if the smart terminal is playing a video file, send a push command containing a play link of the video file to the web server.
  • the forwarding unit is further configured to: after the video file is successfully pushed to the projection device, terminate the video playback, and display the operation interface.
  • the forwarding unit is further configured to send a binding request of the user information including the smart terminal and the projection device to the network server.
  • the forwarding unit generates a control message including the user information and the control command, and forwards the control message to the network server according to the network protocol.
  • a network server including:
  • a receiving unit configured to receive a control instruction sent by the smart terminal to the projection device
  • a binding unit configured to search for a projection device currently bound to the smart terminal
  • a forwarding unit configured to send the control instruction to the projection device; after the projection device receives the control instruction, control the video playback according to the control instruction;
  • the smart terminal is connected to the network server through a network, and the network server is connected to the projection device through the network.
  • the technical features of the “receiving unit” and the “forwarding unit” are also included in the above description of the terminal; the forwarding unit of the intelligent terminal is similar to the forwarding unit in the embodiment, but the receiving terminal of the intelligent terminal The unit is used to sense the touch signal of the user and convert it into a control command.
  • the “receiving unit” in this embodiment is used to receive the control command sent by the smart terminal, which is different here.
  • the receiving unit is configured to acquire, from the smart terminal, a progress adjustment instruction including a time point; the forwarding unit is configured to send the progress adjustment instruction to the projection device, and the projection device is The played video file starts playing at that point in time.
  • the receiving unit is configured to acquire text information from the smart terminal, and save the text information as a barrage of a video file being played by the projection device.
  • the binding unit is further configured to compare user information of the smart terminal and the projection device, and determine whether the user of the two is an associated user; the associated user has the same user information or the user information is in advance.
  • the network server associates the user; if it is determined that the user of the smart terminal and the projection device is an associated user, the binding unit binds the smart terminal and the projection device.
  • the receiving unit is specifically configured to receive, from the smart terminal, a control message that includes the user information and the control instruction of the smart terminal, parse the control message, and acquire the user of the smart terminal from the control message.
  • a control message that includes the user information and the control instruction of the smart terminal, parse the control message, and acquire the user of the smart terminal from the control message.
  • the binding unit is configured to search for a projection device that is synchronously bound to the user terminal according to user information of the smart terminal;
  • the forwarding unit is configured to forward the control message to the projection device; so that the projection device parses the control message, obtains a control instruction from the control message, and executes the control instruction to control the video playback.
  • the binding unit is further configured to: when the smart terminal and the projection device are bound, generate an identification code, and send the identification code to the smart terminal and the projection device respectively; before the smart terminal sends the control message Adding the identification code to the control message; after the projection device receives the control message, parsing the control message to obtain the identification code; the projection device compares the identification code with its own identification code, if the two match, Then, the control instruction is further obtained; if the two do not match, the control message is ignored.
  • FIG. 5 is a system block diagram of an embodiment of a control system for playing video according to the present invention. As shown in the figure, an embodiment of a control system for playing video provided by the present invention includes:
  • the smart terminal 1 is configured to receive a control instruction input by the user on the projection device, and forward the control instruction to the network server;
  • the network server 2 is configured to: after receiving the control instruction, find the projection device 3 currently bound to the smart terminal 1 synchronously, and send the control instruction to the projection device 3;
  • a projection device 3 configured to control video playback according to the control instruction after receiving the control instruction
  • Both the smart terminal 1 and the projection device 3 are connected to the network server 2 via a network.
  • the smart terminal includes a display unit and an operation interface unit; the display unit is configured to display a video play interface, and the operation interface unit is configured to add an operation interface to the video play interface, and the The user touches the operation interface, and the resolution touch operation obtains a control instruction for controlling video playback.
  • the operation interface unit is configured to add an operation interface to the video play interface to sense operation of the operation interface by the user; the operation interface includes a progress control interface, and the progress control interface includes a progress bar. And a progress control block that slides on the progress bar.
  • the operation interface unit is configured to sense a user's drag operation on the progress control block, obtain a position of the progress control block after the end of the drag operation, calculate a corresponding time point of the position in the video file, and also use the network server 2 to
  • the projection device 3 transmits a progress adjustment command including the time point, and the projection device 3 is for playing the video file being played from the time point.
  • the operation interface includes a barrage transmission interface
  • the barrage transmission interface includes an input area and a transmission area.
  • the operation interface unit is configured to obtain text information input by the user, temporarily stored in the input area, and when detecting that the user clicks on the sending area, forward the text information saved in the input area to the network server; the network server 2 is configured to use the text
  • the information is saved as a barrage of the video file being played by the projection device.
  • the smart terminal 1 further includes a touch sensing unit for sensing a touch operation of the user; and if the touch sensing unit senses that the touch operation is a sweep operation toward the first direction, acquiring the projection device 3 If the projection device 3 is playing a video file, the play link of the next video file in the playlist of the smart terminal 1 is acquired, and a push command including a play link of the next video file is sent to the web server 2.
  • the smart terminal 1 further includes a touch sensing unit, configured to sense a touch operation of the user; and if the touch sensing unit senses that the touch operation is a sweep operation toward the second direction, acquiring the time a playing state of the smart terminal 1; if the smart terminal 1 is playing a video file, sending a push command including a play link of the video file to the network service 2; the web server 2 pushes the video file to the projection device 3 for playing according to the play link .
  • a touch sensing unit configured to sense a touch operation of the user; and if the touch sensing unit senses that the touch operation is a sweep operation toward the second direction, acquiring the time a playing state of the smart terminal 1; if the smart terminal 1 is playing a video file, sending a push command including a play link of the video file to the network service 2; the web server 2 pushes the video file to the projection device 3 for playing according to the play link .
  • the smart terminal 1 terminates the video playback and displays the operation interface.
  • the smart terminal 1 is configured to send a binding request containing the user information of the smart terminal 1 and the projection device 3 to the network server 2; the network server 2 is for comparing the smart terminal 1 and The user information of the projection device 3 determines whether the user of the two devices is an associated user; the associated user is a user whose user information is the same or the user information is previously associated with the network server 2; if the user of the smart terminal 1 and the projection device 3 is determined to be The associated server, the web server 2 is also used to bind the smart terminal 1 and the projection device 3.
  • the smart terminal 1 is configured to generate a control message including the user information and the control command, and forward the control message to the network server 2 according to a network protocol; After receiving the control message, the network server 2 is configured to parse the control message, obtain the user information of the smart terminal 1 from the control message, and search for the projection device that is bound to the user terminal 1 according to the user information of the smart terminal 1. 3.
  • the control message is forwarded to the projection device 3; after receiving the control message, the projection device 3 is configured to parse the control message, obtain a control command from the control message, and control the video playback according to the control instruction.
  • the network server 2 binds the smart terminal 1 and the projection device 3, an identification code is generated and sent to the smart terminal 1 and the projection device 3 respectively; the smart terminal 1 generates a control message. And adding the identification code to the control message; after receiving the control message, the projection device 3 parses the control message, and obtains the identification code to compare the identification code with its own identification code, if the two match, Further obtaining the control instruction; if the two do not match, the control message is ignored.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, the control method for playing video of the smart terminal provided by the embodiment shown in FIG. 1 to FIG. 4 can be implemented. Some or all of the steps in each implementation.
  • the embodiment of the present invention further provides another computer storage medium, wherein the computer storage medium can store a program, and the program can implement the control of playing video applied to the network server provided by the embodiment shown in FIG. 1 to FIG. Some or all of the steps in the various implementations of the method.
  • Another embodiment of the present invention provides another smart terminal, which includes a processor and a memory for storing processor-executable instructions.
  • the processor is configured to: receive a user input
  • the control instruction of the device is forwarded to the network server; after receiving the control command, the network server searches for the projection device currently bound to the smart terminal, and sends the control command to the projection device After the projection device receives the control instruction, the video playback is controlled according to the control instruction; wherein the smart terminal is connected to the network server through a network, and the network server is connected to the projection device through the network.
  • An embodiment of the present invention further provides another network server, where the network server includes a processor and a memory for storing processor-executable instructions, wherein the processor is configured to: receive the pair of projection devices sent by the smart terminal a control instruction; searching for a projection device currently bound to the smart terminal, and transmitting the control instruction to the projection device; so that after the projection device receives the control instruction, controlling the video playback according to the control instruction;
  • the smart terminal is connected to the network server through a network, and the network server is connected to the projection device through the network.
  • the embodiment of the present invention further provides another system, which includes the another intelligent terminal provided by the foregoing embodiment of the invention, the other network server and the projection device provided by the foregoing invention.
  • the present invention provides a method and system for controlling video playback, which acquires user operations through an intelligent terminal, obtains control commands according to user operations, and transmits control commands to the projection device through a network server, thereby remotely controlling The video playback process of the projection device.
  • an easy-to-operate intelligent terminal as an operating platform, the operating speed is increased, the control difficulty of the projection device is reduced, and the user can remotely control the projection device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Projection Apparatus (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

本发明公开了一种播放视频的控制方法和系统,包括:接收用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器;由网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。本发明提供的一种播放视频的控制方法和系统,通过使用便于操作的智能终端作为操作平台,提升操作速度,降低了放映设备的控制难度,并且使得用户可以远程对放映设备进行控制。

Description

一种播放视频的控制方法和系统
本申请要求于2015年12月14日提交中国专利局、申请号为201510924405.9、发明名称为“一种播放视频的控制方法和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及多媒体控制技术领域,特别是指一种播放视频的控制方法和系统。
背景技术
随着计算机技术和网络技术的发展,越来越多的家用电器实现了网络连接、智能控制。特别是近期逐渐流行起来的互联网电视,通过连接互联网,可以在线点播视频网站提供的视频文件,使用户可以在大屏幕上收看到最新的节目,与通过电脑、手机等智能终端点播视频相比,智能电视的屏幕尺寸更大,音响效果更好,可以提供更佳的观看体验。
然而,当前的智能电视通常只能通过遥控设备或触摸屏在本地进行操作,并且无法与其他智能终端取得互动。如果想要在智能电视实现视频点播、评论发布等功能,由于操作不便,实现十分困难。
发明内容
有鉴于此,本发明的目的在于提出一种实现智能终端远程控制放映设备的视频播放过程的播放视频的控制方法和系统。
根据本发明的第一方面,基于上述目的本发明提供一种播放视频的控制方法,包括以下步骤:
接收用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器;由网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;
其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放 映设备。
进一步,所述智能终端接收到用户输入的对放映设备的控制指令的步骤,包括:
显示操作界面;
感知用户对操作界面的触控操作;
解析所述触控操作,得到用于控制视频播放的控制指令。
进一步,所述操作界面包括进度控制界面,所述进度控制界面包括进度条和在所述进度条上滑动的进度控制块;所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括:
感知用户对进度控制块的拖动操作,获取拖动操作结束后进度控制块的位置,计算该位置在视频文件中对应的时间点;
向网络服务器发送包含该时间点的进度调整指令。
进一步,所述操作界面包括弹幕发送界面,所述弹幕发送界面包括输入区和发送区;所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括:
智能终端获取用户输入的文字信息,暂时保存在输入区;当检测到用户点击发送区时,将输入区保存的文字信息转发至网络服务器。
进一步,所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括:
若感知到触控操作为朝向第一方向的扫动操作,获取放映设备的播放状态;
若此时放映设备正在播放视频文件,获取智能终端的播放列表中,下一视频文件的播放链接;
向网络服务发送包含下一视频文件的播放链接的推送指令;或者,
若感知到触控操作为朝向第二方向的扫动操作,获取此时智能终端的播放状态;
若智能终端正在播放视频文件,向网络服务器发送包含该视频文件的播放链接的推送指令。
进一步,所述将视频文件推送至放映设备进行播放的步骤,还包括:
成功将视频文件推送至放映设备后,终止视频播放,显示操作界面。
进一步,所述网络服务器查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备的步骤前,还包括将智能终端和放映设备在网络服务器绑定的步骤,包括:
智能终端将包含有智能终端和放映设备的用户信息的绑定请求发送至网络服务器。
进一步,所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤还包括:
智能终端生成包含自身用户信息和所述控制指令的控制报文;
智能终端根据网络协议将所述控制报文通过网络转发给网络服务器。
根据本发明的第二方面还提供一种播放视频的控制方法,包括:
接收智能终端发送的对放映设备的控制指令;
查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;
其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
进一步,所述网络服务器将控制指令发送给放映设备,以便放映设备根据控制指令对视频播放进行控制的步骤,包括:
从智能终端获取包含时间点的进度调整指令;
向所述放映设备发送所述进度调整指令,以便放映设备将正在播放的视频文件从该时间点开始播放。
进一步,所述网络服务器将控制指令发送给放映设备,以便放映设备根据控制指令对视频播放进行控制的步骤,还包括:
从智能终端获取文字信息,将所述文字信息保存为放映设备正在播放的视频 文件的弹幕。
进一步,所述查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备的步骤前,还包括将智能终端和放映设备绑定的步骤,包括:
比较智能终端和放映设备的用户信息,判断二者的用户是否为关联用户;所述关联用户为用户信息相同或用户信息预先在网络服务器进行关联的用户;
若判定智能终端和放映设备的用户为关联用户,将智能终端和放映设备绑定。
进一步,所述将控制指令发送至该放映设备,以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制的步骤进一步包括:
从智能终端接收包含智能终端的用户信息和控制指令的控制报文,解析该控制报文,从控制报文获取智能终端的用户信息;
根据智能终端的用户信息,查找与该用户终端同步绑定的放映设备;
将控制报文转发给所述放映设备;以便放映设备解析控制报文,从控制报文获取控制指令,执行控制指令对视频播放进行控制。
进一步,还包括;
将智能终端和放映设备进行绑定时,生成识别码,分别发送至智能终端和放映设备;智能终端在发送控制报文前,将所述识别码加入控制报文;以便放映设备接收到控制报文后,解析控制报文,获取识别码,将该识别码与自身的识别码进行比较,若二者匹配,则进一步获取控制指令;若二者不匹配,则忽视本条控制报文。
根据本发明的第三方面还提供一种智能终端,所述智能终端通过网络连接至网络服务器,所述网络服务器通过网络连接至放映设备,包括:
接收单元,用于接收用户输入的对放映设备的控制指令;
转发单元,用于将该控制指令转发给网络服务器;由所述网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制。
进一步,所述接收单元用于显示视频播放界面,还用于在所述视频播放界面添加操作界面,感知用户对操作界面的触控操作,解析触控操作得到用于控制视频播放的控制指令。
进一步,所述操作界面包括进度控制界面,所述进度控制界面包括进度条和在所述进度条上滑动的进度控制块;所述接收单元用于感知用户对进度控制块的拖动操作,获取拖动操作结束后进度控制块的位置,计算该位置在视频文件中对应的时间点;所述转发单元用于向网络服务器发送包含该时间点的进度调整指令。
进一步,所述操作界面包括弹幕发送界面,所述弹幕发送界面包括输入区和发送区;所述接收单元用于获取用户输入的文字信息,暂时保存在输入区,当检测到用户点击发送区时,将输入区保存的文字信息转发至网络服务器。
进一步,所述接收单元感知到触控操作为朝向第一方向的扫动操作,获取放映设备的播放状态;若此时放映设备正在播放视频文件,获取智能终端的播放列表中,下一视频文件的播放链接,向网络服务发送包含下一视频文件的播放链接的推送指令;或者,若感知到触控操作为朝向第二方向的扫动操作,获取此时智能终端的播放状态;若智能终端正在播放视频文件,向网络服务器发送包含该视频文件的播放链接的推送指令。
进一步,所述转发单元还用于成功将视频文件推送至放映设备后,终止视频播放,显示操作界面。
进一步,所述转发单元还用于将包含有智能终端和放映设备的用户信息的绑定请求发送至网络服务器。
进一步,所述转发单元生成包含自身用户信息和所述控制指令的控制报文,根据网络协议将所述控制报文通过网络转发给网络服务器。
根据本发明的第四方面还提供一种网络服务器,包括:
接收单元,用于接收智能终端发送的对放映设备的控制指令;
绑定单元,用于查找当前与所述智能终端同步绑定的放映设备;
转发单元,用于将所述控制指令发送至该放映设备;以便放映设备收到所述 控制指令后,根据所述控制指令对视频播放进行控制;
其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
进一步,所述接收单元用于从智能终端获取包含时间点的进度调整指令;所述转发单元用于向所述放映设备发送所述进度调整指令,放映设备将正在播放的视频文件从该时间点开始播放。
进一步,所述接收单元用于从智能终端获取文字信息,将所述文字信息保存为放映设备正在播放的视频文件的弹幕。
进一步,所述绑定单元还用于比较智能终端和放映设备的用户信息,判断二者的用户是否为关联用户;所述关联用户为用户信息相同或用户信息预先在网络服务器进行关联的用户;若判定智能终端和放映设备的用户为关联用户,绑定单元将智能终端和放映设备绑定。
进一步,所述接收单元具体用于从智能终端接收包含智能终端的用户信息和控制指令的控制报文,解析该控制报文,从控制报文获取智能终端的用户信息;则,
所述绑定单元用于根据智能终端的用户信息,查找与该用户终端同步绑定的放映设备;
所述转发单元用于将控制报文转发给所述放映设备;以便放映设备解析控制报文,从控制报文获取控制指令,执行控制指令对视频播放进行控制。
进一步,所述绑定单元还用于将智能终端和放映设备进行绑定时,生成识别码,分别发送至智能终端和放映设备;智能终端在发送控制报文前,将所述识别码加入控制报文;以便放映设备接收到控制报文后,解析控制报文,获取识别码,;放映设备将该识别码与自身的识别码进行比较,若二者匹配,则进一步获取控制指令;若二者不匹配,则忽视本条控制报文。
根据本发明的第五方面还提供一种系统,该系统采用上述任意实施例中的智能终端、网络服务器以及放映设备。
根据本发明的第六方面,还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现本发明第一方面提供一种播放视频的控制方法的各实现方式中的部分或全部步骤。
根据本发明的第七方面,还提供另一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现本发明第二方面提供一种播放视频的控制方法的各实现方式中的部分或全部步骤。
根据本发明的第八方面,还提供另一种智能终端,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
接收用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器;由网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;
其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
根据本发明的第九方面,还提供另一种网络服务器,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
接收智能终端发送的对放映设备的控制指令;
查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;
其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
根据本发明的第十方面,还提供另一种系统,包括放映设备、本发明第八方面提供的智能终端以及本发明第九方面提供的网络服务器。
从上面所述可以看出,本发明提供的一种播放视频的控制方法和系统,通过智能终端获取用户操作,根据用户操作得到控制指令,将控制指令通过网络服务 器发送给放映设备,从而远程控制放映设备的视频播放过程。通过使用便于操作的智能终端作为操作平台,提升操作速度,降低了放映设备的控制难度,并且使得用户可以远程对放映设备进行控制。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明提供的一种播放视频的控制方法的实施例的流程示意图;
图2为本发明提供的一种播放视频的控制方法的另一实施例的流程示意图;
图3为本发明提供的一种播放视频的控制方法的又一实施例的时序图;
图4为本发明提供的一种播放视频的控制方法的一可选实施例的时序图;
图5为本发明提供的一种播放视频的控制系统的实施例的系统模块图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。
图1为本发明提供的一种播放视频的控制方法的实施例的流程示意图。如图所示,本发明的实施例提供一种播放视频的控制方法,应用于包含有智能终端、网络服务器和放映设备的系统中,其中所述智能终端和放映设备均通过网络与所述网络服务器连接(所述网络总体来说是远程通信网络,其具体表现形式可以为移动网络、有线网络等),包括以下步骤:
S200,智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器。
可选的,智能终端在接收到用户的触控操作后,在预先设置的控制指令列表中检索该触控操作对应的控制指令,并将检索到的控制指令转发给网络服务器。具体的触控操作和控制指令的对应方法,在下文进行举例说明。
所述智能终端为包括电脑、智能手机、平板电脑的具备网络连接功能的智能设备。
S300,所述网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备。
所述放映设备为包括智能电视、网络投影仪的具备网络连接功能的智能放映设备。
所述同步绑定是指,将智能终端和放映设备在网络服务器预先绑定,当网络服务器接收到智能终端发送的控制指令后,无需再次确认目标,将该控制指令发送至与该智能终端绑定的放映设备。具体的绑定方法在下文进行描述。
S400,放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制。
上述步骤S200-S400实现了智能终端通过网络远程控制放映设备的视频播放的过程。由于本方法并非通过本地通信(例如基于同一路由器的局域网、蓝牙、红外等)进行控制,所以不受距离限制。在一些可选实施例中,还包括切换智能终端和放映设备之间的连接方式的步骤,具体来说,智能终端定期(或在接收到用户的指令时)检测本地网络中的放映设备,若检测到已经建立绑定关系的放映设备,则在后续发送控制指令时,通过本地网络直接发送。当发送一些需要网络服务器才能实现的控制指令时,仍然通过网络服务器发送;从而降低控制的延迟,进一步提高操作速度。
在一些可选的实施例中,所述智能终端接收到用户输入的对放映设备的控制指令的步骤,包括:
S2001,智能终端显示操作界面。
S2002,智能终端感知用户对操作界面的触控操作。
S2003,智能终端解析所述触控操作,得到用于控制视频播放的控制指令。
通过上述步骤S2001-S2003,智能终端为用户提供了用于进行触控操作的界面,在步骤S2003中,智能终端将用户的触控操作解析为意义明确的控制指令。
上述解析步骤可以在智能终端本地完成,也可以将触控操作发送至网络服务器后,由网络服务器进一步完成解析,还可以是当将触控操作原封不动地发送至放映设备后,由放映设备最终执行解析。
在一些可选实施例中,该方法进一步包括:
所述智能终端显示操作界面,所述操作界面包括进度控制界面,所述进度控制界面包括进度条和在所述进度条上滑动的进度控制块;所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括S210,智能终端感知用户操作,调整放映设备视频播放进度的步骤,具体包括以下子步骤:
S211,感知用户对进度控制块的拖动操作。
所述拖动操作包括:感知用户的点击操作,若该点击操作的触点位置落于所述进度控制块的显示范围内,进一步感知用户在触摸屏的滑动操作,即感知触点的运动。
S212,获取拖动操作结束后进度控制块的位置。
所述触点消失,则判定拖动操作结束;若触点消失时的位置相对于触点的初始位置的水平距离差值为X,则将进度控制块在进度条上的位置移动X(X可以为正值也可以为负值),作为拖动操作结束后进度控制块的位置。
S213,计算该位置在视频文件中对应的时间点。
将进度条左端点作为视频时间起始点,右端点作为视频时间终止点。当获取到进度控制块的中点位置后,根据进度条左端点和该进度控制块的中点的距离,以及进度条右端点和该进度控制块的中点的距离的比例,可以成比例计算进度控制块此时所表示的视频文件的时间点。
S214,通过网络服务器向放映设备发送包含该时间点的进度调整指令,放映设备将正在播放的视频文件从该时间点开始播放。
上述步骤S210及其子步骤实现了智能终端通过网络服务器控制放映设备视 频播放进度的过程。
在另一可选的实施例中,所述操作界面包括弹幕发送界面,所述弹幕发送界面包括输入区和发送区;所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括S220,智能终端感知用户操作,发送弹幕的步骤,具体包括以下子步骤:
S221,获取用户输入的文字信息,暂时保存在输入区。
所述输入区可以为一框体,也可以是其他形状的特定区域,当用户输入文字信息后,将文字信息暂时保存在该区域中,使用户可见,可以进一步修改。
S222,当检测到用户点击发送区时,将输入区保存的文字信息转发至网络服务器。
所述发送区用于感知用户的发送操作。在其他可选的实施例中,所述发送操作也可以由其他方式检测,例如检测用户双击输入区,或检测到用户在输入区的滑动操作等。
S223,网络服务器将所述文字信息保存为放映设备正在播放的视频文件的弹幕。该弹幕包括发送时间,当用户观看该视频文件时,当视频播放至该时间点,则在播放界面显示该弹幕。
通过上述步骤S220及其子步骤,实现了远程发送弹幕评论的功能。
除了远程控制放映设备视频播放进度、远程发送弹幕评论等功能,其他例如调整音量、调整亮度、调整清晰度、调整播放速度等功能,其实现方式均同理类似。即在智能终端获取用户操作,再根据此操作判定具体的控制指令(在前文提出了控制指令列表的概念,可将这些用户操作的特征和控制指令进行一一对应,列举在控制指令列表中,以便于判定和查找),通过网络服务器(或本地网络)将控制指令发送至放映设备,放映设备根据控制指令调整其播放过程。
在一实施例中,所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括S230,智能终端感知用户操作,将播放列表中下一视频文件推送至放映设备,具体包括以下步骤:
S231,若感知到触控操作为朝向第一方向的扫动操作,获取放映设备的播放状态。
所述扫动操作是指,感知到触摸屏的点击操作后,获取触点的起始点位置,跟踪该触点移动,最终在触点消失时,获取消失点位置,若通过触点起始点位置、消失点位置、运动路径及运动时间,判定这是一次持续时间较短(具体时间阈值可以另行确定)的滑动操作,则判定为本文定义的“扫动操作”。而所述第一方向指所述起始点位置到消失点位置的方向,是人为定义的方向,通常为了适应用户的操作习惯,该第一方向可以设置为向右,当然也可以设置为其他方向。
S232,若此时放映设备正在播放视频文件,获取智能终端的播放列表中,下一视频文件的播放链接。
可选的,若没有下一视频文件,则在智能终端向用户提示“已到达播放列表最后”或与其类似的其他提示信息。
S233,向网络服务器发送包含下一视频文件的播放链接的推送指令。
可选的,网络服务器在接收到该推送指令后,获取推送指令中的播放链接,根据播放链接在视频库查找对应的视频文件,并将该视频文件发送至放映设备,放映设备开始接受网络服务器推送的视频文件后,开始播放该视频文件。
上述步骤S230及其子步骤实现了用户通过操作智能终端切换放映设备的视频的功能。用户在智能终端进行第一方向的扫动操作,放映设备即可播放下一视频文件。
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。
在另一实施例中,所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括S240,智能终端感知用户操作,将正在播放的视频文件推送至放映设备,具体包括以下步骤:
S241,若感知到触控操作为朝向第二方向的扫动操作,获取此时智能终端的播放状态。
所述扫动操作与上文中的扫动操作定义相同,而所述第二方向通常为了适应用户的操作习惯,设置为向上,当然也可以设置为其他方向。进一步,若判定触点的起始点位置位于智能终端的视频播放界面内,则进行后续步骤,否则不执行。
S242,若智能终端正在播放视频文件,向网络服务发送包含该视频文件的播放链接的推送指令。
S243,网络服务器根据播放链接,将该视频文件推送至放映设备进行播放。
具体执行步骤S242、S243的方式与执行上述步骤S232、S233的方式同理类似,在此不再赘述。
进一步的,在一可选实施例中,所述将视频文件推送至放映设备进行播放的步骤,还包括:
S290,成功将视频文件推送至放映设备后,终止智能终端的视频播放,在智能终端显示操作界面。
即当放映设备开始播放视频文件后,停止智能终端的视频播放过程,在智能终端显示操作界面,以供用户操作,远程对放映设备的视频播放过程进行控制。
进一步,可选的,步骤S290还包括:
S291,在智能终端同步显示该视频文件的海报。
图2为本发明提供的一种播放视频的控制方法的另一实施例的流程示意图。如图所示,在一优选的实施例中,所述网络服务器查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备的步骤前,还包括S100,将智能终端和放映设备在网络服务器绑定,具体包括以下子步骤:
S110,智能终端将包含有智能终端和放映设备的用户信息的绑定请求发送至网络服务器。
具体的,发送途径包括无线运营商提供的无线数据连接或宽带运营商提供的有线网络连接。
S120,网络服务器比较智能终端和放映设备的用户信息,判断二者的用户是 否为关联用户;所述关联用户为用户信息相同或用户信息预先在网络服务器进行关联的用户。
S130,若判定智能终端和放映设备的用户为关联用户,在网络服务器将智能终端和放映设备绑定。
所述绑定的含义是指,当网络服务器接收到智能终端发送的控制指令或推送视频的行为时,直接向与其绑定的放映设备推送控制指令或视频,而不再向智能终端询问目标;该绑定功能可以使用物理地址的对应或使用用户名的对应实现。
在进一步的实施例中,步骤S110之前,还包括一个隐含的步骤,即智能终端获取放映设备的用户信息的步骤。
例如,放映设备在接收到绑定指令后,显示包含自身用户信息的二维码,智能终端扫描该二维码,获取放映设备的用户信息后加入自身的识别信息中,或者通过其他方式获取放映设备的用户信息后加入自身的识别信息中。网络服务器在比较二者的识别信息时,若在移动终端的识别信息中查出放映设备的识别信息,即可证明移动终端和放映设备处于同一工作空间内,即用户当前希望通过该移动终端直接控制该放映设备,可直接实施绑定。
在一优选的实施例中,S200,智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤包括:
S201,智能终端生成包含自身用户信息和所述控制指令的控制报文。
S202,智能终端根据网络协议将所述控制报文通过网络转发给网络服务器。
S300,网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备的步骤包括:
S301,网络服务器接收到控制报文后,解析该控制报文,从控制报文获取智能终端的用户信息。
S302,网络服务器根据智能终端的用户信息,查找与该用户终端同步绑定的放映设备。
S303,网络服务器将控制报文转发给所述放映设备。
S400,放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控 制的步骤包括:
S401,放映设备接收到控制报文后,解析控制报文,从控制报文获取控制指令。
S402,放映设备根据控制指令对视频播放进行控制。
上述步骤解释了将控制指令由智能终端通过网络服务器发送至放映设备的具体方法。
进一步,在一些可选的实施例中,所述网络服务器将智能终端和放映设备进行绑定时,生成识别码,分别发送至智能终端和放映设备。
S200,智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤包括:
S203,智能终端将所述识别码加入所述控制报文;
S400,放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制的步骤包括:
S401,放映设备接收到控制报文后,解析控制报文,获取识别码;
S402,放映设备将该识别码与自身的识别码进行比较,若二者匹配,则进一步获取控制指令;若二者不匹配,则忽视本条控制报文。
本实施例提供了一种验证控制报文安全性的方法,通过在绑定智能终端和放映设备时分配一则单独的识别码,在控制报文中加入该识别码,并令放映设备在接收到控制报文时匹配识别码的方式,完成对该控制报文的安全性验证。
图3为本发明提供的一种播放视频的控制方法的又一实施例的时序图。如图所示,在该实施例中的方法包括以下步骤:
301,智能终端获取放映设备的用户信息。
302,用户设备向智能终端返回用户信息。
303,智能终端向网络服务器发送自身和放映设备的用户信息。
304,网络服务器根据所述用户信息,将智能终端和放映设备进行绑定。
305,智能终端接收用户的操作指令。
306,智能终端识别操作指令,得到与该操作指令对应的控制指令。
307,智能终端将控制指令发送至网络服务器。
308,网络服务器将控制指令发送至与智能终端绑定的放映设备。
309,放映设备根据控制指令,控制自身的视频播放过程。
本实施例实现了智能终端和放映设备在网络服务器的绑定过程,并在绑定的基础上,进一步智能终端识别用户操作,得到控制指令,通过网络服务器发送控制指令从而控制放映设备的视频播放过程。用户可以随时随地通过智能终端与放映设备去的连接,即使不在同一地区,用户也可以远程对放映设备的视频播放过程进行控制。
图4为本发明提供的一种播放视频的控制方法的一可选实施例的时序图。如图所示,在该实施例中的方法包括以下步骤:
401,智能终端获取放映设备的用户信息。
402,用户设备向智能终端返回用户信息。
403,智能终端向网络服务器发送自身和放映设备的用户信息。
404,网络服务器根据所述用户信息,将智能终端和放映设备进行绑定。
405,智能终端接收用户的操作指令。
406,智能终端识别操作指令,得到与该操作指令对应的控制指令。
407,智能终端生成包含自身用户信息和该控制指令的控制报文。
408,智能终端将控制报文发送至网络服务器。
409,网络服务器从控制报文解析智能终端的用户信息。
410,网络服务器查找与智能终端同步绑定的放映设备。
411,网络服务器将控制报文转发至该放映设备。
412,放映设备从控制报文解析控制指令。
413,放映设备根据控制指令对视频播放进行控制。
本实施例具体体现了控制指令是通过控制报文进行发送的。在必要时,该控制报文还可以被加密,进一步提高整个通信过程的安全程度。
在本发明的另一实施例中,还提供一种智能终端,所述智能终端通过网络连接至网络服务器,所述网络服务器通过网络连接至放映设备,包括:
接收单元,用于接收用户输入的对放映设备的控制指令;
转发单元,用于将该控制指令转发给网络服务器;由所述网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制。
在另一实施例中,所述接收单元用于显示视频播放界面,还用于在所述视频播放界面添加操作界面,感知用户对操作界面的触控操作,解析触控操作得到用于控制视频播放的控制指令。
在一可选实施例中,所述操作界面包括进度控制界面,所述进度控制界面包括进度条和在所述进度条上滑动的进度控制块;所述接收单元用于感知用户对进度控制块的拖动操作,获取拖动操作结束后进度控制块的位置,计算该位置在视频文件中对应的时间点;所述转发单元用于向网络服务器发送包含该时间点的进度调整指令。
在一可选实施例中,所述操作界面包括弹幕发送界面,所述弹幕发送界面包括输入区和发送区;所述接收单元用于获取用户输入的文字信息,暂时保存在输入区,当检测到用户点击发送区时,将输入区保存的文字信息转发至网络服务器。
在一较佳的实施例中,所述接收单元感知到触控操作为朝向第一方向的扫动操作,获取放映设备的播放状态;若此时放映设备正在播放视频文件,获取智能终端的播放列表中,下一视频文件的播放链接,向网络服务发送包含下一视频文件的播放链接的推送指令;或者,若感知到触控操作为朝向第二方向的扫动操作,获取此时智能终端的播放状态;若智能终端正在播放视频文件,向网络服务器发送包含该视频文件的播放链接的推送指令。
在一可选实施方式中,所述转发单元还用于成功将视频文件推送至放映设备后,终止视频播放,显示操作界面。
在另一实施例中,所述转发单元还用于将包含有智能终端和放映设备的用户信息的绑定请求发送至网络服务器。
在一较佳的实施方式中,所述转发单元生成包含自身用户信息和所述控制指令的控制报文,根据网络协议将所述控制报文通过网络转发给网络服务器。
在本发明的又一实施例中,还提供一种网络服务器,包括:
接收单元,用于接收智能终端发送的对放映设备的控制指令;
绑定单元,用于查找当前与所述智能终端同步绑定的放映设备;
转发单元,用于将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;
其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
需要特别说明的是,在上述对终端的表述中也包含“接收单元”、“转发单元”的技术特征;智能终端的转发单元与本实施例中的转发单元功能类似,但智能终端的“接收单元”用于感知用户的触控信号并将其转换为控制指令,本实施例的“接收单元”用于接收智能终端发送的控制指令,此处有所区别。
在另一可选的实施方式中,所述接收单元用于从智能终端获取包含时间点的进度调整指令;所述转发单元用于向所述放映设备发送所述进度调整指令,放映设备将正在播放的视频文件从该时间点开始播放。
在另一可选的实施方式中,所述接收单元用于从智能终端获取文字信息,将所述文字信息保存为放映设备正在播放的视频文件的弹幕。
在一较佳的实施方式中,所述绑定单元还用于比较智能终端和放映设备的用户信息,判断二者的用户是否为关联用户;所述关联用户为用户信息相同或用户信息预先在网络服务器进行关联的用户;若判定智能终端和放映设备的用户为关联用户,绑定单元将智能终端和放映设备绑定。
在另一可选的实施例中,所述接收单元具体用于从智能终端接收包含智能终端的用户信息和控制指令的控制报文,解析该控制报文,从控制报文获取智能终端的用户信息;则,
所述绑定单元用于根据智能终端的用户信息,查找与该用户终端同步绑定的放映设备;
所述转发单元用于将控制报文转发给所述放映设备;以便放映设备解析控制报文,从控制报文获取控制指令,执行控制指令对视频播放进行控制。
在又一较佳的实施例中,所述绑定单元还用于将智能终端和放映设备进行绑定时,生成识别码,分别发送至智能终端和放映设备;智能终端在发送控制报文前,将所述识别码加入控制报文;以便放映设备接收到控制报文后,解析控制报文,获取识别码,;放映设备将该识别码与自身的识别码进行比较,若二者匹配,则进一步获取控制指令;若二者不匹配,则忽视本条控制报文。
图5为本发明提供的一种播放视频的控制系统的实施例的系统模块图。如图所示,本发明提供的一种播放视频的控制系统的实施例,包括:
智能终端1,用于接收用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器;
网络服务器2,用于在收到所述控制指令后,查找当前与所述智能终端1同步绑定的放映设备3,将所述控制指令发送至该放映设备3;
放映设备3,用于在收到所述控制指令后,根据所述控制指令对视频播放进行控制;
所述智能终端1和放映设备3均通过网络与所述网络服务器2连接。
在一些可选的实施例中,所述智能终端包括显示单元和操作界面单元;所述显示单元用于显示视频播放界面,所述操作界面单元用于在所述视频播放界面添加操作界面,感知用户对操作界面的触控操作,解析触控操作得到用于控制视频播放的控制指令。
在一些可选实施例中,所述操作界面单元用于在所述视频播放界面添加操作界面,感知用户对操作界面的操作;所述操作界面包括进度控制界面,所述进度控制界面包括进度条和在所述进度条上滑动的进度控制块。
所述操作界面单元用于感知用户对进度控制块的拖动操作,获取拖动操作结束后进度控制块的位置,计算该位置在视频文件中对应的时间点;还用于通过网络服务器2向放映设备3发送包含该时间点的进度调整指令,放映设备3用于将正在播放的视频文件从该时间点开始播放。
在其他可选实施例中,所述操作界面包括弹幕发送界面,所述弹幕发送界面包括输入区和发送区。
所述操作界面单元用于获取用户输入的文字信息,暂时保存在输入区,当检测到用户点击发送区时,将输入区保存的文字信息转发至网络服务器;网络服务器2用于将所述文字信息保存为放映设备正在播放的视频文件的弹幕。
进一步,所述智能终端1还包括触控感知单元,用于感知用户的触控操作;若所述触控感知单元感知到触控操作为朝向第一方向的扫动操作,获取放映设备3的播放状态;若此时放映设备3正在播放视频文件,获取智能终端1的播放列表中,下一视频文件的播放链接,向网络服务器2发送包含下一视频文件的播放链接的推送指令。
可选的,所述智能终端1还包括触控感知单元,用于感知用户的触控操作;若所述触控感知单元感知到触控操作为朝向第二方向的扫动操作,获取此时智能终端1的播放状态;若智能终端1正在播放视频文件,向网络服务2发送包含该视频文件的播放链接的推送指令;网络服务器2根据播放链接,将该视频文件推送至放映设备3进行播放。
进一步,成功将视频文件推送至放映设备3后,智能终端1终止视频播放,显示操作界面。
在一优选的实施例中,智能终端1用于将包含有智能终端1和放映设备3的用户信息的绑定请求发送至网络服务器2;网络服务器2用于比较智能终端1和 放映设备3的用户信息,判断二者的用户是否为关联用户;所述关联用户为用户信息相同或用户信息预先在网络服务器2进行关联的用户;若判定智能终端1和放映设备3的用户为关联用户,网络服务器2还用于将智能终端1和放映设备3绑定。
在一较佳的实施例中,所述智能终端1用于生成包含自身用户信息和所述控制指令的控制报文,根据网络协议将所述控制报文通过网络转发给网络服务器2;所述网络服务器2接收到控制报文后,用于解析该控制报文,从控制报文获取智能终端1的用户信息,根据智能终端1的用户信息,查找与该用户终端1同步绑定的放映设备3,将控制报文转发给所述放映设备3;所述放映设备3接收到控制报文后,用于解析控制报文,从控制报文获取控制指令,根据控制指令对视频播放进行控制。
在另一实施例中,所述网络服务器2将智能终端1和放映设备3进行绑定时,生成识别码,分别发送至智能终端1和放映设备3;所述智能终端1在生成控制报文时,将所述识别码加入所述控制报文;放映设备3接收到控制报文后,解析控制报文,获取识别码将该识别码与自身的识别码进行比较,若二者匹配,则进一步获取控制指令;若二者不匹配,则忽视本条控制报文。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现图1-图4所示实施例提供的应用于智能终端的播放视频的控制方法的各实现方式中的部分或全部步骤。
本发明实施例还提供另一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现图1-图4所示实施例提供的应用于网络服务器的播放视频的控制方法的各实现方式中的部分或全部步骤。
本发明实施例还提供了另一种智能终端,该智能终端包括处理器和用于存储处理器可执行指令的存储器。其中,所述处理器被配置为:接收用户输入的对放 映设备的控制指令,将该控制指令转发给网络服务器;由网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
本发明实施例还提供了另一种网络服务器,该网络服务器包括处理器和用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:接收智能终端发送的对放映设备的控制指令;查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
本发明实施例还提供了另一种系统,该系统包括上述发明实施例提供的所述另一种智能终端、上述发明实施例提供的所述另一种网络服务器以及放映设备。
从上面所述可以看出,本发明提供的一种播放视频的控制方法和系统,通过智能终端获取用户操作,根据用户操作得到控制指令,将控制指令通过网络服务器发送给放映设备,从而远程控制放映设备的视频播放过程。通过使用便于操作的智能终端作为操作平台,提升操作速度,降低了放映设备的控制难度,并且使得用户可以远程对放映设备进行控制。
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明它们没有在细节中提供。因此,凡在本发明的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (29)

  1. 一种播放视频的控制方法,其特征在于,包括以下步骤:
    接收用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器;由网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;
    其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
  2. 根据权利要求1所述的方法,其特征在于,所述智能终端接收到用户输入的对放映设备的控制指令的步骤,包括:
    显示操作界面;
    感知用户对操作界面的触控操作;
    解析所述触控操作,得到用于控制视频播放的控制指令。
  3. 根据权利要求2所述的方法,其特征在于,所述操作界面包括进度控制界面,所述进度控制界面包括进度条和在所述进度条上滑动的进度控制块;所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括:
    感知用户对进度控制块的拖动操作,获取拖动操作结束后进度控制块的位置,计算该位置在视频文件中对应的时间点;
    向网络服务器发送包含该时间点的进度调整指令。
  4. 根据权利要求2所述的方法,其特征在于,所述操作界面包括弹幕发送界面,所述弹幕发送界面包括输入区和发送区;所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤,包括:
    智能终端获取用户输入的文字信息,暂时保存在输入区;当检测到用户点击发送区时,将输入区保存的文字信息转发至网络服务器。
  5. 根据权利要求1所述的方法,其特征在于,所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤, 包括:
    若感知到触控操作为朝向第一方向的扫动操作,获取放映设备的播放状态;
    若此时放映设备正在播放视频文件,获取智能终端的播放列表中,下一视频文件的播放链接;
    向网络服务发送包含下一视频文件的播放链接的推送指令;或者,
    若感知到触控操作为朝向第二方向的扫动操作,获取此时智能终端的播放状态;
    若智能终端正在播放视频文件,向网络服务器发送包含该视频文件的播放链接的推送指令。
  6. 根据权利要求5所述的方法,其特征在于,所述将视频文件推送至放映设备进行播放的步骤,还包括:
    成功将视频文件推送至放映设备后,终止视频播放,显示操作界面。
  7. 根据权利要求1所述的方法,其特征在于,所述网络服务器查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备的步骤前,还包括将智能终端和放映设备在网络服务器绑定的步骤,包括:
    智能终端将包含有智能终端和放映设备的用户信息的绑定请求发送至网络服务器。
  8. 根据权利要求1-7任意一项所述的方法,其特征在于,所述智能终端接收到用户输入的对放映设备的控制指令,将该控制指令转发给网络服务器的步骤还包括:
    智能终端生成包含自身用户信息和所述控制指令的控制报文;
    智能终端根据网络协议将所述控制报文通过网络转发给网络服务器。
  9. 一种播放视频的控制方法,其特征在于,包括:
    接收智能终端发送的对放映设备的控制指令;
    查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至 该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;
    其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
  10. 根据权利要求9所述的方法,其特征在于,所述网络服务器将控制指令发送给放映设备,以便放映设备根据控制指令对视频播放进行控制的步骤,包括:
    从智能终端获取包含时间点的进度调整指令;
    向所述放映设备发送所述进度调整指令,以便放映设备将正在播放的视频文件从该时间点开始播放。
  11. 根据权利要求9所述的方法,其特征在于,所述网络服务器将控制指令发送给放映设备,以便放映设备根据控制指令对视频播放进行控制的步骤,还包括:
    从智能终端获取文字信息,将所述文字信息保存为放映设备正在播放的视频文件的弹幕。
  12. 根据权利要求9所述的方法,其特征在于,所述查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备的步骤前,还包括将智能终端和放映设备绑定的步骤,包括:
    比较智能终端和放映设备的用户信息,判断二者的用户是否为关联用户;所述关联用户为用户信息相同或用户信息预先在网络服务器进行关联的用户;
    若判定智能终端和放映设备的用户为关联用户,将智能终端和放映设备绑定。
  13. 根据权利要求9-12任意一项所述的方法,其特征在于,所述将控制指令发送至该放映设备,以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制的步骤进一步包括:
    从智能终端接收包含智能终端的用户信息和控制指令的控制报文,解析该控制报文,从控制报文获取智能终端的用户信息;
    根据智能终端的用户信息,查找与该用户终端同步绑定的放映设备;
    将控制报文转发给所述放映设备;以便放映设备解析控制报文,从控制报文获取控制指令,执行控制指令对视频播放进行控制。
  14. 根据权利要求13所述的方法,其特征在于,还包括;
    将智能终端和放映设备进行绑定时,生成识别码,分别发送至智能终端和放映设备;智能终端在发送控制报文前,将所述识别码加入控制报文;以便放映设备接收到控制报文后,解析控制报文,获取识别码,将该识别码与自身的识别码进行比较,若二者匹配,则进一步获取控制指令;若二者不匹配,则忽视本条控制报文。
  15. 一种智能终端,其特征在于,所述智能终端通过网络连接至网络服务器,所述网络服务器通过网络连接至放映设备,包括:
    接收单元,用于接收用户输入的对放映设备的控制指令;
    转发单元,用于将该控制指令转发给网络服务器;由所述网络服务器收到所述控制指令后,查找当前与所述智能终端同步绑定的放映设备,将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制。
  16. 根据权利要求15所述的智能终端,其特征在于,所述接收单元用于显示视频播放界面,还用于在所述视频播放界面添加操作界面,感知用户对操作界面的触控操作,解析触控操作得到用于控制视频播放的控制指令。
  17. 根据权利要求16所述的智能终端,其特征在于,所述操作界面包括进度控制界面,所述进度控制界面包括进度条和在所述进度条上滑动的进度控制块;所述接收单元用于感知用户对进度控制块的拖动操作,获取拖动操作结束后进度控制块的位置,计算该位置在视频文件中对应的时间点;所述转发单元用于向网络服务器发送包含该时间点的进度调整指令。
  18. 根据权利要求16所述的智能终端,其特征在于,所述操作界面包括弹幕发送界面,所述弹幕发送界面包括输入区和发送区;所述接收单元用于获取用户输入的文字信息,暂时保存在输入区,当检测到用户点击发送区时,将输入区保存的文字信息转发至网络服务器。
  19. 根据权利要求15所述的智能终端,其特征在于,所述接收单元感 知到触控操作为朝向第一方向的扫动操作,获取放映设备的播放状态;若此时放映设备正在播放视频文件,获取智能终端的播放列表中,下一视频文件的播放链接,向网络服务发送包含下一视频文件的播放链接的推送指令;或者,若感知到触控操作为朝向第二方向的扫动操作,获取此时智能终端的播放状态;若智能终端正在播放视频文件,向网络服务器发送包含该视频文件的播放链接的推送指令。
  20. 根据权利要求19所述的智能终端,其特征在于,所述转发单元还用于成功将视频文件推送至放映设备后,终止视频播放,显示操作界面。
  21. 根据权利要求15所述的智能终端,其特征在于,所述转发单元还用于将包含有智能终端和放映设备的用户信息的绑定请求发送至网络服务器。
  22. 根据权利要求15-21任意一项所述的智能终端,其特征在于,所述转发单元生成包含自身用户信息和所述控制指令的控制报文,根据网络协议将所述控制报文通过网络转发给网络服务器。
  23. 一种网络服务器,其特征在于,包括:
    接收单元,用于接收智能终端发送的对放映设备的控制指令;
    绑定单元,用于查找当前与所述智能终端同步绑定的放映设备;
    转发单元,用于将所述控制指令发送至该放映设备;以便放映设备收到所述控制指令后,根据所述控制指令对视频播放进行控制;
    其中,智能终端通过网络连接至网络服务器,网络服务器通过网络连接至放映设备。
  24. 根据权利要求23所述的网络服务器,其特征在于,所述接收单元用于从智能终端获取包含时间点的进度调整指令;所述转发单元用于向所述放映设备发送所述进度调整指令,放映设备将正在播放的视频文件从该时间点开始播放。
  25. 根据权利要求23所述的网络服务器,其特征在于,所述接收单元用于从智能终端获取文字信息,将所述文字信息保存为放映设备正在播放的视频文件的弹幕。
  26. 根据权利要求23所述的网络服务器,其特征在于,所述绑定单元 还用于比较智能终端和放映设备的用户信息,判断二者的用户是否为关联用户;所述关联用户为用户信息相同或用户信息预先在网络服务器进行关联的用户;若判定智能终端和放映设备的用户为关联用户,绑定单元将智能终端和放映设备绑定。
  27. 根据权利要求23-26所述的网络服务器,其特征在于,所述接收单元具体用于从智能终端接收包含智能终端的用户信息和控制指令的控制报文,解析该控制报文,从控制报文获取智能终端的用户信息;则,
    所述绑定单元用于根据智能终端的用户信息,查找与该用户终端同步绑定的放映设备;
    所述转发单元用于将控制报文转发给所述放映设备;以便放映设备解析控制报文,从控制报文获取控制指令,执行控制指令对视频播放进行控制。
  28. 根据权利要求27所述的网络服务器,其特征在于,所述绑定单元还用于将智能终端和放映设备进行绑定时,生成识别码,分别发送至智能终端和放映设备;智能终端在发送控制报文前,将所述识别码加入控制报文;以便放映设备接收到控制报文后,解析控制报文,获取识别码,;放映设备将该识别码与自身的识别码进行比较,若二者匹配,则进一步获取控制指令;若二者不匹配,则忽视本条控制报文。
  29. 一种系统,其特征在于,包括:如权利要求15-22任意一项所述的智能终端、权利要求23-28任意一项所述的网络服务器以及放映设备。
PCT/CN2016/088941 2015-12-14 2016-07-06 一种播放视频的控制方法和系统 WO2017101375A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/242,410 US20170171270A1 (en) 2015-12-14 2016-08-19 Method and electronic device for controlling video playing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510924405.9A CN105872623A (zh) 2015-12-14 2015-12-14 一种播放视频的控制方法和系统
CN201510924405.9 2015-12-14

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/242,410 Continuation US20170171270A1 (en) 2015-12-14 2016-08-19 Method and electronic device for controlling video playing

Publications (1)

Publication Number Publication Date
WO2017101375A1 true WO2017101375A1 (zh) 2017-06-22

Family

ID=56623839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088941 WO2017101375A1 (zh) 2015-12-14 2016-07-06 一种播放视频的控制方法和系统

Country Status (2)

Country Link
CN (1) CN105872623A (zh)
WO (1) WO2017101375A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040241A (zh) * 2021-10-27 2022-02-11 中移(杭州)信息技术有限公司 数据投屏方法、装置、设备及计算机可读存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375784A (zh) * 2016-08-31 2017-02-01 三星电子(中国)研发中心 评论节目和提供节目的评论信息的方法和装置
CN108011912B (zh) * 2016-11-11 2020-10-30 北京车和家信息技术有限责任公司 车辆控制方法、服务器、行车电脑设备、终端设备及系统
CN108090102A (zh) * 2016-11-21 2018-05-29 法乐第(北京)网络科技有限公司 一种视频处理设备、车辆及视频处理方法
CN109309880B (zh) * 2018-10-08 2021-10-22 腾讯科技(深圳)有限公司 视频播放方法、装置、计算机设备及存储介质
CN109819302A (zh) * 2019-03-05 2019-05-28 北京奇艺世纪科技有限公司 多媒体文件播放控制方法及装置
CN110798724A (zh) * 2019-11-25 2020-02-14 上海邸客网络科技有限公司 一种非同网络下的手持终端控制电视盒子的投屏播放方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071437A1 (en) * 2003-09-30 2005-03-31 Microsoft Corporation Method and system for navigation using media transport controls
CN103916690A (zh) * 2014-03-20 2014-07-09 小米科技有限责任公司 智能电视远程控制方法及相关装置
CN104506928A (zh) * 2014-12-24 2015-04-08 百度在线网络技术(北京)有限公司 基于云端的控制方法和设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130014137A1 (en) * 2011-07-06 2013-01-10 Manish Bhatia User impression media analytics platform apparatuses and systems
CN102170483A (zh) * 2010-12-28 2011-08-31 四川长虹电器股份有限公司 一种用手机或电脑控制智能电视机的实现方法
CN102118499A (zh) * 2010-12-31 2011-07-06 深圳市同洲软件有限公司 移动终端控制显示终端播放视频的方法、装置和系统
US8918719B2 (en) * 2011-02-14 2014-12-23 Universal Electronics Inc. Graphical user interface and data transfer methods in a controlling device
CN102185884A (zh) * 2011-03-18 2011-09-14 北京易视腾科技有限公司 多屏互动方法及系统
CN104768043A (zh) * 2014-01-08 2015-07-08 成都惠申科技有限公司 移动终端互动电视同步控制装置
CN103885426B (zh) * 2014-03-28 2018-07-10 百度在线网络技术(北京)有限公司 设备的控制方法、客户端、服务器、中间设备和被控设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071437A1 (en) * 2003-09-30 2005-03-31 Microsoft Corporation Method and system for navigation using media transport controls
CN103916690A (zh) * 2014-03-20 2014-07-09 小米科技有限责任公司 智能电视远程控制方法及相关装置
CN104506928A (zh) * 2014-12-24 2015-04-08 百度在线网络技术(北京)有限公司 基于云端的控制方法和设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040241A (zh) * 2021-10-27 2022-02-11 中移(杭州)信息技术有限公司 数据投屏方法、装置、设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN105872623A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017101375A1 (zh) 一种播放视频的控制方法和系统
EP3797521B1 (en) Identifying and controlling smart devices
US20170171270A1 (en) Method and electronic device for controlling video playing
US9913301B2 (en) Content sharing method and device
KR102151680B1 (ko) 미디어 컨텐츠를 제시하기 위한 시스템들, 방법들 및 컴퓨터 판독 가능 매체들
KR101834995B1 (ko) 디바이스 간 컨텐츠 공유 방법 및 장치
CN105763909B (zh) 用于远程设备上自适应媒体内容清理的方法、设备和介质
EP2790337A1 (en) Method and apparatus for allowing playback devices to perform synchronized playback of streaming content
EP2858322B1 (en) Method and terminal for sharing media stream
US20160366461A1 (en) Method and Device for Mobile Communication Terminal to Control Smart TV to Play Video File
WO2015081886A1 (zh) 通过移动通信终端向智能电视安装应用程序的方法及装置
EP2566158A1 (en) Content replay device, control information providing server, and content replay system
EP3103020B1 (en) User terminal and control method thereof
US10893087B1 (en) Streaming and nonstreaming media transfer between devices
WO2017096851A1 (zh) 一种推送视频文件的方法、系统和服务器
WO2015021928A1 (zh) 一种多屏交互方法、终端及系统
CN103634688A (zh) 移动通信终端控制智能电视播放视频文件的方法及装置
TWI568286B (zh) 點對點多媒體資料分享方法、電子裝置及非揮發性可讀式電腦媒體
JP7409963B2 (ja) チャンネル変更に基づいたトリガフィーチャを有するコンピューティングシステム
TW201518952A (zh) 多屏互動的方法、中心設備、終端設備及系統
CN109005438B (zh) 视频播放方法及装置
WO2013167064A2 (zh) 一种业务切换方法、系统及服务器
EP3139573A1 (en) Media processing method and device
EP3474559A1 (en) Smart-television playback method and apparatus
EP3010244A1 (en) Method and device for controlling implementation of application and recording medium thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16874437

Country of ref document: EP

Kind code of ref document: A1