A data rights management method and related device
By introducing access control microservice nodes into the big data platform to perform security filtering and identity authentication, the problem of cumbersome permission management on the big data platform is solved, the accuracy and efficiency of permission management are improved, and the permission management process is simplified.
Patent Information
- Application Number
- CN202410514276.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-04-26
AI Technical Summary
Existing big data platforms lack effective permission management functions, resulting in cumbersome and inefficient permission management based on secret key authentication. Especially when the number of nodes and access users increases, it is difficult to ensure data security.
Introduce access control microservice nodes into the big data platform, manage user access requests through security filtering and identity authentication, and determine whether the user terminal is the target terminal. If the authentication is successful, access is allowed, otherwise it is denied. Multiple confirmations are used to improve the accuracy of permission management. sex and efficiency.
By first screening whether the user terminal is the target terminal and then performing identity authentication, the rights management process is simplified, the accuracy and efficiency of rights management is improved, and the tediousness of secret key authentication is avoided.
Smart Images

Figure CN118349977B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet big data technology, and in particular to a data authority management method and related devices. Background Art
[0002] The existing big data platform is an open source architecture and does not have a permission management function module, which poses a data security risk. However, as the number of nodes, architecture components, service applications, and access users of the big data platform increases, this type of permission management becomes extremely complicated. Especially when the number of nodes in the big data cluster continues to increase, permission management based on secret key authentication becomes extremely cumbersome and inefficient. Summary of the invention
[0003] The main purpose of the present invention is to provide a data permission management method, device, computer equipment and storage medium, which can solve the problem in the prior art that permission management based on key authentication is extremely cumbersome and inefficient.
[0004] To achieve the above object, the first aspect of the present invention provides a data authority management method, which is applied to a big data platform, the big data platform includes an access control microservice node, and the method includes:
[0005] When the access control microservice node receives an access request sent by a user access terminal, the access control microservice node performs security filtering on the access request; wherein the access request includes the access requirement authority of the user access terminal, and the access requirement authority is the requirement authority of the user access terminal for the big data platform;
[0006] When the access request completes security filtering, the access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform; if the user access terminal is not the target terminal, the access control microservice node rejects the access request; if the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal authentication is successful, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster. If the user access terminal authentication fails, the access request is rejected; wherein, the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node.
[0007] In combination with the first aspect, in a possible implementation method, the above-mentioned access control microservice node performs security filtering on the access request, including: reading the content of the access request to determine whether the access request carries an unreadable code; if it does not carry an unreadable code, completing the security filtering; if it carries an unreadable code, marking the unreadable code and feeding it back to the user access terminal, the user access terminal is used to modify the marked unreadable code, obtain a new access request, and send the new access request to the access control microservice node; the access control microservice node receives the new access request, returns to execute the step of reading the content of the access request and determining whether the access request carries an unreadable code, until the access request does not carry an unreadable code, and the security filtering is completed.
[0008] In combination with the first aspect, in a possible implementation manner, the method further includes:
[0009] After the user access terminal sends the access request, the user access terminal sends a collection request to the monitoring microservice node once at a preset interval. The monitoring microservice node is a child node of the access control microservice node. The collection request is a request for statistical processing of the number of access requirement permissions edited by the user access terminal; when the monitoring microservice node first receives the collection request sent from the user access terminal, it sends an initial feedback signal indicating that the collection request has been received to the access control microservice node. After receiving the initial feedback signal, the access control microservice node determines whether the collection request is sent by a target terminal associated with the big data platform; if the collection request is not sent by a target terminal associated with the big data platform, If the collection request is sent by a target terminal associated with the big data platform, the collection request is rejected; if the collection request is sent by a target terminal associated with the big data platform, the access control microservice node performs a collection operation on the access requirement permissions, and after completing the collection operation on the access requirement permissions, sends a collection completion signal representing the completion of the collection operation to the monitoring microservice node, and the monitoring microservice node is used to send a collection feedback signal representing the completion of the collection operation to the user access terminal after receiving the collection request sent by the user access terminal next time, and the user access terminal is used to send a target signal instruction representing the receipt of the collection feedback signal to the access control microservice node.
[0010] In combination with the first aspect, in a possible implementation manner, the access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform, including:
[0011] When the access control microservice node receives a target signal instruction from the user access terminal indicating that a collection feedback signal has been received, the user access terminal is determined to be a target terminal. If the access control microservice node does not receive a target signal instruction from the user access terminal indicating that a collection feedback signal has been received, the user access terminal is determined not to be a target terminal.
[0012] In combination with the first aspect, in a possible implementation manner, the obtaining of a data matching identifier corresponding to the user access terminal and authenticating the user access terminal based on the data matching identifier includes:
[0013] Detect whether there is a corresponding preset matching request between the target account of the user access terminal and the data matching identifier, wherein the target account is the user account corresponding to the access requirement authority; if there is a corresponding matching request between the target account and the data matching identifier, obtain the target account information of the user access terminal, and obtain the user access terminal information, and match the target account information with the user access terminal information, wherein if the target account information matches the user access terminal information successfully, the identity authentication is successful, and if the target account information fails to match the user access terminal information, the identity authentication fails.
[0014] In combination with the first aspect, in a possible implementation manner, the allowing the user access terminal to execute the access requirement authority in the access request to access the big data server cluster includes:
[0015] The access control microservice node uses the access requirement permission as an editing permission instruction for the user to be verified, and marks the editing permission instruction for the user to be verified as a pending activation state; if the identity authentication of the user access terminal is successful, the editing permission instruction for the user to be verified in the pending activation state is activated to allow the user access terminal to execute the access requirement permission in the access request to access the big data server cluster, and the editing permission instruction for the user to be verified is used to instruct the access control microservice node to grant the user access terminal the access requirement permission.
[0016] In combination with the first aspect, in a possible implementation method, the above-mentioned obtaining of user access terminal information includes: the access control microservice node uses the attribute characteristics to be identified that are preset attribute characteristics initially obtained from the user access terminal as the user access terminal information.
[0017] To achieve the above object, the second aspect of the present invention provides a data rights management device, the device comprising:
[0018] Receiving and filtering module: used for performing security filtering on the access request after the access control microservice node receives the access request from the user access terminal; wherein the access request includes the access requirement authority of the user access terminal, and the access requirement authority is the requirement authority of the user access terminal for the big data platform;
[0019] Permission management module: used to determine whether the user access terminal is a target terminal associated with the big data platform after the access request completes security filtering; if the user access terminal is not the target terminal, the access request is rejected; if the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal authentication is successful, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster; if the user access terminal authentication fails, the access request is rejected; wherein, the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node.
[0020] To achieve the above object, the third aspect of the present invention provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
[0021] When the access control microservice node receives an access request sent by a user access terminal, the access control microservice node performs security filtering on the access request; wherein the access request includes the access requirement authority of the user access terminal, and the access requirement authority is the requirement authority of the user access terminal for the big data platform;
[0022] When the access request completes security filtering, the access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform; if the user access terminal is not the target terminal, the access control microservice node rejects the access request; if the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal authentication is successful, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster. If the user access terminal authentication fails, the access request is rejected; wherein, the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node.
[0023] To achieve the above object, a fourth aspect of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0024] When the access control microservice node receives an access request sent by a user access terminal, the access control microservice node performs security filtering on the access request; wherein the access request includes the access requirement authority of the user access terminal, and the access requirement authority is the requirement authority of the user access terminal for the big data platform;
[0025] When the access request completes security filtering, the access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform; if the user access terminal is not the target terminal, the access control microservice node rejects the access request; if the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal authentication is successful, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster. If the user access terminal authentication fails, the access request is rejected; wherein, the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node.
[0026] The embodiments of the present invention have the following beneficial effects:
[0027] The present invention provides a data permission management method, which is applied to a big data platform. The big data platform includes an access control microservice node. The data permission management is realized by interacting with a user access terminal through the access control microservice node. Specifically, after the access request sent by the user access terminal completes security filtering, the access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform. If the user access terminal is not the target terminal, the access control microservice node rejects the access request. If the user access terminal is the target terminal, a data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal is successfully authenticated, the user access terminal is allowed to execute the access requirement permission in the access request to access a big data server cluster. If the user access terminal fails to be authenticated, the access request is rejected so that the user access terminal is not allowed to execute the access requirement permission in the access request to access the big data server cluster. The present invention first screens whether the user access terminal is the target terminal. If not, no permission is granted. If so, a data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier to achieve a second confirmation. If the authentication is successful, permission is granted. Multiple confirmations can improve the accuracy and effectiveness of permission management. In addition, this method avoids the tediousness of permission management by secret key authentication, and permission management based on identity authentication is simple and efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.
[0029] in:
[0030] Figure 1 A schematic diagram of a data rights management method according to an embodiment of the present invention;
[0031] Figure 2 This is a structural block diagram of a data authority management device in an embodiment of the present invention;
[0032] Figure 3 4 is a structural block diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.
[0034] The embodiment of the present invention provides a data authority management method, which can be applied to a big data platform to manage the authority of a user access terminal accessed by the big data platform, wherein the big data platform is a network platform that provides services through content sharing, resource sharing, channel co-construction and data sharing, and the user access terminal is a terminal for accessing the big data platform. Figure 1 , Figure 1 A flowchart of a data rights management method provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method is specifically shown in step S101-step S102:
[0035] Step S101: After the access control microservice node receives an access request sent by a user access terminal, the access control microservice node performs security filtering on the access request.
[0036] The access request includes the access permission required by the user access terminal, and the access permission required is the permission required by the user access terminal for the big data platform.
[0037] Step S102: After the access request completes security filtering, the access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform; if the user access terminal is not the target terminal, the access control microservice node rejects the access request; if the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal authentication is successful, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster. If the user access terminal authentication fails, the access request is rejected; wherein, the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node.
[0038] In this embodiment, the big data platform includes an access control microservice node, which can be used to receive the permissions required in the access request sent by the user access terminal.
[0039] Specifically, the access requirement permissions are edited on the user access terminal. The access requirement permissions are the user access terminal's requirement permissions for the big data platform. After the user access terminal completes editing the access requirement permissions, the user access terminal sends an access request to the access control microservice node. The access request includes the access requirement permissions of the user access terminal. When the access control microservice node receives the access request sent by the user access terminal, the access control microservice node performs security filtering on the access request. Among them, security filtering is to ensure that the access request can be read normally. Security filtering is used to ensure that the access request does not carry unreadable code.
[0040] After the access request completes security filtering, the access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform. If the user access terminal is not the target terminal, the access control microservice node rejects the access request. If the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, wherein the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node. The data matching identifier can be a user name, or real-name information under the user name, such as identity information, family information, or work information. The user access terminal is authenticated based on the data matching identifier. If the user access terminal authentication is successful, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster. If the user access terminal authentication fails, the access request is rejected.
[0041] In this embodiment, the user access terminal is identified as a target terminal to perform a preliminary screening of the user access terminal. For user access terminals that fail the preliminary screening, there is no need to obtain the data matching identifier corresponding to the user access terminal and perform subsequent identity authentication. The efficiency of authority management can be improved through preliminary screening. In addition, secondary confirmation is performed on user access terminals that pass the preliminary screening to improve the effectiveness of authority management.
[0042] In this embodiment, the method steps for the access control microservice node to perform security filtering on the access request are shown in steps S201 to S202:
[0043] Step S201: Read the content of the access request to determine whether the access request carries an unreadable code.
[0044] Step S202: If the unreadable code is not carried, the security filtering is completed; if the unreadable code is carried, the unreadable code is marked and fed back to the user access terminal, and the user access terminal is used to modify the marked unreadable code, obtain a new access request, and send the new access request to the access control microservice node; the access control microservice node receives the new access request, returns to execute the step of reading the content of the access request, and determines whether the access request carries the unreadable code, until the access request does not carry the unreadable code, and the security filtering is completed.
[0045] The access control microservice node reads the content of the access request and determines whether the access request carries an unreadable code. If the access request does not carry an unreadable code, security filtering is completed. If the access request carries an unreadable code, the unreadable code is marked, and the access request with the marked code is fed back to the user access terminal. The user access terminal receives the access request fed back by the access control microservice node, modifies the marked unreadable code, obtains a new access request, and sends the new access request to the access control microservice node. The access control microservice node receives the new access request and re-reads the content of the new access request. If the access request still carries an unreadable code, the unreadable code continues to be marked, and the access request with the marked code is fed back to the user access terminal. The user access terminal modifies the marked unreadable code again to obtain a new access request, and sends the new access request to the access control microservice node. The access control microservice node re-reads the content of the new access request, and the above operations are repeated until the access control microservice node re-identifies that the access request does not carry an unreadable code, that is, returns to execute the step of reading the content of the access request and determining whether the access request carries an unreadable code, until the access request does not carry an unreadable code, and security filtering is completed.
[0046] Among them, after the user access terminal sends an access request, it also sends a collection request to the monitoring microservice node once at a preset interval. The monitoring microservice node is a child node of the access control microservice node. The collection request is an instruction to perform a collection operation. The collection operation is to perform statistical processing on the number of access requirement permissions edited by the user access terminal.
[0047] When the monitoring microservice node receives a collection request sent from a user access terminal for the first time, it sends an initial feedback signal indicating that the collection request has been received to the access control microservice node. After receiving the initial feedback signal, the access control microservice node determines whether the collection request is sent by a target terminal associated with the big data platform. If the collection request is not sent by a target terminal associated with the big data platform, the collection request is rejected. If the collection request is sent by a target terminal associated with the big data platform, the access control microservice node performs a collection operation on the access demand permissions, and after completing the collection operation on the access demand permissions, sends a collection completion signal indicating that the collection operation is completed to the monitoring microservice node. The monitoring microservice node sends a collection feedback signal indicating that the collection operation is completed to the user access terminal after receiving the collection request sent by the user access terminal next time. After receiving the collection feedback signal, the user access terminal sends a target signal instruction indicating that the collection feedback signal is received to the access control microservice node.
[0048] As can be seen from the above, for a user access terminal that is a target terminal, the access control microservice node will complete the collection operation for the user access terminal. When the user access terminal that is the target terminal sends a collection request, the user access terminal can receive a collection feedback signal, and the access control microservice node can also receive a target signal instruction. Therefore, in this embodiment, the method for the access control microservice node to determine whether the user access terminal is a target terminal can be specifically shown in the following step S301:
[0049] Step S301: When the access control microservice node receives a target signal instruction indicating that a collection feedback signal has been received and sent from the user access terminal, it is determined that the user access terminal is a target terminal; if the access control microservice node does not receive a target signal instruction indicating that a collection feedback signal has been received and sent from the user access terminal, it is determined that the user access terminal is not a target terminal.
[0050] When the access control microservice node receives a target signal instruction from the user access terminal indicating that a collection feedback signal has been received, the user access terminal is determined to be the target terminal. If the access control microservice node does not receive a target signal instruction from the user access terminal indicating that a collection feedback signal has been received, the user access terminal is determined not to be the target terminal.
[0051] In this embodiment, when the access control microservice node receives a target signal instruction sent from a user access terminal indicating that a collection feedback signal has been received, the user information data acquisition function of the user access terminal is enabled to obtain a data matching identifier corresponding to the user access terminal. Further, the user access terminal is authenticated based on the data matching identifier. The authentication method is shown in the following steps S401-S402:
[0052] Step S401: Detect whether there is a corresponding preset matching request between the target account of the user access terminal and the data matching identifier.
[0053] The target account is the user account corresponding to the required access permissions.
[0054] Step S402: If there is a corresponding matching request between the target account and the data matching identifier, the target account information of the user access terminal is obtained, and the user access terminal information is obtained, and the target account information is matched with the user access terminal information. If the target account information matches the user access terminal information successfully, the identity authentication is successful; if the target account information fails to match the user access terminal information, the identity authentication fails.
[0055] Detect whether there is a corresponding preset matching request between the target account of the user access terminal and the data matching identifier. If there is a corresponding matching request between the target account and the data matching identifier, obtain the target account information of the user access terminal, wherein the target account information is information that can be used to confirm the identity of the target account, such as a user name, and obtain the user access terminal information, wherein the user access terminal information is information that can be used to confirm the identity of the user access terminal, such as a data matching identifier corresponding to the user access terminal.
[0056] The target account information is matched with the user access terminal information. If the target account information matches the user access terminal information successfully, the identity authentication is successful. If the target account information matches the user access terminal information unsuccessfully, the identity authentication fails.
[0057] The method for obtaining the user access terminal information may be as follows:
[0058] The big data platform and the user access terminal can also communicate with a third-party processor, which obtains the attribute features to be identified from the user access terminal and inputs the attribute features to be identified into a preset attribute recognition model, wherein the attribute recognition model is used to determine whether the attribute features to be identified are preset attribute features. If the attribute recognition model determines that the attribute features to be identified are preset attribute features, the third-party processor sends the attribute features to be identified to the access control microservice node, and the access control microservice node uses the attribute features to be identified as user access terminal information.
[0059] If the attribute recognition model determines that the attribute feature to be recognized is not the preset attribute feature, the third-party processor re-acquires a new attribute feature to be recognized from the user access terminal and inputs the new attribute feature to be recognized into the attribute recognition model until the attribute recognition model recognizes that the attribute feature to be recognized is the preset attribute feature.
[0060] Therefore, the access control microservice node uses the attribute feature to be identified that is a preset attribute feature initially acquired from the user access terminal as the user access terminal information.
[0061] The attribute feature to be identified may be data matching identification information converted into a character segment.
[0062] In one possible implementation, when the access control microservice node receives a target signal instruction representing the receipt of a collection feedback signal sent by a user access terminal, the access control microservice node uses the access requirement permission as a to-be-verified user editing permission instruction, and marks the to-be-verified user editing permission instruction as a to-be-verified state. The to-be-verified user editing permission instruction is used to instruct the access control microservice node to grant the user access terminal the access requirement permission. If the user access terminal identity authentication is successful, the to-be-verified user editing permission instruction in the to-be-verified state is activated to allow the user access terminal to execute the access requirement permission in the access request to access the big data server cluster.
[0063] By obtaining the data matching identifier, detecting the target account information of the user access terminal and comparing it with the user access terminal information obtained in real time, obtaining the attribute features to be identified on the user access terminal, and judging whether the attribute features to be identified are preset attribute features through the attribute recognition model, the user access terminal information is obtained to confirm whether the access control microservice node needs to activate the editing permission instruction of the user to be verified. Compared with the secret key authentication, the authentication result is more accurate, and the permission management is authorized or denied after quick confirmation, thereby greatly improving the processing efficiency of access requests. In addition, the attribute recognition model has a high comparison accuracy, and the configuration of multi-data permission management permissions can be easily realized.
[0064] In order to better implement the above method, the embodiment of the present invention provides a data authority management device, referring to Figure 2 , Figure 2 A structural block diagram of a data rights management device provided by an embodiment of the present invention, such as Figure 2 As shown, the device 20 specifically includes:
[0065] Receiving and filtering module 201: used for security filtering the access request after the access control microservice node receives the access request from the user access terminal; wherein, the access request includes the access requirement permissions of the user access terminal, and the access requirement permissions are the required permissions of the user access terminal for the big data platform.
[0066] Permission management module 202: used to determine whether the user access terminal is a target terminal associated with the big data platform after the access request completes security filtering; if the user access terminal is not the target terminal, the access request is rejected; if the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal authentication is successful, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster; if the user access terminal authentication fails, the access request is rejected; wherein, the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node.
[0067] In one possible design, the receiving and filtering module 201 is specifically used to: read the content of the access request to determine whether the access request carries an unreadable code; if it does not carry an unreadable code, complete security filtering; if it carries an unreadable code, mark the unreadable code and feed it back to the user access terminal, the user access terminal is used to modify the marked unreadable code, obtain a new access request, and send the new access request to the access control microservice node; receive the new access request, return to execute the step of reading the content of the access request and determining whether the access request carries an unreadable code, until the access request does not carry an unreadable code, and security filtering is completed.
[0068] In one possible design, the receiving and filtering module 201 is specifically used for: after sending the access request, sending a collection request to the monitoring microservice node once at a preset interval, the monitoring microservice node is a child node of the access control microservice node, and the collection request is a request for statistical processing of the number of access requirement permissions edited by the user access terminal; the monitoring microservice node is used for sending an initial feedback signal indicating the receipt of the collection request to the access control microservice node when the monitoring microservice node first receives the collection request sent by the user access terminal; after receiving the initial feedback signal, determining whether the collection request is sent by a target terminal associated with the big data platform; if the collection request is sent by a target terminal associated with the big data platform, If the request is not sent by a target terminal associated with the big data platform, the collection request is rejected; if the collection request is sent by a target terminal associated with the big data platform, a collection operation is performed on the access requirement permissions, and after the collection operation is completed on the access requirement permissions, a collection completion signal representing the completion of the collection operation is sent to the monitoring microservice node, and the monitoring microservice node is used to send a collection feedback signal representing the completion of the collection operation to the user access terminal after receiving the collection request sent by the user access terminal next time, and the user access terminal is used to send a target signal instruction representing the receipt of the collection feedback signal to the access control microservice node.
[0069] In one possible design, the permission management module 202 is specifically used to: when the access control microservice node receives a target signal instruction representing the receipt of a collection feedback signal sent from the user access terminal, determine that the user access terminal is a target terminal; if the access control microservice node does not receive a target signal instruction representing the receipt of a collection feedback signal sent from the user access terminal, determine that the user access terminal is not a target terminal.
[0070] In one possible design, the permission management module 202 is specifically used to: detect whether there is a corresponding preset matching request between the target account of the user access terminal and the data matching identifier, wherein the target account is the user account corresponding to the access requirement permission; if there is a corresponding matching request between the target account and the data matching identifier, then obtain the target account information of the user access terminal, and obtain the user access terminal information, and match the target account information with the user access terminal information, wherein if the target account information matches the user access terminal information successfully, the identity authentication is successful, and if the target account information fails to match the user access terminal information, the identity authentication fails.
[0071] In one possible design, the permission management module 202 is specifically used to: use the access requirement permission as a to-be-verified user editing permission instruction, and mark the to-be-verified user editing permission instruction as a pending activation state; if the user access terminal identity authentication is successful, activate the to-be-verified user editing permission instruction in the pending activation state to allow the user access terminal to execute the access requirement permission in the access request to access the big data server cluster, and the to-be-verified user editing permission instruction is used to instruct the access control microservice node to grant the user access terminal the access requirement permission.
[0072] In a possible design, the authority management module 202 is specifically used to: use the attribute feature to be identified that is a preset attribute feature initially acquired from the user access terminal as the user access terminal information.
[0073] Based on the above device, the accuracy and effectiveness of permission management can be improved through multiple confirmations. In addition, the method avoids the tediousness of permission management by secret key authentication, and permission management based on identity authentication is simple and efficient.
[0074] Figure 3 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 3 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement all the steps of the above method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement all the steps of the above method. Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0075] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes each step of the aforementioned method.
[0076] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes each step of the aforementioned method.
[0077] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0078] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0079] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data rights management method, It is characterized in that The method is applied to a big data platform, the big data platform includes an access control microservice node, and the method includes: When the access control microservice node receives an access request sent by a user access terminal, the access control microservice node performs security filtering on the access request; wherein the access request includes the access requirement authority of the user access terminal, and the access requirement authority is the requirement authority of the user access terminal for the big data platform; When the access request completes security filtering, the access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform; if the user access terminal is not the target terminal, the access control microservice node rejects the access request; if the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal authentication is successful, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster; if the user access terminal authentication fails, the access request is rejected; wherein, the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node; The method further comprises: After the user access terminal sends the access request, the user access terminal sends a collection request to the monitoring microservice node once at a preset interval. The monitoring microservice node is a child node of the access control microservice node. The collection request is a request for statistical processing of the number of access requirement permissions edited by the user access terminal; When the monitoring microservice node receives a collection request sent from a user access terminal for the first time, it sends an initial feedback signal indicating that the collection request has been received to the access control microservice node. After receiving the initial feedback signal, the access control microservice node determines whether the collection request is sent by a target terminal associated with the big data platform. If the collection request is not sent by a target terminal associated with the big data platform, the collection request is rejected; if the collection request is sent by a target terminal associated with the big data platform, the access control microservice node performs a collection operation on the access requirement permissions, and after completing the collection operation on the access requirement permissions, sends a collection completion signal indicating the completion of the collection operation to the monitoring microservice node, and the monitoring microservice node is used to send a collection feedback signal indicating the completion of the collection operation to the user access terminal after receiving the collection request sent by the user access terminal next time, and the user access terminal is used to send a target signal instruction indicating the receipt of the collection feedback signal to the access control microservice node.
2. The method according to claim 1, It is characterized in that The access control microservice node performs security filtering on the access request, including: Read the content of the access request to determine whether the access request carries an unreadable code; If no unreadable code is carried, the security filtering is completed; If it carries an unreadable code, the unreadable code is marked and fed back to the user access terminal, and the user access terminal is used to modify the marked unreadable code, obtain a new access request, and send the new access request to the access control microservice node; the access control microservice node receives the new access request, returns to execute the step of reading the content of the access request, and determines whether the access request carries an unreadable code, until the access request does not carry an unreadable code, and the security filtering is completed.
3. The method according to claim 1, It is characterized in that The access control microservice node determines whether the user access terminal is a target terminal associated with the big data platform, including: When the access control microservice node receives a target signal instruction from the user access terminal indicating that a collection feedback signal has been received, the user access terminal is determined to be a target terminal. If the access control microservice node does not receive a target signal instruction from the user access terminal indicating that a collection feedback signal has been received, the user access terminal is determined not to be a target terminal.
4. The method according to claim 3, It is characterized in that The obtaining of a data matching identifier corresponding to the user access terminal and performing identity authentication on the user access terminal based on the data matching identifier includes: Detecting whether a target account of the user access terminal and the data matching identifier have a corresponding preset matching request, wherein the target account is a user account corresponding to the access requirement authority; If there is a corresponding matching request between the target account and the data matching identifier, the target account information of the user access terminal is obtained, and the user access terminal information is obtained, and the target account information is matched with the user access terminal information. If the target account information matches the user access terminal information successfully, the identity authentication is successful; if the target account information fails to match the user access terminal information, the identity authentication fails.
5. The method according to claim 1, It is characterized in that The allowing the user access terminal to execute the access requirement authority in the access request to access the big data server cluster includes: The access control microservice node uses the access requirement permission as the to-be-verified user editing permission instruction, and marks the to-be-verified user editing permission instruction as a pending activation state; If the user access terminal identity authentication is successful, the to-be-verified user editing permission instruction in the pending activation state is activated to allow the user access terminal to execute the access requirement permission in the access request to access the big data server cluster. The to-be-verified user editing permission instruction is used to instruct the access control microservice node to grant the user access terminal the access requirement permission.
6. The method according to claim 4, It is characterized in that The obtaining of user access terminal information includes: The access control microservice node uses the attribute feature to be identified that is a preset attribute feature initially acquired from the user access terminal as the user access terminal information.
7. A data rights management device, It is characterized in that The device comprises: Receiving and filtering module: used for performing security filtering on the access request after the access control microservice node receives the access request from the user access terminal; wherein the access request includes the access requirement authority of the user access terminal, and the access requirement authority is the required authority of the user access terminal for the big data platform, and the big data platform includes the access control microservice node; Permission management module: used to determine whether the user access terminal is a target terminal associated with the big data platform after the access request completes security filtering; if the user access terminal is not the target terminal, the access request is rejected; if the user access terminal is the target terminal, the data matching identifier corresponding to the user access terminal is obtained, and the user access terminal is authenticated based on the data matching identifier. If the user access terminal is successfully authenticated, the user access terminal is allowed to execute the access requirement permissions in the access request to access the big data server cluster; if the user access terminal fails to be authenticated, the access request is rejected; wherein, the data matching identifier is the user identity attribute of the user account of the user access terminal before entering the access control microservice node; The permission management module is also used for: after the user access terminal sends the access request, the user access terminal sends a collection request to the monitoring microservice node once at a preset interval, the monitoring microservice node is a child node of the access control microservice node, and the collection request is a request for statistical processing of the number of access requirement permissions edited by the user access terminal; When the monitoring microservice node receives a collection request sent from a user access terminal for the first time, it sends an initial feedback signal indicating that the collection request has been received to the access control microservice node. After receiving the initial feedback signal, the access control microservice node determines whether the collection request is sent by a target terminal associated with the big data platform. If the collection request is not sent by a target terminal associated with the big data platform, the collection request is rejected; if the collection request is sent by a target terminal associated with the big data platform, the access control microservice node performs a collection operation on the access requirement permissions, and after completing the collection operation on the access requirement permissions, sends a collection completion signal indicating the completion of the collection operation to the monitoring microservice node, and the monitoring microservice node is used to send a collection feedback signal indicating the completion of the collection operation to the user access terminal after receiving the collection request sent by the user access terminal next time, and the user access terminal is used to send a target signal instruction indicating the receipt of the collection feedback signal to the access control microservice node.
8. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.
9. A computer device comprising a memory and a processor, It is characterized in that The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Data collection method, device and equipment and computer readable storage medium
CN110069670A
Network monitoring method and device, equipment and storage medium
CN110247906A
Big data authority management method and system based on service governance
CN111291360A
Log storage method and device and log query method and device
CN111694793A
Online literature induction and storage system based on document data analysis
CN113239207A
