CN113379507A - Customization method and device suitable for enterprise-level multi-tenant product and electronic equipment - Google Patents

Customization method and device suitable for enterprise-level multi-tenant product and electronic equipment Download PDF

Info

Publication number
CN113379507A
CN113379507A CN202110737046.1A CN202110737046A CN113379507A CN 113379507 A CN113379507 A CN 113379507A CN 202110737046 A CN202110737046 A CN 202110737046A CN 113379507 A CN113379507 A CN 113379507A
Authority
CN
China
Prior art keywords
switch
tenant
level
configuration
dimension configuration
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
CN202110737046.1A
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.)
Tezign Shanghai Information Technology Co Ltd
Original Assignee
Tezign Shanghai 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 Tezign Shanghai Information Technology Co Ltd filed Critical Tezign Shanghai Information Technology Co Ltd
Priority to CN202110737046.1A priority Critical patent/CN113379507A/en
Publication of CN113379507A publication Critical patent/CN113379507A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Finance (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a customization method and device suitable for enterprise-level multi-tenant products and electronic equipment, wherein the method comprises the following steps: acquiring switch configuration added to each function in an enterprise-level multi-tenant product, and sequentially adding system-level dimension configuration, tenant-level dimension configuration and user-defined condition dimension configuration to the switches; associating the switch with a parent switch of the switches; receiving an access request of a tenant for functions in an enterprise-level multi-tenant product, and acquiring function switch configuration according to the access request; and on the basis of the function switch configuration, sequentially judging whether the system-level dimension configuration, the tenant-level dimension configuration, the user-defined condition dimension configuration and the parent switch of the switch pass, and if so, displaying the function to the tenant. In the embodiment of the invention, the development and maintenance cost is reduced, the function switch is improved, the switch can be configured in multiple dimensions, the requirements of enterprise-level multi-tenant products are met, and the technical effect of meeting the differentiation requirements among tenants at the same time of low cost is realized.

Description

Customization method and device suitable for enterprise-level multi-tenant product and electronic equipment
Technical Field
The invention relates to the field of enterprise-level product service, in particular to a customization method and device suitable for enterprise-level multi-tenant products and electronic equipment.
Background
In enterprise-level multi-tenant products, standard product solutions need to be provided for tenants subscribing to SaaS product services, and tenants in different industries and different enterprises also contain respective special business logics, which belong to non-standard products and need customized development. There are two existing solutions, code branching and function switching.
The code branches adopt a newly-built branch mode to realize customized service logic of tenants, stable operation of the system is guaranteed, however, with the increase of the number of enterprise customers, the branches can be synchronously increased, development and maintenance cost is linearly increased, and control is difficult.
The function switch displays the difference of functions through the switch state, does not need to add a new branch, and is generally used for dynamically adjusting the log level, actively degrading the service and setting a black and white list during running, but the traditional function switch can only realize system control, and all tenants in the system can only share one set of switch logic, and the requirement of the difference among the tenants cannot be met.
Therefore, how to develop and maintain both standard products and non-standard products at low cost is a challenge in current large-scale system architecture.
Disclosure of Invention
The invention mainly aims to provide a customization method and device suitable for enterprise-level multi-tenant products, and aims to solve the problem that the existing enterprise-level multi-tenant products cannot meet the differentiation requirements among tenants at low cost.
In order to achieve the above object, a first aspect of the present invention provides a customization method for enterprise-level multi-tenant products, including:
acquiring switch configuration added to each function in an enterprise-level multi-tenant product, and sequentially adding system-level dimension configuration, tenant-level dimension configuration and user-defined condition dimension configuration to the switches;
associating a switch with a parent switch of the switches;
receiving an access request of a tenant for functions in an enterprise-level multi-tenant product, and acquiring function switch configuration according to the access request;
and sequentially judging whether the system-level dimension configuration, the tenant-level dimension configuration, the user-defined condition dimension configuration and the parent switch of the switch pass or not based on the function switch configuration, and if so, displaying the function to the tenant.
Optionally, the method further comprises:
and if any one of the system-level dimension configuration, the tenant-level dimension configuration, the custom condition dimension configuration or the parent switch of the switch fails, not showing the function to the tenant.
Optionally, the system level dimension configuration includes setting system level on or off;
the tenant-level dimension configuration comprises binding tenants using the switch;
the user-defined condition dimension configuration comprises setting a user-defined condition;
and carrying out multi-dimensional configuration on the switch according to the system-level dimension configuration, the tenant-level dimension configuration and the user-defined condition dimension configuration.
Optionally, after sequentially adding a system-level dimension configuration, a tenant-level dimension configuration, and a custom condition dimension configuration to the switch, the method further includes:
and binding crowd information on each added dimension configuration for the switch so as to realize business function separation according to the crowd display function.
Optionally, after associating a switch with a parent switch of the switches, the method further comprises:
forming an enterprise-level switch tree based on the switches and associated parent switches;
receiving the added visual switch configuration of the switches, creating, maintaining, modifying and/or deleting the switches through the visual switch configuration, and adding parameter information corresponding to each switch for each switch.
Optionally, the sequentially determining, based on the configuration of the functional switch, whether a system-level dimension configuration, a tenant-level dimension configuration, a custom-condition dimension configuration, and a parent switch of the switch pass or not includes:
judging whether the system level setting is started or not based on the function switch configuration;
if the system level setting is started, judging whether the tenant level setting is started or not;
if the tenant level setting is started, judging whether the user-defined condition passes;
if the user-defined condition passes, judging whether a parent switch of the switch passes;
and if the parent switch of the switch passes, showing the function to the tenant.
Further, if the system level setting is not turned on, the tenant level setting is not turned on, the custom condition is not passed or the parent switch of the switch is not passed, the function is not exposed to the tenant.
The second aspect of the present invention provides a customization apparatus suitable for enterprise-level multi-tenant products, including:
the configuration unit is used for acquiring switch configuration added to each function in an enterprise-level multi-tenant product, and sequentially adding system-level dimension configuration, tenant-level dimension configuration and user-defined condition dimension configuration to the switches;
an association unit for associating a switch with a parent switch of the switch;
the access request unit is used for receiving an access request of a tenant for functions in an enterprise-level multi-tenant product and acquiring function switch configuration according to the access request;
and the judging unit is used for sequentially judging whether the system-level dimension configuration, the tenant-level dimension configuration, the user-defined condition dimension configuration and the parent switch of the switch pass or not based on the function switch configuration, and if so, displaying the function to the tenant.
A third aspect of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the customization method for enterprise-level multi-tenant products provided in any one of the first aspects.
A fourth aspect of the present invention provides an electronic apparatus, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform the method for customizing an enterprise-level multi-tenant product provided in any one of the first aspect.
In the embodiment of the invention, no branch is required to be newly built, the development and maintenance cost is reduced, a functional switch and a multi-dimensional configuration switch are improved, and two fixed dimensions are increased: the system level and the tenant level are added with the user-defined condition dimensionality, the extension of judgment logic can be allowed, the degree of freedom of the system is increased to a greater extent, the requirements of enterprise-level multi-tenant products are met, and the technical effect of meeting the differentiation requirements among tenants at low cost is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a customization method for enterprise-level multi-tenant products according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a multi-dimensional configuration switch according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an enterprise level switch tree provided by an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a tenant request access switch logic according to an embodiment of the present invention;
FIG. 5 is a block diagram of a customization mechanism for enterprise-level multi-tenant products according to an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the invention herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the present invention, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "center", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings. These terms are used primarily to better describe the invention and its embodiments and are not intended to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meanings of these terms in the present invention can be understood by those skilled in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "sleeved" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meanings of the above terms in the present invention can be understood by those of ordinary skill in the art according to specific situations.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In enterprise-level multi-tenant products, standard product solutions need to be provided for tenants subscribing to SaaS product services, and tenants in different industries and different enterprises also contain respective special business logics, which belong to non-standard products and need customized development. There are two existing solutions, code branching and function switching. The code branches are increased synchronously with the increase of the number of enterprise clients, so that the development and maintenance cost is increased linearly and is difficult to control; the traditional function switch can only realize system control, and all tenants in the system can only share one set of switch logic, and the differentiation requirements among the tenants cannot be met. Therefore, how to develop and maintain both standard products and non-standard products at low cost is a challenge in current large-scale system architecture.
In order to solve the above problem, an embodiment of the present invention provides a customization method suitable for enterprise-level multi-tenant products, as shown in fig. 1, the method includes the following steps S101 to S104:
step S101: acquiring switch configuration added to each function in an enterprise-level multi-tenant product, and sequentially adding system-level dimension configuration, tenant-level dimension configuration and user-defined condition dimension configuration to the switches;
because the single-dimensional switch system cannot meet different customized configuration requirements of a plurality of tenants, two fixed-dimension configurations are added in the invention: the system level dimension configuration and the tenant level dimension configuration are added, and the user-defined condition dimension configuration is added, so that the switch can be configured in multiple dimensions; the function switch is applied in one set of codes to realize the isolation of different business logics, and the judgment logics are allowed to be expanded, so that the degree of freedom of the system is increased to a greater extent, and the requirements of enterprise-level multi-tenant products are met.
The multi-dimensional configuration switch provided by the embodiment of the invention is shown in fig. 2, and specifically comprises the following steps:
the system level dimension configuration comprises setting system level on or off;
the tenant-level dimension configuration comprises binding tenants using the switch;
the user-defined condition dimension configuration comprises setting a user-defined condition;
and carrying out multi-dimensional configuration on the switch according to the system-level dimension configuration, the tenant-level dimension configuration and the user-defined condition dimension configuration. The invention adds a switch control for each function, and simultaneously adds three dimensional controls of a system level, a tenant level and a user-defined condition for the switch, thereby facilitating logic expansion, solving the problem of multi-dimensional control of the switch and supporting three control modes of the system level, the tenant level and the user-defined condition.
Specifically, after sequentially adding the system-level dimension configuration, the tenant-level dimension configuration, and the custom condition dimension configuration to the switch in step S101, the method further includes:
and binding crowd information on each added dimension configuration for the switch so as to realize business function separation according to the crowd display function. By carrying out multi-dimensional division on the crowd and then binding the crowd to a specific switch, the service function separation according to the crowd can be realized.
Step S102: associating a switch with a parent switch of the switches;
specifically, after step S102, the method further includes:
forming an enterprise-level switch tree based on the switches and associated parent switches; each switch support is provided with a parent switch, each switch is provided with a parent switch, and the switches and the associated parent switches form an enterprise switch tree; designing a function switch, and constructing an enterprise-level switch tree to realize tenant-level configurability.
The enterprise-level switch tree provided by the embodiment of the invention is shown in fig. 3, wherein a plurality of switches are associated with each other at upper and lower levels to form a tree structure, parent switches associated with each functional switch are respectively corresponding module switches, parent switches associated with each module switch are large module switches, and each functional switch, each module switch and the large module switch form the enterprise-level switch tree. The invention presents the branch logic in the service scene by using the switch tree, solves the complex service logic by configuration and meets the requirements of enterprise-level multi-tenant products.
Receiving the added visual switch configuration of the switches, creating, maintaining, modifying and/or deleting the switches through the visual switch configuration, and adding parameter information corresponding to each switch for each switch.
Through a visual interface, the display details of the switch layer can be enriched, and the control of the element level is realized; the administrator creates, modifies or deletes the switches through the visual interface, associates the parent switch for each switch, meanwhile, adds detailed parameter information for each switch, enriches the display details of the switch layer, achieves element-level control, creates good switches for the routine maintenance of operators, and achieves precise operation through modifying and deleting the switches. The technical research and development are separated from the product operation, a switch configuration interface is provided, operators can conveniently and directly manage the switch, and the system operation and maintenance cost is reduced.
Step S103: receiving an access request of a tenant for functions in an enterprise-level multi-tenant product, and acquiring function switch configuration according to the access request;
step S104: and sequentially judging whether the system-level dimension configuration, the tenant-level dimension configuration, the user-defined condition dimension configuration and the parent switch of the switch pass or not based on the function switch configuration, and if so, displaying the function to the tenant.
Specifically, the method further comprises:
and if any one of the system-level dimension configuration, the tenant-level dimension configuration, the custom condition dimension configuration or the parent switch of the switch fails, not showing the function to the tenant.
As shown in fig. 4, when a tenant accesses a function, the logic of the tenant request access switch provided by the embodiment of the present invention queries or acquires the configuration of a function switch, then sequentially queries the configuration of three dimensions of the switch, and finally queries the configuration of a parent switch upward, and when all switches are turned on, the switch is valid and shows the function to the tenant; and when any one of the system-level dimension configuration, the tenant-level dimension configuration, the custom condition dimension configuration or the parent switch of the switch fails, the function is not shown to the tenant.
The step S104 of sequentially determining, based on the functional switch configuration, whether a system level dimension configuration, a tenant level dimension configuration, a custom condition dimension configuration, and a parent switch of the switch pass or not includes:
judging whether the system level setting is started or not based on the function switch configuration;
if the system level setting is started, judging whether the tenant level setting is started or not;
if the tenant level setting is started, judging whether the user-defined condition passes;
if the user-defined condition passes, judging whether a parent switch of the switch passes;
and if the parent switch of the switch passes, showing the function to the tenant.
Further, if the system level setting is not started, the tenant level setting is not started, the user-defined condition is not passed or the parent switch of the switch is not passed, the function is not shown to the tenant.
The customization method applicable to enterprise-level multi-tenant products provided by the invention adopts a set of code development and maintenance to control the development cost; improving the function switch, increasing the multi-dimensional configuration, constructing an enterprise-level switch tree and a visual configuration, and specifically comprising the following steps:
the function switch is applied in a set of codes, three control modes of a system level, a tenant level and a user-defined condition are supported, the isolation of different service logics is realized, and the multi-dimensional control of the switch is realized; carrying out multi-dimensional division on the crowd, and then binding the crowd to a specific switch to realize the separation according to the business function of the crowd;
meanwhile, functional switches are redesigned, and each switch supports setting of a parent switch to form an enterprise-level logic switch tree, supports simultaneous judgment of multiple conditions, meets complex service logic control scenes, and achieves tenant-level configurability;
in addition, a switch configuration background system is added, an administrator can conveniently manage switch dimensions and conditions, easily create, modify and delete any switch node, parameter information is continuously added in a switch layer, page element level control is achieved, and products are better operated.
From the above description, it can be seen that the present invention achieves the following technical effects:
the invention adopts a function switch mode, does not need to build a new branch, and reduces the development and maintenance cost;
the invention adds two fixed dimensions: the system level and the tenant level are added with the user-defined condition dimensionality, the switch can be configured in multiple dimensions, the judgment logic is allowed to be expanded, the degree of freedom of the system is increased to a greater extent, and the requirement of enterprise-level multi-tenant products is met; by dividing the crowd in multiple dimensions and then binding the crowd to a specific switch, the separation according to the business functions of the crowd can be realized;
an enterprise-level switch tree is constructed, branch logics in a business scene are presented by the switch tree, and complex business logics are solved through configuration, so that the requirements of enterprise-level multi-tenant products are met;
the newly-added visual configuration separates the technology research and development from the product operation, provides a switch configuration interface, facilitates direct switch management of operators, and reduces the system operation and maintenance cost.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
An embodiment of the present invention further provides a customization apparatus suitable for enterprise-level multi-tenant products, for implementing the customization method suitable for enterprise-level multi-tenant products, as shown in fig. 5, the apparatus includes:
the configuration unit 51 is configured to obtain a switch configuration added to each function in an enterprise-level multi-tenant product, and sequentially add a system-level dimension configuration, a tenant-level dimension configuration, and a user-defined condition dimension configuration to the switch;
an association unit 52 for associating a switch with a parent switch of the switches;
the access request unit 53 is configured to receive an access request of a tenant for a function in an enterprise-level multi-tenant product, and obtain a function switch configuration according to the access request;
and the judging unit 54 is configured to sequentially judge whether the system-level dimension configuration, the tenant-level dimension configuration, the custom condition dimension configuration, and the parent switch of the switch pass or not based on the function switch configuration, and if all the system-level dimension configuration, the tenant-level dimension configuration, the custom condition dimension configuration, and the parent switch of the switch pass, the function is displayed to the tenant.
An embodiment of the present invention further provides an electronic device, as shown in fig. 6, the electronic device includes one or more processors 61 and a memory 62, where one processor 61 is taken as an example in fig. 6.
The controller may further include: an input device 63 and an output device 64.
The processor 61, the memory 62, the input device 63 and the output device 64 may be connected by a bus or other means, as exemplified by the bus connection in fig. 6.
The Processor 61 may be a Central Processing Unit (CPU), the Processor 61 may also be other general-purpose processors, Digital Signal Processors (DSP), Application Specific Integrated Circuits (ASIC), Field Programmable Gate Arrays (FPGA), other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or any combination thereof, and the general-purpose Processor may be a microprocessor or any conventional Processor.
The memory 62, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the control methods in the embodiments of the present invention. The processor 61 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 62, namely, implements the customization method applicable to enterprise-level multi-tenant products of the above method embodiments.
The memory 62 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of a processing device operated by the server, and the like. Further, the memory 62 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 62 may optionally include memory located remotely from the processor 61, which may be connected to a network connection device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 63 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the processing device of the server. The output device 64 may include a display device such as a display screen.
One or more modules are stored in the memory 62, which when executed by the one or more processors 61, perform the method as shown in fig. 1.
Those skilled in the art will appreciate that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and the processes of the embodiments of the motor control methods described above can be included when the computer program is executed. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (FM), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A customization method suitable for enterprise-level multi-tenant products is characterized by comprising the following steps:
acquiring switch configuration added to each function in an enterprise-level multi-tenant product, and sequentially adding system-level dimension configuration, tenant-level dimension configuration and user-defined condition dimension configuration to the switches;
associating a switch with a parent switch of the switches;
receiving an access request of a tenant for functions in an enterprise-level multi-tenant product, and acquiring function switch configuration according to the access request;
and sequentially judging whether the system-level dimension configuration, the tenant-level dimension configuration, the user-defined condition dimension configuration and the parent switch of the switch pass or not based on the function switch configuration, and if so, displaying the function to the tenant.
2. The method of claim 1, further comprising:
and if any one of the system-level dimension configuration, the tenant-level dimension configuration, the custom condition dimension configuration or the parent switch of the switch fails, not showing the function to the tenant.
3. The method of claim 1, wherein the system level dimension configuration comprises setting system level on or off;
the tenant-level dimension configuration comprises binding tenants using the switch;
the user-defined condition dimension configuration comprises setting a user-defined condition;
and carrying out multi-dimensional configuration on the switch according to the system-level dimension configuration, the tenant-level dimension configuration and the user-defined condition dimension configuration.
4. The method of claim 1, wherein after sequentially adding a system level dimension configuration, a tenant level dimension configuration, and a custom condition dimension configuration to the switch, the method further comprises:
and binding crowd information on each added dimension configuration for the switch so as to realize business function separation according to the crowd display function.
5. The method of claim 1, wherein after associating a switch with a parent switch of the switches, the method further comprises:
forming an enterprise-level switch tree based on the switches and associated parent switches;
receiving the added visual switch configuration of the switches, creating, maintaining, modifying and/or deleting the switches through the visual switch configuration, and adding parameter information corresponding to each switch for each switch.
6. The method of claim 1, wherein sequentially determining whether a system-level dimension configuration, a tenant-level dimension configuration, a custom condition dimension configuration, and a parent switch of the switch pass based on the functional switch configuration comprises:
judging whether the system level setting is started or not based on the function switch configuration;
if the system level setting is started, judging whether the tenant level setting is started or not;
if the tenant level setting is started, judging whether the user-defined condition passes;
if the user-defined condition passes, judging whether a parent switch of the switch passes;
and if the parent switch of the switch passes, showing the function to the tenant.
7. The method of claim 6, wherein the functionality is not exposed to the tenant if a system level setting is not turned on, a tenant level setting is not turned on, a custom condition is not passed, or a parent switch of the switch is not passed.
8. A customization mechanism adapted for enterprise-level multi-tenant products, comprising:
the configuration unit is used for acquiring switch configuration added to each function in an enterprise-level multi-tenant product, and sequentially adding system-level dimension configuration, tenant-level dimension configuration and user-defined condition dimension configuration to the switches;
an association unit for associating a switch with a parent switch of the switch;
the access request unit is used for receiving an access request of a tenant for functions in an enterprise-level multi-tenant product and acquiring function switch configuration according to the access request;
and the judging unit is used for sequentially judging whether the system-level dimension configuration, the tenant-level dimension configuration, the user-defined condition dimension configuration and the parent switch of the switch pass or not based on the function switch configuration, and if so, displaying the function to the tenant.
9. A computer-readable storage medium storing computer instructions for causing a computer to perform the method for customizing an enterprise-level multi-tenant product according to any one of claims 1 through 7.
10. An electronic device, characterized in that the electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to cause the at least one processor to perform the method of customizing for an enterprise-level multi-tenant product of any one of claims 1-7.
CN202110737046.1A 2021-06-30 2021-06-30 Customization method and device suitable for enterprise-level multi-tenant product and electronic equipment Pending CN113379507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110737046.1A CN113379507A (en) 2021-06-30 2021-06-30 Customization method and device suitable for enterprise-level multi-tenant product and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110737046.1A CN113379507A (en) 2021-06-30 2021-06-30 Customization method and device suitable for enterprise-level multi-tenant product and electronic equipment

Publications (1)

Publication Number Publication Date
CN113379507A true CN113379507A (en) 2021-09-10

Family

ID=77580205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110737046.1A Pending CN113379507A (en) 2021-06-30 2021-06-30 Customization method and device suitable for enterprise-level multi-tenant product and electronic equipment

Country Status (1)

Country Link
CN (1) CN113379507A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117422418A (en) * 2023-11-07 2024-01-19 深圳市鹏中科技有限公司 Method, device, equipment and storage medium for developing operation link visualization

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036856A (en) * 2011-10-09 2013-04-10 镇江金软计算机科技有限责任公司 Multi-tenant system achievement based on software as a service (SAAS) application
US20170091231A1 (en) * 2015-09-30 2017-03-30 Oracle International Corporation Multi-tenant customizable composites
CN109886044A (en) * 2019-02-14 2019-06-14 珠海天燕科技有限公司 A kind of method for secret protection and device
CN111429223A (en) * 2020-03-26 2020-07-17 中国建设银行股份有限公司 Configuration method and device based on multi-tenant platform
CN111491012A (en) * 2020-03-27 2020-08-04 北京尚医智信健康管理有限公司 SaaS multi-tenant data isolation access method and device, electronic equipment and storage medium
CN112269562A (en) * 2020-09-27 2021-01-26 福建天泉教育科技有限公司 Tenant isolation method and terminal in modular product
CN112486547A (en) * 2021-02-03 2021-03-12 苏州达家迎信息技术有限公司 Application program updating method and device under multi-tenant scene and electronic equipment
CN112667639A (en) * 2020-12-31 2021-04-16 恩亿科(北京)数据科技有限公司 Authority design method, system, equipment and storage medium based on SaaS multi-tenant
CN113032037A (en) * 2021-02-19 2021-06-25 视若飞信息科技(上海)有限公司 Method and device for dynamically configuring chromium functional module and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036856A (en) * 2011-10-09 2013-04-10 镇江金软计算机科技有限责任公司 Multi-tenant system achievement based on software as a service (SAAS) application
US20170091231A1 (en) * 2015-09-30 2017-03-30 Oracle International Corporation Multi-tenant customizable composites
CN109886044A (en) * 2019-02-14 2019-06-14 珠海天燕科技有限公司 A kind of method for secret protection and device
CN111429223A (en) * 2020-03-26 2020-07-17 中国建设银行股份有限公司 Configuration method and device based on multi-tenant platform
CN111491012A (en) * 2020-03-27 2020-08-04 北京尚医智信健康管理有限公司 SaaS multi-tenant data isolation access method and device, electronic equipment and storage medium
CN112269562A (en) * 2020-09-27 2021-01-26 福建天泉教育科技有限公司 Tenant isolation method and terminal in modular product
CN112667639A (en) * 2020-12-31 2021-04-16 恩亿科(北京)数据科技有限公司 Authority design method, system, equipment and storage medium based on SaaS multi-tenant
CN112486547A (en) * 2021-02-03 2021-03-12 苏州达家迎信息技术有限公司 Application program updating method and device under multi-tenant scene and electronic equipment
CN113032037A (en) * 2021-02-19 2021-06-25 视若飞信息科技(上海)有限公司 Method and device for dynamically configuring chromium functional module and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李国祥等: "触摸屏的系统设计模型", 《电子测量技术》, pages 5 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117422418A (en) * 2023-11-07 2024-01-19 深圳市鹏中科技有限公司 Method, device, equipment and storage medium for developing operation link visualization

Similar Documents

Publication Publication Date Title
CN112019369A (en) Dynamic configuration management method and system under micro-service framework
KR102262220B1 (en) System and method for displaying multiple applications
US20170168668A1 (en) Method and electronic device for displaying menu on apparatus
CN102789317A (en) Method and device for accelerating text input
CN114265703B (en) Cross-region computing power scheduling method, system and equipment for cloud server
CN113379507A (en) Customization method and device suitable for enterprise-level multi-tenant product and electronic equipment
CN105389153A (en) Application method of general integration presentation technology in multi-system integration
CN115311399A (en) Image rendering method and device, electronic equipment and storage medium
CN115685848A (en) Object model-based equipment control method and related equipment
CN105426056A (en) Desktop launcher Launcher menu displaying method and apparatus
CN101777993A (en) Topological graph construction method and system
CN113448939A (en) Data archiving and storing method and device and storage medium
CN112988879A (en) Method, system, device, storage medium and processor for accessing database
WO2016201813A1 (en) Dynamic layout method and system based on android
CN112511321A (en) Method and device for configuring 5G core network
CN104461599A (en) Integration method of multiple desktop starters
CN109640002A (en) A kind of multifunctional network matrix demo system and the equipment for network matrix demonstration
CN103096040A (en) Network full high-definition monitoring system method
CN111190634B (en) Layout information processing method and device and electronic equipment
CN113064891A (en) System and method for calculating and managing space-time data of internet of things
CN110908745B (en) Data analysis display method and system, storage medium, server and client
CN114241092A (en) Multi-graph typesetting method, multi-graph typesetting device and electronic equipment
CN103986740A (en) Multi-terminal application supporting always-online-infrastructure method, devices and system
CN113722341B (en) Operation data processing method and related device
CN111966312A (en) Internet of things cluster display screen supporting common management of multiple operators

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