CN113163261B - Decryption pushing method, device, equipment and storage medium of encrypted video - Google Patents

Decryption pushing method, device, equipment and storage medium of encrypted video Download PDF

Info

Publication number
CN113163261B
CN113163261B CN202110287544.0A CN202110287544A CN113163261B CN 113163261 B CN113163261 B CN 113163261B CN 202110287544 A CN202110287544 A CN 202110287544A CN 113163261 B CN113163261 B CN 113163261B
Authority
CN
China
Prior art keywords
video
url
address
decryption
pushing
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.)
Active
Application number
CN202110287544.0A
Other languages
Chinese (zh)
Other versions
CN113163261A (en
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.)
Shenzhen Happycast Technology Co Ltd
Original Assignee
Shenzhen Happycast Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Happycast Technology Co Ltd filed Critical Shenzhen Happycast Technology Co Ltd
Priority to CN202110287544.0A priority Critical patent/CN113163261B/en
Publication of CN113163261A publication Critical patent/CN113163261A/en
Application granted granted Critical
Publication of CN113163261B publication Critical patent/CN113163261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

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

Abstract

The invention relates to the field of video pushing, and discloses a decryption pushing method, a decryption pushing device, decryption pushing equipment and a storage medium for encrypted video. The method comprises the following steps: acquiring a URL page address with an encrypted state video based on a DLNA protocol; reading a source code of the URL page address, and capturing a URL playing link address of a video from the source code; according to a preset decryption key, decrypting the video of the URL playing link address to obtain a URL video storage address of the video; writing the URL video storage address into a push information frame of a preset sharing component to generate video push information, and adding the video push information into a playlist; and receiving a play selection instruction, and sending the video push information in the play list to a specified object in the social APP according to the play selection instruction.

Description

