Big data access control method for broadcast communication based on asymmetric encryption
Through the broadcast communication method and attribute matching based on asymmetric encryption, combined with the secret sharing scheme, the problem of confidentiality and accessibility in big data access control is solved, and fine-grained access control and key management are simplified, improving the Data security.
Patent Information
- Application Number
- CN202410904323.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Existing identity- and attribute-based encryption mechanisms are difficult to achieve complete privacy protection and key management complexity in big data access control, making it difficult to balance confidentiality and accessibility.
Adopt a broadcast communication method based on asymmetric encryption, generate decryption keys through master keys and attribute-based access control, use attributes, attribute relationships and access policy matching to achieve fine-grained access control, combined with secret sharing schemes and algorithms (such as Lu Co-Waters, Bemel, Liu Cao algorithm) for encryption and decryption.
It achieves more fine-grained access control, improves the confidentiality and accessibility of big data, simplifies key management, and enhances the security of data during transmission and storage.
Smart Images

Figure CN118449787B
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to a big data access control method for broadcast communications based on asymmetric encryption. Background Art
[0002] With the continuous development and maturity of technologies such as cloud computing and mobile Internet, technical support has been provided for big data storage, allowing many users to achieve high-speed and efficient data operations on different terminals. The continuous deepening of application scenarios such as e-commerce platforms, social networks, digital cities, and enterprise digital transformation, as well as the unprecedented development of the Internet of Things and artificial intelligence to generate a wide variety of data, have also made the data types, data structures, and data relationships in big data scenarios increasingly complex. Issues such as data security and personal privacy protection have also gradually become prominent, and risks have occurred frequently.
[0003] In terms of access control for big data and cloud storage, the two main schemes currently used are identity-based encryption (IBE) and attribute-based encryption (ABE). Identity-based encryption usually uses the user's identity as the public key, and a trusted third party (PKG) generates the user's private key. Attribute-based encryption mainly encrypts messages based on attributes, without paying attention to the identity of the recipient. Only users who meet the attribute requirements can decrypt the ciphertext, ensuring the confidentiality of the data. However, these schemes will either leak some attributes to the cloud and fail to achieve complete privacy protection; or introduce too many keys, making key management too complicated.
[0004] Therefore: It is necessary to provide a big data access control method that can better ensure confidentiality and accessibility. Summary of the invention
[0005] The embodiment of the present application provides a big data access control method for broadcast communication based on asymmetric encryption, which is used to solve the technical problems of confidentiality and accessibility of big data access control.
[0006] Specifically, a big data access control method for broadcast communication based on asymmetric encryption includes the following steps:
[0007] Determine the master key;
[0008] Generate decryption keys based on the master key and attribute-based access control;
[0009] Encrypting the information using the master key and attribute-based access control to generate a first communication data packet;
[0010] Broadcasting the first communication data packet to the broadcast communication node;
[0011] When the attributes of the broadcast communication node meet the attribute-based access control conditions and the broadcast communication node has the corresponding decryption key, the broadcast communication node obtains the big data access right.
[0012] Furthermore, the attributes include:
[0013] Used to mark at least one of the attributes of an entity, the attributes of a resource, and the attributes of an environment.
[0014] Further, the attribute of the marked entity includes one of the entity's name, security clearance level, and organizational affiliation;
[0015] The attribute of the environment includes at least one of the characteristics of the environment where the entity is located or the characteristics of the environment where the resource is located.
[0016] Further, the broadcast communication node is configured to access elements in a structure set.
[0017] Furthermore, the attribute-based access control adopts at least one of a secret sharing scheme, a threshold secret sharing scheme, a linear secret sharing scheme, a Lukko-Waters algorithm, a Bemel algorithm and a Liu-Cao algorithm.
[0018] The embodiment of the present application also provides a big data access control method for broadcast communication based on asymmetric encryption, comprising the following steps:
[0019] Encrypting the information using the master key and attribute-based access control to generate a first communication data packet;
[0020] Broadcasting the first communication data packet to the broadcast communication node;
[0021] When the attributes of the broadcast communication node meet the attribute-based access control conditions and the broadcast communication node has the corresponding decryption key, the broadcast communication node obtains the big data access right.
[0022] Furthermore, the attributes include:
[0023] Used to mark at least one of the attributes of an entity, the attributes of a resource, and the attributes of an environment.
[0024] Further, the attribute of the marked entity includes one of the entity's name, security clearance level, and organizational affiliation;
[0025] The attribute of the environment includes at least one of the characteristics of the environment where the entity is located or the characteristics of the environment where the resource is located.
[0026] Further, the broadcast communication node is configured to access elements in a structure set.
[0027] Furthermore, the attribute-based access control adopts at least one of a secret sharing scheme, a threshold secret sharing scheme, a linear secret sharing scheme, a Lukko-Waters algorithm, a Bemel algorithm and a Liu-Cao algorithm.
[0028] The embodiments provided in this application have at least the following beneficial effects: attribute-based access control, which achieves finer-grained access control through matching of attributes, relationships between attributes, and access policies, and provides a big data access control method that can better ensure confidentiality and accessibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0030] Figure 1 A flowchart of a method for controlling access to big data based on broadcast communication using asymmetric encryption provided in an embodiment of the present application;
[0031] Figure 2 A flowchart of another big data access control method for broadcast communication based on asymmetric encryption is provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only 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 making creative work are within the scope of protection of the present application.
[0033] Access control is a basic data protection function in modern big data computing platforms. The traditional access control architecture assumes that the data owner and the server store the data in a trusted domain, and the server defines and executes the access control policy. However, in the big data and cloud storage environment, since the data is distributed and stored in the cloud, the server has no access to the stored data, and the data owner no longer physically controls his data. In order to achieve access control of the data stored in the cloud, encryption schemes are usually used to encrypt the data, and the decryption keys are made public to authorized users. In this way, unauthorized users cannot access the data.
[0034] According to the encryption key algorithm, data encryption algorithms can be divided into symmetric encryption algorithms and asymmetric encryption algorithms. Symmetric encryption algorithms use the same key for encryption and decryption, and are mainly used to ensure the confidentiality of data. The advantages of symmetric encryption algorithms are low computational overhead and fast encryption speed, which are suitable for encryption of small or large amounts of data. Its disadvantage is that the two communicating parties use the same key, and it is difficult to ensure the security of the keys of both parties. In addition, it is only applicable to encryption and decryption of data to provide data confidentiality, and is not suitable for use in distributed network systems. Asymmetric encryption algorithms are also called public key algorithms, and their encryption and decryption are relatively independent and use different keys. It is mainly used in information exchange fields such as identity authentication and digital signatures. The advantages of asymmetric encryption algorithms are that they can adapt to the openness requirements of the network, and the key management problem is also relatively simple, which can easily implement digital signatures and verification. Its disadvantages are that the algorithm is complex and the rate of encrypted data is low.
[0035] According to the data transmission mode, network communication can be divided into three modes, including broadcast, unicast and multicast. Broadcast refers to sending data packets to all devices within the specified network range; unicast refers to the transmission mode of data packets in the transmission of computer networks with a single destination address; and multicast refers to the simultaneous sending of data packets to a group of destination addresses. The broadcast transmission range is called the "broadcast domain", but not all computer networks support broadcast, and there is no broadcast "in the entire Internet range". In IPv6, the corresponding function of broadcast is replaced by multicast. Different network communication methods are combined with different encryption algorithms to specifically implement access control of data stored in the cloud. Symmetric encryption algorithms are usually combined with broadcast communication methods because they use the same key for encryption and decryption; and asymmetric encryption algorithms are usually combined with unicast communication methods because encryption and decryption are relatively independent and use different keys.
[0036] Please refer to Figure 1 , the present application discloses a big data access control method for broadcast communication based on asymmetric encryption, comprising:
[0037] Step S101: Determine the master key.
[0038] The Master Secret Key (MSK) is the key at the top level in the key hierarchy. It is also called the basic key or initial key. It is a proprietary, global parameter in a cryptographic system. The master key can be used to protect key encryption keys, session keys, or other underlying keys. The master key is selected by the user or assigned to the user by the system. It is at the upper level of encryption control and generally exists in the network center, master node, and main processor. To some extent, the master key can also play a role in identifying the user. The master key can also be used to issue and generate subkeys.
[0039] The determination of the master key is usually completed during the initialization phase (using the Setup() algorithm). The encryption scheme is initialized and the master key is generated based on the elements generated by the master key. The master key is used to generate encryption keys, decryption keys, and a set of public parameters (MPK, Master Public Key). The public parameters are used for calculation and verification during the encryption and decryption process. These parameters need to be generated during the system initialization phase and shared with the participants during the encryption and decryption process. The generation of public parameters is usually performed by the system administrator or a trusted third party to ensure the security and correctness of the parameters.
[0040] Set the Setup() algorithm to output the master key (MSK) and public parameters (MPK). The algorithm is expressed as follows:
[0041] (MSK, MPK) := Setup()
[0042] Specifically, in the embodiments provided in the present application, the master key can be generated by the user when creating an account based on user information, as well as factors such as the password set by the user himself. The options for user information can be assigned and selected by the big data system administrator. The required option is the user password, and other optional options can be selected from information including but not limited to the following: login hardware information, login time, pseudo-random number created at login, user's gender, age, birthday, etc. You can also customize the key generation factors, and the number of factors affects the security of the data and the speed of encryption and decryption. Generate relevant public parameters based on the predetermined encryption scheme and encryption algorithm, as well as the master key.
[0043] Step S102: Generate a decryption key according to the master key and attribute-based access control.
[0044] Attribute-based access control is an authorization system that uses a series of attributes as the basic elements of access control. It can flexibly use the attribute set of an entity to decide whether to grant it access rights. It has strong semantic expression ability and is compatible with mechanisms such as autonomous access control, mandatory access control, and role-based access control. It is suitable for solving fine-grained access control and large-scale dynamic authorization problems in open computing environments. The entity here can be a specific user or an operating subject in other big data systems. In attribute-based access control, each user and resource has a set of attributes, such as the user's role, geographic location, department, etc. Through attribute-based access control, entities can be granted access to resources based on their attributes. Access control rules define access policies based on the attributes of users and resources, such as "users with the role of administrator can access document resources."
[0045] In asymmetric encryption, two keys are required, one for decryption and one for encryption. The decryption key is a private key that must be kept strictly confidential by the user. The ciphertext obtained by encrypting the plaintext with the encryption key can only be decrypted with the corresponding decryption key to obtain the original plaintext. The decryption key is usually generated by a key management system or a key generator according to a preset algorithm.
[0046] The decryption key is generated based on the master key and input provided by some entity. The algorithm is expressed as follows:
[0047] Dec(entity):= KeyGen(MSK,input)
[0048] Specifically, in the embodiments provided in the present application, the input provided by the entity includes various attributes and information thereof, such as the entity's identity ID and attribute set, or information such as access policies related to access control.
[0049] Attribute-based access control can be divided into key policy scheme and ciphertext policy scheme according to the location of the access policy.
[0050] A key policy scheme is a scheme that associates access policies with decryption keys. In a key policy scheme, the access policy that represents the conditions required for decryption is embedded in the key, and the attribute set is embedded in the ciphertext. The decryption key of an entity is derived from the access policy A, and the encryption key is a set of attribute sets S. During the encryption process, a set of attribute sets S is used to encrypt the message, and the attribute set S is also encoded with the generated ciphertext for use in the decryption process. During the decryption process, if the attributes encoded with the ciphertext can satisfy the access policy used to generate the decryption key, the decryption key will be able to decrypt the ciphertext.
[0051] Specifically, in the embodiment provided in the present application, when the key policy scheme is adopted, the process of generating a decryption key according to the master key and attribute-based access control specifically includes:
[0052] Generate the decryption key based on the master key, public parameters and access policy. The algorithm is expressed as follows:
[0053] Dec(entity):= KeyGen(MSK,MPK,A)
[0054] A ciphertext policy scheme is a scheme that associates an access policy with a ciphertext. In a ciphertext policy scheme, the access policy needs to be input during encryption, and decryption can only be successful when the attributes embedded in the decryptor's private key meet the access policy in the ciphertext. The encryption key is the access policy, and the entity's decryption key is derived from a set of attributes S. During the encryption process, the access policy A is used to encrypt the message, and A is also encoded into the ciphertext used in the decryption process along with the result. During the decryption process, the ciphertext will only be decrypted when the value contained in the decryption key (that is, the value in S) can satisfy the access policy embedded with the ciphertext.
[0055] Specifically, in the embodiment provided in the present application, when the ciphertext strategy scheme is adopted, the process of generating the decryption key according to the master key and attribute-based access control specifically includes:
[0056] Generate the decryption key based on the master key, public parameters and attribute set. The algorithm is expressed as follows:
[0057] Dec(entity):= KeyGen(MSK,MPK,S)
[0058] Specifically, in the embodiments provided in the present application, attributes are used to describe certain aspects of an entity, data being encrypted, and an environment. The set of attributes used to mark entities and ciphertexts and to construct access policies originates from an attribute domain. The size of the attribute domain depends on the construction of the encryption scheme used. The range of attributes can be relatively small, the number of attributes can be fixed, and the attribute values are specified as part of the system instantiation; the range of attributes can also be relatively large, the number of attributes is unlimited in size, and the values can be specified later. The precise semantics of controlling attributes depends on the settings at the time of use, and a lot of information can be identified based on the attributes. The value of an attribute can be text or numeric, or it can be expressed as a key-value pair, where the key can have multiple different values. Attributes can be used as identifiers, or as descriptors of certain aspects of an entity or data to be encrypted.
[0059] Attributes have unique names and their meanings are clearly distinguished from other attributes. In addition, attributes of related types (such as dates) must be presented in a common format to ensure their standardization. For example, when using attributes to capture the source and destination IP addresses in a TCP connection. If the IP address is only captured and used in the standard form (i.e. 127.0.0.1), it is impossible to determine whether the address is the source address or the destination address in the TCP header. A more appropriate and standardized description form should be: destination address = 127.0.0.1. Through this standardized description, accurate information about the meaning of the attribute is indicated to avoid confusion.
[0060] Attributes can be composite. All possible combinations of published attributes can be used when trying to satisfy access policies. A typical example of a composite attribute is when an attribute is used to refer to an entity. For example, in an organizational environment, individuals are often given some short-term responsibilities. For example, in a university, doctoral students are often given the responsibility of teaching assistants. These responsibilities will likely be adjusted and changed from semester to semester, or even year to year. Thus an attribute of the form: TA:<course code>:<year> can be used to identify a teaching assistant for a course in a particular year.
[0061] Step S103: Encrypt the information using the master key and attribute-based access control to generate a first communication data packet.
[0062] Attribute-based access control is an authorization system that uses a series of attributes as the basic elements of access control. It can flexibly use the attribute set of an entity to decide whether to grant it access rights. It has strong semantic expression ability and is compatible with mechanisms such as autonomous access control, mandatory access control, and role-based access control. It is suitable for solving fine-grained access control and large-scale dynamic authorization problems in open computing environments. The entity here can be a specific user or an operating subject in other big data systems. In attribute-based access control, each user and resource has a set of attributes, such as the user's role, geographic location, department, etc. Through attribute-based access control, entities can be granted access to resources based on their attributes. Access control rules define access policies based on the attributes of users and resources, such as "users with the role of administrator can access document resources."
[0063] In asymmetric encryption, two keys are required, one for decryption and one for encryption. The encryption key is a public key that can be published to the outside. The encryption key is usually generated by a key management system or a key generator according to a preset algorithm.
[0064] Specifically, according to the master key and attribute-based access control, the information M is encrypted using the public parameters and the encryption key provided to the entity. The algorithm is expressed as follows:
[0065] CT:= Encrypt(M, MPK, Enc(entity))
[0066] Specifically, in the embodiments provided in the present application, corresponding to the aforementioned process of generating a decryption key, attribute-based access control can be divided into a key policy scheme and a ciphertext policy scheme according to the location of the access policy.
[0067] A key policy scheme is a scheme that associates access policies with decryption keys. In a key policy scheme, the access policy that represents the conditions required for decryption is embedded in the key, and the attribute set is embedded in the ciphertext. The decryption key of an entity is derived from the access policy A, and the encryption key is a set of attribute sets S. During the encryption process, a set of attribute sets S is used to encrypt the message, and the attribute set S is also encoded with the generated ciphertext for use in the decryption process. During the decryption process, if the attributes encoded with the ciphertext can satisfy the access policy used to generate the decryption key, the decryption key will be able to decrypt the ciphertext.
[0068] Specifically, in the embodiment provided in the present application, when the key policy scheme is adopted, the process of encrypting the information M using the public parameters and the encryption key provided for the entity according to the master key and the attribute-based access control specifically includes:
[0069] According to the public parameters and the encryption key generated according to the attribute set of the entity, the information M is encrypted to generate the ciphertext CT. The algorithm is expressed as follows:
[0070] CT:= Encrypt(M, MPK, Enc(entity)),where, Enc(entity):=Enc(S)
[0071] Wherein, Enc(S) represents the encryption key generated according to the attribute set S.
[0072] The above algorithm expression can also be combined into the following form:
[0073] CT:= Encrypt(M, MPK, S)
[0074] A ciphertext policy scheme is a scheme that associates an access policy with a ciphertext. In a ciphertext policy scheme, the access policy needs to be input during encryption, and decryption can only be successful when the attributes embedded in the decryptor's private key meet the access policy in the ciphertext. The encryption key is the access policy, and the entity's decryption key is derived from a set of attributes S. During the encryption process, the access policy A is used to encrypt the message, and A is also encoded into the ciphertext used in the decryption process along with the result. During the decryption process, the ciphertext will only be decrypted when the value contained in the decryption key (that is, the value in S) can satisfy the access policy embedded with the ciphertext.
[0075] Specifically, in the embodiment provided in the present application, when the ciphertext strategy scheme is adopted, the process of encrypting the information M using the public parameters and the encryption key provided for the entity according to the master key and attribute-based access control specifically includes:
[0076] According to the public parameters and the encryption key generated by the access policy, the information M is encrypted to generate the ciphertext CT. The algorithm is expressed as follows:
[0077] CT:= Encrypt(M, MPK, Enc(entity)),where, Enc(entity):=Enc(A)
[0078] Wherein, Enc(A) represents the encryption key generated according to access policy A.
[0079] The above algorithm expression can also be combined into the following form:
[0080] CT:= Encrypt(M, MPK, A)
[0081] The encrypted ciphertext CT is used to generate a first communication data packet to be broadcast according to the data transmission and encoding rules. The broadcast data packet here may include encrypted information and information about conditions related to the specified access control policy. It may also include a digital signature, authentication information or other metadata, such as a timestamp, a data packet identifier, etc.
[0082] Further, in a preferred embodiment provided by the present application, the access control based on attributes of the present application, the access policy describes the attributes by a logical expression that determines the relationship between resources and users. The logical expression represents: the set of authorized attributes that an entity must possess, and the relationship between the attributes. For example, such a logical expression can be expressed as "the user's role is an administrator", "the type of resource is a document", etc. The entity can decrypt the ciphertext only when the attributes of the ciphertext match the attributes of the decryption entity.
[0083] Matching is achieved through the logical expressions of the access policy, which represent: the set of authorized attributes that an entity must possess in order to decrypt and access the information; and the relationships between attributes to achieve access control at a finer granularity.
[0084] Specifically, in an embodiment of the present application, such an access policy is typically defined in the form of a Boolean formula for decryption. The expression of the access policy depends on both: a) the set of attributes required to define the decrypted entity in the scheme; b) other mathematical structures used in the scheme construction. The available operations allowed when constructing access policies are not universal and will vary. This difference, in terms of expressiveness, can be summarized in terms of the available operations and the number of parameters allowed for these operations. In an embodiment of the present application, common access policies support two-parameter operators for conjunction and disjunction operations, and also include the use of multi-parameter Boolean operations that support thresholds, numerical comparisons, and attribute negation.
[0085] The access policy can be defined in a standardized and formalized way as follows:
[0086] Given a domain of attributes U, an access policy A is a Boolean function F indexed by a set of attributes P = {P1, P2, ..., Pn}, Pi ∈ U. Function F supports the following Boolean operations:
[0087] 1. Disjunction: ∨ 1 of n attributes.
[0088] 2. Conjunction: ∧ n out of n attributes.
[0089] 3. Threshold: Tn(a1,…,am), n out of m attributes must exist.
[0090] These operations define a set A such that a ⊆ P, and F is true if and only if the variable indexed by some set in A is also set to true. That is, the function F returns true if and only if the entity satisfies at least one a∈ A.
[0091] The following example further illustrates the use of access policies:
[0092] Position: CEO ∨(T2 (Salary Grade = 3, Group: Audit, Position: Secretary) ∧ Office Number = 1234))
[0093] Then the entity that satisfies the access policy must be the CEO;
[0094] or works in office 1234 and is:
[0095] a) Secretary or member of the audit team whose salary grade is Level 3;
[0096] or b) members and secretary of the audit team.
[0097] As mentioned above, by defining the set of attributes required to decrypt an entity and the relationship between the attributes, more fine-grained access control is achieved.
[0098] Step S104: broadcast the first communication data packet to the broadcast communication node.
[0099] It should be particularly pointed out that the big data access control method based on asymmetric encrypted broadcast communication of the present application may include a "one-to-all" broadcast communication method in which data packets are sent to all devices within a specified network range; it may also include a "one-to-many" multicast (groupcast) communication method in which data packets are sent to a group of destination addresses at the same time. With the development of data network communication technology, broadcast and multicast have shown a certain trend of convergence in terms of concept definition and application scenarios. The relevant description of broadcast communication in this application does not constitute an improper limitation of this application. In addition, since the process of broadcasting data packets to broadcast communication nodes involves network transmission, necessary security protection and confidentiality measures can be taken to ensure the confidentiality and integrity of data during transmission. For example, for sensitive data, encrypted communication (such as HTTPS) is used for transmission.
[0100] Specifically, the broadcast communication nodes here can be understood as servers, network devices, computer terminals, mobile terminals and other devices in the network communication system, and can also be understood as communication entities such as data owners and different data users in big data and cloud computing systems.
[0101] Step S105: When the attribute of the network communication node satisfies the attribute-based access control condition and the network communication node has the corresponding decryption key, the network communication node obtains the big data access right.
[0102] Specifically, after receiving the data packet, the network communication node parses the data packet and extracts the specific information therein, including the encrypted information (ciphertext) and the information related to the access control policy. The network communication node determines whether it meets the attribute conditions of the access control policy based on the information related to the access control policy in the received data packet. If the network communication node can prove that it meets the attribute conditions of the access control policy and has the corresponding decryption key, it will be eligible to decrypt and access the information, and decrypt and access the information through the decryption key to obtain the big data access right. This process is called the decryption process. Its algorithm is expressed as follows:
[0103] M := Decrypt(CT, MPK, Dec(entity))
[0104] It should be noted that in the embodiments provided in this application, corresponding to the aforementioned process of generating decryption keys and ciphertexts, the specific algorithm of the decryption process of attribute-based access control is different according to the location of the access policy and whether the key policy scheme or the ciphertext policy scheme is adopted. No further description is given here.
[0105] Furthermore, in a preferred implementation manner provided in the present application, the attributes include: at least one of attributes for marking an entity, attributes of a resource, and attributes of an environment.
[0106] Specifically, entity attributes are attributes used to define the identity and other characteristics associated with an entity. These attributes may include user role, user group, user department, user level, age, gender, etc. Encryption based on entity attributes allows data access rights to be controlled based on the user's identity and attributes, so that only users who meet specific entity attribute conditions can decrypt and access the data.
[0107] Resource attributes are attributes used to describe characteristics related to the resource to be encrypted, such as the type, source, level, label, etc. of the data to be encrypted. Taking TCP / IP connection as an example, the source and destination IP addresses and port numbers can be used as attributes in the cryptographic system.
[0108] Environmental properties are used to describe properties that are neither resource-related nor entity-related, such as the current date and current region.
[0109] Further, in a preferred embodiment provided in the present application, the attribute of the marked entity includes one of the entity's name, security clearance level, and organizational affiliation;
[0110] The attribute of the environment includes at least one of the characteristics of the environment where the entity is located or the characteristics of the environment where the resource is located.
[0111] Furthermore, in a preferred implementation manner provided in the present application, the broadcast communication node is configured to access elements in a structure set.
[0112] Specifically, let P = {P1, P2, P3, ..., Pn} be the set of parties, and the access structure A is the set of all authorized subsets of P. The access structure is usually monotonic, that is, given sets Y and Z, if Y∈A and Y⊆Z, then Z∈A, all Y, Z⊆P. The broadcast communication node is configured as an element in the access structure set.
[0113] Furthermore, in a preferred implementation manner provided in the present application, the attribute-based access control adopts at least one of a secret sharing scheme, a threshold secret sharing scheme, a linear secret sharing scheme, a Lukko-Waters algorithm, a Bemel algorithm, and a Liu-Cao algorithm.
[0114] Specifically, in combination with an implementation method provided in this application, the secret sharing scheme is defined as follows:
[0115] A Secret Sharing Scheme (SSS) is a scheme for distributing a secret value s⊆K among a predefined set of participants P according to some access structure A. The result of this distribution is that given a set of participants B⊆P, if:
[0116] B∈A, then s can be calculated.
[0117] B ∉A, then s cannot be calculated.
[0118] For each scheme there will be a shared (fragment) generation and secret reconstruction function. While secret sharing schemes can be used to distribute secrets, they imply a fixed number of participants before the secret can be reconstructed.
[0119] Specifically, in combination with an implementation method provided in this application, the threshold secret sharing scheme (Threshold SecretSharing) is defined as follows:
[0120] Given a set S of possible secret values, a threshold secret sharing scheme (k,n) on S denotes a (random) method for partitioning the secret for each s∈S into n parts (s1,…,si,…,sn) such that:
[0121] 1. Given any k or more sets of si, the secret value s can be easily reconstructed.
[0122] 2. Given any set of si less than k, the secret value s is completely unreconstructable in an information-theoretic sense.
[0123] Specifically, in combination with an implementation method provided in this application, a linear secret sharing scheme (LSSS) is defined as follows:
[0124] 1. Each share of a secret s is a vector on K.
[0125] 2. In the process of generating each share, select independent random variables denoted as r1,…,rl, each variable is uniformly distributed on K. Each coordinate of each share is a linear combination of r1,…,rl and the secret s.
[0126] Specifically, in conjunction with an implementation method provided in this application, the Lewko-Waters Algorithm is introduced as follows:
[0127] The algorithm is based on a symmetric branching program, requiring that the access policy consists of two-parameter conjunction and disjunction nodes, and that the leaf nodes represent the properties of the policy. General threshold gates and multi-parameter operators are not supported. As an example, the supported operations can be expressed as: A ∧ (D ∨ B ∧ C)). The Lukko-Waters algorithm constructs the LSSS matrix directly from the access policy. The algorithm traverses the nodes in the tree and labels each node with a vector whose construction depends on the type of the node and the vector of its parent node. Once each node is labeled, the vector of the leaf node is used to construct the LSSS matrix.
[0128] Specifically, in combination with an implementation method provided in this application, the Beimel Algorithm is introduced as follows:
[0129] Beimel's algorithm requires that the monotone Boolean formula be first converted into LSSS and then into a monotone spanning program. To this end, the Benaloh-Leichter technique can be used to convert the Boolean formula into LSSS, and then the LSSS block vector can be converted into MSP using the Beimel transformation method. Similar to the structure of the Lukko-Waters algorithm, the Boolean formula as input is represented as a visit tree (or Boolean circuit), but unlike previous techniques, the internal nodes can be multi-input AND, OR, and THRESHOLD gates. As an example, the supported operations can be expressed as: (A∧C ∧D)∨(B∧C)∨T2(D,E,F).
[0130] Liu Cao algorithm
[0131] The algorithm uses an MSP-based structure to construct an optimal efficient LSSS-matrix for CP-ABE. The visit tree can be transformed into the same form as the Lukko-Waters algorithm described above. For example, given the following visit structure:
[0132]
[0133] Using the intermediate transformation as input, the Lukow-Waters algorithm produces the following LSSS matrix:
[0134] Using the Liu-Cao algorithm, the following matrix is generated:
[0135] Obviously, this matrix is smaller: When the Boolean formula in Liu-Cao's algorithm does not include a threshold gate, its size will be the same as the one produced using the Lukow-Waters algorithm. If a threshold gate is used, Liu-Cao's algorithm produces a smaller matrix.
[0136] Please refer to Figure 2 , this application discloses another big data access control method for broadcast communication based on asymmetric encryption, including:
[0137] Step S201: Encrypt information using a master key and attribute-based access control to generate a first communication data packet.
[0138] The Master Secret Key (MSK) is the key at the top level in the key hierarchy. It is also called the basic key or initial key. It is a proprietary, global parameter in a cryptographic system. The master key can be used to protect key encryption keys, session keys, or other underlying keys. The master key is selected by the user or assigned to the user by the system. It is at the upper level of encryption control and generally exists in the network center, master node, and main processor. To some extent, the master key can also play a role in identifying the user. The master key can also be used to issue and generate subkeys.
[0139] The determination of the master key is usually completed during the initialization phase (using the Setup() algorithm). The encryption scheme is initialized and the master key is generated based on the elements generated by the master key. The master key is used to generate encryption keys, decryption keys, and a set of public parameters (MPK, Master Public Key). The public parameters are used for calculation and verification during the encryption and decryption process. These parameters need to be generated during the system initialization phase and shared with the participants during the encryption and decryption process. The generation of public parameters is usually performed by the system administrator or a trusted third party to ensure the security and correctness of the parameters.
[0140] Set the Setup() algorithm to output the master key (MSK) and public parameters (MPK). The algorithm is expressed as follows:
[0141] (MSK, MPK) := Setup()
[0142] Specifically, in the embodiments provided in the present application, the master key can be generated by the user when creating an account based on user information, as well as factors such as the password set by the user himself. The options for user information can be assigned and selected by the big data system administrator. The required option is the user password, and other optional options can be selected from information including but not limited to the following: login hardware information, login time, pseudo-random number created at login, user's gender, age, birthday, etc. You can also customize the key generation factors, and the number of factors affects the security of the data and the speed of encryption and decryption. Generate relevant public parameters based on the predetermined encryption scheme and encryption algorithm, as well as the master key.
[0143] Attribute-based access control is an authorization system that uses a series of attributes as the basic elements of access control. It can flexibly use the attribute set of an entity to decide whether to grant it access rights. It has strong semantic expression capabilities and is compatible with mechanisms such as autonomous access control, mandatory access control, and role-based access control. It is suitable for solving fine-grained access control and large-scale dynamic authorization problems in open computing environments. The entity here can be a specific user or an operating subject in other big data systems. In attribute-based access control, each user and resource has a set of attributes, such as the user's role, geographic location, department, etc. Access control rules define access policies based on the attributes of users and resources, such as "users with the role of administrator can access document resources."
[0144] In asymmetric encryption, two keys are required, one for decryption and one for encryption. The encryption key is a public key that can be published to the outside. The encryption key is usually generated by a key management system or a key generator according to a preset algorithm.
[0145] Specifically, according to the master key and attribute-based access control, the information M is encrypted using the public parameters and the encryption key provided to the entity. The algorithm is expressed as follows:
[0146] CT:= Encrypt(M, MPK, Enc(entity))
[0147] Attribute-based access control can be divided into key policy scheme and ciphertext policy scheme according to the location of the access policy.
[0148] A key policy scheme is a scheme that associates access policies with decryption keys. In a key policy scheme, the access policy that represents the conditions required for decryption is embedded in the key, and the attribute set is embedded in the ciphertext. The decryption key of an entity is derived from the access policy A, and the encryption key is a set of attribute sets S. During the encryption process, a set of attribute sets S is used to encrypt the message, and the attribute set S is also encoded with the generated ciphertext for use in the decryption process. During the decryption process, if the attributes encoded with the ciphertext can satisfy the access policy used to generate the decryption key, the decryption key will be able to decrypt the ciphertext.
[0149] Specifically, in the embodiment provided in the present application, when the key policy scheme is adopted, the process of encrypting the information M using the public parameters and the encryption key provided for the entity according to the master key and the attribute-based access control specifically includes:
[0150] According to the public parameters and the encryption key generated according to the attribute set of the entity, the information M is encrypted to generate the ciphertext CT. The algorithm is expressed as follows:
[0151] CT:= Encrypt(M, MPK, Enc(entity)),where, Enc(entity):=Enc(S)
[0152] Wherein, Enc(S) represents the encryption key generated according to the attribute set S.
[0153] The above algorithm expression can also be combined into the following form:
[0154] CT:= Encrypt(M, MPK, S)
[0155] A ciphertext policy scheme is a scheme that associates an access policy with a ciphertext. In a ciphertext policy scheme, the access policy needs to be input during encryption, and decryption can only be successful when the attributes embedded in the decryptor's private key meet the access policy in the ciphertext. The encryption key is the access policy, and the entity's decryption key is derived from a set of attributes S. During the encryption process, the access policy A is used to encrypt the message, and A is also encoded into the ciphertext used in the decryption process along with the result. During the decryption process, the ciphertext will only be decrypted when the value contained in the decryption key (that is, the value in S) can satisfy the access policy embedded with the ciphertext.
[0156] Specifically, in the embodiment provided in the present application, when the ciphertext strategy scheme is adopted, the process of encrypting the information M using the public parameters and the encryption key provided for the entity according to the master key and attribute-based access control specifically includes:
[0157] According to the public parameters and the encryption key generated by the access policy, the information M is encrypted to generate the ciphertext CT. The algorithm is expressed as follows:
[0158] CT:= Encrypt(M, MPK, Enc(entity)),where, Enc(entity):=Enc(A)
[0159] Wherein, Enc(A) represents the encryption key generated according to access policy A.
[0160] The above algorithm expression can also be combined into the following form:
[0161] CT:= Encrypt(M, MPK, A)
[0162] The encrypted ciphertext CT is used to generate a first communication data packet to be broadcast according to the data transmission and encoding rules. The broadcast data packet here may include encrypted information and information about conditions related to the specified access control policy. It may also include a digital signature, authentication information or other metadata, such as a timestamp, a data packet identifier, etc.
[0163] Specifically, in the embodiments provided in the present application, attributes are used to describe certain aspects of an entity, data being encrypted, and an environment. The set of attributes used to mark entities and ciphertexts and to construct access policies originates from an attribute domain. The size of the attribute domain depends on the construction of the encryption scheme used. The range of attributes can be relatively small, the number of attributes can be fixed, and the attribute values are specified as part of the system instantiation; the range of attributes can also be relatively large, the number of attributes is unlimited in size, and the values can be specified later. The precise semantics of controlling attributes depends on the settings at the time of use, and a lot of information can be identified based on the attributes. The value of an attribute can be text or numeric, or it can be expressed as a key-value pair, where the key can have multiple different values. Attributes can be used as identifiers, or as descriptors of certain aspects of an entity or data to be encrypted.
[0164] Attributes have unique names and their meanings are clearly distinguished from other attributes. In addition, attributes of related types (such as dates) must be presented in a common format to ensure their standardization. For example, when using attributes to capture the source and destination IP addresses in a TCP connection. If the IP address is only captured and used in the standard form (i.e. 127.0.0.1), it is impossible to determine whether the address is the source address or the destination address in the TCP header. A more appropriate and standardized description form should be: destination address = 127.0.0.1. Through this standardized description, accurate information about the meaning of the attribute is indicated to avoid confusion.
[0165] Attributes can be composite. All possible combinations of published attributes can be used when trying to satisfy access policies. A typical example of a composite attribute is when an attribute is used to refer to an entity. For example, in an organizational environment, individuals are often given some short-term responsibilities. For example, in a university, doctoral students are often given the responsibility of teaching assistants. These responsibilities will likely be adjusted and changed from semester to semester, or even year to year. Thus an attribute of the form: TA:<course code>:<year> can be used to identify a teaching assistant for a course in a particular year.
[0166] Further, in a preferred embodiment provided by the present application, the access control based on attributes of the present application, the access policy describes the attributes by a logical expression that determines the relationship between resources and users. The logical expression represents: the set of authorized attributes that an entity must possess, and the relationship between the attributes. For example, such a logical expression can be expressed as "the user's role is an administrator", "the type of resource is a document", etc. The entity can decrypt the ciphertext only when the attributes of the ciphertext match the attributes of the decryption entity.
[0167] Matching is achieved through the logical expressions of the access policy, which represent: the set of authorized attributes that an entity must possess in order to decrypt and access the plain text; and the relationship between attributes to achieve access control at a finer granularity.
[0168] Specifically, in an embodiment of the present application, such an access policy is typically defined in the form of a Boolean formula for decryption. The expression of the access policy depends on both: a) the set of attributes required to define the decrypted entity in the scheme; b) other mathematical structures used in the scheme construction. The available operations allowed when constructing access policies are not universal and will vary. This difference, in terms of expressiveness, can be summarized in terms of the available operations and the number of parameters allowed for these operations. In an embodiment of the present application, common access policies support two-parameter operators for conjunction and disjunction operations, and also include the use of multi-parameter Boolean operations that support thresholds, numerical comparisons, and attribute negation.
[0169] The access policy can be defined in a standardized and formalized way as follows:
[0170] Given a domain of attributes U, an access policy A is a Boolean function F indexed by a set of attributes P = {P1, P2, ..., Pn}, Pi ∈ U. Function F supports the following Boolean operations:
[0171] 1. Disjunction: ∨ 1 of n attributes.
[0172] 2. Conjunction: ∧ n out of n attributes.
[0173] 3. Threshold: Tn(a1,…,am), n out of m attributes must exist.
[0174] These operations define a set A such that a ⊆ P, and F is true whenever a variable indexed by some set in A is also set to true. That is, the function F returns true if and only if the entity satisfies at least one a∈ A.
[0175] The following example further illustrates the use of access policies:
[0176] Position: CEO ∨(T2 (Salary Grade = 3, Group: Audit, Position: Secretary) ∧ Office Number = 1234))
[0177] Then the entity that satisfies the access policy must be the CEO;
[0178] or works in office 1234 and is:
[0179] a) Secretary or member of the audit team whose salary grade is Level 3;
[0180] or b) members and secretary of the audit team.
[0181] As mentioned above, by defining the set of attributes required to decrypt an entity and the relationship between the attributes, more fine-grained access control is achieved.
[0182] Step S202: broadcast the first communication data packet to the broadcast communication node.
[0183] It should be particularly pointed out that the big data access control method based on asymmetric encrypted broadcast communication of the present application may include a "one-to-all" broadcast communication method in which data packets are sent to all devices within a specified network range; it may also include a "one-to-many" multicast (groupcast) communication method in which data packets are sent to a group of destination addresses at the same time. With the development of data network communication technology, broadcast and multicast have shown a certain trend of convergence in terms of concept definition and application scenarios. The relevant description of broadcast communication in this application does not constitute an improper limitation of this application. In addition, since the process of broadcasting data packets to broadcast communication nodes involves network transmission, necessary security protection and confidentiality measures can be taken to ensure the confidentiality and integrity of data during transmission. For example, for sensitive data, encrypted communication (such as HTTPS) is used for transmission.
[0184] Specifically, the broadcast communication nodes here can be understood as servers, network devices, computer terminals, mobile terminals and other devices in the network communication system, and can also be understood as communication entities such as data owners and different data users in big data and cloud computing systems.
[0185] Step S203: When the attribute of the network communication node satisfies the attribute-based access control condition and the network communication node has the corresponding decryption key, the network communication node obtains the big data access right.
[0186] Specifically, after receiving the data packet, the network communication node parses the data packet and extracts the specific information therein, including the encrypted information (ciphertext) and the information related to the access control policy. The network communication node determines whether it meets the attribute conditions of the access control policy based on the information related to the access control policy in the received data packet. If the network communication node can prove that it meets the attribute conditions of the access control policy and has the corresponding decryption key, it will be eligible to decrypt and access the information, and decrypt and access the information through the decryption key to obtain the big data access right. This process is called the decryption process.
[0187] The algorithm is expressed as follows:
[0188] M := Decrypt(CT, MPK, Dec(entity))
[0189] Attribute-based access control is an authorization system that uses a series of attributes as the basic elements of access control. It can flexibly use the attribute set of an entity to decide whether to grant it access rights. It has strong semantic expression capabilities and is compatible with mechanisms such as autonomous access control, mandatory access control, and role-based access control. It is suitable for solving fine-grained access control and large-scale dynamic authorization problems in open computing environments. The entity here can be a specific user or an operating subject in other big data systems. In attribute-based access control, each user and resource has a set of attributes, such as the user's role, geographic location, department, etc. Access control rules define access policies based on the attributes of users and resources, such as "users with the role of administrator can access document resources."
[0190] In asymmetric encryption, two keys are required, one for decryption and one for encryption. The decryption key is a private key that must be kept strictly confidential by the user, while the encryption key is a public key that can be published. The ciphertext obtained by encrypting the plaintext with the encryption key can only be decrypted with the corresponding decryption key to obtain the original plaintext. The decryption key is usually generated by a key management system or a key generator according to a preset algorithm.
[0191] The decryption key is generated based on the master key and input provided by some entity. The algorithm is expressed as follows:
[0192] Dec(entity):= KeyGen(MSK,input)
[0193] Specifically, in the embodiments provided in the present application, the input provided by the entity includes various attributes and information thereof, such as the entity's identity ID and attribute set, or information such as access policies related to access control.
[0194] Attribute-based access control can be divided into key policy scheme and ciphertext policy scheme according to the location of the access policy.
[0195] A key policy scheme is a scheme that associates access policies with decryption keys. In a key policy scheme, the access policy that represents the conditions required for decryption is embedded in the key, and the attribute set is embedded in the ciphertext. The decryption key of an entity is derived from the access policy A, and the encryption key is a set of attribute sets S. During the encryption process, a set of attribute sets S is used to encrypt the message, and the attribute set S is also encoded with the generated ciphertext for use in the decryption process. During the decryption process, if the attributes encoded with the ciphertext can satisfy the access policy used to generate the decryption key, the decryption key will be able to decrypt the ciphertext.
[0196] Specifically, in the embodiment provided in the present application, when the key policy scheme is adopted, the process of generating a decryption key according to the master key and attribute-based access control specifically includes:
[0197] Generate the decryption key based on the master key, public parameters and access policy. The algorithm is expressed as follows:
[0198] Dec(entity):= KeyGen(MSK,MPK,A)
[0199] A ciphertext policy scheme is a scheme that associates an access policy with a ciphertext. In a ciphertext policy scheme, the access policy needs to be input during encryption, and decryption can only be successful when the attributes embedded in the decryptor's private key meet the access policy in the ciphertext. The encryption key is the access policy, and the entity's decryption key is derived from a set of attributes S. During the encryption process, the access policy A is used to encrypt the message, and A is also encoded into the ciphertext used in the decryption process along with the result. During the decryption process, the ciphertext will only be decrypted when the value contained in the decryption key (that is, the value in S) can satisfy the access policy embedded with the ciphertext.
[0200] Specifically, in the embodiment provided in the present application, when the ciphertext strategy scheme is adopted, the process of generating the decryption key according to the master key and attribute-based access control specifically includes:
[0201] Generate the decryption key based on the master key, public parameters and attribute set. The algorithm is expressed as follows:
[0202] Dec(entity):= KeyGen(MSK,MPK,S)
[0203] It should be noted that in the embodiments provided in this application, corresponding to the aforementioned process of generating decryption keys and ciphertexts, the specific algorithm of the decryption process of attribute-based access control is different according to the location of the access policy and whether the key policy scheme or the ciphertext policy scheme is adopted. No further description is given here.
[0204] Furthermore, in a preferred implementation manner provided in the present application, the attributes include: at least one of attributes for marking an entity, attributes of a resource, and attributes of an environment.
[0205] Specifically, entity attributes are attributes used to define the identity and other characteristics associated with an entity. These attributes may include user role, user group, user department, user level, age, gender, etc. Encryption based on entity attributes allows data access rights to be controlled based on the user's identity and attributes, so that only users who meet specific entity attribute conditions can decrypt and access the data.
[0206] Resource attributes are attributes used to describe characteristics related to the resource to be encrypted, such as the type, source, level, label, etc. of the data to be encrypted. Taking TCP / IP connection as an example, the source and destination IP addresses and port numbers can be used as attributes in the cryptographic system.
[0207] Environmental properties are used to describe properties that are neither resource-related nor entity-related, such as the current date and current region.
[0208] Further, in a preferred embodiment provided in the present application, the attribute of the marked entity includes one of the entity's name, security clearance level, and organizational affiliation;
[0209] The attribute of the environment includes at least one of the characteristics of the environment where the entity is located or the characteristics of the environment where the resource is located.
[0210] Furthermore, in a preferred implementation manner provided in the present application, the broadcast communication node is configured to access elements in a structure set.
[0211] Specifically, let P = {P1, P2, P3, ..., Pn} be the set of parties, and the access structure A is the set of all authorized subsets of P. The access structure is usually monotonic, that is, given sets Y and Z, if Y∈A and Y⊆Z, then Z∈A, all Y, Z⊆P. The broadcast communication node is configured as an element in the access structure set.
[0212] Furthermore, in a preferred implementation manner provided in the present application, the attribute-based access control adopts at least one of a secret sharing scheme, a threshold secret sharing scheme, a linear secret sharing scheme, a Lukko-Waters algorithm, a Bemel algorithm, and a Liu-Cao algorithm.
[0213] Specifically, in combination with an implementation method provided in this application, the secret sharing scheme is defined as follows:
[0214] A Secret Sharing Scheme (SSS) is a scheme for distributing a secret value s⊆K among a predefined set of participants P according to some access structure A. The result of this distribution is that given a set of participants B⊆P, if:
[0215] B∈A, then s can be calculated.
[0216] B ∉A, then s cannot be calculated.
[0217] For each scheme there will be a shared (fragment) generation and secret reconstruction function. While secret sharing schemes can be used to distribute secrets, they imply a fixed number of participants before the secret can be reconstructed.
[0218] Specifically, in combination with an implementation method provided in this application, the threshold secret sharing scheme (Threshold SecretSharing) is defined as follows:
[0219] Given a set S of possible secret values, a threshold secret sharing scheme (k,n) on S denotes a (random) method for partitioning the secret for each s∈S into n parts (s1,…,si,…,sn) such that:
[0220] 1. Given any k or more sets of si, the secret value s can be easily reconstructed.
[0221] 2. Given any set of si less than k, the secret value s is completely unreconstructable in an information-theoretic sense.
[0222] Specifically, in combination with an implementation method provided in this application, a linear secret sharing scheme (LSSS) is defined as follows:
[0223] 1. Each share of a secret s is a vector on K.
[0224] 2. In the process of generating each share, select independent random variables denoted as r1,…,rl, each variable is uniformly distributed on K. Each coordinate of each share is a linear combination of r1,…,rl and the secret s.
[0225] Specifically, in conjunction with an implementation method provided in this application, the Lewko-Waters Algorithm is introduced as follows:
[0226] The algorithm is based on a symmetric branching program, requiring that the access policy consists of two-parameter conjunction and disjunction nodes, and that the leaf nodes represent the properties of the policy. General threshold gates and multi-parameter operators are not supported. As an example, the supported operations can be expressed as: A ∧ (D ∨ B ∧ C)). The Lukko-Waters algorithm constructs the LSSS matrix directly from the access policy. The algorithm traverses the nodes in the tree and labels each node with a vector whose construction depends on the type of the node and the vector of its parent node. Once each node is labeled, the vector of the leaf node is used to construct the LSSS matrix.
[0227] Specifically, in combination with an implementation method provided in this application, the Beimel Algorithm is introduced as follows:
[0228] Beimel's algorithm requires that the monotone Boolean formula be first converted into LSSS and then into a monotone spanning program. To this end, the Benaloh-Leichter technique can be used to convert the Boolean formula into LSSS, and then the LSSS block vector can be converted into MSP using the Beimel transformation method. Similar to the structure of the Lukko-Waters algorithm, the Boolean formula as input is represented as a visit tree (or Boolean circuit), but unlike previous techniques, the internal nodes can be multi-input AND, OR, and THRESHOLD gates. As an example, the supported operations can be expressed as: (A∧C ∧D)∨(B∧C)∨T2(D,E,F).
[0229] Liu Cao algorithm
[0230] The algorithm uses an MSP-based structure to construct an optimal efficient LSSS-matrix for CP-ABE. The visit tree can be transformed into the same form as the Lukko-Waters algorithm described above. For example, given the following visit structure:
[0231]
[0232] Using the intermediate transformation as input, the Lukow-Waters algorithm produces the following LSSS matrix:
[0233] Using the Liu-Cao algorithm, the following matrix is generated:
[0234] Obviously, this matrix is smaller: When the Boolean formula in Liu-Cao's algorithm does not include a threshold gate, its size will be the same as the one produced using the Lukow-Waters algorithm. If a threshold gate is used, Liu-Cao's algorithm produces a smaller matrix.
[0235] Furthermore, in a preferred embodiment provided by the present application, the big data access control method based on asymmetric encryption broadcast communication also includes a transmission key encryption control method. The transmission key is used to ensure the security of data during transmission, and the transmission key is automatically generated by a key generator based on a master key and user-configured transmission information. The transmission information includes IP address, port, hardware and software information of both parties of the transmission, etc.
[0236] Furthermore, in a preferred embodiment provided by the present application, the big data access control method based on asymmetric encryption broadcast communication also includes an obfuscation key encryption control method. The obfuscation key is used to ensure the security of data during storage. The obfuscation key is automatically generated by a key generator according to the current storage environment, file HASH code and master key, and is used to obfuscate the data file as a whole, or keywords and sensitive information in the data file. The keywords and sensitive information include phone numbers, passwords, configuration rules supporting regular expressions, etc.
[0237] Furthermore, in a preferred embodiment provided by the present application, the key generation in the big data access control method for broadcast communication based on asymmetric encryption is uniformly managed by a key generator, and the key generator supports the customized selection of encryption algorithms and key sharing schemes. The key generator also supports the addition of temporary keys that can be configured by the user.
[0238] This application achieves more fine-grained access control through attribute-based access control, through the matching of attributes, the relationship between attributes and access policies, and further improves the confidentiality of user data through asymmetric encryption combined with the setting of transmission keys and obfuscation keys, providing a big data access control method that can better ensure confidentiality and accessibility.
[0239] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0240] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0241] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A big data access control method for broadcast communication based on asymmetric encryption, It is characterized in that The following steps are involved: Determine the master key; Specifically, the Setup() algorithm is set to output the master key MSK and the public parameter MPK. The algorithm is expressed as follows: (MSK, MPK) := Setup() The master key MSK is generated by the user when creating an account based on the user information and the password set by the user. The public parameter MPK related to it is generated according to the predetermined encryption scheme and encryption algorithm and the master key MSK. Generate decryption keys based on the master key and attribute-based access control; Specifically, the decryption key is generated based on the master key MSK and the input provided by the entity. The algorithm is expressed as follows: Dec(entity):= KeyGen(MSK,input) The input provided by the entity includes the entity's identity ID and attribute set, and access policies related to access control; Encrypting the information using the master key and attribute-based access control to generate a first communication data packet; Specifically, according to the master key and attribute-based access control, the information M is encrypted using the public parameter MPK and the encryption key provided to the entity. The algorithm is expressed as follows: CT:= Encrypt(M, MPK, Enc(entity)) Broadcasting the first communication data packet to the broadcast communication node; When the attributes of the broadcast communication node meet the attribute-based access control conditions and the broadcast communication node has the corresponding decryption key, the broadcast communication node obtains the big data access right; Specifically, after receiving the data packet, the network communication node parses the data packet and extracts specific information therein, including encrypted information and information related to the access control policy. The algorithm is expressed as follows: M := Decrypt(CT, MPK, Dec(entity)) If the broadcast communication node can prove that it meets the attribute conditions of the access control policy and has the corresponding decryption key, it can decrypt and access information through the decryption key to obtain big data access rights.
2. The method according to claim 1, It is characterized in that The properties include: Used to mark at least one of the attributes of an entity, the attributes of a resource, and the attributes of an environment.
3. The method according to claim 2, It is characterized in that The attribute of the marked entity includes one of the entity's name, security clearance level, and organizational affiliation; The attribute of the environment includes at least one of the characteristics of the environment where the entity is located or the characteristics of the environment where the resource is located.
4. The method according to claim 1, It is characterized in that The broadcast communication node is configured to access elements in a structure collection.
5. The method according to claim 1, It is characterized in that The attribute-based access control adopts at least one of a secret sharing scheme, a threshold secret sharing scheme, a linear secret sharing scheme, a Lukko-Waters algorithm, a Bemel algorithm and a Liu-Cao algorithm.
6. A big data access control method for broadcast communication based on asymmetric encryption, It is characterized in that The following steps are involved: Encrypting the information using the master key and attribute-based access control to generate a first communication data packet; Specifically, according to the master key and attribute-based access control, the information M is encrypted using the public parameter MPK and the encryption key provided to the entity. The algorithm is expressed as follows: CT:= Encrypt(M, MPK, Enc(entity)) Broadcasting the first communication data packet to the broadcast communication node; When the attributes of the broadcast communication node meet the attribute-based access control conditions and the broadcast communication node has the corresponding decryption key, the broadcast communication node obtains the big data access right; Specifically, after receiving the data packet, the network communication node parses the data packet and extracts specific information therein, including encrypted information and information related to the access control policy. The algorithm is expressed as follows: M := Decrypt(CT, MPK, Dec(entity)) If the broadcast communication node can prove that it meets the attribute conditions of the access control policy and has the corresponding decryption key, it can decrypt and access information through the decryption key to obtain big data access rights.
7. The method according to claim 6, It is characterized in that The properties include: Used to mark at least one of the attributes of an entity, the attributes of a resource, and the attributes of an environment.
8. The method according to claim 7, It is characterized in that The attribute of the marked entity includes one of the entity's name, security clearance level, and organizational affiliation; The attribute of the environment includes at least one of the characteristics of the environment where the entity is located or the characteristics of the environment where the resource is located.
9. The method according to claim 6, It is characterized in that The broadcast communication node is configured to access elements in a structure collection.
10. The method according to claim 6, It is characterized in that The attribute-based access control adopts at least one of a secret sharing scheme, a threshold secret sharing scheme, a linear secret sharing scheme, a Lukko-Waters algorithm, a Bemel algorithm and a Liu-Cao algorithm.
Citation Information
Patent Citations
Ciphertext access control method based on CP-ABE (Ciphertext-Policy Attribute-Based Encryption)
CN105991278A
Medical treatment effect monitoring and sharing method based on asymmetric encryption technology
CN110493168A
Content center network privacy protection method based on block chain
CN113489733A
Lightweight fine-grained access control method supporting ciphertext sharing and convergence
CN113904818A
Selectively sharing data in unstructured data containers
US20220052835A1
