A platform information security encryption system

By judging the encryption level of the received information on the network platform and selecting an appropriate encryption algorithm to process it, the problem of excessive encryption operation pressure in the prior art is solved, and the efficiency and security of information security encryption is achieved.

CN117540407BActive Publication Date: 2024-12-06GUANGZHOU JINYUAN TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311741895.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-18
Publication Date
2024-12-06
Estimated Expiration
2043-12-18

AI Technical Summary

Technical Problem

In the prior art, network platforms lack encryption level division when receiving information, resulting in excessive pressure on encryption operations.

Method used

A platform information security encryption system is designed to determine the level of information through the level division module, and select appropriate encryption algorithms for encryption processing based on the level, including encryption level storage unit, division unit, information encryption module, database module and encryption Algorithm settings module.

Benefits of technology

It effectively reduces the computing pressure during the encryption process, ensures the data encryption effect while avoiding the use of the same encryption algorithm for all information, and improves information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117540407B_ABST
    Figure CN117540407B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of information security, and discloses a platform information security encryption system, including a level division module including an encryption level storage unit and a division unit; the storage unit is used to store the preset encryption levels of various types of information; the division unit is used to judge the information to be encrypted, judge the type of the information to be encrypted, and obtain the encryption level of the information to be encrypted based on the type. In the present invention, by judging the encryption level of the information to be encrypted, different encryption algorithms can be used for encryption processing for information of different encryption levels, while ensuring the effect of data encryption, avoiding the use of the same encryption algorithm for data encryption of all information, and can effectively reduce the computing pressure in the data encryption process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security, and in particular to a platform information security encryption system. Background Art

[0002] The network platform receives a lot of information during operation, including text information and image information, etc. In the prior art, this information is generally directly encrypted and saved without encryption level classification, which leads to too much information to be encrypted, resulting in high encryption operation pressure. Summary of the invention

[0003] The purpose of the present invention is to disclose a platform information security encryption system to solve the problem of how to reduce the computing pressure when encrypting information received during the operation of a network platform.

[0004] In order to achieve the above object, the present invention provides the following technical solutions:

[0005] A platform information security encryption system includes a level division module, the level division module includes an encryption level storage unit and a division unit;

[0006] The storage unit is used to store the preset encryption levels of various types of information;

[0007] The division unit is used to judge the information to be encrypted, judge the type of the information to be encrypted, and obtain the encryption level of the information to be encrypted based on the type.

[0008] Preferably, the types of information include account information, transaction information, operation record information and communication information;

[0009] The encryption level of account information is level 4, the encryption level of transaction information is level 3, the encryption level of operation record information is level 2, and the encryption level of communication information is level 1.

[0010] Preferably, the account information includes account number, password, mobile phone number, email address, security question and security answer.

[0011] Preferably, it also includes an information encryption module,

[0012] The information encryption module is used to encrypt the information to be encrypted according to the encryption level of the information to be encrypted.

[0013] Preferably, the information encryption module includes an encryption algorithm storage unit and an encryption unit;

[0014] The encryption algorithm storage unit is used to store the encryption algorithms used when encrypting information of various levels;

[0015] The encryption unit is used to select a corresponding encryption algorithm according to the encryption level of the information to be encrypted to encrypt the information to be encrypted, so as to obtain the encrypted information.

[0016] Preferably, selecting a corresponding encryption algorithm according to the encryption level of the information to be encrypted to encrypt the information to be encrypted, and obtaining the encrypted information includes:

[0017] If the encryption level is level 1, the data to be encrypted will not be encrypted;

[0018] If the encryption level is greater than or equal to level 2, a corresponding encryption algorithm is selected according to the encryption level of the information to be encrypted to encrypt the information to be encrypted, thereby obtaining the encrypted information.

[0019] Preferably, the algorithm used when encrypting information with an encryption level of 4 is the scrypt algorithm; the algorithm used when encrypting information with an encryption level of 3 is the PBKDF2 algorithm; and the algorithm used when encrypting information with an encryption level of 2 is a symmetric encryption algorithm.

[0020] Preferably, it also includes a database module, which is used to store the encrypted information, and is used to store the information with an encryption level of 1.

[0021] Preferably, it also includes an encryption algorithm setting module, which is used by the backend administrator to set different encryption algorithms for information of different levels, and send the setting results to the encryption algorithm storage unit for storage.

[0022] Preferably, the encryption algorithm setting module includes a face recognition unit, an operation unit and a communication unit;

[0023] The face recognition unit is used to perform face recognition on backstage management personnel;

[0024] The operation unit is used to set different encryption algorithms for different levels of information of backstage managers through face recognition;

[0025] The communication unit is used to send the setting result to the encryption algorithm storage unit for storage.

[0026] In the present invention, by judging the encryption level of the information to be encrypted, different encryption algorithms can be used for encryption processing for information of different encryption levels, while ensuring the effect of data encryption, avoiding the use of the same encryption algorithm for data encryption of all information, and effectively reducing the computing pressure in the data encryption process. Because if all encryption algorithms with poor encryption effect are used for encryption, then the computing pressure is low, but the encryption effect for more important information is not good enough, and if all encryption algorithms with poor encryption effect are used for encryption, then the encryption effect is guaranteed, but the computing pressure will be very large. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The present disclosure will be more fully understood from the detailed description given hereinafter and the accompanying drawings, which are given by way of illustration only and thus do not limit the present disclosure, and in which:

[0028] Figure 1 This is a first schematic diagram of a platform information security encryption system of the present invention.

[0029] Figure 2 This is a second schematic diagram of a platform information security encryption system of the present invention.

[0030] Figure 3 This is a third schematic diagram of a platform information security encryption system of the present invention.

[0031] Figure 4 This is a fourth schematic diagram of a platform information security encryption system of the present invention. DETAILED DESCRIPTION

[0032] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0033] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0034] like Figure 1 In one embodiment shown, the present invention provides a platform information security encryption system, including a level division module, the level division module includes an encryption level storage unit and a division unit;

[0035] The storage unit is used to store the preset encryption levels of various types of information;

[0036] The division unit is used to judge the information to be encrypted, judge the type of the information to be encrypted, and obtain the encryption level of the information to be encrypted based on the type.

[0037] In the present invention, by judging the encryption level of the information to be encrypted, different encryption algorithms can be used for encryption processing for information of different encryption levels, while ensuring the effect of data encryption, avoiding the use of the same encryption algorithm for data encryption of all information, and effectively reducing the computing pressure in the data encryption process. Because if all encryption algorithms with poor encryption effect are used for encryption, then the computing pressure is low, but the encryption effect for more important information is not good enough, and if all encryption algorithms with poor encryption effect are used for encryption, then the encryption effect is guaranteed, but the computing pressure will be very large.

[0038] Preferably, the types of information include account information, transaction information, operation record information and communication information;

[0039] The encryption level of account information is level 4, the encryption level of transaction information is level 3, the encryption level of operation record information is level 2, and the encryption level of communication information is level 1.

[0040] Specifically, the above information types are only examples, and the higher the importance of the information, the higher the encryption level.

[0041] Preferably, the account information includes account number, password, mobile phone number, email address, security question and security answer.

[0042] Preferably, the transaction information includes order information, logistics information, etc.

[0043] Operation record information includes search records, click records, etc.

[0044] Communication information includes chat records, call records, etc.

[0045] The network platform of the present invention may be a platform with transaction functions, such as a shopping platform, a recycling platform, etc.

[0046] Preferably, if Figure 2 As shown, it also includes an information encryption module,

[0047] The information encryption module is used to encrypt the information to be encrypted according to the encryption level of the information to be encrypted.

[0048] In the present invention, encryption algorithms corresponding to encryption information of different encryption levels are different.

[0049] Preferably, the information encryption module includes an encryption algorithm storage unit and an encryption unit;

[0050] The encryption algorithm storage unit is used to store the encryption algorithms used when encrypting information of various levels;

[0051] The encryption unit is used to select a corresponding encryption algorithm according to the encryption level of the information to be encrypted to encrypt the information to be encrypted, so as to obtain the encrypted information.

[0052] In the present invention, the encryption algorithms used for information of different encryption levels are set in advance. During the encryption process, the corresponding encryption algorithm is directly queried according to the encryption level, and then the queried encryption algorithm is used to encrypt the data to be encrypted.

[0053] Preferably, selecting a corresponding encryption algorithm according to the encryption level of the information to be encrypted to encrypt the information to be encrypted, and obtaining the encrypted information includes:

[0054] If the encryption level is level 1, the data to be encrypted will not be encrypted;

[0055] If the encryption level is greater than or equal to level 2, a corresponding encryption algorithm is selected according to the encryption level of the information to be encrypted to encrypt the information to be encrypted, thereby obtaining the encrypted information.

[0056] Information with an encryption level of 1 is considered to be relatively less important in the present invention, but it takes up more storage space. For example, there may be images, videos, etc. in chat records, which will take up more storage space. For this information, the present invention directly compresses the plain text and then saves it.

[0057] Preferably, the algorithm used when encrypting information with an encryption level of 4 is the scrypt algorithm; the algorithm used when encrypting information with an encryption level of 3 is the PBKDF2 algorithm; and the algorithm used when encrypting information with an encryption level of 2 is a symmetric encryption algorithm.

[0058] scrypt is a cryptographic derivation algorithm created by Colin Percival. Using the scrypt algorithm to generate derived keys requires a lot of memory. The scrypt algorithm was published as the RFC 7914 standard in 2016. The main function of the crypt derivation algorithm is to generate a series of derived passwords based on the initialized master password. This algorithm is mainly designed to resist brute force attacks. By increasing the complexity of password generation, the difficulty of brute force attacks is also increased.

[0059] Commonly used algorithms in symmetric encryption algorithms include: DES, 3DES, TDEA, Blowfish, RC2, RC4, RC5, IDEA, SKIPJACK, etc.

[0060] In the present invention, the higher the encryption level, the more complex the corresponding encryption algorithm, the better the encryption effect, and accordingly, the more time-consuming it is to encrypt data of the same size.

[0061] Preferably, if Figure 3 As shown, a database module is also included, and the database module is used to store the encrypted information, so as to store the information with encryption level 1.

[0062] The database module saves the information with encryption level 1 in plain text.

[0063] Preferably, if Figure 4 As shown, it also includes an encryption algorithm setting module, which is used by the background management personnel to set different encryption algorithms for information of different levels, and send the setting results to the encryption algorithm storage unit for storage.

[0064] Preferably, the encryption algorithm setting module includes a face recognition unit, an operation unit and a communication unit;

[0065] The face recognition unit is used to perform face recognition on backstage management personnel;

[0066] The operation unit is used to set different encryption algorithms for different levels of information of backstage managers through face recognition;

[0067] The communication unit is used to send the setting result to the encryption algorithm storage unit for storage.

[0068] The face recognition unit is provided so that the encryption algorithm setting module can only be used by background management personnel with corresponding management authority, thereby improving the security of the information security encryption system of the present invention.

[0069] The management authority can be set by the administrator with the highest management authority. When setting the management authority, the facial image of the corresponding backstage manager is also entered into the face recognition unit.

[0070] Preferably, face recognition is performed on backstage management personnel, including:

[0071] Obtain facial images of backstage managers;

[0072] Preprocess the facial image to obtain an image to be recognized;

[0073] Perform facial recognition on backend managers based on the image to be recognized.

[0074] Preprocessing facial images can enhance the edges of the image and the difference between the facial area and the non-facial area, thereby enriching the effective information of the facial area in the image to be recognized, which is conducive to improving the success rate of face recognition.

[0075] Preferably, preprocessing the facial image to obtain the image to be recognized includes:

[0076] Perform edge detection on the facial image to obtain the set of edge pixels in the facial image ;

[0077] Perform image segmentation on the facial image to obtain a set of pixel points at the boundary of the foreground area and the background area ;

[0078] Perform skin color recognition on the facial image to obtain a set of pixel points at the boundary between the skin area and the non-skin area ;

[0079] based on , , Get the area that needs to be processed ;

[0080] In facial images The pixels in are preprocessed to obtain the image to be recognized.

[0081] In the process of preprocessing, the present invention does not directly obtain the connected domain based on the result of edge detection and then perform preprocessing, but obtains the region by integrating the results of edge detection, image segmentation processing and skin color recognition processing. , then The pixels in the image are preprocessed, thereby improving the effectiveness of the preprocessing process.

[0082] Because of the single edge detection, the face area may not be completely closed in the detection results, that is, some pixels on the edge of the face area are not correctly identified as edge pixels. This will cause the subsequent preprocessing to be performed on non-face areas, resulting in invalid processing and failure to improve the effective information of the face area.

[0083] The method for determining the pixel point at the boundary between the foreground area and the background area is as follows: for pixel point a, if pixel point a is a pixel point in the foreground area, and there are pixels in the background area in the 8-neighborhood of pixel point a, then pixel point a is a pixel point at the boundary between the foreground area and the background area.

[0084] The method for determining a pixel point at the boundary between the skin area and the non-skin area is as follows: for pixel point b, if pixel point b is a pixel point in the skin area, and there are pixels in the non-skin area in the 8-neighborhood of pixel point b, then pixel point b is a pixel point at the boundary between the skin area and the non-skin area.

[0085] Preferably, algorithms that can be used to perform edge detection on facial images include Roberts edge detection algorithm, Sobel edge detection algorithm, Laplace edge detection algorithm, etc.

[0086] Preferably, performing image segmentation processing on the facial image includes:

[0087] The Otsu method is used to segment the facial images.

[0088] Preferably, performing skin color recognition processing on the facial image includes:

[0089] The elliptical skin color model is used to perform skin color recognition on facial images.

[0090] Preferably, based on , , Get the area that needs to be processed ,include:

[0091] The first step is Perform the following operation on each endpoint in to obtain the updated set ;

[0092] for Endpoints in , judged with n as the center, Window Whether there are other endpoints in the memory, if so, get them A collection of other endpoints in , D represents the endpoint The size of the corresponding adaptive window;

[0093] Get In the window The set of pixels within ;

[0094] Get In the window The set of pixels within ;

[0095] Judgment Set Can the pixel points in connect the connection endpoint n and at least one endpoint in;

[0096] If so, then Join Get the updated collection ;

[0097] If not, then determine the set Can the pixel points in connect the connection endpoint n and At least one endpoint in Join Get the updated collection ;

[0098] If not, then end the operation on endpoint n;

[0099] The second step is based on the updated set Get the largest connected domain in the face image and use the largest connected domain as the region .

[0100] Specifically, in the process of edge repairing the endpoints, the present invention does not judge whether edge repairing can be performed based on the slope relationship between the endpoints, but uses the set and To determine whether the edge repair of the endpoint is needed, because the slope relationship can only determine the connection repair of the endpoints on the same straight line, and only a part of the edge can be repaired. The degree of repair is poor.

[0101] Compared with the existing straight line repair method, which directly connects two endpoints, the set-based and The pixel points in the repair can make the endpoint n and the set The other endpoints in the image are repaired in a way that is very close to the original edge trend, thereby effectively retaining the original edge information.

[0102] Preferably, the calculation function of the adaptive window size is:

[0103]

[0104] in, , is the weight, , Indicates endpoint The area with the center as the circle and the radius as Q is The number of line segments formed by the pixels in Indicates the maximum number of preset line segments. Indicates endpoint The total number of pixels in the area with a radius of Q and a center of the circle. Indicates endpoint The set of pixels in the area with a radius of Q and a center of the circle. Represents the gray value of pixel s, Indicates a preset constant greater than 3; Represents the comparison value of the preset gray value variance, Representation endpoint The corresponding intermediate value of the adaptive window size;

[0105] like If is an even number, Add 1 to the value of The corresponding adaptive window size D;

[0106] like If is an odd number, then directly The value of The corresponding adaptive window size D value.

[0107] In the present invention, an adaptive window is used to detect other endpoints, not a fixed-size window, because the line segment distribution around different endpoints and the endpoint distribution are different. If a fixed size is directly used, when there are many line segments and the gray value changes drastically, due to the presence of noise, incorrect connections may occur. Therefore, in order to improve the accuracy of edge repair, the present invention uses endpoints to detect the line segment distribution around different endpoints. The size of the adaptive window is calculated based on the number of line segments and the difference in the grayscale values ​​of the pixels in the area with a radius of Q as the center, so that the more line segments there are and the greater the difference in the grayscale values ​​of the pixels, the smaller the size of the adaptive window is, which effectively reduces the probability of incorrect connection. In areas with fewer line segments and smaller differences in the grayscale values ​​of the pixels, the larger the size of the adaptive window is, which can expand the detection range and obtain a larger detection range, so that the edges of as many endpoints as possible can be repaired.

[0108] Preferably, in the facial image The pixels in are preprocessed to obtain the image to be recognized, including:

[0109] Brightness equalization algorithm is used to The pixels in are preprocessed to obtain the image to be recognized.

[0110] Preferably, performing face recognition on the backend management personnel based on the image to be recognized includes:

[0111] The similarity between the image to be identified and each face image pre-entered in the face recognition unit is calculated respectively, and it is determined whether the face recognition unit stores a face image whose similarity with the image to be identified is greater than the set similarity threshold value. If so, it means that the face recognition has passed, if not, it means that the face recognition has not passed.

[0112] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A platform information security encryption system, characterized in that: It includes a level division module, which includes an encryption level storage unit and a division unit; The storage unit is used to store the preset encryption levels of various types of information; The division unit is used to judge the information to be encrypted, judge the type of the information to be encrypted, and obtain the encryption level of the information to be encrypted based on the type; It also includes information encryption module, The information encryption module is used to encrypt the information to be encrypted according to the encryption level of the information to be encrypted; The information encryption module includes an encryption algorithm storage unit and an encryption unit; The encryption algorithm storage unit is used to store the encryption algorithms used when encrypting information of various levels; The encryption unit is used to select a corresponding encryption algorithm according to the encryption level of the information to be encrypted to encrypt the information to be encrypted, and obtain the encrypted information; It also includes an encryption algorithm setting module, which is used by the backend administrator to set different encryption algorithms for information of different levels, and send the setting results to the encryption algorithm storage unit for storage; The encryption algorithm setting module includes a face recognition unit, an operation unit and a communication unit; The face recognition unit is used to perform face recognition on backstage management personnel; The operation unit is used to set different encryption algorithms for different levels of information of backstage managers through face recognition; The communication unit is used to send the setting result to the encryption algorithm storage unit for storage; Perform facial recognition on backend management personnel, including: Obtain facial images of backstage managers; Preprocess the facial image to obtain an image to be recognized; Perform face recognition on back-end management personnel based on the image to be recognized; Preprocess the facial image to obtain the image to be recognized, including: Perform edge detection on the facial image to obtain a set of edge pixel points firU in the facial image; Perform image segmentation processing on the facial image to obtain a set of pixel points secU at the boundary between the foreground area and the background area; Perform skin color recognition processing on the facial image to obtain a set of pixel points thiU at the boundary between the skin area and the non-skin area; Based on firU, secU, and thiU, obtain the area ntpdl that needs to be processed; Preprocess the pixels in ntpdl in the facial image to obtain the image to be recognized; Based on firU, secU, and thiU, the ntpdl of the area to be processed is obtained, including: The first step is to perform the following operations on each endpoint in firU to obtain the updated set firU; For endpoint n in firU, determine the D×D window w centered on n. n Is there any other endpoint in the memory? If so, get w n The collection of other endpoints in otu n , D represents the size of the adaptive window corresponding to endpoint n; Get the window w in secU n The set of pixels in secu n ; Get the window w in thiU n The set of pixels within thiu n ; Judgment set secu n Can the pixel points in connect the connection endpoints n and otu n at least one endpoint in; If so, then secu n Add to firU to obtain the updated set firU; If not, then determine the set thiu n Can the pixel points in connect the connection endpoints n and otu n At least one endpoint in , if so, then thiu n Add to firU to obtain the updated set firU; If not, then end the operation on endpoint n; The second step is to obtain the connected domain with the largest area in the face image based on the updated set firU, and take the connected domain with the largest area as the region ntpdl; The calculation function of the adaptive window size is: Among them, α and β are weights, α+β=1, Nsgm represents the number of line segments formed by the pixels in firU in the area with a radius of Q and an endpoint n as the center, tpnsgm represents the preset maximum number of line segments, Npix represents the total number of pixels in the area with a radius of Q and an endpoint n as the center, nsk represents the set of pixels in the area with a radius of Q and an endpoint n as the center, and flrs s represents the gray value of pixel s, bast represents a preset constant greater than 3; tpflrs represents a preset comparison value of the gray value variance, and tmpD represents the middle value of the size of the adaptive window corresponding to the endpoint n; If tmpD is an even number, add 1 to the value of tmpD to obtain the size D of the adaptive window corresponding to endpoint n; If tmpD is an odd number, the value of tmpD is directly used as the value of the size D of the adaptive window corresponding to the endpoint n.

2. A platform information security encryption system according to claim 1, characterized in that: The types of information include account information, transaction information, operation record information and communication information; The encryption level of account information is level 4, the encryption level of transaction information is level 3, the encryption level of operation record information is level 2, and the encryption level of communication information is level 1.

3. A platform information security encryption system according to claim 1, characterized in that: Account information includes account number, password, mobile phone number, email address, security questions and answers.

4. A platform information security encryption system according to claim 1, characterized in that: According to the encryption level of the information to be encrypted, a corresponding encryption algorithm is selected to encrypt the information to be encrypted, and the encrypted information is obtained, including: If the encryption level is level 1, the data to be encrypted will not be encrypted; If the encryption level is greater than or equal to level 2, a corresponding encryption algorithm is selected according to the encryption level of the information to be encrypted to encrypt the information to be encrypted, thereby obtaining the encrypted information.

5. A platform information security encryption system according to claim 4, characterized in that: The algorithm used to encrypt information with encryption level 4 is the scrypt algorithm; the algorithm used to encrypt information with encryption level 3 is the PBKDF2 algorithm; the algorithm used to encrypt information with encryption level 2 is the symmetric encryption algorithm.

6. A platform information security encryption system according to claim 1, characterized in that: It also includes a database module, which is used to store the encrypted information, and is used to store the information with an encryption level of 1.