Decryption pushing method, device, equipment and storage medium of encrypted video
Technical Field
The present invention relates to the field of video push, and in particular, to a decryption push method, device, apparatus, and storage medium for encrypted video.
Background
At present, the video sharing function in the equal-frequency APP only shares the page address of the video to the friends of the social software. In addition, the APP of the video category supports the screen projection and viewing functions of the DLNA protocol. Moreover, the sharing method cannot directly share the broadcast address URL of the video source, and although the video can be viewed in the shared video page, the video cannot be viewed if the source of the shared video is a VIP and the friend is not a VIP.
Due to various limitations of video pushing, when sharing links, a user hopes that friends share the mood together, and the friends cannot experience the mood under various limitations. Therefore, a technology capable of pushing a shared video to friends of a social APP in a complete manner is needed.
Disclosure of Invention
The invention mainly aims to solve the technical problem that videos cannot be completely pushed in social APP.
The first aspect of the present invention provides a decryption pushing method for an encrypted video, where the decryption pushing method for an encrypted video includes:
acquiring a URL page address with an encrypted state video based on a DLNA protocol;
reading a source code of the URL page address, and capturing a URL playing link address of a video from the source code;
according to a preset decryption key, decrypting the video of the URL playing link address to obtain a URL video storage address of the video;
writing the URL video storage address into a push information frame of a preset sharing component to generate video push information, and adding the video push information into a playlist;
and receiving a play selection instruction, and sending the video push information in the play list to a specified object in the social APP according to the play selection instruction.
Optionally, in a first implementation manner of the first aspect of the present invention, the writing the URL video storage address into a push information frame of a preset sharing component, and generating video push information includes:
sending the URL video storage address to a read-write address of a preset sharing component based on a DMC/DMR component;
and the sharing component writes the URL video storage address into a preset push information frame to generate video push information.
Optionally, in a second implementation manner of the first aspect of the present invention, the decrypting, according to a preset decryption key, the video at the URL playing link address to obtain a URL video storage address of the video includes:
sending a preset decryption key to a public server corresponding to the URL playing link address;
acquiring a URL video storage address sent by the public server, reading a video format in the URL video storage address, and judging whether the video format is in an MP4 format;
if the video storage address is in the MP4 format, the URL video storage address is confirmed to be a qualified address.
Optionally, in a third implementation manner of the first aspect of the present invention, the sending the preset decryption key to the public server corresponding to the URL broadcast link address includes:
adjusting a sent playing instruction, and modifying a source code in the playing instruction into a variable value, wherein the variable value is a sharing sending address of a sharing component;
and sending the adjusted playing instruction and the preset decryption key to a public server corresponding to the URL playing link address.
Optionally, in a fourth implementation manner of the first aspect of the present invention, after adding the video push information into a playlist, and before receiving the play selection instruction, the method further includes:
receiving the video attached setting data of the video push information, wherein the attached setting data comprises initial playing positioning, video volume and video brightness;
and writing the attached setting into corresponding video push information in the playlist.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the sending, according to the play selection instruction, the video push information in the playlist to a specified object in the social APP includes:
reading corresponding push selection information in the play selection instruction;
inquiring video push information and attached setting data corresponding to the selected push information in the playlist;
and sending the video push information and the attached setting data to a specified object in the social APP.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after the sending the video push information and the accompanying setting data to a specified object in a social class APP, the method further includes:
accessing videos in URL video storage addresses corresponding to the video pushing information;
and playing the video based on the video volume and the video brightness at the initial playing position according to the attached setting data.
The second aspect of the present invention provides a decryption pushing apparatus for encrypted video, including:
the acquisition module is used for acquiring the URL page address of the video with the encrypted state based on the DLNA protocol;
the capturing module is used for reading a source code of the URL page address and capturing a URL playing link address of a video from the source code;
the decryption module is used for decrypting the video of the URL playing link address according to a preset decryption key to obtain a URL video storage address of the video;
the generating module is used for writing the URL video storage address into a push information frame of a preset sharing component, generating video push information and adding the video push information into a playlist;
and the pushing module is used for receiving a play selection instruction and sending the video pushing information in the play list to a specified object in the social APP according to the play selection instruction.
A third aspect of the present invention provides a decryption pushing apparatus for encrypted video, comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor calls the instructions in the memory to cause the decryption pushing device of the encrypted video to execute the decryption pushing method of the encrypted video.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-mentioned decryption push method for encrypted video.
In the embodiment of the invention, a URL page address with an encrypted state video is acquired based on a DLNA protocol; reading a source code of the URL page address, and capturing a URL playing link address of a video from the source code; according to a preset decryption key, decrypting the video of the URL playing link address to obtain a URL video storage address of the video; writing the URL video storage address into a push information frame of a preset sharing component to generate video push information, and adding the video push information into a playlist; and receiving a play selection instruction, and sending the video push information in the play list to a specified object in the social APP according to the play selection instruction.
Through searching and searching resources in the URL address, decrypting and converting the resources, such as in a sharing component frame, after combination, setting a video position needing to be shared, and then pushing a target video to a social friend needing to be shared, the technical problem that the video cannot be completely pushed in a social APP is solved.
Drawings
FIG. 1 is a diagram of an embodiment of a decryption push method for encrypted video according to an embodiment of the present invention;
FIG. 2 is a diagram of another embodiment of a decryption push method for encrypted video according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an embodiment of a decryption pushing apparatus for encrypted video according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another embodiment of a decryption pushing apparatus for encrypted video according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an embodiment of a decryption pushing device for encrypted video according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a decryption pushing method, a decryption pushing device, decryption pushing equipment and a storage medium for an encrypted video.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, 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.
For understanding, a specific flow of an embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a decryption pushing method for encrypted video according to an embodiment of the present invention includes:
101. acquiring a URL page address with an encrypted state video based on a DLNA protocol;
in this embodiment, a receiving end of the DLNA screen projection protocol is implemented in the video sharing APP. A user expends a video APP supporting a DLNA screen projection protocol, and a video to be shared is projected to a video sharing APP. The video sharing APP obtains the URL of the video through the receiving function of the DLNA screen projection protocol, and then the URL is shared to the social APP through the sharing component.
102. Reading a source code of the URL page address, and capturing a URL playing link address of a video from the source code;
in this embodiment, when a URL address "WWW., & rsv _ spt ═ 1& rsv _ iqid ═ 0 × 9ce3cae300082.com" is obtained, the address of the play link with the display mark similar to the video in the header identifier in the page is read, the address of the link of the video is read, and the address link is obtained.
103. According to a preset decryption key, decrypting the video of the URL playing link address to obtain a URL video storage address of the video;
in this embodiment, the decryption key is an api interface for acquiring a token of a server of a video for a URL playing link address, the playing link address accesses the token with a specific access verification, and the URL video storage address and the reading call address are acquired through the verification.
104. Writing the URL video storage address into a push information frame of a preset sharing component to generate video push information, and adding the video push information into a playlist;
in this embodiment, a preset ajax code is added to the return value by modifying the return value of the output function. The ajax code mainly comprises the following contents: 1. determining a request format of a hypertext transfer protocol; 2. determining a resource locator of a local service page of a hypertext transfer protocol; 3. defining the content of the decrypted data; 4. defining a data type; 5. a link means is defined. After the addition is completed, the JS file can be obtained. Other changes can be continued to the JS file, but the JS file which contains the ajax code change characteristic belongs to the JS file required to be obtained in the step. And the output content of the whole ajax code is proxied, and the playing processing server of the URL is changed into a push information frame required by us.
105. And receiving a play selection instruction, and sending the video push information in the play list to a specified object in the social APP according to the play selection instruction.
In this embodiment, the ajax code in the JS file has a URL address that determines the presentation of the target page, and the processed page is sent to the address of the local resource locator. The local server is provided with a built-in browser control, an address is configured in the built-in browser, the target page is presented at the address, after a playing selection instruction is received, the playing address is changed into a specified object in the social APP, the push link is sent to the social APP, and the whole push process is completed.
In the embodiment of the invention, the technical problem that videos cannot be completely pushed in social APP is solved by searching resources in the URL address, carrying out decryption conversion, such as in a sharing component frame, combining, setting the position of the video to be shared, and then pushing the target video to the social friend to be shared.
Referring to fig. 2, a second embodiment of the decryption pushing method for the encrypted video according to the embodiment of the present invention includes:
201. acquiring a URL page address with an encrypted state video based on a DLNA protocol;
202. reading a source code of the URL page address, and capturing a URL playing link address of a video from the source code;
201-202 are similar to the first embodiment and will not be described herein.
203. Adjusting a sent playing instruction, and modifying a source code in the playing instruction into a variable value, wherein the variable value is a sharing sending address of a sharing component;
in this embodiment, in the instruction sent to the public server at this time, the sending address in the ajax code is modified, the sending address is modified by a variable value, and the adjustment is performed according to different video APPs.
204. Sending the adjusted playing instruction and a preset decryption key to a public server corresponding to the URL playing link address;
in this embodiment, the decryption key is a token with characteristics, the play instruction has an address of the public server, and the token is sent to the public server for verification based on the play instruction.
205. Acquiring a URL video storage address sent by the public server, reading a video format in the URL video storage address, and judging whether the video format is in an MP4 format;
in this embodiment, the server only supports MP 4-formatted video sharing, and checks whether the URL video storage address and the video output by the corresponding api interface are in MP4 format.
206. If the video is in the MP4 format, the URL video storage address is confirmed to be a qualified address;
in this embodiment, the URL video storage address is determined to be a video address that can be transmitted and shared if the URL video storage address is determined to be qualified.
207. Sending the URL video storage address to a read-write address of a preset sharing component based on a DMC/DMR component;
in this embodiment, the DMC/DMR component, which is a common component in the DLNA protocol, transmits the URL video storage address to the folder under the sharing component, so as to perform the next operation.
208. The sharing component writes the URL video storage address into a preset push information frame to generate video push information;
in this embodiment, the file under the sharing component, the output function written in the JS file, has been adjusted to the frame in which the ajax code is set, and the basic push information assembly is completed.
209. Receiving the video attached setting data of the video push information, wherein the attached setting data comprises initial playing positioning, video volume and video brightness;
in this embodiment, the additional settings are the playing position, the video volume, and the video brightness set for reading the shared video, which can ensure efficient sharing of video clips that need to be observed by friends, and if the video length exceeds 1 hour, the method has great efficiency.
210. Writing the attached setting into corresponding video push information in the playlist;
in this embodiment, the setting write push information is attached, and when the video is turned on, basic settings such as setting position, video volume, video brightness, and the like are automatically executed.
211. Reading corresponding push selection information in the play selection instruction;
in this embodiment, various sharing condition settings in the playlist are selected, which are conventional product settings and can record various video push history records and various recorded settings.
212. Inquiring video push information and attached setting data corresponding to the selected push information in the playlist;
in this embodiment, the accompanying setting of the push information may be completed by adopting the corresponding table mapping setting in the SQL database, or the written accompanying setting of the video push information may be read, and the reliability of the execution setting is ensured by walking two logic routes.
213. Sending the video push information and the attached setting data to a specified object in a social APP;
in this embodiment, in the specified target of pushing information and setting the social APP, the video setting is completed in the social APP.
214. Accessing videos in URL video storage addresses corresponding to the video pushing information;
in this embodiment, based on the ajax code modified by the output function, the address of the specified object of the social class APP is used as the receiving server, and the video of the corresponding URL video storage address is sent to the receiving server, where in the execution process, the video push process needs to be accessed and activated first.
215. And playing the video based on the video volume and the video brightness at the initial playing position according to the attached setting data.
In this embodiment, the video is positioned at a position where the video needs to be played according to the setting data, and the volume and the brightness are adjusted to complete the push playing of the video.
In the embodiment of the invention, the technical problem that videos cannot be completely pushed in social APP is solved by searching resources in the URL address, carrying out decryption conversion, such as in a sharing component frame, combining, setting the position of the video to be shared, and then pushing the target video to the social friend to be shared.
With reference to fig. 3, the above description is provided for a decryption pushing method of an encrypted video in an embodiment of the present invention, and a decryption pushing apparatus of an encrypted video in an embodiment of the present invention is described below, where an embodiment of the decryption pushing apparatus of an encrypted video in an embodiment of the present invention includes:
an obtaining module 301, configured to obtain, based on a DLNA protocol, a URL page address of a video in an encrypted state;
a fetching module 302, configured to read a source code of the URL page address, and fetch a URL playing link address of a video from the source code;
the decryption module 303 is configured to decrypt the video of the URL playing link address according to a preset decryption key to obtain a URL video storage address of the video;
the generating module 304 is configured to write the URL video storage address into a push information frame of a preset sharing component, generate video push information, and add the video push information into a playlist;
the pushing module 305 is configured to receive a play selection instruction, and send video pushing information in the playlist to a specified object in the social APP according to the play selection instruction.
In the embodiment of the invention, the technical problem that videos cannot be completely pushed in social APP is solved by searching resources in the URL address, carrying out decryption conversion, such as in a sharing component frame, combining, setting the position of the video to be shared, and then pushing the target video to the social friend to be shared.
Referring to fig. 4, another embodiment of the decryption pushing apparatus for encrypted video according to the embodiment of the present invention includes:
an obtaining module 301, configured to obtain, based on a DLNA protocol, a URL page address of a video in an encrypted state;
a fetching module 302, configured to read a source code of the URL page address, and fetch a URL playing link address of a video from the source code;
the decryption module 303 is configured to decrypt the video of the URL playing link address according to a preset decryption key to obtain a URL video storage address of the video;
the generating module 304 is configured to write the URL video storage address into a push information frame of a preset sharing component, generate video push information, and add the video push information into a playlist;
the pushing module 305 is configured to receive a play selection instruction, and send video pushing information in the playlist to a specified object in the social APP according to the play selection instruction.
Wherein the generating module 304 is specifically configured to:
sending the URL video storage address to a read-write address of a preset sharing component based on a DMC/DMR component;
and the sharing component writes the URL video storage address into a preset push information frame to generate video push information.
Wherein the decryption module 303 comprises:
a sending unit 3031, configured to send a preset decryption key to a public server corresponding to the URL playing link address;
a reading unit 3032, configured to obtain a URL video storage address sent by the public server, read a video format in the URL video storage address, and determine whether the video format is an MP4 format;
a confirming unit 3033, configured to confirm that the URL video storage address is a qualified address if the storage address is in the MP4 format.
Wherein the sending unit 3031 is specifically configured to:
adjusting a sent playing instruction, and modifying a source code in the playing instruction into a variable value, wherein the variable value is a sharing sending address of a sharing component;
and sending the adjusted playing instruction and the preset decryption key to a public server corresponding to the URL playing link address.
The decryption pushing apparatus for the encrypted video further includes a setting module 306, where the setting module 306 is specifically configured to:
receiving the video attached setting data of the video push information, wherein the attached setting data comprises initial playing positioning, video volume and video brightness;
and writing the attached setting into corresponding video push information in the playlist.
Wherein the pushing module 305 is specifically configured to:
reading corresponding push selection information in the play selection instruction;
inquiring video push information and attached setting data corresponding to the selected push information in the playlist;
and sending the video push information and the attached setting data to a specified object in the social APP.
The decryption pushing device for the encrypted video further includes a playing module 307, and the playing module 307 is specifically configured to:
accessing videos in URL video storage addresses corresponding to the video pushing information;
and playing the video based on the video volume and the video brightness at the initial playing position according to the attached setting data.
In the embodiment of the invention, the technical problem that videos cannot be completely pushed in social APP is solved by searching resources in the URL address, carrying out decryption conversion, such as in a sharing component frame, combining, setting the position of the video to be shared, and then pushing the target video to the social friend to be shared.
Fig. 3 and fig. 4 describe the decryption pushing apparatus for encrypted video in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the decryption pushing apparatus for encrypted video in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 5 is a schematic structural diagram of a decryption pushing apparatus for encrypted video according to an embodiment of the present invention, where the decryption pushing apparatus 500 for encrypted video may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 510 (e.g., one or more processors) and a memory 520, one or more storage media 530 (e.g., one or more mass storage devices) storing applications 533 or data 532. Memory 520 and storage media 530 may be, among other things, transient or persistent storage. The program stored in the storage medium 530 may include one or more modules (not shown), and each module may include a series of instruction operations in the decryption push device 500 for the encrypted video. Still further, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the decryption push device 500 for encrypted video.
The encrypted video-based decryption push device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input-output interfaces 560, and/or one or more operating systems 531, such as Windows server, Mac OS X, Unix, Linux, FreeBSD, and so forth. It will be appreciated by those skilled in the art that the configuration of the encrypted video decryption push device shown in fig. 5 does not constitute a limitation of the encrypted video based decryption push device and may comprise more or less components than those shown, or some components may be combined, or a different arrangement of components.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the decryption push method for encrypted video.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
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 invention may be embodied in the form of 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 invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A decryption pushing method for encrypted video is characterized by comprising the following steps:
acquiring a URL page address with an encrypted state video based on a DLNA protocol;
reading a source code of the URL page address, and capturing a URL playing link address of a video from the source code;
according to a preset decryption key, decrypting the video of the URL playing link address to obtain a URL video storage address of the video;
writing the URL video storage address into a push information frame of a preset sharing component to generate video push information, and adding the video push information into a playlist;
receiving a play selection instruction, and sending video push information in a play list to a specified object in a social APP (application) according to the play selection instruction;
the decrypting the video of the URL playing link address according to the preset decryption key to obtain the URL video storage address of the video comprises the following steps:
sending a preset decryption key to a public server corresponding to the URL playing link address;
acquiring a URL video storage address sent by the public server, reading a video format in the URL video storage address, and judging whether the video format is in an MP4 format;
if the video is in the MP4 format, the URL video storage address is confirmed to be a qualified address;
wherein, the sending the preset decryption key to the public server corresponding to the URL playing link address comprises:
adjusting a sent playing instruction, and modifying a source code in the playing instruction into a variable value, wherein the variable value is a sharing sending address of a sharing component;
and sending the adjusted playing instruction and the preset decryption key to a public server corresponding to the URL playing link address.
2. The decryption pushing method for the encrypted video according to claim 1, wherein the writing the URL video storage address into a pushing information frame of a preset sharing component generates video pushing information including:
sending the URL video storage address to a read-write address of a preset sharing component based on a DMC/DMR component;
and the sharing component writes the URL video storage address into a preset push information frame to generate video push information.
3. The decryption pushing method for encrypted video according to claim 1, wherein after adding the video pushing information into the playlist, before the receiving the play selection instruction, further comprising:
receiving the video attached setting data of the video push information, wherein the attached setting data comprises initial playing positioning, video volume and video brightness;
and writing the attached setting into corresponding video push information in the playlist.
4. The decryption pushing method for the encrypted video according to claim 3, wherein the sending the video pushing information in the playlist to the specified object in the social class APP according to the play selection instruction includes:
reading corresponding push selection information in the play selection instruction;
inquiring video push information and attached setting data corresponding to the selected push information in the playlist;
and sending the video push information and the attached setting data to a specified object in the social APP.
5. The decryption pushing method for the encrypted video according to claim 4, after the sending the video pushing information and the accompanying setting data to the specified object in the social class APP, further comprising:
accessing videos in URL video storage addresses corresponding to the video pushing information;
and playing the video based on the video volume and the video brightness at the initial playing position according to the attached setting data.
6. A decryption pushing device for encrypted video, the decryption pushing device for encrypted video comprising:
the acquisition module is used for acquiring the URL page address of the video with the encrypted state based on the DLNA protocol;
the capturing module is used for reading a source code of the URL page address and capturing a URL playing link address of a video from the source code;
the decryption module is used for decrypting the video of the URL playing link address according to a preset decryption key to obtain a URL video storage address of the video;
the generating module is used for writing the URL video storage address into a push information frame of a preset sharing component, generating video push information and adding the video push information into a playlist;
the pushing module is used for receiving a play selection instruction and sending video pushing information in a play list to a specified object in the social APP according to the play selection instruction;
wherein the decryption module is specifically configured to:
sending a preset decryption key to a public server corresponding to the URL playing link address;
acquiring a URL video storage address sent by the public server, reading a video format in the URL video storage address, and judging whether the video format is in an MP4 format;
if the video is in the MP4 format, the URL video storage address is confirmed to be a qualified address;
wherein the decryption module is further specifically configured to:
adjusting a sent playing instruction, and modifying a source code in the playing instruction into a variable value, wherein the variable value is a sharing sending address of a sharing component;
and sending the adjusted playing instruction and the preset decryption key to a public server corresponding to the URL playing link address.
7. A decryption push device for encrypted video, characterized in that the decryption push device for encrypted video comprises: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invoking the instructions in the memory to cause the decryption push device of encrypted video to perform the decryption push method of encrypted video of any of claims 1-5.
8. A computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the decryption push method for encrypted video according to any one of claims 1-5.
CN202110287544.0A 2021-03-17 2021-03-17 Decryption pushing method, device, equipment and storage medium of encrypted video Active CN113163261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110287544.0A CN113163261B (en) 2021-03-17 2021-03-17 Decryption pushing method, device, equipment and storage medium of encrypted video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110287544.0A CN113163261B (en) 2021-03-17 2021-03-17 Decryption pushing method, device, equipment and storage medium of encrypted video

