CN111597513B - Multimedia processing method, device and storage disk - Google Patents

Multimedia processing method, device and storage disk Download PDF

Info

Publication number
CN111597513B
CN111597513B CN202010417241.1A CN202010417241A CN111597513B CN 111597513 B CN111597513 B CN 111597513B CN 202010417241 A CN202010417241 A CN 202010417241A CN 111597513 B CN111597513 B CN 111597513B
Authority
CN
China
Prior art keywords
multimedia
application software
multimedia data
read
partition
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
CN202010417241.1A
Other languages
Chinese (zh)
Other versions
CN111597513A (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.)
Zhengzhou Diandu Electronic Technology Co ltd
Original Assignee
Zhengzhou Diandu Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Diandu Electronic Technology Co ltd filed Critical Zhengzhou Diandu Electronic Technology Co ltd
Priority to CN202010417241.1A priority Critical patent/CN111597513B/en
Publication of CN111597513A publication Critical patent/CN111597513A/en
Application granted granted Critical
Publication of CN111597513B publication Critical patent/CN111597513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Landscapes

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

Abstract

The embodiment of the application provides a multimedia processing method, a device and a storage disk, wherein an electronic device is connected with the storage disk, the storage disk comprises a visible read-only memory partition and an invisible hidden partition, multimedia application software is stored in the read-only memory partition, multimedia data encrypted by a preset encryption algorithm and a preset key is stored in the hidden partition, and the multimedia application software is associated with the preset encryption algorithm and the preset key. The method comprises the following steps: running multimedia application software to generate a reading path of the multimedia data; reading the multimedia data stored in the hidden partition through a reading path; and decrypting the read multimedia data by using the multimedia application software. By applying the technical scheme provided by the embodiment of the application, the problem that a user cannot normally watch the multimedia data provided by the background server when no network exists can be solved, meanwhile, the problem that media resources are maliciously copied and polluted by viruses is prevented, and the security of media resource copyrights is improved.

Description

Multimedia processing method, device and storage disk
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a multimedia processing method, a device, and a storage disk.
Background
With the development of computer technology, people are increasingly accustomed to viewing multimedia data, such as video, audio, electronic books, photo books, animation books, etc., through multimedia application software.
The present multimedia application software can then normally be used only in the presence of the network. If the network is not available, the user cannot acquire the multimedia data from the background server through the application software, and then cannot normally watch the multimedia data.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a multimedia processing method, apparatus, and storage disk, so as to solve the problem that a user cannot normally watch multimedia data provided by a background server when there is no network, and prevent the problem that media resources are maliciously copied and contaminated by viruses, and improve the security of media resource copyrights.
The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a multimedia processing method, applied to an electronic device, where the electronic device is connected to a storage disk, where the storage disk includes a visible read-only storage partition and an invisible hidden partition, where the read-only storage partition stores multimedia application software, and where the hidden partition stores multimedia data encrypted by using a preset encryption algorithm and a preset key, and where the multimedia application software is associated with the preset encryption algorithm and the preset key, the method includes:
Running the multimedia application software stored in the read-only memory partition to generate a read path of the multimedia data stored in the hidden partition;
reading the multimedia data stored in the hidden partition through the reading path;
and decrypting the read multimedia data by utilizing the preset encryption algorithm and the preset secret key which are associated with the multimedia application software.
Optionally, after decrypting the read multimedia data, the method further includes:
acquiring a playing instruction aiming at the multimedia data;
and running playing software matched with the multimedia data format to play the multimedia data.
Optionally, the method further comprises:
when the electronic equipment is detected to be in a networking state, running management software of the multimedia application software to generate a management path;
acquiring new multimedia application software and new multimedia data from a background server of the multimedia application software;
and updating the multimedia application software stored in the read-only memory partition into the new multimedia application software through the management path, encrypting the new multimedia data by utilizing the preset encryption algorithm and the preset secret key, and updating the encrypted new multimedia data into the hidden partition.
Optionally, the method further comprises:
executing management operation on the multimedia application software through the management path; the management operation includes one or more of activation, renewal, and reset.
Optionally, after the running of the multimedia application software, the method further includes:
sending a heartbeat message to a background server of the multimedia application software, so that the background server detects whether the running state of the storage disk is normal according to the heartbeat message, and feeds back a detection result to the electronic equipment;
and repairing the multimedia application software stored in the read-only memory partition and the multimedia data stored in the hidden partition when the detection result indicates that the running state of the storage disk is abnormal.
Optionally, the method further comprises:
and when the electronic equipment is detected to be in a networking state, periodically updating the preset key.
In a second aspect, an embodiment of the present application provides a multimedia processing apparatus, applied to an electronic device, where the electronic device is connected to a storage disk, where the storage disk includes a visible read-only storage partition and an invisible hidden partition, where the read-only storage partition stores multimedia application software, and the hidden partition stores multimedia data encrypted by using a preset encryption algorithm and a preset key, where the multimedia application software is associated with the preset encryption algorithm and the preset key, and the apparatus includes:
The running unit is used for running the multimedia application software stored in the read-only memory partition to generate a reading path of the multimedia data stored in the hidden partition;
a reading unit for reading the multimedia data stored in the hidden partition through the reading path;
and the decryption unit is used for decrypting the read multimedia data by utilizing the preset encryption algorithm and the preset secret key which are associated with the multimedia application software.
Optionally, the apparatus further includes a first acquisition unit;
the first obtaining unit is used for obtaining a playing instruction aiming at the multimedia data after decrypting the read multimedia data;
the running unit is further used for running playing software matched with the multimedia data format so as to play the multimedia data.
Optionally, the apparatus further includes: a second acquisition unit and a first update unit;
the running unit is further used for running management software of the multimedia application software when the electronic equipment is detected to be in a networking state so as to generate a management path;
the second obtaining unit is used for obtaining new multimedia application software and new multimedia data from a background server of the multimedia application software;
The first updating unit is configured to update the multimedia application software stored in the read-only memory partition to the new multimedia application software through the management path, encrypt the new multimedia data by using the preset encryption algorithm and the preset key, and update the encrypted new multimedia data to the hidden partition.
Optionally, the apparatus further includes:
the management unit is used for executing management operation on the multimedia application software through the management path; the management operation includes one or more of activation, renewal, and reset.
Optionally, the apparatus further includes:
the sending unit is used for sending a heartbeat message to a background server of the multimedia application software after the multimedia application software is operated, so that the background server detects whether the operation state of the storage disk is normal or not according to the heartbeat message and feeds back a detection result to the electronic equipment;
and the modification unit is used for repairing the multimedia application software stored in the read-only memory partition and the multimedia data stored in the hidden partition when the detection result indicates that the running state of the storage disk is abnormal.
Optionally, the apparatus further includes:
and the second updating unit is used for periodically updating the preset key when the electronic equipment is detected to be in a networking state.
In a third aspect, an embodiment of the present application provides a storage disk, where the storage disk includes a visible read-only storage partition and an invisible hidden partition, where the read-only storage partition stores multimedia application software, and the hidden partition stores multimedia data encrypted by using a preset encryption algorithm and a preset key, and the multimedia application software is associated with the preset encryption algorithm and the preset key.
Optionally, a data interface is arranged on the storage disk; the data interface is used for being connected with the electronic equipment in a wired mode.
Optionally, a power supply and a wireless communication module are arranged on the storage disk; the power supply provides power for the wireless communication module; the wireless communication module is used for being connected with the electronic equipment in a wireless mode.
In a fourth aspect, embodiments of the present application provide an electronic device comprising a processor and a memory; a memory for storing a computer program; and the processor is used for realizing any step of the multimedia processing method when executing the program stored in the memory.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored therein, which when executed by a processor, implements any of the steps of the above-described multimedia processing method.
In a sixth aspect, embodiments of the present application also provide a computer program which, when run on a computer, causes the computer to perform any of the steps of the above-described multimedia processing method.
The beneficial effects of the embodiment of the application are that:
in the technical scheme provided by the embodiment of the application, the multimedia application software and the multimedia data provided by the background server are stored in the storage disk, and even if no network exists, the electronic equipment can run the multimedia application software by connecting the storage disk, so that the multimedia data is obtained, the obtained multimedia data is watched, and the problem that a user cannot normally watch the multimedia provided by the background server when no network exists is solved.
In addition, the multimedia application software is stored in the read-only memory partition of the memory disk, so that the multimedia application software is in a read-only state, and the probability of virus attack of the multimedia application software is reduced. The multimedia data is stored in a hidden partition of the storage disk such that the multimedia data is invisible to the user and the multimedia data is in an encrypted state, which effectively prevents the multimedia data from being stolen. By the technical scheme, the problem that the media resources are maliciously copied and polluted by viruses is effectively prevented, and the security of media resource copyrights is improved.
Of course, not all of the above-described advantages need be achieved simultaneously in practicing any one of the products or methods of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a storage disk according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a first embodiment of a multimedia processing method according to the present application;
fig. 3 is a second flowchart of a multimedia processing method according to an embodiment of the present application;
fig. 4 is a schematic flow chart of an information updating method according to an embodiment of the present application;
fig. 5 is a third flow chart of a multimedia processing method according to an embodiment of the present application;
fig. 6 is a fourth flowchart of a multimedia processing method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a display interface of a multimedia application software according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of a multimedia processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The multimedia data includes video, audio, electronic books, photo books, animation books, and the like. To facilitate users' viewing of multimedia data, many multimedia enterprises purchase copyrights of multimedia data, store the multimedia data on a background server, and provide users with copyrighted multimedia data stored in the background server through respective multimedia application software. However, these multimedia applications can normally be used only in the presence of a network. If the network is not available, the user cannot acquire the multimedia data from the background server through the multimedia application software, and further cannot normally view the multimedia data provided by the background server.
The method solves the problem that a user cannot watch multimedia data when no network exists, prevents media resources from being maliciously copied and polluted by viruses, and improves the security of media resource copyrights. The embodiment of the application provides a storage disk, as shown in fig. 1, which may be an embedded storage disk. The storage disk includes a visible read-only memory partition 101 and an invisible hidden partition 102. The read-only memory partition 101 stores therein multimedia application software, and the hidden partition 102 stores therein multimedia data encrypted with a preset encryption algorithm and a preset key, with which the multimedia application software is associated.
In the embodiment of the present application, the multimedia application software is used to read the multimedia data stored in the hidden partition 102. read-Only Memory partition 101 may be referred to as a compact disk-Only (CD-ROM). The read-only memory partition 101 may be a memory space divided from a general memory disk by a preset sector dividing means. The read-only memory partition 101 is loaded with multimedia application software in an ISO image format. The drives of read-only memory partition 101 are visible, but the format of read-only memory partition 101 is read-only. This effectively improves the virus protection performance of the read-only memory partition 101, reduces the probability of virus attack of the multimedia application software, and improves the persistence performance of the read-only memory partition 101.
Hidden partition 102 may be a storage space partitioned from a common storage disk by an unconventional file system scheme. Hidden partition 102 drives are not visible, which makes the data stored in hidden partition 102 invisible to the user. The user can only read and write the data stored in the hidden partition 102 through a preset path (such as a software development kit (Software Development Kit, SDK) interface), which effectively avoids the theft of the multimedia data. In addition, the data stored in the hidden partition 102 are encrypted according to a preset encryption algorithm and a preset secret key, so that the security of the data stored in the hidden partition 102 is further improved, the multimedia data is effectively prevented from being stolen, the copyright of the data stored in the hidden partition 102 is further effectively protected, and malicious infringement is prevented.
In the storage disk provided by the embodiment of the application, the multimedia application software and the multimedia data provided by the background server are stored in the storage disk, and even if no network exists, the electronic equipment can run the multimedia application software by connecting the storage disk, further acquire the multimedia data and watch the acquired multimedia data, so that the problem that a user cannot normally watch the multimedia provided by the background server in an environment without a network or unstable network is solved.
In addition, the multimedia application software is stored in the read-only memory partition of the memory disk, so that the multimedia application software is in a read-only state, and the probability of virus attack of the multimedia application software is reduced. The multimedia data is stored in a hidden partition of the storage disk such that the multimedia data is invisible to the user and the multimedia data is in an encrypted state, which effectively prevents the multimedia data from being stolen. By the technical scheme, the problem that the media resources are maliciously copied and polluted by viruses is effectively prevented, and the security of media resource copyrights is improved.
In addition, in the embodiment of the application, when the multimedia data is required to be watched, the storage disk is connected with the electronic equipment, a network is not required, any application software is not required to be installed, and a complex installation process is not required, so that the problem that some operating systems are subjected to deep customization and restoration and conventional software cannot be installed and cured is solved, the flow of the user for watching the multimedia data is simplified, and the user experience is improved.
In one embodiment of the present application, a data interface, such as a universal serial bus (Universal Serial Bus, USB) interface, may be provided on the storage disk, and may be connected to a data line, where the data interface is used to connect to an electronic device in a wired manner. The storage disk is connected with the electronic equipment through the data line, and the plug and play of the storage disk is realized without additionally depending on other objects.
In one embodiment of the present application, a power supply and a wireless communication module may be provided on the storage disk. The power supply provides power for the wireless communication module, and the wireless communication module is used for the wireless connection of the storage disk and the electronic equipment.
In one embodiment of the present application, the data interface, power supply and wireless communication module may be provided on the storage disk simultaneously. Therefore, the electronic equipment and the storage disk can be connected in a wired mode or in a wireless mode, and the flexibility of connection of the electronic equipment and the storage disk is improved.
Based on the storage disk, the embodiment of the application also provides a multimedia processing method. Referring to fig. 2, fig. 2 is a schematic flow chart of a first method for multimedia processing according to an embodiment of the present application. The method is applied to the electronic equipment. In the embodiment of the application, the electronic device includes, but is not limited to, a personal computer, a mobile terminal, a server, and the like, and the operating system running on the electronic device includes, but is not limited to, windows, linux, unix, android, and the like. In the multimedia processing method, the electronic equipment is connected with a storage disk, the storage disk comprises a visible read-only storage partition and an invisible hidden partition, the read-only storage partition stores multimedia application software, the hidden partition stores multimedia data encrypted by a preset encryption algorithm and a preset secret key, and the multimedia application software is associated with the preset encryption algorithm and the preset secret key. The description of the storage disk herein is relatively simple, with specific reference to the description of the storage disk above in FIG. 1 section. The multimedia processing method comprises the following steps.
In step 201, the multimedia application software stored in the read-only memory partition is run to generate a read path for the multimedia data stored in the hidden partition.
After the storage disk is connected with the electronic device, the electronic device reads the multimedia application software from the read-only memory partition of the storage disk and runs the multimedia application software. After the electronic device runs the multimedia application software, a path for reading the multimedia data stored in the hidden partition is generated. Here, the path of reading the multimedia data stored in the hidden partition may be simply referred to as a read path.
The above-mentioned reading path may be implemented through an SDK interface, or may be implemented in other manners, which is not specifically limited in the embodiment of the present application.
Step 202, reading the multimedia data stored in the hidden partition through the reading path.
In the embodiment of the application, after the electronic device generates the reading path, the multimedia data stored in the hidden partition is read through the reading path.
In one embodiment, the read path is implemented for an SDK interface. And the electronic equipment reads the multimedia data stored in the hidden partition into the memory of the electronic equipment in a streaming mode through the SDK interface. The streaming mode is used for transmitting the multimedia data, namely, a series of multimedia data are compressed and then sent in sections, and video and audio are transmitted in real time for viewing, so that the subsequent display of the multimedia data and the viewing of a user are facilitated.
And 203, decrypting the read multimedia data by utilizing a preset encryption algorithm and a preset key associated with the multimedia application software.
In the embodiment of the present application, the multimedia data stored in the hidden partition is encrypted, that is, the multimedia data stored in the hidden partition is ciphertext data. In order to facilitate the display of the subsequent multimedia data, when the electronic equipment reads the multimedia data, the electronic equipment decrypts the read multimedia data by utilizing a preset encryption algorithm and a preset key associated with the multimedia application software to obtain the plaintext data. For the data in the clear text, the electronic device can be directly displayed for the user to watch.
In one embodiment, a large amount of multimedia data is stored in the hidden partition, and if the multimedia data are read into the memory, a large amount of memory is occupied, so that normal operation of the electronic device is affected. In order to reduce occupied memory and reduce the influence on the operation of the electronic equipment, the electronic equipment reads the multimedia data into the memory of the electronic equipment after receiving a reading instruction for the multimedia data, and decrypts the read multimedia data by utilizing a preset encryption algorithm and a preset secret key associated with multimedia application software.
In one embodiment of the present application, after decrypting the read multimedia data, as shown in fig. 3, the above multimedia processing method may further include the following steps.
Step 204, a play command for the multimedia data is obtained.
In the embodiment of the present application, the play instruction may be input by the user into the electronic device. For example, after the electronic device reads the multimedia data, displaying a thumbnail of the multimedia data; and after receiving clicking operation of a user on a thumbnail of the multimedia data, generating a playing instruction for the multimedia data.
The playing instruction may be generated after the electronic device reads the multimedia data stored in the hidden partition into the memory.
The method for obtaining the play command in the embodiment of the present application is not particularly limited.
In step 205, playing software matched with the format of the multimedia data is run to play the multimedia data.
In the embodiment of the application, after the electronic device acquires the playing instruction, the electronic device detects the multimedia data format, and runs the playing software matched with the multimedia data format, so that the multimedia data is rendered on the display through the playing software, and further the multimedia data is played.
In the embodiment of the application, the electronic device may determine the format of the multimedia data by detecting the file name suffix of the multimedia data. For example, file name suffixes include, but are not limited to txt, bmp, jpg, png, gif, rm, rmvb, mp, mov, mtv, dat, wmv, avi, mp3, wav, and the like. If the file name suffix of the multimedia data is txt, the format of the multimedia data can be determined to be an electronic book; if the file name suffix of the multimedia data is bmp, jpg, png or gif, determining that the format of the multimedia data is a picture book; if the file name suffix of the multimedia data is rm, rmvb, mpeg-4, mov, mtv, dat, wmv or avi, the format of the multimedia data can be determined to be video; if the file name of the multimedia data is sfb or amb, determining that the format of the multimedia data is an animation book; if the file name suffix of the multimedia data is mp3 or wav, it can be determined that the format of the multimedia data is audio.
The electronic device may also determine the multimedia data format by detecting information in a header of the multimedia data.
The embodiments of the present application are not limited to the manner in which the format of the multimedia data is detected.
In one embodiment of the present application, in order to provide the latest and most accurate multimedia data to the user, the embodiment of the present application further provides an information updating method, as shown in fig. 4, which may include the following steps.
In step 401, when the electronic device is detected to be in a networking state, management software of the multimedia application software is run to generate a management path.
In the embodiment of the application, the electronic device detects the current network state in real time. If a network exists currently, that is, the electronic device is in a networking state, the electronic device can download management software for installing multimedia application software, run the management software, and then generate a management path.
The management paths may be implemented through an SDK interface, or may be implemented in other manners, which are not specifically limited in the embodiments of the present application.
Step 402, obtaining new multimedia application software and new multimedia data from a background server of the multimedia application software.
When the electronic device is detected to be in a networking state, the electronic device can acquire new multimedia application software and new multimedia data from a background server of the multimedia application software.
In one embodiment, to save network resources, when it is detected that the electronic device is in a networking state, the electronic device may acquire version information of the multimedia application software in the storage disk and identification information of the multimedia data in the storage disk, and send the acquired information to a background server of the media application software.
The background server compares the acquired version information with locally stored version information of the multimedia application software. If the obtained version information is different from the version information of the locally stored multimedia application software, the background server issues the locally stored multimedia application software (i.e. new multimedia application software) to the electronic device. If the obtained version information is different from the version information of the locally stored multimedia application software, the background server does not perform other processing.
The background server compares the acquired identification information with the locally stored identification information of the multimedia data. If the identification information of the locally stored multimedia data is different from the acquired identification information, the background server issues the locally stored multimedia data (i.e. new multimedia data) corresponding to the different identification information to the electronic equipment. If the identification information of the locally stored multimedia data does not contain identification information different from the acquired identification information, the background server does not perform other processing.
The execution order of steps 401 and 402 is not limited in the embodiments of the present application.
Step 403, updating the multimedia application software stored in the read-only memory partition to new multimedia application software through the management path, encrypting the new multimedia data by using a preset encryption algorithm and a preset key, and updating the encrypted new multimedia data to the hidden partition.
After the electronic device obtains the new multimedia application software and the new multimedia data, the electronic device updates the multimedia application software stored in the read-only memory partition into the new multimedia application software through a management path (such as an SDK interface), encrypts the new multimedia data by using a preset encryption algorithm and a preset secret key, and updates the encrypted new multimedia data into the hidden partition.
In the embodiment of the application, the multimedia application software and the multimedia data in the storage disk are maintained and updated in real time through the management path, so that the latest and most accurate multimedia data are provided for users.
In addition, in the embodiment of the application, under the condition of a network, the multimedia application software and the multimedia data in the storage disk are maintained; under the condition of no network, the storage disk provides multimedia data for users, and the storage disk can be carried with, so that the flexibility of multimedia playing is improved.
In one embodiment of the present application, to maintain the copyright interests of the enterprise, a program for performing management operations on the multimedia application software may be included in the management software. The management operation includes one or more of activation, renewal, and reset. After the electronic equipment runs the management software and generates the management path, the management operation can be executed on the multimedia application software through the management path.
In an embodiment of the present application, in order to improve security of a storage disk and maintain benefits of an enterprise, the embodiment of the present application further provides a multimedia processing method. As shown in fig. 5, the multimedia processing method may further include the following steps.
And 206, sending a heartbeat message to a background server of the multimedia application software, so that the background server detects whether the running state of the storage disk is normal according to the heartbeat message, and feeds back the detection result to the electronic equipment.
In the embodiment of the application, after the electronic device runs the multimedia application software, the heartbeat message can be sent to the background server of the multimedia application software at regular time. After receiving the heartbeat message, the background server detects whether the running state of the storage disk is normal or not, that is, whether the multimedia application software and the multimedia data stored in the storage disk are tampered or not based on the heartbeat message. If the operation state of the storage disk is detected to be normal, that is, if the multimedia application software and the multimedia data stored in the storage disk are detected not to be tampered, the electronic device does not perform other processing or feeds back a detection result to the electronic device, wherein the detection result indicates that the operation state of the storage disk is normal.
If the running state of the storage disk is detected to be abnormal, namely, the multimedia application software and the multimedia data stored in the storage disk are detected to be tampered, the electronic equipment feeds back the detection result to the electronic equipment. The detection result indicates that the operation state of the storage disk is abnormal.
And step 207, repairing the multimedia application software stored in the read-only storage partition and the multimedia data stored in the hidden partition when the detection result indicates that the running state of the storage disk is abnormal.
When the electronic equipment acquires a detection result and the detection result indicates that the running state of the storage disk is abnormal, the repair of the multimedia application software stored in the read-only storage partition and the repair of the multimedia data stored in the hidden partition are started.
In one embodiment of the present application, the electronic device may prohibit use of the storage disk when the detection result indicates that the operation state of the storage disk is abnormal. When the electronic equipment is detected to be in a networking state, the electronic equipment runs management software of the multimedia application software, and a management path is generated. The electronic equipment acquires the modification data of the multimedia application software and the multimedia data from a background server of the multimedia application software, and repairs the multimedia application software stored in the read-only storage partition and the multimedia data stored in the hidden partition through a management path according to the acquired modification data.
In the embodiment of the application, when the electronic device determines that the running state of the storage disk is abnormal, that is, when the multimedia application software and the multimedia data stored in the storage disk are tampered, the storage disk is repaired, and the storage disk cannot be used in the modifying process, that is, when the running state of the storage disk is abnormal, the storage disk is forbidden to be used, and the storage disk does not provide the multimedia data for the electronic device, so that the safety of the storage disk is improved, and the benefit of enterprises is maintained.
In one embodiment of the present application, to further increase the security of the storage disk, maintaining enterprise interests, the electronic device may periodically update the preset key when it is detected that the electronic device is in a networked state.
In the embodiment of the application, the electronic device may generate the preset key based on the fixed information and the random information. The fixed information is fixed and can comprise a CPU model, a hard disk model and the like, and the random information is updated in real time and can comprise system time, random characters and the like. The random information is always changed, so that the preset secret keys generated each time are different, the possibility that the preset secret keys are cracked by violence is reduced, the security of the storage disc is provided, and the benefit of enterprises is maintained.
In order to accurately encrypt and decrypt the multimedia data, the preset encryption algorithm may be to extract keywords in the preset key, and encrypt and decrypt the multimedia data by using the extracted keywords. Here, the keywords in each preset key are the same, which effectively ensures that the multimedia data can be correctly encrypted and decrypted.
The following describes the multimedia processing method provided in the embodiment of the present application in detail with reference to the multimedia processing flowchart shown in fig. 6. The storage disk 601 is connected to an electronic device 602. The storage disk 601 is divided into a CD-ROM 611 and a hidden partition 621. The CD-ROM 611 stores multimedia application software, and the hidden partition 621 stores multimedia data. The electronic device 602 has management software for multimedia application software installed thereon.
The electronic device 602 runs multimedia application software stored in the CD-ROM 611, generating a read path for hiding multimedia data stored in the partition 621. Such as the display interface of multimedia application software on the electronic device 602 shown in fig. 7. Each rectangular frame in the display interface represents a thumbnail of multimedia data, and each thumbnail of the multimedia data corresponds to a reading path of the multimedia data. The read path is implemented with an SDK interface. In order to facilitate the user to watch or listen to the needed multimedia data, the thumbnail of each multimedia data may include key information such as the name, author, director, and the like of the multimedia data.
The electronic device 602 receives a click operation of the user on a certain multimedia data, for example, a click operation of the user on the multimedia data d1 in fig. 7, and reads the multimedia data d1 stored in the hidden partition 621 into the memory of the electronic device 602 in a streaming manner through the SDK interface.
The electronic device 602 decrypts the multimedia data d1 in the memory by using a preset encryption algorithm and a preset key associated with the multimedia application software, to obtain the multimedia data d1 in the plaintext.
The electronic device 602 runs playback software that matches the format of the multimedia data d1, playing back the multimedia data d1 in the clear. Wherein the multimedia data includes, but is not limited to, video, audio, electronic books, photo books, and animation books, etc.
In addition, management software for multimedia application software is installed on the electronic device 602.
The electronic device 602 runs the management software to generate a management path. The management path may also be implemented as an SDK interface. When the electronic device 602 is detected to be in a networking state, the electronic device 602 downloads an online cloud resource, that is, acquires new multimedia application software and new multimedia data from a background server of the multimedia application software.
The electronic device 602 manages, maintains, via the SDK interface, multimedia application software stored in the CD-ROM 611 and multimedia data stored in the hidden partition 621. Specifically, the electronic device 602 updates the multimedia application software stored in the read-only memory partition to new multimedia application software through the SDK interface, encrypts the new multimedia data by using a preset encryption algorithm and a preset key, and updates the encrypted new multimedia data to the hidden partition.
The electronic device 602 performs one or more of activating, renewing, and resetting the multimedia application software through the SDK interface and the management path.
Corresponding to the multimedia processing method, the embodiment of the application also provides a multimedia processing device. Referring to fig. 8, the present invention is applied to an electronic device connected to a storage disk, the storage disk including a visible read-only memory partition and an invisible hidden partition, the read-only memory partition storing multimedia application software, the hidden partition storing multimedia data encrypted by a preset encryption algorithm and a preset key, the multimedia application software being associated with the preset encryption algorithm and the preset key. The device comprises: a run unit 801, a read unit 802 and a decryption unit 803.
An operation unit 801, configured to operate the multimedia application software stored in the read-only memory partition, so as to generate a read path of the multimedia data stored in the hidden partition;
a reading unit 802 for reading the multimedia data stored in the hidden partition through a read path;
and a decryption unit 803 for decrypting the read multimedia data using a preset encryption algorithm and a preset key associated with the multimedia application software.
In one embodiment, the above-mentioned multimedia processing apparatus may further include a first acquisition unit;
the first acquisition unit is used for acquiring a playing instruction aiming at the multimedia data after decrypting the read multimedia data;
the running unit 801 may also be configured to run playing software matched with the multimedia data format to play the multimedia data.
In one embodiment, the above multimedia processing apparatus may further include: a second acquisition unit and a first update unit;
the running unit 801 is further configured to run management software of the multimedia application software to generate a management path when it is detected that the electronic device is in a networking state;
a second acquisition unit for acquiring new multimedia application software and new multimedia data from a background server of the multimedia application software;
the first updating unit is used for updating the multimedia application software stored in the read-only memory partition into new multimedia application software through the management path, encrypting the new multimedia data by utilizing a preset encryption algorithm and a preset key, and updating the encrypted new multimedia data into the hidden partition.
In one embodiment, the above multimedia processing apparatus may further include:
The management unit is used for executing management operation on the multimedia application software through the management path; the management operations include one or more of activation, renewal, and reset.
In one embodiment, the above multimedia processing apparatus may further include:
the sending unit is used for sending a heartbeat message to a background server of the multimedia application software after the multimedia application software is operated, so that the background server detects whether the operation state of the storage disk is normal or not according to the heartbeat message and feeds back a detection result to the electronic equipment;
and the modification unit is used for repairing the multimedia application software stored in the read-only storage partition and the multimedia data stored in the hidden partition when the detection result indicates that the running state of the storage disk is abnormal.
In one embodiment, the above multimedia processing apparatus may further include:
and the second updating unit is used for periodically updating the preset key when the electronic equipment is detected to be in the networking state.
In the technical scheme provided by the embodiment of the application, the multimedia application software and the multimedia data provided by the background server are stored in the storage disk, and even if no network exists, the electronic equipment can run the multimedia application software by connecting the storage disk, so that the multimedia data is obtained, the obtained multimedia data is watched, and the problem that a user cannot normally watch the multimedia provided by the background server when no network exists is solved.
In addition, the multimedia application software is stored in the read-only memory partition of the memory disk, so that the multimedia application software is in a read-only state, and the probability of virus attack of the multimedia application software is reduced. The multimedia data is stored in a hidden partition of the storage disk such that the multimedia data is invisible to the user and the multimedia data is in an encrypted state, which effectively prevents the multimedia data from being stolen. By the technical scheme, the problem that the media resources are maliciously copied and polluted by viruses is effectively prevented, and the security of media resource copyrights is improved.
Corresponding to the above multimedia processing method, the embodiment of the present application further provides an electronic device, as shown in fig. 9, including a processor 901 and a memory 902. A memory 902 for storing a computer program; the processor 901 is configured to implement any step of the multimedia processing method shown in fig. 2 to 7 when executing the program stored in the memory 902.
The Memory may include a random access Memory (Random Access Memory, RAM) or a Non-Volatile Memory (NVM), such as at least one magnetic disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In accordance with the above-described multimedia processing method, in still another embodiment provided in the present application, there is further provided a computer-readable storage medium having a computer program stored therein, which when executed by a processor, implements any of the steps of the multimedia processing method shown in fig. 2-7 described above.
In accordance with the above-described multimedia processing method, in a further embodiment provided herein, there is also provided a computer program which, when run on a computer, causes the computer to perform any of the steps of the multimedia processing method shown in fig. 2-7 described above.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the multimedia processing apparatus, the electronic device, the computer readable storage medium and the computer program embodiment, since they are substantially similar to the multimedia processing method embodiment, the description is relatively simple, and the relevant points are referred to the partial description of the multimedia processing method embodiment.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (7)

1. The method for processing multimedia is characterized by being applied to electronic equipment, wherein the electronic equipment is connected with a storage disk, the storage disk comprises a visible read-only storage partition and an invisible hidden partition, the read-only storage partition stores multimedia application software, the hidden partition stores multimedia data encrypted by a preset encryption algorithm and a preset key, and the multimedia application software is associated with the preset encryption algorithm and the preset key, and the method comprises the following steps:
running the multimedia application software stored in the read-only memory partition to generate a read path of the multimedia data stored in the hidden partition, wherein the read path is realized through an SDK interface;
reading the multimedia data stored in the hidden partition through the reading path;
decrypting the read multimedia data by utilizing the preset encryption algorithm and the preset secret key associated with the multimedia application software;
Wherein the method further comprises:
when the electronic equipment is detected to be in a networking state, running management software of the multimedia application software to generate a management path, wherein the management software is software which is downloaded and installed when the electronic equipment is in the networking state, the management path is a path generated by running the management software on the electronic equipment, and the management path is realized through an SDK interface;
acquiring new multimedia application software and new multimedia data from a background server of the multimedia application software;
and updating the multimedia application software stored in the read-only memory partition into the new multimedia application software through the management path, encrypting the new multimedia data by utilizing the preset encryption algorithm and the preset secret key, and updating the encrypted new multimedia data into the hidden partition.
2. The method according to claim 1, further comprising, after decrypting the read multimedia data:
acquiring a playing instruction aiming at the multimedia data;
and running playing software matched with the multimedia data format to play the multimedia data.
3. The method according to claim 1, wherein the method further comprises:
executing management operation on the multimedia application software through the management path; the management operation includes one or more of activation, renewal, and reset.
4. A method according to any one of claims 1-3, further comprising, after running the multimedia application software:
sending a heartbeat message to a background server of the multimedia application software, so that the background server detects whether the running state of the storage disk is normal according to the heartbeat message, and feeds back a detection result to the electronic equipment;
and repairing the multimedia application software stored in the read-only memory partition and the multimedia data stored in the hidden partition when the detection result indicates that the running state of the storage disk is abnormal.
5. A method according to any one of claims 1-3, wherein the method further comprises:
and when the electronic equipment is detected to be in a networking state, periodically updating the preset key.
6. A multimedia processing apparatus, characterized in that it is applied to an electronic device, the electronic device is connected to a storage disk, the storage disk includes a visible read-only memory partition and an invisible hidden partition, the read-only memory partition stores therein multimedia application software, the hidden partition stores therein multimedia data encrypted by a preset encryption algorithm and a preset key, and the multimedia application software is associated with the preset encryption algorithm and the preset key, the apparatus comprising:
The running unit is used for running the multimedia application software stored in the read-only memory partition to generate a reading path of the multimedia data stored in the hidden partition, and the reading path is realized through an SDK interface;
a reading unit for reading the multimedia data stored in the hidden partition through the reading path;
the decryption unit is used for decrypting the read multimedia data by utilizing the preset encryption algorithm and the preset secret key which are associated with the multimedia application software;
wherein the apparatus further comprises: a second acquisition unit and a first update unit;
the running unit is further configured to run management software of the multimedia application software when the electronic device is detected to be in a networking state, so as to generate a management path, where the management software is software that is downloaded and installed when the electronic device is in the networking state, and the management path is a path generated by running the management software located on the electronic device, and the management path is implemented through an SDK interface;
the second obtaining unit is used for obtaining new multimedia application software and new multimedia data from a background server of the multimedia application software;
The first updating unit is configured to update the multimedia application software stored in the read-only memory partition to the new multimedia application software through the management path, encrypt the new multimedia data by using the preset encryption algorithm and the preset key, and update the encrypted new multimedia data to the hidden partition.
7. An electronic device comprising a processor and a memory; a memory for storing a computer program; a processor for carrying out the method steps of any one of claims 1-5 when executing a program stored on a memory.
CN202010417241.1A 2020-05-18 2020-05-18 Multimedia processing method, device and storage disk Active CN111597513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010417241.1A CN111597513B (en) 2020-05-18 2020-05-18 Multimedia processing method, device and storage disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010417241.1A CN111597513B (en) 2020-05-18 2020-05-18 Multimedia processing method, device and storage disk

