JP5530893B2 - Function expansion method of service providing system - Google Patents
Function expansion method of service providing system Download PDFInfo
- Publication number
- JP5530893B2 JP5530893B2 JP2010228033A JP2010228033A JP5530893B2 JP 5530893 B2 JP5530893 B2 JP 5530893B2 JP 2010228033 A JP2010228033 A JP 2010228033A JP 2010228033 A JP2010228033 A JP 2010228033A JP 5530893 B2 JP5530893 B2 JP 5530893B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- new
- user
- service
- function
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
この発明はサービス提供システムの機能拡張方法に係り、特に、複数のアプリケーションサーバが同一のデータベースに基づく同一のサービスをクライアントに提供している場合に、当該サービスを停止することなく機能を拡張する技術に関する。 The present invention relates to a method for extending a function of a service providing system, and in particular, when a plurality of application servers provide the same service based on the same database to a client, a technique for extending the function without stopping the service. About.
大手通販サイトなどのように、多数のユーザに対して複数のデータベース(ユーザDB、商品DB、在庫DB、注文DB等)に基づく情報処理サービスを提供している大規模システムにおいては、データベースを管理するサーバ(以下「DBサーバ」)に対して複数のアプリケーションサーバ(以下「APサーバ」)が負荷分散のために接続されており、各ユーザに対し複数のAPサーバを介して共通のサービスが提供されている。
このようなDBサーバと複数のAPサーバとの連携を前提とする大規模なサービス提供システムにおいては、途中で機能の拡張を行う場合(例えば、認証チェック項目を追加して安全性を高める場合等)には、DBサーバ側のテーブル構成を変更すると同時に、各APサーバ側のアプリケーションプログラムも一斉に変更する必要があるため、サービスを一時的に休止せざるを得ないという問題があった。 In such a large-scale service provision system that presupposes cooperation between a DB server and multiple AP servers, when expanding functions on the way (for example, adding an authentication check item to increase safety) ) Had the problem that the service had to be temporarily suspended because the application program on each AP server had to be changed at the same time as the table configuration on the DB server was changed.
この発明は、従来のこのような問題を解決するものであり、複数のAPサーバによって共通のサービスが提供されるシステムにおいて、サービスを休止することなく機能を拡張(追加)することを可能とする技術を提供することを目的としている。 The present invention solves such a conventional problem, and in a system in which a common service is provided by a plurality of AP servers, the function can be expanded (added) without suspending the service. The purpose is to provide technology.
上記の目的を達成するため、請求項1に記載したサービス提供システムの機能拡張方法は、テーブルが格納された記憶手段を備えたデータベースサーバと、このデータベースサーバにネットワークを介して接続された複数のアプリケーションサーバとを備え、各アプリケーションサーバは、上記のテーブル対するデータ登録機能及び同テーブルの参照機能を有する共通の情報処理サービスをクライアント端末に提供するアプリケーションプログラムを備えており、クライアント端末からのアクセスがあった場合に、ロードバランサによって何れかのアプリケーションサーバに振り分けられる仕組みのサービス提供システムにおいて、上記データベースサーバに、サービスの機能拡張に必要な新たなテーブルを追加すると共に、上記複数のアプリケーションサーバの中の一部のアプリケーションサーバを一時的に停止させ、上記の新たなテーブルにアクセスする機能を備えた新たなアプリケーションプログラムを追加した上で、クライアント端末に対し、従来のテーブルに対するデータ登録機能、従来のテーブル及び新たなテーブルの参照機能、及び新たなテーブルに対するデータ登録機能を備えた新サービスの提供を開始させる一方、従来のアプリケーションプログラムを搭載したアプリケーションサーバに接続してきたクライアント端末に対しては、従来のテーブルに対するデータ登録機能及び同テーブルの参照機能からなる従来のサービスを継続して提供し、順次、新たなアプリケーションプログラムを搭載したアプリケーションサーバの構成比率を高めていくことを特徴としている。
In order to achieve the above object, a method for extending a function of a service providing system according to claim 1 includes a database server having storage means storing a table, and a plurality of database servers connected to the database server via a network. Each application server includes an application program for providing a client terminal with a common information processing service having a data registration function for the table and a reference function for the table. In a service providing system that is distributed to any application server by a load balancer, a new table required for service function expansion is added to the database server, and the plurality of applications are added. Temporarily stopped part application server in the application server, after adding a new application program with the ability to access to the new table, against the client terminal, data for a conventional table While starting the provision of a new service with a registration function, a conventional table and new table reference function, and a data registration function for the new table, the client terminal connected to the application server loaded with the conventional application program is for, it continues to provide conventional traditional services consisting reference function of data registration function and the table against the table, successively, gradually increasing the composition ratio of the application server with the new was Do application program Features There.
この発明に係るサービス提供システムの機能拡張方法によれば、機能の拡張に伴いデータベースサーバが管理している従来のテーブルに変更を加えるのではなく、拡張機能の提供に必要な新たなテーブルが追加される方式であるため、全てのアプリケーションサーバ側のプログラムを同時にバージョンアップすることなく、部分的にバージョンアップを行うことが可能となる。
この結果、バージョンアップ後のアプリケーションサーバに接続したクライアント端末に対しては拡張された機能のサービスを提供することができると同時に、バージョンアップ前のアプリケーションサーバに接続したクライアント端末に対しても、少なくとも従来通りのサービスを提供することが可能となり、サービスの休止期間が生じることを有効に回避できる。
According to the function expansion method of the service providing system according to the present invention, a new table necessary for providing the extended function is added instead of changing the conventional table managed by the database server as the function is expanded. Therefore, it is possible to perform a partial upgrade without upgrading all the programs on the application server side at the same time.
As a result, it is possible to provide an extended function service to the client terminal connected to the application server after the upgrade, and at least to the client terminal connected to the application server before the upgrade. It becomes possible to provide a conventional service, and it is possible to effectively avoid the occurrence of a service suspension period.
図1は、この発明が適用されるサービス提供システム10を示すブロック図であり、複数のAPサーバ12と、ネットワークを介して各APサーバ12と接続されたDBサーバ14を備えている。
DBサーバ14は、DB管理システム16と、複数のテーブル18を備えている。
FIG. 1 is a block diagram showing a
The
このサービス提供システム10には、インターネット等のネットワーク20を介して多数のクライアント端末22が接続されており、各クライアント22端末からのアクセスは、ロードバランサ24によって各APサーバ12に振り分けられる仕組みを備えている。
A number of
図2及び図3は、この発明に係るサービス提供システム10の機能拡張方法を、従来方式との対比に基づいて説明するものである。
まず、図2(a)に示すように、これまで「ユーザID」と「ユーザ名」のデータ項目を備えたユーザ管理テーブル50によってユーザ情報を管理していたところ、ブラックリストへの掲載の有無をも管理項目として追加する必要性が生じた場合に、ユーザ管理テーブル50に「ブラックリストフラグ」のデータ項目を増設して新ユーザ管理テーブル50'となし、当該データ項目に「1/0」等のフラグ値を格納するように変更するのが、従来の方式である。
2 and 3 illustrate a function expansion method of the
First, as shown in FIG. 2 (a), user information has been managed by the user management table 50 having the data items of “user ID” and “user name” so far. Is added as a management item, a “black list flag” data item is added to the user management table 50 to form a new user management table 50 ′, and “1/0” is added to the data item. It is a conventional method to change the flag value such as.
これに対しこの発明の場合には、図2(b)に示すように、ユーザ管理テーブル50はそのままにしておき、新たにブラックリスト管理テーブル52を追加し、ブラックリストに掲載されたユーザのユーザIDのみを、このブラックリスト管理テーブル52の一レコードとして登録することによって対応する。
すなわち、特定ユーザのブラックリストへの掲載の有無が、ブラックリスト管理テーブル52におけるレコードの有無として表現されることになる。
On the other hand, in the case of the present invention, as shown in FIG. 2 (b), the user management table 50 is left as it is, a black list management table 52 is newly added, and the user of the user who is listed in the black list is added. Only ID is registered as one record of the black list management table 52.
That is, the presence / absence of a specific user on the black list is expressed as the presence / absence of a record in the black list management table 52.
図3はAPサーバ12側の機能構成を示す模式図であり、図3(a)に示すように、「ユーザID」及び「ユーザ名」のみを備えた機能拡張前のユーザ管理テーブル50に基づく場合には、ユーザ登録処理部54が新規ユーザのレコードの登録をDBサーバ14に依頼すると共に、ユーザ認証処理部56がユーザIDとユーザ名を指定した問合わせをDBサーバ14に行い、ユーザの正当性をチェックしていた。
FIG. 3 is a schematic diagram showing the functional configuration on the
これに対し図3(b)は、ユーザ管理テーブル50に「ブラックリストフラグ」のデータ項目を追加した新ユーザ管理テーブル50'に基づいて機能の拡張を図る従来の方式を示しており、ユーザ管理テーブルにデータ項目が増えたことから、ユーザ登録処理部及びユーザ認証処理部用のプログラムもバージョンアップされ、新ユーザ登録処理部58及び新ユーザ認証処理部60が用いられている。
On the other hand, FIG. 3B shows a conventional method for expanding functions based on the new user management table 50 ′ in which the data item “black list flag” is added to the user management table 50. Since the number of data items in the table has increased, the programs for the user registration processing unit and the user authentication processing unit are also upgraded, and the new user
図3(c)は、ユーザ管理テーブル50とは別にブラックリスト管理テーブル52を増設するこの発明の方式を示しており、APサーバ12側にはブラックリスト掲載ユーザをブラックリスト管理テーブル52に登録する機能を備えたブラックリスト登録処理部64が新設されると共に、ユーザ認証処理部用のプログラムについても、両テーブル50, 52を参照するように修正する必要が生じ、新ユーザ認証処理部66が形成されている。ただし、ユーザ管理テーブル50には一切の変更がないため、ユーザ登録処理部54については改変の必要がなく、従来のものをそのまま利用される。
FIG. 3 (c) shows a method of the present invention in which a black list management table 52 is added separately from the user management table 50, and the black list posting user is registered in the black list management table 52 on the
図4は、この認証機能のバージョンアップを複数のAPサーバ12及びDBサーバ14に対して施す際の、この発明による手順を示す模式図である。
まず、予めユーザ管理テーブル50を備えていたDBサーバ14に対して、ブラックリスト管理テーブル52を増設する。
つぎに、第1のAPサーバ12aの動作を一時的に停止した後、バージョンアップ済みのユーザ認証処理部用のアプリケーションプログラムと、新たに開発したブラックリスト登録処理部用のアプリケーションプログラムをセットアップし、新ユーザ認証処理部66及びブラックリスト登録処理部64を実現する。
FIG. 4 is a schematic diagram showing a procedure according to the present invention when the version upgrade of the authentication function is applied to a plurality of
First, the black list management table 52 is added to the
Next, after temporarily stopping the operation of the
この間、第2のAPサーバ12b及び第3のAPサーバ12cは通常通り稼働中であり、DBサーバ14側も従来と同じユーザ管理テーブル50を備えているため、ロードバランサ24によって両サーバに振り分けられたクライアント端末22に対しては、従来通りのサービスが継続して提供される。
すなわち、第2のAPサーバ12bにユーザがアクセスし、ユーザIDとユーザ名を入力した場合に、ユーザ認証処理部56はユーザ管理テーブル50を参照して当該ユーザの正当性をチェックし、認証OKであればログインが認められる。
During this time, the second AP
That is, when a user accesses the
そして、第1のAPサーバ12aに対する機能拡張作業が完了した時点で、第1のAPサーバ12aを介した新サービスが開始される。すなわち、第1のAPサーバ12aにユーザがアクセスし、いつも通りにユーザIDとユーザ名を入力した場合に、新ユーザ認証処理部66はユーザ管理テーブル50を参照して当該ユーザの正当性をチェックすると同時に、ブラックリスト管理テーブル52をも参照し、当該ユーザがブラックリストに掲載されているか否かを確認する。そして、当該ユーザがユーザ管理テーブル50に記録されている正当なユーザであったとしても、ブラックリスト管理テーブル52に登録されていることを理由に、ログインが拒絶されることとなる。
Then, when the function expansion work for the first AP
上記のように、DBサーバ14側に従来と変わらないユーザ管理テーブル50が備えられているため、バージョンアップ前のAPサーバ12b, 12cにアクセスしたユーザに対しては従来通りの認証処理を実行すると同時に、バージョンアップが完了したAPサーバ12aにアクセスしたユーザに対しては、ブラックリスト管理テーブル52のチェック工程を追加した最新の認証処理を実行することが可能となる。
このようにして、順次バージョンアップ済みのAPサーバ12の構成比率を高めていくことにより、サービスの停止期間を一切生じさせることなく、システム全体のバージョンアップを段階的に実現することが可能となる。
As described above, the user management table 50 is provided on the
In this way, by gradually increasing the composition ratio of the
これに対し、DBサーバ14のユーザ管理テーブル50に「ブラックリストフラグ」のデータ項目を追加する従来の手法を適用する場合には、すべてのAPサーバ12のユーザ認証処理部56を新ユーザ認証処理部58にバージョンアップさせる必要が生じ、一時的に全サービスの停止期間が発生することになる。
On the other hand, when applying the conventional method of adding the “black list flag” data item to the user management table 50 of the
10 サービス提供システム
12 APサーバ
14 DBサーバ
16 DB管理システム
18 テーブル
20 ネットワーク
22 クライアント端末
24 ロードバランサ
50 ユーザ管理テーブル
50' 新ユーザ管理テーブル
52 ブラックリスト管理テーブル
54 ユーザ登録処理部
56 ユーザ認証処理部
58 新ユーザ登録処理部
60 新ユーザ認証処理部
64 ブラックリスト登録処理部
66 新ユーザ認証処理部
10 Service delivery system
12 AP server
14 DB server
16 DB management system
18 tables
20 network
22 Client terminal
24 Load balancer
50 User management table
50 'New user management table
52 Blacklist management table
54 User Registration Processing Department
56 User authentication processor
58 New User Registration Processing Department
60 New User Authentication Processing Department
64 Blacklist registration processing part
66 New User Authentication Processing Department
Claims (1)
各アプリケーションサーバは、上記のテーブル対するデータ登録機能及び同テーブルの参照機能を有する共通の情報処理サービスをクライアント端末に提供するアプリケーションプログラムを備えており、
クライアント端末からのアクセスがあった場合に、ロードバランサによって何れかのアプリケーションサーバに振り分けられる仕組みのサービス提供システムにおいて、
上記データベースサーバに、サービスの機能拡張に必要な新たなテーブルを追加すると共に、
上記複数のアプリケーションサーバの中の一部のアプリケーションサーバを一時的に停止させ、上記の新たなテーブルにアクセスする機能を備えた新たなアプリケーションプログラムを追加した上で、クライアント端末に対し、従来のテーブルに対するデータ登録機能、従来のテーブル及び新たなテーブルの参照機能、及び新たなテーブルに対するデータ登録機能を備えた新サービスの提供を開始させる一方、
従来のアプリケーションプログラムを搭載したアプリケーションサーバに接続してきたクライアント端末に対しては、従来のテーブルに対するデータ登録機能及び同テーブルの参照機能からなる従来のサービスを継続して提供し、
順次、新たなアプリケーションプログラムを搭載したアプリケーションサーバの構成比率を高めていくことを特徴とするサービス提供システムの機能拡張方法。 A database server having storage means storing a table, and a plurality of application servers connected to the database server via a network,
Each application server includes an application program that provides a client terminal with a common information processing service having a data registration function for the table and a reference function for the table .
In a service providing system with a mechanism that is distributed to any application server by a load balancer when accessed from a client terminal,
In addition to adding new tables necessary for the service function expansion to the database server,
Temporarily stopped part application server among the plurality of application servers, after adding a new application program with the ability to access to the new table, against the client terminal, the conventional While starting the provision of a new service with a data registration function for a table, a reference function for a conventional table and a new table, and a data registration function for a new table ,
For the client terminal that connects to the application server with a conventional application program, it continues to provide conventional services consisting reference function of data registration function and the table against the conventional table,
Sequentially, enhancements method of a service providing system characterized in that it will increase the composition ratio of the application server with the new was Do application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010228033A JP5530893B2 (en) | 2010-10-08 | 2010-10-08 | Function expansion method of service providing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010228033A JP5530893B2 (en) | 2010-10-08 | 2010-10-08 | Function expansion method of service providing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012083867A JP2012083867A (en) | 2012-04-26 |
JP5530893B2 true JP5530893B2 (en) | 2014-06-25 |
Family
ID=46242685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010228033A Expired - Fee Related JP5530893B2 (en) | 2010-10-08 | 2010-10-08 | Function expansion method of service providing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5530893B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5447626B1 (en) * | 2012-09-25 | 2014-03-19 | 日本電気株式会社 | Cluster system and cluster system update method |
US20180011890A1 (en) * | 2015-06-30 | 2018-01-11 | Hitachi, Ltd. | Management system, and management method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11353202A (en) * | 1998-06-10 | 1999-12-24 | Ntt Mobil Commun Network Inc | Distributed data processing system |
JP4063220B2 (en) * | 2004-01-14 | 2008-03-19 | 日本電気株式会社 | Computer system, server computer, computer system application update method, program |
JP4532946B2 (en) * | 2004-03-19 | 2010-08-25 | 株式会社日立製作所 | Application replacement method and program |
JP2006146679A (en) * | 2004-11-22 | 2006-06-08 | Hitachi Ltd | Control method for information processor, information processor and program |
JP2007302389A (en) * | 2006-05-10 | 2007-11-22 | Toshiba Elevator Co Ltd | Elevator monitoring system |
JP4875959B2 (en) * | 2006-10-12 | 2012-02-15 | 株式会社リコー | Information processing apparatus, data management method, and data management program |
JP5058729B2 (en) * | 2007-09-11 | 2012-10-24 | 株式会社野村総合研究所 | Classification data management system |
-
2010
- 2010-10-08 JP JP2010228033A patent/JP5530893B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012083867A (en) | 2012-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106933854B (en) | Short link processing method and device and server | |
US11336451B2 (en) | Cross-blockchain resource transmission | |
US9258249B2 (en) | Resource access throttling | |
US10778603B2 (en) | Systems and methods for controlling access to broker resources | |
US8291481B2 (en) | Sessionless redirection in terminal services | |
EP2901302B1 (en) | Session-server affinity for clients that lack session identifiers | |
US9088574B2 (en) | Subscriber identity module-based authentication of a wireless device and applications stored thereon | |
CN111327613B (en) | Distributed service authority control method and device and computer readable storage medium | |
JP2018536232A (en) | System and method for controlling sign-on to a web application | |
US20150373026A1 (en) | Permission management method, device and system for cloud platform service | |
CN111770184B (en) | Method and device for realizing service based on small program | |
CN102082800A (en) | User request processing method and server | |
JP2015501050A5 (en) | ||
US8600960B2 (en) | Processing proposed changes to data | |
US10104163B1 (en) | Secure transfer of virtualized resources between entities | |
CN114328029B (en) | Backup method and device of application resources, electronic equipment and storage medium | |
JP5017369B2 (en) | Application security model and trading partner integration | |
JP5530893B2 (en) | Function expansion method of service providing system | |
JP2007249295A (en) | Session management program, session management method, and session management apparatus | |
CN113704295A (en) | Service request processing method and system and electronic equipment | |
CN107409127B (en) | License management for contacts with multiple identities | |
EP2872995A1 (en) | Hybrid application environments | |
CN112860398A (en) | Data processing method, device, equipment and medium based on rule engine | |
JP2018073099A (en) | Scale-in processing program, scale-in processing method, and information processing system | |
JP6848670B2 (en) | Business collaboration program, business collaboration method and business collaboration device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130214 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130927 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131008 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131120 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131224 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140221 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140415 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140421 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5530893 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |