Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Pending Publication Date: 2022-01-14
浙江大搜车软件技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The hardware cost of the first and second methods is relatively high, and the security of the third method is the lowest, which is completely distinguished by fields
If the developer's control is not good, there will be a problem of tenant data being leaked, so the security of the data cannot be guaranteed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data processing method and device, equipment and storage medium
  • Data processing method and device, equipment and storage medium
  • Data processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data processing method and device, equipment and a storage medium. The method is applied to a software-as-a-service (SaaS) system, the SaaS system supports software services of at least two tenants and stores tenant data supporting the software services, and the method comprises the steps: acquiring and analyzing a data access statement for the tenant data; if a tenant identifier of the tenant to which the to-be-accessed data belongs is not analyzed in the data access statement, obtaining a spelling rule of the data access statement, adding the tenant identifier to the data access statement according to the spelling rule of the data access statement, and executing the data access statement; and if the tenant identifier of the tenant to which the to-be-accessed data belongs is analyzed in the data access statement, executing the data access statement. Through the technical scheme, data isolation can be achieved, and the data storage cost and the data isolation safety are both considered.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular, to a data processing method, device, device, and storage medium. Background technique [0002] The SaaS (Software as a Service) platform is a platform for operating SaaS software. The SaaS provider builds all the network infrastructure, software and hardware operation platforms required by the enterprise for informatization, and is responsible for a series of services such as all early implementation and later maintenance. Enterprises do not need to purchase software and hardware, build computer rooms, and recruit IT personnel. The information system can be used through the Internet. SaaS is a software layout model whose application is designed for network delivery, which is convenient for users to host, deploy and access through the Internet. Multi-tenancy: also known as multi-tenancy technology, is a software architecture technology that discusses and implements ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/60G06F21/62
CPCG06F21/604G06F21/62
Inventor 陈浩翔
Owner 浙江大搜车软件技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products