Publications (2)

Publication Number Publication Date
CN113163261A CN113163261A (en) 2021-07-23
CN113163261B true CN113163261B (en) 2022-02-01

Family

ID=76887544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110287544.0A Active CN113163261B (en) 2021-03-17 2021-03-17 Decryption pushing method, device, equipment and storage medium of encrypted video

Country Status (1)

Country Link
CN (1) CN113163261B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104676B (en) * 2014-07-09 2017-11-21 福建星网视易信息系统有限公司 A kind of audio and video playing method and apparatus
CN106130984A (en) * 2016-06-29 2016-11-16 努比亚技术有限公司 Encrypted video sharing apparatus and method
CN107018432B (en) * 2017-03-28 2020-02-14 华为技术有限公司 Media content licensing method and device
CN110876080B (en) * 2018-08-30 2021-07-20 华为技术有限公司 Video screen projection method and device, computer equipment and storage medium
US11496472B2 (en) * 2018-11-16 2022-11-08 Mutualink, Inc. System and method for secure access to camera systems
CN112312187B (en) * 2019-07-31 2022-09-06 腾讯科技(深圳)有限公司 Method, device and equipment for screen projection playing of video and storage medium
CN110719499B (en) * 2019-09-19 2022-04-05 北京字节跳动网络技术有限公司 Video downloading method, system, medium and electronic device
CN111586446A (en) * 2020-04-13 2020-08-25 微梦创科网络科技(中国)有限公司 Method, device and system for seamless switching of media streams

Also Published As

Publication number Publication date
CN113163261A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
WO2017092313A1 (en) Method and apparatus for controlling video playing of playing device
CN109521956B (en) Cloud storage method, device, equipment and storage medium based on block chain
CN104918105B (en) More screen playing methods, equipment and the system of media file
CN108512814B (en) Media data processing method, device and system
JP2019530931A (en) Information push method and information push apparatus
WO2018107719A1 (en) Data sharing method, apparatus, terminal device and server
US20090022123A1 (en) Apparatus and method for providing contents sharing service on network
US20110252085A1 (en) Communication system, server device, display device, information processing method, and program
US11115483B2 (en) Methods and apparatus for census and panel matching using session identifiers positioned in an HTTP header
JP2009507298A (en) Data communication with remote network nodes
CN103945259A (en) Online video playing method and device
JP7398580B2 (en) Partner integration network
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
CN110764688B (en) Method and device for processing data
US20040210433A1 (en) System, method and apparatus for emulating a web server
CN103796046B (en) A kind of video source address detection method and device
US20080082629A1 (en) Enabling Users to Repeatedly Perform a Sequence of User Actions When Interacting With a Web Server
JP5005527B2 (en) Storage system and data management method in storage system
US20070168371A1 (en) Method and apparatus for maintaining federated name context bindings in a name space
US11423087B2 (en) Normative process of interaction with a registry of virtual spaces
CN110677443A (en) Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
CN113163261B (en) Decryption pushing method, device, equipment and storage medium of encrypted video
JP6752944B2 (en) Devices and methods for sharing images received from user terminals with other user terminals
CN109600403B (en) Method and device for sending information
US20120136963A1 (en) Content transmission method, connection-target storage, and content transmission program

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
GR01 Patent grant
GR01 Patent grant