CN112860451A - Multi-tenant data processing method and device based on SaaS - Google Patents

Multi-tenant data processing method and device based on SaaS Download PDF

Info

Publication number
CN112860451A
CN112860451A CN202110081312.XA CN202110081312A CN112860451A CN 112860451 A CN112860451 A CN 112860451A CN 202110081312 A CN202110081312 A CN 202110081312A CN 112860451 A CN112860451 A CN 112860451A
Authority
CN
China
Prior art keywords
service
data
saas
tenant
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110081312.XA
Other languages
Chinese (zh)
Inventor
李振达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202110081312.XA priority Critical patent/CN112860451A/en
Publication of CN112860451A publication Critical patent/CN112860451A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware

Abstract

The invention discloses a multi-tenant data processing method and device based on SaaS, and relates to the technical field of computers. One embodiment of the method comprises: acquiring service data of a service provider corresponding to multiple tenants, and dividing service scenes according to the service data; wherein the number of service providers is at least one; constructing a SaaS database based on the service data and the corresponding service scene; responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from a SaaS database, and sending the target data to the tenant; the tenants refer to users leasing data storage space from a service provider, and the multiple tenants comprise at least two tenants adopting different data storage modes. The implementation mode realizes unified management of service provider information among multiple tenants, meets the requirement of realizing partial data sharing among the tenants, reduces development and expandability costs of application programs, improves data utilization rate and improves user experience.

Description

Multi-tenant data processing method and device based on SaaS
Technical Field
The invention relates to the technical field of computers, in particular to a multi-tenant data processing method and device based on SaaS.
Background
A multi-tenant technology (or referred to as a multi-tenancy technology, SaaS for short) is a software architecture technology, which is how to share the same system or program components in a multi-user environment, and can ensure data isolation between users. In the current cloud computing era, the multi-tenant technology provides services which are the same as or even customizable to a plurality of clients in a single system architecture and services in a shared data center, and can still ensure data isolation of clients.
The prior art has at least the following problems:
in the existing multi-tenant data processing method, due to database isolation, service provider information among multiple tenants is difficult to manage in a unified mode, the requirement that partial data sharing is needed among the tenants cannot be met, the development and expandability cost of an application program is high, the data utilization rate is low, and the user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for processing multi-tenant data based on SaaS, which can implement unified management of service provider information among multiple tenants, meet a requirement for implementing partial data sharing among tenants, reduce development and extensibility costs of an application program, improve a data utilization rate, and improve user experience.
In order to achieve the above object, according to a first aspect of the embodiments of the present invention, there is provided a method for processing multi-tenant data based on SaaS, including:
acquiring service data of a service provider corresponding to multiple tenants, and dividing service scenes according to the service data; wherein the number of service providers is at least one;
constructing a SaaS database based on the service data and the corresponding service scene;
responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from a SaaS database, and sending the target data to the tenant;
the tenants refer to users leasing data storage space from a service provider, and the multiple tenants comprise at least two tenants adopting different data storage modes.
Further, the step of obtaining the service data of the service provider corresponding to the multiple tenants and dividing the service scenes according to the data types of the service data further includes:
determining service data of a service provider according to historical interaction data between the multi-tenant service provider and the service provider corresponding to the multi-tenant service provider;
acquiring service data, and dividing service scenes according to service types corresponding to the service data, wherein the service scenes comprise: a registration scene, an audit scene, a login scene and an information management scene.
Further, after the step of acquiring the service data, the method further comprises:
and summarizing and removing the duplicate of the service data.
Further, after the step of dividing the service scenario according to the service type corresponding to the service data, the method further includes:
and acquiring service data corresponding to the service requirements of multiple tenants, and updating the service scene according to the service data corresponding to the service requirements.
Further, the step of constructing the SaaS database based on the service data and the service scene corresponding thereto further includes:
acquiring service provider information corresponding to the service data;
and constructing a SaaS service platform connected with the service provider based on the service provider information, the service data and the corresponding service scene, wherein the SaaS service platform comprises a message middleware and a SaaS database.
Further, after the step of constructing the SaaS database based on the service data and the service scenario corresponding thereto, the method further includes:
and acquiring interactive data between the multiple tenants and the corresponding service providers, updating the service data according to the interactive data, and updating corresponding data in the SaaS database according to the updated service data.
Further, the step of acquiring interaction data between the multi-tenant and the service provider corresponding to the multi-tenant comprises:
monitoring service nodes of a plurality of tenants and a service provider for service interaction; respectively establishing a service message queue aiming at each service node;
and sending the interactive data generated at the service node to a service message queue, and acquiring the interactive data from the service message queue.
Further, the method further comprises:
monitoring a message log corresponding to the service message queue,
judging whether the message log is an information transmission failure log or not;
and if so, storing the interactive data indicated by the information sending failure log into the SaaS database.
Further, storing the interaction data indicated by the information sending failure log in a SaaS database, further comprising:
and setting a scheduling period, and storing the interactive data indicated by the information sending failure log to the SaaS database according to the scheduling period.
Further, the data storage mode comprises:
the data storage is carried out in an independent database mode, the data storage is carried out in a shared database and isolated data architecture mode, and the data storage is carried out in a shared database and shared data architecture mode.
Further, the method further comprises:
and adjusting the data storage mode corresponding to each tenant according to the leasing condition and the leasing requirement corresponding to the multiple tenants.
According to a second aspect of the embodiments of the present invention, there is provided a SaaS-based multi-tenant data processing apparatus, including:
the service data acquisition module is used for acquiring service data of a service provider corresponding to multiple tenants and dividing service scenes according to the service data; wherein the number of service providers is at least one;
the database construction module is used for constructing a SaaS database based on the service data and the corresponding service scenes;
the data processing module is used for responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from the SaaS database and sending the target data to the tenant;
the tenants refer to users leasing data storage space from a service provider, and the multiple tenants comprise at least two tenants adopting different data storage modes.
Further, the database construction module is further configured to:
acquiring service provider information corresponding to the service data;
and constructing a SaaS service platform connected with the service provider based on the service provider information, the service data and the corresponding service scene, wherein the SaaS service platform comprises a message middleware and a SaaS database.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement any of the SaaS-based multi-tenant data processing methods described above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing any one of the SaaS-based multi-tenant data processing methods described above.
One embodiment of the above invention has the following advantages or benefits: the method comprises the steps that business data of a service provider corresponding to multiple tenants are obtained, and business scenes are divided according to the business data; wherein the number of service providers is at least one; constructing a SaaS database based on the service data and the corresponding service scene; responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from a SaaS database, and sending the target data to the tenant; the tenant refers to a user leasing a data storage space from a service provider, and the multi-tenant comprises at least two technical means of tenants adopting different data storage modes, so that the technical problems that the service provider information among the multi-tenants is difficult to uniformly manage and the requirement of realizing partial data sharing among the tenants cannot be met in the existing multi-tenant data processing method are solved, the development and expandability costs of an application program are high, the data utilization rate is low, and the user experience is poor, so that the uniform management of the service provider information among the multi-tenants is achieved, the requirement of realizing partial data sharing among the tenants is met, the development and expandability costs of the application program are reduced, the data utilization rate is improved, and the technical effect of user experience is improved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of a SaaS-based multi-tenant data processing method according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of a main flow of a SaaS-based multi-tenant data processing method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of main modules of a SaaS-based multi-tenant data processing apparatus according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a SaaS-based multi-tenant data processing method according to a first embodiment of the present invention; as shown in fig. 1, the SaaS-based multi-tenant data processing method provided in the embodiment of the present invention mainly includes:
step S101, acquiring service data of a service provider corresponding to multiple tenants, and dividing service scenes according to the service data; wherein the number of service providers is at least one.
Due to the fact that the requirement for achieving partial data sharing exists among the multiple tenants, the service data which can be shared by the multiple tenants is obtained from the service providers of the multiple tenants through the arrangement, the service scenes are divided according to the service data, the method is beneficial to the follow-up integration and processing of the partial service data, and the shared database is constructed, so that the requirement for achieving partial data sharing among the tenants can be met, and unified management of information of the service providers among the multiple tenants can be achieved.
Specifically, according to the embodiment of the present invention, the step of acquiring the service data of the service provider corresponding to the multiple tenants and dividing the service scenes according to the data types of the service data further includes:
determining service data of a service provider according to historical interaction data between the multi-tenant service provider and the service provider corresponding to the multi-tenant service provider;
acquiring service data, and dividing service scenes according to service types corresponding to the service data, wherein the service scenes comprise: a registration scene, an audit scene, a login scene and an information management scene.
Through the arrangement, the business data which are required to be shared by multiple tenants can be determined more accurately according to the historical interaction data between each tenant and the corresponding service provider, so that the data utilization rate of the business data is improved; and dividing the service scene according to the type of the service data, which is beneficial to realizing the query efficiency of the part of service data.
Further, according to the embodiment of the present invention, after the step of acquiring the service data, the method further includes:
and summarizing and removing the duplicate of the service data.
Through the arrangement, after the service data of the service providers corresponding to the tenants are integrated, duplicate removal processing is performed, and the subsequent flow of dividing service scenes is further simplified.
Preferably, according to an embodiment of the present invention, after the step of dividing the service scenario according to the service type corresponding to the service data, the method further includes:
and acquiring service data corresponding to the service requirements of multiple tenants, and updating the service scene according to the service data corresponding to the service requirements.
Through the setting, the coverage range of the service data to be shared is further expanded by combining with the actual requirements of the tenants, and the user experience is further improved.
And step S102, constructing a SaaS database based on the service data and the corresponding service scenes.
Specifically, according to the embodiment of the present invention, the step of constructing the SaaS database based on the service data and the service scenario corresponding to the service data further includes:
acquiring service provider information corresponding to the service data;
and constructing a SaaS service platform connected with the service provider based on the service provider information, the service data and the corresponding service scene, wherein the SaaS service platform comprises a message middleware and a SaaS database.
Through the setting, the SaaS service platform connected with the at least one service provider is constructed, the message middleware (mainly a message queue for data transmission) and the SaaS database (used for storing the determined service data, namely the data which the tenants want to share among each other) are constructed, data interaction between the service provider and the tenants (the tenants adopting different data storage modes) deployed in each environment is realized, the purpose of data sharing is achieved, the development and expandability cost of an application program is reduced, the data utilization rate is improved, and the user experience is improved.
Preferably, according to an embodiment of the present invention, after the step of constructing the SaaS database based on the service data and the service scenario corresponding to the service data, the method further includes:
and acquiring interactive data between the multiple tenants and the corresponding service providers, updating the service data according to the interactive data, and updating corresponding data in the SaaS database according to the updated service data.
After the establishment of the SaaS service platform is completed, interactive data between the multiple tenants and the corresponding service providers are monitored in real time (or periodically), and corresponding data in the database are updated, so that the data consistency between the SaaS service platform and each tenant is guaranteed.
Further, according to the embodiment of the present invention, the step of acquiring interaction data between the multi-tenant and the service provider corresponding to the multi-tenant comprises:
monitoring service nodes of a plurality of tenants and a service provider for service interaction; respectively establishing a service message queue aiming at each service node;
and sending the interactive data generated at the service node to a service message queue, and acquiring the interactive data from the service message queue.
Through the setting, a message synchronization mechanism is established, data synchronization and interaction between the platform and different tenants are realized, and data consistency between the SaaS service platform and each tenant is ensured when the tenant corresponding to the service provider performs business operations such as registration, information management and the like on the SaaS service platform.
Preferably, according to an embodiment of the present invention, the method further includes:
monitoring a message log corresponding to the service message queue,
judging whether the message log is an information transmission failure log or not;
and if so, storing the interactive data indicated by the information sending failure log into the SaaS database.
Through the setting, a timing inspection and completion mechanism is established, the service node is monitored through the timing inspection, the interactive data generated at the service node is acquired through the completion mechanism, and the interactive data is stored in the database, so that the data consistency is further ensured.
Illustratively, according to an embodiment of the present invention, the storing the interaction data indicated by the information sending failure log in the SaaS database further includes:
and setting a scheduling period, and storing the interactive data indicated by the information sending failure log to the SaaS database according to the scheduling period.
According to a specific implementation manner of the embodiment of the present invention, the data completion service may be started at regular time (for example, every half hour), the interactive data corresponding to the information sending failure log in the database is scanned, and the interactive data is sent to the corresponding tenant.
Step S103, in response to a data acquisition request initiated by the tenant, acquiring corresponding target data from the SaaS database, and sending the target data to the tenant.
The tenants refer to users leasing data storage space from a service provider, and the multiple tenants comprise at least two tenants adopting different data storage modes.
After the shared database (i.e., the SaaS database) is constructed, corresponding target data can be directly acquired from the shared database according to a data acquisition request initiated by a tenant. Through the arrangement, unified management of service provider information among multiple tenants is achieved, the requirement that sharing of partial data among the tenants is achieved is met, development and expandability costs of application programs are reduced, data utilization rate is improved, and technical effects of user experience are improved.
Further, according to an embodiment of the present invention, the data storage method includes:
the data storage is carried out in an independent database mode, the data storage is carried out in a shared database and isolated data architecture mode, and the data storage is carried out in a shared database and shared data architecture mode.
The data storage in an independent database mode means that one tenant corresponds to one database, and the scheme has the highest user data isolation level, the best safety and the higher cost.
The data storage is performed in a manner of sharing a Database and isolating a data architecture, which means that a plurality of tenants or all tenants share a Database (Database), but each tenant has a Schema (also called a user). The method provides a certain degree of logic data isolation for tenants with higher security requirements, and is not complete isolation; each database can support a larger number of tenants.
The data storage is carried out in a mode of sharing a Database and a data sharing architecture, namely, the tenants share the same Database and the same Schema, but data fields of the TennantID multi-tenants are added in the table. This is the data storage mode with the highest sharing degree and the lowest isolation level, but the required cost is the lowest.
Preferably, according to an embodiment of the present invention, the method further includes:
and adjusting the data storage mode corresponding to each tenant according to the leasing condition and the leasing requirement corresponding to the multiple tenants.
The leasing condition comprises information such as credit information and payment information of the tenant, which describe the current leasing condition of the tenant; the lease requirement mainly refers to the current requirement of the tenant on the storage space.
Through the arrangement, the data storage modes corresponding to the tenants can be adjusted according to the credit information, the payment information, the storage space and the like of the tenants, namely, the tenants can be switched among the three data storage modes, and the user experience is further improved.
According to the technical scheme of the embodiment of the invention, the service data of the service provider corresponding to the multiple tenants is acquired, and the service scenes are divided according to the service data; wherein the number of service providers is at least one; constructing a SaaS database based on the service data and the corresponding service scene; responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from a SaaS database, and sending the target data to the tenant; the tenant refers to a user leasing a data storage space from a service provider, and the multi-tenant comprises at least two technical means of tenants adopting different data storage modes, so that the technical problems that the service provider information among the multi-tenants is difficult to uniformly manage and the requirement of realizing partial data sharing among the tenants cannot be met in the existing multi-tenant data processing method are solved, the development and expandability costs of an application program are high, the data utilization rate is low, and the user experience is poor, so that the uniform management of the service provider information among the multi-tenants is achieved, the requirement of realizing partial data sharing among the tenants is met, the development and expandability costs of the application program are reduced, the data utilization rate is improved, and the technical effect of user experience is improved.
Fig. 2 is a schematic diagram of a main flow of a SaaS-based multi-tenant data processing method according to a second embodiment of the present invention; as shown in fig. 2, the SaaS-based multi-tenant data processing method provided in the embodiment of the present invention mainly includes:
step S201, determining service data of a service provider according to historical interaction data between a multi-tenant service provider and the service provider corresponding to the multi-tenant service provider, and performing summary and duplicate removal processing on the service data; wherein the number of service providers is at least one.
Through the arrangement, the business data which are required to be shared by multiple tenants can be determined more accurately according to the historical interaction data between each tenant and the corresponding service provider, and the data utilization rate of the business data is further improved.
Further, according to a specific implementation manner of the embodiment of the present invention, the step of summarizing and deduplication processing the service data further includes:
integrating the whole amount of key data (including stock supplier data under the environment of each existing tenant, such as supplier enterprise basic data, supplier service area data, supplier warehousing related data, supplier contact data, supplier account information data, supplier user data and the like) of each tenant of the existing supplier, and performing data initialization (defining a data acquisition boundary (needing to pay attention to the removal of repeated data under each tenant when defining the boundary to ensure the effectiveness of acquired data) on a SaaS database corresponding to a supplier platform (namely a subsequently constructed SaaS service platform connected with a service provider); synchronizing the supplier platform with the database structures among the tenants (synchronizing the supplier platform with the database structures among the tenants by using an otter tool); supplier platform data initialization (the integrated full-scale supplier data is flushed into a supplier platform database); synchronizing data between a platform and each tenant to keep the data consistent), because a supplier platform should be used as a middle station for data uniform transfer interaction, when the SaaS service platform is online, it is required to ensure that the data of the SaaS service platform is the sum of environmental data of each tenant (deduplication), and also to perform data integration on stock data of each tenant, and after the data after the integration is deduplicated, the data is fully initialized into a database of the supplier platform (SaaS service platform) to ensure that the data corresponding to the supplier under each tenant environment is kept consistent when the platform is online.
Specifically, the tenants refer to users who rent the data storage space from a service provider, and the multi-tenants include at least two tenants adopting different data storage modes.
According to an embodiment of the present invention, the data storage method includes:
the data storage is carried out in an independent database mode, the data storage is carried out in a shared database and isolated data architecture mode, and the data storage is carried out in a shared database and shared data architecture mode. The tenant data storage is carried out in an independent database mode, and the tenant data storage has the highest data isolation level, the best safety and higher cost. Tenants who store data in a manner of sharing a database and isolating a data architecture provide a certain degree of logical data isolation, but are not completely isolated; each database can support a larger number of tenants. The data storage in a mode of sharing a database and a shared data architecture is a data storage mode with the highest sharing degree and the lowest isolation level, but the required cost is the lowest.
Further, according to an embodiment of the present invention, the method further includes:
and adjusting the data storage mode corresponding to each tenant according to the leasing condition and the leasing requirement corresponding to the multiple tenants.
The leasing condition comprises information such as credit information and payment information of the tenant, which describe the current leasing condition of the tenant; the lease requirement mainly refers to the current requirement of the tenant on the storage space.
Through the arrangement, the data storage modes corresponding to the tenants can be adjusted according to the credit information, the payment information, the storage space and the like of the tenants, namely, the tenants can be switched among the three data storage modes, and the user experience is further improved.
Step S202, dividing service scenes according to service data; the service scene comprises the following steps: a registration scene, an audit scene, a login scene and an information management scene.
Specifically, according to the embodiment of the present invention, for the provider (i.e., service provider) related data that needs to be shared among tenants in different environments (i.e., tenants adopting different data storage manners), the related service scenario corresponding to the provider is abstracted, and the abstracted service scenario is mainly in a purchase service and operates at a high frequency, and does not involve relatively independent service interaction between the provider and each tenant, for example, service scenarios commonly used by the provider, such as provider registration, provider registration audit, provider login, provider basic information management, provider information change, and the like, which helps to reduce the development and extensibility costs of an application program and improve the data utilization rate.
Through the arrangement, the service scenes are divided according to the service data, so that the follow-up mode of integrating and processing the part of service data and constructing the shared database is facilitated, the requirement of realizing the sharing of the part of data among tenants can be met, the unified management of the information of the service providers among multiple tenants can be realized, and the query efficiency of the part of service data is facilitated.
Step S203, acquiring service data corresponding to the service requirement of the multi-tenant, and updating the service scene according to the service data corresponding to the service requirement.
Specifically, according to the embodiment of the invention, after the supplier platform stably operates, some value-added service scenes are considered, so that the follow-up supplier can conveniently analyze big data and make a supplier report form and the like. The service data of the part is obtained, the corresponding service scene is expanded, the coverage range of the service data to be shared is further expanded by combining the actual requirements of tenants through the setting, and the user experience is further improved.
Step S204, acquiring service provider information corresponding to the service data; and constructing a SaaS service platform connected with the service provider based on the service provider information, the service data and the corresponding service scene, wherein the SaaS service platform comprises a message middleware and a SaaS database.
Through the setting, the SaaS service platform connected with the at least one service provider is constructed, the message middleware (mainly a message queue for data transmission) and the SaaS database (used for storing the determined business data, namely the data which is required to be shared among tenants, and can be a database cluster) are constructed, data interaction between the service provider and the tenants (adopting different data storage modes) deployed in each environment is realized, the purpose of data sharing is achieved, the development and expandability costs of application programs are reduced, the data utilization rate is improved, and the user experience is improved.
According to the embodiment of the invention, the unified analysis and management of the data inlets corresponding to multiple tenants under the multi-mode deployment scheme are realized by constructing the SaaS service platform connected with the service provider. By using a supplier unified platform (SaaS service platform) as a unified entrance for registering and logging in suppliers, the platform stores the whole quantity of relevant data of the suppliers, thereby not only meeting the data interaction between each tenant and the platform, but also being beneficial to the platform to collect service data of the same supplier under different tenants and forming comprehensive data analysis management.
Step S205, in response to a data acquisition request initiated by a tenant, acquires corresponding target data from the SaaS database, and sends the target data to the tenant.
The embodiment of the invention mainly realizes the data sharing among tenants under a multi-mode deployment scheme (multiple data storage modes), and after a shared database (namely the SaaS database) is constructed, corresponding target data can be directly acquired from the shared database according to a data acquisition request initiated by the tenants. Through the arrangement, unified management of service provider information among multiple tenants is achieved, the requirement that sharing of partial data among the tenants is achieved is met, development and expandability costs of application programs are reduced, data utilization rate is improved, and technical effects of user experience are improved.
Step S206, monitoring service nodes of the multi-tenant and service provider for service interaction; respectively establishing a service message queue aiming at each service node; sending interactive data generated at a service node to a service message queue, and acquiring the interactive data from the service message queue; and updating the service data according to the interactive data, and updating corresponding data in the SaaS database according to the updated service data.
Specifically, according to a specific implementation manner of the embodiment of the present invention, the foregoing step is actually to establish a message synchronization mechanism, where the message synchronization mechanism includes: a service node for combing trigger message synchronization (for example, when a provider registers, and when a real-name is authenticated, a message synchronization mechanism should be triggered, so as to ensure the consistency of information of tenants and providers); establishing a message uniform sending window (a supplier platform is used as a uniform inlet, and the sending window is established, so that supplier data is sent to each tenant from the supplier platform as a starting point); establishing a message transmission channel between a platform and a tenant in a message queue form; defining a duty chain mechanism for receiving and processing service data sent by the message synchronization mechanism (a tenant end should define a duty chain which is similar to a factory and is an initiating source for receiving data by the tenant end, only a general mode needs to be defined, and then a corresponding processing method is generated for receiving methods of various scenes by the factory and is used for monitoring, receiving and processing data transmitted by a provider platform); and instantiating corresponding responsibility chain instances according to different service scenes to realize message receiving processing (for example, registration requires to instantiate a registration information responsibility chain, and user real-name information requires to define a real-name information processing responsibility chain).
Through the setting, a message synchronization mechanism is established, data synchronization and interaction between the platform and different tenants are realized, and data consistency between the SaaS service platform and each tenant is ensured when the tenant corresponding to the service provider performs business operations such as registration, information management and the like on the SaaS service platform.
Step S207, monitoring a message log corresponding to the service message queue, and storing interactive data indicated by the message sending failure log in the SaaS database when the message log is the message sending failure log.
According to the embodiment of the invention, the steps are essentially to construct a timing polling and completion mechanism, and the method mainly comprises the following steps: establishing message queue monitoring service (message logs (mainly message sending failure logs) for monitoring the message queue and storing corresponding interactive data into a database; establishing message completion service (scanning and pulling the message sending failure log records stored in the database, calling corresponding interactive data for retransmission, and sending the interactive data to each tenant again);
through the setting, a timing inspection and completion mechanism is established, the service node is monitored through the timing inspection, the interactive data generated at the service node is acquired through the completion mechanism, and the interactive data is stored in the database, so that the data consistency is further ensured.
Illustratively, according to an embodiment of the present invention, the storing the interaction data indicated by the information sending failure log in the SaaS database further includes:
and setting a scheduling period, and storing the interactive data indicated by the information sending failure log to the SaaS database according to the scheduling period.
According to a specific implementation manner of the embodiment of the present invention, the data completion service may be started at regular time (for example, every half hour), the interactive data corresponding to the information sending failure log in the database is scanned, and the interactive data is sent to the corresponding tenant.
According to the technical scheme of the embodiment of the invention, the service data of the service provider corresponding to the multiple tenants is acquired, and the service scenes are divided according to the service data; wherein the number of service providers is at least one; constructing a SaaS database based on the service data and the corresponding service scene; responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from a SaaS database, and sending the target data to the tenant; the tenant refers to a user leasing a data storage space from a service provider, and the multi-tenant comprises at least two technical means of tenants adopting different data storage modes, so that the technical problems that the service provider information among the multi-tenants is difficult to uniformly manage and the requirement of realizing partial data sharing among the tenants cannot be met in the existing multi-tenant data processing method are solved, the development and expandability costs of an application program are high, the data utilization rate is low, and the user experience is poor, so that the uniform management of the service provider information among the multi-tenants is achieved, the requirement of realizing partial data sharing among the tenants is met, the development and expandability costs of the application program are reduced, the data utilization rate is improved, and the technical effect of user experience is improved.
Fig. 3 is a schematic diagram of main modules of a SaaS-based multi-tenant data processing apparatus according to an embodiment of the present invention; as shown in fig. 3, a SaaS-based multi-tenant data processing apparatus 300 according to an embodiment of the present invention mainly includes:
a service data acquiring module 301, configured to acquire service data of a service provider corresponding to multiple tenants, and divide a service scene according to the service data; wherein the number of service providers is at least one.
Through the arrangement, the requirement that partial data sharing is realized among tenants can be met, and unified management of service provider information among multiple tenants can be realized.
Specifically, according to the embodiment of the present invention, the service data acquiring module 301 is further configured to:
determining service data of a service provider according to historical interaction data between the multi-tenant service provider and the service provider corresponding to the multi-tenant service provider;
acquiring service data, and dividing service scenes according to service types corresponding to the service data, wherein the service scenes comprise: a registration scene, an audit scene, a login scene and an information management scene.
Through the setting, the business data which the multiple tenants want to share can be determined more accurately, and the data utilization rate of the business data is improved; and also contributes to the efficiency of querying the part of the service data.
Further, according to the embodiment of the present invention, the SaaS-based multi-tenant data processing apparatus 300 further includes a duplication elimination module, and after the step of acquiring the service data, the duplication elimination module is configured to:
and summarizing and removing the duplicate of the service data.
Through the arrangement, after the service data of the service providers corresponding to the tenants are integrated, duplicate removal processing is performed, and the subsequent flow of dividing service scenes is further simplified.
Preferably, according to an embodiment of the present invention, the SaaS-based multi-tenant data processing apparatus 300 further includes an update module, and after the step of dividing the service scene according to the service type corresponding to the service data, the update module is configured to:
and acquiring service data corresponding to the service requirements of multiple tenants, and updating the service scene according to the service data corresponding to the service requirements.
Through the setting, the coverage range of the service data to be shared is further expanded by combining with the actual requirements of the tenants, and the user experience is further improved.
And a database construction module 302, configured to construct a SaaS database based on the service data and the service scenario corresponding to the service data.
Specifically, according to an embodiment of the present invention, the database building module 302 is configured to:
acquiring service provider information corresponding to the service data;
and constructing a SaaS service platform connected with the service provider based on the service provider information, the service data and the corresponding service scene, wherein the SaaS service platform comprises a message middleware and a SaaS database.
Through the setting, the SaaS service platform connected with the at least one service provider is constructed, the message middleware and the SaaS database are constructed, data interaction between the service provider and tenants (tenants adopting different data storage modes) deployed in various environments is realized, and the purpose of data sharing is achieved.
Preferably, according to the embodiment of the present invention, after the step of constructing the SaaS database based on the service data and the service scenario corresponding to the service data, the update module is further configured to:
and acquiring interactive data between the multiple tenants and the corresponding service providers, updating the service data according to the interactive data, and updating corresponding data in the SaaS database according to the updated service data.
The data consistency between the SaaS service platform and each tenant is guaranteed by monitoring the interactive data between the multiple tenants and the corresponding service providers in real time (or periodically) and updating the corresponding data in the database.
Further, according to an embodiment of the present invention, the update module is further configured to:
monitoring service nodes of a plurality of tenants and a service provider for service interaction; respectively establishing a service message queue aiming at each service node;
and sending the interactive data generated at the service node to a service message queue, and acquiring the interactive data from the service message queue.
Through the setting, a message synchronization mechanism is established, data synchronization and interaction between the platform and different tenants are realized, and data consistency between the SaaS service platform and each tenant is ensured when the tenant corresponding to the service provider performs business operations such as registration, information management and the like on the SaaS service platform.
Preferably, according to an embodiment of the present invention, the SaaS-based multi-tenant data processing apparatus 300 further includes a monitoring module, configured to:
monitoring a message log corresponding to the service message queue,
judging whether the message log is an information transmission failure log or not;
and if so, storing the interactive data indicated by the information sending failure log into the SaaS database.
Through the setting, a timing inspection and completion mechanism is established, the service node is monitored through the timing inspection, the interactive data generated at the service node is acquired through the completion mechanism, and the interactive data is stored in the database, so that the data consistency is further ensured.
Illustratively, according to an embodiment of the present invention, the monitoring module is further configured to:
and setting a scheduling period, and storing the interactive data indicated by the information sending failure log to the SaaS database according to the scheduling period.
According to a specific implementation manner of the embodiment of the present invention, the data completion service may be started at regular time (for example, every half hour), the interactive data corresponding to the information sending failure log in the database is scanned, and the interactive data is sent to the corresponding tenant.
The data processing module 303 is configured to, in response to a data acquisition request initiated by a tenant, acquire corresponding target data from the SaaS database, and send the target data to the tenant.
The tenants refer to users leasing data storage space from a service provider, and the multiple tenants comprise at least two tenants adopting different data storage modes.
Through the arrangement, unified management of service provider information among multiple tenants is achieved, the requirement that sharing of partial data among the tenants is achieved is met, development and expandability costs of application programs are reduced, data utilization rate is improved, and technical effects of user experience are improved.
Further, according to an embodiment of the present invention, the data storage method includes:
the data storage is carried out in an independent database mode, the data storage is carried out in a shared database and isolated data architecture mode, and the data storage is carried out in a shared database and shared data architecture mode.
The tenant data storage is carried out in an independent database mode, and the tenant data storage has the highest data isolation level, the best safety and higher cost.
Tenants who store data in a manner of sharing a database and isolating a data architecture provide a certain degree of logical data isolation, but are not completely isolated; each database can support a larger number of tenants.
The data storage in a mode of sharing a database and a shared data architecture is a data storage mode with the highest sharing degree and the lowest isolation level, but the required cost is the lowest.
Preferably, according to the embodiment of the present invention, the SaaS-based multi-tenant data processing apparatus 300 further includes an adjusting module, configured to:
and adjusting the data storage mode corresponding to each tenant according to the leasing condition and the leasing requirement corresponding to the multiple tenants.
The leasing condition comprises information such as credit information and payment information of the tenant, which describe the current leasing condition of the tenant; the lease requirement mainly refers to the current requirement of the tenant on the storage space.
Through the arrangement, the data storage modes corresponding to the tenants can be adjusted according to the credit information, the payment information, the storage space and the like of the tenants, namely, the tenants can be switched among the three data storage modes, and the user experience is further improved.
According to the technical scheme of the embodiment of the invention, the service data of the service provider corresponding to the multiple tenants is acquired, and the service scenes are divided according to the service data; wherein the number of service providers is at least one; constructing a SaaS database based on the service data and the corresponding service scene; responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from a SaaS database, and sending the target data to the tenant; the tenant refers to a user leasing a data storage space from a service provider, and the multi-tenant comprises at least two technical means of tenants adopting different data storage modes, so that the technical problems that the service provider information among the multi-tenants is difficult to uniformly manage and the requirement of realizing partial data sharing among the tenants cannot be met in the existing multi-tenant data processing method are solved, the development and expandability costs of an application program are high, the data utilization rate is low, and the user experience is poor, so that the uniform management of the service provider information among the multi-tenants is achieved, the requirement of realizing partial data sharing among the tenants is met, the development and expandability costs of the application program are reduced, the data utilization rate is improved, and the technical effect of user experience is improved.
Fig. 4 illustrates an exemplary system architecture 400 of a SaaS-based multi-tenant data processing method or a SaaS-based multi-tenant data processing apparatus to which an embodiment of the present invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405 (this architecture is merely an example, and the components included in a particular architecture may be adapted according to application specific circumstances). The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have installed thereon various communication client applications, such as a data processing type application, a web browser application, a search type application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only).
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server that provides various services, such as a server (for example only) for users to (perform data processing with) the terminal devices 401, 402, 403. The server may analyze and perform other processing on the received data such as the service data, and feed back a processing result (e.g., target data — just an example) to the terminal device.
It should be noted that the SaaS-based multi-tenant data processing method provided in the embodiment of the present invention is generally executed by the server 405, and accordingly, the SaaS-based multi-tenant data processing apparatus is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, a block diagram of a computer system 500 suitable for use with a terminal device or server implementing an embodiment of the invention is shown. The terminal device or the server shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises a service data acquisition module, a database construction module and a data processing module. The names of the modules do not form a limitation on the modules themselves under certain conditions, for example, the service data acquisition module may also be described as "acquiring service data of a service provider corresponding to multiple tenants, and dividing service scenes according to the service data; wherein the number of service providers is at least one module ".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring service data of a service provider corresponding to multiple tenants, and dividing service scenes according to the service data; wherein the number of service providers is at least one; constructing a SaaS database based on the service data and the corresponding service scene; responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from a SaaS database, and sending the target data to the tenant; the tenants refer to users leasing data storage space from a service provider, and the multiple tenants comprise at least two tenants adopting different data storage modes.
According to the technical scheme of the embodiment of the invention, the service data of the service provider corresponding to the multiple tenants is acquired, and the service scenes are divided according to the service data; wherein the number of service providers is at least one; constructing a SaaS database based on the service data and the corresponding service scene; responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from a SaaS database, and sending the target data to the tenant; the tenant refers to a user leasing a data storage space from a service provider, and the multi-tenant comprises at least two technical means of tenants adopting different data storage modes, so that the technical problems that the service provider information among the multi-tenants is difficult to uniformly manage and the requirement of realizing partial data sharing among the tenants cannot be met in the existing multi-tenant data processing method are solved, the development and expandability costs of an application program are high, the data utilization rate is low, and the user experience is poor, so that the uniform management of the service provider information among the multi-tenants is achieved, the requirement of realizing partial data sharing among the tenants is met, the development and expandability costs of the application program are reduced, the data utilization rate is improved, and the technical effect of user experience is improved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. A multi-tenant data processing method based on SaaS is characterized by comprising the following steps:
acquiring service data of a service provider corresponding to multiple tenants, and dividing service scenes according to the service data; wherein the number of service providers is at least one;
constructing a SaaS database based on the service data and the corresponding service scene;
responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from the SaaS database, and sending the target data to the tenant;
the tenants refer to users leasing data storage space from a service provider, and the multiple tenants comprise at least two tenants adopting different data storage modes.
2. The SaaS-based multi-tenant data processing method according to claim 1, wherein the step of acquiring service data of a service provider corresponding to a multi-tenant and dividing service scenes according to data types of the service data further includes:
determining service data of a service provider according to historical interaction data between the multi-tenant service provider and the service provider corresponding to the multi-tenant service provider;
acquiring the service data, and dividing service scenes according to service types corresponding to the service data, wherein the service scenes comprise: a registration scene, an audit scene, a login scene and an information management scene.
3. The SaaS-based multi-tenant data processing method according to claim 2, wherein after the step of acquiring the service data, the method further comprises:
and summarizing and removing the duplicate of the service data.
4. The SaaS-based multi-tenant data processing method according to claim 2, wherein after the step of dividing the service scenario according to the service type corresponding to the service data, the method further includes:
and acquiring service data corresponding to the service requirements of the multiple tenants, and updating the service scene according to the service data corresponding to the service requirements.
5. The SaaS-based multi-tenant data processing method according to claim 1, wherein the step of constructing a SaaS database based on the service data and the service scenario corresponding thereto further includes:
acquiring service provider information corresponding to the service data;
and constructing a SaaS service platform connected with the service provider based on the service provider information, the service data and the corresponding service scene, wherein the SaaS service platform comprises a message middleware and a SaaS database.
6. The SaaS-based multi-tenant data processing method according to claim 1, wherein after the step of constructing a SaaS database based on the service data and the service scenario corresponding thereto, the method further comprises:
and acquiring interaction data between the multiple tenants and the service providers corresponding to the multiple tenants, updating the service data according to the interaction data, and updating corresponding data in the SaaS database according to the updated service data.
7. The SaaS-based multi-tenant data processing method according to claim 6, wherein the step of acquiring interaction data between the multi-tenant and its corresponding service provider includes:
monitoring a service node of the multi-tenant and the service provider for service interaction; respectively establishing a service message queue aiming at each service node;
and sending the interactive data generated at the service node to the service message queue, and acquiring the interactive data from the service message queue.
8. The SaaS-based multi-tenant data processing method according to claim 7, further comprising:
monitoring a message log corresponding to the service message queue,
judging whether the message log is an information transmission failure log or not;
and if so, storing the interactive data indicated by the information sending failure log to the SaaS database.
9. The SaaS-based multi-tenant data processing method according to claim 8, wherein the storing the interaction data indicated by the information transmission failure log in the SaaS database further includes:
and setting a scheduling period, and storing the interactive data indicated by the information sending failure log to the SaaS database according to the scheduling period.
10. The SaaS-based multi-tenant data processing method according to claim 1, wherein the data storage means includes:
the data storage is carried out in an independent database mode, the data storage is carried out in a shared database and isolated data architecture mode, and the data storage is carried out in a shared database and shared data architecture mode.
11. The SaaS-based multi-tenant data processing method according to claim 10, further comprising:
and adjusting the data storage mode corresponding to each tenant according to the leasing condition and the leasing requirement corresponding to the multiple tenants.
12. A multi-tenant data processing apparatus based on SaaS is characterized by comprising:
the service data acquisition module is used for acquiring service data of a service provider corresponding to multiple tenants and dividing service scenes according to the service data; wherein the number of service providers is at least one;
the database construction module is used for constructing a SaaS database based on the service data and the corresponding service scenes;
the data processing module is used for responding to a data acquisition request initiated by a tenant, acquiring corresponding target data from the SaaS database, and sending the target data to the tenant;
the tenants refer to users leasing data storage space from a service provider, and the multiple tenants comprise at least two tenants adopting different data storage modes.
13. The SaaS-based multi-tenant data processing apparatus of claim 12, wherein the database build module is further configured to:
acquiring service provider information corresponding to the service data;
and constructing a SaaS service platform connected with the service provider based on the service provider information, the service data and the corresponding service scene, wherein the SaaS service platform comprises a message middleware and a SaaS database.
14. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-11.
15. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-11.
CN202110081312.XA 2021-01-21 2021-01-21 Multi-tenant data processing method and device based on SaaS Pending CN112860451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110081312.XA CN112860451A (en) 2021-01-21 2021-01-21 Multi-tenant data processing method and device based on SaaS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110081312.XA CN112860451A (en) 2021-01-21 2021-01-21 Multi-tenant data processing method and device based on SaaS

Publications (1)

Publication Number Publication Date
CN112860451A true CN112860451A (en) 2021-05-28

Family

ID=76008668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110081312.XA Pending CN112860451A (en) 2021-01-21 2021-01-21 Multi-tenant data processing method and device based on SaaS

Country Status (1)

Country Link
CN (1) CN112860451A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113344546A (en) * 2021-06-26 2021-09-03 周明升 House property management comprehensive supervision platform based on data center
CN113342827A (en) * 2021-07-01 2021-09-03 广东电网有限责任公司 Power grid data storage method, storage medium and system based on multi-tenant technology
CN115563117A (en) * 2022-10-14 2023-01-03 广州明动软件股份有限公司 Multi-tenant management application based on SaaS technology and implementation method thereof
CN115866062A (en) * 2023-02-07 2023-03-28 长沙市中智信息技术开发有限公司 Method and device for collecting and storing big data in real time in multi-tenant architecture

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113344546A (en) * 2021-06-26 2021-09-03 周明升 House property management comprehensive supervision platform based on data center
CN113342827A (en) * 2021-07-01 2021-09-03 广东电网有限责任公司 Power grid data storage method, storage medium and system based on multi-tenant technology
CN115563117A (en) * 2022-10-14 2023-01-03 广州明动软件股份有限公司 Multi-tenant management application based on SaaS technology and implementation method thereof
CN115563117B (en) * 2022-10-14 2023-08-29 广州明动软件股份有限公司 Multi-tenant management application based on SaaS technology and implementation method thereof
CN115866062A (en) * 2023-02-07 2023-03-28 长沙市中智信息技术开发有限公司 Method and device for collecting and storing big data in real time in multi-tenant architecture
CN115866062B (en) * 2023-02-07 2023-06-02 长沙市中智信息技术开发有限公司 Real-time collection and storage method and device for big data in multi-tenant architecture

Similar Documents

Publication Publication Date Title
CN112860451A (en) Multi-tenant data processing method and device based on SaaS
CN110310034B (en) Service arrangement and business flow processing method and device applied to SaaS
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
US9633127B2 (en) Deploying programs in a cluster node
CN109245908B (en) Method and device for switching master cluster and slave cluster
CN111478781B (en) Message broadcasting method and device
CN111427701A (en) Workflow engine system and business processing method
CN111831461A (en) Method and device for processing business process
CN111917687A (en) Method and device for circularly pushing reminding message
CN113495921A (en) Routing method and device of database cluster
CN111460129A (en) Method and device for generating identification, electronic equipment and storage medium
CN112445868A (en) Service message processing method and device
CN112202744B (en) Multi-system data communication method and device
CN113010238A (en) Permission determination method, device and system for micro application call interface
CN114398035A (en) Method, apparatus, device and computer readable medium for providing service using component
CN113296829A (en) Method, device, equipment and computer readable medium for processing service
CN112463616A (en) Chaos testing method and device for Kubernetes container platform
CN112099841A (en) Method and system for generating configuration file
CN112559001A (en) Method and device for updating application
CN116450622B (en) Method, apparatus, device and computer readable medium for data warehouse entry
CN112241332B (en) Interface compensation method and device
US11526499B2 (en) Adaptively updating databases of publish and subscribe systems using optimistic updates
CN114490128A (en) Data storage method and device under remote multi-active architecture
CN112836201A (en) Method, device, equipment and computer readable medium for multi-platform information intercommunication
CN113326108A (en) Method and device for managing application service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination