Embedded Euler system access control method, device and equipment and storage medium

By performing permission query and encryption processing on the data access request of the embedded Euler system in the smart grid, the risk of data leakage and tampering in the smart grid is solved, and data access control and security are improved.

CN118734333APending Publication Date: 2024-10-01GUANGZHOU KETENG INFORMATION TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410768956.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Embedded Euler systems in smart grids have the risk of external attacks and internal misoperations in terms of data processing and information security, leading to the possibility of data leakage or tampering, affecting the stable operation of the power grid.

Method used

By receiving the data access request, the data protection authority level and owned objects are queried. If the operation authority level is not less than the protection authority, the target data is encrypted and the encrypted data is sent to the access object to implement data access control and encryption processing.

Benefits of technology

The security of data is enhanced, ensuring that different accounts can only access corresponding protected resources, reducing the risk of data leakage and improving the security of the power grid system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734333A_ABST
    Figure CN118734333A_ABST
Patent Text Reader

Abstract

The invention discloses an embedded Euler system access control method and device, equipment and a storage medium. The method is characterized by comprising the steps of receiving a data access request of a data access object; querying a data protection permission level and a data owning object of the target request data; if the data operation permission level is not less than the data protection permission level, performing data encryption on the target request data based on the data owning object and the data access object, and determining encrypted data; and issuing the encrypted data to the data access object. Different data access objects can only access corresponding protected resources, access control is carried out on the data access objects, data encryption is carried out on the accessed data, and the security of the data is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grid network security, and in particular to an embedded Euler system access control method, device, equipment and storage medium. Background Art

[0002] In the power grid industry, with the rapid development of information technology and communication technology, the power system is gradually transforming towards intelligence and networking; this transformation has brought about a significant increase in the requirements for data processing capabilities and information security; currently, a large amount of real-time data from smart grids needs to be processed by embedded systems to ensure the stable operation and effective management of the power grid; the high degree of integration and real-time requirements of embedded systems make them play a vital role in power grid automation.

[0003] However, with the development of smart grids, the security issues of power grid systems have become increasingly prominent; especially in the context of grid automation and intelligence, the openness and interconnectedness of the system increase the risk of external attacks and internal misoperations; for example, power grid systems often process sensitive data of critical infrastructure, and the leakage or malicious tampering of this data may lead to catastrophic consequences. Summary of the invention

[0004] The present invention provides an embedded Euler system access control method, device, equipment and storage medium to implement data access control on the embedded Euler system and reduce the risk of external attacks on the embedded Euler system.

[0005] According to one aspect of the present invention, there is provided an embedded Euler system access control method, comprising:

[0006] Receiving a data access request from a data access object, wherein the data access request includes a data operation permission level and target request data of the data access object;

[0007] Query the data protection permission level and data owner of the target requested data;

[0008] If the data operation permission level is not less than the data protection permission level, encrypting the target request data based on the data owner object and the data access object to determine the encrypted data;

[0009] The encrypted data is sent to the data access object.

[0010] According to another aspect of the present invention, there is provided an embedded Euler system access control device, comprising:

[0011] An information response module, configured to receive a data access request from a data access object, wherein the data access request includes a data operation permission level and target request data of the data access object;

[0012] A data query module, used to query the data protection authority level and data owner of the target requested data;

[0013] A data encryption module, configured to encrypt the target request data based on the data owner object and the data access object to determine encrypted data if the data operation permission level is not less than the data protection permission level;

[0014] A data feedback module is used to send the encrypted data to the data access object.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the embedded Euler system access control method described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the embedded Euler system access control method described in any embodiment of the present invention when executed.

