KR20170032669A - Apparatus and method for providing static resources for multi-tenant - Google Patents
Apparatus and method for providing static resources for multi-tenant Download PDFInfo
- Publication number
- KR20170032669A KR20170032669A KR1020150130293A KR20150130293A KR20170032669A KR 20170032669 A KR20170032669 A KR 20170032669A KR 1020150130293 A KR1020150130293 A KR 1020150130293A KR 20150130293 A KR20150130293 A KR 20150130293A KR 20170032669 A KR20170032669 A KR 20170032669A
- Authority
- KR
- South Korea
- Prior art keywords
- static resource
- tenant
- information
- resource
- static
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G06F17/3089—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5072—Grid computing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Embodiments of the present invention relate to techniques for variably providing static resources required for each tenant.
Software as a Service (SaaS) is a service delivery model that provides services to multiple tenants using one platform, and supports multi-tenants. However, conventionally, there has been a limit in implementing a branch logic for each tenant at a web page level when a service for multi-tenants is provided. In other words, conventionally, in order to process the static resources necessary for each tenant, there has been a problem that the source code must be different for each tenant at the web page level. In addition, conventionally, a static resource is provided by a web server, which increases the load on the web server when the tenant increases. Further, conventionally, when there are a plurality of web servers for each tenant, storage of all the static resources required for storage of each web server is duplicated, resulting in a storage efficiency being lowered.
Embodiments of the present invention are intended to provide a means for efficiently processing static resources that are differently required by tenants.
According to an exemplary embodiment of the present invention, a web server provides a web page to a user terminal, receives a request message of a static resource used to configure the web page from the user terminal, A request analyzer for extracting information on the static resources and information on tenants included in the static resource; And a resource manager for receiving the static resource information and the tenant information from the request analysis unit and providing the static resource corresponding to the tenant to the user terminal using the information of the static resource and the information of the tenant, A static resource providing device is provided.
Wherein the resource management unit stores at least a part of the plurality of static resources for each tenant and corresponds to the tenant among the plurality of stored static resources using information of the static resource received from the request analysis unit and information of the tenant Can obtain the above-mentioned static resources.
The resource management unit caches location information of each stored static resource, and the static resource and the tenant information received from the request analysis unit, And acquire the static resource corresponding to the tenant stored using the location information of the static resource corresponding to the tenant.
The request analysis unit caches the history information about the requested static resource within a set time, and the resource management unit receives the history information about the static resource from the request analysis unit, and uses the history information about the static resource And obtain the static resource corresponding to the stored tenant.
The static resource may include at least one of a media file used to configure the web page, a Cascading Style Sheets (CSS) file, a script file, and a flash file.
According to another exemplary embodiment of the present invention, in the request analysis unit, the web server provides the web page to the user terminal, thereby receiving the request message of the static resource used to configure the web page from the user terminal ; Extracting the static resource information and the tenant information included in the request message of the static resource from the request analysis unit; Receiving information of the static resource and information of the tenant from the request analysis unit in a resource management unit; And providing the static resource corresponding to the tenant to the user terminal using the information of the static resource and the information of the tenant in the resource management unit.
Wherein the step of providing the static resource corresponding to the tenant to the user terminal comprises the steps of storing information of the static resource received from the request analysis unit, Acquire the static resource corresponding to the tenant among the plurality of stored static resources using the information of the tenant, and provide the static resource corresponding to the acquired tenant to the user terminal.
Wherein the resource management unit caches location information of each stored static resource and the step of providing the static resource corresponding to the tenant to the user terminal comprises storing information of the static resource received from the request analysis unit, Acquiring location information of the static resource corresponding to the tenant among the cached location information using the information and acquiring the static resource corresponding to the stored tenant using the location information of the static resource corresponding to the tenant And provide the static resource corresponding to the acquired tenant to the user terminal.
The request analysis unit may cache the history information about the requested static resource within the set time and receive the history information about the static resource from the request analysis unit in the resource management unit. Wherein the step of providing the static resource to the user terminal comprises the steps of: obtaining the static resource corresponding to the tenant stored using the history information on the static resource; To the terminal.
The static resource may include at least one of a media file used to configure the web page, a Cascading Style Sheets (CSS) file, a script file, and a flash file.
According to another exemplary embodiment of the present invention, in a request analysis unit, in conjunction with hardware, a request message of a static resource used to configure the web page from the user terminal as the web server provides the web page to the user terminal ; Extracting the static resource information and the tenant information included in the request message of the static resource from the request analysis unit; Receiving information of the static resource and information of the tenant from the request analysis unit in a resource management unit; And providing the static resource corresponding to the tenant to the user terminal using the information of the static resource and the information of the tenant, in the resource management unit, the computer program stored in the computer readable recording medium do.
According to embodiments of the present invention, static resources necessary for each tenant are variably provided using information of static resources and information of tenants, so that a customized service for various tenants can be easily provided with one source code or application can do. In other words, it is not necessary to implement the branching logic per tenant at the web page level unlike the conventional one.
In addition, according to the embodiment of the present invention, there is a separate node for providing static resources, thereby solving the problem of increased load of the web server due to an increase in tenants.
In addition, according to embodiments of the present invention, it is possible to quickly access stored static resources using location information or history information of cached static resources, thereby improving searching and providing speed of static resources.
1 is a block diagram for explaining a static resource providing apparatus according to an embodiment of the present invention;
2 is a block diagram showing a detailed configuration of a static resource provision apparatus according to an embodiment of the present invention.
3 is a block diagram showing a detailed configuration of a request analysis unit according to an embodiment of the present invention.
4 is a block diagram illustrating a detailed configuration of a resource management unit according to an embodiment of the present invention.
5 is a flowchart for explaining a static resource providing method according to an embodiment of the present invention.
Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. The following detailed description is provided to provide a comprehensive understanding of the methods, apparatus, and / or systems described herein. However, this is merely an example and the present invention is not limited thereto.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. The following terms are defined in consideration of the functions of the present invention, and may be changed according to the intention or custom of the user, the operator, and the like. Therefore, the definition should be based on the contents throughout this specification. The terms used in the detailed description are intended only to describe embodiments of the invention and should in no way be limiting. Unless specifically stated otherwise, the singular form of a term includes plural forms of meaning. In this description, the expressions "comprising" or "comprising" are intended to indicate certain features, numbers, steps, operations, elements, parts or combinations thereof, Should not be construed to preclude the presence or possibility of other features, numbers, steps, operations, elements, portions or combinations thereof.
1 is a block diagram for explaining a static
Referring to FIG. 1, the
The
Although FIG. 1 shows that the
2 is a block diagram showing a detailed configuration of a static
The
In addition, the
The
To this end, the
Tenant A -
Tenant B -
...
Or the like in a form of a
In addition, common resources that do not need to be distinguished by tenants include, for example,
Common - static resources 3
And may be stored in the
Also, the
Also, as described above, the
That is, according to the embodiments of the present invention, it is possible to quickly access stored static resources using the cached static resource location information or history information, thereby improving searching and providing speed of static resources.
In one embodiment, the
3 is a block diagram illustrating a detailed configuration of a
The
The resource
4 is a block diagram showing a detailed configuration of a
The
The
Tenant A -
Tenant B -
...
And the like in the form of a
In addition, common resources that do not need to be distinguished by tenants include, for example,
Common - static resources 3
May be stored in the
The resource
The resource
5 is a flowchart illustrating a static resource providing method according to an embodiment of the present invention. The method shown in Fig. 5 can be performed, for example, by the static
First, the
Next, the
Next, the
Next, the
Next, the
If it is determined in step S510 that the requested static resource is a newly requested resource, the
Next, the
Finally, the
On the other hand, if it is determined in step S510 that the requested static resource is not a newly requested resource, the
On the other hand, an embodiment of the present invention may include a program for performing the methods described herein on a computer, and a computer-readable recording medium including the program. The computer-readable recording medium may include a program command, a local data file, a local data structure, or the like, alone or in combination. The media may be those specially designed and constructed for the present invention, or may be those that are commonly used in the field of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs and DVDs, and specifically configured to store and execute program instructions such as ROM, RAM, flash memory, Hardware devices. Examples of such programs may include machine language code such as those produced by a compiler, as well as high-level language code that may be executed by a computer using an interpreter or the like.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, I will understand. Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be determined by equivalents to the appended claims, as well as the appended claims.
10: first user terminal
20: second user terminal
30: Web server
100: Static resource provisioning device
102:
104:
202: Analyzer
204: Resource request history cache
302: Resource Repeater
304: Static Resource Store
306: Resource location information cache
308: Resource location information database
Claims (11)
A resource manager for receiving the static resource information and the tenant information from the request analyzer and providing the static resource corresponding to the tenant to the user terminal using the static resource information and the tenant information, A static resource provisioning device.
Wherein the resource management unit stores at least a part of a plurality of static resources for each tenant,
And obtains the static resource corresponding to the tenant among the plurality of static resources stored using the static resource information and the tenant information received from the request analysis unit.
The resource management unit caches location information of each stored static resource,
Acquiring location information of the static resource corresponding to the tenant among the cached location information using the information of the static resource received from the request analysis unit and the information of the tenant, And obtains the static resource corresponding to the tenant stored using the location information.
The request analyzer caches the history information of the requested static resource within a set time,
Wherein the resource management unit receives the history information on the static resource from the request analysis unit and acquires the static resource corresponding to the stored tenant using the history information on the static resource.
Wherein the static resource includes at least one of a media file used to configure the web page, a Cascading Style Sheets (CSS) file, a script file, and a flash file.
Extracting the static resource information and the tenant information included in the request message of the static resource from the request analysis unit;
Receiving information of the static resource and information of the tenant from the request analysis unit in a resource management unit; And
And providing the static resource corresponding to the tenant to the user terminal using the information of the static resource and the information of the tenant in the resource management unit.
Wherein the resource management unit stores at least a part of a plurality of static resources for each tenant,
Wherein the step of providing the static resource corresponding to the tenant to the user terminal comprises the steps of storing the static resource information and the tenant information received from the request analysis unit, Acquiring the static resources, and providing the static resources corresponding to the acquired tenants to the user terminal.
The resource management unit caches location information of each stored static resource,
Wherein the step of providing the static resources corresponding to the tenant to the user terminal comprises the steps of: receiving information on the static resource received from the request analysis unit and information on the tenant, Acquiring location information of the static resource, acquiring the static resource corresponding to the stored tenant using the location information of the static resource corresponding to the tenant, and transmitting the static resource corresponding to the acquired tenant to the user terminal To a static resource providing method.
The request analyzer caches the history information of the requested static resource within a set time,
Further comprising the step of, in the resource management unit, receiving history information on the static resource from the request analysis unit,
Wherein the step of providing the static resource corresponding to the tenant to the user terminal comprises the steps of obtaining the static resource corresponding to the stored tenant using the history information on the static resource, And provides the resource to the user terminal.
Wherein the static resource includes at least one of a media file used to configure the web page, a Cascading Style Sheets (CSS) file, a script file, and a flash file.
Receiving a static resource request message used to configure the web page from the user terminal in response to the web server providing the web page to the user terminal;
Extracting the static resource information and the tenant information included in the request message of the static resource from the request analysis unit;
Receiving information of the static resource and information of the tenant from the request analysis unit in a resource management unit; And
Providing the static resource corresponding to the tenant to the user terminal using the information of the static resource and the information of the tenant in the resource management unit
The computer program being stored on a computer readable recording medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150130293A KR20170032669A (en) | 2015-09-15 | 2015-09-15 | Apparatus and method for providing static resources for multi-tenant |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150130293A KR20170032669A (en) | 2015-09-15 | 2015-09-15 | Apparatus and method for providing static resources for multi-tenant |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20170032669A true KR20170032669A (en) | 2017-03-23 |
Family
ID=58496023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150130293A KR20170032669A (en) | 2015-09-15 | 2015-09-15 | Apparatus and method for providing static resources for multi-tenant |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20170032669A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113760351A (en) * | 2021-03-24 | 2021-12-07 | 北京京东拓先科技有限公司 | Project uploading method and device, electronic equipment and computer readable medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120044516A (en) | 2010-10-28 | 2012-05-08 | 한국전자통신연구원 | Configuration and management of web pages for multi-tenant |
-
2015
- 2015-09-15 KR KR1020150130293A patent/KR20170032669A/en unknown
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120044516A (en) | 2010-10-28 | 2012-05-08 | 한국전자통신연구원 | Configuration and management of web pages for multi-tenant |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113760351A (en) * | 2021-03-24 | 2021-12-07 | 北京京东拓先科技有限公司 | Project uploading method and device, electronic equipment and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9171092B2 (en) | Personal assistant context building | |
US10848542B2 (en) | Systems and methods for web API communication | |
US8935798B1 (en) | Automatically enabling private browsing of a web page, and applications thereof | |
US20190190977A1 (en) | System and method of automatic generation and insertion of analytic tracking codes | |
US10776444B1 (en) | Methods and systems for universal deep linking across web and mobile applications | |
US7987243B2 (en) | Method for media discovery | |
US11106754B1 (en) | Methods and systems for hyperlinking user-specific content on a website or mobile applications | |
US10922372B1 (en) | Methods and systems for generating custom content using universal deep linking across web and mobile applications | |
WO2015139539A1 (en) | Video information push method and device | |
US20160042087A1 (en) | Method, System And Front -End Device For Posting User Generated Content | |
AU2017265064A1 (en) | Access to data on a remote device | |
KR101509226B1 (en) | System and method for providing mobile url in mobile search environment | |
KR101659147B1 (en) | Information processing apparatus, and control method therefor | |
US20130019017A1 (en) | Client bundle resource creation | |
KR20170032669A (en) | Apparatus and method for providing static resources for multi-tenant | |
CN113590985B (en) | Page jump configuration method and device, electronic equipment and computer readable medium | |
US10417296B1 (en) | Intelligent bookmarking with URL modification | |
US10599740B1 (en) | Program code streaming | |
CN104035970B (en) | A kind of method and apparatus scanned in a browser | |
US10628220B2 (en) | Information processing system, information processing method, and non-transitory computer-readable storage medium for storing program | |
US9215150B2 (en) | Feature set negotiation framework | |
CN110209959B (en) | Information processing method and device | |
KR20160132854A (en) | Asset collection service through capture of content | |
US10079739B2 (en) | Computer-implemented method for handling log file | |
US20130290830A1 (en) | System and method for managing a viewstate of a web application |