Publications (2)

Publication Number Publication Date
CN111597513A CN111597513A (en) 2020-08-28
CN111597513B true CN111597513B (en) 2023-08-04

Family

ID=72187337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010417241.1A Active CN111597513B (en) 2020-05-18 2020-05-18 Multimedia processing method, device and storage disk

Country Status (1)

Country Link
CN (1) CN111597513B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070089443A (en) * 2006-02-28 2007-08-31 삼성전자주식회사 Storage medium, method and apparatus for performing software update of multimedia device using the storage medium
CN103135998A (en) * 2011-11-24 2013-06-05 成绵广 Software upgrading method
CN104540121A (en) * 2014-12-29 2015-04-22 触动多媒体技术(上海)有限公司 Multimedia on-board equipment content updating system and method
CN107577175A (en) * 2017-08-09 2018-01-12 深圳市爱培科技术股份有限公司 MCU method for upgrading software, system and the storage device of vehicle-mounted multimedia equipment
CN109151495A (en) * 2018-08-09 2019-01-04 广州精航电子有限公司 A kind of vod server and vod server multimedia file update method, storage medium
CN109740309A (en) * 2018-12-28 2019-05-10 深圳市元征科技股份有限公司 A kind of document protection method and device
CN109840435A (en) * 2017-11-27 2019-06-04 深圳市朗科科技股份有限公司 A kind of data guard method storing equipment
CN110569202A (en) * 2019-09-10 2019-12-13 深圳市得一微电子有限责任公司 Multimedia file playing method and system for movable storage equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070089443A (en) * 2006-02-28 2007-08-31 삼성전자주식회사 Storage medium, method and apparatus for performing software update of multimedia device using the storage medium
CN103135998A (en) * 2011-11-24 2013-06-05 成绵广 Software upgrading method
CN104540121A (en) * 2014-12-29 2015-04-22 触动多媒体技术(上海)有限公司 Multimedia on-board equipment content updating system and method
CN107577175A (en) * 2017-08-09 2018-01-12 深圳市爱培科技术股份有限公司 MCU method for upgrading software, system and the storage device of vehicle-mounted multimedia equipment
CN109840435A (en) * 2017-11-27 2019-06-04 深圳市朗科科技股份有限公司 A kind of data guard method storing equipment
CN109151495A (en) * 2018-08-09 2019-01-04 广州精航电子有限公司 A kind of vod server and vod server multimedia file update method, storage medium
CN109740309A (en) * 2018-12-28 2019-05-10 深圳市元征科技股份有限公司 A kind of document protection method and device
CN110569202A (en) * 2019-09-10 2019-12-13 深圳市得一微电子有限责任公司 Multimedia file playing method and system for movable storage equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
空中下载技术及其在移动互联网中的应用;侯晓霞, 杨龙祥;电信快报(第12期);全文 *

Also Published As

Publication number Publication date
CN111597513A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
JP5756567B2 (en) Method and apparatus for dynamic and real-time advertisement insertion based on metadata within a hardware-based trust route
JP4857123B2 (en) Unauthorized device detection apparatus, unauthorized device detection system, unauthorized device detection method, program, recording medium, and device information update method
CN101390104B (en) Methods and apparatus for protected distribution of applications and media content
CN111143869B (en) Application package processing method and device, electronic equipment and storage medium
US20060168580A1 (en) Software-management system, recording medium, and information-processing device
US8181038B2 (en) Systems and methods for executing encrypted programs
US20110110516A1 (en) Content receiver, content reproducer, management server, content use system, content use method, method of write-out from content receiver, method of possible viewing time management on content reproducer, method of time limit fixation in management server, and program
US8595492B2 (en) On-demand protection and authorization of playback of media assets
US8638935B2 (en) System and method for key space division and sub-key derivation for mixed media digital rights management content
US11093587B2 (en) Software wrapper and installer using timestamp validation and system identification validation
JP2007535718A (en) Reprogrammable security to regulate piracy and enable interactive content
JP2006526204A (en) Secure streaming container
US7995766B2 (en) Group subordinate terminal, group managing terminal, server, key updating system, and key updating method therefor
EP3103051A1 (en) System and process for monitoring malicious access of protected content
JP6146476B2 (en) Information processing apparatus and information processing method
US20070239617A1 (en) Method and apparatus for temporarily accessing content using temporary license
US20120109784A1 (en) Method and system for automating protection of media files for download
US9773100B2 (en) Method and device for playing contents
US10298546B2 (en) Asymmetrical encryption of storage system to protect copyright and personal information
JP2005516278A (en) Method and system for transmitting and distributing information in a secret manner and for physically exemplifying information transmitted in an intermediate information storage medium
US7565352B2 (en) Information processing device, license information recording medium, information processing method, and computer program
JP5908296B2 (en) Information terminal device, information terminal system, information terminal control method, and program
JP2014522171A (en) System and method for obfuscated initial value of encryption protocol
CN111597513B (en) Multimedia processing method, device and storage disk
JP2005128960A (en) Apparatus and method for reproducing content

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