CN114661406B - Dynamic configuration visualization platform and method based on multi-tenant architecture - Google Patents

Dynamic configuration visualization platform and method based on multi-tenant architecture Download PDF

Info

Publication number
CN114661406B
CN114661406B CN202210368177.1A CN202210368177A CN114661406B CN 114661406 B CN114661406 B CN 114661406B CN 202210368177 A CN202210368177 A CN 202210368177A CN 114661406 B CN114661406 B CN 114661406B
Authority
CN
China
Prior art keywords
component
visualized
tenant
target
data
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.)
Active
Application number
CN202210368177.1A
Other languages
Chinese (zh)
Other versions
CN114661406A (en
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.)
Hangzhou Half Cloud Technology Co ltd
Original Assignee
Hangzhou Half Cloud 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 Hangzhou Half Cloud Technology Co ltd filed Critical Hangzhou Half Cloud Technology Co ltd
Priority to CN202210368177.1A priority Critical patent/CN114661406B/en
Publication of CN114661406A publication Critical patent/CN114661406A/en
Application granted granted Critical
Publication of CN114661406B publication Critical patent/CN114661406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote

Abstract

The application relates to a dynamic configuration visualization platform and a method based on a multi-tenant architecture, wherein the dynamic configuration visualization platform of the multi-tenant architecture comprises a business module, a demand module, an acquisition module, an import module and an output module; the service module is used for acquiring service components provided by manufacturers and storing the service components into a preset component library; the demand module is used for acquiring the visual demand of the tenant and the data to be visualized; the acquiring module is used for acquiring a corresponding target component from the preset component library based on the tenant visual requirement; the importing module is used for importing the data to be visualized into the target component to obtain the component to be visualized; the output module is used for adding the component to be visualized into a preset visualized view model and outputting to obtain a target view. The method and the device have the effect of facilitating tenant customization to meet the visual view of tenant requirements.

Description

Dynamic configuration visualization platform and method based on multi-tenant architecture
Technical Field
The present disclosure relates to the field of multi-tenant architecture, and in particular, to a platform and a method for dynamic configuration visualization based on a multi-tenant architecture.
Background
Multi-tenant simply means that a single instance can serve multiple organizations. Multi-tenant technology provides the same or even customizable services as most clients with a single system architecture and services within a common data center, and still can guarantee data isolation for the clients.
At present, a visualization platform based on a multi-tenant architecture is custom developed by a manufacturer based on data of each application module after the requirements of clients are integrated, so that views obtained by each tenant are identical.
With respect to the related art described above, the inventors consider that since the needs and emphasis of the visual views are different for different tenants, the visual views required even in different scenes are different, and the visual views of the unified design cannot meet the needs of the tenants.
Disclosure of Invention
In order to facilitate tenant customization and meet the visualization view of tenant demands, the application provides a dynamic configuration visualization platform and a method based on a multi-tenant architecture.
In a first aspect, the present application provides a dynamic configuration visualization platform based on a multi-tenant architecture, which adopts the following technical scheme:
a dynamic configuration visualization platform based on a multi-tenant architecture comprises a business module, a demand module, an acquisition module, an import module and an output module;
the service module is used for acquiring service components provided by manufacturers and storing the service components into a preset component library;
the demand module is used for acquiring the visual demand of the tenant and the data to be visualized;
the acquiring module is used for acquiring a corresponding target component from the preset component library based on the tenant visual requirement;
the importing module is used for importing the data to be visualized into the target component to obtain the component to be visualized;
the output module is used for adding the component to be visualized into a preset visualized view model and outputting to obtain a target view.
By adopting the technical scheme, the service module acquires the service components of the manufacturer, the requirement module acquires the tenant visual requirement and the to-be-visualized data, the acquisition module selects the corresponding target component according to the tenant visual requirement, the importing module imports the to-be-visualized data into the target component to obtain the to-be-visualized component, the final output module adds the to-be-visualized component into the visual view model to obtain the target view, the tenant does not need to rely on the custom development of the research and development manufacturer, the target view can be customized according to the self-emphasis requirement, and the method is quite convenient.
Optionally, the service module includes:
the service unit is used for acquiring service business of a manufacturer;
and the component unit is used for acquiring service components based on the service services, wherein the service services are in one-to-one correspondence with the service components.
By adopting the technical scheme, the service components can be determined through service services of manufacturers, so that the selection of tenants is facilitated.
Optionally, the acquiring module includes:
a determining unit, configured to determine a target service based on the tenant visualization requirement;
and the acquisition unit is used for determining a target component based on the target service and acquiring the target component from the preset component library.
By adopting the technical scheme, the target component is determined according to the visual requirement of the tenant, so that the tenant can define the visual view conveniently.
Optionally, the output module includes:
the first adding unit is used for obtaining component adding instruction information when the tenant executes a component adding instruction, wherein the component adding instruction information comprises a component adding target and a component adding position;
and the first output unit is used for determining the component to be visualized according to the component adding target, adding the component to be visualized into a preset visual view model according to the component adding position, and outputting to obtain a target view.
By adopting the technical scheme, the to-be-visualized components are added into the visualized model according to the component adding instruction, the target view is output, the customization and development of manufacturers are not needed, and the method is quite convenient.
Optionally, the output module includes:
the second adding unit is used for acquiring link adding instruction information when the tenant executes the link adding instruction, wherein the link adding instruction information comprises a link adding target and a link adding position;
and the second output unit converts the link adding target into a preset plug-in format to obtain link data to be visualized, adds the link data to be visualized into a preset visualized view model according to the adding position, and outputs the link data to be visualized to obtain a target view.
By adopting the technical scheme, the tenant can add the external link data into the target view, so that the diversity of the visual view is increased, and the experience of the tenant is improved.
Optionally, the system further comprises a tenant view module, wherein the tenant view module is used for storing a plurality of the visual views.
By adopting the technical scheme, the tenant can store a plurality of visual views in the tenant view module, and the tenant can conveniently and directly call one of the visual views when using the visual view module.
Optionally, the system further comprises a public view module, wherein the public view module is used for storing a public view, and the public view can be called by all tenants.
By adopting the technical scheme, the tenant can select a proper public view from the public view module to call, so that the method is convenient.
The application also discloses a dynamic configuration visualization method based on the multi-tenant architecture, which adopts the following technical scheme:
a dynamic configuration visualization method based on a multi-tenant architecture comprises the following steps:
acquiring service components provided by manufacturers, and storing the service components into a preset component library;
acquiring tenant visual requirements and data to be visualized;
acquiring a corresponding target component from the preset component library based on the tenant visual requirement;
importing the data to be visualized into the target component to obtain a component to be visualized;
and adding the component to be visualized into a preset visual view model, and outputting to obtain a target view.
By adopting the technical scheme, the service components of the manufacturer are acquired, the tenant visual requirements and the to-be-visualized data are acquired, the corresponding target components are selected from the service components according to the tenant visual requirements, the to-be-visualized data are imported into the target components to obtain the to-be-visualized components, and finally the to-be-visualized components are added into the visual view model to obtain the target view.
Optionally, the adding the component to be visualized into a preset visual view model, and constructing to obtain a target view, includes the following steps:
when a tenant executes a component adding instruction, acquiring component adding instruction information, wherein the component adding instruction information comprises a component adding target and a component adding position;
determining the component to be visualized according to the component adding target;
and adding the component to be visualized in a preset visualized view model according to the component adding position, and outputting to obtain a target view.
By adopting the technical scheme, the to-be-visualized components are added into the visualized model according to the component adding instruction, the target view is output, the customization and development of manufacturers are not needed, and the method is quite convenient.
Optionally, the adding the component to be visualized into a preset visual view model, and constructing to obtain a target view, includes the following steps:
when a tenant executes a link adding instruction, acquiring link adding instruction information, wherein the link adding instruction information comprises a link adding target and a link adding position;
converting the link adding target into a preset plug-in format to obtain link data to be visualized;
and adding the link data to be visualized in a preset visualized view model according to the adding position, and outputting to obtain a target view.
By adopting the technical scheme, the tenant can add the external link data into the target view, so that the diversity of the visual view is increased, and the experience of the tenant is improved.
Drawings
Fig. 1 is a schematic diagram of module connection of a dynamic configuration visualization platform based on a multi-tenant architecture according to an embodiment of the present application.
Fig. 2 is a schematic block diagram of a tenant view module and a public view module in a dynamic configuration visualization platform based on a multi-tenant architecture according to an embodiment of the present application.
Fig. 3 is an overall flow diagram of a dynamic configuration visualization method based on a multi-tenant architecture according to an embodiment of the present application.
Fig. 4 is a schematic flow chart of step S201 to step S203 in a dynamic configuration visualization method based on a multi-tenant architecture according to an embodiment of the present application.
Fig. 5 is a schematic flow chart of step S301 to step S303 in a dynamic configuration visualization method based on a multi-tenant architecture according to an embodiment of the present application.
Reference numerals illustrate:
1. a business module; 11. a service unit; 12. a component unit; 2. a demand module; 3. an acquisition module; 31. a determination unit; 32. an acquisition unit; 4. an import module; 5. an output module; 51. a first adding unit; 52. a first output unit; 53. a second adding unit; 54. a second output unit; 6. a tenant view module; 7. a view module is disclosed.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
The embodiment of the application discloses a dynamic configuration visualization platform based on a multi-tenant architecture, referring to fig. 1, the dynamic configuration visualization platform comprises a service module 1, a demand module 2, an acquisition module 3, an importing module 4 and an output module 5, wherein the service module 1 is used for acquiring service components provided by manufacturers, storing the service components into a preset component library, and the demand module 2 is used for acquiring tenant visualization demands and data to be visualized; the acquisition module 3 is used for acquiring a corresponding target component from a preset component library based on tenant visual requirements, the importing module 4 is used for importing data to be visualized into the target component to obtain the component to be visualized, and the output module 5 is used for adding the component to be visualized into a preset visual view model and outputting the component to be visualized to obtain a target view.
The service module 1 includes a service unit 11 and a component unit 12, where the service unit 11 is used to obtain service of a manufacturer, and the component unit 12 is used to obtain service components of the manufacturer based on the service.
Specifically, in this embodiment, the manufacturer provides multiple service services, and may display data in multiple forms, where the service specifically obtained by the service unit 11 includes displaying data in the form of pictures, texts, line graphs, bar graphs, pie charts, menu bars, interface switches, external plugins, videos, ranks, image-text push, maps, map controls, carousel charts, and so on.
The component unit 12 obtains each basic component provided by the manufacturer according to the service, where the basic components include a material picture component, a text component, a line drawing component, a histogram component, a pie chart component, a menu bar component, an interface switching component, an external plug-in component, a video component, a ranking component, a picture-text pushing component, a map control component, a carousel chart component, and the like.
In this embodiment, the component unit 12 configures a corresponding data interface for a base component, the data interface needs to be configured according to a data format required by the corresponding component, in a multi-tenant architecture, the corresponding data information needs to be displayed according to different tenants, a developer needs to add the data interface into the interface, the interface is divided into two types, namely, http and websocket, wherein the interface of the websocket is applied to a data type needing to be displayed in real time, and each type of interface needs to be configured with a corresponding filter, so that the data of the required component is filtered out for display.
Meanwhile, the component unit 12 configures the data interface according to the data attribute of the basic component by a developer, so that dynamic data information can be displayed after the interface data meets the data configuration of the basic component. The data formats required by different base components are different, the base components are required to be configured according to a certain specification, the component unit 12 stores the base components after the attribute information is configured as service components for direct use by tenants, and all the service components are stored in a component library, so that the selection of the tenants is facilitated.
The requirement module 2 obtains the visualization requirement of the tenant and the data to be visualized. In this embodiment, the data of the tenant end may be personnel management data, energy efficiency management data, comprehensive security data, and the like, and the tenant sends a visual requirement according to its own needs, for example, the tenant needs to visualize the personnel management data in the form of a histogram, and then the requirement module 2 determines that the data to be visualized is personnel management data, and the tenant visual requirement is to display the personnel management data using the histogram.
The acquiring module 3 includes a determining unit 31 and an acquiring unit 32, where the determining unit 31 is configured to determine the target service based on the tenant visual requirement, and as shown in the foregoing example, when the tenant visual requirement is "showing the personnel management data in the form of a histogram," the determining unit 31 determines that the target service is "showing the personnel management data in the form of a histogram.
The acquiring unit 32 acquires a target service, determines a target component according to the target service, and acquires the target component from a preset component library. When the determination unit 31 determines that the target service is "showing the personnel management data in the form of a histogram", the acquisition unit 32 determines that the target component is a histogram component, and acquires the histogram component from a preset component library as the target component.
Wherein, after the acquisition unit 32 acquires the target component, the importing module 4 imports the data to be visualized into the target component, and configures the target component. For example, the importing module 4 obtains personnel management data, imports the personnel management data into the target component, and forms a histogram component to be visualized of the personnel management data.
In this embodiment, a visual view model is preset, and when a tenant needs to move a histogram component to be visualized of personnel management data into the visual view model, the tenant issues a component adding instruction according to its own needs, and executes a component adding operation through an output module 5.
The output module 5 includes a first adding unit 51 and a first output unit 52, where the first adding unit 51 is configured to obtain component adding instruction information when a tenant executes a component adding instruction, where the component adding instruction information includes a component adding target and a component adding position, and the first output unit 52 is configured to determine a component to be visualized according to the component adding target, add the component to be visualized to a preset visual view model according to the component adding position, and output and obtain a target view.
Specifically, for example, when the tenant moves the histogram component to be visualized of the person management data into the visualized view model, executes the component addition instruction "move the histogram component to be visualized of the person management data into the center of the visualized view model", and the first addition unit 51 acquires the histogram component to be visualized of the person management data targeted for component addition from the execution component addition instruction, and the component addition position is the visualized view model center. The first output unit 52 performs an adding operation according to the component adding target and the component adding position, and moves the histogram component to be visualized of the personnel management data to the center of the visual view model, to obtain a target view.
Of course, the tenant can remove the visualization component from the target view according to the own requirement in the same manner, so as to realize the self-defining operation of the visualization view.
In addition, the platform also supports the movement of external link data into the visual view, and independent pages are displayed in a mode of acquiring corresponding external link addresses. The output module 5 further includes a second adding unit 53 and a second output unit 54, where the second adding unit 53 is configured to obtain link adding instruction information when the tenant executes a link adding instruction, where the link adding instruction information includes a link adding target and a link adding position, and the second output unit 54 is configured to convert the link adding target into a preset plug-in format, obtain link data to be visualized, add the link data to be visualized in a preset visual view model according to the adding position, and output and obtain a target view.
Specifically, when the tenant needs to insert an external link address in the visual view model, configuring a link adding target, and converting the link adding target into an iframe plug-in form as link data to be visualized. The tenant adds the link adding position in the visual view to the data to be visualized in the form of an iframe plug-in, and calls an external link to display a page of a third party platform in the plug-in range.
In addition, referring to fig. 2, the platform further includes a tenant view module 6, and tenants can configure different views in advance and store in the tenant view module 6, and select a suitable target view in a view library directly to be displayed when the view is used in different scenes, that is, one tenant can have multiple views and cannot influence the views of other tenants. For example: when the client A visits, the tenant can directly select the view A from the tenant view module 6 to display; when the client B visits, the tenant can call the view B from the tenant view module 6 to display, so that different views can be displayed in a targeted mode according to the client.
Referring to fig. 2, the platform further includes a public view module 7, if a tenant can choose to send a view to the public view module 7 for other tenants to view and use after configuring the personalized view, other tenants can multiplex from the public view module 7, and when a better view or a view with higher suitability can be directly multiplexed for use or modification, other tenants are not affected.
The implementation principle of the dynamic configuration visualization platform based on the multi-tenant architecture in the embodiment of the application is as follows: the service module 1 acquires service components of a manufacturer, the requirement module 2 acquires tenant visual requirements and data to be visualized, the acquisition module 3 selects a corresponding target component according to the tenant visual requirements, the importing module 4 imports the data to be visualized into the target component to obtain the components to be visualized, the final output module 5 adds the components to be visualized into a visual view model to obtain a target view, the tenant does not need to rely on the custom development of a research and development manufacturer, the target view can be customized according to the self-emphasis requirement, and the service module is quite convenient.
The embodiment of the application also discloses a dynamic configuration visualization method based on a multi-tenant architecture, referring to fig. 3, comprising the following steps:
s101, acquiring service components provided by manufacturers, and storing the service components into a preset component library;
s102, acquiring tenant visual requirements and to-be-visualized data;
s103, acquiring a corresponding target component from a preset component library based on tenant visual requirements;
s104, importing the data to be visualized into a target component to obtain the component to be visualized;
s105, adding the component to be visualized into a preset visual view model, and outputting to obtain a target view.
In the embodiment, the step S101, in which the manufacturer provides multiple service services, can display data in multiple forms, and the specific service acquired includes displaying the data in the forms of pictures, texts, line graphs, bar graphs, pie charts, menu bars, interface switching, external plug-ins, videos, ranking, image-text pushing, maps, map controls, carousel graphs, and the like.
According to the service business, each basic component provided by a manufacturer is obtained, and the basic components comprise a material picture component, a text component, a line drawing component, a histogram component, a pie drawing component, a menu bar component, an interface switching component, an external plug-in component, a video component, a ranking component, a picture-text pushing component, a map control, a carousel drawing component and the like.
The method comprises the steps that corresponding data interfaces are configured for basic components, the data interfaces are required to be configured according to data formats required by the corresponding components, corresponding data information is required to be displayed according to different tenants in a multi-tenant architecture, a research and development manufacturer is required to add the data interfaces into the interfaces, the interfaces are divided into http and websockets, the interfaces of the websockets are applied to data types needing to be displayed in real time, and each type of interface is required to be configured with a corresponding filter, so that data of the required components are filtered out for display.
Meanwhile, a data interface is configured according to the data attribute of the basic component by a research and development manufacturer, so that dynamic data information can be displayed after the interface data meet the data configuration of the basic component. The data formats required by different base components are different, the base components are required to be configured according to a certain specification, and the base components after the attribute information is configured are stored as service components for direct use by tenants. All business components are stored in a component library, so that the selection of tenants is facilitated.
Step S102, obtaining the visual requirement of the tenant and the data to be visualized, where in this embodiment, the data of the tenant end includes personnel management data, energy efficiency management data, comprehensive security data, and the like, and the tenant sends the visual requirement according to its own requirement, for example, the tenant needs to visualize the personnel management data in the form of a histogram, and determines that the data to be visualized is the personnel management data, and the tenant visual requirement is to display the personnel management data using the histogram.
In step S103, the target service is determined based on the tenant visual requirement, and as can be seen from the above example, when the tenant visual requirement is "use histogram form to display personnel management data", the determining unit determines that the target service is "display personnel management data in histogram form". When the determining unit determines that the target service is 'showing personnel management data in a histogram mode', the acquiring unit determines that the target component is a histogram component and acquires the histogram component from a preset component library as the target component.
Step S104, after the acquisition unit acquires the target component, the data to be visualized is imported into the target component, and the target component is configured. For example, the importing module acquires personnel management data, imports the personnel management data into the target component, and forms a column diagram component to be visualized of the personnel management data.
In this embodiment, a visual view model is preset, and when a tenant needs to move a histogram component to be visualized of personnel management data into the visual view model, the tenant issues a component adding instruction according to its own needs, and executes a component adding operation according to the component adding instruction. Referring to fig. 4, the following steps are specifically:
s201, when a tenant executes a component adding instruction, component adding instruction information is obtained, wherein the component adding instruction information comprises a component adding target and a component adding position;
s202, determining a component to be visualized according to a component adding target;
s203, adding the components to be visualized in a preset visualized view model according to the component adding positions, and outputting to obtain a target view.
Specifically, for example, when the tenant moves the histogram component to be visualized of the personnel management data into the visualized view model, an execution component addition instruction "move the histogram component to be visualized of the personnel management data into the center of the visualized view model" is executed, and the histogram component to be visualized, which is targeted for the personnel management data, is acquired from the execution component addition instruction, and the component addition position is the visualized view model center. And executing the adding operation according to the component adding target and the component adding position, and moving the histogram component to be visualized of the personnel management data to the center of the visual view model to obtain a target view.
Of course, the tenant can remove the visualization component from the target view according to the own requirement in the same manner, so as to realize the self-defining operation of the visualization view.
In addition, the platform also supports the movement of external link data into the visual view, and independent pages are displayed in a mode of acquiring corresponding external link addresses. Referring to fig. 5, the following steps are specifically:
s301, when a tenant executes a link addition instruction, acquiring link addition instruction information, wherein the link addition instruction information comprises a link addition target and a link addition position;
s302, converting the link adding target into a preset plug-in format to obtain link data to be visualized;
s303, adding the link data to be visualized in a preset visualized view according to the adding position.
Specifically, when a tenant executes a link addition instruction, link addition instruction information is obtained, the link addition instruction information comprises a link addition target and a link addition position, and when the tenant needs to insert an external link address in a visual view model, the link addition target is configured, and the link addition target is converted into an iframe plug-in form to be used as link data to be visualized. The tenant adds the link adding position in the visual view to the data to be visualized in the form of an iframe plug-in, and calls an external link to display a page of a third party platform in the plug-in range.
The real-time principle of the dynamic configuration visualization method based on the multi-tenant architecture in the embodiment of the application is as follows: the method comprises the steps of obtaining service components of manufacturers, obtaining tenant visual requirements and to-be-visualized data, selecting corresponding target components from the service components according to the tenant visual requirements, importing the to-be-visualized data into the target components to obtain to-be-visualized components, and finally adding the to-be-visualized components into a visual view model to obtain a target view.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (1)

1. The dynamic configuration visualization method based on the multi-tenant architecture is characterized by applying a dynamic configuration visualization platform based on the multi-tenant architecture, and comprises the following steps:
acquiring service components provided by manufacturers, and storing the service components into a preset component library;
acquiring tenant visual requirements and data to be visualized;
acquiring a corresponding target component from the preset component library based on the tenant visual requirement;
importing the data to be visualized into the target component to obtain a component to be visualized;
adding the component to be visualized into a preset visual view model, and outputting to obtain a target view;
the step of adding the component to be visualized into a preset visualized view model to construct a target view comprises the following steps:
when a tenant executes a component adding instruction, acquiring component adding instruction information, wherein the component adding instruction information comprises a component adding target and a component adding position;
determining the component to be visualized according to the component adding target;
adding the component to be visualized in a preset visualized view model according to the component adding position, and outputting to obtain a target view;
the method comprises the steps of adding the component to be visualized into a preset visualized view model, constructing and obtaining a target view, and further comprises the following steps:
when a tenant executes a link adding instruction, acquiring link adding instruction information, wherein the link adding instruction information comprises a link adding target and a link adding position;
converting the link adding target into a preset plug-in format to obtain link data to be visualized;
adding the link data to be visualized in a preset visualized view model according to the adding position, and outputting to obtain a target view;
the dynamic configuration visualization platform based on the multi-tenant architecture comprises a business module (1), a demand module (2), an acquisition module (3), an import module (4) and an output module (5);
the service module (1) is used for acquiring service components provided by manufacturers and storing the service components into a preset component library;
the demand module (2) is used for acquiring the visual demand and the data to be visualized of the tenant, wherein the data of the tenant end is personnel management data, energy efficiency management data and comprehensive security data, and the tenant sends the visual demand according to the demand;
the obtaining module (3) is configured to obtain a corresponding target component from the preset component library based on the tenant visual requirement;
the importing module (4) is used for importing the data to be visualized into the target component to obtain the component to be visualized;
the output module (5) is used for adding the component to be visualized into a preset visual view model and outputting to obtain a target view;
wherein the output module (5) comprises:
a first adding unit (51) for obtaining component adding instruction information when a tenant executes a component adding instruction, wherein the component adding instruction information comprises a component adding target and a component adding position;
the first output unit (52) is used for determining the component to be visualized according to the component adding target, adding the component to be visualized into a preset visual view model according to the component adding position, and outputting to obtain a target view;
the tenant can move the visual component out of the target view in the same mode according to the own requirement;
wherein the output module (5) further comprises:
a second adding unit (53) for obtaining link addition instruction information when the tenant executes the link addition instruction, wherein the link addition instruction information comprises a link addition target and a link addition position;
the second output unit (54) converts the link adding target into a preset plug-in format to obtain link data to be visualized, adds the link data to be visualized into a preset visualized view model according to the adding position, and outputs the link data to be visualized to obtain a target view;
when a tenant needs to insert an external link address in a visual view model, configuring a link adding target, converting the link adding target into an iframe plug-in form to serve as visual link data, and adding a link adding position in the visual view by the tenant in the iframe plug-in form to call the external link to display a page of a third party platform in the plug-in range, wherein the process requires the third party platform to perform responsive layout so as to properly adjust the size proportion of the link data to be visualized in the configuration visual view, thereby obtaining a target view required by the tenant;
the service module (1) comprises:
the service unit (11) is used for acquiring service services of a manufacturer, providing various service services on the aspect of the manufacturer, and displaying data in various forms, wherein the service services acquired by the service unit (11) comprise displaying the data in the forms of pictures, texts, line graphs, bar graphs, pie charts, menu bars, interface switching, external plugins, videos, ranks, image-text pushing, maps, map controls and carousel charts;
and a component unit (12) for acquiring service components based on the service, wherein the service corresponds to the service components one by one, the component unit (12) acquires each basic component provided by a manufacturer according to the service, the basic components comprise a material picture component, a text component, a line drawing component, a histogram component, a pie chart component, a menu bar component, an interface switching component, an external plug-in, a video component, a ranking component, a picture-text pushing component, a map control and a carousel picture component, the component unit (12) configures corresponding data interfaces for the basic components, the data interfaces are required to be configured according to the data format required by the corresponding components, corresponding data information is required to be displayed according to non-passing tenants in a multi-tenant architecture, the research and development manufacturer needs to add the data interface into the interface, the interface is divided into http and websocket, wherein, the interface of websocket is applied to the data type needing to be displayed in real time, each type of interface needs to be configured with a corresponding filter, the data of the needed component is filtered out for display, the component unit (12) configures the data interface according to the attribute of the basic component through the research and development manufacturer, the dynamic data information can be displayed after the interface data meet the data configuration of the basic component, the different basic components have different required formats, the configuration is needed according to a certain specification, the basic component after the attribute information is configured is stored as a service component for direct use by the tenant, and all the service components are stored in the component library;
the acquisition module (3) comprises:
a determining unit (31) for determining a target service based on the tenant visualization requirements;
the acquisition unit (32) is used for determining a target component based on the target service and acquiring the target component from the preset component library;
after the acquisition unit (32) acquires the target component, the importing module (4) imports data to be visualized into the target component and configures the target component;
the system further comprises a tenant view module (6), wherein the tenant view module (6) is used for storing a plurality of target views, wherein different views can be configured in advance by a tenant and stored in the tenant view module (6), when the system is used in different scenes, the system can directly select a proper target view in a view library for display, and one tenant can have a plurality of views without affecting the views of other tenants;
the system further comprises a public view module (7), wherein the public view module (7) is used for storing public views, the public views can be called by all tenants, if the tenants can choose to send the views to the public view module (7) for other tenants to view and use after configuring personalized views, other tenants can multiplex from the public view module (7), and when the views with better looks or high suitability are seen, the views can be directly multiplexed for use or modification, and the other tenants are not affected.
CN202210368177.1A 2022-04-08 2022-04-08 Dynamic configuration visualization platform and method based on multi-tenant architecture Active CN114661406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210368177.1A CN114661406B (en) 2022-04-08 2022-04-08 Dynamic configuration visualization platform and method based on multi-tenant architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210368177.1A CN114661406B (en) 2022-04-08 2022-04-08 Dynamic configuration visualization platform and method based on multi-tenant architecture

Publications (2)

Publication Number Publication Date
CN114661406A CN114661406A (en) 2022-06-24
CN114661406B true CN114661406B (en) 2024-03-22

Family

ID=82035723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210368177.1A Active CN114661406B (en) 2022-04-08 2022-04-08 Dynamic configuration visualization platform and method based on multi-tenant architecture

Country Status (1)

Country Link
CN (1) CN114661406B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609271A (en) * 2012-02-20 2012-07-25 山东大学 Metadata-driven visual SaaS (Software as a Service) application customizing method and metadata-driven visual SaaS application customizing system
US8468117B1 (en) * 2008-01-22 2013-06-18 Salesforce.Com, Inc. System, method and computer program product for creating a visual component for tenants of an on-demand database service
CN106550045A (en) * 2016-11-24 2017-03-29 北京中电普华信息技术有限公司 A kind of distributed data processing method and component
CN111651507A (en) * 2020-04-16 2020-09-11 杭州半云科技有限公司 Big data processing method and system
CN111930381A (en) * 2020-09-21 2020-11-13 知学云(北京)科技有限公司 Personalized page configuration method supporting SaaS multi-tenant system
CN114124977A (en) * 2022-01-26 2022-03-01 树根互联股份有限公司 Cross-tenant data sharing method and device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8271615B2 (en) * 2009-03-31 2012-09-18 Cloud Connex, Llc Centrally managing and monitoring software as a service (SaaS) applications
KR101368068B1 (en) * 2012-03-29 2014-02-27 주식회사 엘지씨엔에스 Method of constructing database, server performing the same and storage media storing the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8468117B1 (en) * 2008-01-22 2013-06-18 Salesforce.Com, Inc. System, method and computer program product for creating a visual component for tenants of an on-demand database service
CN102609271A (en) * 2012-02-20 2012-07-25 山东大学 Metadata-driven visual SaaS (Software as a Service) application customizing method and metadata-driven visual SaaS application customizing system
CN106550045A (en) * 2016-11-24 2017-03-29 北京中电普华信息技术有限公司 A kind of distributed data processing method and component
CN111651507A (en) * 2020-04-16 2020-09-11 杭州半云科技有限公司 Big data processing method and system
CN111930381A (en) * 2020-09-21 2020-11-13 知学云(北京)科技有限公司 Personalized page configuration method supporting SaaS multi-tenant system
CN114124977A (en) * 2022-01-26 2022-03-01 树根互联股份有限公司 Cross-tenant data sharing method and device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于SaaS多租户云网站群的研究与设计;刘薇;电子技术与软件工程;20200501(第09期);174-175 *
肖君.《上海教育信息化云服务研究》.上海:上海交通大学出版社,2013,188-192. *

Also Published As

Publication number Publication date
CN114661406A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN108089878B (en) Page information display and generation method, device and system
CN110795095B (en) Method and system for establishing business logic component and business component and generating page
KR102131159B1 (en) Methods and devices for controlling smart devices and computer storage media
CN110020388A (en) A kind of page display method and system
CN101179471B (en) Method and apparatus for implementing user personalized dynamic expression picture with characters
CN106155287A (en) virtual navigation control system and method
CN102456033B (en) General page querying method, system and terminal
CN102663198A (en) Method and system for designing and manufacturing printed matter on line by combining background and foreground of web
CN103369411A (en) Multiscreen video playing system dynamically generating scaled video, and related device
CN103957240A (en) Weather system capable of shooting pictures in real time and conducting sharing and implementation method of weather system capable of shooting pictures in real time and conducting sharing
EP2854348A1 (en) Interface display method and system of home gateway applicable to multiple display types
CN106162353A (en) Interface processing method, Apparatus and system
CN104469465A (en) Smart television levitation main scene interaction method based on android system
CN113821201A (en) Code development method and device, electronic equipment and storage medium
CN101369412A (en) LED display screen and its control system and method thereof
CN114661406B (en) Dynamic configuration visualization platform and method based on multi-tenant architecture
CN103503430A (en) Play control system and method
KR101430176B1 (en) System and method for auto-drawing of single Line Diagram based on SCL
CN102098579A (en) Display method for homepage interface of digital television, device thereof and terminal thereof
JP5140097B2 (en) Device operation system, operation terminal, operated device, device operation method, device operation program, and recording medium
CN111221897A (en) Visual view display method and device
JP5869109B2 (en) Relay device
CN102904926A (en) Method and system for sharing and editing file
CN111459476A (en) Component display method, component display system and storage medium
CN101986288B (en) Method, device and system for displaying output of mobile terminal

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
GR01 Patent grant
GR01 Patent grant