[0020] The embodiment of the present invention receives a data access request from a data access object, queries the data protection authority level and the data owner object of the target request data; sets corresponding authority for the data access object and the data owner object, and when receiving the data access request, can map each data according to the authority of different accounts, thereby increasing the security of the data; if the data operation authority level is not less than the data protection authority level, encrypts the target request data based on the data owner object and the data access object, determines the encrypted data, and sends the encrypted data to the data access object, and when the data request meets the corresponding authority requirements, encrypts the target request data, thereby further enhancing the data security, solves the technical problem of data leakage of the embedded Euler system of the power grid in the prior art, realizes that different data access objects can only access corresponding protected resources, implements access control on the data access object, and encrypts the accessed data, thereby enhancing the security of the data.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 is a flow chart of an embedded Euler system access control method provided by an embodiment of the present invention;

[0024] Figure 2 is a flow chart of another embedded Euler system access control method provided by an embodiment of the present invention;

[0025] Figure 3 An embedded Euler system access control device provided by an embodiment of the present invention;

[0026] Figure 4 A schematic structural diagram of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] Figure 1 This is a flowchart of an embedded Euler system access control method provided by an embodiment of the present invention. The embodiment of the present invention can be used to control access to data in an embedded Euler system and encrypt data in the system. The method can be executed by an embedded Euler system access control device. The embedded Euler system access control device can be implemented in the form of hardware and / or software. The embedded Euler system access control device can be configured in an electronic device. Figure 1 As shown, the method includes:

[0029] It should be noted that in the embodiment of the present invention, it is necessary to construct the corresponding system role and the operation authority and protection authority of the data in the system in advance in the embedded Euler system, and map the system role with the operation authority and protection authority one by one. In the embodiment of the present invention, the object that performs data access in the embedded Euler system is taken as the data access object, and the object that requests data access is taken as the data owner object. The data access object and the data owner object both have their own system roles, and the data access object can also be the data owner object at the same time. The data access object and the data owner object are associated with the data operation authority and the data protection authority according to their own system roles, so that when obtaining the data operation authority of the data access object, the data operation authority is obtained through the system role of the data access object itself, and the data protection authority is obtained through the system role of the data owner object. Among them, the data operation authority can be the right of the data access object to operate the data; the data protection authority can be the security authority to protect the data. Exemplarily, the system role can be a common account, a work account, a power grid management account and an administrator account, the data operation authority can be a first-level operation authority, a second-level operation authority, a third-level operation authority and a fourth-level operation authority, and the data protection authority can be a first-level protection authority, a second-level protection authority, a third-level protection authority and a fourth-level protection authority.

[0030] Optionally, the process of setting corresponding data protection permissions for the data in the system by the embedded Euler system is as follows: define the protected data, classify the data, and specify the data protection permission level for each type of data. Exemplarily, the system data can be regarded as the protected data, and the system data can be classified into system service data and system log data, and the fourth level protection permission is specified for the system service data, and the second level protection permission is specified for the system log data.

[0031] S110: Receive a data access request from a data access object.

[0032] The data access request includes the data operation permission level of the data access object and target request data; the target request data may be the data that the data access object requests to access.

[0033] Optionally, when the data access object accesses data, after determining the target request data, it queries the system role of the data access object, obtains the data operation permission level of the data access object based on the system role, and then generates a data access request based on the data operation permission level and the target request data combination.

[0034] Specifically, the data access object sends a data access request, the embedded Euler system receives the data access request of the data access object, and parses the data access request to obtain the data operation authority level and target request data of the data access object.

[0035] S120, query the data protection authority level of the target requested data and the data owner.

[0036] Specifically, after the embedded Euler system determines the target request data of the data access object, it queries the target request data in the system to determine the data owning object to which the target request data belongs, and based on the system role of the data object, uses the data protection permission level associated with the system role as the data protection permission level of the target request data.

[0037] S130: If the data operation permission level is not less than the data protection permission level, encrypt the target request data based on the data owner object and the data access object to determine the encrypted data.

[0038] Among them, encrypted data can be used to protect the confidentiality and security of target request data.

[0039] Optionally, in an embodiment of the present invention, the embedded Euler system needs to bind the data owner object and the data access object for each data access, so as to prevent the data access object from accessing the data of other data owner objects, while ensuring that the data owner object only sends target request data to one data access object. Therefore, a target shared key can be generated based on the data owner object and the data access object, and the target request data can be encrypted using the target shared key.

[0040] Specifically, when the data protection permission level of the target requested data is obtained, it is necessary to determine whether the data operation permission level of the data access object is sufficient to request the target requested data. Only when the data operation permission level of the data access object is not less than the data protection permission level of the target requested data, the target requested data is encrypted based on the data owning object and the data access object to determine the encrypted data.

[0041] S140: Send the encrypted data to the data access object.

[0042] Specifically, after determining the encrypted data of the target request data, the embedded Euler system sends the encrypted data to the data access object.

[0043] The embodiment of the present invention receives a data access request from a data access object, queries the data protection authority level and the data owner object of the target request data; sets corresponding authority for the data access object and the data owner object, and when receiving the data access request, can map each data according to the authority of different accounts, thereby increasing the security of the data; if the data operation authority level is not less than the data protection authority level, encrypts the target request data based on the data owner object and the data access object, determines the encrypted data, and sends the encrypted data to the data access object, and when the data request meets the corresponding authority requirements, encrypts the target request data, thereby further enhancing the data security, solves the technical problem of data leakage of the embedded Euler system of the power grid in the prior art, realizes that different data access objects can only access corresponding protected resources, implements access control on the data access object, and encrypts the accessed data, thereby enhancing the security of the data.

[0044] Figure 2 1 is a flowchart of another embedded Euler system access control method provided by an embodiment of the present invention. The embodiment of the present invention discloses a specific method for encrypting target request data by an embedded Euler system. Figure 2 As shown, the method includes:

[0045] S210: Receive a data access request from a data access object.

[0046] S220, query the data protection authority level of the target requested data and the data owner.

[0047] S230: If the data operation permission level is not less than the data protection permission level, a target shared key is generated according to the data owner object and the data access object by a preset key generation method.

[0048] Among them, the target shared key can be the key for encrypting information between the data owner and the data access; optionally, the preset key generation method can be ECDH (Elliptic Curve Diffie-Hellman key Exchange), which can establish the target shared key by elliptic curve encryption.

[0049] Specifically, in the embodiment of the present invention, a target shared key is constructed for the data owner object and the data access object through ECDH.

[0050] Optionally, in another optional embodiment of the present invention, generating a target shared key according to a data owner object and a data access object by a preset key generation method includes:

[0051] Obtain a target elliptic curve defined in a preset key finite field, and determine a key generation base point according to the target elliptic curve; obtain a second encryption public key, a second encryption private key, a first encryption public key, and a first encryption private key according to the key generation base point; and generate a target shared key according to the second encryption public key, the second encryption private key, the first encryption public key, and the first encryption private key.

[0052] Among them, the preset key finite field can be a finite field GF(p), which can be understood as a data space. By selecting a prime number p, the prime number is defined in the finite field GF(p). The target elliptic curve can be an elliptic curve defined in the finite field GF(p) based on ECDH; the key generation base point can be a base point selected in the target elliptic curve. The key generation base point can be represented by G. The order of the key generation base point is the size of the cyclic subgroup of G. The order of the key generation base point is represented by n, and has no common factors with the prime number p.

[0053] The second encryption public key may be the public key of the data owner, and the second encryption private key may be the private key of the data owner. It should be noted that in the embodiment of the present invention, the second encryption private key is d DO To represent, the second encryption public key can be expressed as Q DO To express it, the second encryption private key d is randomly selected in the interval (1, n-1) DO , based on the second encrypted private key d DO Calculate the second encryption public key Q DO , the specific formula is as follows:

[0054] Q DO =d DO *G;

[0055] The first encryption public key may be a public key of the data access object, and the first encryption private key may be a private key of the data access object. It should be noted that in the embodiment of the present invention, the first encryption private key is d DA To represent, the first encryption public key can be expressed as Q DA To represent, the first encryption private key d is randomly selected in the interval (1, n-1) DA , based on the first encrypted private key d DA Calculate the first encryption public key Q DA , the specific formula is as follows:

[0056] Q DA =d DA *G

[0057] Optionally, the second encryption public key Q is calculated DO , second encrypted private key d DO , the first encryption public key Q DA and the first encrypted private key d DA After that, the data access object will first encrypt the public key Q DA and the first encrypted private key d DA Upload the data using the first public encryption key Q of the data access object DA and the first encrypted private key d DA The first shared key K DO The specific calculation process is as follows:

[0058] K DO =d DO *Q DA

[0059] And pass the second encryption public key Q of the data owner DO and the second encrypted private key d DO Calculate the second shared key K DA The specific calculation process is as follows:

[0060] K DA =d DA *Q DO

[0061] After obtaining the first shared key K DO and the second shared key K DA Then, the first shared key K is determined based on the properties of elliptic curve addition. DO and the second shared key K DA , if the first shared key KDO and the second shared key K DA If the second shared key K DA Determine the target shared key K.

[0062] Optionally, if the first shared key K DO and the second shared key K DA Different from this, the embedded Euler system directly rejects the data access request of the data access object.

[0063] S240: Encrypt the target request data according to the target shared key based on a preset encryption method to obtain an encrypted ciphertext.

[0064] Among them, the preset encryption method can be an AES-GCM (Advanced Encryption Standard-GaloisCounter Mode) encryption algorithm.

[0065] Specifically, the target request data is encrypted according to the target shared key through the AES-GCM encryption algorithm to obtain an encrypted ciphertext.

[0066] Optionally, in another optional embodiment of the present invention, the target request data is encrypted according to the target shared key based on a preset encryption method to obtain an encrypted ciphertext, including:

[0067] Key derivation is performed according to the target shared key to determine the symmetric encryption key and the encryption vector; based on a preset encryption method, the target request data is encrypted according to the symmetric encryption key and the encryption vector to obtain an encrypted ciphertext; wherein the encrypted ciphertext includes a data ciphertext and an authentication tag.

[0068] Optionally, in the embodiment of the present invention, a key is derived from the shared key K through a key derivation function to obtain a symmetric encryption key and an encryption vector, and K AES Represents the symmetric encryption key, IV represents the encryption vector, HKDF (HMAC-based Extract-and-Expand Key Derivation Function) is used as the key derivation function, and the specific generation method is:

[0069] K AES , IV=HKDF(K)

[0070] Optionally, the data owner obtains the symmetric encryption key K AESAfter the encryption vector IV is obtained, the target request data is encrypted using the AES-GCM encryption algorithm to generate an encrypted ciphertext, which includes a data ciphertext and an authentication tag. D represents the target request data, C represents the data ciphertext, and T represents the authentication tag. The AES-GCM-Encrypt function is used as a specific algorithm of AES-GCM. The encryption calculation of the embodiment of the present invention is as follows:

[0071] (C,T)=AES-GCM-Encrypt(K AES ,IV,D)

[0072] Specifically, a key derivation function is used to derive a key from the target shared key to generate a symmetric encryption key and an encryption vector, and then the target request data is encrypted using the AES-GCM mode based on the symmetric encryption key and the encryption vector to obtain a data ciphertext and an authentication tag, which are used to form an encrypted ciphertext.

[0073] S250, obtaining a second encryption private key pre-generated by the data owner, signing the encrypted ciphertext with the second encryption private key, and determining the encrypted data.

[0074] Specifically, a second encryption private key pre-generated by the data owner is obtained, and the encrypted ciphertext is signed by the second encryption private key to obtain the encrypted data.

[0075] Optionally, in an embodiment of the present invention, encrypting the ciphertext with the second encryption private key may be signing the data ciphertext or the authentication tag with the second encryption private key, or signing the data ciphertext and the authentication tag with the second encryption private key, which is not limited to the embodiment of the present invention.

[0076] Optionally, in another optional embodiment of the present invention, obtaining a second encryption private key pre-generated by the data owner, signing the encrypted ciphertext by the second encryption private key, and determining the encrypted data includes:

