# Management of Education and Correction of Problem Teenagers Based on Information Encryption Storage Method

Authors: Qian Wang; Ludan Zhang
Journal: Mathematical Problems in Engineering
 (2022)

---

## Abstract

In order to effectively realize the management of educational correction for problem teenagers, improve the security and reliability of encrypted storage of educational correction information for problem teenagers, and shorten the encrypted storage time of educational correction information for problem teenagers, educational correction management for problem teenagers based on information encryption storage method is proposed. Analyze the information encryption storage method and combine it with the necessary theoretical foundation of education and correction of issue teenagers to create an encryption and secure storage management method for education and correction of problem teenagers’ information. The CP-ABE algorithm is used to obtain the initial key of the system, express the encrypted cipher-text, specify the attributes of each user in the problematic youth education and correction user permission list, and obtain the problem youth education and correction user permission control structure. Using tent mapping and cat mapping methods, the key parameters are calculated, respectively, and the encrypted file is piecewise, linearly mapped. Then, XOR is the plaintext bytes and key bytes of the encrypted and safe storage of the problem youth’s education and correction information, completing the encrypted and safe storage of the data information in the problem youth’s education and correction management and realizing the problem youth’s education and correction management. The results of the experiments show that the proposed technology is secure and reliable and that it can efficiently reduce the encryption storage time of educational corrective material for troubled teenagers.


---

## Body

## 1. Introduction

Teenagers are the future of the motherland and the hope of the nation. They are not only important talents in society, but also a new force in the future. They reserve their strength in their youth and can contribute to society and promote social prosperity in the future [1]. However, due to the lack of family education function, the dislocation of school education value orientation, and the infection of social bad culture, some normal teenagers have evolved into problem teenagers. Problem teenagers refer to a kind of teenagers who are difficult to adapt to the family, school, and social environment. They show a wrong outlook on life and world outlook in cognition, ruthlessness, cruelty in emotion, stubbornness, recklessness in the will, bullying, and robbery in behavior. With the development of society, the complexity and diversity of social culture have been fully reflected. At the same time, social culture has also been diversified [2]. An individual growing up in such a social and cultural atmosphere is bound to be influenced and infected by social culture. Teenagers in the critical period of growth will be affected by social multiculturalism to varying degrees, which is also the basic reason for the formation of problem teenagers [3]. The management of education and correction of problem teenagers is not only an important content of the prevention of juvenile delinquency, but also the focus and difficulty of schools, governments, comprehensive management departments, and the prevention of juvenile delinquency. Therefore, it is of great significance to analyze the causes of teenagers’ problems and find out the countermeasures to solve them.The research on the management of educational correction of problem teenagers is an interdisciplinary research field of pedagogy, law, sociology, and psychology, which needs to learn from a variety of research methods of different disciplines. At present, relevant scholars in this field have studied the management of educational correction for problem teenagers. Reference [4] proposed the exploration of criminal value judgment based on vertical spatial metaphor and its educational correction methods. Taking the vertical spatial metaphor of value judgment as to the starting point, this paper measured the value judgment of 100 property criminals and students in the second-degree pilot class. Based on the survey results, it is necessary to strengthen the metaphorical connection of criminals under “negative value words,” further refine the classification of education and correction, strengthen the educational influence of criminals and social control after release, and prevent recidivism. Reference [5] puts forward the wrong turn of educational punishment and its correction methods. In order to reverse the wrong turn of educational punishment, we should adopt a variety of correction methods, reinterpret the punishment responsibility, establish a scientific punishment concept, and call for educational punishment legislation. Protect the disciplinary rights of teachers and students, establish scientific disciplinary standards, improve disciplinary norms, and strengthen the transparency and diversity of the educational discipline. However, the aforementioned techniques have flaws, such as insufficient security, dependability, and long-term encrypted storage of juvenile education rectification data. Attribute-based encryption (ABE) algorithm is a new improved algorithm as an encryption algorithm based on fuzzy identity [6]. There are the attribute encryption of cipher-text strategy (CP-ABE) and attribute encryption of key strategy (KP-ABE) [7]. The CP-ABE algorithm will encrypt a plaintext Z according to a given access policy structure X [8].In light of the aforementioned issues, this study proposes a management strategy for educational correction for teenagers based on the information encryption storage method. Using the information encryption storage method, combined with the relevant theoretical basis of education and correction of problem teenagers, this paper designs the encryption and secure storage management method of education and correction information of problem teenagers. The CP-ABE algorithm is used to obtain the initial key of the system and obtain the user authority control structure for the education and correction of problematic youths. Use tent mapping and cat mapping methods to calculate key parameters, and piecewise linear mapping to encrypt files. XOR is the plaintext bytes and key bytes of the encrypted and secure storage of the education and correction information of problem teenagers, completing the encrypted and secure storage of the education and correction information of problem teenagers and realizing the education and correction management of problem teenagers. This method can effectively improve the security and reliability of the encrypted storage of educational correction information for troubled teenagers and shorten the encryption storage time of information.The paper organization is as follows: Section2 defines the information encryption storage method. Section 3 discusses the theoretical basis of educational correction for problem teenagers. Encryption and secure storage management method of education and correction information for problem teenagers are discussed in Section 4. Section 5 discusses the experimental analysis. Section 6 concludes the article.


## 2. Information Encryption Storage Method

In this section, we define the cipher-text strategy based on the attribute encryption algorithm, bilinear mapping, and Lagrange interpolation theorem.


### 2.1. Cipher-Text Strategy Based on the Attribute Encryption Algorithm

Attribute-based encryption (ABE) algorithm is a new improved algorithm as an encryption algorithm based on fuzzy identity [6]. It is mainly proposed to solve the problem of the lack of semantic expression of the threshold in the fuzzy identity-based encryption algorithm, and it cannot meet the complex definition of identity in real life. ABE algorithms are mainly divided into two categories: attribute encryption of cipher-text strategy (CP-ABE) and attribute encryption of key strategy (KP-ABE) [7]. In CP-ABE, the cipher-text is associated with the access policy defined by the encryptor, and the key is associated with the attribute. In KP-ABE, the cipher-text is related to the attribute, and the key is related to the access policy.The CP-ABE algorithm is mainly completed by the following four operations.


#### 2.1.1. Parameter Initialization

Parameter initialization will select a bilinear groupW with a stage q, and e is a generator of the bilinear group W. Then, choose two random exponents r and t, where r and t belong to Yq. Enter an implicit security parameter and output.System public keyUK:(1)UK=W,e,o=et,p=e1/t,ae,er.System master keyDK:(2)DK=t,er.


#### 2.1.2. Key Generation

Enter the system master keyDK and an attribute group F that defines a key, and generate the attribute GK corresponding to the attribute. The key generation algorithm will take a set of attributes F as the input of the algorithm, and the algorithm will output a key bound to the attribute set F. The key generation algorithm will first randomly select a parameter H, where H belongs to Yq, and then select Hj∈Yq for each attribute j belonging to the attribute group F. Then, it is calculated and generated.KeyGK:(3)GK=L=er+H/t.


#### 2.1.3. Encryption

Enter the system public keyUK, a plain text Z, and an access policy tree X, with a set of attributes on the access policy tree. The encryption algorithm will encrypt the plaintext Z and generate a cipher-text CV. This cipher-text CV can only be decrypted when a set of attributes owned by the user meets the access structure in the cipher-text. The access structure is implicitly present in the cipher-text.The CP-ABE algorithm will encrypt a plaintextZ according to a given access policy structure X [8]. The encryption algorithm first selects a polynomial nm for each node m including leaf nodes in the tree access policy structure X. The selection principle of this polynomial is as follows: starting from the root node B, for each node m in the tree, set the threshold dm=αm−1 of the node m of the polynomial nm to be less than 1, that is, αm. Choose β∈Yq at random and set the value of nm0 to β. Then, randomly select the other part dB of the polynomial nm to completely determine the polynomial. For other nodes m, the algorithm sets the value of nm0 to nχmindexx and then randomly selects the other part dB of the polynomial nm to completely determine the polynomial.Here, letδ be the set of leaf nodes of tree X. The encryption algorithm will be constructed by calculation according to the input tree access policy structure X.Data cipher-textCV:(4)CV=V,C˜=Ze,erβ,C=oβ,∀y∈δ:Cy=eny0,C′y=εattyny0.


#### 2.1.4. Decryption

