[go: up one dir, main page]

CN111353168A - Multimedia file management method, device, equipment and storage medium - Google Patents

Multimedia file management method, device, equipment and storage medium Download PDF

Info

Publication number
CN111353168A
CN111353168A CN202010122939.0A CN202010122939A CN111353168A CN 111353168 A CN111353168 A CN 111353168A CN 202010122939 A CN202010122939 A CN 202010122939A CN 111353168 A CN111353168 A CN 111353168A
Authority
CN
China
Prior art keywords
data
multimedia
file
information
shooting
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
CN202010122939.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.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech Communication 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 Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN202010122939.0A priority Critical patent/CN111353168A/en
Publication of CN111353168A publication Critical patent/CN111353168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Studio Devices (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for managing a multimedia file. The method comprises the following steps: acquiring multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information; integrating the multimedia data and the shooting parameter information to form data to be managed; and encrypting the data to be managed by adopting predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format. The data to be managed is encrypted through the predetermined key data, the problem that the multimedia file cannot be protected after being stolen is solved, the risk of information loss after the file is leaked is reduced, and the safety of user information is guaranteed.

Description

Multimedia file management method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of file encryption, in particular to a method, a device, equipment and a storage medium for managing a multimedia file.
Background
With the unprecedented explosive development of mobile internet and communication technology, smart phone terminals gradually become indispensable tools for everyone, and conversation, internet surfing, payment, photographing, music, movies and the like are closely related to the everyday life and work of everyone. Meanwhile, the mobile phone also records a large amount of important information of the user, including real identity, social duties, confidential documents and the like, and once the important information is stolen or through big data analysis, various data materials of the user can be easily mastered. Therefore, the security of the mobile phone is more and more emphasized by people.
The way in which a mobile phone is attacked to cause a secret divulgence generally comprises the following ways: illegal authorization, i.e. some resources in the handset are used by unauthorized persons, eavesdropping, service data analysis, viruses, trap doors. The following common protection measures exist at present: when the mobile phone is started, protection is performed through screen locking passwords, fingerprints, human faces, irises and the like; performing firewall protection on the cloud server storing the personal private information; client software from unknown sources is prevented from being installed.
However, once resources inside the mobile phone are stolen, the current protection measures cannot continue to perform protection, and playing and propagation of private files cannot be effectively protected, so that user data is leaked, and user security is affected.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for managing multimedia files, which are used for realizing the safe management of the multimedia files.
In one embodiment, there is provided a method of managing a multimedia file, the method comprising:
acquiring multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information;
integrating the multimedia data and the shooting parameter information to form data to be managed;
and encrypting the data to be managed by adopting predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format.
In one embodiment, there is also provided a multimedia file management apparatus including:
the acquisition module is used for acquiring multimedia data shot by the camera in an encrypted shooting state and corresponding shooting parameter information;
the processing module is used for integrating the multimedia data and the shooting parameter information to form data to be managed;
and the storage module is used for encrypting the data to be managed by adopting predetermined key data to form a multimedia encrypted file of the data to be managed and storing the multimedia encrypted file in a set format.
In one embodiment, there is also provided an apparatus comprising:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement a method for managing multimedia files according to any one of the embodiments of the present invention.
In an embodiment, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of managing multimedia files according to any one of the embodiments of the present invention.
The embodiment of the invention acquires multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information; integrating the multimedia data and the shooting parameter information to form data to be managed; and encrypting the data to be managed by adopting predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format. The data to be managed is encrypted through the predetermined key data, the problem that the multimedia file cannot be protected after being stolen is solved, the risk of information loss after the file is leaked is reduced, and the safety of user information is guaranteed.
Drawings
FIG. 1 is a flowchart of a method for managing multimedia files according to an embodiment;
FIG. 2 is a flowchart of a method for managing multimedia files according to an embodiment;
FIG. 3 is a flowchart of a method for forming data to be managed according to an embodiment;
FIG. 4 is a flowchart of a method for forming data to be managed according to an embodiment;
FIG. 5 is a flowchart illustration of a method for managing multimedia files according to an embodiment;
FIG. 6 is a block diagram of an apparatus for managing multimedia files according to an embodiment;
fig. 7 is a schematic structural diagram of an apparatus according to an embodiment.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a method for managing a multimedia file according to an embodiment, where the embodiment is applicable to a file management situation, and the method can be executed by a device for managing a multimedia file, and specifically includes the following steps:
and 11, acquiring multimedia data shot by the camera in an encrypted shooting state and corresponding shooting parameter information.
The encrypted shooting state can be specifically understood as a state when the camera shoots, and is used for encrypting shooting data; the multimedia data can be specifically understood as data information of a multimedia file obtained by shooting; the shooting parameter information may be specifically understood as information of a multimedia file obtained by shooting, and may be basic information of the multimedia file, such as format, size, shooting time, and position information.
Specifically, the camera generates multimedia data and corresponding shooting parameter information during shooting, and the processor acquires the multimedia data and the corresponding shooting parameter information shot by the camera in an encrypted shooting state by calling a computer program.
And step 12, integrating the multimedia data and the shooting parameter information to form data to be managed.
The integration processing can be specifically understood as a data processing means for forming multimedia data and shooting parameter information into data to be managed; the data to be managed can be understood as a multimedia file to be managed, which is obtained by shooting in an encrypted shooting state.
Specifically, the data to be managed may be formed by forming multimedia data and shooting parameter information into a data file, and using the data file as the data to be managed.
And step 13, encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format.
The predetermined key data may be specifically understood as a predetermined set of data, which is used as a key; a multimedia encrypted file may be understood to be an encrypted multimedia file; the set format may be specifically understood as a preset data format for distinguishing the multimedia encrypted file from the multimedia file that is not encrypted.
Specifically, a multimedia encryption file is formed by performing encryption algorithm processing on data to be managed by using predetermined key data, and the formed multimedia encryption file is stored in a set format; the multimedia encryption file may be stored in a database.
The embodiment of the invention acquires multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information; integrating the multimedia data and the shooting parameter information to form data to be managed; and encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format. The data to be managed is encrypted through the predetermined key data, the problem that the multimedia file cannot be protected after being stolen is solved, the risk of information loss after the file is leaked is reduced, and the safety of user information is guaranteed.
Fig. 2 is a flowchart of a method for managing multimedia files according to an embodiment. The technical scheme of the embodiment is further refined on the basis of the technical scheme, and specifically mainly comprises the following steps:
and step 21, receiving an encrypted shooting starting operation, wherein the encrypted shooting starting operation acts on an encrypted shooting control button in a setting interface corresponding to the camera.
The encryption shooting starting operation can be specifically understood as an operation command for controlling the start of encryption shooting; the encrypted shooting control button can be specifically understood as a button in a setting interface and is used for controlling encrypted shooting and non-encrypted shooting. The button can be set to be opened for non-encryption shooting, and the button can be closed for encryption shooting, so that the same effect can be achieved.
Specifically, the encrypted shooting starting operation is controlled by turning on or off an encrypted shooting control button in the setting interface, and the mode that the processor receives the encrypted shooting starting operation can be completed by calling a computer program.
And step 22, controlling the camera to enter an encrypted shooting state.
Specifically, the manner of controlling the camera to enter the encryption shooting state may be by calling a computer program.
And step 23, acquiring the multimedia data shot by the camera in the encrypted shooting state and corresponding shooting parameter information.
Further, when the multimedia data is image data, the photographing parameter information includes: the file image format information and the first basic photographing information of the image data may be converted. When the multimedia data is video data, the shooting parameter information includes: attribute information of the terminal device and second basic shooting information of the video data.
The convertible file image format information may be specifically understood as format information of image data, for example, exif format information; the first basic shooting information can be specifically understood as image information of a shot image, and can include characteristic information such as character information and background information; the attribute information of the terminal device can be specifically understood as format information generated by the video data according to the attribute of the corresponding terminal device; the second basic shooting information may be specifically understood as image information of a shot video, and may include characteristic information such as character information and background information.
And 24, integrating the multimedia data and the shooting parameter information to form data to be managed.
Further, fig. 3 provides a flow chart of a method for forming data to be managed. When the multimedia data is image data, the method for integrating the multimedia data and the shooting parameter information to form the data to be managed specifically comprises the following steps:
step 2411, determining image binary data of the image data.
The image binary data can be understood as a binary data file containing actual information of an image.
Specifically, the processor converts the image data obtained by shooting into image binary data through binary conversion.
Step 2412, merging the convertible file image format information and the first basic shooting information as prefix information and the image binary data into a first array with a first set byte length, and recording the first array as data to be managed.
The prefix information can be specifically understood as the previous part of data in a group of data; the first set byte length may be specifically understood as a set byte length; the first array may be understood in particular as an array of temporarily stored data for storing the image data.
Specifically, the convertible file image format information and the first basic shooting information are used as one piece of information, namely prefix information, the prefix information and the image binary data are combined into one information field, the information field is added into a first array with a first set byte length, and the first array is used as data to be managed.
Further, fig. 4 provides a flow chart of a method for forming data to be managed. When the multimedia data is video data, the method for integrating the multimedia data and the shooting parameter information to form the data to be managed specifically comprises the following steps:
step 2421 determines frame binary data of each image frame constituting the video data.
The frame binary data may be specifically understood as a binary data file containing video information of each frame of video data, and may include characteristic information such as character information and background information.
Specifically, the processor converts the video data obtained by shooting into frame binary data through binary conversion.
And 2422, combining the binary data of each frame to form the video binary data of the video data.
The video binary data can be understood as binary data containing real information of the whole video, and is formed by combining binary data of each frame.
Specifically, the processor encodes each frame of binary data to finally form a video binary data.
Step 2423, merging the attribute information and the second basic shooting information as prefix information and adding the prefix information and the second basic shooting information into a second array with a second set byte length, and recording the second array as data to be managed.
The second set byte length may be specifically understood as a set byte length; the second array may particularly be understood as an array of temporarily stored data for storing video data.
Specifically, the attribute information and the second basic shooting information are used as one piece of information, namely prefix information, the prefix information and the video binary data are combined into one information field, the information field is added into a second array with a second set byte length, and the second array is used as data to be managed.
And 25, encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format.
Further, the key data determination method may be: the method comprises the steps of capturing at least one face image of a terminal user by a camera, carrying out human iris recognition on each face image, and determining feature information of the human iris obtained after recognition as secret key data.
Specifically, the camera captures at least one face image in a photographing mode, performs iris recognition on the face image through an image algorithm to obtain characteristic information of the iris of the human eye, namely a binary code, and uses the binary code as key data for data encryption of data to be managed obtained through photographing.
Due to the uniqueness of the iris information of the human eyes, the characteristic information is obtained by identifying the iris image of the human eyes and is used as a private key for encryption and decryption, so that the uniqueness of the secret key is ensured. When the photo is leaked to cause the outward transmission of the photo, the photo cannot be decrypted due to the fact that the other terminal device lacks the secret key, namely the photo cannot be viewed.
And step 26, when the camera is in the file viewing state currently, if the file display control button in the setting interface corresponding to the camera is in the open state, scanning the multimedia encrypted file with the file format set in the terminal file database and displaying the multimedia encrypted file in the file list.
The file viewing state can be specifically understood as a display state of a terminal equipment gallery; the file display control button can be specifically understood as a button in a setting interface and is used for controlling and displaying the encrypted shooting file and the non-encrypted shooting file. The same effect can be achieved by setting the button to open to display only the non-encrypted shot file and setting the button to close to display the encrypted shot file and the non-encrypted shot file. The terminal file database may be understood to be a database for storing file data on the terminal.
Specifically, when a file needs to be checked, the gallery is opened, the file checking state is entered, when a file display control button in the setting interface is in an open state, file data to be displayed in the file list is encrypted state data and unencrypted state data, and when the file is scanned from the terminal file database, a multimedia encrypted file with a file format set as the format needs to be scanned.
And 27, when a viewing instruction of any multimedia encrypted file in the file list is received, decrypting the multimedia encrypted file by adopting the key data.
Specifically, the manner in which the processor receives the viewing instruction of any multimedia encrypted file in the file list may be by triggering a computer program. And decrypting the multimedia encrypted file according to the secret key data to obtain a decrypted file.
And 28, decoding the decrypted multimedia encrypted file by adopting a corresponding decoder and playing the decoded multimedia encrypted file.
The corresponding decoder may be specifically understood as a decoder of the terminal platform, which is used to decode the multimedia file.
Specifically, different platforms have different decoders, and the decoders for image data and video data are also different, and the different platforms provide corresponding decoders for the image data and the video data according to their own characteristics, and the decoders decode and play the decrypted multimedia encrypted file.
Exemplarily, fig. 5 provides a flow chart illustration of a multimedia file management method, in which a camera application is opened by clicking a camera icon, the camera initializes data and enters a preview interface, enters a setting menu of the camera, and determines whether an encrypted shooting control button is opened, and when the encrypted shooting button is opened, a shooting or video recording operation flow is performed; when the encryption shooting button is closed, judging whether the personal iris information is registered or not, generating characteristic information, and when the personal iris information is registered and the characteristic information is generated, opening the encryption shooting button to execute a shooting or video recording operation process; when the personal iris information is not registered and the characteristic information is generated, the personal iris information is registered and a characteristic information array is generated, and then an encrypted shooting button is opened to execute a shooting or video recording operation process. After the photographing or video recording operation is completed, the generated picture file or video file is encrypted according to the iris private key to generate a file (the image is an IM _ DM file, and the video is a VD _ DM file) with a corresponding format, and the data is stored in a database.
The embodiment of the invention acquires multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information; integrating the multimedia data and the shooting parameter information to form data to be managed; and encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format. The data to be managed is encrypted through the predetermined key data, the problem that the multimedia file cannot be protected after being stolen is solved, the risk of information loss after the file is leaked is reduced, and the safety of user information is guaranteed. Due to the uniqueness of the iris information of the human eyes, the characteristic information is obtained by identifying the iris image of the human eyes and is used as a private key for encryption and decryption, so that the uniqueness of the secret key is ensured. When the photo is leaked to cause the outward transmission of the photo, the photo cannot be decrypted due to the fact that the other terminal device lacks the secret key, namely the photo cannot be viewed.
Fig. 6 is a block diagram of an apparatus for managing multimedia files according to an embodiment, the apparatus including: an acquisition module 31, a processing module 32 and a saving module 33.
The acquiring module 31 is configured to acquire multimedia data and corresponding shooting parameter information that are shot by the camera in an encrypted shooting state; the processing module 32 is configured to perform integration processing on the multimedia data and the shooting parameter information to form data to be managed; the storage module 33 is configured to encrypt the data to be managed by using the predetermined key data to form a multimedia encrypted file of the data to be managed, and store the multimedia encrypted file in a set format.
The embodiment of the invention acquires multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information; integrating the multimedia data and the shooting parameter information to form data to be managed; and encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format. The data to be managed is encrypted through the predetermined key data, the problem that the multimedia file cannot be protected after being stolen is solved, the risk of information loss after the file is leaked is reduced, and the safety of user information is guaranteed.
Further, the apparatus further comprises:
and the receiving module is used for receiving encrypted shooting starting operation, and the encrypted shooting starting operation acts on an encrypted shooting control button in a setting interface corresponding to the camera.
And the control module is used for controlling the camera to enter an encrypted shooting state.
Further, the apparatus further comprises:
and the key determining module is used for capturing at least one face image of the terminal user by adopting the camera, carrying out human iris recognition on each face image, and determining the characteristic information of the human iris obtained after recognition as key data.
Further, when the multimedia data is image data, the photographing parameter information includes: the file image format information and the first basic photographing information of the image data may be converted.
Accordingly, the processing module 32 includes:
a first determination unit for determining image binary data of the image data.
The first adding unit is used for merging and adding the convertible file image format information and the first basic shooting information as prefix information and image binary data into a first array with a first set byte length, and recording the first array as data to be managed.
Further, when the multimedia data is video data, the shooting parameter information includes: attribute information of the terminal device and second basic shooting information of the video data.
Accordingly, the processing module 32 includes:
a second determination unit for determining frame binary data of each image frame constituting the video data.
And a forming unit for forming video binary data of the video data based on the binary data combination of each frame.
And the second adding unit is used for merging and adding the attribute information and the second basic shooting information as prefix information and video binary data into a second array with a second set byte length, and recording the second array as data to be managed.
Further, the apparatus further comprises:
and the display module is used for scanning the multimedia encrypted file with the file format set in the terminal file database and displaying the multimedia encrypted file in the file list if a file display control button in a setting interface corresponding to the camera is in an open state when the multimedia encrypted file is in the current file viewing state.
Further, the apparatus further comprises:
the decryption module is used for decrypting and processing the multimedia encrypted file by adopting the key data when receiving a viewing instruction of any multimedia encrypted file in the file list;
and the decoding module is used for decoding the decrypted multimedia encrypted file by adopting a corresponding decoder and playing the decoded multimedia encrypted file.
The multimedia file management device provided by the embodiment of the invention can execute the multimedia file management method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 7 is a schematic structural diagram of an apparatus according to an embodiment, as shown in fig. 7, the apparatus includes a processor 40, a memory 41, an input device 42, and an output device 43; the number of processors 40 in the device may be one or more, and one processor 40 is taken as an example in fig. 7; the processor 40, the memory 41, the input device 42 and the output device 43 in the apparatus may be connected by a bus or other means, as exemplified by the bus connection in fig. 7.
The processor 40, when executing the computer program, performs the following steps:
and 11, acquiring multimedia data shot by the camera in an encrypted shooting state and corresponding shooting parameter information.
And step 12, integrating the multimedia data and the shooting parameter information to form data to be managed.
And step 13, encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format.
Further, still include:
receiving an encrypted shooting starting operation, wherein the encrypted shooting starting operation acts on an encrypted shooting control button in a setting interface corresponding to the camera; and controlling the camera to enter an encrypted shooting state.
Further, still include:
the method comprises the steps of capturing at least one face image of a terminal user by a camera, carrying out human iris recognition on each face image, and determining feature information of the human iris obtained after recognition as secret key data.
Further, when the multimedia data is image data, the photographing parameter information includes: the method comprises the steps of converting file image format information and first basic shooting information of image data; correspondingly, the integration processing is carried out on the multimedia data and the shooting parameter information to form data to be managed, and the method comprises the following steps: determining image binary data of the image data; and merging and adding the convertible file image format information and the first basic shooting information as prefix information and image binary data into a first array with a first set byte length, and recording the first array as data to be managed.
Further, when the multimedia data is video data, the shooting parameter information includes: attribute information of the terminal device and second basic shooting information of the video data; correspondingly, the integration processing is carried out on the multimedia data and the shooting parameter information to form data to be managed, and the method comprises the following steps: determining frame binary data of each image frame constituting the video data; forming video binary data of the video data based on the binary data combination of each frame; and combining the attribute information and the second basic shooting information as prefix information and video binary data and adding the prefix information and the video binary data into a second array with a second set byte length, and recording the second array as data to be managed.
Further, still include:
when the current file is in a file viewing state, if a file display control button in a setting interface corresponding to the camera is in an open state, scanning a multimedia encrypted file with a file format set in a terminal file database and displaying the multimedia encrypted file in a file list.
Further, still include:
when a viewing instruction of any multimedia encrypted file in the file list is received, the multimedia encrypted file is decrypted by adopting key data; and decoding the decrypted multimedia encrypted file by adopting a corresponding decoder and playing the decoded multimedia encrypted file.
The embodiment of the invention acquires multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information; integrating the multimedia data and the shooting parameter information to form data to be managed; and encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format. The data to be managed is encrypted through the predetermined key data, the problem that the multimedia file cannot be protected after being stolen is solved, the risk of information loss after the file is leaked is reduced, and the safety of user information is guaranteed.
The memory 41, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the multimedia file management method in the embodiment of the present invention (for example, the acquisition module 31, the processing module 32, and the saving module 33 in the multimedia file management apparatus). The processor 40 executes various functional applications of the device and data processing, i.e., implements the above-described management method of multimedia files, by running software programs, instructions, and modules stored in the memory 41.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to the device over 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 input device 42 is operable to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 43 may include a display device such as a display screen.
In one embodiment there is provided a storage medium containing computer executable instructions for performing a method of managing multimedia files when executed by a computer processor, the computer program implementing the steps of:
and 11, acquiring multimedia data shot by the camera in an encrypted shooting state and corresponding shooting parameter information.
And step 12, integrating the multimedia data and the shooting parameter information to form data to be managed.
And step 13, encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format.
Further, still include:
receiving an encrypted shooting starting operation, wherein the encrypted shooting starting operation acts on an encrypted shooting control button in a setting interface corresponding to the camera; and controlling the camera to enter an encrypted shooting state.
Further, still include:
the method comprises the steps of capturing at least one face image of a terminal user by a camera, carrying out human iris recognition on each face image, and determining feature information of the human iris obtained after recognition as secret key data.
Further, when the multimedia data is image data, the photographing parameter information includes: the method comprises the steps of converting file image format information and first basic shooting information of image data; correspondingly, the integration processing is carried out on the multimedia data and the shooting parameter information to form data to be managed, and the method comprises the following steps: determining image binary data of the image data; and merging and adding the convertible file image format information and the first basic shooting information as prefix information and image binary data into a first array with a first set byte length, and recording the first array as data to be managed.
Further, when the multimedia data is video data, the shooting parameter information includes: attribute information of the terminal device and second basic shooting information of the video data; correspondingly, the integration processing is carried out on the multimedia data and the shooting parameter information to form data to be managed, and the method comprises the following steps: determining frame binary data of each image frame constituting the video data; forming video binary data of the video data based on the binary data combination of each frame; and combining the attribute information and the second basic shooting information as prefix information and video binary data and adding the prefix information and the video binary data into a second array with a second set byte length, and recording the second array as data to be managed.
Further, still include:
when the current file is in a file viewing state, if a file display control button in a setting interface corresponding to the camera is in an open state, scanning a multimedia encrypted file with a file format set in a terminal file database and displaying the multimedia encrypted file in a file list.
Further, still include:
when a viewing instruction of any multimedia encrypted file in the file list is received, the multimedia encrypted file is decrypted by adopting key data; and decoding the decrypted multimedia encrypted file by adopting a corresponding decoder and playing the decoded multimedia encrypted file.
The embodiment of the invention acquires multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information; integrating the multimedia data and the shooting parameter information to form data to be managed; and encrypting the data to be managed by adopting the predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format. The data to be managed is encrypted through the predetermined key data, the problem that the multimedia file cannot be protected after being stolen is solved, the risk of information loss after the file is leaked is reduced, and the safety of user information is guaranteed.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations described above, and may also perform related operations in the method for managing multimedia files provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the management apparatus for multimedia files, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of managing multimedia files, the method comprising:
acquiring multimedia data shot by a camera in an encrypted shooting state and corresponding shooting parameter information;
integrating the multimedia data and the shooting parameter information to form data to be managed;
and encrypting the data to be managed by adopting predetermined key data to form a multimedia encryption file of the data to be managed and storing the multimedia encryption file in a set format.
2. The method of claim 1, further comprising:
receiving an encrypted shooting starting operation, wherein the encrypted shooting starting operation acts on an encrypted shooting control button in a setting interface corresponding to the camera;
and controlling the camera to enter the encrypted shooting state.
3. The method of claim 1, further comprising:
and capturing at least one face image of a terminal user by adopting the camera, carrying out human iris recognition on each face image, and determining the characteristic information of the human iris obtained after recognition as the key data.
4. The method according to claim 1, wherein when the multimedia data is image data, the photographing parameter information includes: converting file image format information and first basic shooting information of the image data;
correspondingly, the integrating the multimedia data and the shooting parameter information to form data to be managed includes:
determining image binary data of the image data;
and merging and adding the convertible file image format information and the first basic shooting information as prefix information and the image binary data into a first array with a first set byte length, and recording the first array as the data to be managed.
5. The method according to claim 1, wherein when the multimedia data is video data, the photographing parameter information includes: attribute information of the terminal device and second basic shooting information of the video data;
correspondingly, the integrating the multimedia data and the shooting parameter information to form data to be managed includes:
determining frame binary data of each image frame constituting the video data;
forming video binary data of the video data based on the combination of the frame binary data;
and merging and adding the attribute information and the second basic shooting information as prefix information and the video binary data into a second array with a second set byte length, and recording the second array as the data to be managed.
6. The method of claim 1, further comprising:
and when the current state is in a file viewing state, if a file display control button in a setting interface corresponding to the camera is in an open state, scanning a multimedia encrypted file with a file format of the set format from a terminal file database and displaying the multimedia encrypted file in a file list.
7. The method of claim 6, further comprising:
when a viewing instruction of any multimedia encrypted file in the file list is received, the multimedia encrypted file is decrypted and processed by adopting the key data;
and decoding the decrypted multimedia encrypted file by adopting a corresponding decoder and playing the decoded multimedia encrypted file.
8. An apparatus for managing multimedia files, the apparatus comprising:
the acquisition module is used for acquiring multimedia data shot by the camera in an encrypted shooting state and corresponding shooting parameter information;
the processing module is used for integrating the multimedia data and the shooting parameter information to form data to be managed;
and the storage module is used for encrypting the data to be managed by adopting predetermined key data to form a multimedia encrypted file of the data to be managed and storing the multimedia encrypted file in a set format.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of managing multimedia files as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of managing multimedia files according to any one of claims 1 to 7.
CN202010122939.0A 2020-02-27 2020-02-27 Multimedia file management method, device, equipment and storage medium Pending CN111353168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010122939.0A CN111353168A (en) 2020-02-27 2020-02-27 Multimedia file management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010122939.0A CN111353168A (en) 2020-02-27 2020-02-27 Multimedia file management method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111353168A true CN111353168A (en) 2020-06-30

Family

ID=71197189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010122939.0A Pending CN111353168A (en) 2020-02-27 2020-02-27 Multimedia file management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111353168A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867818A (en) * 2021-09-28 2021-12-31 潍柴动力股份有限公司 A method, device, computer equipment and medium for generating an ini file

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204736A1 (en) * 2002-04-25 2003-10-30 International Business Machines Corporation Apparatus for authenticated recording and method therefor
US20140019765A1 (en) * 2011-01-07 2014-01-16 Thomson Licensing Device and method for online storage, transmission device and method, and receiving device and method
CN104239815A (en) * 2014-09-19 2014-12-24 西安凯虹电子科技有限公司 Electronic document encryption and decryption method and method based on iris identification
CN104253933A (en) * 2013-06-26 2014-12-31 华为技术有限公司 Shooting method and device
CN105046167A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Generating method and apparatus for encrypted photo and electronic equipment
CN105335643A (en) * 2015-10-28 2016-02-17 广东欧珀移动通信有限公司 Processing method and processing system of files
CN105812660A (en) * 2016-03-15 2016-07-27 深圳市至壹科技开发有限公司 Video processing method based on geographic position
CN106161947A (en) * 2016-08-01 2016-11-23 乐视控股(北京)有限公司 Photo encryption method and system for camera terminal
CN106372522A (en) * 2016-09-29 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Photo shooting method, corresponding device, photo viewing method and corresponding device
CN106603920A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Encrypted picture shooting method and system based on fingerprint identification
CN108924430A (en) * 2018-08-27 2018-11-30 Oppo广东移动通信有限公司 photo storage method, device, terminal and computer readable storage medium
CN109446781A (en) * 2018-11-06 2019-03-08 北京无线电计量测试研究所 A kind of iris encryption data storage device and method
CN110175441A (en) * 2019-04-12 2019-08-27 平安普惠企业管理有限公司 Data managing method, device, equipment and storage medium based on bio-identification

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204736A1 (en) * 2002-04-25 2003-10-30 International Business Machines Corporation Apparatus for authenticated recording and method therefor
US20140019765A1 (en) * 2011-01-07 2014-01-16 Thomson Licensing Device and method for online storage, transmission device and method, and receiving device and method
CN104253933A (en) * 2013-06-26 2014-12-31 华为技术有限公司 Shooting method and device
CN104239815A (en) * 2014-09-19 2014-12-24 西安凯虹电子科技有限公司 Electronic document encryption and decryption method and method based on iris identification
CN105046167A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Generating method and apparatus for encrypted photo and electronic equipment
CN105335643A (en) * 2015-10-28 2016-02-17 广东欧珀移动通信有限公司 Processing method and processing system of files
CN105812660A (en) * 2016-03-15 2016-07-27 深圳市至壹科技开发有限公司 Video processing method based on geographic position
CN106161947A (en) * 2016-08-01 2016-11-23 乐视控股(北京)有限公司 Photo encryption method and system for camera terminal
CN106372522A (en) * 2016-09-29 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Photo shooting method, corresponding device, photo viewing method and corresponding device
CN106603920A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Encrypted picture shooting method and system based on fingerprint identification
CN108924430A (en) * 2018-08-27 2018-11-30 Oppo广东移动通信有限公司 photo storage method, device, terminal and computer readable storage medium
CN109446781A (en) * 2018-11-06 2019-03-08 北京无线电计量测试研究所 A kind of iris encryption data storage device and method
CN110175441A (en) * 2019-04-12 2019-08-27 平安普惠企业管理有限公司 Data managing method, device, equipment and storage medium based on bio-identification

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867818A (en) * 2021-09-28 2021-12-31 潍柴动力股份有限公司 A method, device, computer equipment and medium for generating an ini file
CN113867818B (en) * 2021-09-28 2024-04-16 潍柴动力股份有限公司 Method, device, computer equipment and medium for generating ini file

Similar Documents

Publication Publication Date Title
EP3324572B1 (en) Information transmission method and mobile device
US10607035B2 (en) Method of displaying content on a screen of an electronic processing device
US11328080B2 (en) Cryptographic key management
CN104967511A (en) Processing method for enciphered data, and apparatus thereof
CN105281907B (en) Encrypted data processing method and device
WO2016045464A1 (en) Decryption method and mobile terminal
CN113301431A (en) Video data encryption and decryption method and device, electronic equipment and system
US20250117504A1 (en) System and method for managing cryptographic keys for cryptographically sealing media files on connected media-capture devices to enhance end-user privacy and enable offline capture
CN110008718A (en) A kind of image processing method and terminal
CN114490552B (en) Data transmission method, device and electronic device
CN111915290A (en) Mobile payment password keyboard based on key splitting protection under iOS system and implementation method thereof
CN111698253A (en) Computer network safety system
CN111353168A (en) Multimedia file management method, device, equipment and storage medium
CN112260820A (en) Mobile payment password keyboard based on key splitting protection in Android system and implementation method thereof
CN107292133B (en) Artificial intelligence confusion technical method and device
CN114611124A (en) Method and device for preventing data leakage
CN117318925A (en) Quantum authentication method, quantum authentication device, electronic equipment and storage medium
Qian et al. SecSCS: A User-Centric Secure Smart Camera System Based on Blockchain
Han et al. The privacy protection framework for biometric information in network based CCTV environment
CN113038089A (en) Intelligent identification dynamic self-decoding processing method and device, electronic equipment and storage medium
Manjupargavi et al. Efficient Otp Generation With Encryption And Decryption For Secure File Access In Cloud Environment
CN114553594B (en) Method and device for protecting data security
JP7454020B2 (en) Method and system for enabling secure processing of data using processing applications
US20250038986A1 (en) Device interaction method and apparatus, electronic device, storage medium
CN110505295A (en) A kind of unlocking information setting method, device and equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200630

RJ01 Rejection of invention patent application after publication