[0077] The data ciphertext and / or the authentication tag are signed according to the second encryption private key to determine the data signature; the data signature, the encrypted ciphertext, and the second encryption public key are combined into a message to determine the encrypted data.

[0078] Optionally, in the embodiment of the present invention, digital signature is implemented by using ECDSA-SIGN (Elliptic Curve Digital Signature Algorithm-Sign). Specifically, by using the second encryption private key d DO The authentication tag T and / or the encrypted ciphertext C are signed to generate a data signature Sig. For example, taking the signing of the encrypted ciphertext C as an example, the specific formula is as follows:

[0079]

[0080] in, Denotes the hash function applied to the encrypted ciphertext C.

[0081] Specifically, the data ciphertext and / or the authentication tag are signed by the second encryption private key to determine the data signature; the data signature, the encrypted ciphertext, and the second encryption public key are message combined to determine the encrypted data.

[0082] S260: Send the encrypted data to the data access object.

[0083] The embodiment of the present invention receives a data access request from a data access object, queries the data protection authority level and the data owner object of the target request data; sets corresponding authority for the data access object and the data owner object, and when receiving the data access request, can map each data according to the authority of different accounts, thereby increasing the security of the data; if the data operation authority level is not less than the data protection authority level, encrypts the target request data based on the data owner object and the data access object, determines the encrypted data, and sends the encrypted data to the data access object, and when the data request meets the corresponding authority requirements, encrypts the target request data, thereby further enhancing the data security, solves the technical problem of data leakage in the embedded Euler system of the power grid in the prior art, realizes that different data access objects can only access corresponding protected resources, implements access control on the data access object, and encrypts the accessed data, thereby enhancing the security of the data.

[0084] Optionally, in another optional embodiment of the present invention, before sending the encrypted data to the data access object, it also includes: sending the symmetric encryption key and the encryption vector to the data access object;

[0085] In the embodiment of the present invention, the embedded Euler system also sends the symmetric encryption key K AES The initialization vector IV is sent to the data access object so that the access object can decrypt the encrypted ciphertext C.

[0086] Optionally, in another optional embodiment of the present invention, after the encrypted data is sent to the data access object, it also includes: enabling the data access object to decrypt the encrypted data according to the symmetric encryption key and the encryption vector to obtain the target requested data.

[0087] Optionally, in the embodiment of the present invention, after the data access object obtains the encrypted data, the encrypted data is parsed to obtain the authentication tag T, the encrypted ciphertext C, the data signature Sig and the second encryption public key Q DO , the data access object uses the second encryption public key QDO Verify the data signature Sig. During the data verification process, ECDSA-VERIFY (Elliptic Curve Digital Signature Algorithm-Data Verification) is used for data verification. The specific formula is as follows:

[0088]

[0089] in, It indicates that a hash function is applied to the encrypted ciphertext C. isValid indicates a Boolean value obtained by data verification. isValid is used to check whether the data signature Sig is valid. If isValid is true, it can be considered that the signature of the data owner has not changed, and the encrypted ciphertext C and the data signature Sig can be trusted.

[0090] Optionally, after successful data verification, the data access object can use the symmetric encryption key K AES The encrypted ciphertext C is decrypted with the initialization vector IV to obtain the target request data D, and the authentication tag T is verified to verify the integrity and authenticity of the target request data D. The AES-GCM-Decrypt decryption function is usually used in the decryption process. The specific formula is as follows:

[0091] D,isAuthcntic=AES-GCM-Decrypt(K AES ,IV,C,T)

[0092] Among them, isAuthcntic is the Boolean value returned by the AES-GCM-Decrypt function. isAuthcntic is used to indicate whether the authentication tag T and the encrypted ciphertext C match. If isAuthcntic is true, it indicates that the authentication tag T and the encrypted ciphertext C match, indicating that the encryption process has not been tampered with and the encrypted ciphertext remains intact during the transmission process.