The decryption algorithm uses the system public keyUK, the cipher-text CV that contains the access policy X, and the key GK that contains a set of attributes. When the attributes in the key GK satisfy the access policy X in CV, the decryption algorithm will decrypt the cipher-text CV and return the plaintext Z.For the nodes in the tree, first define a recursive algorithm Decrypt-Node to decrypt the nodes in the tree. The input of this algorithm is the cipher-textCV, the attribute key GK, an attribute group F, and a node m in the tree X.According to whether the nodem is a leaf node, the algorithm will be treated in two cases.Case 1.
When nodem is a leaf node, when attm belongs to S:(5)DecryptNode=ae,eattmnm0.
Whenattm does not belong to S, define Decrypt-Node to return a rejection symbol.Case 2.
When the nodem is not a leaf node, the Decrypt-Node algorithm will perform recursive calculations in the following steps.
For all child nodesg of node m, Decrypt-Node will calculate all g nodes as the input of the algorithm and obtain the calculated result ϕg. Let Sm be a set of child nodes g of any size Km. This set should be so large that the calculation result ϕg of Decrypt-Node will not return a rejection symbol. If it does not matter how to adjust the size of Sm, it is impossible to make the calculation result ϕg of Decrypt-Node not return a rejection symbol. Then, it means that this node cannot satisfy the algorithm Decrypt-Node, and Decrypt-Node will eventually return a rejection symbol. If this node can satisfy the Decrypt-Node algorithm, then it can be calculated:(6)Fx=∏g∈Smae,enmattmΔattm,Sm′0.
The Decrypt-Node algorithm is a recursive algorithm, which starts calculation from the root nodeB of the access policy tree X [9]. When S satisfies this access policy tree X, the Decrypt-Node algorithm can decrypt the cipher-text into plaintext Z through the following calculations.(7)Z=ČaOS,eφ+γ/t/ae,eγS.
The overall structure of the CP-ABE algorithm is shown in Figure1.Figure 1
The overall structure of the CP-ABE algorithm.


### 2.2. Bilinear Mapping

Bilinear mapping is widely used in cryptographic schemes and plays a very important role in attribute encryption schemes [10]. It is divided into bilinear mapping on prime order and bilinear mapping on Composite order. According to whether the N1N2 power squares are the same, it is divided into symmetrical and asymmetrical.Bilinear mapping on prime order group [11]: let N0 and N1 be two multiplicative cyclic groups, their orders are prime η, ι is the generator of N0, κ:N0×N0⟶N1 is bilinear mapping, and they meet the following three conditions:(1)
Bilinear:For anyμ,ν∈N0 and r,t∈Yq, there is κμr,νt=κμ,νrt.(2)
Nondegeneration:ae,e≠1(3)
Computability:For anyμ,ν∈N0, aμ,ν can be calculated quickly and efficiently.Judging the bilinear Diffie–Hellman problem (DBDH) [12]: for the prime η order group N0, the generator is ι, and the DBDH problem is as follows: for a given input ae,ertc∈N1,ae,eο∈N1, determine ae,ertc=ae,eο. That is, assuming that there is no attacker π in polynomial time, it can be distinguished with a nonnegligible advantage. Suppose that the security parameter is ϖ, and the advantage of attacker π is defined as(8)AdvπDBDHϖ=Prπae,ertc−Prπae,eο.


### 2.3. Lagrange Interpolation Theorem

Suppose thatθx is a polynomial with a degree less than ϑ and passes through ϑ points: x1,y1,x2,y2,...,xϑ,yϑ. Through these points, using the Lagrangian interpolation theorem, the y value corresponding to any x can be found. Randomly select i∈Yq, set S as a set containing ϑ elements, S∈Yq, and then the Lagrange coefficient [13] is(9)Δi,Sx≔∏ρ∈S,ρ≠ix−ρi−ρ.According to the Lagrangian coefficient, the polynomial can be expressed as(10)θx=∑i=1ϑyi×Δi,Sx.


## 2.1. Cipher-Text Strategy Based on the Attribute Encryption Algorithm

Attribute-based encryption (ABE) algorithm is a new improved algorithm as an encryption algorithm based on fuzzy identity [6]. It is mainly proposed to solve the problem of the lack of semantic expression of the threshold in the fuzzy identity-based encryption algorithm, and it cannot meet the complex definition of identity in real life. ABE algorithms are mainly divided into two categories: attribute encryption of cipher-text strategy (CP-ABE) and attribute encryption of key strategy (KP-ABE) [7]. In CP-ABE, the cipher-text is associated with the access policy defined by the encryptor, and the key is associated with the attribute. In KP-ABE, the cipher-text is related to the attribute, and the key is related to the access policy.The CP-ABE algorithm is mainly completed by the following four operations.


### 2.1.1. Parameter Initialization

Parameter initialization will select a bilinear groupW with a stage q, and e is a generator of the bilinear group W. Then, choose two random exponents r and t, where r and t belong to Yq. Enter an implicit security parameter and output.System public keyUK:(1)UK=W,e,o=et,p=e1/t,ae,er.System master keyDK:(2)DK=t,er.


### 2.1.2. Key Generation

Enter the system master keyDK and an attribute group F that defines a key, and generate the attribute GK corresponding to the attribute. The key generation algorithm will take a set of attributes F as the input of the algorithm, and the algorithm will output a key bound to the attribute set F. The key generation algorithm will first randomly select a parameter H, where H belongs to Yq, and then select Hj∈Yq for each attribute j belonging to the attribute group F. Then, it is calculated and generated.KeyGK:(3)GK=L=er+H/t.


### 2.1.3. Encryption

Enter the system public keyUK, a plain text Z, and an access policy tree X, with a set of attributes on the access policy tree. The encryption algorithm will encrypt the plaintext Z and generate a cipher-text CV. This cipher-text CV can only be decrypted when a set of attributes owned by the user meets the access structure in the cipher-text. The access structure is implicitly present in the cipher-text.The CP-ABE algorithm will encrypt a plaintextZ according to a given access policy structure X [8]. The encryption algorithm first selects a polynomial nm for each node m including leaf nodes in the tree access policy structure X. The selection principle of this polynomial is as follows: starting from the root node B, for each node m in the tree, set the threshold dm=αm−1 of the node m of the polynomial nm to be less than 1, that is, αm. Choose β∈Yq at random and set the value of nm0 to β. Then, randomly select the other part dB of the polynomial nm to completely determine the polynomial. For other nodes m, the algorithm sets the value of nm0 to nχmindexx and then randomly selects the other part dB of the polynomial nm to completely determine the polynomial.Here, letδ be the set of leaf nodes of tree X. The encryption algorithm will be constructed by calculation according to the input tree access policy structure X.Data cipher-textCV:(4)CV=V,C˜=Ze,erβ,C=oβ,∀y∈δ:Cy=eny0,C′y=εattyny0.


### 2.1.4. Decryption

The decryption algorithm uses the system public keyUK, the cipher-text CV that contains the access policy X, and the key GK that contains a set of attributes. When the attributes in the key GK satisfy the access policy X in CV, the decryption algorithm will decrypt the cipher-text CV and return the plaintext Z.For the nodes in the tree, first define a recursive algorithm Decrypt-Node to decrypt the nodes in the tree. The input of this algorithm is the cipher-textCV, the attribute key GK, an attribute group F, and a node m in the tree X.According to whether the nodem is a leaf node, the algorithm will be treated in two cases.Case 1.
When nodem is a leaf node, when attm belongs to S:(5)DecryptNode=ae,eattmnm0.
Whenattm does not belong to S, define Decrypt-Node to return a rejection symbol.Case 2.
When the nodem is not a leaf node, the Decrypt-Node algorithm will perform recursive calculations in the following steps.
For all child nodesg of node m, Decrypt-Node will calculate all g nodes as the input of the algorithm and obtain the calculated result ϕg. Let Sm be a set of child nodes g of any size Km. This set should be so large that the calculation result ϕg of Decrypt-Node will not return a rejection symbol. If it does not matter how to adjust the size of Sm, it is impossible to make the calculation result ϕg of Decrypt-Node not return a rejection symbol. Then, it means that this node cannot satisfy the algorithm Decrypt-Node, and Decrypt-Node will eventually return a rejection symbol. If this node can satisfy the Decrypt-Node algorithm, then it can be calculated:(6)Fx=∏g∈Smae,enmattmΔattm,Sm′0.
The Decrypt-Node algorithm is a recursive algorithm, which starts calculation from the root nodeB of the access policy tree X [9]. When S satisfies this access policy tree X, the Decrypt-Node algorithm can decrypt the cipher-text into plaintext Z through the following calculations.(7)Z=ČaOS,eφ+γ/t/ae,eγS.
The overall structure of the CP-ABE algorithm is shown in Figure1.Figure 1
The overall structure of the CP-ABE algorithm.


## 2.1.1. Parameter Initialization

Parameter initialization will select a bilinear groupW with a stage q, and e is a generator of the bilinear group W. Then, choose two random exponents r and t, where r and t belong to Yq. Enter an implicit security parameter and output.System public keyUK:(1)UK=W,e,o=et,p=e1/t,ae,er.System master keyDK:(2)DK=t,er.


## 2.1.2. Key Generation

Enter the system master keyDK and an attribute group F that defines a key, and generate the attribute GK corresponding to the attribute. The key generation algorithm will take a set of attributes F as the input of the algorithm, and the algorithm will output a key bound to the attribute set F. The key generation algorithm will first randomly select a parameter H, where H belongs to Yq, and then select Hj∈Yq for each attribute j belonging to the attribute group F. Then, it is calculated and generated.KeyGK:(3)GK=L=er+H/t.


## 2.1.3. Encryption

Enter the system public keyUK, a plain text Z, and an access policy tree X, with a set of attributes on the access policy tree. The encryption algorithm will encrypt the plaintext Z and generate a cipher-text CV. This cipher-text CV can only be decrypted when a set of attributes owned by the user meets the access structure in the cipher-text. The access structure is implicitly present in the cipher-text.The CP-ABE algorithm will encrypt a plaintextZ according to a given access policy structure X [8]. The encryption algorithm first selects a polynomial nm for each node m including leaf nodes in the tree access policy structure X. The selection principle of this polynomial is as follows: starting from the root node B, for each node m in the tree, set the threshold dm=αm−1 of the node m of the polynomial nm to be less than 1, that is, αm. Choose β∈Yq at random and set the value of nm0 to β. Then, randomly select the other part dB of the polynomial nm to completely determine the polynomial. For other nodes m, the algorithm sets the value of nm0 to nχmindexx and then randomly selects the other part dB of the polynomial nm to completely determine the polynomial.Here, letδ be the set of leaf nodes of tree X. The encryption algorithm will be constructed by calculation according to the input tree access policy structure X.Data cipher-textCV:(4)CV=V,C˜=Ze,erβ,C=oβ,∀y∈δ:Cy=eny0,C′y=εattyny0.


## 2.1.4. Decryption

The decryption algorithm uses the system public keyUK, the cipher-text CV that contains the access policy X, and the key GK that contains a set of attributes. When the attributes in the key GK satisfy the access policy X in CV, the decryption algorithm will decrypt the cipher-text CV and return the plaintext Z.For the nodes in the tree, first define a recursive algorithm Decrypt-Node to decrypt the nodes in the tree. The input of this algorithm is the cipher-textCV, the attribute key GK, an attribute group F, and a node m in the tree X.According to whether the nodem is a leaf node, the algorithm will be treated in two cases.Case 1.
When nodem is a leaf node, when attm belongs to S:(5)DecryptNode=ae,eattmnm0.
Whenattm does not belong to S, define Decrypt-Node to return a rejection symbol.Case 2.
When the nodem is not a leaf node, the Decrypt-Node algorithm will perform recursive calculations in the following steps.
For all child nodesg of node m, Decrypt-Node will calculate all g nodes as the input of the algorithm and obtain the calculated result ϕg. Let Sm be a set of child nodes g of any size Km. This set should be so large that the calculation result ϕg of Decrypt-Node will not return a rejection symbol. If it does not matter how to adjust the size of Sm, it is impossible to make the calculation result ϕg of Decrypt-Node not return a rejection symbol. Then, it means that this node cannot satisfy the algorithm Decrypt-Node, and Decrypt-Node will eventually return a rejection symbol. If this node can satisfy the Decrypt-Node algorithm, then it can be calculated:(6)Fx=∏g∈Smae,enmattmΔattm,Sm′0.
The Decrypt-Node algorithm is a recursive algorithm, which starts calculation from the root nodeB of the access policy tree X [9]. When S satisfies this access policy tree X, the Decrypt-Node algorithm can decrypt the cipher-text into plaintext Z through the following calculations.(7)Z=ČaOS,eφ+γ/t/ae,eγS.
The overall structure of the CP-ABE algorithm is shown in Figure1.Figure 1
The overall structure of the CP-ABE algorithm.


## 2.2. Bilinear Mapping

Bilinear mapping is widely used in cryptographic schemes and plays a very important role in attribute encryption schemes [10]. It is divided into bilinear mapping on prime order and bilinear mapping on Composite order. According to whether the N1N2 power squares are the same, it is divided into symmetrical and asymmetrical.Bilinear mapping on prime order group [11]: let N0 and N1 be two multiplicative cyclic groups, their orders are prime η, ι is the generator of N0, κ:N0×N0⟶N1 is bilinear mapping, and they meet the following three conditions:(1)
Bilinear:For anyμ,ν∈N0 and r,t∈Yq, there is κμr,νt=κμ,νrt.(2)
Nondegeneration:ae,e≠1(3)
Computability:For anyμ,ν∈N0, aμ,ν can be calculated quickly and efficiently.Judging the bilinear Diffie–Hellman problem (DBDH) [12]: for the prime η order group N0, the generator is ι, and the DBDH problem is as follows: for a given input ae,ertc∈N1,ae,eο∈N1, determine ae,ertc=ae,eο. That is, assuming that there is no attacker π in polynomial time, it can be distinguished with a nonnegligible advantage. Suppose that the security parameter is ϖ, and the advantage of attacker π is defined as(8)AdvπDBDHϖ=Prπae,ertc−Prπae,eο.


## 2.3. Lagrange Interpolation Theorem

Suppose thatθx is a polynomial with a degree less than ϑ and passes through ϑ points: x1,y1,x2,y2,...,xϑ,yϑ. Through these points, using the Lagrangian interpolation theorem, the y value corresponding to any x can be found. Randomly select i∈Yq, set S as a set containing ϑ elements, S∈Yq, and then the Lagrange coefficient [13] is(9)Δi,Sx≔∏ρ∈S,ρ≠ix−ρi−ρ.According to the Lagrangian coefficient, the polynomial can be expressed as(10)θx=∑i=1ϑyi×Δi,Sx.


## 3. Theoretical Basis of Educational Correction for Problem Teenagers

### 3.1. Problem Teenagers

#### 3.1.1. The Concept of Problem Teenagers

The so-called “question” is a contradiction to be solved and a question to be answered or explained. Problems are situations that need to be solved. They arise from the difference between the existing situation and the expected situation. So, the first step in doing anything is to identify the problem and then bear the consequences of the problem. “Youth” is the research object of psychology, sociology, youth science, and many other disciplines. The age is generally defined as 14∼25 years old. “Problem teenagers” usually refer to those who have deviant behavior, also known as deviant behavior. The so-called deviance refers to any thought and behavior judged by social members as violating their social norms or values in a society. It includes all thoughts and behaviors that commit crimes, violate laws, and violate moral norms and social customs. Based on the above analysis, problem teenagers refer to those who deviate from social morality and established norms and codes of conduct and fail to grow up healthily.


#### 3.1.2. The Connotation of Problem Teenagers

“Problem teenagers” are usually called “double poor students” in school, that is, poor learning and poor code of conduct. The main code of conduct of the two is poor, which endangers the normal teaching order of the class and even the school. This becomes “problem teenagers” due to untimely education or poor effect [14]. In fact, the poor code of conduct of “problem teenagers” is only the appearance, not the essence. The deviation of teenagers in social morality is mainly the deviation of values. Because these teenagers have not fully established correct social values. The second is emotional deviation. “Problem teenagers” often do not have normal channels to talk about their emotions. When they are labeled, they live in people’s criticism and hostility. A person’s self-confidence, willpower, and sense of responsibility are mostly based on the integration of values and emotions, but they are still based on emotions. Due to the emotional deviation, for these “problem teenagers,” of course, they will not have normal people’s self-confidence, willpower, and sense of responsibility.Moral character is generally called morality, and “problem teenagers” are usually poor in morality. Psychology clearly points out that the psychological structure usually covers four aspects: moral cognition, moral emotion, moral will, and moral behavior. A certain moral understanding is a necessary condition. Moral emotion is produced on the basis of moral cognition. It is a form of moral cognition. Moral emotion plays a core and internal driving role in the formation and development of human morality. In the process of establishing purpose and engaging in some moral behavior, moral will reflects the mediation and control of inconsistencies and conflicts between diverse internal wishes, intents, and reasons. Morals will play a key role. Moral behavior refers to the actions taken by people under the control and drive of certain moral cognition, moral emotion, and moral will. It is also an important symbol to measure people’s moral cultivation level. Among the four factors that form the psychological structure of “problem teenagers,” the moral understanding is confused and disordered. Moral emotion is lost and morbid. This will inevitably lead to ideological and behavioral problems. Moral will is the fusion of moral cognition and moral emotion, which is expressed by emotion. The will of “problem teenagers” is fragile, which finally leads to the deviation of moral behavior and slide into the edge of law and crime.


#### 3.1.3. The Performance of Problematic Teenagers

(1) Emotional Abnormality. It is mainly manifested in bad temper, unreasonable, weak will, poor independence, lack of love and patience, aloof, arrogant, disrespect and consideration for others, and poor self-control.(2) Internet Addiction. Internet addiction has three characteristics: one is excessive use of the Internet, the other is difficult to control emotion and abnormal behavior without using the Internet, and the third is the damage of individual physical, psychological, and social functions. The service object has clearly shown damage in physical, psychological, and social functions as a result of long-term addiction to online games, such as pale complexion, mental depression, autistic, extreme, self-centered, decline in interpersonal communication ability, and deterioration of parent-child relationship. True and incorrect definitions of adolescent Internet addiction can be found. Teenagers who have a true sex addiction frequently play only one fixed game for an extended period of time. Pseudoaddiction tends to play a variety of online games. Such teenagers are often frustrated in their studies and work and are prompted to indulge in online games due to the pressure of the external environment, while the addiction to online games is the external expression of psychological mechanisms such as escaping or seeking a short sense of achievement.(3) Weariness and Truancy. Although they have a good learning environment and learning conditions and go to school every day like normal students, learning seems to have nothing to do with them. They do not pay attention in class, read extracurricular books, take snacks, leave the classroom without permission, and frequently miss class.(4) Gnawing at the Old. Some people do not find a job but give up employment opportunities and stay at home. They not only rely on their parents, but also spend a lot of money. Currently, there are six types of “NEETS”: first, college graduates who are overly fussy about their jobs and, as a result, prefer not to work. Second, the task makes them too exhausted and nervous, and they are forced to leave due to maladjustment. Young people with “entrepreneurial fantasy” are the third group. Although they have a strong desire to start a business, they lack real talent and learning and stop their desire because they do not want to start at the grass-roots level. Fourth, frequent job hopping leads to unemployment. The last category is low culture, poor technology, and fear of hardship.(5) Psychological Problems. Students’ psychological difficulties are on the rise at the moment. Every year, 280000 people die as a result of psychiatric issues, according to data. Adolescent mental illnesses affect 22.5 percent to 33 percent of adolescents.It can be seen that discipline violation, moral violation, abnormal behavior, and self-destruction have become the main behaviors of problem teenagers.


### 3.2. Educational Correction

#### 3.2.1. The Concept of Education Correction

As an abstract and concrete educational practice, educational institutions carry out purposeful, targeted, and planned education for students from the aspects of ideology, politics, morality, culture, and psychology, correct students’ bad behavior, and help students establish correct values and outlook on life. Educational correction mainly refers to the effective educational correction methods and means adopted for young offenders. The main body of educational correction is unmanaged institutions, prisons, etc. to educate young people in ideological, political, moral, social, cultural, and other aspects. Intervene their bad thoughts, psychology, and behavior, let them reform and return to society and become a qualified youth with good ideology and morality and correct behavior and attitude and beneficial to the society.


#### 3.2.2. Educational Correction Procedures

Through the study of corrective treatment, it is considered that the process of corrective treatment is investigation, diagnosis, and treatment management.Firstly, in the investigation stage of corrective treatment, it mainly analyzes the motivation and causes of criminal behavior. Through typical case analysis, it studies in detail the minors’ physiological characteristics, growth environment, education, interests and hobbies, social activities, etc.Secondly, in the diagnosis stage of corrective treatment, taking the results obtained in the investigation stage as the diagnostic basis, through a comprehensive analysis of the investigation results, the corrective treatment plan is put forward on the basis of scientific diagnosis.Finally, corrective treatment management stage: through in-depth and specific communication and communication, we can comprehensively grasp everyone’s basic information and give objective and fair evaluation, so as to enhance their social communication ability. The corrective treatment plan is targeted and feasible, which is obtained completely according to the motive and reason of each minor’s criminal behavior.


#### 3.2.3. Educational Corrective Treatment Techniques

(1) Psychotherapy. Psychotherapy is divided into two types: insight therapy and behavior therapy. The main content of psychotherapy is emotional and psychotherapy for the perpetrator. Through insight therapy, analyze the causes of the perpetrator’s behavior, find out the causes of the behavior, and carry out targeted corrective treatment, so as to improve the perpetrator’s behavior.(2) Realistic Therapy. The basic idea of realistic therapy is that the perpetrator believes that his own existence has no value and significance, cannot get the attention and care of the society and his family, and then loses life confidence. The main purpose of reality therapy is to help people quickly build self-confidence and sense of responsibility. In the process of meeting their own needs, they do not threaten the interests of others.(3) Crisis Intervention. Crisis intervention refers to that when minors have misconduct, they need to pay attention in the shortest possible time, so as to reduce the degree of harm, deeply and comprehensively analyze the causes of criminal behavior, and put forward effective countermeasures. Crisis intervention has a strong sense of time. When the crisis occurs, whether effective measures and means can be taken at the first time is directly related to the harm degree of juvenile delinquency.(4) Assertiveness Training Method. Assertiveness is mainly manifested in, first, being able to actively express their psychological feelings; second, being able to affirm your ideas and behaviors, give full play to your potential, and take the initiative to refuse something; third, being able to effectively judge the bad behavior of others, and then make the right choice. The subjective training for minors is mainly the evaluation of their thoughts, behaviors, and consciousness. Minors are easy to drift with the tide and are vulnerable to various external factors.(5) Behavior Correction Method. Behavior correction treatment method is mainly composed of positive reward and negative stimulation. When the behavior of minors reaches the expected value, they will be actively rewarded. On the contrary, when the behavior cannot reach the expected value, it will be negatively stimulated, resulting in a series of bad behaviors. As far as juvenile delinquency is concerned, it is mainly affected by negative stimulation. The main feature and advantage of behavior correction law is that it can give positive rewards and negative sanctions according to the specific behavior of the subject, so as to correct its behavior and consciousness [15].


## 3.1. Problem Teenagers

### 3.1.1. The Concept of Problem Teenagers

The so-called “question” is a contradiction to be solved and a question to be answered or explained. Problems are situations that need to be solved. They arise from the difference between the existing situation and the expected situation. So, the first step in doing anything is to identify the problem and then bear the consequences of the problem. “Youth” is the research object of psychology, sociology, youth science, and many other disciplines. The age is generally defined as 14∼25 years old. “Problem teenagers” usually refer to those who have deviant behavior, also known as deviant behavior. The so-called deviance refers to any thought and behavior judged by social members as violating their social norms or values in a society. It includes all thoughts and behaviors that commit crimes, violate laws, and violate moral norms and social customs. Based on the above analysis, problem teenagers refer to those who deviate from social morality and established norms and codes of conduct and fail to grow up healthily.


### 3.1.2. The Connotation of Problem Teenagers

“Problem teenagers” are usually called “double poor students” in school, that is, poor learning and poor code of conduct. The main code of conduct of the two is poor, which endangers the normal teaching order of the class and even the school. This becomes “problem teenagers” due to untimely education or poor effect [14]. In fact, the poor code of conduct of “problem teenagers” is only the appearance, not the essence. The deviation of teenagers in social morality is mainly the deviation of values. Because these teenagers have not fully established correct social values. The second is emotional deviation. “Problem teenagers” often do not have normal channels to talk about their emotions. When they are labeled, they live in people’s criticism and hostility. A person’s self-confidence, willpower, and sense of responsibility are mostly based on the integration of values and emotions, but they are still based on emotions. Due to the emotional deviation, for these “problem teenagers,” of course, they will not have normal people’s self-confidence, willpower, and sense of responsibility.Moral character is generally called morality, and “problem teenagers” are usually poor in morality. Psychology clearly points out that the psychological structure usually covers four aspects: moral cognition, moral emotion, moral will, and moral behavior. A certain moral understanding is a necessary condition. Moral emotion is produced on the basis of moral cognition. It is a form of moral cognition. Moral emotion plays a core and internal driving role in the formation and development of human morality. In the process of establishing purpose and engaging in some moral behavior, moral will reflects the mediation and control of inconsistencies and conflicts between diverse internal wishes, intents, and reasons. Morals will play a key role. Moral behavior refers to the actions taken by people under the control and drive of certain moral cognition, moral emotion, and moral will. It is also an important symbol to measure people’s moral cultivation level. Among the four factors that form the psychological structure of “problem teenagers,” the moral understanding is confused and disordered. Moral emotion is lost and morbid. This will inevitably lead to ideological and behavioral problems. Moral will is the fusion of moral cognition and moral emotion, which is expressed by emotion. The will of “problem teenagers” is fragile, which finally leads to the deviation of moral behavior and slide into the edge of law and crime.


### 3.1.3. The Performance of Problematic Teenagers

(1) Emotional Abnormality. It is mainly manifested in bad temper, unreasonable, weak will, poor independence, lack of love and patience, aloof, arrogant, disrespect and consideration for others, and poor self-control.(2) Internet Addiction. Internet addiction has three characteristics: one is excessive use of the Internet, the other is difficult to control emotion and abnormal behavior without using the Internet, and the third is the damage of individual physical, psychological, and social functions. The service object has clearly shown damage in physical, psychological, and social functions as a result of long-term addiction to online games, such as pale complexion, mental depression, autistic, extreme, self-centered, decline in interpersonal communication ability, and deterioration of parent-child relationship. True and incorrect definitions of adolescent Internet addiction can be found. Teenagers who have a true sex addiction frequently play only one fixed game for an extended period of time. Pseudoaddiction tends to play a variety of online games. Such teenagers are often frustrated in their studies and work and are prompted to indulge in online games due to the pressure of the external environment, while the addiction to online games is the external expression of psychological mechanisms such as escaping or seeking a short sense of achievement.(3) Weariness and Truancy. Although they have a good learning environment and learning conditions and go to school every day like normal students, learning seems to have nothing to do with them. They do not pay attention in class, read extracurricular books, take snacks, leave the classroom without permission, and frequently miss class.(4) Gnawing at the Old. Some people do not find a job but give up employment opportunities and stay at home. They not only rely on their parents, but also spend a lot of money. Currently, there are six types of “NEETS”: first, college graduates who are overly fussy about their jobs and, as a result, prefer not to work. Second, the task makes them too exhausted and nervous, and they are forced to leave due to maladjustment. Young people with “entrepreneurial fantasy” are the third group. Although they have a strong desire to start a business, they lack real talent and learning and stop their desire because they do not want to start at the grass-roots level. Fourth, frequent job hopping leads to unemployment. The last category is low culture, poor technology, and fear of hardship.(5) Psychological Problems. Students’ psychological difficulties are on the rise at the moment. Every year, 280000 people die as a result of psychiatric issues, according to data. Adolescent mental illnesses affect 22.5 percent to 33 percent of adolescents.It can be seen that discipline violation, moral violation, abnormal behavior, and self-destruction have become the main behaviors of problem teenagers.


## 3.1.1. The Concept of Problem Teenagers

The so-called “question” is a contradiction to be solved and a question to be answered or explained. Problems are situations that need to be solved. They arise from the difference between the existing situation and the expected situation. So, the first step in doing anything is to identify the problem and then bear the consequences of the problem. “Youth” is the research object of psychology, sociology, youth science, and many other disciplines. The age is generally defined as 14∼25 years old. “Problem teenagers” usually refer to those who have deviant behavior, also known as deviant behavior. The so-called deviance refers to any thought and behavior judged by social members as violating their social norms or values in a society. It includes all thoughts and behaviors that commit crimes, violate laws, and violate moral norms and social customs. Based on the above analysis, problem teenagers refer to those who deviate from social morality and established norms and codes of conduct and fail to grow up healthily.


## 3.1.2. The Connotation of Problem Teenagers

“Problem teenagers” are usually called “double poor students” in school, that is, poor learning and poor code of conduct. The main code of conduct of the two is poor, which endangers the normal teaching order of the class and even the school. This becomes “problem teenagers” due to untimely education or poor effect [14]. In fact, the poor code of conduct of “problem teenagers” is only the appearance, not the essence. The deviation of teenagers in social morality is mainly the deviation of values. Because these teenagers have not fully established correct social values. The second is emotional deviation. “Problem teenagers” often do not have normal channels to talk about their emotions. When they are labeled, they live in people’s criticism and hostility. A person’s self-confidence, willpower, and sense of responsibility are mostly based on the integration of values and emotions, but they are still based on emotions. Due to the emotional deviation, for these “problem teenagers,” of course, they will not have normal people’s self-confidence, willpower, and sense of responsibility.Moral character is generally called morality, and “problem teenagers” are usually poor in morality. Psychology clearly points out that the psychological structure usually covers four aspects: moral cognition, moral emotion, moral will, and moral behavior. A certain moral understanding is a necessary condition. Moral emotion is produced on the basis of moral cognition. It is a form of moral cognition. Moral emotion plays a core and internal driving role in the formation and development of human morality. In the process of establishing purpose and engaging in some moral behavior, moral will reflects the mediation and control of inconsistencies and conflicts between diverse internal wishes, intents, and reasons. Morals will play a key role. Moral behavior refers to the actions taken by people under the control and drive of certain moral cognition, moral emotion, and moral will. It is also an important symbol to measure people’s moral cultivation level. Among the four factors that form the psychological structure of “problem teenagers,” the moral understanding is confused and disordered. Moral emotion is lost and morbid. This will inevitably lead to ideological and behavioral problems. Moral will is the fusion of moral cognition and moral emotion, which is expressed by emotion. The will of “problem teenagers” is fragile, which finally leads to the deviation of moral behavior and slide into the edge of law and crime.


## 3.1.3. The Performance of Problematic Teenagers

(1) Emotional Abnormality. It is mainly manifested in bad temper, unreasonable, weak will, poor independence, lack of love and patience, aloof, arrogant, disrespect and consideration for others, and poor self-control.(2) Internet Addiction. Internet addiction has three characteristics: one is excessive use of the Internet, the other is difficult to control emotion and abnormal behavior without using the Internet, and the third is the damage of individual physical, psychological, and social functions. The service object has clearly shown damage in physical, psychological, and social functions as a result of long-term addiction to online games, such as pale complexion, mental depression, autistic, extreme, self-centered, decline in interpersonal communication ability, and deterioration of parent-child relationship. True and incorrect definitions of adolescent Internet addiction can be found. Teenagers who have a true sex addiction frequently play only one fixed game for an extended period of time. Pseudoaddiction tends to play a variety of online games. Such teenagers are often frustrated in their studies and work and are prompted to indulge in online games due to the pressure of the external environment, while the addiction to online games is the external expression of psychological mechanisms such as escaping or seeking a short sense of achievement.(3) Weariness and Truancy. Although they have a good learning environment and learning conditions and go to school every day like normal students, learning seems to have nothing to do with them. They do not pay attention in class, read extracurricular books, take snacks, leave the classroom without permission, and frequently miss class.(4) Gnawing at the Old. Some people do not find a job but give up employment opportunities and stay at home. They not only rely on their parents, but also spend a lot of money. Currently, there are six types of “NEETS”: first, college graduates who are overly fussy about their jobs and, as a result, prefer not to work. Second, the task makes them too exhausted and nervous, and they are forced to leave due to maladjustment. Young people with “entrepreneurial fantasy” are the third group. Although they have a strong desire to start a business, they lack real talent and learning and stop their desire because they do not want to start at the grass-roots level. Fourth, frequent job hopping leads to unemployment. The last category is low culture, poor technology, and fear of hardship.(5) Psychological Problems. Students’ psychological difficulties are on the rise at the moment. Every year, 280000 people die as a result of psychiatric issues, according to data. Adolescent mental illnesses affect 22.5 percent to 33 percent of adolescents.It can be seen that discipline violation, moral violation, abnormal behavior, and self-destruction have become the main behaviors of problem teenagers.


## 3.2. Educational Correction

### 3.2.1. The Concept of Education Correction

As an abstract and concrete educational practice, educational institutions carry out purposeful, targeted, and planned education for students from the aspects of ideology, politics, morality, culture, and psychology, correct students’ bad behavior, and help students establish correct values and outlook on life. Educational correction mainly refers to the effective educational correction methods and means adopted for young offenders. The main body of educational correction is unmanaged institutions, prisons, etc. to educate young people in ideological, political, moral, social, cultural, and other aspects. Intervene their bad thoughts, psychology, and behavior, let them reform and return to society and become a qualified youth with good ideology and morality and correct behavior and attitude and beneficial to the society.


### 3.2.2. Educational Correction Procedures

Through the study of corrective treatment, it is considered that the process of corrective treatment is investigation, diagnosis, and treatment management.Firstly, in the investigation stage of corrective treatment, it mainly analyzes the motivation and causes of criminal behavior. Through typical case analysis, it studies in detail the minors’ physiological characteristics, growth environment, education, interests and hobbies, social activities, etc.Secondly, in the diagnosis stage of corrective treatment, taking the results obtained in the investigation stage as the diagnostic basis, through a comprehensive analysis of the investigation results, the corrective treatment plan is put forward on the basis of scientific diagnosis.Finally, corrective treatment management stage: through in-depth and specific communication and communication, we can comprehensively grasp everyone’s basic information and give objective and fair evaluation, so as to enhance their social communication ability. The corrective treatment plan is targeted and feasible, which is obtained completely according to the motive and reason of each minor’s criminal behavior.


### 3.2.3. Educational Corrective Treatment Techniques

(1) Psychotherapy. Psychotherapy is divided into two types: insight therapy and behavior therapy. The main content of psychotherapy is emotional and psychotherapy for the perpetrator. Through insight therapy, analyze the causes of the perpetrator’s behavior, find out the causes of the behavior, and carry out targeted corrective treatment, so as to improve the perpetrator’s behavior.(2) Realistic Therapy. The basic idea of realistic therapy is that the perpetrator believes that his own existence has no value and significance, cannot get the attention and care of the society and his family, and then loses life confidence. The main purpose of reality therapy is to help people quickly build self-confidence and sense of responsibility. In the process of meeting their own needs, they do not threaten the interests of others.(3) Crisis Intervention. Crisis intervention refers to that when minors have misconduct, they need to pay attention in the shortest possible time, so as to reduce the degree of harm, deeply and comprehensively analyze the causes of criminal behavior, and put forward effective countermeasures. Crisis intervention has a strong sense of time. When the crisis occurs, whether effective measures and means can be taken at the first time is directly related to the harm degree of juvenile delinquency.(4) Assertiveness Training Method. Assertiveness is mainly manifested in, first, being able to actively express their psychological feelings; second, being able to affirm your ideas and behaviors, give full play to your potential, and take the initiative to refuse something; third, being able to effectively judge the bad behavior of others, and then make the right choice. The subjective training for minors is mainly the evaluation of their thoughts, behaviors, and consciousness. Minors are easy to drift with the tide and are vulnerable to various external factors.(5) Behavior Correction Method. Behavior correction treatment method is mainly composed of positive reward and negative stimulation. When the behavior of minors reaches the expected value, they will be actively rewarded. On the contrary, when the behavior cannot reach the expected value, it will be negatively stimulated, resulting in a series of bad behaviors. As far as juvenile delinquency is concerned, it is mainly affected by negative stimulation. The main feature and advantage of behavior correction law is that it can give positive rewards and negative sanctions according to the specific behavior of the subject, so as to correct its behavior and consciousness [15].


## 3.2.1. The Concept of Education Correction

As an abstract and concrete educational practice, educational institutions carry out purposeful, targeted, and planned education for students from the aspects of ideology, politics, morality, culture, and psychology, correct students’ bad behavior, and help students establish correct values and outlook on life. Educational correction mainly refers to the effective educational correction methods and means adopted for young offenders. The main body of educational correction is unmanaged institutions, prisons, etc. to educate young people in ideological, political, moral, social, cultural, and other aspects. Intervene their bad thoughts, psychology, and behavior, let them reform and return to society and become a qualified youth with good ideology and morality and correct behavior and attitude and beneficial to the society.


## 3.2.2. Educational Correction Procedures

Through the study of corrective treatment, it is considered that the process of corrective treatment is investigation, diagnosis, and treatment management.Firstly, in the investigation stage of corrective treatment, it mainly analyzes the motivation and causes of criminal behavior. Through typical case analysis, it studies in detail the minors’ physiological characteristics, growth environment, education, interests and hobbies, social activities, etc.Secondly, in the diagnosis stage of corrective treatment, taking the results obtained in the investigation stage as the diagnostic basis, through a comprehensive analysis of the investigation results, the corrective treatment plan is put forward on the basis of scientific diagnosis.Finally, corrective treatment management stage: through in-depth and specific communication and communication, we can comprehensively grasp everyone’s basic information and give objective and fair evaluation, so as to enhance their social communication ability. The corrective treatment plan is targeted and feasible, which is obtained completely according to the motive and reason of each minor’s criminal behavior.


## 3.2.3. Educational Corrective Treatment Techniques

(1) Psychotherapy. Psychotherapy is divided into two types: insight therapy and behavior therapy. The main content of psychotherapy is emotional and psychotherapy for the perpetrator. Through insight therapy, analyze the causes of the perpetrator’s behavior, find out the causes of the behavior, and carry out targeted corrective treatment, so as to improve the perpetrator’s behavior.(2) Realistic Therapy. The basic idea of realistic therapy is that the perpetrator believes that his own existence has no value and significance, cannot get the attention and care of the society and his family, and then loses life confidence. The main purpose of reality therapy is to help people quickly build self-confidence and sense of responsibility. In the process of meeting their own needs, they do not threaten the interests of others.(3) Crisis Intervention. Crisis intervention refers to that when minors have misconduct, they need to pay attention in the shortest possible time, so as to reduce the degree of harm, deeply and comprehensively analyze the causes of criminal behavior, and put forward effective countermeasures. Crisis intervention has a strong sense of time. When the crisis occurs, whether effective measures and means can be taken at the first time is directly related to the harm degree of juvenile delinquency.(4) Assertiveness Training Method. Assertiveness is mainly manifested in, first, being able to actively express their psychological feelings; second, being able to affirm your ideas and behaviors, give full play to your potential, and take the initiative to refuse something; third, being able to effectively judge the bad behavior of others, and then make the right choice. The subjective training for minors is mainly the evaluation of their thoughts, behaviors, and consciousness. Minors are easy to drift with the tide and are vulnerable to various external factors.(5) Behavior Correction Method. Behavior correction treatment method is mainly composed of positive reward and negative stimulation. When the behavior of minors reaches the expected value, they will be actively rewarded. On the contrary, when the behavior cannot reach the expected value, it will be negatively stimulated, resulting in a series of bad behaviors. As far as juvenile delinquency is concerned, it is mainly affected by negative stimulation. The main feature and advantage of behavior correction law is that it can give positive rewards and negative sanctions according to the specific behavior of the subject, so as to correct its behavior and consciousness [15].


## 4. Encryption and Secure Storage Management Method of Education and Correction Information for Problem Teenagers

### 4.1. Setting of User Permission List for Education and Correction of Problem Teenagers

In order to better realize the management of education and correction of problem teenagers, in the process of encrypting and storing the education and correction information of problem teenagers, it is necessary to use CP-ABE algorithm to obtain the initial key of the system and express the encrypted cipher-text. Specify the attributes of each user in the problem youth education and correction user permission list to obtain the problem youth education and correction user permission control structure. The specific steps are as follows.Assuming thatBi represents the system attribute set and satisfies the condition of Bi=B1,B2,...,Bi,...,Bn, σ represents the number of elements in Bi, N0 and N1 represent the multiplicative cyclic group of prime order η respectively, ι is defined as the generator of N0, and the bilinear mapping on N0 is expressed as(11)N0i′=BiB1,B2,...,Bi,...,BnησN0×N1ι.Arbitrarily defineM group elements h1,h2,...,hM∈N0 in parallel with system attribute Bi=B1,B2,...,Bi,...,Bn, randomly select two exponents r,t, and calculate the initial key of the information owner’s system as(12)ηNas¢=Δi,Sx:M∓Bi⊗B1,B2,...,Bi,...,BnM∓r,t.Assuming thatτK represents the ID of the data information to be encrypted in the management of education and correction for problem teenagers, V1 represents the randomly selected symmetric key, τ1 represents the time stamp of the encryption process, and ς represents the user permission type of education and correction for problem teenagers, the encrypted cipher-text [16] is expressed as(13)Zas′=ς⊗τ1V1∓τKτ.In formula (10), τ represents the access structure of problem youth education correction users. Assuming that υ represents the permission list of problem youth education and correction users for file sharing, ω represents the effective status of the file, ξ represents the list of problem youth education and correction users with deleted permissions, and ψ represents the public key of each user in the problem youth education and correction management, the attribute of each user in the specified problem youth education and correction user permission list is expressed as(14)wsg′=ψ⊗ξυω∓ζ.In formula (11), ζ represents the attribute set of the access structure T. When the problematic youth education correction user attribute appears in the access structure T, the user is defined as an authorized user; otherwise, it is defined as an unauthorized user. The definition of the problem youth education correction user authority control structure is expressed as(15)Tas=wsg′Zas′ηNas′T∓N0i′.To sum up, it can be explained that, in the encryption and secure storage process of education and correction information for problem teenagers, the CP-ABE algorithm is used to generate the public key and master key, which are defined as the initial key. Then, set the access constraints of each user in the user permission list of problem youth education and correction, so as to lay the foundation for the encryption and secure storage of data information in the management of problem youth education and correction.


