Information security management method, device and storage medium based on big data
By using the information security management method based on big data in the cloud server, private tokens are generated to encrypt and decrypt the big data information, and similarity calculations are performed to merge the same data into the same node, which solves the problem of cloud server information security and data management capabilities. It improves the security of information management and the credibility of data sharing.
Patent Information
- Application Number
- CN202410246070.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-05
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-03-05
AI Technical Summary
The existing data management model cannot effectively support the value mining and utilization of massive data, resulting in difficulty in data sharing, low credibility, insufficient management capabilities, and unprotected cloud server information security.
Adopt an information security management method based on big data to verify user identity by generating private tokens, encrypt the big data information, perform decryption and similarity calculation in the target node, merge the same data to the same node, and release the cloud server resources to improve information management security.
It improves the information management security of big data in cloud servers, enhances the credibility and management capabilities of data sharing, reduces the workload of data management, and ensures the health and relationship of data assets.
Smart Images

Figure CN118157928B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of big data and data management, and in particular to an information security management method, device and storage medium based on big data. Background Art
[0002] With the continuous development of information construction and the continuous advancement of big data construction, many systems have accumulated a large amount of data resources, and the demand for data value mining is increasing. However, the existing data management model can no longer effectively support the demand for value mining and utilization of massive data, and data management capabilities need to be improved urgently. At present, data assets are not transparent, and it is difficult to "know the situation" and answer questions such as what data the company has, where the data is, and how the stock flow is. Data has become a mess. There is a lack of management methods for the entire process of massive data from generation, storage, processing to use, and it is difficult to grasp the data status, resulting in a series of problems such as difficulty in data sharing, low data credibility, and difficulty in data value mining. At the same time, massive business data is only managed manually or in the form of documents. The workload and difficulty of data management are increasing, and the management capacity is obviously insufficient, resulting in decision makers not knowing the asset profile, managers not knowing the health of data assets, and operators not knowing the relationship between data assets.
[0003] Therefore, how to ensure the security of information stored in cloud servers becomes particularly important. The information security of cloud servers generally includes two parts: physical security and information security. Physical security generally refers to the security of the equipment in the computer room where the cloud server is stored, while information security includes access rights security and backup security. In the prior art, the security management of equipment in the computer room is generally carried out by regular inspections by dedicated personnel. This method cannot timely discover the potential safety hazards of equipment in the computer room, resulting in the information security of the cloud server not being guaranteed. Therefore, how to improve the information management security of big data in cloud servers has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides a big data-based information security management method, device and storage medium to improve the information management security of big data in a cloud server.
[0005] In a first aspect, the present application provides an information security management method based on big data, the method comprising:
[0006] Upon receiving a preset operation instruction, a private token is generated;
[0007] When the private token passes the verification, in response to the preset operation instruction, each piece of data information is encrypted to generate encrypted information, and each piece of encrypted information is sent to the corresponding target node respectively;
[0008] Decrypting the encrypted information in each of the target nodes to obtain the big data information, and calculating the similarity of the big data information in each of the target nodes;
[0009] Based on the similarity, the same big data information in each target node is merged into the same node.
[0010] Furthermore, before calculating the similarity of the big data information in each target node, it includes:
[0011] Backing up the big data information in each of the target nodes to generate backup information;
[0012] Saving the backup information to the first standby node;
[0013] When the big data information in the target node fails, the first standby node is updated to the target node, and the backup information is saved to the second standby node.
[0014] Further, upon receiving a preset operation instruction, generating a private token includes:
[0015] Obtaining the current user's account information and determining the validity period of the account information;
[0016] Generate session information, and parse the session information through a public server, wherein the session information includes the account information and the validity period, and the target node belongs to the public server;
[0017] The key information in the preset key group is obtained, and the session information is encrypting through the public server and the key information to generate the private token.
[0018] Furthermore, when the private token passes the verification, in response to the preset operation instruction, each piece of data information is encrypted to generate encrypted information, and each piece of encrypted information is sent to the corresponding target node respectively, including:
[0019] Obtaining timestamp information of each of the big data information;
[0020] If the number of the encrypted information received by the target node is greater than 1, the encrypted information is received based on the order of the timestamp information corresponding to the large data information.
[0021] Furthermore, when the private token passes the verification, in response to the preset operation instruction, each major data information is encrypted to generate encrypted information, including:
[0022] Randomly construct at least one page of a character mapping table, wherein the character mapping table includes 256 ASCII code characters and each of the ASCII code characters appears once in each page of the character mapping table;
[0023] The encrypted information is generated based on each of the big data information and each of the character mapping tables.
[0024] Further, based on each of the big data information and each of the character mapping tables, generating the encryption information includes:
[0025] For each character a in the big data information, a random number k is randomly selected, and the position information of the character a in the character mapping table on page k is searched, and the random number k and the position information are used as the encryption information of the character a.
[0026] Further, calculating the similarity of the big data information in each target node includes:
[0027] Perform word segmentation processing on each of the big data information to generate at least one segment of characters;
[0028] Based on a preset vector extraction algorithm and each of the characters, generating at least one set of character vectors;
[0029] Based on at least one group of the character vectors, determining an information vector corresponding to each of the big data information;
[0030] Based on each of the information vectors, the cosine distance between each of the big data information is calculated, and the cosine distance is used as the similarity.
[0031] Further, based on the similarity, the same big data information in each target node is merged into the same node, including:
[0032] Determine at least two pieces of big data information whose similarity is greater than a preset similarity threshold as similar information;
[0033] The similar information is merged into the same node.
[0034] In a second aspect, the present application also provides an information security management device based on big data, the device comprising:
[0035] A private token generation module, used to generate a private token when receiving a preset operation instruction;
[0036] An information encryption module, used for encrypting various data information in response to the preset operation instruction when the private token passes the verification, generating encrypted information, and sending each encrypted information to the corresponding target node respectively;
[0037] A similarity calculation module, used to decrypt the encrypted information in each of the target nodes, obtain the big data information, and calculate the similarity of the big data information in each of the target nodes;
[0038] The information merging module is used to merge the same big data information in each target node into the same node based on the similarity.
[0039] In a third aspect, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements the information security management method based on big data as described above.
[0040] The present application discloses a method, device and storage medium for information security management based on big data, wherein the method includes generating a private token when receiving a preset operation instruction; encrypting each data information in response to the preset operation instruction when the private token passes the verification, generating encrypted information, and sending each encrypted information to the corresponding target node respectively; decrypting the encrypted information in each target node, obtaining the big data information, and calculating the similarity of the big data information in each target node; based on the similarity, merging the same big data information in each target node into the same node. In the above manner, the present application generates a private token when receiving a preset operation instruction, and verifies the user identity through the private token. Encrypt the big data information, send the encrypted big data information to the target node, decrypt it through the target node and calculate the similarity of each data information, so as to migrate the same big data information to the same target node to release the cloud server resources, and improve the information management security of the big data in the cloud server. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0042] Figure 1 is a schematic flow chart of an information security management method based on big data provided by the first embodiment of the present application;
[0043] Figure 2 is a schematic flow chart of an information security management method based on big data provided by the first embodiment of the present application;
[0044] Figure 3is a schematic flow chart of an information security management method based on big data provided by the first embodiment of the present application;
[0045] Figure 4 A schematic block diagram of an information security management device based on big data provided in an embodiment of the present application;
[0046] Figure 5 A schematic block diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0049] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0050] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0051] The embodiments of the present application provide an information security management method, device and storage medium based on big data. Among them, the information security management method based on big data can be applied to a server, and when a preset operation instruction is received, a private token is generated, and the user identity is verified through the private token. The big data information is encrypted, and the encrypted big data information is sent to the target node, and the target node decrypts and calculates the similarity of each large data information, so that the same big data information can be migrated to the same target node to release cloud server resources, thereby improving the information management security of big data in the cloud server. Among them, the server can be an independent server or a server cluster.
[0052] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0053] See also Figure 1 , Figure 1 This is a schematic flow chart of a method for information security management based on big data provided by the first embodiment of the present application. The method for information security management based on big data can be applied to a server, and is used to generate a private token and verify the user identity through the private token when receiving a preset operation instruction. The big data information is encrypted and sent to the target node, and the target node decrypts and calculates the similarity of each piece of data information, so that the same big data information can be migrated to the same target node to release cloud server resources, thereby improving the information management security of big data in the cloud server.
[0054] like Figure 1 As shown, the information security management method based on big data specifically includes steps S10 to S40.
[0055] Step S10: upon receiving a preset operation instruction, generate a private token;
[0056] In one embodiment, a private token is a Token, and a simple Token is composed of: UID (unique identity of the user), Time (timestamp of the current time), and sign (signature, the first few digits of the token are compressed into a hexadecimal string of a certain length using a hash algorithm).
[0057] The process of verifying user identity through Token, i.e. private token, is as follows:
[0058] The client logs in using a username and password;
[0059] The server receives the request and verifies the username and password;
[0060] After successful verification, the server will issue a token and send it to the client;
[0061] After receiving the token, the client will store it, such as in a cookie or localStorage. Each time the client requests a resource from the server, it needs to carry the token issued by the server.
[0062] After receiving the request, the server first verifies the token in the client request. If the verification is successful, it returns the requested data to the client.
[0063] Step S20: When the private token passes the verification, in response to the preset operation instruction, encrypt each piece of data information to generate encrypted information, and send each piece of encrypted information to the corresponding target node respectively;
[0064] In one embodiment, the use of a key is crucial during the encryption process. The key is a parameter of the encryption algorithm, and different keys will give different results. Usually, the encryption algorithm is public, but the key should be kept secret. Only those who hold the correct key can successfully decrypt the ciphertext.
[0065] In data encryption, the two common encryption methods are symmetric encryption and asymmetric encryption.
[0066] 1. Symmetric encryption
[0067] Symmetric encryption, also known as private key encryption, uses the same key for encryption and decryption. The sender and receiver must share the same key, which is its main limitation. The advantage of symmetric encryption algorithms is that they are fast and suitable for encrypting large amounts of data, such as files and databases. However, due to the problem of shared keys, symmetric encryption has certain difficulties in key distribution and management.
[0068] 2. Asymmetric encryption
[0069] Asymmetric encryption is also known as public key encryption. It uses two associated keys, one is a public key for encryption and the other is a private key for decryption. The public key is public and can be shared with anyone, while the private key must be kept secret. The advantage of asymmetric encryption algorithms is that they solve the problem of key distribution and management, but they are slower and suitable for encrypting small blocks of data, such as for authentication, digital signatures, and key exchange in secure communications.
[0070] Common encryption algorithms include DES (Data Encryption Standard) and AES (Advanced Encryption Standard).
[0071] Step S30: decrypt the encrypted information in each of the target nodes, obtain the big data information, and calculate the similarity of the big data information in each of the target nodes;
[0072] In one embodiment, the method for calculating the similarity may be to calculate the Euclidean distance, the cosine distance, etc. The similarity between every two big data information in all the big data information is calculated to determine whether there is another big data information similar to the big data information.
[0073] Step S40: Based on the similarity, merge the same big data information in each target node into the same node.
[0074] In one embodiment, each similarity is compared with a preset similarity threshold, two big data information greater than the similarity threshold are determined as similar information, and then the similar information is merged into the same node, which can improve the utilization rate of the cloud server and release resources.
[0075] The present embodiment discloses a method for information security management based on big data, which includes generating a private token when receiving a preset operation instruction; encrypting each data information in response to the preset operation instruction when the private token passes the verification, generating encrypted information, and sending each encrypted information to the corresponding target node respectively; decrypting the encrypted information in each target node, obtaining the big data information, and calculating the similarity of the big data information in each target node; based on the similarity, merging the same big data information in each target node into the same node. In the above manner, the present application generates a private token when receiving a preset operation instruction, and verifies the user identity through the private token. Encrypt the big data information, send the encrypted big data information to the target node, decrypt it through the target node and calculate the similarity of each data information, so as to migrate the same big data information to the same target node to release the cloud server resources, while improving the information management security of the big data in the cloud server.
[0076] See also Figure 2 , Figure 2 This is a schematic flow chart of a method for information security management based on big data provided by the second embodiment of the present application. The method for information security management based on big data can be applied to a server, and is used to save big data information to a target node, and then back up the big data information in a first backup node to generate backup information. When the big data information saved in the target node fails, the first backup node is updated to the target node, and a second backup checkpoint is established for the first backup node, thereby avoiding data loss caused by failure of big data information in the node, and improving the information management security of big data in the cloud server.
[0077] based on Figure 1 The embodiment shown, this embodiment Figure 2 As shown, before step S30, steps S21 to S23 are included.
[0078] Step S21, backing up the big data information in each target node to generate backup information;
[0079] Step S22: saving the backup information to the first standby node;
[0080] Step S23: When the big data information in the target node becomes invalid, the first standby node is updated to the target node, and the backup information is saved to the second standby node.
[0081] In one embodiment, information loss or damage may occur in the cloud server. When the big data information stored in the target node fails (including loss, damage, etc.), the backup information pre-backed up in the first backup node is determined as big data information, and the backup information in the first backup node is backed up again and saved in the second backup node.
[0082] The present embodiment discloses an information security management method based on big data, which includes backing up the big data information in each of the target nodes to generate backup information; saving the backup information to the first backup node; when the big data information in the target node fails, updating the first backup node to the target node, and saving the backup information to the second backup node. In the above manner, the present application saves the big data information to the target node, and backs up the big data information in the first backup node to generate backup information. When the big data information saved in the target node fails, the first backup node is updated to the target node, and a second backup checkpoint is established for the first backup node, thereby avoiding data loss caused by the failure of the big data information in the node, and improving the information management security of big data in the cloud server.
[0083] based on Figure 1 In the embodiment shown, in this embodiment, step S10 includes:
[0084] Obtaining the current user's account information and determining the validity period of the account information;
[0085] Generate session information, and parse the session information through a public server, wherein the session information includes the account information and the validity period, and the target node belongs to the public server;
[0086] The key information in the preset key group is obtained, and the session information is encrypting through the public server and the key information to generate the private token.
[0087] based on Figure 1 In the embodiment shown, in this embodiment, after step S20, the following steps are included:
[0088] Obtaining timestamp information of each of the big data information;
[0089] If the number of the encrypted information received by the target node is greater than 1, the encrypted information is received based on the order of the timestamp information corresponding to the large data information.
[0090] See also Figure 3 , Figure 3 This is a schematic flow chart of an information security management method based on big data provided by the third embodiment of the present application. The information security management method based on big data can be applied to a server, and is used to generate a private token and verify the user identity through the private token when receiving a preset operation instruction. The big data information is encrypted and sent to the target node, and the target node decrypts and calculates the similarity of each large data information, so that the same big data information can be migrated to the same target node to release cloud server resources, thereby improving the information management security of big data in the cloud server.
[0091] based on Figure 1 The embodiment shown, this embodiment Figure 3 As shown, step S20 includes step S201 to step S202.
[0092] Step S201, randomly constructing at least one page of a character mapping table, wherein the character mapping table includes 256 ASCII code characters and each ASCII code character appears once in each page of the character mapping table;
[0093] Step S202: Generate the encryption information based on each of the big data information and each of the character mapping tables.
[0094] In one embodiment, in a computer, all data are represented by binary numbers during storage and calculation (because computers use high and low levels to represent 1 and 0, respectively). For example, 52 letters such as a, b, c, d (including uppercase letters) and numbers such as 0 and 1, as well as some commonly used symbols (such as *, #, @, etc.) are also represented by binary numbers when stored in the computer. Different people have different rules (encodings) for which binary numbers represent which symbols. If you want to communicate with each other without causing confusion, you must use the same encoding rules.
[0095] ASCII (American Standard Code for Information Interchange) is used to display modern English and other Western European languages. It is the most common information exchange standard and is equivalent to the international standard ISO / IEC 646
[0096] ASCII code uses a specified 7-bit or 8-bit binary number combination to represent 128 or 256 possible characters. Standard ASCII code, also called basic ASCII code, uses 7-bit binary numbers (the remaining 1 binary bit is 0) to represent all uppercase and lowercase letters, numbers 0 to 9, and punctuation marks.
[0097] The present embodiment discloses an information security management method based on big data, which includes randomly constructing at least one page of a character mapping table, wherein the character mapping table contains 256 ASCII code characters and each of the ASCII code characters appears once in each page of the character mapping table; based on each of the big data information and each of the character mapping tables, the encryption information is generated. Through the above method, the present application saves the big data information to the target node, and backs up the big data information in the first backup node to generate backup information. When the big data information stored in the target node fails, the first backup node is updated to the target node, and a second backup checkpoint is established for the first backup node, thereby avoiding data loss caused by failure of the big data information in the node, and improving the information management security of big data in the cloud server.
[0098] based on Figure 3 In the embodiment shown, in this embodiment, step S202 includes:
[0099] For each character a in the big data information, a random number k is randomly selected, and the position information of the character a in the character mapping table on page k is searched, and the random number k and the position information are used as the encryption information of the character a.
[0100] based on Figure 1 In the embodiment shown, in this embodiment, step S30 includes:
[0101] Perform word segmentation processing on each of the big data information to generate at least one segment of characters;
[0102] Based on a preset vector extraction algorithm and each of the characters, generating at least one set of character vectors;
[0103] Based on at least one group of the character vectors, determining an information vector corresponding to each of the big data information;
[0104] Based on each of the information vectors, the cosine distance between each of the big data information is calculated, and the cosine distance is used as the similarity.
[0105] Based on any of the above embodiments, in this embodiment, step S40 includes:
[0106] Determine at least two pieces of big data information whose similarity is greater than a preset similarity threshold as similar information;
[0107] The similar information is merged into the same node.
[0108] See also Figure 4 , Figure 4 The embodiment of the present application provides a schematic block diagram of an information security management device based on big data, and the information security management device based on big data is used to execute the aforementioned information security management method based on big data. The information security management device based on big data can be configured on a server.
[0109] like Figure 4 As shown, the information security management device based on big data includes:
[0110] The private token generation module 410 is used to generate a private token when receiving a preset operation instruction;
[0111] The information encryption module 420 is used to encrypt various data information in response to the preset operation instruction when the private token passes the verification, generate encrypted information, and send each encrypted information to the corresponding target node respectively;
[0112] A similarity calculation module 430 is used to decrypt the encrypted information in each of the target nodes, obtain the big data information, and calculate the similarity of the big data information in each of the target nodes;
[0113] The information merging module 440 is used to merge the same big data information in each target node into the same node based on the similarity.
[0114] Furthermore, the information security management device based on big data also includes:
[0115] A backup information generation module, used to back up the big data information in each target node and generate backup information;
[0116] A first standby node saving module, used for saving the backup information to the first standby node;
[0117] The target node update module is used to update the first backup node to the target node when the big data information in the target node fails, and save the backup information to the second backup node.
[0118] Furthermore, the private token generation module 410 includes:
[0119] A validity period determination unit, used to obtain the account information of the current user and determine the validity period of the account information;
[0120] A session information parsing unit, configured to generate session information and parse the session information through a public server, wherein the session information includes the account information and the validity period, and the target node belongs to the public server;
[0121] The private token generation unit is used to obtain key information in a preset key group, and encrypt the session information through the public server and the key information to generate the private token.
[0122] Furthermore, the information security management device based on big data also includes:
[0123] A timestamp information acquisition module, used to acquire the timestamp information of each of the big data information;
[0124] The encryption information receiving module is used to receive the encryption information based on the order of each time stamp information corresponding to each piece of big data information if the number of the encryption information received by the target node is greater than 1.
[0125] Furthermore, the information encryption module 420 includes:
[0126] A character mapping table construction unit, used for randomly constructing at least one page of a character mapping table, wherein the character mapping table includes 256 ASCII code characters and each of the ASCII code characters appears once in each page of the character mapping table;
[0127] The encryption information generating unit is used to generate the encryption information based on each of the big data information and each of the character mapping tables.
[0128] Furthermore, the encryption information generating unit includes:
[0129] The encryption information generating subunit is used to randomly select a random number k for each character a in each of the big data information, find the position information of the character a in the character mapping table on page k, and use the random number k and the position information as the encryption information of the character a.
[0130] Furthermore, the similarity calculation module 430 includes:
[0131] A word segmentation unit, used to perform word segmentation processing on each of the big data information to generate at least one segment of characters;
[0132] A character vector generating unit, configured to generate at least one set of character vectors based on a preset vector extraction algorithm and each of the characters;
[0133] An information vector determining unit, used to determine the information vector corresponding to each of the big data information based on at least one group of the character vectors;
[0134] The similarity determination unit is used to calculate the cosine distance between each of the big data information based on each of the information vectors, and use the cosine distance as the similarity.
[0135] Furthermore, the information merging module 440 includes:
[0136] A similarity comparison unit, configured to determine at least two pieces of big data information whose similarity is greater than a preset similarity threshold as similar information;
[0137] The similar information merging unit is used to merge the similar information into the same node.
[0138] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0139] The above-mentioned device can be implemented in the form of a computer program. Figure 5 Runs on the computer device shown.
[0140] See also Figure 5 , Figure 5 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device may be a server.
[0141] See also Figure 5 The computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.
[0142] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any one of the information security management methods based on big data.
[0143] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
[0144] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any information security management method based on big data.
[0145] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0146] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0147] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0148] Upon receiving a preset operation instruction, a private token is generated;
[0149] When the private token passes the verification, in response to the preset operation instruction, each piece of data information is encrypted to generate encrypted information, and each piece of encrypted information is sent to the corresponding target node respectively;
[0150] Decrypting the encrypted information in each of the target nodes to obtain the big data information, and calculating the similarity of the big data information in each of the target nodes;
[0151] Based on the similarity, the same big data information in each target node is merged into the same node.
[0152] In one embodiment, before calculating the similarity of the big data information in each target node, it is used to achieve:
[0153] Backing up the big data information in each of the target nodes to generate backup information;
[0154] Saving the backup information to the first standby node;
[0155] When the big data information in the target node fails, the first standby node is updated to the target node, and the backup information is saved to the second standby node.
[0156] In one embodiment, upon receiving a preset operation instruction, a private token is generated to implement:
[0157] Obtaining the current user's account information and determining the validity period of the account information;
[0158] Generate session information, and parse the session information through a public server, wherein the session information includes the account information and the validity period, and the target node belongs to the public server;
[0159] The key information in the preset key group is obtained, and the session information is encrypting through the public server and the key information to generate the private token.
[0160] In one embodiment, when the private token passes the verification, in response to the preset operation instruction, each piece of data information is encrypted to generate encrypted information, and each piece of encrypted information is sent to the corresponding target node respectively, so as to achieve:
[0161] Obtaining timestamp information of each of the big data information;
[0162] If the number of the encrypted information received by the target node is greater than 1, the encrypted information is received based on the order of the timestamp information corresponding to the large data information.
[0163] In one embodiment, when the private token passes the verification, in response to the preset operation instruction, each piece of data information is encrypted to generate encrypted information for implementing:
[0164] Randomly construct at least one page of a character mapping table, wherein the character mapping table includes 256 ASCII code characters and each of the ASCII code characters appears once in each page of the character mapping table;
[0165] The encrypted information is generated based on each of the big data information and each of the character mapping tables.
[0166] In one embodiment, the encryption information is generated based on each of the big data information and each of the character mapping tables to achieve:
[0167] For each character a in the big data information, a random number k is randomly selected, and the position information of the character a in the character mapping table on page k is searched, and the random number k and the position information are used as the encryption information of the character a.
[0168] In one embodiment, the similarity of the big data information in each target node is calculated to achieve:
[0169] Perform word segmentation processing on each of the big data information to generate at least one segment of characters;
[0170] Based on a preset vector extraction algorithm and each of the characters, generating at least one set of character vectors;
[0171] Based on at least one group of the character vectors, determining an information vector corresponding to each of the big data information;
[0172] Based on each of the information vectors, the cosine distance between each of the big data information is calculated, and the cosine distance is used as the similarity.
[0173] In one embodiment, based on the similarity, the same big data information in each target node is merged into the same node to achieve:
[0174] Determine at least two pieces of big data information whose similarity is greater than a preset similarity threshold as similar information;
[0175] The similar information is merged into the same node.
[0176] A computer-readable storage medium is also provided in an embodiment of the present application, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the processor executes the program instructions to implement any one of the information security management methods based on big data provided in the embodiments of the present application.
[0177] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the computer device.
[0178] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. An information security management method based on big data, characterized in that: include: Upon receiving a preset operation instruction, a private token is generated; When the private token passes the verification, in response to the preset operation instruction, each piece of data information is encrypted to generate encrypted information, and each piece of encrypted information is sent to the corresponding target node respectively; Decrypting the encrypted information in each of the target nodes to obtain the big data information, and calculating the similarity of the big data information in each of the target nodes; Based on the similarity, the same big data information in each target node is merged into the same node; Wherein, when the private token passes the verification, in response to the preset operation instruction, various data information are encrypted to generate encrypted information, including: Randomly constructing at least one page of a character mapping table, wherein the character mapping table includes 256 ASCII code characters and each ASCII code character appears once in each page of the character mapping table; Generate the encryption information based on each of the big data information and each of the character mapping tables; The step of generating the encrypted information based on each of the big data information and each of the character mapping tables includes: For each character a in the big data information, a random number k is randomly selected, and the position information of the character a in the character mapping table on page k is searched, and the random number k and the position information are used as the encryption information of the character a.
2. The information security management method based on big data according to claim 1 is characterized in that: Before calculating the similarity of the big data information in each target node, the method includes: Backing up the big data information in each of the target nodes to generate backup information; Saving the backup information to the first standby node; When the big data information in the target node fails, the first standby node is updated to the target node, and the backup information is saved to the second standby node.
3. The information security management method based on big data according to claim 1 is characterized in that: The generating of a private token upon receiving a preset operation instruction comprises: Obtaining the current user's account information and determining the validity period of the account information; Generate session information, and parse the session information through a public server, wherein the session information includes the account information and the validity period, and the target node belongs to the public server; The key information in the preset key group is obtained, and the session information is encrypting through the public server and the key information to generate the private token.
4. The information security management method based on big data according to claim 1 is characterized in that: When the private token passes the verification, in response to the preset operation instruction, each piece of data information is encrypted to generate encrypted information, and each piece of encrypted information is sent to the corresponding target node respectively, including: Obtaining timestamp information of each of the big data information; If the number of the encrypted information received by the target node is greater than 1, the encrypted information is received based on the order of the timestamp information corresponding to the large data information.
5. The information security management method based on big data according to claim 1 is characterized in that: The calculating the similarity of the big data information in each target node includes: Perform word segmentation processing on each of the big data information to generate at least one segment of characters; Based on a preset vector extraction algorithm and each of the characters, generating at least one set of character vectors; Based on at least one group of the character vectors, determining an information vector corresponding to each of the big data information; Based on each of the information vectors, the cosine distance between each of the big data information is calculated, and the cosine distance is used as the similarity.
6. The information security management method based on big data according to any one of claims 1 to 5, characterized in that: The step of merging the same big data information in each target node into the same node based on the similarity includes: Determine at least two pieces of big data information whose similarity is greater than a preset similarity threshold as similar information; The similar information is merged into the same node.
7. An information security management device based on big data, characterized in that: include: A private token generation module, used to generate a private token when receiving a preset operation instruction; An information encryption module, used for encrypting various data information in response to the preset operation instruction when the private token passes the verification, generating encrypted information, and sending each encrypted information to the corresponding target node respectively; A similarity calculation module, used to decrypt the encrypted information in each of the target nodes, obtain the big data information, and calculate the similarity of the big data information in each of the target nodes; An information merging module, used for merging the same big data information in each target node into the same node based on the similarity; Wherein, the information encryption module includes: A character mapping table construction unit, used for randomly constructing at least one page of a character mapping table, wherein the character mapping table includes 256 ASCII code characters and each ASCII code character appears once in each page of the character mapping table; An encryption information generating unit, used for generating the encryption information based on each of the big data information and each of the character mapping tables; Wherein, the encryption information generating unit includes: The encryption information generating subunit is used to randomly select a random number k for each character a in each of the big data information, find the position information of the character a in the character mapping table on page k, and use the random number k and the position information as the encryption information of the character a.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, enables the processor to implement the information security management method based on big data as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Resource access and data processing method and device, electronic equipment and medium
CN114528571A