[0093] Optionally, in another optional embodiment of the present invention, the embedded Euler system implements sensitivity detection based on the context information of the target request data requested by the data access object, and can dynamically adjust the data permission protection level of the target request resource, so as to prohibit the data access object from obtaining the target request data when an abnormality is detected according to the context information of the target request data. The embodiment of the present invention realizes dynamic decision-making of user access through sensitivity detection.

[0094] Optionally, in another optional embodiment of the present invention, the embedded Euler system also records the access process of each data access object through a log to obtain log information, and audits the data access object through the log information. If it is determined during the audit process that there is abnormal access to the data access object, the data access object is banned.

[0095] Figure 3 An embedded Euler system access control device is provided in an embodiment of the present invention. Figure 3 As shown, the device includes: an information response module 310, a data query module 320, a data encryption module 330 and a data feedback module 340, wherein:

[0096] An information response module 310 is used to receive a data access request from a data access object, wherein the data access request includes a data operation permission level and target request data of the data access object;

[0097] A data query module 320, used to query the data protection authority level and data owner of the target requested data;

[0098] A data encryption module 330 is configured to encrypt the target request data based on the data owner object and the data access object to determine encrypted data if the data operation permission level is not less than the data protection permission level;

[0099] The data feedback module 340 is used to send the encrypted data to the data access object.

[0100] The embodiment of the present invention receives a data access request from a data access object, queries the data protection authority level and the data owner object of the target request data; sets corresponding authority for the data access object and the data owner object, and when receiving the data access request, can map each data according to the authority of different accounts, thereby increasing the security of the data; if the data operation authority level is not less than the data protection authority level, encrypts the target request data based on the data owner object and the data access object, determines the encrypted data, and sends the encrypted data to the data access object, and when the data request meets the corresponding authority requirements, encrypts the target request data, thereby further enhancing the data security, solves the technical problem of data leakage of the embedded Euler system of the power grid in the prior art, realizes that different data access objects can only access corresponding protected resources, implements access control on the data access object, and encrypts the accessed data, thereby enhancing the security of the data.

[0101] Optionally, the data encryption module is specifically used for:

[0102] Generate a target shared key according to the data owner object and the data access object through a preset key generation method;

[0103] Encrypt the target request data according to the target shared key based on a preset encryption method to obtain an encrypted ciphertext;

[0104] The second encryption private key pre-generated by the data owner is obtained, and the encrypted ciphertext is signed by the second encryption private key to determine the encrypted data.

[0105] Optionally, the data encryption module is further used to:

[0106] Obtain a target elliptic curve defined in a preset key finite field, and determine a key generation base point according to the target elliptic curve;

[0107] Obtain a second encryption public key, a second encryption private key, a first encryption public key, and a first encryption private key according to the key generation base point;

[0108] A target shared key is generated according to the second encrypted public key, the second encrypted private key, the first encrypted public key, and the first encrypted private key.

[0109] Optionally, the data encryption module is further used to:

[0110] Derivation of keys is performed based on the target shared key to determine the symmetric encryption key and encryption vector;

[0111] Based on a preset encryption method, the target request data is encrypted according to a symmetric encryption key and an encryption vector to obtain an encrypted ciphertext; wherein the encrypted ciphertext includes a data ciphertext and an authentication tag.

[0112] Optionally, the data encryption module is further used to:

[0113] Signing the data ciphertext and / or the authentication tag according to the second encryption private key to determine the data signature;

[0114] The data signature, the encrypted ciphertext, and the second encrypted public key are combined into a message to determine the encrypted data.

[0115] Optionally, the device further comprises a key feedback module, wherein:

[0116] A key feedback module is used to send the symmetric encryption key and encryption vector to the data access object;

[0117] Optionally, the device further comprises a data decryption module, wherein:

[0118] The data decryption module is used to enable the data access object to decrypt the encrypted data according to the symmetric encryption key and the encryption vector to obtain the target request data.

[0119] The embedded Euler system access control device provided in the embodiment of the present invention can execute the embedded Euler system access control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0120] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0121] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0122] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0123] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the embedded Euler system access control method.

[0124] In some embodiments, the embedded Euler system access control method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the embedded Euler system access control method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the embedded Euler system access control method in any other appropriate manner (e.g., by means of firmware).

[0125] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0126] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0127] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0128] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0129] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0130] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0131] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0132] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the embedded Euler system access control method steps provided by any embodiment of the present invention are implemented. The method includes:

[0133] Receiving a data access request from a data access object, wherein the data access request includes a data operation permission level and target request data of the data access object;

[0134] Query the data protection permission level and data owner of the target requested data;

[0135] If the data operation permission level is not less than the data protection permission level, encrypting the target request data based on the data owner object and the data access object to determine the encrypted data;

[0136] The encrypted data is sent to the data access object.

[0137] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0138] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0139] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0140] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0141] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0142] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0143] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An embedded Euler system access control method, characterized in that: include: Receiving a data access request from a data access object, wherein the data access request includes a data operation permission level and target request data of the data access object; Query the data protection permission level and data owner of the target requested data; If the data operation permission level is not less than the data protection permission level, encrypting the target request data based on the data owner object and the data access object to determine the encrypted data; The encrypted data is sent to the data access object.

2. The method according to claim 1, characterized in that The step of encrypting the target request data based on the data owner object and the data access object to determine the encrypted data includes: Generate a target shared key according to the data owner object and the data access object by using a preset key generation method; Encrypting the target request data according to the target shared key based on a preset encryption method to obtain an encrypted ciphertext; A second encryption private key pre-generated by the data owner is obtained, and the encrypted ciphertext is signed by the second encryption private key to determine the encrypted data.

3. The method according to claim 2, characterized in that The generating a target shared key according to the data owner object and the data access object by using a preset key generation method includes: Obtaining a target elliptic curve defined in a preset key finite field, and determining a key generation base point according to the target elliptic curve; Acquire a second encryption public key, a second encryption private key, a first encryption public key, and a first encryption private key according to the key generation base point; The target shared key is generated according to the second encrypted public key, the second encrypted private key, the first encrypted public key and the first encrypted private key.

4. The method according to claim 2, characterized in that: The method based on a preset encryption method encrypts the target request data according to the target shared key to obtain an encrypted ciphertext, including: Derivation of a key is performed based on the target shared key to determine a symmetric encryption key and an encryption vector; Based on the preset encryption method, the target request data is encrypted according to the symmetric encryption key and the encryption vector to obtain the encrypted ciphertext; wherein the encrypted ciphertext includes a data ciphertext and an authentication tag.

5. The method according to claim 4, characterized in that The obtaining of a second encryption private key pre-generated by the data owner object, signing the encrypted ciphertext by using the second encryption private key, and determining the encrypted data includes: Signing the data ciphertext and / or the authentication tag according to the second encryption private key to determine a data signature; The data signature, the encrypted ciphertext, and the second encrypted public key are combined into a message to determine the encrypted data.

6. The method according to claim 1, characterized in that Before sending the encrypted data to the data access object, the method further includes: The symmetric encryption key and the encryption vector are sent to the data access object.

7. The method according to claim 6, characterized in that After sending the encrypted data to the data access object, the method further includes: The data access object decrypts the encrypted data according to the symmetric encryption key and the encryption vector to obtain the target request data.

8. An embedded Euler system access control device, characterized in that: include: An information response module, configured to receive a data access request from a data access object, wherein the data access request includes a data operation permission level and target request data of the data access object; A data query module, used to query the data protection authority level and data owner of the target requested data; A data encryption module, configured to encrypt the target request data based on the data owner object and the data access object to determine encrypted data if the data operation permission level is not less than the data protection permission level; A data feedback module is used to send the encrypted data to the data access object.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the embedded Euler system access control method described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the embedded Euler system access control method described in any one of claims 1-7 when executed.

Citation Information

Cited By

  • Encryption method, decryption method, encryption and decryption method and computer readable storage medium

    CN120263395A