CN104423944A - Software application system - Google Patents

Software application system Download PDF

Info

Publication number
CN104423944A
CN104423944A CN201310383595.9A CN201310383595A CN104423944A CN 104423944 A CN104423944 A CN 104423944A CN 201310383595 A CN201310383595 A CN 201310383595A CN 104423944 A CN104423944 A CN 104423944A
Authority
CN
China
Prior art keywords
app
service
machine
software application
application system
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.)
Granted
Application number
CN201310383595.9A
Other languages
Chinese (zh)
Other versions
CN104423944B (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.)
China Unionpay Co Ltd
Original Assignee
China Unionpay 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 China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201310383595.9A priority Critical patent/CN104423944B/en
Publication of CN104423944A publication Critical patent/CN104423944A/en
Application granted granted Critical
Publication of CN104423944B publication Critical patent/CN104423944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to a software application system. The software applications system comprises an application entrance, a WEB layer and an application (APP) layer, wherein the application entrance is arranged in the forefront end of the software application system; the WEB layer is in communication connection with the application entrance and is provided with multiple WEB machines, and each WEB machine is deployed with a plurality of same local virtual servers; and the APP layer is in communication connection with the WEB layer and is provided with multiple APP machines, and each APP machine is deployed with a plurality of same servers. By the software application system, the server load balancing can be realized, the transparency of a requester is ensured.

Description

A kind of software application system
Technical field
The present invention relates to the easy-to-use system of a kind of software, relate to a kind of software application system with enhanced scalability particularly.
Background technology
In the software application system design of many request ends, many service ends, system load balancing and the system expandability are important performance index.Good load balancing can give full play to the potentiality of service end, improves the processing power of system, increases system concurrency number.Extensibility has reacted system when increasing or reduce service end number, reduces the impact on system.
Adopt following three kinds of schemes in the prior art:
(1) hardware device is adopted to carry out the mode of load balancing
First this kind of mode need to increase hardware, and carry out load balancing by hardware to multiserver, a) cost can increase;
B) when needs increase or reduce service end number, need change hardware device parameter, even restart hardware device, use inconvenience;
C) hardware load balancing equipment is generally single point, thus becomes system bottleneck;
D) hardware load balancing equipment is usually located at application foremost, when needing mutually to access between service end, communication between service end just needs to carry out communication by hardware load balancing equipment foremost, and this mode adds the complexity that in system, network connects.
(2) by soft load balancing mode
This kind of mode increases a load balancing node before multiserver, request end and service end communication, and first through load balancing node, this kind of mode overcomes the Cost Problems of hardware device, but still there is the problem of system single-point; Meanwhile, when needing mutual between service end, still need to be undertaken by load balancing node, the complexity that network connects can be increased equally.
(3) load balancing between application process itself and many service ends
A) this kind of mode can increase the implementation complexity of request end, and what increase request end realizes difficulty;
B) simultaneously, when the number of service end needs to increase, reduce or revise, upgrade in time to request end by the information of service end, the relevant information of service end is opaque to request end;
C) load balancing applying self process can only use in application self, and versatility is inadequate.
Summary of the invention
In view of the above problems, the present invention aims to provide a kind of load equilibrium and the good software application system of the system expandability.
The present invention is directed to software application system and propose a kind of system design scheme, the program has enhanced scalability, is applicable to the application with many request ends, many service ends.This software application system of the present invention can realize the load balancing of service end, can ensure the transparency to request end simultaneously.
Software application system of the present invention, is characterized in that, comprising:
Application entrance, is arranged in described software application system foremost;
WEB layer, is connected with described application gate dielectric and possesses multiple stage WEB machine, wherein, disposes identical local virtual server respectively to every platform WEB machine; And
APP layer, communicates to connect with described WEB layer and possesses multiple stage APP machine, wherein, disposes identical multiple services respectively to every platform APP machine.
Preferably, described multiple set of service is abstracted into local virtual server described in each.
Preferably, described local virtual server can communicate with all services in described APP layer.
Preferably, WEB server is disposed at described application entrance.
Preferably, can communicate each other to multiple services that every platform APP machine is disposed respectively.
Preferably, each of described multiple service has unique service name.
Preferably, described local virtual server safeguards the service name of all services by the form of configuration file, and wherein, it is one or more that described service name comprises in APP name, IP address, port numbers, service list.
Preferably, described WEB layer is provided with SVR list, in described SVR list, is configured with every platform APP machine provides service mutual relationship to WEB machine.
Preferably, described local virtual server makes regular check on the serviceability of the corresponding service of each APP machine.
Preferably, described local virtual server calls with the respective service of polling mode to each APP machine, can be forwarded to other APP machines equably when a certain APP machine goes wrong by calling.
According to software application system of the present invention, do not need to increase hardware device, and APP layer information on services is transparent to WEB layer, WEB layer only communicates with local LVS, does not need the problem of load balancing between WEB application process and rear end APP service.Meanwhile, every platform WEB machine has a LVS, and therefore LVS is not the single-point in system, can not become the performance bottleneck of system.And, request end and service end, the communication between service end and service end is all local communication, can simplified network connect complexity.Moreover LVS just can dispose when preparing hardware environment, and each LVS is identical, is all general, there is not the cost of overlapping development to all application.
 
Accompanying drawing explanation
Fig. 1 is the structure block diagram of software application system of the present invention.
Embodiment
What introduce below is some in multiple embodiment of the present invention, aims to provide basic understanding of the present invention.Be not intended to confirm key of the present invention or conclusive key element or limit claimed scope.
Fig. 1 is the structure block diagram of software application system of the present invention.
Below, with reference to Fig. 1, software application system of the present invention is described.
Software application system of the present invention comprises: the application entrance 100 being foremost arranged in described software application system; Be connected with application gate dielectric and possess the WEB layer 200 of multiple stage WEB machine; The APP layer 300 communicated to connect with WEB layer 100.
Wherein, usually WEB server is disposed at application entrance 100.
WEB layer 200 has multiple stage WEB machine (be WEB1, WEB2, WEB3, WEB4 in Fig. 1, do not limit in the present invention to the quantity of WEB machine) and disposes local virtual server and LVS respectively to every platform WEB machine.Wherein, dispose local virtual server respectively and LVS is identical to every platform WEB machine, that is, as shown in Figure 1, the LVS disposed WEB1, the LVS disposed WEB2, the LVS disposed WEB3, the LVS that disposes WEB4 are identical.
APP layer 300 possesses multiple stage APP machine (be APP1, APP2, APP3, APP4, APP5 in FIG, do not limit in the present invention to the quantity of APP machine), wherein, disposes identical multiple services respectively to every platform APP machine.That is, as shown in Figure 1, for APP1 deployment services SVR1 ~ SVR3, for APP2 deployment services SVR1 ~ SVR3, for APP3 deployment services SVR1 ~ SVR3, for APP4 deployment services SVR1 ~ SVR3, for APP5 deployment services SVR1 ~ SVR3.
The service that every platform WEB machinery requirement access back end APP layer 300 machine in WEB layer 200 provides, and every platform APP machine (APP1 ~ APP5) all deploys identical service, as SVR1, SVR2, SVR3 etc., the title that each service has an overall situation unique, as SVR1.When APP layer 300 runs, may need between service to intercom mutually, as SVR1 operationally, need access SVR2 and SVR3.
In the present invention, it is a local virtual server (hereinafter also referred to as LVS) by all service abstractions, all services can obtain from LVS, and LVS safeguards the information of all services by the form of configuration file, comprise the information such as APP name, IP address, port numbers, service list.LVS is also responsible for the communication of process and all services of rear end APP layer 300.
And, identical LVS is deployed to the every platform of WEB machine, namely LVS has identical configuration information, this configuration information contains the service name of all APP machines in backstage, if newly-increased WEB machine, then former state disposes LVS to newly-increased machine, if newly-increased APP machine, then the LVS of every platform WEB machine is carried out newly-increased, can realize simply and effectively AM/BAM and WEB machine, APP machine extending transversely.
In the present invention, when increasing or reduce service, only need to revise the configuration file of LVS, LVS can the relevant information of loading service termly, and this function is transparent to WEB layer.Particularly, when increasing the service on APP machine or APP machine, needing the relevant configuration information at Reconfigurations center, as with the addition of APP machine, or adding service on APP machine, LVS is loaded automatically and upgrades relevant configuration.Each LVS there is the configuration file of controlling oneself, but be all the same, therefore the configuration file of batch modification LVS can add corresponding amendment information, as increased or deleting APP machine or related service.
200 layers, WEB layer communicates with LVS according to service name, WEB machine as request end only needs to communicate with the LVS of this locality, as long as namely process local network communication, the information such as number, IP address, port numbers of APP layer 300 real service is transparent to WEB request end.
When needing mutual between the service of the every platform APP machine in APP layer, service interaction only and on same APP machine, every platform APP machine as service end also only needs to be responsible for the communication of process local network, as the SVR1 on APP1, need to access SVR2 and SVR3, the then SVR1 on APP1 only to need to access SVR2 and SVR3 on APP1.Therefore, it is possible to the communication realized between request end and service end is all local communication, simplify the complexity that network connects.
All services active in LVS with APP layer 300 keep being connected, and are responsible for the problem of load balancing between the many services of process.Particularly, LVS calls with polling mode the service in APP layer 300, but when certain service of an APP machine is obstructed, can call by automatic shield related service, self-poise is on other machine.Individual information service as APP1 machine is out of joint, then automatically can skip APP1 for calling of Individual information service, be forwarded to APP2 ~ APP5 uniformly.If APP1 there occurs machine event of delaying, then allly all requests can be skipped APP1 automatically to APP1 each WEB machine, automatically be forwarded to APP2 ~ APP5, can high availability be realized thus.
LVS can be regular check whether increase or reduce service and whether be correctly connected with the network of all services, when there being request to arrive, according to above-mentioned load balancing, the request of request end is sent to a certain service end process, after service end is disposed, LVS receive and the result forwarding service end to request end.
Wherein, LVS makes regular check on the increase and decrease of service, carries out as following: when an APP machine or certain service unavailable time, its mask can fall by LVS automatically, and namely corresponding calling service is balanced on other machine; And when corresponding service recovers, corresponding new request can be transmitted to again the service module of this APP machine by foreground WEB machine again, the corresponding service serviceability that the realization of this function makes regular check on APP machine by LVS realizes.As 5 seconds verified once, upgrade the memory configurations information of the LVS of machine (WEB machine).
On the other hand, by following manner, LVS checks whether network connects correct: by bottom-layer network interface API, and call that the error code that returns judges by relevant, as network interruption, network is unreachable waits error code.Another is exactly by network timeout, if time-out too much, also illustrates that this machine service is unavailable, first covers, to treat that late detection is recovered.
According to software application system of the present invention, following beneficial effect can be obtained:
(1) do not need to increase hardware device;
(2) APP layer information on services is transparent to WEB layer, and WEB layer only communicates with local LVS, does not need the problem of load balancing between WEB application process and rear end APP service;
(3) every platform WEB machine has a LVS, and therefore LVS is not the single-point in system, can not become the performance bottleneck of system;
(4) request end and service end, the communication between service end and service end is all local communication, simplifies the complexity that network connects;
(5) LVS just can dispose when preparing hardware environment, and each LVS is identical, is all general, there is not the cost of overlapping development to all application;
(6), when increase or minimizing service, only need the configuration file revising LVS, the relevant information of the loading service that LVS can be regular, this function is transparent to WEB layer.
Above example mainly describes the structure block diagram of software application system of the present invention.Although be only described some of them the specific embodiment of the present invention, those of ordinary skill in the art should understand, and the present invention can implement with other forms many not departing from its purport and scope.Therefore, the example shown and embodiment are regarded as illustrative and not restrictive, when do not depart from as appended each claim define the present invention spirit and scope, the present invention may contain various amendments and replacement.

Claims (10)

1. a software application system, is characterized in that, comprising:
Application entrance, is arranged in described software application system foremost;
WEB layer, is connected with described application gate dielectric and possesses multiple stage WEB machine, wherein, disposes identical local virtual server respectively to every platform WEB machine; And
APP layer, communicates to connect with described WEB layer and possesses multiple stage APP machine, wherein, disposes identical multiple services respectively to every platform APP machine.
2. software application system as claimed in claim 2, is characterized in that,
Described multiple set of service is abstracted into local virtual server described in each.
3. software application system as claimed in claim 3, is characterized in that,
Described local virtual server can communicate with all services in described APP layer.
4. software application system as claimed in claim 4, is characterized in that,
WEB server is disposed at described application entrance.
5. software application system as claimed in claim 4, is characterized in that,
Can communicate each other to multiple services that every platform APP machine is disposed respectively.
6. software application system as claimed in any one of claims 1 to 5, wherein, is characterized in that,
Each of described multiple service has unique service name.
7. software application system as claimed in claim 6, is characterized in that,
Described local virtual server safeguards the service name of all services by the form of configuration file, wherein, it is one or more that described service name comprises in APP name, IP address, port numbers, service list.
8. software application system as claimed in claim 7, is characterized in that,
Described WEB layer is provided with SVR list,
Every platform APP machine provides service mutual relationship to WEB machine is configured with in described SVR list.
9. software application system as claimed in claim 6, is characterized in that,
Described local virtual server makes regular check on the serviceability of the corresponding service of each APP machine.
10. software application system as claimed in claim 6, is characterized in that,
Described local virtual server calls with the respective service of polling mode to each APP machine, can be forwarded to other APP machines equably when a certain APP machine goes wrong by calling.
CN201310383595.9A 2013-08-29 2013-08-29 A kind of software application system Active CN104423944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310383595.9A CN104423944B (en) 2013-08-29 2013-08-29 A kind of software application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310383595.9A CN104423944B (en) 2013-08-29 2013-08-29 A kind of software application system

Publications (2)

Publication Number Publication Date
CN104423944A true CN104423944A (en) 2015-03-18
CN104423944B CN104423944B (en) 2018-05-18

Family

ID=52973037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310383595.9A Active CN104423944B (en) 2013-08-29 2013-08-29 A kind of software application system

Country Status (1)

Country Link
CN (1) CN104423944B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630505A (en) * 2015-12-28 2016-06-01 国云科技股份有限公司 Multi-site public attribute dynamic configuration method
CN107197005A (en) * 2017-05-12 2017-09-22 广州视源电子科技股份有限公司 Method and device, client, server and the data transmission system of data transfer
CN108595247A (en) * 2018-03-29 2018-09-28 阿里巴巴集团控股有限公司 A kind of detection method, device and equipment
CN109842651A (en) * 2017-11-27 2019-06-04 中国移动通信集团上海有限公司 A kind of continual load-balancing method of business and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968283A (en) * 2006-05-12 2007-05-23 华为技术有限公司 Network management system and method
CN101458808A (en) * 2008-12-31 2009-06-17 中国建设银行股份有限公司 Bank management system, server cluster and correlation method
CN102917039A (en) * 2012-10-10 2013-02-06 大唐移动通信设备有限公司 Information processing method and system
CN103118142A (en) * 2013-03-14 2013-05-22 曙光信息产业(北京)有限公司 Load balancing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968283A (en) * 2006-05-12 2007-05-23 华为技术有限公司 Network management system and method
CN101458808A (en) * 2008-12-31 2009-06-17 中国建设银行股份有限公司 Bank management system, server cluster and correlation method
CN102917039A (en) * 2012-10-10 2013-02-06 大唐移动通信设备有限公司 Information processing method and system
CN103118142A (en) * 2013-03-14 2013-05-22 曙光信息产业(北京)有限公司 Load balancing method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630505A (en) * 2015-12-28 2016-06-01 国云科技股份有限公司 Multi-site public attribute dynamic configuration method
CN107197005A (en) * 2017-05-12 2017-09-22 广州视源电子科技股份有限公司 Method and device, client, server and the data transmission system of data transfer
CN107197005B (en) * 2017-05-12 2020-12-29 广州视源电子科技股份有限公司 Data transmission method and device, client, server and data transmission system
CN109842651A (en) * 2017-11-27 2019-06-04 中国移动通信集团上海有限公司 A kind of continual load-balancing method of business and system
CN109842651B (en) * 2017-11-27 2021-11-26 中国移动通信集团上海有限公司 Uninterrupted service load balancing method and system
CN108595247A (en) * 2018-03-29 2018-09-28 阿里巴巴集团控股有限公司 A kind of detection method, device and equipment
CN108595247B (en) * 2018-03-29 2021-10-29 创新先进技术有限公司 Detection method, device and equipment

Also Published As

Publication number Publication date
CN104423944B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
US10171362B1 (en) System and method for minimizing disruption from failed service nodes
JP5513997B2 (en) Communication system and communication system update method
JP6033789B2 (en) Integrated software and hardware system that enables automated provisioning and configuration based on the physical location of the blade
US8010973B2 (en) Class loader for managing a network
US20050193137A1 (en) Protocol stack with modification facility
KR20090003224A (en) Network interface routing using computational context
WO2010034608A1 (en) System and method for configuration of processing clusters
CN106331065A (en) Proxy application for host system with service container and system
CN104423944A (en) Software application system
US9935834B1 (en) Automated configuration of virtual port channels
US10033631B1 (en) Route distribution for service appliances
CN107995326B (en) Management method and device of container network
WO2023165137A1 (en) Cross-cluster network communication system and method
CN111797173B (en) Alliance chain sharing system, method and device, electronic equipment and storage medium
US10103995B1 (en) System and method for automated policy-based routing
CN110535964B (en) Data processing method and device based on Paas connector
CN115022408A (en) Data transmission method and device based on service grid and electronic equipment
CN112003794B (en) Floating IP current limiting method, system, terminal and storage medium
US20050177572A1 (en) Method of organising servers
CN114172753A (en) Address reservation method, network equipment and system
US10193998B2 (en) Communication apparatus, communication system, and circuit configuration control method
US10079725B1 (en) Route map policies for network switches
CN114070716A (en) Application management system, application management method, and server
US11455181B1 (en) Cross-network connector appliances
CN115826845A (en) Storage resource allocation method and device, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant