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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com