CN116506207A - Early education equipment resource encryption and decryption protection method - Google Patents
Early education equipment resource encryption and decryption protection method Download PDFInfo
- Publication number
- CN116506207A CN116506207A CN202310557239.8A CN202310557239A CN116506207A CN 116506207 A CN116506207 A CN 116506207A CN 202310557239 A CN202310557239 A CN 202310557239A CN 116506207 A CN116506207 A CN 116506207A
- Authority
- CN
- China
- Prior art keywords
- early education
- data
- resource data
- encryption
- executed
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012795 verification Methods 0.000 claims description 4
- 238000009825 accumulation Methods 0.000 claims description 3
- 230000003287 optical effect Effects 0.000 claims description 3
- 238000011156 evaluation Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2463/00—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
- H04L2463/103—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying security measure for protecting copy right
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses an early education equipment resource encryption and decryption protection method, which comprises the following steps: step S1, a server starts and issues an early education resource task; step S2, the server judges whether the early education resource data is needed to be encrypted, if yes, the step S3 is executed, and if not, the step S4 is executed; step S3, the server encrypts early education resource data, and then step S4 is executed; s4, the server issues early education resource data to the early education machine; s5, analyzing early education resource data issued by the server by the early education machine; step S6, the early education machine judges whether the early education resource data is encrypted, if yes, the step S7 is executed, and if not, the step S8 is executed; step S7, the early education machine decrypts the early education resource data, and then step S8 is executed; and S8, the early education machine calls and plays the early education resource data. The invention realizes the support of online playing of encrypted and unencrypted resource data, and can effectively protect online resources.
Description
Technical Field
The invention relates to an early education equipment resource protection method, in particular to an early education equipment resource encryption and decryption protection method.
Background
The most important data of the early education equipment is early education resources, and after the early education resources are generally obtained from a server by an early education machine, the early education resources are played and used on the early education machine, and related solutions are disclosed in Chinese patent publication with publication number of CN105976653A and with the name of an Internet-based early education robot system, wherein:
the early education robot system based on the Internet, wherein the mobile client calculates a user evaluation score and sends the user evaluation score to the cloud server; the cloud server retrieves a matched early course form according to the received user evaluation score and sends the early course form to the mobile client; the mobile client selects courses and sends the courses to the robot terminal; the robot terminal sends an acquisition request to the cloud server; and the cloud server retrieves the course content and sends the course content to the robot terminal. According to the invention, the mobile client calculates the evaluation score of the user, and the cloud server is used for calling the matched early teaching course table and pushing the early teaching course table to the mobile client, so that personalized early teaching service is provided for the user;
however, in the prior art, a large amount of early education resources are stored in a plurality of storage devices, and if the resources are not protected, all the early education resources can be copied out and distributed to the network through the devices, so that the resource copyright is seriously endangered.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides the early education equipment resource encryption and decryption protection method which supports the online playing of encrypted and unencrypted resource data, has the encryption function of equipment-side storage resources and can effectively protect the online resources.
In order to solve the technical problems, the invention adopts the following technical scheme.
An early education equipment resource encryption and decryption protection method comprises the following steps: step S1, a server starts and issues an early education resource task; step S2, the server judges whether the early education resource data is needed to be encrypted, if yes, the step S3 is executed, and if not, the step S4 is executed; step S3, the server encrypts early education resource data, and then step S4 is executed; s4, the server issues early education resource data to an early education machine; s5, analyzing early education resource data issued by the server by the early education machine; step S6, the early education machine judges whether the early education resource data is encrypted, if yes, the step S7 is executed, and if not, the step S8 is executed; step S7, the early education machine decrypts the early education resource data, and then step S8 is executed; and S8, the early education machine calls and plays the early education resource data.
Preferably, the step S5 further includes a process of saving early education resource data: step S50, the early education machine judges whether the early education resource data is encrypted, if not, the step S51 is executed, and if yes, the step S52 is executed; step S51, the early education machine encrypts the early education resource data, and then step S52 is executed; and step S52, the early education machine stores the encrypted early education resource data to a preset storage medium.
Preferably, in step S52, the preset storage medium is an SD card, a usb disk, an optical disk, or a removable hard disk.
Preferably, an encryption algorithm adopted by the server and the early education machine to encrypt the early education resource data comprises: step S30, generating a key by using the random number to form fixed-length data; step S31, a part of data is randomly generated, and a new string of data is obtained by using the data to exclusive or the previous encrypted data; step S32, combining the new data with the data randomized in the step S31, performing CHECKSUM operation to obtain a result, and writing the result and the combined data into an encryption head; and step S34, performing bit exclusive OR and accumulated encryption on the early education resource data by using the encryption key to obtain an encrypted file of the early education resource data.
Preferably, in the step S30, the added identifier, version, copyright date, encryption type, license and/or random number form a fixed length data.
Preferably, in the step S32, the cheksum operation includes: and performing unsigned accumulation operation on all the values of the fields, inverting after the accumulated result is obtained, and performing exclusive-or operation on one 32-bit fixed value after inverting to obtain a final value.
Preferably, in the step S7, the process of decrypting the early education resource data by the early education machine includes: step S70, obtaining the data of the encryption head length of the initial position of the resource encryption data; step S71, taking out the CHECKSUM result according to the fixed position to check the encryption head, if the check fails, the decryption fails; if the verification is successful, executing step S72; step S72, further obtaining a random number and a secret key, performing bitwise exclusive OR operation on the secret key by using the random number, obtaining a new secret key, a copyright date, an encryption type and license, confirming whether the resource data are reasonably effective or not and whether the resource data belong to the copyright period, performing decryption operation on the resource encryption data by analyzing the secret key information from the encryption head, and finally analyzing the original early education resource data.
In the early education equipment resource encryption and decryption protection method disclosed by the invention, when a server starts to issue an early education resource task, whether the early education resource data is required to be encrypted or not is judged by a line, if yes, the early education resource data is encrypted by the server, then the early education resource data is issued to an early education machine, the early education machine analyzes the early education resource data after acquiring the prior data, then whether the early education resource data is encrypted or not is judged, if so, the early education machine decrypts the early education resource data, and in the data use process, the early education machine calls the early education resource data and plays the early education resource data. Based on the above process, the invention realizes the support of online playing of encrypted and unencrypted resource data, and can effectively protect online resources.
Drawings
FIG. 1 is a flow chart of the method for protecting the encryption and decryption of resources of early education equipment according to the invention;
FIG. 2 is a flow chart of a process for saving early education resource data;
fig. 3 is a schematic diagram of an SD card circuit.
Detailed Description
The invention is described in more detail below with reference to the drawings and examples.
The invention discloses a method for protecting the encryption and decryption of early education equipment resources, please refer to fig. 1, which comprises the following steps:
step S1, a server starts and issues an early education resource task;
step S2, the server judges whether the early education resource data is needed to be encrypted, if yes, the step S3 is executed, and if not, the step S4 is executed; in the step, early education resources provided by some manufacturers and not limited by copyright do not need to be encrypted, and other early education resources need to be encrypted, so that the early education resources are used as the basis for judging whether the server performs encryption or not;
step S3, the server encrypts early education resource data, and then step S4 is executed;
s4, the server issues early education resource data to an early education machine;
s5, analyzing early education resource data issued by the server by the early education machine;
step S6, the early education machine judges whether the early education resource data is encrypted, if yes, the step S7 is executed, and if not, the step S8 is executed;
step S7, the early education machine decrypts the early education resource data, and then step S8 is executed;
and S8, the early education machine calls and plays the early education resource data.
In the above solution, when the server starts to issue the early education resource task, the server judges whether the early education resource data needs to be encrypted, if yes, the server encrypts the early education resource data, then issues the early education resource data to the early education machine, after the early education machine acquires the prior data, analyzes the early education resource data, judges whether the early education resource data is encrypted, if encrypted, the early education machine decrypts the early education resource data, and in the data use process, the early education machine retrieves the early education resource data and plays the early education resource data. Based on the above process, the invention realizes the support of online playing of encrypted and unencrypted resource data, and can effectively protect online resources.
As a preferred manner, referring to fig. 2, the step S5 further includes a process of saving early education resource data:
step S50, the early education machine judges whether the early education resource data is encrypted, if not, the step S51 is executed, and if yes, the step S52 is executed;
step S51, the early education machine encrypts the early education resource data, and then step S52 is executed;
and step S52, the early education machine stores the encrypted early education resource data to a preset storage medium. .
Based on the local storage process, the method has the encryption function of the equipment-side storage resource, and effectively avoids the leakage of the resource data through the storage medium. Regarding the type of the storage medium, in the step S52 of the present embodiment, the preset storage medium is an SD card, a usb disk, an optical disk, or a removable hard disk.
As a preferred manner, the encryption algorithm adopted by the server and the early education machine to encrypt the early education resource data includes:
step S30, generating a key by using the random number to form fixed-length data; further, in the step S30, a fixed length data is formed by adding a flag, a version, a copyright date, an encryption type, license and/or a random number;
step S31, a part of data is randomly generated, and a new string of data is obtained by using the data to exclusive or the previous encrypted data;
step S32, combining the new data with the data randomized in the step S31, performing CHECKSUM operation to obtain a result, and writing the result and the combined data into an encryption head; further, in the step S32, the cheksum operation includes: performing unsigned accumulation operation on all values of the fields, obtaining an accumulated result, then inverting, performing exclusive OR operation on one 32-bit fixed value after inverting, and obtaining a final value;
and step S34, performing bit exclusive OR and accumulated encryption on the early education resource data by using the encryption key to obtain an encrypted file of the early education resource data.
Specifically, the embodiment uses a random number to generate a key, adds a mark, a version, a copyright date, an encryption type, license, a random number and the like to form fixed-length data, then randomizes part of the data, uses the data to exclusive-or the previous encrypted data to obtain a series of new data, combines the new data with the data randomized in the last step, performs checkum operation, and writes the result and the previous combined data into an encryption head. And then carrying out bit exclusive OR and accumulated encryption on the resource data by using the encryption key to obtain the encrypted data of the resource.
Regarding the data decryption process, in the step S7 of the present embodiment, the process of decrypting the early education resource data by the early education machine includes:
step S70, obtaining the data of the encryption head length of the initial position of the resource encryption data;
step S71, taking out the CHECKSUM result according to the fixed position to check the encryption head, if the check fails, the decryption fails; if the verification is successful, executing step S72;
step S72, further obtaining a random number and a secret key, performing bitwise exclusive OR operation on the secret key by using the random number, obtaining a new secret key, a copyright date, an encryption type and license, confirming whether the resource data are reasonably effective or not and whether the resource data belong to the copyright period, performing decryption operation on the resource encryption data by analyzing the secret key information from the encryption head, and finally analyzing the original early education resource data.
Specifically, in this embodiment, firstly, data of an encryption head length of a resource starting position is obtained, a cheksum result is taken out according to a fixed position to check the encryption head, and if the check fails, decryption fails; and if the verification is successful, further acquiring a random number and a secret key, performing bitwise exclusive OR operation on the secret key by using the random number to acquire a new secret key, a copyright date, an encryption type, license and the like, confirming that the resource is reasonable and effective and belongs to the copyright period, and analyzing the original resource data by analyzing information such as the secret key from the encryption head to decrypt the encryption resource.
According to the early education equipment resource encryption and decryption protection method disclosed by the invention, the on-line playing of encrypted and unencrypted resources is supported by encrypting the resource data, the resource encryption stored at the equipment end is supported, and based on the solution, even if the early education resources are copied, the early education equipment resource encryption and decryption protection method cannot be used on other equipment or networks, so that the safety of the early education resource data is greatly improved, and the on-line early education data protection can be effectively implemented.
The above embodiments are only preferred embodiments of the present invention, and are not intended to limit the present invention, and modifications, equivalent substitutions or improvements made within the technical scope of the present invention should be included in the scope of the present invention.
Claims (7)
1. The early education equipment resource encryption and decryption protection method is characterized by comprising the following steps:
step S1, a server starts and issues an early education resource task;
step S2, the server judges whether the early education resource data is needed to be encrypted, if yes, the step S3 is executed, and if not, the step S4 is executed;
step S3, the server encrypts early education resource data, and then step S4 is executed;
s4, the server issues early education resource data to an early education machine;
s5, analyzing early education resource data issued by the server by the early education machine;
step S6, the early education machine judges whether the early education resource data is encrypted, if yes, the step S7 is executed, and if not, the step S8 is executed;
step S7, the early education machine decrypts the early education resource data, and then step S8 is executed;
and S8, the early education machine calls and plays the early education resource data.
2. The method for protecting the encryption and decryption of resources of early education equipment according to claim 1, wherein the step S5 further comprises the process of storing early education resource data:
step S50, the early education machine judges whether the early education resource data is encrypted, if not, the step S51 is executed, and if yes, the step S52 is executed;
step S51, the early education machine encrypts the early education resource data, and then step S52 is executed;
and step S52, the early education machine stores the encrypted early education resource data to a preset storage medium.
3. The method for protecting resources of early education equipment according to claim 2, wherein in step S52, the preset storage medium is an SD card, a usb disk, an optical disk, or a removable hard disk.
4. The early education device resource encryption/decryption protection method as set forth in claim 1, wherein an encryption algorithm adopted by the server and the early education machine to encrypt the early education resource data comprises:
step S30, generating a key by using the random number to form fixed-length data;
step S31, a part of data is randomly generated, and a new string of data is obtained by using the data to exclusive or the previous encrypted data;
step S32, combining the new data with the data randomized in the step S31, performing CHECKSUM operation to obtain a result, and writing the result and the combined data into an encryption head;
and step S34, performing bit exclusive OR and accumulated encryption on the early education resource data by using the encryption key to obtain an encrypted file of the early education resource data.
5. The method for protecting resources of early education equipment according to claim 4, wherein the adding of the identifier, version, copyright date, encryption type, license and/or random number in the step S30 constitutes a fixed length data.
6. The early education device resource encryption/decryption protection method as set forth in claim 4, wherein the cheksum operation includes: and performing unsigned accumulation operation on all the values of the fields, inverting after the accumulated result is obtained, and performing exclusive-or operation on one 32-bit fixed value after inverting to obtain a final value.
7. The method for protecting the encryption and decryption of the early education resources according to claim 1, wherein in the step S7, the process of decrypting the early education resource data by the early education machine comprises:
step S70, obtaining the data of the encryption head length of the initial position of the resource encryption data;
step S71, taking out the CHECKSUM result according to the fixed position to check the encryption head, if the check fails, the decryption fails; if the verification is successful, executing step S72;
step S72, further obtaining a random number and a secret key, performing bitwise exclusive OR operation on the secret key by using the random number, obtaining a new secret key, a copyright date, an encryption type and license, confirming whether the resource data are reasonably effective or not and whether the resource data belong to the copyright period, performing decryption operation on the resource encryption data by analyzing the secret key information from the encryption head, and finally analyzing the original early education resource data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310557239.8A CN116506207A (en) | 2023-05-17 | 2023-05-17 | Early education equipment resource encryption and decryption protection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310557239.8A CN116506207A (en) | 2023-05-17 | 2023-05-17 | Early education equipment resource encryption and decryption protection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116506207A true CN116506207A (en) | 2023-07-28 |
Family
ID=87321456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310557239.8A Pending CN116506207A (en) | 2023-05-17 | 2023-05-17 | Early education equipment resource encryption and decryption protection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116506207A (en) |
-
2023
- 2023-05-17 CN CN202310557239.8A patent/CN116506207A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9270673B2 (en) | Terminal device, verification device, key distribution device, content playback method, key distribution method, and computer program | |
CN101271501B (en) | Encryption and decryption method and device of digital media file | |
CN101903889B (en) | Device and method for digital right management | |
US20120170740A1 (en) | Content protection apparatus and content encryption and decryption apparatus using white-box encryption table | |
CN101977190B (en) | Digital content encryption transmission method and server side | |
CN105471833A (en) | Safe communication method and device | |
CN109547198B (en) | System for network transmission video file | |
CN112953707A (en) | Key encryption method, decryption method, data encryption method and decryption method | |
CN109151507B (en) | Video playing system and method | |
CN101651714A (en) | Downloading method and related system and equipment | |
CN103237010B (en) | The server end of digital content is cryptographically provided | |
US20100014677A1 (en) | Group subordinate terminal, group managing terminal, server, key updating system, and key updating method therefor | |
KR100826522B1 (en) | Apparatus and method for dynamic ciphering in mobile communication system | |
CN102469345A (en) | Method for encrypting and decrypting multimedia-media data | |
CN105468940A (en) | Software protection method and apparatus | |
CN112784302A (en) | File processing method and device, electronic equipment and readable storage medium | |
CN103237011B (en) | Digital content encryption transmission method and server end | |
CN115603907A (en) | Method, device, equipment and storage medium for encrypting storage data | |
CN111639357A (en) | Encryption network disk system and authentication method and device thereof | |
CN104426865A (en) | Method, device and system for controlling presentation of application | |
CN108495309B (en) | Information processing method, electronic device, and storage medium | |
US9106882B2 (en) | Terminal device, content recording system, title key recording method, and computer program | |
CN102842002A (en) | Digital media copyright protection method of intelligent terminal | |
CN116506207A (en) | Early education equipment resource encryption and decryption protection method | |
JP6013233B2 (en) | Content distribution system, apparatus and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |