CN109862424B - Video playing method and device and electronic equipment - Google Patents

Video playing method and device and electronic equipment Download PDF

Info

Publication number
CN109862424B
CN109862424B CN201910253180.7A CN201910253180A CN109862424B CN 109862424 B CN109862424 B CN 109862424B CN 201910253180 A CN201910253180 A CN 201910253180A CN 109862424 B CN109862424 B CN 109862424B
Authority
CN
China
Prior art keywords
playing
video
video file
target
current
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
CN201910253180.7A
Other languages
Chinese (zh)
Other versions
CN109862424A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201910253180.7A priority Critical patent/CN109862424B/en
Publication of CN109862424A publication Critical patent/CN109862424A/en
Application granted granted Critical
Publication of CN109862424B publication Critical patent/CN109862424B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application provides a video playing method, a video playing device and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining a video playing request containing a video file identifier, obtaining a video file corresponding to the video file identifier, obtaining a current playing position and a target playing position of the video file, obtaining a decryption key of an encrypted byte between the current playing position and the target playing position, decrypting the encrypted byte according to the decryption key and playing the decrypted byte. Therefore, the local decrypted temporary file is not generated for video decryption playing under the condition that the video fluency is not influenced, and the safety is high.

Description

Video playing method and device and electronic equipment
Technical Field
The present application relates to the field of video processing technologies, and in particular, to a video playing method and apparatus, and an electronic device.
Background
In general, video is encrypted to improve the security of the video. Therefore, the encrypted video needs to be decrypted before being played. In the related art, the encrypted video is decrypted and then sent to the client to be played or the encrypted video is downloaded to the client to be decrypted to generate the temporary buffer video file to be played, however, the decrypted video has a risk of being copied in the process of being sent to the client or the temporary buffer video file generated by decryption, and the security is low.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the video playing method is provided, and the technical problems that in the prior art, the risk of copying exists in the process that the video decrypted by the cloud server is sent to the client or the temporary buffer video file generated by decryption exists, and the safety ratio is low are solved.
The application provides a video playing device.
The application provides an electronic device.
The present application provides a computer-readable storage medium.
An embodiment of a first aspect of the present application provides a video playing method, including:
acquiring a video playing request containing a video file identifier;
acquiring a video file corresponding to the video file identifier;
acquiring the current playing position and the target playing position of the video file;
and acquiring a decryption key of the encrypted byte between the current playing position and the target playing position, and decrypting and playing the encrypted byte according to the decryption key.
Optionally, as a first possible implementation manner of the first aspect of the present application, before the obtaining the current playing position and the target playing position of the video file, the method further includes:
acquiring the file size of the video file;
and setting one or more target playing positions in the video file according to the file size in a preset mode.
Optionally, as a second possible implementation manner of the first aspect of the present application, the acquiring a current playing position and a target playing position of the video file includes:
and acquiring the current playing position and the target playing position through an application programming interface.
Optionally, as a third possible implementation manner of the first aspect of the present application, the decrypting and playing the encrypted byte according to the decryption key includes:
decrypting the encrypted bytes according to the decryption key to obtain playing data;
and sending the playing data to a target player through an application programming interface.
Optionally, as a fourth possible implementation manner of the first aspect of the present application, the obtaining a decryption key of an encrypted byte between the current playing position and the target playing position includes:
and inquiring a preset key database to obtain a decryption key corresponding to the video file identifier.
An embodiment of a second aspect of the present application provides a video playing apparatus, where the apparatus includes:
the first acquisition module is used for acquiring a video playing request containing a video file identifier;
the second acquisition module is used for acquiring the video file corresponding to the video file identifier;
the third acquisition module is used for acquiring the current playing position and the target playing position of the video file;
a fourth obtaining module, configured to obtain a decryption key of an encrypted byte between the current playing position and the target playing position;
and the processing module is used for decrypting and playing the encrypted bytes according to the decryption key.
Optionally, as a first possible implementation manner of the second aspect of the present application, the third obtaining module is specifically configured to:
and acquiring the current playing position and the target playing position through an application programming interface.
Optionally, as a second possible implementation manner of the second aspect of the present application, the processing module is specifically configured to:
decrypting the encrypted bytes according to the decryption key to obtain playing data;
and sending the playing data to a target player through an application programming interface.
Optionally, as a third possible implementation manner of the second aspect of the present application, the fourth obtaining module is specifically configured to:
determining playing time according to the encrypted bytes;
and inquiring a preset key bank corresponding to the video file identification to obtain a decryption key corresponding to the playing time.
Optionally, as a fourth possible implementation manner of the second aspect of the present application, the fourth obtaining module is further specifically configured to:
and inquiring a preset key database to obtain a decryption key corresponding to the video file identifier.
An embodiment of a third aspect of the present application provides an electronic device, including: the video playing method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the video playing method of the first aspect is realized.
A fourth aspect of the present application is directed to a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the video playing method according to the first aspect.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the method comprises the steps of obtaining a video playing request containing a video file identifier, obtaining a video file corresponding to the video file identifier, obtaining a current playing position and a target playing position of the video file, obtaining a decryption key of an encrypted byte between the current playing position and the target playing position, decrypting the encrypted byte according to the decryption key and playing the decrypted byte. Therefore, the local decrypted temporary file is not generated for video decryption playing under the condition that the video fluency is not influenced, and the safety is high.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another video playing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another video playback device according to an embodiment of the present disclosure; and
fig. 5 is a schematic structural diagram of an embodiment of an electronic device according to the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The following describes a video playing method, a video playing device and an electronic device according to an embodiment of the present application with reference to the drawings.
Fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present application.
As shown in fig. 1, the method comprises the steps of:
step 101, a video playing request containing a video file identifier is obtained.
And 102, acquiring a video file corresponding to the video file identifier.
In practical application, a user can send a video playing request by clicking or pulling down a current playing interface.
It is understood that the video playing request contains a video file identifier, and the video file identifier is used to determine a corresponding video file, that is, different video identifiers correspond to different video files, and a unique video file can be determined by the video identifier.
Specifically, after a video playing request including a video file identifier is obtained, the video playing request is analyzed to obtain the video file identifier, and a video file corresponding to the video file identifier is searched in a preset folder (local folder) or a corresponding cloud server.
It is understood that the video file may be encrypted or unencrypted, the encrypted video file may also be a partial file encryption, and so on.
The video playing method aims at the risk that in the prior art, in the process that the encrypted video is decrypted by the cloud server and then sent to the client side or a temporary buffer video file generated by decrypting the encrypted video at the client side is copied, so that decryption is carried out in an internal memory during playing, a local temporary file is not generated, and the safety is high.
That is to say, the video files in the video playing method provided by the application are encrypted, the encrypted video files may be stored in the cloud after the cloud server encrypts one or more video files through a preset encryption key, or the local server encrypts one or more video files through a preset encryption key and stores the one or more video files in the local. The preset encryption key can be selected according to the actual application requirement.
To distinguish between encrypted and unencrypted video files, the identification may be performed by inserting an encryption flag in a predetermined field of the video file, for example, performing exclusive-or encryption on the first 1024 bytes of the video file, and inserting an encryption flag such as 0xACAB in the header field of the video file.
And 103, acquiring the current playing position and the target playing position of the video file.
It can be understood that, during the playing process of the video file, the bytes in the video file are read and played in sequence by default.
It should be noted that, the target playing position may be preset, as one possible implementation, for example, as shown in fig. 2, including:
step 201, obtaining the file size of the video file.
Step 202, setting one or more target playing positions in the video file according to the file size in a preset mode.
Specifically, the file size of the video file may be obtained, and one or more target playing positions, for example 1024 bytes, are set in the video file in a preset manner according to the file size, and one target position is set every 128 bytes.
It should be noted that scene information in the video file may also be analyzed, and different target positions may be set according to different scenes.
In an embodiment of the application, a user may need to jump to a corresponding time point for playing in a process of watching a video, and therefore, a video playing jump request including a current playing position identifier may be sent through a voice command or in a manual manner, and after the video playing jump request including the current playing position identifier is obtained, a current playing position of a video file is determined according to the current playing position identifier.
And 104, acquiring a decryption key of the encrypted byte between the current playing position and the target playing position, decrypting the encrypted byte according to the decryption key and playing.
Specifically, for an encrypted video file, when there is an encrypted byte between the current playing position and the target playing position, the encrypted byte may be decrypted and played through a corresponding decryption key.
It can be understood that before the decryption key of the encrypted byte between the current playing position and the target playing position is obtained, it is also necessary to determine whether the encrypted byte exists between the current playing position and the target playing position.
If the video file is integrally encrypted, determining all bytes between the current playing position and the target playing position as encrypted bytes;
if the video file is partially encrypted, determining a current playing byte according to a current playing position, determining a target playing byte according to the target playing position, and determining an encrypted byte between the current playing byte and the target playing byte according to the current playing byte, the target playing byte and the pre-encrypted byte section.
For example, a video file is partially encrypted, for example, a byte between 20 th byte and 60 th byte is selected for encryption, and a byte between 80 th byte and 100 th byte is selected for encryption, and then the current playing position and the target playing position may be analyzed, for example, the current playing position is determined to be the 30 th byte, the target playing position is determined to be the 50 th byte, or all bytes between the current playing position and the target playing position may be determined to be encrypted bytes, and for example, the current playing position is determined to be the 10 th byte, and the target playing position is determined to be the 30 th byte.
One or more decryption keys for the same video file may be set during encryption according to actual applications, for example, as follows:
in a first example, the playing time is determined according to the encrypted byte, a preset key bank corresponding to the video file identifier is queried, and a decryption key corresponding to the playing time is obtained.
Specifically, the content in the video file can be analyzed, it is determined that different content, that is, different playing time, is encrypted by different encryption keys, so that different encryption keys are required for decryption, and a plurality of decryption keys can be stored in a key bank corresponding to the video file identifier, so that the security of video playing is improved by corresponding different decryption keys to different playing content.
In a second example, a preset key database is queried to obtain a decryption key corresponding to the video file identifier.
Specifically, in order to improve the decryption efficiency, the video file may be encrypted by one encryption key, so that only one decryption key is needed to query the preset key database, and the decryption key corresponding to the video file identifier is obtained to decrypt the encrypted bytes in the video file.
It should be noted that, when there is an unencrypted byte between the current playing position and the target playing position, the unencrypted byte can be directly read and played.
In an embodiment of the present application, the current playing position and the target playing position of the target player may also be obtained through an application programming interface. Alternatively, the target player may be a system player.
In an embodiment of the present application, the encrypted bytes are decrypted according to the decryption key to obtain the playing data, and the playing data is sent to the target player through the application programming interface.
For example, when playing a video file through the system player, the system player sends the current playing position and the target playing position through the system API, the video playing apparatus in the embodiment of the present application parses the video file according to the current playing position and the target playing position, sends the data between the current playing position and the target playing position to the system player through the system API, thereby enabling the system player to play the data between the current playing position and the target playing position, and then the system player can update the current playing position and the target playing position, and sending the updated current playing position and the updated target playing position through the system API, and the video playing device of the embodiment of the application analyzes the video file according to the updated current playing position and the updated target playing position and sends the video file to the system player through the system API for playing, so that the video file is played.
In the video playing method of this embodiment, the video file corresponding to the video file identifier is obtained, the current playing position and the target playing position of the video file are obtained, the decryption key of the encrypted byte between the current playing position and the target playing position is obtained, and the encrypted byte is decrypted and played according to the decryption key. Therefore, the local decrypted temporary file is not generated for video decryption playing under the condition that the video fluency is not influenced, and the safety is high.
In order to implement the above embodiments, the present application further provides a video playing device.
Fig. 3 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present application.
As shown in fig. 3, the apparatus includes: a first acquisition module 310, a second acquisition module 320, a third acquisition module 330, a fourth acquisition module 340, and a processing module 350.
The first obtaining module 310 is configured to obtain a video playing request including a video file identifier.
The second obtaining module 320 is configured to obtain a video file corresponding to the video file identifier.
The third obtaining module 330 is configured to obtain a current playing position and a target playing position of the video file.
A fourth obtaining module 340, configured to obtain a decryption key of the encrypted byte between the current playing position and the target playing position.
And the processing module 350 is configured to decrypt and play the encrypted bytes according to the decryption key.
Based on the foregoing embodiment, a possible implementation manner of the video playing apparatus is further provided in the embodiments of the present application, and the third obtaining module 330 is specifically configured to: and acquiring the current playing position and the target playing position through an application programming interface.
Based on the foregoing embodiment, a possible implementation manner of the video playing apparatus is further provided in the embodiments of the present application, and the processing module 350 is specifically configured to: decrypting the encrypted bytes according to the decryption key to obtain playing data; and sending the playing data to the target player through the application programming interface.
Based on the foregoing embodiment, a possible implementation manner of a video playing apparatus is further provided in the embodiments of the present application, fig. 4 is a schematic structural diagram of another video playing apparatus provided in the embodiments of the present application, and on the basis of fig. 3, the apparatus further includes: a fifth acquisition module 360 and a setup module 370.
The fifth obtaining module 360 is configured to obtain a file size of the video file.
The setting module 370 is configured to set one or more target playing positions in the video file according to the file size in a preset manner.
Based on the foregoing embodiment, a possible implementation manner of the video playing apparatus is further provided in the embodiments of the present application, and the third obtaining module 330 is specifically configured to: acquiring a video playing skip request containing a current playing position identifier; and determining the current playing position of the video file according to the current playing position identifier.
Based on the foregoing embodiment, a possible implementation manner of the video playing apparatus is further provided in this embodiment of the present application, and the fourth obtaining module 340 is specifically configured to: determining the playing time according to the encrypted bytes; and inquiring a preset key bank corresponding to the video file identifier to obtain a decryption key corresponding to the playing time.
Based on the foregoing embodiment, a possible implementation manner of the video playing apparatus is further provided in this embodiment of the present application, and the fourth obtaining module 340 is specifically configured to: and inquiring a preset key database to obtain a decryption key corresponding to the video file identifier.
It should be noted that the foregoing explanation of the method embodiment is also applicable to the apparatus of this embodiment, and is not repeated herein.
In the video playing device of this embodiment, a video playing request including a video file identifier is obtained, a video file corresponding to the video file identifier is obtained, a current playing position and a target playing position of the video file are obtained, a decryption key of an encrypted byte between the current playing position and the target playing position is obtained, and the encrypted byte is decrypted and played according to the decryption key. Therefore, the local decrypted temporary file is not generated for video decryption playing under the condition that the video fluency is not influenced, and the safety is high.
In order to implement the above embodiments, the present application also provides an electronic device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the video playing method according to the foregoing method embodiments.
An embodiment of the present application further provides an electronic device, which includes the apparatus according to any of the foregoing embodiments.
Fig. 5 is a schematic structural diagram of an embodiment of an electronic device of the present application, which may implement a flow of the method embodiment shown in fig. 1-2 of the present application, and as shown in fig. 5, the electronic device may include: the electronic device comprises a shell 91, a processor 92, a memory 93, a circuit board 94 and a power supply circuit 95, wherein the circuit board 94 is arranged inside a space enclosed by the shell 91, and the processor 92 and the memory 93 are arranged on the circuit board 94; a power supply circuit 95 for supplying power to each circuit or device of the electronic apparatus; the memory 93 is used to store executable program code; the processor 92 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 93, for executing the video generation method described in any one of the foregoing embodiments.
For a specific execution process of the above steps by the processor 92 and further steps executed by the processor 92 by running the executable program code, reference may be made to the description of the method embodiment shown in fig. 1-2 in this application, which is not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
In order to implement the foregoing embodiments, the present application further proposes a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the video playing method according to the foregoing method embodiments.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (8)

1. A video playback method, comprising the steps of:
acquiring a video playing request containing a video file identifier;
acquiring a video file corresponding to the video file identifier;
acquiring the current playing position and the target playing position of the video file; analyzing scene information in the video file, and setting different target playing positions according to different scenes;
and acquiring a decryption key of the encrypted byte between the current playing position and the target playing position, decrypting the encrypted byte according to the decryption key, acquiring playing data, sending the playing data to a target player through an application programming interface, so that the target player plays the data between the current playing position and the target playing position, updating the current playing position and the target playing position, and sending the updated current playing position and the updated target playing position through the application programming interface.
2. The method of claim 1, wherein the obtaining a decryption key for encrypted bytes between the current playback position and the target playback position comprises:
determining playing time according to the encrypted bytes;
and inquiring a preset key bank corresponding to the video file identification to obtain a decryption key corresponding to the playing time.
3. The method of claim 1, wherein the obtaining a decryption key for encrypted bytes between the current playback position and the target playback position comprises:
and inquiring a preset key database to obtain a decryption key corresponding to the video file identifier.
4. A video playback apparatus, comprising:
the first acquisition module is used for acquiring a video playing request containing a video file identifier;
the second acquisition module is used for acquiring the video file corresponding to the video file identifier;
the third acquisition module is used for acquiring the current playing position and the target playing position of the video file; analyzing scene information in the video file, and setting different target playing positions according to different scenes;
a fourth obtaining module, configured to obtain a decryption key of an encrypted byte between the current playing position and the target playing position;
and the processing module is used for decrypting the encrypted bytes according to the decryption key to obtain play data, sending the play data to a target player through an application programming interface so that the target player plays data between the current play position and the target play position, updating the current play position and the target play position, and sending the updated current play position and the updated target play position through the application programming interface.
5. The apparatus of claim 4, wherein the fourth obtaining module is specifically configured to:
determining playing time according to the encrypted bytes;
and inquiring a preset key bank corresponding to the video file identification to obtain a decryption key corresponding to the playing time.
6. The apparatus of claim 4, wherein the fourth obtaining module is further specifically configured to:
and inquiring a preset key database to obtain a decryption key corresponding to the video file identifier.
7. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements a video playback method as claimed in any one of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a video playback method according to any one of claims 1 to 3.
CN201910253180.7A 2019-03-29 2019-03-29 Video playing method and device and electronic equipment Active CN109862424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910253180.7A CN109862424B (en) 2019-03-29 2019-03-29 Video playing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910253180.7A CN109862424B (en) 2019-03-29 2019-03-29 Video playing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109862424A CN109862424A (en) 2019-06-07
CN109862424B true CN109862424B (en) 2021-10-01

Family

ID=66902613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910253180.7A Active CN109862424B (en) 2019-03-29 2019-03-29 Video playing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109862424B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677693A (en) * 2019-09-05 2020-01-10 广州市蜗牛互动科技有限公司 Android system-based encrypted video offline playing method and device and electronic equipment
CN111050213B (en) * 2020-01-17 2022-08-26 北京达佳互联信息技术有限公司 Video playing method and device, electronic equipment and storage medium
CN112887784A (en) * 2021-01-25 2021-06-01 东方网力科技股份有限公司 Method, device, equipment and system for playing encrypted video
CN113727191A (en) * 2021-08-30 2021-11-30 山谷网安科技股份有限公司 Portable encrypted mobile training system and device and encrypted training method
CN115623282B (en) * 2022-12-02 2023-04-07 杭州海康威视数字技术股份有限公司 Fixed-point playing method and device of encrypted video, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572805A (en) * 2009-06-05 2009-11-04 中山大学 Safe video transmission system and application method thereof
CN101969545A (en) * 2010-09-08 2011-02-09 中兴通讯股份有限公司 Encryption method and device of multimedia file
CN103491383A (en) * 2013-09-06 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method and device for obtaining video
CN104683824A (en) * 2013-11-29 2015-06-03 航天信息股份有限公司 Encryption transmission method and system of flv format video file
CN106331752A (en) * 2016-08-31 2017-01-11 杭州当虹科技有限公司 Streaming media video file protection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8256005B2 (en) * 2007-01-08 2012-08-28 Apple Inc. Protection of audio or video data in a playback device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572805A (en) * 2009-06-05 2009-11-04 中山大学 Safe video transmission system and application method thereof
CN101969545A (en) * 2010-09-08 2011-02-09 中兴通讯股份有限公司 Encryption method and device of multimedia file
CN103491383A (en) * 2013-09-06 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method and device for obtaining video
CN104683824A (en) * 2013-11-29 2015-06-03 航天信息股份有限公司 Encryption transmission method and system of flv format video file
CN106331752A (en) * 2016-08-31 2017-01-11 杭州当虹科技有限公司 Streaming media video file protection method

Also Published As

Publication number Publication date
CN109862424A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109862424B (en) Video playing method and device and electronic equipment
US10902096B2 (en) Protecting media items using a media security controller
CN107153794B (en) File encryption method and device and file decryption method and device
US8782418B2 (en) Entertainment device
US6971022B1 (en) Cryptographic apparatus for performing cryptography on a specified area of content data
US8997216B2 (en) Recording medium apparatus and control method for authenticating a device based on a revocation list
WO2010151444A1 (en) Memory device and method for embedding host-identification information into content
TW200910089A (en) Method of storing and accessing header data from memory
US20110066843A1 (en) Mobile media play system and method
CN101103348A (en) Method and device for consuming rights objects having inheritance structure
US20090086966A1 (en) Reproduction apparatus, reproduction method and information recording medium
CN110620950B (en) Method, device and equipment for storing audio and video files
US20100281275A1 (en) Method of recording content on disc, method of providing title key, apparatus for recording content on disc, and content providing server
US20100115616A1 (en) Storage Device and Method for Dynamic Content Tracing
CN111752894A (en) Method, system, host and storage medium for writing and reading confidential files in storage device based on data splitting
CN113014956B (en) Video playing method and device
CN109688266B (en) Ringtone setting method and device and electronic equipment
CN111935546B (en) Program importing method and device, video playing equipment and storage medium
CN112073359B (en) Information interaction method, device, equipment and system
CN106021467B (en) Method and device for reading data file and electronic equipment
CN113472818B (en) Copyright audio data processing method, server and mobile terminal
CN100454275C (en) Digital media cartridge system and method
US20130301869A1 (en) Forensic marking apparatus and method for real-time content service
CN113127891A (en) Template file encryption method and device for intelligent media desktop
KR100773031B1 (en) Copyright limttation apparatus for multimedia transmission system

Legal Events

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