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

Cross-tenant data interaction method, apparatus, server cluster and medium

A server cluster and data interaction technology, which is applied in the field of server clusters and media, cross-tenant data interaction, can solve unsolvable problems, and achieve the effects of saving time, secure interface calls, improving flexibility and scalability

Active Publication Date: 2022-07-08
北京尚医智信健康管理有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing solutions are to solve the interface calls between services, each service only exists in a single service cluster resource, or two services are in a certain cluster resource, such as Dubbo, Spring Cloud, Web Service, etc. For load-balanced remote interface calls between multiple services in a service cluster, each business system independently provides a set of API interfaces to access other business systems. However, it cannot solve the problem that a certain service is deployed under multiple mutually independent service resources. A unified cross-tenant interface call to this service by another service

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
  • Cross-tenant data interaction method, apparatus, server cluster and medium
  • Cross-tenant data interaction method, apparatus, server cluster and medium
  • Cross-tenant data interaction method, apparatus, server cluster and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] Embodiments of the present invention provide a cross-tenant data interaction method, such as figure 1 As shown, the main flow of the method is described as follows:

[0079] Step S100, the central API interaction service receives the first request sent by the caller system;

[0080] Step S200, the central API interactive service parses the first request, obtains the tenant ID, the called system ID and the first request parameter, and obtains the domain name and token of the called system according to the tenant ID and the called system ID;

[0081] In this embodiment, each tenant has a unique ID, and with the tenant ID, the SAAS system can automatically route to the database of the corresponding tenant to operate the business; each business system (whether it is an exclusive mode or a SAAS shared mode) also have a unique ID identification. According to these two IDs, the central API interaction service can obtain the domain name and token of the called system.

[008...

Embodiment 2

[0123] This embodiment provides a cross-tenant data interaction device, which is applied to a SAAS server cluster, such as Figure 9 shown, including:

[0124] The first receiving module 500 is used for the central API interaction service to receive the first request sent by the caller system;

[0125] The first obtaining module 600 is used for the central API interactive service to parse the first request, obtain the tenant ID, the called system ID and the first request parameter, and obtain the domain name and token of the called system according to the tenant ID and the called system ID;

[0126] The first request module 700 is used for the central API interaction service to construct a second request according to the domain name and token of the called system and the first request parameter, and send the second request to the called system;

[0127] The second receiving module 800 is used for the central API interaction service to receive the first response data returned ...

Embodiment 3

[0143] This embodiment provides a SAAS server cluster, including a plurality of servers, the servers include a memory and a processor, and the memory stores a computer program that can be loaded by the processor and execute the cross-tenant data interaction method described in the first embodiment.

[0144] Figure 11 It is a structural block diagram of the server of this embodiment. like Figure 11 As shown, the server includes a general computer hardware structure, which at least includes a processor and a memory, and the processor and the memory are connected by a bus. The memory is suitable for storing instructions or programs executable by the processor. A processor can be an independent microprocessor or a collection of one or more microprocessors. Therefore, the processor implements the data interaction across tenants by executing the instructions stored in the memory to execute the method process described in the first embodiment. The bus connects the above-mention...

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 relates to a cross-tenant data interaction method, device, server cluster and medium. The method includes: a central API interaction service receives a first request sent by a caller system; the central API interaction service parses the first request to obtain a tenant ID, The called system ID and the first request parameter, and obtain the domain name and token of the called system according to the tenant ID and the called system ID; the central API interaction service constructs the second request parameter according to the domain name and token of the called system and the first request parameter request, and send the second request to the called system; after the called system parses the token obtained by the second request and passes the verification, and returns the first response data according to the first request parameter, receives the first response data returned by the called system , and forward the first response data to the caller system. The present invention has the effect of realizing unified interface interaction between multi-tenant and multi-system.

Description

technical field [0001] The present invention relates to the technical field of SAAS services, and in particular, to a cross-tenant data interaction method, device, server cluster and medium. Background technique [0002] According to business requirements, tenants lease applications that contain function points that meet business requirements, and combine the function points of each application to build a new application system, which is called a business system. With the gradual improvement of office automation, standardization, and networking, more and more tenants use more than one business system. Based on tenants' data security and industry requirements, some business systems must be deployed in an exclusive mode, using independent domain names and Server resources; and based on cost and expansion considerations, some business systems will be deployed in SAAS mode, sharing domain names and server resources with other tenants, and using independent data sources or indepe...

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 Patents(China)
IPC IPC(8): H04L67/60H04L61/4511G06F9/54
CPCG06F9/547H04L61/4511H04L67/60
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