CN115278345A - Video transmitting method, system, device and non-volatile storage medium - Google Patents

Video transmitting method, system, device and non-volatile storage medium Download PDF

Info

Publication number
CN115278345A
CN115278345A CN202210899921.0A CN202210899921A CN115278345A CN 115278345 A CN115278345 A CN 115278345A CN 202210899921 A CN202210899921 A CN 202210899921A CN 115278345 A CN115278345 A CN 115278345A
Authority
CN
China
Prior art keywords
information
request
request information
server
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210899921.0A
Other languages
Chinese (zh)
Inventor
傅小萍
刘晓芳
肖大力
李忠禹
冯星
王思艺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210899921.0A priority Critical patent/CN115278345A/en
Publication of CN115278345A publication Critical patent/CN115278345A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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/45Management 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/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • 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/45Management 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/462Content 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a video sending method, a system, a device and a nonvolatile storage medium. Wherein, the method comprises the following steps: sending a playing request to a first server, obtaining first request information, sending the first request information to a second server, and obtaining a main index file; adding the first anti-theft link information into the second resource positioning information to generate second request information, and sending the second request information to a second server to obtain a sub-index file; adding the first anti-theft link information into third resource positioning information to generate third request information, sending the third request information to a second server, and acquiring the fragment file in real time to play the video; and under the condition that the video playing time exceeds a preset time threshold, updating the anti-theft link information, and re-acquiring the fragment file for video playing. The method and the device solve the technical problem that in the prior art, the video resources are stolen by an illegal terminal user bypassing the anti-theft chain information verification because the anti-theft chain information verification is only carried out when the terminal equipment requests the channel main index file.

Description

Video transmitting method, system, device and non-volatile storage medium
Technical Field
The present application relates to the field of communication security technologies, and in particular, to a video transmission method, a system, an apparatus, and a non-volatile storage medium.
Background
In an interactive Network Television (IPTV) system, information interaction is usually performed between a terminal device, an Electronic Program Guide (EPG Server) and a Content Delivery Network (CDN) Server to play video resources.
At present, a video anti-theft link strategy of the mobile phone IPTV only checks anti-theft link information when a terminal requests a channel main index file, and subsequent sub-index files and fragment file requests are not checked. However, it is this point that the illegal end user directly sends a request to the CDN server to request the sub-index file of the corresponding channel, thereby bypassing the hotlink check to steal the video resource.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a video sending method, a system, a device and a nonvolatile storage medium, which at least solve the technical problem that in the prior art, an illegal terminal user bypasses the anti-theft chain information check to steal video resources because the anti-theft chain information check is only carried out when a terminal device requests a channel main index file.
According to an aspect of an embodiment of the present application, there is provided a video transmitting method, including: the method comprises the steps that terminal equipment sends a playing request to a first server, obtains first request information and sends the first request information to a second server, and obtains a main index file, wherein the first request information comprises first anti-theft chain information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of a sub-index file; adding the first anti-theft link information into second resource positioning information to generate second request information, and sending the second request information to a second server to obtain a sub-index file, wherein the sub-index file comprises third resource positioning information, and the third resource positioning information is used for representing address information of the fragment file; adding the first anti-theft link information into third resource positioning information to generate third request information, sending the third request information to a second server, and acquiring a fragment file in real time to play a video; and under the condition that the video playing duration exceeds a preset time threshold, updating the anti-theft link information, and re-acquiring the fragment file for video playing.
Optionally, when the video playing time exceeds the preset time threshold, updating the hotlink information, and obtaining the fragment file from the second server again to play the video includes: setting a timer and recording the time length of video playing; under the condition that the video playing duration exceeds a preset time threshold, sending a playing request to a first server to obtain second anti-theft link information; and replacing the first anti-theft link information in the second request information and the third request information as second anti-theft link information, and acquiring the fragment file again for video playing.
Optionally, replacing the first hotlink information in the second request information and the third request information with the second hotlink information, and re-acquiring the fragment file for video playing includes: adding second anti-theft link information to second resource positioning information to generate updated second request information, and sending the updated second request information to a second server to obtain a sub-index file; and adding second anti-theft link information to the third resource positioning information to generate updated third request information, sending the third request information to the second server, and acquiring the fragment file in real time to play the video.
Optionally, sending a play request to the first server, obtaining first request information, and sending the first request information to the second server, where obtaining the main index file includes: sending a playing request to a first server to obtain first resource positioning information, wherein the first resource positioning information comprises first anti-theft link information; and generating first request information according to the first resource positioning information, and sending the first request information to a second server to obtain a main index file.
Optionally, adding the first hotlink information to the second resource location information to generate second request information, and sending the second request information to the second server further includes: under the condition that the second server judges that the second request information is illegal, the first anti-theft link information and the main index file are obtained by resending the playing request; and regenerating second request information according to the first anti-theft link information and the second resource positioning information in the main index file, and sending the second request information to a second server.
Optionally, adding the first hotlink information to the third resource location information to generate third request information, and sending the third request information to the second server further includes: acquiring the sub-index file by retransmitting the second request information under the condition that the second server judges that the third request information is illegal; and regenerating third request information according to the first anti-theft chain information and the third resource positioning information in the sub-index file, and sending the third request information to the second server.
According to another aspect of the embodiments of the present application, there is also provided a video transmitting method, including: the second server receives the first request information for analysis, and verifies the first anti-theft link information contained in the first request information; under the condition that the first request information is successfully analyzed and the first anti-theft link information passes verification, sending a main index file corresponding to the first request information to the terminal equipment; receiving the second request information for analysis, and checking the first anti-theft link information contained in the second request information; under the condition that the second request information is successfully analyzed and the first anti-theft chain information passes verification, sending a sub-index file corresponding to the second request information to the terminal equipment; receiving and analyzing the third request information, and checking the first anti-theft link information contained in the third request information; and under the condition that the third request information is successfully analyzed and the first anti-theft link information passes the verification, returning the fragment file corresponding to the third request information to the terminal equipment in real time for video playing.
Optionally, before sending the main index file corresponding to the first request information to the terminal device, the method further includes: detecting whether a main index file corresponding to the first request information exists in the storage space; and sending a request to the data source end to download the main index file under the condition that the main index file does not exist.
According to another aspect of the embodiments of the present application, there is also provided a video transmitting method, including: the first server receives the playing request and analyzes the playing request to obtain playing request data; generating first resource positioning information according to the playing request data, wherein the first resource positioning information comprises first anti-theft link information; and sending the first resource positioning information to the terminal equipment.
Optionally, generating first resource location information according to the play request data, where the first resource location information includes first anti-hotlinking information, and the method includes: determining a data encryption rule; and encrypting the playing request data according to the data encryption rule to obtain first resource positioning data containing the anti-theft link information.
According to still another aspect of an embodiment of the present application, there is also provided a video transmission system including: the terminal equipment is configured to execute the terminal equipment to send a playing request to the first server, obtain first request information and send the first request information to the second server, and obtain a main index file, wherein the first request information comprises first anti-theft chain information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of the sub-index file; adding the first anti-theft link information into second resource positioning information to generate second request information, and sending the second request information to a second server to obtain a sub-index file, wherein the sub-index file comprises third resource positioning information, and the third resource positioning information is used for representing address information of the fragment file; adding the first anti-theft link information into third resource positioning information to generate third request information, sending the third request information to a second server, and acquiring the fragment file in real time to play the video; under the condition that the video playing duration exceeds a preset time threshold, updating the anti-theft link information, and re-acquiring the fragment file for video playing; the first server is configured to execute receiving and analyzing the playing request to obtain playing request data; generating first resource positioning information according to the playing request data, wherein the first resource positioning information comprises first anti-theft link information; sending the first resource positioning information to the terminal equipment; the second server is configured to receive the first request information, analyze the first request information and verify first anti-theft chain information contained in the first request information; under the condition that the first request information is successfully analyzed and the first anti-theft link information passes verification, sending a main index file corresponding to the first request information to the terminal equipment; receiving the second request information for analysis, and checking the first anti-theft link information contained in the second request information; under the condition that the second request information is successfully analyzed and the first anti-theft link information passes verification, sending a sub-index file corresponding to the second request information to the terminal equipment; receiving and analyzing the third request information, and checking the first anti-theft link information contained in the third request information; and under the condition that the third request information is successfully analyzed and the first anti-theft link information passes the verification, returning the fragment file corresponding to the third request information to the terminal equipment in real time for video playing.
According to still another aspect of an embodiment of the present application, there is also provided a video transmission apparatus including: the first request module is used for sending a playing request to a first server by the terminal equipment, obtaining first request information and sending the first request information to a second server to obtain a main index file, wherein the first request information comprises first anti-theft link information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of the sub-index files; the second request module is used for adding the first anti-theft chain information to second resource positioning information to generate second request information and sending the second request information to a second server to obtain a sub-index file, wherein the sub-index file comprises third resource positioning information, the third resource positioning information is used for representing an address information third request module of the fragment file, and the third request module is used for adding the first anti-theft chain information to the third resource positioning information to generate third request information and sending the third request information to the second server to obtain the fragment file in real time for video playing; and the regular verification module is used for updating the anti-theft link information and reacquiring the fragment file for video playing under the condition that the video playing time exceeds a preset time threshold.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, configured to execute a program, where the program executes a video transmission method.
According to still another aspect of the embodiments of the present application, there is provided a non-volatile storage medium, where the non-volatile storage medium includes a stored program, and the program controls a device in which the non-volatile storage medium is located to execute a video transmission method when the program runs.
In the embodiment of the application, a terminal device is adopted to send a playing request to a first server, obtain first request information and send the first request information to a second server, and obtain a main index file, wherein the first request information comprises first anti-theft link information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of a sub-index file; adding the first anti-theft link information into second resource positioning information to generate second request information, and sending the second request information to a second server to obtain a sub-index file, wherein the sub-index file comprises third resource positioning information, and the third resource positioning information is used for representing address information of the fragment file; adding the first anti-theft link information into third resource positioning information to generate third request information, sending the third request information to a second server, and acquiring a fragment file in real time to play a video; under the condition that the video playing time exceeds a preset time threshold, the anti-theft chain information is updated, and the video playing mode of the fragment file is obtained again, the anti-theft chain check of the sub-index file is added after the original terminal requests the IPTV channel main index file to check the anti-theft chain information, and the terminal periodically requests the EPG to update the anti-theft chain information, so that the purpose of ensuring the validity period of the anti-theft chain when a user watches the video for a long time is achieved, and the technical problem that the video resources are stolen by an illegal terminal user by bypassing the anti-theft chain information check because the anti-theft chain information check is only carried out when the terminal equipment requests the channel main index file in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of a flow of a video transmission method according to an embodiment of the present application;
fig. 2 is a schematic diagram of another video transmission method flow provided according to an embodiment of the present application;
fig. 3 is a schematic diagram of a flow of another video transmission method provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a flow of a method for checking video anti-theft link information in the prior art according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a flow of a method for verifying video anti-theft link information according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a video transmission system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a video transmitting apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram of a hardware structure of a computer terminal (or an electronic device) for implementing a method for video transmission according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all 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 application.
To facilitate better understanding of the embodiments of the present application for those skilled in the art, some technical terms or terms referred to in the embodiments of the present application are explained as follows:
interactive web tv (Internet Protocol Television, IPTV): the system is a brand-new technology which integrates a plurality of technologies such as internet, multimedia, communication and the like by utilizing a broadband cable television network and provides a plurality of interactive services including digital television for home users.
Electronic Program Guide (EPG): indexing and navigation of the various services provided by IPTV is accomplished through an electronic program guide system.
Content Delivery Network (CDN): the CDN is an intelligent virtual network constructed on the basis of the existing network, and by means of edge servers deployed in various places and functional modules of load balancing, content distribution, scheduling and the like of a central platform, a user can obtain required content nearby, network congestion is reduced, and the access response speed and hit rate of the user are improved. The key technology of the CDN is mainly content storage and delivery technology.
The Uniform Resource Locator (URL) is a representation method for specifying the location of information on a web service on the internet.
Round-Robin (RR): a strategy for channel scheduling in communications that takes users in turn to use shared resources without taking into account instantaneous channel conditions.
Server Load Balancing (SLB) can be regarded as an extension of HSRP (hot standby router protocol), and Load Balancing among multiple servers is achieved.
IAS (Oracle 9i APPlication Server): the application server has the strongest comprehensiveness and the highest integration level in the market.
HLS (HTTP Live Streaming): adaptive bitrate streaming protocol based on HTTP.
Internet Protocol (IP): is a network layer protocol in the TCP/IP architecture.
Advanced Encryption Standard (AES): is a symmetric block encryption technique.
Electronic Codebook mode (ECB): is a most basic working mode of the block cipher.
Syntax standard for encrypted messages (PKCS # 7): an encryption standard is generated by the RSA security architecture exchanging digital certificates in a public key encryption system.
Base64: is one of the most common encoding methods for transmitting 8-Bit byte codes on a network.
UTF-8 (Universal Character Format): is a variable length character encoding for Unicode.
It should be noted that the terms "first," "second," and the like in the description and claims of this application 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 application 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
The mobile phone IPTV can independently start the function of anti-theft link parameter verification, and the function is used for preventing link embezzlement caused by system information leakage. When the mobile phone IPTV starts the anti-stealing-link strategy, the terminal request must carry legal anti-stealing-link information (AuthInfo) to legally access the mobile phone IPTV.
In the prior art, authInfo is generated by EPG, and is required to support anti-stealing-link strategy based on algorithm and secret key. The key needs to be negotiated and synchronized by two parties, and generally, an interface and an interface of the EPG with the configured key are required to be communicated with an IPTV platform of the mobile phone. EPG adds AuthInfo (anti-stealing link information) in URL returned to terminal, terminal adopts URL containing anti-stealing link information to request content playing in mobile phone IPTV, mobile phone IPTV carries out URL check. Fig. 4 is a schematic diagram of a flow of a method for checking video anti-theft link information in the prior art according to an embodiment of the present application, as shown in fig. 4, including the following steps:
step S402, the terminal equipment sends a request for playing URL to the EPG;
step S404, the EPG receives a request for playing URL and assembles anti-theft chain information;
step S406, the EPG returns a playing URL containing the anti-theft chain information to the terminal equipment;
step S410, the terminal equipment sends a playing request containing the anti-theft chain information to the CDN;
in step S412, the CDN receives the play request including the anti-stealing link information, and verifies the anti-stealing link information.
At present, according to the anti-stealing-link strategy in the prior art, the anti-stealing-link information is only verified when the terminal equipment requests the channel main index file, and the subsequent sub-index file and the TS fragment file request are not verified. The abnormal hotlink is just used, and a request is directly sent to the CDN server IAS module to request the sub-index file of the corresponding channel, so that hotlink verification is bypassed.
The anti-theft chain strategy only starts the verification aiming at the main index file at present, because the anti-theft chain information has a validity period, the anti-theft chain information can lose efficacy when the validity period is exceeded; if the anti-theft link verification of the sub-index and the TS fragment is started, when a user watches video or live broadcast service for a long time, if the validity period of the anti-theft link information is exceeded, error report can occur due to the failure of the anti-theft link verification, and the user can continue watching only by quitting the replay.
To address the above issues, in accordance with an embodiment of the present application, there is provided an embodiment of a method for video transmission, where the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and where a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that illustrated herein.
Fig. 1 is a schematic diagram of a flow of a method for transmitting video according to an embodiment of the present application, where as shown in fig. 1, the method includes the following steps:
step S102, the terminal equipment sends a playing request to a first server, obtains first request information and sends the first request information to a second server, and obtains a main index file, wherein the first request information comprises first anti-theft link information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of a sub-index file;
in some embodiments of the present application, sending a play request to a first server, obtaining first request information, and sending the first request information to a second server, wherein obtaining a main index file includes: sending a playing request to a first server to obtain first resource positioning information, wherein the first resource positioning information comprises first anti-theft link information; and generating first request information according to the first resource positioning information, and sending the first request information to a second server to obtain a main index file.
In this embodiment, the terminal device is a mobile phone terminal, the first server is an EPG server, the second server is a CDN server, and the second resource location information is sub-index information obtained by parsing a main index file.
Step S104, adding the first anti-theft link information to second resource positioning information to generate second request information, and sending the second request information to a second server to obtain a sub-index file, wherein the sub-index file comprises third resource positioning information, and the third resource positioning information is used for representing address information of the fragment file;
in some embodiments of the present application, adding the first hotlink information to the second resource location information to generate second request information, and sending the second request information to the second server further includes: under the condition that the second server judges that the second request information is illegal, the first anti-theft link information and the main index file are obtained by resending the playing request; and regenerating second request information according to the first anti-theft link information and second resource positioning information in the main index file, and sending the second request information to a second server.
Step S106, adding the first anti-theft link information into third resource positioning information to generate third request information, sending the third request information to a second server, and acquiring the fragment file in real time to play the video;
in this embodiment, the third resource location information is fragmented file information obtained by parsing the sub-index file.
In some embodiments of the present application, adding the first hotlink information to the third resource location information to generate third request information, and sending the third request information to the second server further includes: acquiring the sub-index file by retransmitting the second request information under the condition that the second server determines that the third request information is illegal; and regenerating third request information according to the first anti-theft link information and the third resource positioning information in the sub-index file, and sending the third request information to a second server.
And step S108, under the condition that the video playing time exceeds a preset time threshold, updating the anti-theft link information, and acquiring the fragment file again for video playing.
In some embodiments of the present application, when the video playing time exceeds the preset time threshold, updating the hotlink information, and re-sending to the second server, the acquiring the fragment file for video playing includes: setting a timer and recording the video playing time length; under the condition that the video playing time exceeds a preset time threshold, sending a playing request to a first server to obtain second anti-theft link information; and replacing the first anti-theft link information in the second request information and the third request information as second anti-theft link information, and acquiring the fragment file again for video playing.
In some embodiments of the present application, replacing the first hotlink protection information in the second request information and the third request information with the second hotlink protection information, and re-acquiring the fragment file for video playing includes: adding second anti-theft link information to second resource positioning information to generate updated second request information, and sending the updated second request information to a second server to obtain a sub-index file; and adding second anti-theft link information into the third resource positioning information to generate updated third request information, and sending the third request information to the second server to obtain the fragment file in real time for video playing.
Specifically, the configuration terminal periodically requests the EPG to update the hotlink information, when a user continuously watches a certain content and exceeds a set time, the hotlink information is triggered to be updated, and the terminal sends a watching request of the corresponding content to the EPG (the same as the first request); the EPG returns a URL containing the anti-stealing link information (namely the second anti-stealing link information) to the terminal; and the terminal intercepts the newly acquired anti-theft chain information in the URL, and replaces the original anti-theft chain information with the new anti-theft chain information when a subsequent request is made for the sub-index file and the fragment file.
According to an embodiment of the present application, another embodiment of a method for video transmission is provided, and fig. 2 is a schematic diagram of a flow of another method for video transmission provided according to an embodiment of the present application, as shown in fig. 2, the method includes the following steps:
step S202, the second server receives the first request information for analysis, and verifies the first anti-theft link information contained in the first request information;
in this embodiment, the second server is a CDN server.
Step S204, under the condition that the first request information is successfully analyzed and the first anti-theft chain information passes verification, sending a main index file corresponding to the first request information to the terminal equipment;
in some embodiments of the present application, before sending the primary index file corresponding to the first request information to the terminal device, the method further includes: detecting whether a main index file corresponding to the first request information exists in the storage space; and sending a request to the data source end to download the main index file under the condition that the main index file does not exist.
Specifically, a request URL (i.e. the first request information) is analyzed according to a configured URL rule, meanwhile, hotlink information verification is performed, after both URL analysis and hotlink information verification pass, a server IAS module searches whether a host has the main index file, and in the case that the main index file does not exist in the host, a source return process is triggered, a source removal station (i.e. the data source end) downloads the corresponding main index file, and returns the main index file to a terminal in real time;
step S206, receiving the second request information for analysis, and checking the first anti-theft chain information contained in the second request information;
step S208, under the condition that the second request information is successfully analyzed and the first anti-theft chain information passes verification, sending a sub-index file corresponding to the second request information to the terminal equipment;
specifically, the IAS analyzes the request URL (i.e. the second request information) according to the configured URL rule, and simultaneously performs hotlink information check, and after the URL analysis and the hotlink information check both pass, the IAS module of the server returns the sub-index file to the terminal in real time.
Step S210, receiving the third request information for analysis, and checking the first anti-theft chain information contained in the third request information;
step S212, returning the fragment file corresponding to the third request information to the terminal equipment in real time for video playing under the condition that the third request information is successfully analyzed and the first anti-theft chain information passes verification.
Specifically, the IAS analyzes the request URL (i.e. the third request information) according to the configured URL rule, and simultaneously performs hotlink information verification, and returns the TS fragment file to the terminal in real time after both the URL analysis and the hotlink information verification pass;
according to an embodiment of the present application, another embodiment of a method for video transmission is provided, and fig. 3 is a schematic diagram of a flow of another method for video transmission according to an embodiment of the present application, as shown in fig. 3, the method includes the following steps:
step S302, the first server receives the playing request and analyzes the playing request to obtain playing request data;
step S304, generating first resource positioning information according to the playing request data, wherein the first resource positioning information comprises first anti-theft link information;
in some embodiments of the present application, generating first resource location information according to the play request data, where the first resource location information including the first hotlink information includes: determining a data encryption rule; and encrypting the play request data according to the data encryption rule to obtain first resource positioning data containing the anti-theft link information.
In this embodiment, the anti-hotlinking information encryption is implemented by an algorithm, and the data encryption rule at least includes a data processing rule for a user ID, a user access IP, a content unique identifier, a timestamp, and a key.
Specifically, user ID (UserID): if the system requires the user to perform identity authentication, acquiring a user ID character string after the user logs in; if the system does not require the user to perform identity authentication, the UserID is a default fixed value of 0xFFFFF0;
user access IP (IP): the parameter is a source IP address of a user access system, and the format is a 32-bit binary value of an IPv4 address or a 128-bit binary value of an IPv6 address;
content unique identification (ContentID): the user is prevented from tampering the actual on-demand content, and the actual on-demand content is 32-bit characters;
TimeStamp (TimeStamp): the time stamp when the system authorizes the user to play is in hexadecimal string format of seconds starting from 1 month 1 day 0 of 1970;
the key is a character string with more than 12 bits and the maximum length is 30 bits. An encryption key commonly adopted by a door and a CDN in the anti-stealing-link mechanism;
in the present embodiment, the AES encryption algorithm uses the ECB mode, PKCS #7 padding mode; the encrypted data is converted into a character string in a Base64 mode, and URLENCODer (URL coding) escaping is carried out on special characters according to the following rules: the characters "a" - "Z", "0" - "9", "-", and "_" are not encoded, maintaining the original values; space "" is converted to plus "+". The other bytes are each represented as a string of 3 characters in "% xy" format, encoded as UTF-8.
Step S306, sending the first resource positioning information to the terminal equipment.
The following further introduces the video transmission method in the embodiment of the present application.
Fig. 5 is a schematic diagram of a flow of a method for verifying video anti-theft chain information according to an embodiment of the present application, where as shown in fig. 5, the method includes the following steps:
step S502, the terminal sends a play request to the EPG, and the EPG returns a play URL (information with anti-theft chain);
in this embodiment, the broadcast URL returned by the EPG is the first resource location information.
Step S504, the terminal sends the URL containing the anti-theft link information to a CDN (content distribution network) to request a main index file, and the CDN returns the main index file after the information verification is passed;
in this embodiment, the CDN server includes an RR module, an SLB module, and an IAS module.
Specifically, the terminal sends a request to a scheduling server RR module of the CDN according to an IP in the play URL; the RR dispatches the terminal to the CDN center according to the IP address of the terminal; the terminal sends a request to a load balancing module SLB, and the SLB returns the IP of equipment IAS (intelligent acceleration system) which is specifically provided with services by the set top box; the terminal sends a request to a corresponding IAS; the IAS analyzes the request URL according to the configured URL rule, meanwhile, conducts anti-theft chain information verification, and after both URL analysis and anti-theft chain information verification pass, the server IAS module searches whether the main index file exists in the local machine or not, triggers a source returning process under the condition that the main index module does not exist in the local machine, downloads the corresponding main index file from a source station, and returns the main index file to the terminal in real time;
step S506, the terminal sends a request for obtaining the sub-index file to the CDN according to the information of the main index file, and the CDN returns the sub-index file after the information verification is passed;
specifically, the terminal analyzes the acquired main index file, and sends a request to a corresponding IAS according to sub-index information in the main index file to acquire a sub-index; the IAS analyzes the request URL according to the configured URL rule, meanwhile, anti-theft chain information verification is carried out, and after the URL analysis and the anti-theft chain information verification are both passed, the server IAS module returns a sub-index file to the terminal in real time;
step S508, the terminal sends a request for obtaining the fragment file to the CDN according to the information of the sub-index file, and the CDN returns the fragment file after the information verification is passed;
specifically, the terminal analyzes the acquired sub-index file and downloads the TS fragment file by the IAS according to fragment file information in the sub-index file; the IAS analyzes the request URL according to the configured URL rule and simultaneously performs anti-theft chain information verification, and returns the TS fragment file to the terminal in real time after the URL analysis and the anti-theft chain information verification are passed; the terminal carries out playing after caching the fragments;
step S510, the terminal periodically requests the EPG to update the hotlink information
Specifically, the terminal sets a timer, and when a user continuously watches a certain content and the set time is exceeded, the anti-theft chain information is triggered to be updated; the terminal sends a viewing request for the corresponding content to the EPG (as in the first request); the EPG returns a URL containing anti-theft chain information (Authinfo = NEWxxx) to the terminal; and the terminal intercepts the newly acquired anti-theft chain information (Authinfo = NEWxxx) in the URL, and replaces the original anti-theft chain information (Authinfo = OLDxxx) with the new anti-theft chain information when the HLS sub-index file and the fragment file are subsequently requested.
Through the steps, after the original terminal requests the IPTV channel main index file to check the anti-theft chain information, the anti-theft chain check of the sub-index file is added, and the terminal periodically requests the EPG to update the anti-theft chain information, so that the aim of ensuring the validity period of the anti-theft chain when a user watches videos for a long time is fulfilled, and the technical problem that an illegal terminal user bypasses the anti-theft chain information check to steal video resources due to the fact that the anti-theft chain information check is only performed when the terminal equipment requests the channel main index file in the prior art is solved.
Example 2
According to the embodiment of the invention, the embodiment of the video sending system is also provided. Fig. 6 is a schematic structural diagram of a video transmission system according to an embodiment of the present invention. As shown in fig. 6, the system includes a terminal device 60, a first server 62, a second server 64, wherein,
the terminal device 60 is configured to execute the terminal device 60 to send a play request to the first server 62, obtain first request information, send the first request information to the second server 64, and obtain a main index file, where the first request information includes first anti-theft link information, the main index file includes second resource location information, and the second resource location information is used to represent address information of the sub-index file; adding the first anti-theft link information to the second resource positioning information to generate second request information, and sending the second request information to the second server 64 to obtain a sub-index file, wherein the sub-index file comprises third resource positioning information, and the third resource positioning information is used for representing address information of the fragmented files; adding the first anti-theft link information to the third resource positioning information to generate third request information, and sending the third request information to the second server 64 to obtain the fragment file in real time for video playing; under the condition that the video playing duration exceeds a preset time threshold, updating the anti-theft link information, and re-acquiring the fragment file for video playing;
a first server 62 configured to perform receiving and parsing the play request to obtain play request data; generating first resource positioning information according to the playing request data, wherein the first resource positioning information comprises first anti-theft link information; sending the first resource positioning information to the terminal device 60;
a second server 64 configured to perform parsing by receiving the first request information, and check the first anti-stealing link information included in the first request information; under the condition that the first request information is successfully analyzed and the first anti-theft link information passes verification, sending a main index file corresponding to the first request information to the terminal device 60; receiving the second request information for analysis, and checking the first anti-theft link information contained in the second request information; under the condition that the second request information is successfully analyzed and the first anti-theft link information passes verification, sending a sub-index file corresponding to the second request information to the terminal device 60; receiving and analyzing the third request information, and checking the first anti-theft link information contained in the third request information; and under the condition that the third request information is successfully analyzed and the first anti-theft link information passes verification, returning the fragment file corresponding to the third request information to the terminal device 60 in real time for video playing.
It should be noted that the video sending system provided in this embodiment may be used to execute the video sending method shown in fig. 1 to 3, and therefore, the explanation about the video sending method is also applicable to the embodiment of this application, and is not described herein again.
According to the embodiment of the invention, the embodiment of the video transmitting device is also provided. Fig. 7 is a schematic structural diagram of a video transmitting apparatus according to an embodiment of the present invention. As shown in fig. 7, the apparatus includes:
the first request module 70 is configured to send a play request to a first server by a terminal device, obtain first request information, send the first request information to a second server, and obtain a main index file, where the first request information includes first anti-theft link information, the main index file includes second resource location information, and the second resource location information is used to represent address information of a sub-index file;
a second request module 72, configured to add the first anti-stealing link information to the second resource positioning information to generate second request information, and send the second request information to the second server to obtain a sub-index file, where the sub-index file includes third resource positioning information, the third resource positioning information is used to represent an address information third request module of the fragmented file,
the third request module 74 is configured to add the first anti-theft link information to the third resource positioning information to generate third request information, send the third request information to the second server, and obtain the fragment file in real time to play the video;
and the regular verification module 76 is configured to update the anti-stealing link information and reacquire the fragment file for video playing when the duration of video playing exceeds a preset time threshold.
It should be noted that the video sending apparatus provided in this embodiment may be used to execute the video sending method shown in fig. 1 to 3, and therefore, the explanation about the video sending method is also applicable to this embodiment, and is not repeated herein.
Example 3
According to the embodiment of the invention, the embodiment of the computer terminal for realizing the video transmission method is also provided. Fig. 8 is a block diagram of a hardware structure of a computer terminal (or an electronic device) for implementing a method of video transmission according to an embodiment of the present invention. As shown in fig. 8, the computer terminal 80 (or electronic device 80) may include one or more processors (shown here as 802a, 802b, … …,802 n) (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 804 for storing data, and a transmission module 806 for communication functions. In addition, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 80 may also include more or fewer components than shown in FIG. 7, or have a different configuration than shown in FIG. 8.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 80 (or electronic device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 804 can be used for storing software programs and modules of application software, such as program instructions/data storage devices corresponding to the video transmission method in the embodiment of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory 804, that is, implementing the video transmission method described above. The memory 804 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 804 can further include memory located remotely from the processor, which can be connected to the computer terminal 80 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 module 806 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 80. In one example, the transmission device 806 includes a Network Interface Controller (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 806 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 80 (or electronic device).
It should be noted that, in some alternative embodiments, the computer device (or electronic device) shown in fig. 8 may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that fig. 8 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in the computer device (or electronic device) described above.
It should be noted that the electronic device for video transmission shown in fig. 8 is used to execute the method for video transmission shown in fig. 1 to 3, and therefore the explanation of the method for video transmission described above is also applicable to the electronic device for video transmission, and is not described herein again.
According to an embodiment of the present application, there is also provided an embodiment of a non-volatile storage medium, where the non-volatile storage medium includes a stored program, and when the program runs, a device in which the non-volatile storage medium is located is controlled to perform the following method for video transmission: the method comprises the steps that terminal equipment sends a playing request to a first server, first request information is obtained and sent to a second server, and a main index file is obtained, wherein the first request information comprises first anti-theft link information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of a sub-index file; adding the first anti-theft link information into second resource positioning information to generate second request information, and sending the second request information to a second server to obtain a sub-index file, wherein the sub-index file comprises third resource positioning information, and the third resource positioning information is used for representing address information of the fragment file; adding the first anti-theft link information into third resource positioning information to generate third request information, sending the third request information to a second server, and acquiring a fragment file in real time to play a video; and under the condition that the video playing duration exceeds a preset time threshold, updating the anti-theft link information, and re-acquiring the fragment file for video playing.
In some embodiments of the present application, the apparatus in which the non-volatile storage medium is located may be further controlled to perform the following video transmission method when the program is executed: the second server receives the first request information for analysis, and verifies the first anti-theft link information contained in the first request information; under the condition that the first request information is successfully analyzed and the first anti-theft link information passes verification, sending a main index file corresponding to the first request information to the terminal equipment; receiving the second request information for analysis, and checking the first anti-theft link information contained in the second request information; under the condition that the second request information is successfully analyzed and the first anti-theft chain information passes verification, sending a sub-index file corresponding to the second request information to the terminal equipment; receiving and analyzing the third request information, and checking the first anti-theft link information contained in the third request information; and under the condition that the third request information is successfully analyzed and the first anti-theft link information passes the verification, returning the fragment file corresponding to the third request information to the terminal equipment in real time for video playing.
In some embodiments of the present application, the apparatus in which the non-volatile storage medium is located may be further controlled to perform the following video transmission method when the program is executed: the first server receives the playing request and analyzes the playing request to obtain playing request data; generating first resource positioning information according to the playing request data, wherein the first resource positioning information comprises first anti-theft link information; and sending the first resource positioning information to the terminal equipment.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, 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 embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be 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.
The 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 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 application 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 integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (14)

1. A video transmission method, comprising:
the method comprises the steps that terminal equipment sends a playing request to a first server, obtains first request information and sends the first request information to a second server, and obtains a main index file, wherein the first request information comprises first anti-theft link information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of a sub-index file;
adding the first anti-theft link information to the second resource positioning information to generate second request information, and sending the second request information to the second server to obtain the sub-index file, wherein the sub-index file comprises third resource positioning information, and the third resource positioning information is used for representing address information of the fragment file;
adding the first anti-theft link information to the third resource positioning information to generate third request information, sending the third request information to the second server, and acquiring the fragment file in real time to play the video;
and under the condition that the video playing time exceeds a preset time threshold, updating the anti-theft link information, and re-acquiring the fragment file for video playing.
2. The method of claim 1, wherein, when the time for playing the video exceeds a preset time threshold, updating the hotlink information, and re-sending to the second server, acquiring the slice file for playing the video comprises:
setting a timer and recording the time length of video playing;
under the condition that the video playing duration exceeds a preset time threshold, sending a playing request to the first server to obtain second anti-theft link information;
and replacing the first anti-theft link information in the second request information and the third request information as the second anti-theft link information, and acquiring the fragment file again for video playing.
3. The video sending method according to claim 2, wherein replacing the first anti-stealing-link information in the second request information and the third request information with the second anti-stealing-link information, and re-acquiring the fragment file for video playing comprises:
adding the second anti-theft link information to the second resource positioning information to generate updated second request information, and sending the updated second request information to the second server to obtain the sub-index file;
and adding the second anti-theft link information to the third resource positioning information to generate updated third request information, sending the third request information to the second server, and acquiring the fragment file in real time to play the video.
4. The method of claim 1, wherein sending a play request to a first server, obtaining first request information and sending the first request information to a second server, and obtaining the main index file comprises:
sending a playing request to the first server to obtain first resource positioning information, wherein the first resource positioning information comprises the first anti-theft link information;
and generating the first request information according to the first resource positioning information, and sending the first request information to a second server to obtain the main index file.
5. The method for sending video according to claim 1, wherein adding the first hotlink information to the second resource locator information to generate second request information, and sending the second request information to the second server further comprises:
under the condition that the second server judges that the second request information is illegal, the first anti-theft link information and the main index file are obtained by resending the playing request;
and regenerating the second request information according to the first anti-theft link information and the second resource positioning information in the main index file, and sending the second request information to the second server.
6. The method for sending video according to claim 1, wherein adding the first hotlink information to the third resource locator information to generate third request information, and sending the third request information to the second server further comprises:
in a case where the second server determines that the third request information is not legal, acquiring the sub-index file by retransmitting the second request information;
and regenerating the third request information according to the first anti-theft link information and the third resource positioning information in the sub-index file, and sending the third request information to the second server.
7. A video transmission method, comprising:
the second server receives the first request information for analysis, and verifies the first anti-theft chain information contained in the first request information;
under the condition that the first request information is analyzed successfully and the first anti-theft link information is verified, sending a main index file corresponding to the first request information to terminal equipment;
receiving second request information for analysis, and checking the first anti-theft link information contained in the second request information;
under the condition that the second request information is successfully analyzed and the first anti-theft chain information passes verification, sending a sub-index file corresponding to the second request information to the terminal equipment;
receiving third request information for analysis, and checking the first anti-theft link information contained in the third request information;
and returning the fragment file corresponding to the third request information to the terminal equipment in real time for video playing under the condition that the third request information is successfully analyzed and the first anti-theft link information passes verification.
8. The method of claim 7, wherein before sending the primary index file corresponding to the first request message to a terminal device, the method further comprises:
detecting whether the main index file corresponding to the first request information exists in a storage space;
and sending a request to download the main index file to a data source end under the condition that the main index file does not exist.
9. A video transmission method, comprising:
the first server receives the playing request and analyzes the playing request to obtain playing request data;
generating first resource positioning information according to the playing request data, wherein the first resource positioning information comprises first anti-theft link information;
and sending the first resource positioning information to terminal equipment.
10. The video sending method of claim 9, wherein generating first resource location information according to the play request data, wherein the first resource location information including first hotlink information comprises:
determining a data encryption rule;
and encrypting the playing request data according to the data encryption rule to obtain the first resource positioning data containing the anti-theft link information.
11. A video transmission system comprising a terminal device, a first server, a second server, wherein,
the terminal equipment is configured to execute the terminal equipment to send a playing request to a first server, obtain first request information and send the first request information to a second server, and obtain a main index file, wherein the first request information comprises first anti-theft link information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of a sub-index file; adding the first anti-theft link information to the second resource positioning information to generate second request information, and sending the second request information to the second server to obtain the sub-index file, wherein the sub-index file comprises third resource positioning information, and the third resource positioning information is used for representing address information of the fragment file; adding the first anti-theft link information to the third resource positioning information to generate third request information, sending the third request information to the second server, and acquiring the fragment file in real time to play the video; under the condition that the video playing duration exceeds a preset time threshold, updating the anti-theft link information, and re-acquiring the fragment file for video playing;
the first server is configured to execute receiving and analyzing a playing request to obtain playing request data; generating first resource positioning information according to the playing request data, wherein the first resource positioning information comprises first anti-theft link information; sending the first resource positioning information to terminal equipment;
the second server is configured to perform analysis by receiving first request information and verify first anti-theft link information contained in the first request information; under the condition that the first request information is analyzed successfully and the first anti-theft link information passes verification, sending a main index file corresponding to the first request information to terminal equipment; receiving second request information for analysis, and verifying the first anti-theft link information contained in the second request information; under the condition that the second request information is successfully analyzed and the first anti-theft chain information passes verification, sending a sub-index file corresponding to the second request information to the terminal equipment; receiving third request information for analysis, and checking the first anti-theft link information contained in the third request information; and under the condition that the third request information is successfully analyzed and the first anti-theft link information passes the verification, returning the fragment file corresponding to the third request information to the terminal equipment in real time for video playing.
12. A video transmission apparatus, comprising:
the first request module is used for sending a playing request to a first server by a terminal device, obtaining first request information and sending the first request information to a second server to obtain a main index file, wherein the first request information comprises first anti-theft link information, the main index file comprises second resource positioning information, and the second resource positioning information is used for representing address information of a sub-index file;
the second request module is configured to add the first anti-theft link information to the second resource positioning information to generate second request information, and send the second request information to the second server to obtain the sub-index file, where the sub-index file includes third resource positioning information, and the third resource positioning information is used to represent address information of a fragmented file;
the third request module is used for adding the first anti-theft link information to the third resource positioning information to generate third request information, sending the third request information to the second server and acquiring the fragment file in real time to play the video;
and the regular verification module is used for updating the anti-theft link information and reacquiring the fragment file for video playing under the condition that the video playing time exceeds a preset time threshold.
13. An electronic device comprising a processor, wherein the processor is configured to execute a program, and wherein the program is configured to execute the video transmission method according to any one of claims 1 to 10 when the program is executed.
14. A non-volatile storage medium, comprising a stored program, wherein a device on which the non-volatile storage medium is located is controlled to perform the video transmission method according to any one of claims 1 to 10 when the program is executed.
CN202210899921.0A 2022-07-28 2022-07-28 Video transmitting method, system, device and non-volatile storage medium Pending CN115278345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210899921.0A CN115278345A (en) 2022-07-28 2022-07-28 Video transmitting method, system, device and non-volatile storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210899921.0A CN115278345A (en) 2022-07-28 2022-07-28 Video transmitting method, system, device and non-volatile storage medium

Publications (1)

Publication Number Publication Date
CN115278345A true CN115278345A (en) 2022-11-01

Family

ID=83770979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210899921.0A Pending CN115278345A (en) 2022-07-28 2022-07-28 Video transmitting method, system, device and non-volatile storage medium

Country Status (1)

Country Link
CN (1) CN115278345A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284213A (en) * 2014-09-26 2015-01-14 深圳市同洲电子股份有限公司 Hotlink protection method, client side and system
CN104980771A (en) * 2014-04-09 2015-10-14 中国电信股份有限公司 Method and system for stream media-on-demand through internet protocol television (IPTV)
WO2015184743A1 (en) * 2014-06-02 2015-12-10 合一网络技术(北京)有限公司 Method and system for conducting security chain processing on live video
CN106973310A (en) * 2017-04-13 2017-07-21 中国联合网络通信集团有限公司 The player method of Streaming Media, EPG server and CDN server in a kind of IPTV system
CN107222480A (en) * 2017-05-27 2017-09-29 中国联合网络通信集团有限公司 A kind of flow media playing method, terminal device and CDN server
CN107786526A (en) * 2016-08-31 2018-03-09 北京优朋普乐科技有限公司 Anti-stealing link method, client and server system
CN109743586A (en) * 2018-12-28 2019-05-10 广州华多网络科技有限公司 Live streaming media anti-stealing link method and system
WO2020019387A1 (en) * 2018-07-26 2020-01-30 网宿科技股份有限公司 Method for acquiring video resource file, and management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980771A (en) * 2014-04-09 2015-10-14 中国电信股份有限公司 Method and system for stream media-on-demand through internet protocol television (IPTV)
WO2015184743A1 (en) * 2014-06-02 2015-12-10 合一网络技术(北京)有限公司 Method and system for conducting security chain processing on live video
CN104284213A (en) * 2014-09-26 2015-01-14 深圳市同洲电子股份有限公司 Hotlink protection method, client side and system
CN107786526A (en) * 2016-08-31 2018-03-09 北京优朋普乐科技有限公司 Anti-stealing link method, client and server system
CN106973310A (en) * 2017-04-13 2017-07-21 中国联合网络通信集团有限公司 The player method of Streaming Media, EPG server and CDN server in a kind of IPTV system
CN107222480A (en) * 2017-05-27 2017-09-29 中国联合网络通信集团有限公司 A kind of flow media playing method, terminal device and CDN server
WO2020019387A1 (en) * 2018-07-26 2020-01-30 网宿科技股份有限公司 Method for acquiring video resource file, and management system
CN109743586A (en) * 2018-12-28 2019-05-10 广州华多网络科技有限公司 Live streaming media anti-stealing link method and system

Similar Documents

Publication Publication Date Title
KR101078455B1 (en) Key management protocol and authentication system for secure internet protocol rights management architecture
EP3055805B1 (en) System and method for signaling and verifying url signatures for both url authentication and url-based content access authorization in adaptive streaming
EP1530339B1 (en) Method and apparatuses for access control to encrypted data services for a vehicle entertainment and information processing device
US9215065B2 (en) Media player security for full length episodes
US8832726B2 (en) Video streaming entitlement determined based on the location of the viewer
US8621218B2 (en) Method and apparatus for mutual authentication in downloadable conditional access system
US8719910B2 (en) Video broadcasting to mobile communication devices
US20080063195A1 (en) Method and system for encrypting or decrypting wmv streaming media
US7853686B2 (en) System and method for wirelessly broadcasting content from a core for receipt by a mobile client
WO2007076685A1 (en) A method for extending the url applicable to the streaming media system
CN101902477B (en) Transmission system, reception system, the recognition methods of media stream and system
CN103067174B (en) Digital signature method and system completed in mobile operating system
CN107294927A (en) Anti-stealing link method, device and system based on the network terminal
WO2012003693A1 (en) Method and apparatus for processing entitlement control message packets
CN110662091B (en) Third-party live video access method, storage medium, electronic device and system
KR101833214B1 (en) Validation and fast cahnnel change for broadcast system
CN110913011B (en) Session holding method, session holding device, readable storage medium and electronic device
US9405924B2 (en) Self-keyed protection of anticipatory content
CN110392016B (en) Method, device and system for preventing traffic from being hijacked
CN115278345A (en) Video transmitting method, system, device and non-volatile storage medium
CN112637069B (en) Data message transmission method and device
US8260945B2 (en) System and method for wirelessly broadcasting content from a core for receipt by a mobile client
WO2009124587A1 (en) Service reporting
RU2358406C2 (en) Authentication and update of session key generation between service network node and at least one communication terminal device with identification card
JP2004304697A (en) Encryption key distribution server and content distributing method

Legal Events

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