CN106303615A - Play the methods, devices and systems of video - Google Patents
Play the methods, devices and systems of video Download PDFInfo
- Publication number
- CN106303615A CN106303615A CN201610671499.8A CN201610671499A CN106303615A CN 106303615 A CN106303615 A CN 106303615A CN 201610671499 A CN201610671499 A CN 201610671499A CN 106303615 A CN106303615 A CN 106303615A
- Authority
- CN
- China
- Prior art keywords
- video
- playing
- condition
- preset
- played
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000001514 detection method Methods 0.000 claims abstract description 22
- 238000004891 communication Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 20
- 230000001143 conditioned effect Effects 0.000 abstract 3
- 238000010586 diagram Methods 0.000 description 13
- 230000000694 effects Effects 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44209—Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
- H04N21/26225—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving billing parameters, e.g. priority for subscribers of premium services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/26606—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing entitlement messages, e.g. Entitlement Control Message [ECM] or Entitlement Management Message [EMM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44245—Monitoring the upstream path of the transmission network, e.g. its availability, bandwidth
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4623—Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4627—Rights management associated to the content
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of methods, devices and systems playing video.Wherein, the method includes: video the most to be played is play in playback terminal request, and wherein, video is the video allowing under certain condition directly to play;Playback terminal gathers at least one the broadcasting conditional parameter of the video that current request is play;Playback terminal obtains whether at least one broadcasting conditional parameter of detection video meets pre-conditioned result;If result is pre-conditioned for meeting, playback terminal allows to commence play out video;If result is pre-conditioned for being unsatisfactory for, playback terminal controls the play right of video.The present invention solves user in prior art, and to watch the operating process of paid promotion video loaded down with trivial details, and operation object-oriented is limited, very flexible, the limited serious technical problem of operation way.
Description
Technical Field
The invention relates to the field of internet videos, in particular to a method, a device and a system for playing videos.
Background
With the rapid development of internet technology, network resources are more and more abundant, and people are more and more favored to watch videos on the network. When a user watches videos, some network video resources are not completely free to be opened to the client, and the users can watch the videos only after being members or purchased independently. The operation mode of the operator for paying the video is mainly a mode of giving a movie ticket, so that the user can watch the video free of charge. At this time, the non-member or non-paying user needs to complete a ticket receiving and ticket using process to watch the free video, and the operation process is complicated. And the users who do not receive the coupons still cannot watch the coupons, and the operation-oriented objects are relatively limited.
Aiming at the technical problems that in the prior art, the operation flow of watching the pay popularization video by a user is complicated, and the operation mode of an operator is seriously limited, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for playing a video, which are used for at least solving the technical problems that in the prior art, the operation process of watching a pay popularization video by a user is complicated, the operation oriented object is limited, the flexibility is poor, and the operation mode is severely limited.
According to an aspect of an embodiment of the present invention, there is provided a video playing method, including: the method comprises the steps that a playing terminal requests to play a video to be played currently, wherein the video is a video which is allowed to be played directly under a certain condition; the method comprises the steps that a playing terminal collects at least one playing condition parameter of a video which is requested to be played currently; the method comprises the steps that a playing terminal obtains a result of detecting whether at least one playing condition parameter of a video meets a preset condition; if the result meets the preset condition, the playing terminal allows the video to be played; and if the result does not meet the preset condition, the playing terminal controls the playing authority of the video.
According to another aspect of the embodiments of the present invention, there is also provided a video playing system, including: the system comprises a playing terminal, a video processing terminal and a video playing terminal, wherein the playing terminal is used for requesting to play a video to be played currently, the video is a video which is allowed to be directly played under a certain condition, and at least one playing condition parameter of the video requested to be played currently is acquired; the server establishes a communication relation with the playing terminal, is used for receiving at least one playing condition parameter of the video, and returns a result of detecting whether the at least one playing condition parameter of the video meets a preset condition to the playing terminal; if the detection result meets the preset condition, the playing terminal is also used for allowing the video to be played; and if the result does not meet the preset condition, the playing terminal is also used for controlling the playing authority of the video.
According to another aspect of the embodiments of the present invention, there is also provided a video playing apparatus, including:
the request module is used for requesting to play a video to be played currently, wherein the video is a video which is allowed to be directly played under a certain condition; the acquisition module is used for acquiring at least one playing condition parameter of a current video requested to be played; the detection module is used for acquiring a result of detecting whether at least one playing condition parameter of the video meets a preset condition; the execution module is used for controlling video playing according to whether the detection result meets the preset condition, and if the detection result meets the preset condition, the playing terminal allows the video playing to be started; and if the result does not meet the preset condition, the playing terminal controls the playing authority of the video.
In the embodiment of the invention, a playing terminal is adopted to request to play a video to be played currently, and the playing condition parameters of the video requested to be played currently are collected, then the playing terminal acquires the result of detecting whether the playing condition of the video meets the preset condition, and if the result meets the preset condition, the playing terminal allows the video to be played; otherwise, the playing terminal controls the playing permission of the video by judging the playing condition parameters, so that the technical effects of simple operation process and high operation effect of watching the payment promotion video by the user are realized, and the technical problems of complicated operation process, limited operation-oriented object, poor flexibility and serious limitation of operation mode in the prior art are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a system diagram of a video playback method according to the prior art;
fig. 2 is a schematic interaction diagram of a video playing system server and a playing terminal according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a hardware environment for a video playback method according to an embodiment of the present invention;
FIG. 4 is a flow chart of an alternative video playback method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an alternative video playback device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an alternative video playback device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an alternative video playback device according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an alternative video playback device according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of an alternative video playback device according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of an alternative video playback device according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of an alternative video playback device according to an embodiment of the present invention;
fig. 12 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, a system embodiment of a video playing method is provided.
Fig. 1 is a system diagram of an alternative video playing method according to an embodiment of the present invention, and as shown in fig. 1, the system may include a playing terminal 10 and a server 20.
The playing terminal 10 is configured to request to play a video to be played currently, where the video to be played currently is a video that is allowed to be directly played under a certain condition. At this time, the playing terminal collects at least one playing condition parameter of the video currently requested to be played, and sends a video playing request to the server 20. The playing condition parameters include, but are not limited to, identification information of the video, identification information of the playing scene, and identification information of the user currently logging in the playing terminal. The playback terminal may be, but is not limited to: smart phones, tablet computers, electronic players, and the like. The server 20 establishes a communication relationship with the playing terminal 10, and is configured to receive at least one playing condition parameter of the video, and return a result of detecting whether the at least one playing condition parameter of the video meets a preset condition to the playing terminal 10. If the result meets the preset condition, the playing terminal 10 allows the video to be played to start playing; if the result does not satisfy the preset condition, the playing terminal 10 controls the playing authority of the video. It should be noted that the communication connection between the cast terminal 10 and the server 20 is a wireless connection, and is used for data interaction between the cast terminal 10 and the server 20.
The following describes the message interaction between the server and the playing terminal in the video playing system with reference to fig. 2:
the playing terminal collects at least one playing condition parameter of the video which is requested to be played currently and sends a video playing request to the server, wherein the playing condition parameter is used for being matched with a preset condition of the server. The server establishes a communication connection relation with the playing terminal, receives at least one playing condition parameter of the video, detects whether the at least one playing condition parameter of the video meets a preset condition, and finally sends a detection result to the playing terminal. And the playing terminal controls the playing of the video according to the detection result. When the detection result meets the preset condition, the playing terminal allows the video to be played; and when the detection result does not meet the preset condition, the playing terminal controls the playing authority of the video.
In the first embodiment of the present application, a playing terminal requests to play a video to be played currently, and collects a playing condition parameter of the video requested to be played currently; the server establishes a communication connection relation with the playing terminal, receives at least one playing condition parameter of the video to be played, detects whether the playing condition of the video meets the result of a preset condition, and returns the result to the playing terminal. Therefore, in the scheme, the judgment on the playing condition parameters can be realized, and the playing authority of the video can be controlled. It is easy to notice that due to the adoption of the judgment of the video playing condition and the control of the video playing permission, the technical effects of simple operation process and high operation effect of watching the payment popularization video by the user are realized, and the technical problems of complicated operation process, limited operation-oriented object, poor flexibility and serious operation mode limitation of the user in the prior art are solved.
Optionally, the playing condition parameter may include at least one of the following: the video identification information, the playing scene identification information and the identification information of the user currently logging in the playing terminal.
In an optional embodiment, before a playing terminal requests to play a video to be played currently, the playing terminal may further send a video request to a server, and receive a video list returned by the server according to the video request, where a video recorded in the video list is a video that is allowed to be directly played under a certain condition; and the playing terminal enters a preset playing scene under the condition of requesting to play any one or more videos in the video list.
It should be noted that, the user finds the video that the user wants to watch through the playing terminal, and selects the video resource to be played. Before this, the cast terminal needs to establish a communication connection with the server, and the connection between the cast terminal and the server can be through a network protocol. The playing terminal can send a message to the server in a data packet sending mode, and the server analyzes the data packet to obtain video playing request information of the playing terminal and detect the video playing request information. When the video resource to be played meets certain conditions or a user currently logging in the playing terminal meets certain conditions, the playing terminal directly plays the video resource. In this embodiment, the playing terminal device requests the server to play the video to be played currently, so that the situation that the pressure of a user storage space is increased due to the fact that a large amount of data is stored in the built-in storage space of the playing terminal device can be avoided, and the effects of relieving the pressure of the storage space of the playing terminal device and improving the use performance of the terminal device are achieved.
In an optional embodiment, before the playing terminal obtains a result of detecting whether at least one playing condition parameter of the video meets a preset condition, the playing terminal first acquires the at least one playing condition parameter of the video, then sends the at least one playing condition parameter of the video to the server, and finally receives a result returned by the server, wherein the server judges whether the at least one playing condition parameter meets the preset condition.
Optionally, in the above embodiment, the playing terminal encrypts and sends the at least one playing condition parameter of the video to the server, where the server determines whether the decrypted at least one playing condition parameter is legal or matched with a preset parameter.
It should be noted that, the playing terminal sends the identification information of the video and the identification information of the user currently logging in the playing terminal to the server through the network. And the playing terminal receives a result which is returned to the playing terminal by the server and meets the requirement of playing the video. The algorithm for encrypting the playing condition parameters by the playing terminal can be, but is not limited to, DES, RC4, MS5, HASH, and the like. After the playing terminal obtains the playing condition parameters, 8 bytes in the entry parameters of the DES algorithm are set as a working KEY, the working mode is set as an encryption mode, the input data blocks are recombined according to bits, the output is divided into A, B parts, each part is 32 bits, the 58 th bit of the input is changed to the first bit, the 50 th bit is changed to the second bit … …, and the like, the result after 16 times of iterative operation is used as the input of inverse permutation, and after the inverse permutation operation, a ciphertext is output. The process of decrypting the data by the server and the process of encrypting the data by the playing terminal are inverse operations, wherein the working mode is set as a decryption mode. In the embodiment, the encryption and decryption of the playing condition parameters can prevent the data from being intercepted to a certain extent, thereby improving the security of data transmission and ensuring the integrity of the transmitted data.
In an optional embodiment, before the server determines whether the decrypted at least one playing condition parameter is legal or matched with a preset parameter, the server determines whether the video currently requested to be played is a video recorded in a preset video list; under the condition that the video requested to be played currently is the video recorded in the preset video list, continuously judging whether the playing time of the video requested to be played currently is within a preset time period; and finally, under the condition that the playing time of the video which is requested to be played currently is within a preset time period, the step of judging whether at least one playing condition parameter is legal or matched with a preset parameter is carried out.
It should be noted that the preset list records an ID of a video that can be promoted free, a time that can be played free, identification information of a user, and the like. After the server decrypts the playing condition parameters, it is first determined whether the video file requested to be played currently is in a preset video list, and if the video to be played is not in the video list, it indicates that the video cannot be freely promoted, and the user does not have the right to watch the video resource. If the video to be played is in the preset list, but the video is not promoted for free in the time period, the server also returns a message that the video cannot be played to the playing terminal. And when the playing time of the video to be played is within the time period, further judging whether the user has the permission to watch the video under the condition.
In an optional embodiment, under the condition that the playing condition parameter includes the identification information of the user currently logging in the playing terminal, judging whether the identification information of the user currently logging in the playing terminal is legal; under the condition of determining to be legal, judging whether a user currently logging in the playing terminal requests other videos or not; and if the user currently logging in the playing terminal requests other videos, stopping the user currently logging in the playing terminal from playing the video to be played.
It should be noted that only one video file can be played by one terminal player at the same time. When a user applies to watch a plurality of video files at the same time, the server returns a video list to the client, the playing terminal detects that the video list contains a plurality of playable files, and at the moment, the playing terminal stops the user currently logging in the playing terminal to play the video to be played.
Optionally, in the above embodiment, the obtaining, by the play terminal, a result of detecting whether at least one play condition parameter of the video meets a preset condition includes: judging whether the video requested to be played currently is the video recorded in a preset video list, judging whether the playing time of the video requested to be played currently is within a preset time period, and judging whether at least one playing condition parameter is legal or matched with a preset parameter.
It should be noted that, in this embodiment, whether the playing condition parameter satisfies the preset condition is determined in the playing terminal, rather than at the server side. The determination method is the same as the determination method performed at the server side, and is not described herein again. In this embodiment, the judgment of whether the playing condition parameters meet the preset conditions can be completed by the playing terminal or the server, so that the flexibility of the video playing system can be increased, and the video playing system can be flexibly configured according to actual conditions conveniently.
Example 2
According to an embodiment of the present invention, an embodiment of a method for playing a video is provided.
Alternatively, in this embodiment, the method for playing back a video may be applied to a hardware environment formed by the playback terminal 102 and the server 104 shown in fig. 3. As shown in fig. 3, the server 104 is connected to the cast terminal 102 through a network, which includes but is not limited to: the wide area network, the metropolitan area network or the local area network, and the playing terminal is not limited to a PC, a mobile phone, a tablet computer, and the like. The graph shown in fig. 3 places the health service on the server side. The video playing method according to the embodiment of the present invention may be executed by the server 104, or executed by the playing terminal 102, or executed by both the server 104 and the playing terminal 102.
Fig. 4 is a flowchart of an alternative video playing method according to an embodiment of the present invention, and as shown in fig. 4, the method may include the following steps:
step S202: requesting to play a video to be played currently, wherein the video to be played is a video which is allowed to be directly played under a certain condition.
Step S204: at least one playing condition parameter of the video which is requested to be played currently is collected.
Step S206: and acquiring a result of detecting whether at least one playing condition parameter of the video meets a preset condition.
Step S208: and if the detection result meets the preset condition, allowing the video to be played.
Step S210: and if the detection result does not meet the preset condition, controlling the playing authority of the video.
It should be noted that the scheme provided by the above steps can be executed by a specific structure in the video playing system in embodiment 1 of the present invention. In the above steps, the playing terminal requests to play a video to be played currently, collects the playing condition parameters of the video requested to be played currently, then the playing terminal obtains the result of detecting whether the playing condition of the video meets the preset condition, if the result meets the preset condition, the playing terminal allows the video to be played; otherwise, the playing terminal controls the playing authority of the video. Therefore, in the scheme, the judgment on the playing condition parameters can be realized, and the playing authority of the video can be controlled. Due to the fact that judgment on video playing conditions and control on video playing permission are adopted, the technical effects that a user watches the pay popularization video are simple in operation process and high in operation effect are achieved, and the technical problems that in the prior art, the operation process that the user watches the pay popularization video is complex, the operation orientation is limited, flexibility is poor, and the operation mode is limited seriously are solved.
In the technical solution provided in step S202, the user finds a video that the user wants to watch through the playing terminal, and selects the video resource to be played. Before this, the cast terminal needs to establish a communication connection with the server, and the connection between the cast terminal and the server can be through a network protocol. The playing terminal can send a message to the server in a data packet sending mode, and the server analyzes the data packet to obtain video playing request information of the playing terminal. It should be noted that, at least one video playing software may be provided on the playing terminal device or the video to be played may be selected and viewed on the web page. When the video resource to be played meets certain conditions, such as the video resource is in a free promoted video list, or when the user currently logging in the playing terminal meets certain conditions, such as the user uses the playing terminal device for the first time, the user can directly watch the video resource after clicking the video to be played. The network protocol may be any one of the prior art, such as the simplest HTTP protocol. The server may include a database for storing identification information of the free promotional videos, identification information of users who can watch the promotional videos, and the like. In this embodiment, the playing terminal device requests the server to play the video to be played currently, so that the situation that the pressure of a user storage space is increased due to the fact that a large amount of data is stored in the built-in storage space of the playing terminal device can be avoided, and the effects of relieving the pressure of the storage space of the playing terminal device and improving the use performance of the terminal device are achieved.
In the technical solution provided in step S204, the playing terminal sends a request for playing the video to the server, and after the server obtains the request, a message that the request is successful is returned to the playing terminal by the similar operation in step S202. And then, the playing terminal obtains the playing condition parameters of the video to be played. It should be noted that the playing condition parameters may include identification information of a video, identification information of a playing scene, identification information of a currently logged-in playing terminal user, and the like. The cast terminal may search these cast condition parameters from the database of the cast terminal device. The playing terminal obtains the playing condition parameters of the current video to be played, packages the condition parameters, and sends the packaged condition parameters to the server through a common network protocol in the prior art. It should be noted that, after the playing condition parameters are packed and sent to the server, the playing condition parameters in the playing terminal device are cleared in time, so as to relieve the space pressure of the storage space of the playing terminal.
In the technical solution provided in step S206, after the playing terminal collects at least one playing condition parameter of the video currently requested to be played, the playing parameter conditions are packaged and sent to the server through the network protocol. The server analyzes the playing condition parameters, detects whether the playing condition parameters meet the preset conditions of the server, and returns the detection result to the playing terminal. It should be noted that the preset condition may include whether the video to be played currently is in the list of free promoted videos, whether the current user is qualified to enjoy the privilege of free video watching, and the like. And when one or more of the playing condition parameters meet the preset condition, the server returns a message meeting the preset condition to the playing terminal, otherwise, the server returns a message not meeting the preset condition. It should be noted that the returned message is sent in the form of a data packet, and one field of the data packet is returned information whether the returned message meets the preset condition. The playing terminal can obtain the detection result by only analyzing the data packet and reading the field. In this embodiment, the playing terminal controls the player of the playing terminal device terminal to play the video to be played by obtaining the detection result returned by the server, so that the technical problems in the prior art that the operation process of the user for watching the payment promotion video is complicated, the operation-oriented object is limited, the flexibility is poor, and the operation mode is severely limited are solved, and the technical effects that the operation process of the user for watching the payment promotion video is simple and the operation effect is high are achieved.
In the technical solution provided in step S208, the playing terminal first receives the detection result returned by the server, performs parsing processing, reads a field containing the detection result from the parsed data, and then performs playing control on the video to be played according to the information of the field. And when the field message read by the playing terminal equipment indicates that the playing condition parameters meet the preset conditions, the playing terminal starts to play the video file.
In the technical solution provided in step S210, when the field message read by the play terminal device indicates that the play condition parameter does not satisfy the preset condition, the play terminal device does not play the video file, and provides which play permissions on the screen of the play terminal device do not enable the user to watch the video.
The video playing method of the embodiment of the invention comprises the steps that a playing terminal requests to play a video to be played currently, acquires playing condition parameters of the video requested to be played currently, then acquires a result of detecting whether the playing condition of the video meets a preset condition, and if the result meets the preset condition, the playing terminal allows the video to be played; otherwise, the playing terminal controls the playing authority of the video, so that the technical effects of simple operation process and high operation effect of watching the payment popularization video by the user are achieved, and the technical problems that in the prior art, the operation process of watching the payment popularization video by the user is complicated, the operation orientation is limited, the flexibility is poor, and the operation mode is limited seriously are solved.
As an alternative embodiment, before the play terminal requests to play the video to be played at step S202, the embodiment may further include the following steps:
step S302, the playing terminal sends a video request to a server;
step S304, the playing terminal receives a video list returned by the server according to the video request, wherein the video recorded in the video list is a video allowed to be directly played under a certain condition; and the playing terminal enters a preset playing scene under the condition that the playing terminal requests to play any one or more videos in the video list.
It should be noted that this embodiment may complete the communication between the cast terminal and the server. And the playing terminal packs the video request message into a data packet and sends the data packet to the server in a network form. After the server receives the data packet, the server sends the video list which is promoted freely to the playing terminal, and the playing terminal receives the video list. When the video requested by the user is in the list of the playing video, the playing terminal starts playing the video. The playing scene can be a carousel scene, a continuous playing scene and an on-demand scene. In a carousel scene, when a video requested by a playing terminal to a server is not in a video playing list popularized free of charge, if a user is a paid user and wants to watch the paid video, the playing terminal guides the user to complete a paying operation, so that the user watches the paid video.
As an optional embodiment, in step S206, the playing terminal obtains a result of detecting whether at least one playing condition parameter of the video meets a preset condition, where the embodiment further includes the following steps:
step S306, the playing terminal collects at least one playing condition parameter of the video;
step S308, the playing terminal sends at least one playing condition parameter of the video to the server;
in step S310, the broadcast terminal receives the result returned by the server.
It should be noted that, in the above steps S306 to S310, the identification information of the video collected by the play terminal and the identification information of the user currently logging in the play terminal can be implemented. And the playing terminal sends the identification information of the video and the identification information of the user currently logging in the playing terminal to the server through the network. And the playing terminal receives a result which is returned to the playing terminal by the server and meets the requirement of playing the video.
As an alternative embodiment, the step S308 that the playing terminal sends at least one playing condition parameter of the video to the server may include the following steps:
step S3082, the playing terminal encrypts at least one playing condition parameter of the video and sends the encrypted playing condition parameter to the server, and the server judges whether the decrypted at least one playing condition parameter is legal or matched with a preset parameter.
The algorithm for encrypting the playback condition parameters by the playback terminal may be, but is not limited to, DES, RC4, MS5, HASH, and the like. After the playing terminal obtains the playing condition parameters, 8 bytes in the entry parameters of the DES algorithm are set as a working KEY, the working mode is set as an encryption mode, the input data blocks are recombined according to bits, the output is divided into A, B parts, each part is 32 bits, the 58 th bit of the input is changed to the first bit, the 50 th bit is changed to the second bit … …, and the like, the result after 16 times of iterative operation is used as the input of inverse permutation, and after the inverse permutation operation, a ciphertext is output. The process of decrypting the data by the server and the process of encrypting the data by the playing terminal are inverse operations, wherein the working mode is set as a decryption mode. In the embodiment, the encryption and decryption of the playing condition parameters can prevent the data from being intercepted to a certain extent, thereby improving the security of data transmission and ensuring the integrity of the transmitted data.
As an alternative embodiment, before the step S3082 determines whether the decrypted at least one playing condition parameter is legal or matches with a preset parameter, the embodiment may further include the following steps:
step S30821, determining whether the video currently requested to be played is a video recorded in a preset video list;
step S30823, in a case that the video requested to be played currently is a video recorded in a preset video list, continuing to determine whether the playing time of the video requested to be played currently is within a preset time period;
step S30825, when the playing time of the current video requested to be played is within the preset time period, the method proceeds to the step of determining whether at least one playing condition parameter is legal or matched with a preset parameter.
It should be noted that the preset list records an ID of a video that can be promoted free, a time that can be played free, identification information of a user, and the like. After the server decrypts the playing condition parameters, it is first determined whether the video file requested to be played currently is in a preset video list, and if the video to be played is not in the video list, it indicates that the video cannot be freely promoted, and the user does not have the right to watch the video resource. If the video to be played is in the preset list, but the video is not promoted for free in the time period, the server also returns a message that the video cannot be played to the playing terminal. And when the playing time of the video to be played is within the time period, further judging whether the user has the permission to watch the video under the condition.
As an optional embodiment, in step S30825, in the case that the playing condition parameter includes identification information of a user currently logging in the playing terminal, where it is determined whether at least one playing condition parameter is legal or matches a preset parameter, the embodiment may include the following steps:
step S30827, judging whether the identification information of the user currently logging in the playing terminal is legal;
step S30829, under the condition that the user is legal, whether the user currently logging in the playing terminal requests other videos is judged; under the condition that the user currently logging in the playing terminal requests other videos, the user currently logging in the playing terminal is stopped playing the video to be played.
It should be noted that only one video file can be played by one terminal player at the same time. When a user applies to watch a plurality of video files at the same time, the server returns a video list to the client, the playing terminal detects that the video list contains a plurality of playable files, and at the moment, the playing terminal stops the user currently logging in the playing terminal to play the video to be played.
As an alternative embodiment, the step S2020 that the play terminal obtains a result of detecting whether at least one play condition parameter of the video meets the preset condition, the embodiment may include the following steps:
step S20201, judging whether the video requested to be played currently is the video recorded in a preset video list;
step S20203, determining whether the playing time of the video currently requested to be played is within a preset time period;
step S20205, determine whether at least one playing condition parameter is legal or matched with a preset parameter.
It should be noted that, in this embodiment, whether the playing condition parameter satisfies the preset condition is determined in the playing terminal, rather than at the server side. The determination method is the same as the determination method performed at the server side, and is not described herein again. In this embodiment, the judgment of whether the playing condition parameters meet the preset conditions can be completed by the playing terminal or the server, so that the flexibility of the video playing system can be increased, and the video playing system can be flexibly configured according to actual conditions conveniently.
In an optional scheme, the server judges whether the user identification information of the current login playing terminal is legal or not, and judges whether the user of the current login playing terminal requests other videos or not; if the user currently logging in the playing terminal requests other videos, the user currently logging in the playing terminal is stopped playing the video to be played, and if not, the video to be played is played.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 3
According to an embodiment of the present invention, there is also provided an apparatus for implementing the video playing method, and fig. 5 is a schematic diagram of an apparatus for a video playing method according to an embodiment of the present invention, and as shown in fig. 5, the apparatus may include:
a request module 502, configured to request to play a video to be played currently, where the video is a video that is allowed to be directly played under a certain condition; an acquisition module 504, configured to acquire at least one play condition parameter of a currently requested video to be played; a detection module 506, configured to obtain a result of detecting whether at least one playing condition parameter of the video meets a preset condition; and the execution module 508 is configured to allow the video to be played when the detection result meets a preset condition, and otherwise, control the playing permission of the video.
It should be noted that the request module 502 in this embodiment may be configured to execute the step S202 in the embodiment 2 of the present application, the acquisition module 504 in this embodiment may be configured to execute the step S204 in the embodiment 2 of the present application, the detection module 506 in this embodiment may be configured to execute the step S206 in the embodiment 2 of the present application, and the execution module 508 in this embodiment may be configured to execute the step S208 and the step S210 in the embodiment 2 of the present application.
As an alternative embodiment, as shown in fig. 6, the video playing apparatus may further include: a first sending module 5020, configured to be at the play terminal; before a video to be played currently is requested to be played, a video request is sent to a server; the first receiving module 5022 is configured to receive a video list returned by the server according to the video request, where the video recorded in the video list is a video that is allowed to be directly played under a certain condition; and under the condition that the playing terminal requests to play any one or more videos in the video list, the playing terminal enters a preset playing scene.
It should be noted that the first sending module 5020 in this embodiment may be used for executing the step S302 in embodiment 2 of this application, and the first receiving module 5022 in this embodiment may be used for executing the step S306 in embodiment 2 of this application.
As an alternative embodiment, as shown in fig. 7, the video playing apparatus may further include: a second sending module 5024, configured to send at least one playing condition parameter of the video to the server; the second receiving module 5026 is configured to receive a result returned by the server, where the server determines whether at least one playing condition parameter satisfies a preset condition.
It should be noted that the second sending module 5024 in this embodiment may be used for executing the step S308 in the embodiment 2 of this application, and the second receiving module 5026 in this embodiment may be used for executing the step S310 in the embodiment 2 of this application.
As an alternative embodiment, as shown in fig. 8, the acquisition module 504 may include: an encrypting module 5040, configured to encrypt at least one playing condition parameter of the video before the playing terminal sends the playing condition parameter to the server.
It should be noted that the encryption module 5040 in this embodiment may be configured to perform step S3082 in embodiment 2 of this application.
As an alternative embodiment, as shown in fig. 8, the detection module 506 may include: a decryption module 5060, configured to decrypt the at least one playing condition parameter before the server determines whether the at least one playing condition parameter is legal or matches with a preset parameter.
It should be noted that the encryption module 5040 in this embodiment may be configured to perform step S30821, step S30823 and step S30825 in embodiment 2 of the present application.
As an alternative embodiment, as shown in fig. 9, the detection module 506 may further include: a first judging module 5062, configured to judge whether a video currently requested to be played is a video recorded in a preset video list; a second judging module 5064, configured to, when the video currently requested to be played is a video recorded in the preset video list, continuously judge whether the playing time of the video currently requested to be played is within a preset time period; the third determining module 5066 is configured to, when the playing time of the video currently requested to be played is within a preset time period, enter a step of determining whether at least one playing condition parameter is legal or matched with a preset parameter.
It should be noted that the first determining module 5062, the second determining module 5064, and the third determining module 5066 in this embodiment may be configured to perform step S30821, step S30823, and step S30825 in embodiment 2 of the present application.
As an alternative embodiment, as shown in fig. 10, the third determining module 5066 may include: a first matching module 50662, configured to determine whether the identification information of the user currently logged in the playback terminal is legal; a second matching module 50664, configured to determine whether a user currently logging in the playback terminal requests another video if it is determined that the user is legal; under the condition that the user currently logging in the playing terminal requests other videos, the user currently logging in the playing terminal is stopped playing the video to be played.
It should be noted that the first matching module 50662 and the second matching module 50664 in this embodiment may be configured to perform step S30827 and step S30829 in embodiment 2 of this application.
As an alternative embodiment, as shown in fig. 11, the detecting module 506 may further include:
a fourth judging module 5061, configured to judge whether the video currently requested to be played is a video recorded in a preset video list; a fifth judging module 5063, configured to judge whether a playing time of the video requested to be played currently is within a preset time period; the sixth determining module 5065 determines whether at least one playing condition parameter is legal or matched with a preset parameter.
It should be noted that the detecting module 506 is located at the playing terminal, and the fourth determining module 5061, the fifth determining module 5063 and the sixth determining module 5065 may be configured to execute step S310 in embodiment 2 of the present application.
Through the module, the judgment on the playing condition parameters can be realized, the playing permission of the video is controlled, the purposes of simple operation flow and high operation effect of watching the pay popularization video by the user are achieved, and the technical problems that in the prior art, the operation flow of watching the pay popularization video by the user is complicated, the operation is limited in object orientation, the flexibility is poor, and the operation mode is limited seriously are solved.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of embodiment 3 above. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 3, and may be implemented by software or hardware.
Example 4
According to an embodiment of the present invention, there is also provided a server or a terminal for implementing the video playing method, as shown in fig. 12, the server or the terminal a includes: one or more processors 161 (only one of which is shown), a memory 163, and a transmission device 165.
The memory 163 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for identifying identification card information in the embodiments of the present invention, and the processor 161 executes various functional applications and data processing by running the software programs and modules stored in the memory 163, that is, implements the above-mentioned method for identifying identification card information. Memory 163 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 163 may further include memory located remotely from the processor 161, which may be connected to the computer terminal a via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 165 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 165 includes a network adapter (NIC) that can be connected to a router via a network cable and other network devices to communicate with the internet or a local area network. In one example, the transmission device 165 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The processor 161 may request to play a video to be played currently through the playing terminal, where the video is a video that is allowed to be directly played under a certain condition; the method comprises the steps that a playing terminal collects at least one playing condition parameter of a video which is requested to be played currently; the method comprises the steps that a playing terminal obtains a result of detecting whether at least one playing condition parameter of a video meets a preset condition; if the result is that the preset condition is met, the playing terminal allows the video to be played; and if the result is that the preset condition is not met, the playing terminal controls the playing authority of the video.
Optionally, the processor 161 may further execute the following program codes: the playing terminal sends a video request to the server; the playing terminal receives a video list returned by the server according to the video request, wherein the video recorded in the video list is a video which is allowed to be directly played under a certain condition; and the playing terminal enters a preset playing scene under the condition that the playing terminal requests to play any one or more videos in the video list.
Optionally, the processor 161 may further execute the following program codes: the method comprises the steps that a playing terminal collects at least one playing condition parameter of a video; the playing terminal sends at least one playing condition parameter of the video to the server; and the playing terminal receives a result returned by the server, wherein the server judges whether at least one playing condition parameter is a slow preset condition or not.
Optionally, the processor 161 may further execute the following program codes: the playing terminal encrypts at least one playing condition parameter of the video and sends the encrypted playing condition parameter to the server, wherein the server judges whether the decrypted at least one playing condition parameter is legal or matched with a preset parameter.
Optionally, the processor 161 may further execute the following program codes: judging whether the video requested to be played currently is a video recorded in a preset video list; under the condition that the video requested to be played currently is the video recorded in the preset video list, continuously judging whether the playing time of the video requested to be played currently is within a preset time period; and under the condition that the playing time of the video which is requested to be played currently is within a preset time period, the step of judging whether at least one playing condition parameter is legal or matched with a preset parameter is carried out.
Optionally, the processor 161 may further execute the following program codes: judging whether the identification information of the user currently logging in the playing terminal is legal or not; under the condition of determining to be legal, judging whether a user currently logging in the playing terminal requests other videos or not; under the condition that the user currently logging in the playing terminal requests other videos, the user currently logging in the playing terminal is stopped playing the video to be played.
Optionally, the processor 161 may further execute the following program codes: judging whether the video requested to be played currently is a video recorded in a preset video list; judging whether the playing time of the video which is requested to be played currently is within a preset time period; and judging whether the at least one playing condition parameter is legal or matched with a preset parameter. Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
Example 4
The embodiment of the invention also provides a storage medium. Alternatively, in this embodiment, the storage medium may be used to execute the program code of the method for playing back video of embodiment 1.
Alternatively, in this embodiment, the storage medium 902 may be located in at least one of a plurality of network devices in a network of computers.
Optionally, in this embodiment, the storage medium 902 is configured to store program code for performing the following steps:
s1, the playing terminal requests to play the current video to be played, wherein the video is allowed to be directly played under certain conditions;
s2, the playing terminal collects at least one playing condition parameter of the video requested to be played currently;
s3, the playing terminal obtains the result of detecting whether at least one playing condition parameter of the video meets the preset condition;
s4, if the result is that the preset condition is satisfied, the playing terminal allows the video to be played;
and S5, if the result is that the preset condition is not met, the playing terminal controls the playing authority of the video. Optionally, the storage medium 902 is further arranged to store program code for performing the steps of:
the playing condition parameters include: the video identification information, the playing scene identification information and the identification information of the user currently logging in the playing terminal.
Optionally, the storage medium 902 is further arranged to store program code for performing the steps of:
the playing terminal sends a video request to the server; the playing terminal receives a video list returned by the server according to the video request, wherein the video recorded in the video list is a video which is allowed to be directly played under a certain condition; and the playing terminal enters a preset playing scene under the condition that the playing terminal requests to play any one or more videos in the video list.
Optionally, the storage medium 902 is further arranged to store program code for performing the steps of:
the method comprises the steps that a playing terminal collects at least one playing condition parameter of a video; the playing terminal sends at least one playing condition parameter of the video to the server; and the playing terminal receives a result returned by the server, wherein the server judges whether at least one playing condition parameter is a slow preset condition or not.
Optionally, the storage medium 902 is further arranged to store program code for performing the steps of:
the playing terminal encrypts at least one playing condition parameter of the video and sends the encrypted playing condition parameter to the server, wherein the server judges whether the decrypted at least one playing condition parameter is legal or matched with a preset parameter.
Optionally, the storage medium 902 is further arranged to store program code for performing the steps of:
judging whether the video requested to be played currently is a video recorded in a preset video list; under the condition that the video requested to be played currently is the video recorded in the preset video list, continuously judging whether the playing time of the video requested to be played currently is within a preset time period; and under the condition that the playing time of the video which is requested to be played currently is within a preset time period, the step of judging whether at least one playing condition parameter is legal or matched with a preset parameter is carried out.
Optionally, the storage medium 902 is further arranged to store program code for performing the steps of:
judging whether the identification information of the user currently logging in the playing terminal is legal or not; under the condition of determining to be legal, judging whether a user currently logging in the playing terminal requests other videos or not; under the condition that the user currently logging in the playing terminal requests other videos, the user currently logging in the playing terminal is stopped playing the video to be played.
Optionally, the storage medium 902 is further arranged to store program code for performing the steps of:
judging whether the video requested to be played currently is a video recorded in a preset video list; judging whether the playing time of the video which is requested to be played currently is within a preset time period; and judging whether the at least one playing condition parameter is legal or matched with a preset parameter.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in 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, and including instructions for causing one or more computer devices (which may be personal computers, servers, or network devices) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.
Claims (10)
1. A method of playing a video, comprising:
requesting to play a video to be played currently, wherein the video is a video which is allowed to be directly played under a certain condition;
collecting at least one playing condition parameter of the video which is requested to be played currently;
acquiring a result of detecting whether at least one playing condition parameter of the video meets a preset condition;
if the result is that the preset condition is met, allowing the playing terminal to start playing the video;
and if the result is that the preset condition is not met, controlling the playing permission of the video.
2. The method of claim 1, wherein the playback condition parameter comprises at least one of: the video identification information, the playing scene identification information and the identification information of the user currently logging in the playing terminal.
3. The method according to claim 1, wherein before the playback terminal requests to play back the video currently to be played back, the method further comprises:
sending a video request to a server;
receiving a video list returned by the server according to the video request, wherein the video recorded in the video list is a video allowed to be directly played under a certain condition; wherein,
and under the condition that any one or more videos in the video list are requested to be played, the playing terminal enters a preset playing scene.
4. The method according to any one of claims 1 to 3, wherein obtaining a result of detecting whether at least one playing condition parameter of the video meets a preset condition comprises:
collecting at least one playing condition parameter of the video;
sending at least one playing condition parameter of the video to a server;
and receiving the result returned by the server, wherein the server judges whether the at least one playing condition parameter meets the preset condition.
5. The method according to claim 4, wherein at least one playback condition parameter of the video is encrypted and sent to the server, and wherein the server determines whether the decrypted at least one playback condition parameter is legal or matches a preset parameter.
6. The method according to claim 5, wherein before the server determines whether the decrypted at least one playback condition parameter is legal or matches a preset parameter, the method further comprises:
judging whether the video requested to be played currently is a video recorded in a preset video list;
when the video requested to be played currently is the video recorded in the preset video list, continuously judging whether the playing time of the video requested to be played currently is within a preset time period;
and under the condition that the playing time of the video which is requested to be played currently is within the preset time period, the step of judging whether the at least one playing condition parameter is legal or matched with a preset parameter is carried out.
7. The method according to claim 6, wherein in the case that the playing condition parameter includes identification information of a user currently logged in the playing terminal, wherein the determining whether the at least one playing condition parameter is legal or matches a preset parameter comprises:
judging whether the identification information of the user currently logging in the playing terminal is legal or not;
under the condition of determining to be legal, judging whether the user currently logging in the playing terminal requests other videos or not;
and under the condition that the user currently logging in the playing terminal requests other videos, stopping the user currently logging in the playing terminal from playing the video to be played.
8. The method according to any one of claims 1 to 3, wherein the obtaining, by the play terminal, a result of detecting whether at least one play condition parameter of the video meets a preset condition includes at least one of:
judging whether the video requested to be played currently is a video recorded in a preset video list;
judging whether the playing time of the video requested to be played currently is within a preset time period;
and judging whether the at least one playing condition parameter is legal or matched with a preset parameter.
9. A system for playing video, comprising:
the system comprises a playing terminal, a video processing terminal and a video playing terminal, wherein the playing terminal is used for requesting to play a video to be played currently, the video is a video which is allowed to be directly played under a certain condition, and at least one playing condition parameter of the video which is requested to be played currently is acquired;
the server establishes a communication relation with the playing terminal, is used for receiving at least one playing condition parameter of the video, and returns a result of detecting whether the at least one playing condition parameter of the video meets a preset condition to the playing terminal;
if the result is that the preset condition is met, the playing terminal is further used for allowing the video to be played; and if the result is that the preset condition is not met, the playing terminal is also used for controlling the playing authority of the video.
10. An apparatus for playing video, comprising:
the request module is used for requesting to play a video to be played currently, wherein the video is a video which is allowed to be directly played under a certain condition;
the acquisition module is used for acquiring at least one playing condition parameter of the video which is requested to be played currently;
the detection module is used for acquiring a result of detecting whether at least one playing condition parameter of the video meets a preset condition;
the execution module is used for allowing the playing terminal to start playing the video when the result meets the preset condition; and when the result does not meet the preset condition, controlling the playing permission of the video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610671499.8A CN106303615A (en) | 2016-08-15 | 2016-08-15 | Play the methods, devices and systems of video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610671499.8A CN106303615A (en) | 2016-08-15 | 2016-08-15 | Play the methods, devices and systems of video |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106303615A true CN106303615A (en) | 2017-01-04 |
Family
ID=57670630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610671499.8A Pending CN106303615A (en) | 2016-08-15 | 2016-08-15 | Play the methods, devices and systems of video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106303615A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106954085A (en) * | 2017-03-02 | 2017-07-14 | 北京潘达互娱科技有限公司 | Live network broadcast method and device |
CN108280618A (en) * | 2017-01-06 | 2018-07-13 | 北大方正集团有限公司 | The method and system of online barcode scanning project management |
CN108573135A (en) * | 2018-04-23 | 2018-09-25 | 北京小米移动软件有限公司 | Terminal management-control method, apparatus and system |
CN111600934A (en) * | 2020-04-20 | 2020-08-28 | 星络智能科技有限公司 | Storage medium, intelligent central control equipment and pushing authentication method thereof |
WO2020177468A1 (en) * | 2019-03-06 | 2020-09-10 | 中兴通讯股份有限公司 | Method and apparatus for controlling content presentation, and server and storage medium |
CN111723343A (en) * | 2020-05-09 | 2020-09-29 | 百度在线网络技术(北京)有限公司 | Interaction control method and device of electronic equipment and electronic equipment |
CN112118469A (en) * | 2019-06-21 | 2020-12-22 | 西安诺瓦星云科技股份有限公司 | Media playing method and media playing terminal |
CN113965796A (en) * | 2021-11-29 | 2022-01-21 | 青岛聚看云科技有限公司 | Interface display method and display equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036113A (en) * | 2010-12-31 | 2011-04-27 | 华为终端有限公司 | Control method of digital television programs, television data card and digital televiewing system |
CN102547380A (en) * | 2011-12-31 | 2012-07-04 | 深圳创维数字技术股份有限公司 | Program content playing method and device |
CN103209343A (en) * | 2012-01-16 | 2013-07-17 | 中国科学院声学研究所 | Method and device for controlling authorization of live channels of interactive television |
WO2014182066A1 (en) * | 2013-05-08 | 2014-11-13 | Samsung Electronics Co., Ltd. | Content providing method and device |
CN104883618A (en) * | 2015-05-11 | 2015-09-02 | 腾讯科技(北京)有限公司 | Method, device, and system for tentatively watching living programs |
CN105611332A (en) * | 2015-12-23 | 2016-05-25 | Tcl集团股份有限公司 | Video service access method and system |
-
2016
- 2016-08-15 CN CN201610671499.8A patent/CN106303615A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036113A (en) * | 2010-12-31 | 2011-04-27 | 华为终端有限公司 | Control method of digital television programs, television data card and digital televiewing system |
CN102547380A (en) * | 2011-12-31 | 2012-07-04 | 深圳创维数字技术股份有限公司 | Program content playing method and device |
CN103209343A (en) * | 2012-01-16 | 2013-07-17 | 中国科学院声学研究所 | Method and device for controlling authorization of live channels of interactive television |
WO2014182066A1 (en) * | 2013-05-08 | 2014-11-13 | Samsung Electronics Co., Ltd. | Content providing method and device |
CN104883618A (en) * | 2015-05-11 | 2015-09-02 | 腾讯科技(北京)有限公司 | Method, device, and system for tentatively watching living programs |
CN105611332A (en) * | 2015-12-23 | 2016-05-25 | Tcl集团股份有限公司 | Video service access method and system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108280618A (en) * | 2017-01-06 | 2018-07-13 | 北大方正集团有限公司 | The method and system of online barcode scanning project management |
CN106954085A (en) * | 2017-03-02 | 2017-07-14 | 北京潘达互娱科技有限公司 | Live network broadcast method and device |
CN108573135A (en) * | 2018-04-23 | 2018-09-25 | 北京小米移动软件有限公司 | Terminal management-control method, apparatus and system |
CN108573135B (en) * | 2018-04-23 | 2022-04-01 | 北京小米移动软件有限公司 | Terminal control method, device and system |
WO2020177468A1 (en) * | 2019-03-06 | 2020-09-10 | 中兴通讯股份有限公司 | Method and apparatus for controlling content presentation, and server and storage medium |
CN112118469A (en) * | 2019-06-21 | 2020-12-22 | 西安诺瓦星云科技股份有限公司 | Media playing method and media playing terminal |
CN111600934A (en) * | 2020-04-20 | 2020-08-28 | 星络智能科技有限公司 | Storage medium, intelligent central control equipment and pushing authentication method thereof |
CN111723343A (en) * | 2020-05-09 | 2020-09-29 | 百度在线网络技术(北京)有限公司 | Interaction control method and device of electronic equipment and electronic equipment |
CN111723343B (en) * | 2020-05-09 | 2023-10-20 | 百度在线网络技术(北京)有限公司 | Interactive control method and device of electronic equipment and electronic equipment |
CN113965796A (en) * | 2021-11-29 | 2022-01-21 | 青岛聚看云科技有限公司 | Interface display method and display equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11055429B2 (en) | Key providing method, video playing method, server and client | |
CN106303615A (en) | Play the methods, devices and systems of video | |
EP2567311B1 (en) | Device authentication for secure key retrieval for streaming media players | |
KR101248790B1 (en) | Method of providing access to encrypted content to one of a plurality of consumer systems, device for providing access to encrypted content and method of generating a secure content package | |
JP5626816B2 (en) | Method and apparatus for partial encryption of digital content | |
US20050100161A1 (en) | Access to encrypted broadcast content | |
CN101350918B (en) | Method for protecting copyright of video content | |
CN106331751A (en) | Online encrypted slice video playing method based on iOS operating system | |
CN104735484B (en) | A kind of method and device for playing video | |
CN106658045A (en) | Cloud storage and cloud download methods for multimedia data and related devices | |
CN108881966B (en) | Information processing method and related equipment | |
CN106375834A (en) | Offline playing method and apparatus of online encrypted slice videos based on iOS operating system | |
CN108259171A (en) | The guard method of Shader files and device | |
CN109698935A (en) | Monitor video encrypting and decrypting method and device, equipment, storage medium, system | |
WO2017054620A1 (en) | Dvb-based multi-terminal program playing method and system, set top box and mobile terminal | |
US20110113443A1 (en) | IP TV With DRM | |
JP4791425B2 (en) | Method and system for performing DRM function and additional function using DRM (Digital Rights Management) device | |
CN103237010A (en) | Server side for providing digital content in encryption mode | |
WO2018086566A1 (en) | Pvr protection method and system | |
CN108055356A (en) | A kind of information processing method, server, client and readable storage medium storing program for executing | |
CN110392288B (en) | Multimedia file playing method, terminal device and terminal equipment | |
CN110290097B (en) | Data processing method and device, storage medium and electronic device | |
TW200410540A (en) | Validity verification method for a local digital network key | |
CN109600631B (en) | Video file encryption and publishing method and device | |
CN110380843B (en) | Information processing method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |