CN111506411A - Multi-tenant service management method and system - Google Patents

Multi-tenant service management method and system Download PDF

Info

Publication number
CN111506411A
CN111506411A CN202010317172.7A CN202010317172A CN111506411A CN 111506411 A CN111506411 A CN 111506411A CN 202010317172 A CN202010317172 A CN 202010317172A CN 111506411 A CN111506411 A CN 111506411A
Authority
CN
China
Prior art keywords
service
sub
calling
tenant
chain
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
CN202010317172.7A
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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
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 Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN202010317172.7A priority Critical patent/CN111506411A/en
Publication of CN111506411A publication Critical patent/CN111506411A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a multi-tenant service management method and a system, wherein a calling chain is respectively arranged for the business service flow of each service of each tenant, so that the difference of the business service flows of different tenants when the same service is provided is more clearly displayed, and corresponding sub-services and components are called from a plurality of configured sub-services and components through the calling chains corresponding to the different tenants and are executed to obtain corresponding final results; during operation and maintenance, only the sub-service and the component are needed to be concerned, different tenants cannot be split, operation and maintenance cost is reduced, and faults are not easy to cause due to the fact that the operation and maintenance are simple; when the service is newly added, only the corresponding sub-service and the corresponding component need to be configured and called through the calling chain set for different tenants, or the calling chain is directly reset for different tenants to call and execute the corresponding sub-service and the corresponding component from the existing plurality of sub-services and components, so that the operation and maintenance cost is further reduced.

Description

Multi-tenant service management method and system
Technical Field
The invention relates to the technical field of computer background services, in particular to a multi-tenant service management method and system.
Background
Currently, in a telecommunication industry system, each tenant, that is, a mobile branch company, a unicom mobile branch company, or a telecom mobile branch company of each province often has different business processing flows for the same service, for example: the core processing of the payment service of Jilin mobile branch company and Heilongjiang mobile branch company is account entry, but the verification for the user information is very different.
Aiming at the situation, the traditional mode adopts multi-version management, namely two different business processing flows are set for the same service, namely payment business, of the forest mobile branch company and the Heilongjiang mobile branch company, namely the business is split into two subsystems of Jilin and Heilongjiang, the mode can cause that China mobile headquarters cannot carry out unified management, when the same service requirement (such as a group requirement) is met, adaptation needs to be carried out on each subsystem, subsequent operation and maintenance work needs to be carried out on each subsystem independently, in the long run, the difference of the previous versions is larger and larger, the integration is more difficult, finally, the subsystems among tenants are completely split, and the management cost is increased in multiple times.
Even if the subsystems are forcibly combined, when too complex service is provided in the face of too complex service requirements, more and more branches of the service flow are caused and are difficult to understand, the maintenance workload is even greater than that of the management of the multi-subsystem, and the maintenance is extremely unstable, so that faults are easily caused.
Disclosure of Invention
The invention provides a multi-tenant service management method and system aiming at the defects of the prior art.
The technical scheme of the multi-tenant service management method of the invention is as follows:
configuring a plurality of sub-services and a plurality of components;
respectively setting a calling chain according to the business service flow of each service of each tenant;
when a plurality of tenants execute any kind of same service, calling corresponding sub-services and components according to the call chain of the service of each tenant, executing according to the sequence of each call chain to obtain a plurality of final results, and feeding back each final result to the corresponding tenant.
The beneficial effects of the multi-tenant service management method of the invention are as follows:
the business service process of each service of each tenant is respectively provided with a calling chain, so that the difference of the business service processes of different tenants when the same service is provided is more clearly shown, and corresponding sub-services and components are called from the configured plurality of sub-services and components through the calling chains corresponding to the different tenants and are executed to obtain corresponding final results; during operation and maintenance, only the sub-service and the component are needed to be concerned, different tenants cannot be split, operation and maintenance cost is reduced, and faults are not easy to cause due to the fact that the operation and maintenance are simple; when the service is newly added, only the corresponding sub-service and the corresponding component need to be configured and called through the calling chain set for different tenants, or the calling chain is directly reset for different tenants to call and execute the corresponding sub-service and the corresponding component from the existing plurality of sub-services and components, so that the operation and maintenance cost is further reduced.
On the basis of the above scheme, the multi-tenant service management method of the present invention may be further improved as follows.
Further, the obtaining a plurality of final results after the execution according to the sequence of each call chain includes:
and executing each corresponding sub-service and component according to the sequence of any calling chain to respectively obtain corresponding intermediate results, and splicing each intermediate result to obtain a final result corresponding to the calling chain until the final result corresponding to each calling chain is obtained.
The beneficial effect of adopting the further scheme is that: the process of obtaining the final result is explained.
Further, the calling the corresponding sub-service and component according to the call chain of the service of each tenant includes:
calling corresponding sub-services by a message calling method according to the calling chain of the service of each tenant;
and calling the corresponding component by a reflection calling method according to the calling chain of the service of each tenant.
The beneficial effect of adopting the further scheme is that: the calling mode of the sub-service and the component is specifically explained.
Further, the configuring the plurality of sub-services and the plurality of components includes:
the plurality of sub-services and the plurality of components are configured in a manner that is agreed to be larger than the configuration.
The beneficial effect of adopting the further scheme is that: a plurality of sub-services and components are configured by appointing a mode larger than configuration, configuration work is reduced to a great extent, and configuration efficiency is improved.
Further, still include: when an exception occurs in the process of executing any sub-service and/or component, the execution is terminated, and exception information is returned.
The beneficial effect of adopting the further scheme is that: by throwing the abnormal information, the operation and maintenance personnel can instantly position the position where the abnormality occurs, and the next step of processing is facilitated.
The technical scheme of the multi-tenant service management system is as follows:
the system comprises a configuration module, a calling chain module and a calling execution module;
the configuration module is used for configuring a plurality of sub-services and a plurality of components;
the calling chain module is used for respectively setting a calling chain according to the business service flow of each service of each tenant;
the call execution module is used for: when a plurality of tenants execute any kind of same service, calling corresponding sub-services and components according to the call chain of the service of each tenant, executing according to the sequence of each call chain to obtain a plurality of final results, and feeding back each final result to the corresponding tenant.
The beneficial effects of the multi-tenant service management system of the invention are as follows:
a calling chain is respectively set for the business service flow of each service of each tenant, so that the difference of the business service flows of different tenants when the same service is provided is more clearly shown, and corresponding sub-services and components are called from the configured plurality of sub-services and components through the calling chains corresponding to the different tenants and are executed to obtain corresponding final results; during operation and maintenance, only the sub-service and the component are needed to be concerned, different tenants cannot be split, operation and maintenance cost is reduced, and faults are not easy to cause due to the fact that the operation and maintenance are simple; when the service is newly added, only the corresponding sub-service and the corresponding component need to be configured and called through the calling chain set for different tenants, or the calling chain is directly reset for different tenants to call and execute the corresponding sub-service and the corresponding component from the existing plurality of sub-services and components, so that the operation and maintenance cost is further reduced.
On the basis of the scheme, the multi-tenant service management system can be further improved as follows.
Further, the call execution module is specifically configured to: executing each corresponding sub-service and component according to the sequence of any calling chain to respectively obtain corresponding intermediate results, splicing each intermediate result to obtain a final result corresponding to the calling chain until the final result corresponding to each calling chain is obtained, and adopting the further scheme has the advantages that: the process of obtaining the final result is explained.
Further, the call execution module is specifically configured to:
and calling the corresponding sub-service by a message calling method according to the calling chain of the service of each tenant, and calling the corresponding component by a reflection calling method according to the calling chain of the service of each tenant.
The beneficial effect of adopting the further scheme is that: the calling mode of the sub-service and the component is specifically explained.
Further, the configuration module is specifically configured to configure the plurality of sub-services and the plurality of components in a manner that the contract is greater than the configuration.
The beneficial effect of adopting the further scheme is that: the configuration of a plurality of sub-services and a plurality of components is realized by appointing a mode larger than the configuration, so that the configuration work is reduced to a great extent, and the configuration efficiency is increased.
Further, the system also comprises an abnormal termination module, wherein the abnormal termination module is used for terminating the execution and returning abnormal information when an abnormality occurs in the process of executing any sub-service and/or component.
The beneficial effect of adopting the further scheme is that: the abnormal information is returned to enable the operation and maintenance personnel to instantly position the position where the abnormality occurs, so that the next step of processing is facilitated.
Drawings
Fig. 1 is a flowchart illustrating a multi-tenant service management method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a multi-tenant service management system according to an embodiment of the present invention;
Detailed Description
As shown in fig. 1, a method for managing a multi-tenant service according to an embodiment of the present invention includes the following steps:
s1, configuring a plurality of sub services and a plurality of components;
s2, respectively setting a calling chain according to the business service flow of each service of each tenant;
and S3, when a plurality of tenants execute any one same service, calling corresponding sub-services and components according to the call chain of the service of each tenant, executing according to the sequence of each call chain to obtain a plurality of final results, and feeding back each final result to the corresponding tenant.
The business service process of each service of each tenant is respectively provided with a calling chain, so that the difference of the business service processes of different tenants when the same service is provided is more clearly shown, and corresponding sub-services and components are called from the configured plurality of sub-services and components through the calling chains corresponding to the different tenants and are executed to obtain corresponding final results; during operation and maintenance, only the sub-service and the component are needed to be concerned, different tenants cannot be split, operation and maintenance cost is reduced, and faults are not easy to cause due to the fact that the operation and maintenance are simple; when the service is newly added, only the corresponding sub-service and the corresponding component need to be configured and called through the calling chain set for different tenants, or the calling chain is directly reset for different tenants to call and execute the corresponding sub-service and the corresponding component from the existing plurality of sub-services and components, so that the operation and maintenance cost is further reduced.
The configuration of the plurality of sub-services specifically includes: configuring sub-service basic information such as sub-service names, sub-service addresses, sub-service remark information, sub-service access reference information and the like of the sub-services, wherein the configuration of a plurality of components specifically comprises the following steps: and configuring component basic information such as component names, component paths, component access references and the like of the components.
It can be understood that: the method comprises the steps that a plurality of sub-services and components can be configured by operation and maintenance personnel according to the business service flow of each service of each tenant, the business service flow of each service of each tenant can be decoupled, a plurality of functional components are obtained, the functional components comprise the sub-services and the components, corresponding intermediate results can be obtained when the sub-services and/or the components are executed in order to keep the integrity of the sub-services and the components, the sub-services and the components are configured, corresponding intermediate results are obtained after each corresponding sub-service and component is executed according to the sequence of a call chain, and then the final result corresponding to the call chain can be obtained after each intermediate result is spliced.
For example, a business service process of a balance inquiry service of a mobile branch company in Jilin is decoupled, a sub-service for balance inquiry, an account book inquiry component for account book inquiry and a balance calculation component for balance calculation are obtained, and the sub-service and the components are configured, specifically:
1) configuring the sub-service of balance inquiry: the sub-service name: inquiring balance;
the sub-service address: com _ component group _ fund _ inter _ remaining query;
sub-service join list: name: a mobile phone number; type (2): a character type;
the sub-service parameter list comprises ① names, balance, types and long integer;
② name usable ledger list, type list.
2) And configuring basic information of the components, such as component names, component paths, component access references and the like of the account book inquiry component and the balance calculation component respectively, wherein the configuration is the same as the configuration of the sub-services, and the details are not repeated herein.
The configured sub-services and components can also be stored in a database, and the corresponding sub-services and components are called from the database through a calling chain and executed.
For example, the business service process of the balance query service of the mobile branch office in black dragon river is decoupled, and since the balance query service of the mobile branch office in black dragon river can also feed back monthly rental information to the user, the business service process of the balance query service of the mobile branch office in black dragon river is decoupled to obtain the sub-services for balance query, the account book query component for account book query, the balance calculation component for balance calculation, and the monthly rental query component for acquiring monthly rental information, and each sub-service and each component are configured, which are not described herein in detail with reference to the above contents.
Since there is duplication between the sub-service and the component obtained by decoupling the business service flow of the balance inquiry service of the Jilin mobile branch company and the sub-service and the component obtained by the business service flow of the balance inquiry service of the Heilongjiang mobile branch company, the sub-service for balance inquiry, the account book inquiry component for account book inquiry, the balance calculation component for balance calculation and the monthly rental inquiry component for acquiring monthly rental information need only be retained in the database.
When configuring the sub-service and the sub-component, the same parameter names are unified, for example, the parameter names of the mobile PHONE number are unified by "PHONE NO" or "PHONE _ NO", so that once the "PHONE NO" or "PHONE _ NO" is encountered, the value of the "PHONE NO" or "PHONE _ NO" is considered as the mobile PHONE number, and the other parameter names are the same.
When a plurality of sub-services and a plurality of components are configured, the method specifically comprises the following steps: the configuration method comprises the steps of configuring a plurality of sub-services and a plurality of components according to a mode of appointing to be larger than configuration, and configuring the plurality of sub-services and the plurality of components through the mode of appointing to be larger than configuration, so that configuration work is reduced to a great extent, and configuration efficiency is improved.
The method comprises the following steps of respectively setting a calling chain according to the business service flow of each service of each tenant, specifically: the tenant identification can be set for each tenant, the service identification can be set for each service, and the tenant identification and the service identification can be represented by number numbers or can be represented by the forms of numbers, letters and the like according to actual conditions.
The call chain can be understood in particular as: when the Jilin mobile branch company provides balance inquiry service for the user, the execution sequence is as follows: executing the sub-service with the sub-service name as balance inquiry, then executing the account book inquiry component and the balance calculation component, thereby forming a calling chain containing the sequence of executing the sub-service and the component, wherein, a calling chain identifier can also be set for the calling chain, at this time, all the calling chains are stored in the database, and the calling chain is obtained from the database through the calling chain identifier. For example, providing balance inquiry service to user a, specifically:
s20, according to the balance inquiry service and the Jilin mobile branch company, finding out a corresponding call chain;
s21, finding corresponding sub-services and components according to the call chain, wherein the sub-services are balance inquiry, and the components are an account book inquiry component and a balance calculation component, and specifically comprise inquiry sub-service addresses, sub-service access information, component paths, component access information and the like;
s22, executing the corresponding sub-services and components in the order of the call chain, including S220-S222, specifically:
s220, executing a sub-service with the name of balance inquiry, making the mobile phone number of the user a be referred to, making the referred mobile phone number be a balance and a usable account book list, and making the referred mobile phone number be: user identification and participation: the balance and the usable account book list are put into a data list, the data list can be arranged in a database or a memory, and the entry and exit of the sub-service with the name of balance inquiry can be understood as a first intermediate result;
the mobile phone number of the user a can be understood as a user identifier, that is, when the sub-service of balance inquiry is executed, the mobile phone number of the user a is taken into reference, and then the user identifier except the mobile phone number can be generated;
s221, executing the account book query component, acquiring the mobile phone number of the user a, namely acquiring the user identification from the data list when executing the account book query component, so that the usable account book list, namely a second intermediate result, is acquired through the system of the China Mobile company and can be stored in the data list;
s222, executing a balance calculation component, namely calculating the usable account list to obtain a usable balance, namely a third intermediate result, and storing the third intermediate result in the data list;
s23, obtaining the final result after splicing each intermediate result, specifically: and splicing the second intermediate result into the first intermediate result to participate by using the account book list and the third intermediate result, namely the balance: and obtaining a final result by using the account book list and the balance, and feeding back the final result to the user a in a short message mode.
The components and the sub-service services called by the calling chain do not need to pay attention to the source and the destination of data, only need to pay attention to the functions of the components and the sub-service services, and can be automatically assigned according to the components and the sub-service services in the last step. Meanwhile, the exit of the current component and sub-service can be stored in a data list of the memory, the entry of the next component and sub-service is used, then the execution result, namely the intermediate result, of each component and sub-service is automatically stored according to the intermediate result of each component and sub-service in the calling chain, and the execution result is automatically matched in the subsequent execution process.
Wherein, in S21, include:
s210, calling corresponding sub-services by a message calling method according to the calling chain of the service of the tenant, namely calling the sub-services with the name of the sub-services as the sub-services for balance inquiry by the message calling method;
and S211, calling corresponding components by a reflection calling method according to the calling chain of the service of the tenant, namely calling an account book inquiry component and a balance calculation component by the reflection calling method.
Before the calling of the corresponding sub-service and component according to the call chain of the service of the tenant in S21, the called sub-service or component is determined, specifically, when a plurality of sub-services or components are configured, a code is set for each sub-service or component, and then the sub-service or component is identified by the code, so that the determination is made.
Then, the balance inquiry service of the Heilongjiang mobile branch company is explained:
because monthly rental information and other conditions can be fed back to the user a in the balance query service of the Heilongjiang mobile branch company, the execution process of the sub-service and the component of the balance query service of the Heilongjiang mobile branch company is as follows: executing a sub-service whose sub-service name is balance inquiry → executing an account inquiry component → executing a balance calculation component → executing a monthly rental inquiry component for acquiring monthly rental information.
That is, it is only necessary to set a corresponding call chain for the balance query service of the mobile branch office of heilongjiang according to the execution process, and the specific execution process of the balance query service of the mobile branch office of heilongjiang refers to the execution process of the balance query service of the mobile branch office of jilin, which is not described herein again.
The balance inquiry service of the black longjiang mobile branch and the balance inquiry service of the Jilin mobile branch are that a plurality of tenants execute the same service, that is, when the plurality of tenants execute any one of the same services, corresponding sub-services and components are called according to the call chain of the service of each tenant, a plurality of final results are obtained after the execution according to the sequence of each call chain, and each final result is fed back to the corresponding tenant, and it can be understood that:
1) when only one tenant executes a service, the multi-tenant service management method of the present application can be applied, for example, when only the mobile branch company of the Jilin executes a balance query service, the sub-service with the corresponding sub-service name of balance query, the account book query component, and the balance calculation component can be called according to the call chain corresponding to the balance query service of the mobile branch company of the Jilin, and executed according to the order of the call chain, that is, the sub-service with the sub-service name of balance query is executed → the account book query component is executed → the balance calculation component is executed, the final result is obtained, each final result is fed back to the corresponding tenant, and the final result is sent to the user a.
2) When a plurality of tenants execute different services, the method for managing services of multiple tenants of the present application may also be applied, for example, a Jilin mobile branch performs a balance query service, and a Heilongjiang mobile branch performs a traffic query service, then:
calling corresponding sub-services and components according to a calling chain corresponding to a balance inquiry service of the Jilin mobile branch company, executing according to the sequence of the calling chain to obtain a final result, feeding back the final result to the Jilin mobile branch company, and feeding back the final result to a user a by the Jilin mobile branch company; and calling corresponding sub-services and components according to a calling chain corresponding to the flow query service of the Heilongjiang mobile branch company, executing according to the sequence of the calling chain to obtain a final result, feeding back the final result to the Heilongjiang mobile branch company, and feeding back the final result to the user a by the Heilongjiang mobile branch company.
Preferably, in the above technical solution, the method further comprises:
and S4, when an exception occurs in the process of executing any sub service and/or component, terminating the execution and returning exception information.
The abnormal information comprises the abnormal time, the name of the corresponding sub-service and/or component, and the operation and maintenance personnel can instantly position the abnormal position by returning the abnormal information, so that the next step of processing is facilitated. The abnormal information can be returned to the tenant in a bullet frame form or a mail form, and when the service reports errors, the system positioning problem is more accurate. And the execution time of each sub-service and component in the process is reserved, so that operation and maintenance personnel can conveniently evaluate the performance.
It can be understood that, in the balance query service of the black dragon river mobile branch company, the monthly rental information and other conditions are also fed back to the user a, and then the operation and maintenance personnel of the black dragon river mobile branch company can also configure the monthly rental query component and execute the monthly rental query component according to the sequence of the call chain corresponding to the balance query service of the black dragon river mobile branch company, that is: the execution sub-service name is a sub-service for balance inquiry → the execution account book inquiry component → the execution balance calculation component → the execution monthly rental inquiry component for obtaining monthly rental information, the specific contents are referred to above, and are not described herein, the operation and maintenance process is simple, the operation and maintenance cost is further reduced, and the fault is not easy to occur, even if the abnormality occurs in the process of executing any sub-service and/or component, the abnormal information can be returned to the tenant in a pop-up frame form or a mail form, and when the service is reported in an error, the system positioning problem is more accurate.
In the above embodiments, although the steps are numbered as S1, S2, etc., but only the specific embodiments are given in the present application, and those skilled in the art can adjust the execution sequence of S1, S2, etc. according to the actual situation, which is also within the protection scope of the present invention.
As shown in fig. 2, a multi-tenant service management system 200 according to an embodiment of the present invention includes a configuration module 210, a call chain module 220, and a call execution module 230;
the configuration module 210 is configured to configure a plurality of sub-services and a plurality of components;
the call chain module 220 is configured to set a call chain according to a business service flow of each service of each tenant;
the call execution module 230 is configured to: when a plurality of tenants execute any kind of same service, calling corresponding sub-services and components according to the call chain of the service of each tenant, executing according to the sequence of each call chain to obtain a plurality of final results, and feeding back each final result to the corresponding tenant.
A calling chain is respectively set for the business service flow of each service of each tenant, so that the difference of the business service flows of different tenants when the same service is provided is more clearly shown, and corresponding sub-services and components are called from the configured plurality of sub-services and components through the calling chains corresponding to the different tenants and are executed to obtain corresponding final results; during operation and maintenance, only the sub-service and the component are needed to be concerned, different tenants cannot be split, operation and maintenance cost is reduced, and faults are not easy to cause due to the fact that the operation and maintenance are simple; when the service is newly added, only the corresponding sub-service and the corresponding component need to be configured and called through the calling chain set for different tenants, or the calling chain is directly reset for different tenants to call and execute the corresponding sub-service and the corresponding component from the existing plurality of sub-services and components, so that the operation and maintenance cost is further reduced.
Preferably, in the above technical solution, the call execution module 230 is specifically configured to: and executing each corresponding sub-service and component according to the sequence of any calling chain to respectively obtain corresponding intermediate results, and splicing each intermediate result to obtain a final result corresponding to the calling chain until the final result corresponding to each calling chain is obtained.
Preferably, in the above technical solution, the call execution module 230 is specifically configured to:
and calling the corresponding sub-service by a message calling method according to the calling chain of the service of each tenant, and calling the corresponding component by a reflection calling method according to the calling chain of the service of each tenant. .
Preferably, in the above technical solution, the configuring module 210 configures a plurality of sub-services and a plurality of components, including:
the configuration module 210 is specifically configured to configure a plurality of sub-services and a plurality of components in a manner that is agreed to be larger than configuration.
The configuration of a plurality of sub-services and a plurality of components is realized by appointing a mode larger than the configuration, so that the configuration work is reduced to a great extent, and the configuration efficiency is increased.
Preferably, in the above technical solution, the system further includes an exception termination module, where the exception termination module is configured to terminate execution and return exception information when an exception occurs in the process of executing any sub-service and/or component.
And the abnormal information is returned to enable the operation and maintenance personnel to instantly position the position where the abnormality occurs, so that the next processing is facilitated.
The above steps for realizing the corresponding functions of each parameter and each unit module in the multi-tenant service management system 200 of the present invention may refer to each parameter and step in the above embodiment of a multi-tenant service management method, which are not described herein again.
In the present invention, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A multi-tenant service management method, comprising:
configuring a plurality of sub-services and a plurality of components;
respectively setting a calling chain according to the business service flow of each service of each tenant;
when a plurality of tenants execute any kind of same service, calling corresponding sub-services and components according to the call chain of the service of each tenant, executing according to the sequence of each call chain to obtain a plurality of final results, and feeding back each final result to the corresponding tenant.
2. The method of claim 1, wherein the performing in the order of each call chain to obtain a plurality of final results comprises:
and executing each corresponding sub-service and component according to the sequence of any calling chain to respectively obtain corresponding intermediate results, and splicing each intermediate result to obtain a final result corresponding to the calling chain until the final result corresponding to each calling chain is obtained.
3. The method for managing multi-tenant service according to claim 1 or 2, wherein the calling the corresponding sub-service and component according to the call chain of the service of each tenant comprises:
calling corresponding sub-services by a message calling method according to the calling chain of the service of each tenant;
and calling the corresponding component by a reflection calling method according to the calling chain of the service of each tenant.
4. The method for managing multi-tenant service according to claim 1 or 2, wherein the configuring a plurality of sub-services and a plurality of components comprises:
the plurality of sub-services and the plurality of components are configured in a manner that is agreed to be larger than the configuration.
5. The method for multi-tenant service management according to claim 1, further comprising: when an exception occurs in the process of executing any sub-service and/or component, the execution is terminated, and exception information is returned.
6. The multi-tenant service management system is characterized by comprising a configuration module, a call chain module and a call execution module;
the configuration module is used for configuring a plurality of sub-services and a plurality of components;
the calling chain module is used for respectively setting a calling chain according to the business service flow of each service of each tenant;
the call execution module is used for: when a plurality of tenants execute any kind of same service, calling corresponding sub-services and components according to the call chain of the service of each tenant, executing according to the sequence of each call chain to obtain a plurality of final results, and feeding back each final result to the corresponding tenant.
7. The multi-tenant service management system according to claim 6, wherein the call execution module is specifically configured to: and executing each corresponding sub-service and component according to the sequence of any calling chain to respectively obtain corresponding intermediate results, and splicing each intermediate result to obtain a final result corresponding to the calling chain until the final result corresponding to each calling chain is obtained.
8. The system according to claim 6 or 7, wherein the call execution module is specifically configured to:
and calling the corresponding sub-service by a message calling method according to the calling chain of the service of each tenant, and calling the corresponding component by a reflection calling method according to the calling chain of the service of each tenant.
9. The multi-tenant service management system according to claim 6 or 7, wherein the configuration module is specifically configured to configure a plurality of sub-services and components in a manner that is agreed to be larger than configured.
10. The multi-tenant service management system according to claim 6 or 7, further comprising an abnormal termination module, wherein the abnormal termination module is configured to terminate execution and return abnormal information when an abnormality occurs in the process of executing any sub-service and/or component.
CN202010317172.7A 2020-04-21 2020-04-21 Multi-tenant service management method and system Pending CN111506411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010317172.7A CN111506411A (en) 2020-04-21 2020-04-21 Multi-tenant service management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010317172.7A CN111506411A (en) 2020-04-21 2020-04-21 Multi-tenant service management method and system

Publications (1)

Publication Number Publication Date
CN111506411A true CN111506411A (en) 2020-08-07

Family

ID=71864899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010317172.7A Pending CN111506411A (en) 2020-04-21 2020-04-21 Multi-tenant service management method and system

Country Status (1)

Country Link
CN (1) CN111506411A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023098634A1 (en) * 2021-12-01 2023-06-08 阿里云计算有限公司 Information processing method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160321108A1 (en) * 2015-04-28 2016-11-03 NetSuite Inc. Intelligent management of processing tasks on multi-tenant or other constrained data processing platform
CN109412878A (en) * 2019-01-16 2019-03-01 紫光云数科技有限公司 Multi-tenant service access implementation method, device and electronic equipment
CN109656700A (en) * 2018-12-17 2019-04-19 广州市玄武无线科技股份有限公司 Distributed link tracking, system, equipment and storage medium under multi-tenant
CN109951530A (en) * 2019-02-27 2019-06-28 上海浪潮云计算服务有限公司 A kind of Implementation Technology of multi-tenant mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160321108A1 (en) * 2015-04-28 2016-11-03 NetSuite Inc. Intelligent management of processing tasks on multi-tenant or other constrained data processing platform
CN109656700A (en) * 2018-12-17 2019-04-19 广州市玄武无线科技股份有限公司 Distributed link tracking, system, equipment and storage medium under multi-tenant
CN109412878A (en) * 2019-01-16 2019-03-01 紫光云数科技有限公司 Multi-tenant service access implementation method, device and electronic equipment
CN109951530A (en) * 2019-02-27 2019-06-28 上海浪潮云计算服务有限公司 A kind of Implementation Technology of multi-tenant mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李振亭;王一博;: "基于云计算的网络学习生态系统模型" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023098634A1 (en) * 2021-12-01 2023-06-08 阿里云计算有限公司 Information processing method and apparatus

Similar Documents

Publication Publication Date Title
US6052450A (en) Billing for communications usage
CN108509392B (en) Multi-mechanism account checking method, system, computer equipment and storage medium
CN112463211A (en) System architecture transformation method compatible with multiple development architectures and system architecture
CN111090587A (en) Method, device and equipment for testing production point service and storage medium
CN108632047B (en) Method and device for determining tariff data
US8341044B1 (en) System, method, and computer program product for rating and re-rating events
CN111506411A (en) Multi-tenant service management method and system
AU2006242787B2 (en) Configurable rating system for a telecommunications service provider
CN110298630A (en) A kind of workflow engine
CN114116900A (en) Efficient trading system and development method based on MDD model
CN116012485A (en) Time sequence path processing method and device and storage medium
CN108536758B (en) Data table reconstruction method, device and system for database mode
CN111488335A (en) Rule-based data automatic restoration method and system
CN115292343B (en) Data processing method and device
CN111130955A (en) Distributed link monitoring method based on internet credit system
CN110489208A (en) Virtual machine configuration parameter check method, system, computer equipment and storage medium
CN110297947A (en) A kind of data calling method, device and electronic equipment
CN113965489B (en) Link timeout detection method, device, computer equipment and storage medium
CN110943858B (en) Fault positioning method and device
CN112529590B (en) Service information generation method and device, electronic equipment and storage medium
CN115756940A (en) Baffle system integrating fault scenes, application system and method
US20050131720A1 (en) Methods and systems of span design
CN117666874A (en) Visualization processing method, device, equipment and storage medium for ticket system parameters
CN113190440A (en) Service publishing method, device, equipment and storage medium
CN115719211A (en) Business approval method, device, equipment and medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200807

RJ01 Rejection of invention patent application after publication