Data processing method and device, equipment and storage medium
A data processing and data technology, applied in the computer field, can solve the problems of tenant data leakage, low security, and inability to guarantee data security, and achieve the effect of data isolation and security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 It is a flow chart of a data processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to data processing and is applied to a software-as-a-service SaaS system. The SaaS system supports software services for at least two tenants, and Tenant data supporting software services is stored, the method can be executed by the data processing device in the embodiment of the present invention, and the device can be implemented in software and / or hardware, such as figure 1 As shown, the method specifically includes the following steps:
[0033] S110. Obtain and parse a data access statement for the tenant data.
[0034] Wherein, the data access statement is a statement for accessing a database, for example, an SQL statement.
[0035] Wherein, the method of obtaining the data access statement for the tenant data may be to intercept the data access statement based on the interception rules through the aspect-oriented programming te...
Embodiment 2
[0073] figure 2 It is a flow chart of a reminding method in Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiments. In this embodiment, it also includes: if the data access statement is not parsed to be accessed The tenant ID of the tenant to which the data belongs, then obtain the spelling rules of the data access statement, add the tenant ID in the data access statement according to the spelling rules of the data access statement, and execute the data access statement, including :
[0074] If the tenant identifier of the tenant to which the data to be accessed belongs is not resolved in the data access statement, then obtain the condition keyword and condition field in the data access statement;
[0075] adding the tenant identifier between the condition keyword and the condition field, and adding an associated keyword;
[0076]Execute the data access statement.
[0077] Such as figure 2 As shown, the method of this embodimen...
Embodiment 3
[0093] image 3 It is a schematic structural diagram of a data processing device provided by Embodiment 3 of the present invention. This embodiment is applicable to data processing and is applied to a software-as-a-service SaaS system. The SaaS system supports software services for at least two tenants and stores tenant data supporting software services. The device can use software and / or Realized by hardware, the device can be integrated in any device that provides data processing functions, such as image 3 As shown, the data processing apparatus specifically includes: a first acquisition module 310 , a second acquisition module 320 and an execution module 330 .
[0094] Wherein, the first obtaining module 310 is used to obtain and analyze the data access statement for the tenant data;
[0095] The second obtaining module 320 is configured to obtain the spelling rules of the data access sentence if the tenant identifier of the tenant to which the data to be accessed belong...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com