### 4.2. Implementation of Encryption and Secure Storage Management of Education and Correction Information for Problem Teenagers

In the process of encrypting and storing the education and correction information of problem teenagers, based on the above-obtained user authority control structure of education and correction of problem teenagers, the key parameters are calculated by tent mapping and cat mapping methods, respectively. Carry out piecewise linear mapping on the encrypted file, and then carry out XOR operation on the plaintext bytes and key bytes of the encrypted and safe storage of the education and correction information of the problem youth. On this basis, complete the encrypted and safe storage of the data information in the education and correction management of the problem youth. The specific steps are as follows.Assuming thatwv represents the characteristics of the initial system information data structure, and based on the above-obtained problematic youth education correction user authority control structure Tas, the expression for obtaining the tent mapping is(16)wn+1=wnvzTas,1−wn1−vzTas.In formula (13), vz represents a variable parameter. The next step is to expand the tent mapping, and the piecewise linear mapping of any type of encrypted information is calculated as(17)wn+1′=ugpkn+1∓μgwn+1.In formula (14), ug represents the position of the apex of the tent, pk represents the result of the n+1 iteration, and μg represents the extensibility of the tent mapping. Assuming that ωk represents the foldability of the tent mapping, the key to obtain the tent mapping is expressed as(18)Em′=ωk⊗νkϑb′wn+1′υd.In formula (15), νk represents the tent mapping control parameter, ϑas′ represents the variable control parameter, and υd represents the weight vector of the tent mapping control parameter. Assuming that kf′ represents the avalanche effect of the tent mapping itself, and wn′,sn′ represents the iterative value of the n iterative process, respectively, then the key parameters of the cat mapping are expressed as(19)λwn,sn=wn′sn′kf′wn+1′sn+1′ϕdκn.In formula (16), wn+1′sn+1′ represents the iterative value describing the n+1 iterative process, ϕd represents the index separability of adjacent points, and κn represents the iterative value of cat mapping. Carry out the integer numerical processing of the cat mapping, and calculate the iterative value of the cat mapping expressed as(20)σn=ljλwn,snχbαh.In formula (17), lj represents the integer interval that can be described by the word length, and χb,αh represents the stretching and folding process of the cat mapping. Assuming that the remainder of λwn,sn and Em′ is calculated, Ff represents the storage space information table, and Mj represents the data generation diffusion key matrix. The calculated new key is expressed as(21)Bd=λwn,sn×Em′MjιmFf∓Bd.In formula (18), ιm represents the new key length. Assume that ψo represents the plaintext byte of the encrypted and secure storage of the education and correction information of the problem youth, δo represents the key byte of the encrypted and secure storage of the education and correction information of the problem youth, and ϑo represents the cipher-text byte of the encrypted and secure storage of the education and correction information of the problem youth, and perform XOR operation on the cipher-text. Complete the encryption and secure storage of data information in the management of education and correction for problem teenagers, which is expressed as(22)Gp=ψoδoϑo∓Bd.Through the above steps, complete the encryption and secure storage of data information in the education and correction management of problem teenagers, so as to realize the education and correction management of problem teenagers.


## 4.1. Setting of User Permission List for Education and Correction of Problem Teenagers

In order to better realize the management of education and correction of problem teenagers, in the process of encrypting and storing the education and correction information of problem teenagers, it is necessary to use CP-ABE algorithm to obtain the initial key of the system and express the encrypted cipher-text. Specify the attributes of each user in the problem youth education and correction user permission list to obtain the problem youth education and correction user permission control structure. The specific steps are as follows.Assuming thatBi represents the system attribute set and satisfies the condition of Bi=B1,B2,...,Bi,...,Bn, σ represents the number of elements in Bi, N0 and N1 represent the multiplicative cyclic group of prime order η respectively, ι is defined as the generator of N0, and the bilinear mapping on N0 is expressed as(11)N0i′=BiB1,B2,...,Bi,...,BnησN0×N1ι.Arbitrarily defineM group elements h1,h2,...,hM∈N0 in parallel with system attribute Bi=B1,B2,...,Bi,...,Bn, randomly select two exponents r,t, and calculate the initial key of the information owner’s system as(12)ηNas¢=Δi,Sx:M∓Bi⊗B1,B2,...,Bi,...,BnM∓r,t.Assuming thatτK represents the ID of the data information to be encrypted in the management of education and correction for problem teenagers, V1 represents the randomly selected symmetric key, τ1 represents the time stamp of the encryption process, and ς represents the user permission type of education and correction for problem teenagers, the encrypted cipher-text [16] is expressed as(13)Zas′=ς⊗τ1V1∓τKτ.In formula (10), τ represents the access structure of problem youth education correction users. Assuming that υ represents the permission list of problem youth education and correction users for file sharing, ω represents the effective status of the file, ξ represents the list of problem youth education and correction users with deleted permissions, and ψ represents the public key of each user in the problem youth education and correction management, the attribute of each user in the specified problem youth education and correction user permission list is expressed as(14)wsg′=ψ⊗ξυω∓ζ.In formula (11), ζ represents the attribute set of the access structure T. When the problematic youth education correction user attribute appears in the access structure T, the user is defined as an authorized user; otherwise, it is defined as an unauthorized user. The definition of the problem youth education correction user authority control structure is expressed as(15)Tas=wsg′Zas′ηNas′T∓N0i′.To sum up, it can be explained that, in the encryption and secure storage process of education and correction information for problem teenagers, the CP-ABE algorithm is used to generate the public key and master key, which are defined as the initial key. Then, set the access constraints of each user in the user permission list of problem youth education and correction, so as to lay the foundation for the encryption and secure storage of data information in the management of problem youth education and correction.


## 4.2. Implementation of Encryption and Secure Storage Management of Education and Correction Information for Problem Teenagers

In the process of encrypting and storing the education and correction information of problem teenagers, based on the above-obtained user authority control structure of education and correction of problem teenagers, the key parameters are calculated by tent mapping and cat mapping methods, respectively. Carry out piecewise linear mapping on the encrypted file, and then carry out XOR operation on the plaintext bytes and key bytes of the encrypted and safe storage of the education and correction information of the problem youth. On this basis, complete the encrypted and safe storage of the data information in the education and correction management of the problem youth. The specific steps are as follows.Assuming thatwv represents the characteristics of the initial system information data structure, and based on the above-obtained problematic youth education correction user authority control structure Tas, the expression for obtaining the tent mapping is(16)wn+1=wnvzTas,1−wn1−vzTas.In formula (13), vz represents a variable parameter. The next step is to expand the tent mapping, and the piecewise linear mapping of any type of encrypted information is calculated as(17)wn+1′=ugpkn+1∓μgwn+1.In formula (14), ug represents the position of the apex of the tent, pk represents the result of the n+1 iteration, and μg represents the extensibility of the tent mapping. Assuming that ωk represents the foldability of the tent mapping, the key to obtain the tent mapping is expressed as(18)Em′=ωk⊗νkϑb′wn+1′υd.In formula (15), νk represents the tent mapping control parameter, ϑas′ represents the variable control parameter, and υd represents the weight vector of the tent mapping control parameter. Assuming that kf′ represents the avalanche effect of the tent mapping itself, and wn′,sn′ represents the iterative value of the n iterative process, respectively, then the key parameters of the cat mapping are expressed as(19)λwn,sn=wn′sn′kf′wn+1′sn+1′ϕdκn.In formula (16), wn+1′sn+1′ represents the iterative value describing the n+1 iterative process, ϕd represents the index separability of adjacent points, and κn represents the iterative value of cat mapping. Carry out the integer numerical processing of the cat mapping, and calculate the iterative value of the cat mapping expressed as(20)σn=ljλwn,snχbαh.In formula (17), lj represents the integer interval that can be described by the word length, and χb,αh represents the stretching and folding process of the cat mapping. Assuming that the remainder of λwn,sn and Em′ is calculated, Ff represents the storage space information table, and Mj represents the data generation diffusion key matrix. The calculated new key is expressed as(21)Bd=λwn,sn×Em′MjιmFf∓Bd.In formula (18), ιm represents the new key length. Assume that ψo represents the plaintext byte of the encrypted and secure storage of the education and correction information of the problem youth, δo represents the key byte of the encrypted and secure storage of the education and correction information of the problem youth, and ϑo represents the cipher-text byte of the encrypted and secure storage of the education and correction information of the problem youth, and perform XOR operation on the cipher-text. Complete the encryption and secure storage of data information in the management of education and correction for problem teenagers, which is expressed as(22)Gp=ψoδoϑo∓Bd.Through the above steps, complete the encryption and secure storage of data information in the education and correction management of problem teenagers, so as to realize the education and correction management of problem teenagers.


## 5. Experimental Analysis

### 5.1. Experimental Environment and Data

In demand to confirm the efficacy of the problematic youth education correction management based on the information encryption storage method, the hardware device of the experiment was set up as a 64-bit Lenovo G480 notebook computer with Windows 10 Home Basic Edition, and its CPU was Intel(R) Core(TM) i5-3210M CPU @2.50 GHz. The Eclipse Neon development platform is used to create the experimental software environment, which is written in Java. During the experiment, the security of encrypted storage and the time of encrypted storage were assessed, and the suggested technique was compared to the reference method [4], the reference method [5], and the reference method [6].


### 5.2. Security of Encrypted Storage of Education and Correction Information for Problematic Adolescents

In order to verify the problem of the proposed method, the information encryption storage leakage rate is used as a criterion for evaluation. The smaller the leakage rate, the higher the security of encrypted storage of adolescent education correction information. The calculation formula is as follows:(23)Xl=ΦSL×100%.In formula (20), Φ is the size of the leakage, and SL is the length of the private key. For comparison, the reference technique [4], the reference method [5], and the proposed method are employed. The results of the encrypted storage of the problematic youth education rectification information of different ways are calculated using formula (20), as illustrated in Figure 2.Figure 2
Comparison results of encrypted storage security of education correction information for problem teenagers with different methods.According to Figure2, with the increase of the number of users for education and correction of problem teenagers, the leakage rate of information encrypted storage of different methods increases. The information encryption storage leakage amount of the process of reference [4] is 13.8 percent, the information encryption storage leakage rate of the technique of reference [5] is 17.2 percent, and the information encryption storage leakage rate of the proposed method is only 5.1 percent when the number of problem youth education correction users is 500. It can be shown that the suggested method’s information encryption storage leakage rate is low, implying that the proposed method’s difficulty is that the encryption storage security of youth education rectification information is high.


### 5.3. Reliability of Encrypted Storage of Education Correction Information for Problematic Adolescents

On this basis, the reliability of encrypted storage of adolescent education correction information is further verified, and the hiding degree of encrypted storage is engaged as the evaluation index. The more developed the hiding degree, the higher the reliability of encrypted storage of adolescent education correction information. The calculation formula is as follows:(24)Yc=υzσs×100%.In formula (21), υz is the encrypted storage hidden characters and σs is the maximum depth of the number of users. The reference technique [4], the direct instructions [5], and the proposed technique are all employed for comparison, and the comparison results of the encrypted storage reliability of the problematic youth education correction information of different methods are calculated according to formula (21) as shown in Figure 3.Figure 3
Comparison results of encryption storage reliability of education correction information for problem teenagers with different methods.According to Figure3, when the number of problem youth education correction users is 500, the average information encryption storage hiding degree of the method of reference [4] is 82.4%, the average information encryption storage hiding degree of the method of reference [5] is 78.2%, and the average information encryption storage hiding degree of the proposed method is as high as 97.8%. It is clear that the proposed method’s information encryption storage hiding degree is high, implying that the proposed method’s problem is that the encryption storage reliability of adolescent education correction information is cheap.


### 5.4. Encrypted Storage Time of Education Correction Information for Problem Teenagers

Further verify the encrypted storage time of education correction information for problem teenagers of the proposed method. Compare the methods of [4], the methods of [5] and the proposed method, respectively, and get the comparison results of encrypted storage time of education correction information for problem teenagers of different methods, as shown in Figure 4.Figure 4
Comparison results of encryption storage time of education correction information for problem teenagers with different methods.Figure4 shows that as the number of problems grows, so does the number of solutions youth education correction users, and the information encryption storage time of different methods increases. The information encryption storage time of the method of [4] is 26.1 s, the information encryption storage time of the method of [5] is 21.2 s, and the information encryption storage time of the suggested method is only 11.8 s when the number of problem youth education correction users is 500. Therefore, the problem of the proposed method is that the encryption storage time of adolescent education correction information is short.


## 5.1. Experimental Environment and Data

In demand to confirm the efficacy of the problematic youth education correction management based on the information encryption storage method, the hardware device of the experiment was set up as a 64-bit Lenovo G480 notebook computer with Windows 10 Home Basic Edition, and its CPU was Intel(R) Core(TM) i5-3210M CPU @2.50 GHz. The Eclipse Neon development platform is used to create the experimental software environment, which is written in Java. During the experiment, the security of encrypted storage and the time of encrypted storage were assessed, and the suggested technique was compared to the reference method [4], the reference method [5], and the reference method [6].


## 5.2. Security of Encrypted Storage of Education and Correction Information for Problematic Adolescents

In order to verify the problem of the proposed method, the information encryption storage leakage rate is used as a criterion for evaluation. The smaller the leakage rate, the higher the security of encrypted storage of adolescent education correction information. The calculation formula is as follows:(23)Xl=ΦSL×100%.In formula (20), Φ is the size of the leakage, and SL is the length of the private key. For comparison, the reference technique [4], the reference method [5], and the proposed method are employed. The results of the encrypted storage of the problematic youth education rectification information of different ways are calculated using formula (20), as illustrated in Figure 2.Figure 2
Comparison results of encrypted storage security of education correction information for problem teenagers with different methods.According to Figure2, with the increase of the number of users for education and correction of problem teenagers, the leakage rate of information encrypted storage of different methods increases. The information encryption storage leakage amount of the process of reference [4] is 13.8 percent, the information encryption storage leakage rate of the technique of reference [5] is 17.2 percent, and the information encryption storage leakage rate of the proposed method is only 5.1 percent when the number of problem youth education correction users is 500. It can be shown that the suggested method’s information encryption storage leakage rate is low, implying that the proposed method’s difficulty is that the encryption storage security of youth education rectification information is high.


## 5.3. Reliability of Encrypted Storage of Education Correction Information for Problematic Adolescents

On this basis, the reliability of encrypted storage of adolescent education correction information is further verified, and the hiding degree of encrypted storage is engaged as the evaluation index. The more developed the hiding degree, the higher the reliability of encrypted storage of adolescent education correction information. The calculation formula is as follows:(24)Yc=υzσs×100%.In formula (21), υz is the encrypted storage hidden characters and σs is the maximum depth of the number of users. The reference technique [4], the direct instructions [5], and the proposed technique are all employed for comparison, and the comparison results of the encrypted storage reliability of the problematic youth education correction information of different methods are calculated according to formula (21) as shown in Figure 3.Figure 3
Comparison results of encryption storage reliability of education correction information for problem teenagers with different methods.According to Figure3, when the number of problem youth education correction users is 500, the average information encryption storage hiding degree of the method of reference [4] is 82.4%, the average information encryption storage hiding degree of the method of reference [5] is 78.2%, and the average information encryption storage hiding degree of the proposed method is as high as 97.8%. It is clear that the proposed method’s information encryption storage hiding degree is high, implying that the proposed method’s problem is that the encryption storage reliability of adolescent education correction information is cheap.


## 5.4. Encrypted Storage Time of Education Correction Information for Problem Teenagers

Further verify the encrypted storage time of education correction information for problem teenagers of the proposed method. Compare the methods of [4], the methods of [5] and the proposed method, respectively, and get the comparison results of encrypted storage time of education correction information for problem teenagers of different methods, as shown in Figure 4.Figure 4
Comparison results of encryption storage time of education correction information for problem teenagers with different methods.Figure4 shows that as the number of problems grows, so does the number of solutions youth education correction users, and the information encryption storage time of different methods increases. The information encryption storage time of the method of [4] is 26.1 s, the information encryption storage time of the method of [5] is 21.2 s, and the information encryption storage time of the suggested method is only 11.8 s when the number of problem youth education correction users is 500. Therefore, the problem of the proposed method is that the encryption storage time of adolescent education correction information is short.


## 6. Conclusion

The problem youth education correction management based on information encryption storage method proposed this report explains the value to the fullest of information encryption storage technology and can effectively realize the problem youth education correction management. The problem youth education correction information encryption storage has high security and reliability and short information encryption storage time. However, this method does not consider reducing the amount of key management in the encrypted storage process of education correction information for problem teenagers. Therefore, in the next research, multiple external decryption servers need to be deployed to reduce the amount of key management and improve the user experience.



---

*Source: 6506980-2022-04-22.xml*