CN105162856B - Network application integrated system and method - Google Patents

Network application integrated system and method Download PDF

Info

Publication number
CN105162856B
CN105162856B CN201510511009.3A CN201510511009A CN105162856B CN 105162856 B CN105162856 B CN 105162856B CN 201510511009 A CN201510511009 A CN 201510511009A CN 105162856 B CN105162856 B CN 105162856B
Authority
CN
China
Prior art keywords
application
underlying services
services device
server
proxy server
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
Application number
CN201510511009.3A
Other languages
Chinese (zh)
Other versions
CN105162856A (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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510511009.3A priority Critical patent/CN105162856B/en
Publication of CN105162856A publication Critical patent/CN105162856A/en
Application granted granted Critical
Publication of CN105162856B publication Critical patent/CN105162856B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of network application integrated system and methods.The system includes: one or more underlying services devices, and each underlying services device provides one or more application;Proxy server caches the application that one or more underlying services device provides with the first predetermined time interval;Buffer caches the application that one or more underlying services device provides with the second predetermined time interval;Front-end server suitable for combining the application from one or more underlying services device, and provides the external interface for interacting with the application;Monitoring server, whether detection underlying services device is normal, and whether detection proxy server is normal, wherein front-end server determines how to call required application according to the testing result of monitoring server.By the network application integrated system and method, in the case that the application in a certain underlying services device is broken down, network application integrated system can still provide a user complete application function.

Description

Network application integrated system and method
It is on October 16th, 2012 that the application, which is the applying date, and application number is 201210392661.4, and title is " network application The divisional application of the application for a patent for invention of integrated system and method ".
Technical field
The present invention relates to computer network fields, and in particular to a kind of network application integrated system and method.
Background technique
Currently, with the fast development of network application, application type and quantity that network application integrated system can be presented It is more and more.
In common network application integrated system, front-end server and one or more underlying services are generally included Device, wherein for underlying services device for providing application, front-end server is used for will be from the application of one or more underlying services devices It is presented to the user.In this network application integrated system, there is mutual between front-end server and each underlying services device Therefore the relationship of dependence when a underlying services device breaks down, will affect the front end services in network application integrated system The normal operation of device and other underlying services devices.Even if there is warning device to be monitored, but each underlying services device after alarming With other equipment by updating configuration by hand, again online, efficiency is lower, and influence time is longer on line, in the process, user Application provided by the underlying services device to break down in the network application integrated system can not be accessed, and due to equipment room It influences each other, any application in the network application integrated system can not be accessed by resulting even in user, cause pole to user Big inconvenience.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the network application integrated system and method for problem.
According to one aspect of the present invention, a kind of network application integrated system is provided, comprising: one or more bottom clothes Business device, each underlying services device provide one or more application;Proxy server, with the first predetermined time interval to one or The application that the multiple underlying services devices of person provide caches;Buffer, with the second predetermined time interval to one or more The application that underlying services device provides is cached;Front-end server, suitable for combining from one or more underlying services device Using, and the external interface for interacting with the application is provided;And monitoring server, just whether detection underlying services device Often, and whether detection proxy server is normal, wherein front-end server determines such as according to the testing result of monitoring server What calls required application.
Optionally, when monitoring server detects underlying services device and normal proxy server, front-end server warp Application in underlying services device is called by proxy server;It is preceding when monitoring server detects that underlying services device occurs abnormal End server calls the application of underlying services device from proxy server;And when monitoring server detect proxy server and When underlying services device occurs abnormal, front-end server calls the application of underlying services device from buffer.
Optionally, system further include: redundant server, redundant server is corresponding with underlying services device, and offer pair Answer the redundancy backup of underlying services device.
Optionally, when monitoring server detects that underlying services device occurs abnormal, proxy server is switched to from correspondence Redundant server cache application.
Optionally, monitoring server sends to underlying services device and/or proxy server and visits every preset time interval It asks request, determines whether underlying services device and/or proxy server are normal according to the response to access request.
Optionally, the first predetermined time interval is less than the second predetermined time interval.
Optionally, buffer is set in front-end server.
Optionally, using the application for including offer data information, and buffer is with the data cached information of text file format.
According to another aspect of the present invention, a kind of network application integrated approach is provided, this method comprises: one agency of setting Server, the proxy server delay the application that one or more underlying services device provides with the first predetermined time interval It deposits;One buffer is set, the application which provides one or more underlying services device with the second predetermined time interval It is cached;Whether normal detect one or more underlying services device, and whether detection proxy server is normal;According to inspection Result is surveyed to determine the application needed for calling from one or more underlying services device, proxy server or buffer, and is combined Using to provide integrated network application system.
Optionally, when detecting underlying services device and normal proxy server, needed for being called via proxy server Application;When detecting that underlying services device occurs abnormal, required application is called from proxy server;And works as and detect When proxy server and underlying services device occur abnormal, required application is called from buffer.
Optionally, this method further include: redundant server is configured accordingly for underlying services device, to provide corresponding bottom The redundancy backup of server.
Optionally, when detecting that underlying services device occurs abnormal, proxy server is switched to from corresponding redundancy services Device caching application.
Optionally, access request is sent to underlying services device and/or proxy server every preset time interval, according to Determine whether underlying services device and/or proxy server are normal to the response of access request.
Optionally, the first predetermined time interval is less than the second predetermined time interval.
Optionally, the application of data information is provided using including, and data information is cached in text file format slow Storage.
The network according to the invention application integrating system and method respectively take bottom by proxy server and buffer The application that business device provides is cached, and when monitoring server detects that underlying services device occurs abnormal, front-end server can be with It is determined to call application from proxy server or buffer according to the testing result of monitoring server.As long as thus solving one One in a underlying services device just will affect the operation of whole network application integrating system using breaking down, so as to cause can not The problem of providing complete application function for user, achieving can be the case where the application in a certain underlying services device be broken down Under, network application integrated system can still provide a user the beneficial effect of complete application function.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, identical component is presented with like reference characters.In the accompanying drawings:
Fig. 1 shows the structure chart of network application integrated system according to an embodiment of the invention;And
Fig. 2 shows the flow charts of network application integrated approach according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows the structural schematic diagram of network application integrated system according to an embodiment of the invention.Such as Fig. 1 institute Show, which includes: one or more underlying services devices 110, is respectively connected with each underlying services device 110 Proxy server 120, the front-end server 140 that is connected with proxy server 120 and with each underlying services device 110 with And the monitoring server 130 that proxy server 120 is connected with front-end server 140, wherein into one in the front-end server 140 Step is provided with buffer 141.
Each underlying services device 110 provides one or more application, and two bottom clothes are only schematically illustrated in Fig. 1 It is engaged in device, in actual conditions, the quantity of underlying services device can be one or more, when the quantity of underlying services device is multiple, Each underlying services device may be respectively used for providing different applications, to meet the needs of user accesses a variety of applications.Optionally, In order to realize the redundant configuration between underlying services device, multiple underlying services devices can also be configured to several groups, every group of bottom Each underlying services device in server is all used to provide identical application, and the application that the underlying services device of difference group provides is not Together, the demand that user accesses a variety of applications had not only been met in this way, but also realized redundant configuration inside every group of underlying services device.
Proxy server 120 answers each 110 offer of underlying services device with the first predetermined time interval (for example, 5 minutes) Front-end server 140 is supplied to being cached, and by the application after caching.The buffer being arranged inside front-end server 140 141 cache the application that each underlying services device 110 provides with the second predetermined time interval (for example, 1 hour).Specifically, Proxy server 120 and 141 pairs of buffer applications carry out caching and refer to that caching application provides as a result, for example, if application provides Data information, then what proxy server 120 and buffer 141 cached is using in data corresponding to the data information provided Hold.The various caching technologies that proxy server 120 can be used using this field, for example, various web caching technologies, squid Deng, these caching technologies in addition to guarantee cache information it is correct other than, it is also necessary to the problems such as considering buffer efficiency.And buffer Primary concern is that data cached reliability, and in contrast, buffer efficiency is not accounted for emphatically for 141 caching, because This, optionally, buffer 141 can store these data contents using text file format, to improve the reliability of caching.It answers Information etc. is taken with the area that the result of offer may include: each game.Moreover, being cached in proxy server 120 and buffer 141 In application, if it find that reading the relevant data failure of application then temporarily without caching, to guarantee all data of caching It is all effectively, to avoid the case where caching invalid data.
Optionally, the first predetermined time interval above-mentioned is less than the second predetermined time interval, that is to say, that agency's clothes The caching frequency of business device 120 is higher, and the caching frequency of buffer 141 is lower, therefore, the content cached on proxy server 120 It may be than the content update that is cached on buffer 141.It is cached on proxy server 120 so front-end server 140 preferentially calls Application.It is to be arranged with buffer 141 preceding in addition, in the present embodiment, for simplied system structure, reducing hardware cost It is illustrated for 140 inside of server of end, it, can also be by buffer 141 independently of front-end server 140 in actual conditions Setting, in this way, the needs of buffer 141 are respectively connected with each underlying services device 110, to obtain every the second predetermined time interval The application for taking each underlying services device 110 to provide.Meanwhile buffer 141 will also be connected with front-end server 140, so as to front end Server 140 is able to access that the application cached on buffer 141.When buffer 141 is arranged independently of front-end server 140, Buffer 141 can directly acquire the application that each underlying services device 110 provides, without obtaining via proxy server 120 The application that underlying services device 110 provides, therefore, caching frequency are more flexible.
Monitoring server 130 detects each underlying services device 110 and proxy server 120, and will test knot Fruit is sent to front-end server 140.When specific detection, primary each underlying services can be detected every preset time interval Whether whether normal and proxy server working condition is normal for the application provided in device, can be in order to find failure in time Preset time interval is arranged as small as possible, to achieve the effect that approximate real time detection.
Wherein, monitoring server 130 detect underlying services device 110 when, due to underlying services device provide each application all With a corresponding URL, by accessing the URL, that is, the application may have access to.Therefore, a certain underlying services are being detected There is provided in device application whether it is normal when, can by access with provided by the underlying services device using corresponding URL come It is detected.If the underlying services device asks the URL when this of access underlying services device offer applies corresponding URL It asks and does not respond to or generate mistake, it is determined that application corresponding with the URL is abnormal, on the contrary, it is determined that corresponding with the URL Using normal.It is answered for example, one can be accessed provided by a certain underlying services device by shell script (or other scripts) With corresponding URL, if the underlying services device does not in the given time respond to the URL request, or wrong letter is produced Breath, for example, if HTTP error code as underlying services device return 500 or 502 etc., it is determined that application corresponding with the URL It is abnormal.Here, 500 internal server error information is indicated, 502 indicate gateway error message, according to the error message of generation It can primarily determine application the reason of there are failures in underlying services device.By every in each underlying services device of regular visit It is a to apply corresponding URL, that is, can determine whether the state respectively applied in each underlying services device is normal.
It, can also by a similar method, by agency service when monitoring server 130 detects proxy server 120 Device sends access request, and the response according to proxy server to the access request, it may be assumed that whether returning response message or return Whether response message correctly judges whether proxy server is normal.Specifically, if proxy server 120 is to monitoring server 130 access requests sent are not replied or exception occurs in response, then it represents that and there is failure in itself in proxy server 120, or There is network problem in person.In addition, even if the normal operation of proxy server 120 itself, monitoring server 130 can also be into one Whether the data cached on step detection proxy server 120 have failed, and when judging data cached whether failed, can use Two ways.First way is to judge whether data have failed by configured transmission: for example, monitoring server 130 passes through one A parameter, for example zonearr parameter, obtain it is data cached on proxy server, if zonearr parameter is null value, table Show get it is data cached no longer valid.The second way is directly to judge whether data cached be more than caching period, example Such as, it is assumed that the caching period of proxy server 120 is 5 minutes, i.e., primary every 5 minutes cachings, if proxy server is current The cache-time of the application of caching was shown as before 5 minutes, then illustrated that the application of current cache has been over caching period, because This is fail data.It, can also when monitoring server 130 judges data cached on proxy server 120 for fail data It is abnormal with 140 reporting agencies server of forward end server 120, so that front-end server can be adjusted from buffer 141 With application.
In addition, can also determine underlying services in order to ensure the timely reparation of underlying services device and proxy server After the state of device or proxy server is abnormal, short massage notice is sent to technical staff, so that technical staff can be right in time It is repaired.
Front-end server 140 is determined according to the testing result of monitoring server 130 from proxy server 120 or buffer Required application is called in 141, and the application from each underlying services device 110 of calling is combined, and provide and be used for The external interface interacted with these applications, user may have access to the corresponding application of the external interface by access external interface.
Optionally, when monitoring server 130 detects underlying services device 110 and proxy server 120 is normal, front end Server 140 calls the application in underlying services device 110 via proxy server 120;When monitoring server 130 detects bottom When server 110 occurs abnormal, front-end server 140 calls the application of underlying services device from proxy server 120;Work as monitoring When server 130 detects that proxy server 120 and underlying services device 110 occur abnormal, front-end server 140 is from buffer 141 call the application of underlying services device 110.Method of calling in this way can also lead to even if exception occurs in underlying services device It crosses and the application cached in proxy server is called to achieve the purpose that normal service, exception occur proxy server, It can also achieve the purpose that normal service by calling the application cached in buffer.No matter front-end server 140 is from generation The application that server 120 calls underlying services device to provide, or the application for calling underlying services device to provide from buffer 141 are managed, Its external interface interacted with these applications provided is the same, and therefore, for user, will not generate any area Not.It can be seen that in the present embodiment, having carried out dual caching to the application in underlying services device, it may be assumed that proxy server conduct First caches again, and buffer caches again as second, plays double shield to the normal operation of network application integrated system Effect.Wherein, proxy server caches again as first, and front-end server preferentially calls the data cached in proxy server, And it is higher to the data cached calling frequency in proxy server under normal conditions, therefore, for slow in proxy server For deposit data, in addition to the requirement of reliability to be met, except ensuring that data are correct, also there is higher want to buffer efficiency It asks, to ensure when the data in underlying services device change, data cached in proxy server can be quickly and accurately It is updated to latest data, so, caching period of the proxy server in caching is generally arranged smaller, so as in bottom Data in server timely update when changing, moreover, the caching technology that proxy server is used in caching is (e.g., respectively Kind web caching technology, squid etc.) it is also required to consider buffer efficiency problem, so as to promptly be transferred by front-end server. In comparison, buffer caches again as second, primarily serves the effect of backup, front-end server is usually only in agency service Device can just call when something goes wrong it is data cached in buffer, and under normal conditions to the data cached calling in buffer Frequency is lower, therefore, for data cached in buffer, has higher requirement to reliability, to ensure data just Really, the requirement but to buffer efficiency is lower, so, caching period of the buffer in caching can be set larger, with It reduces to the occupancy of hardware resource and Internet resources, moreover, the caching technology that uses in caching of buffer is usually with greater need for examining Consider integrity problem, therefore can be data cached using text file format, to reduce error rate, improves data cached reliable Property.
In addition, according to one embodiment of present invention, buffer 141 and front-end server 140 are located at the same physics and set In standby, in this way, even if when causing proxy server 120 that cannot access because of the reasons such as network communication failure, buffer 141 It will not be influenced by network failure and the content of caching can be reliably provided.It is possible thereby to avoid causing due to network failure Buffer 141 and proxy server 120 while not available situation, improve the reliability of system.
In addition, in the present embodiment, when underlying services device is redundant configuration, if one in one group of underlying services device There are exception, each underlying services that proxy server 120 can also be detected by monitoring server 130 in underlying services device The testing result of device learns this exception information, thus other the normal bottoms being automatically switched to from this group of underlying services device It is obtained in stratum server and applies and cache, ensure that data cached correctness.
Fig. 2 shows the flow charts of network application integrated approach according to an embodiment of the invention.The network application collection It can be applied to network application integrated system shown in FIG. 1 at method.
As shown in Fig. 2, the network application integrated approach starts from step S210, in step S210, an agency service is set Device, the proxy server cache the application that one or more underlying services device provides with the first predetermined time interval. In step S220, a buffer is set, and the buffer is with the second predetermined time interval to one or more underlying services device The application of offer is cached.
Above-mentioned steps S210 and step S220 can start simultaneously at execution, can also successively start to execute.Due to second Predetermined time interval is typically larger than the first predetermined time interval, therefore, it is generally the case that first carries out step S210, executes step afterwards Rapid S220, and the caching in step S210 and step S220 is all that interval executes once at predetermined time intervals, therefore, step Caching in rapid S210 and step S220, which belongs to, needs the step of continuously carrying out.Specifically, proxy server and caching Device carries out caching to application and refers to that caching application provides as a result, for example, if application provides data information, then proxy server With buffer be using provide data information corresponding to data content, optionally, underlying services device provide answer With including providing the application of data information, then buffer can cache these data informations using text file format, reach slow Deposit the purpose of application.Result using offer may include: that the area of each game takes information etc..Moreover, in proxy server and Buffer is in application, if it find that caching program reads data failure then temporarily without caching, to guarantee caching All data are all effectively, to avoid the case where caching invalid data.
When step S210 and step S220 start to execute or after starting execution, step S230 is executed.In step S230, Whether normal detect one or more underlying services device, and whether detection proxy server is normal.It, can be with when specific detection Every preset time interval, detect the application that is provided in primary each underlying services device whether normal and proxy server Working condition it is whether normal, in order to find failure in time, preset time interval can be arranged as small as possible, to reach The effect of approximate real time detection.Wherein, when detecting underlying services device 110, since each application that underlying services device provides all has There is a corresponding URL, by accessing the URL, that is, may have access to the application.Therefore, a certain underlying services device is being detected Middle offer application whether it is normal when, can by access with provided by the underlying services device using corresponding URL come into Row detection.If the underlying services device is to the URL request when this of access underlying services device offer applies corresponding URL Mistake is not responded to or generates, it is determined that application corresponding with the URL is abnormal, on the contrary, it is determined that corresponding with the URL to answer With normal.For example, an application provided by a certain underlying services device can be accessed by shell script (or other scripts) Corresponding URL if the underlying services device does not in the given time respond to the URL request, or produces error message, For example, if HTTP error code as underlying services device return 500 or 502 etc., it is determined that application corresponding with the URL is not Normally.Here, 500 internal server error information is indicated, 502 indicate gateway error message, can according to the error message of generation With primarily determine in underlying services device application there are failures the reason of.Pass through each of each underlying services device of regular visit Using corresponding URL, that is, can determine whether the state respectively applied in each underlying services device is normal.Detect proxy server It, can also by a similar method, by sending access request to proxy server, and according to proxy server to this when 120 The response of access request, it may be assumed that whether the response message of returning response message or return correctly judges that proxy server is It is no normal.In addition, can also determine underlying services device in order to ensure the timely reparation of underlying services device and proxy server Or proxy server state it is abnormal after, to technical staff send short massage notice, so that technical staff can be in time to it It is repaired.
After executing the step S230, in step S240, determine according to testing result from one or more bottom Stratum server, proxy server or buffer call required application, and combined application is to provide integrated network application system System.Optionally, when detecting underlying services device and normal proxy server, answering needed for being called via proxy server With;When detecting that underlying services device occurs abnormal, required application is called from proxy server;And works as and detect agency When server and underlying services device occur abnormal, required application is called from buffer.Method of calling in this way, even if bottom There is exception in stratum server, can also achieve the purpose that normal service by calling the application cached in proxy server, i.e., Proxy server is set exception also occur, the mesh that normal service can also be reached by calling the application cached in buffer 's.That is, in the present embodiment, having carried out dual caching to the application in underlying services device, it may be assumed that proxy server conduct First caches again, and buffer caches again as second, plays double shield to the normal operation of network application integrated system Effect.
In addition, according to one embodiment of present invention, buffer and front-end server are located in the same physical equipment, this Sample, even if cause proxy server that cannot access because of the reasons such as network communication failure, buffer will not be by network event The influence of barrier and the content of caching can be reliably provided.It is possible thereby to avoid leading to buffer and agency due to network failure Server while not available situation, improve the reliability of system.That is, front-end server can pass through local calling Mode obtain application data that buffer is cached without by network communication, and answering for proxy server caches With then front-end server needs to obtain by network communication mode.
Optionally, in order to further increase the reliability of underlying services device, this method further includes walking as follows in initial phase It is rapid: redundant server to be configured accordingly for underlying services device, to provide the redundancy backup of corresponding underlying services device, in this way, working as When detecting that underlying services device occurs abnormal in step S230, proxy server is switched to from corresponding redundant server caching and answers With.
The network according to the invention application integrating system and method respectively take bottom by proxy server and buffer The application that business device provides is cached, and when detecting that underlying services device occurs abnormal, can be determined according to testing result from generation It manages and calls application in server or buffer.As long as the application thus solved in a underlying services device is broken down It just will affect the operation of whole network application integrating system, the problem of so as to cause complete application function can not be provided for user, take Obtained can in a certain underlying services device application break down in the case where, network application integrated system still can to Family provides the beneficial effect of complete application function.It therefore, will not be because of a certain in network application integrated system of the invention The exception of equipment (such as underlying services device, proxy server) and the operation for influencing whole system, improve the reliability of system.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize one in network application integrated system according to an embodiment of the present invention The some or all functions of a little or whole components.The present invention is also implemented as executing method as described herein Some or all device or device programs (for example, computer program and computer program product).Such realization Program of the invention can store on a computer-readable medium, or may be in the form of one or more signals.This The signal of sample can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or mentions in any other forms For.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The invention discloses:
A1. a kind of network application integrated system, comprising:
One or more underlying services devices, each underlying services device provide one or more application;
Proxy server, the application that one or more of underlying services devices are provided with the first predetermined time interval It is cached;
Buffer carries out the application that one or more of underlying services devices provide with the second predetermined time interval Caching;
Front-end server suitable for combining the application from one or more of underlying services devices, and is provided and is used for The external interface interacted with the application;And
Whether normal monitoring server detects the underlying services device, and just whether the detection proxy server Often,
Wherein, the front-end server determines how to call required answer according to the testing result of the monitoring server With.
A2. system as described in a1, wherein
When the monitoring server detects the underlying services device and normal proxy server, the front end services Device calls the application in the underlying services device via the proxy server;
When the monitoring server detects that the underlying services device occurs abnormal, the front-end server is from the generation The application of the underlying services device is called in reason server;And
When the monitoring server detects the proxy server and underlying services device occurs abnormal, the front end clothes Business device calls the application of the underlying services device from the buffer.
A3. system as described in a1 or a2, further includes:
Redundant server, the redundant server is corresponding with the underlying services device, and provides corresponding underlying services device Redundancy backup.
A4. the system as described in A3, wherein
When the monitoring server detects that the underlying services device occurs abnormal, the proxy server be switched to from Corresponding redundant server caching application.
A5. the system as described in any of above-mentioned A1-A4, wherein
The monitoring server is sent every preset time interval, Xiang Suoshu underlying services device and/or proxy server Access request determines whether underlying services device and/or proxy server are normal according to the response to the access request.
A6. the system as described in any of above-mentioned A1-A5, wherein
First predetermined time interval is less than second predetermined time interval.
A7. the system as described in any of above-mentioned A1-A6, the buffer are set in the front-end server.
A8. the system as described in any of A1-A7, the application include the application of offer data information, and described slow Storage caches the data information with text file format.
B9. a kind of network application integrated approach, this method comprises:
One proxy server is set, and the proxy server is with the first predetermined time interval to one or more underlying services The application that device provides is cached;
One buffer is set, which mentions one or more of underlying services devices with the second predetermined time interval The application of confession is cached;
Whether normal detect one or more of underlying services devices, and whether just the detection proxy server Often;
It determines according to testing result from one or more of underlying services devices, the proxy server or described Buffer calls required application, and combines the application to provide integrated network application system.
B10. the method as described in B9, wherein
When detecting the underlying services device and normal proxy server, needed for being called via the proxy server Application;
When detecting that the underlying services device occurs abnormal, required application is called from the proxy server;With And
When detecting that the proxy server and underlying services device occur abnormal, required answer is called from the buffer With.
B11. the method as described in B9 or B10, further includes:
It is configured accordingly redundant server for the underlying services device, it is standby with the redundancy for providing corresponding underlying services device Part.
B12. method as described in b11, wherein
When detecting that the underlying services device occurs abnormal, the proxy server is switched to from corresponding redundancy services Device caching application.
B13. the method as described in any of B9-B12, wherein
Access request is sent to the underlying services device and/or proxy server every preset time interval, according to right Whether the response of the access request is normal to determine underlying services device and/or proxy server.
B14. the method as described in any of B9-B13, wherein
First predetermined time interval is less than second predetermined time interval.
B15. the method as described in any of B9-B14, the application includes providing the application of data information, and by institute It states data information and the buffer is cached in text file format.

Claims (15)

1. a kind of network application integrated system, comprising:
One or more underlying services devices, each underlying services device provide one or more application;
Proxy server carries out the application that one or more of underlying services devices provide with the first predetermined time interval Caching;
Buffer delays the application that one or more of underlying services devices provide with the second predetermined time interval It deposits;
Front-end server, suitable for combine the application from one or more of underlying services devices, and provide for institute State the external interface using interaction;And
Whether monitoring server, it is normal to detect the underlying services device, and whether normal, Yi Jijian if detecting the proxy server Survey whether the data cached on the proxy server have failed;
Wherein, the front-end server determines how to call required application according to the testing result of the monitoring server, First predetermined time interval is less than second predetermined time interval.
2. the system as claimed in claim 1, wherein
When the monitoring server detects the underlying services device and normal proxy server, the front-end server warp Application in the underlying services device is called by the proxy server;
When the monitoring server detects that the underlying services device occurs abnormal, the front-end server takes from the agency The application of the underlying services device is called in business device;And
When the monitoring server detects the proxy server and underlying services device occurs abnormal, the front-end server The application of the underlying services device is called from the buffer.
3. the system as claimed in claim 1, further includes:
Redundant server, the redundant server is corresponding with the underlying services device, and provides the superfluous of corresponding underlying services device Remaining backup.
4. system as claimed in claim 3, wherein
When the monitoring server detects that the underlying services device occurs abnormal, the proxy server is switched to from correspondence Redundant server cache application.
5. the system as described in any of the claims 1-4, wherein
The monitoring server sends access every preset time interval, Xiang Suoshu underlying services device and/or proxy server Request, determines whether underlying services device and/or proxy server are normal according to the response to the access request.
6. the system as described in any of the claims 1-4, the buffer is set in the front-end server.
7. the system as described in any of claim 1-4, the application includes the application of offer data information, and described slow Storage caches the data information with text file format.
8. a kind of network application integrated approach, this method comprises:
One proxy server is set, which mentions one or more underlying services device with the first predetermined time interval The application of confession is cached;
One buffer is set, which provides one or more of underlying services devices with the second predetermined time interval Using being cached;
Whether normal detect one or more of underlying services devices, whether normal, Yi Jijian if detecting the proxy server Survey whether the data cached on the proxy server have failed;
It determines according to testing result from one or more of underlying services devices, the proxy server or the caching Device calls required application, and combines the application to provide integrated network application system;
Wherein, first predetermined time interval is less than second predetermined time interval.
9. method according to claim 8, wherein
When detecting the underlying services device and normal proxy server, answering needed for being called via the proxy server With;
When detecting that the underlying services device occurs abnormal, required application is called from the proxy server;And
When detecting that the proxy server and underlying services device occur abnormal, required application is called from the buffer.
10. method according to claim 8, further includes:
It is configured accordingly redundant server for the underlying services device, to provide the redundancy backup of corresponding underlying services device.
11. method as claimed in claim 10, wherein
When detecting that the underlying services device occurs abnormal, the proxy server is switched to slow from corresponding redundant server Deposit application.
12. the method as described in any of claim 8-11, wherein
Access request is sent to the underlying services device and/or proxy server every preset time interval, according to described Whether the response of access request is normal to determine underlying services device and/or proxy server.
13. the method as described in any of claim 8-11, the application includes providing the application of data information, and by institute It states data information and the buffer is cached in text file format.
14. a kind of calculating equipment, comprising: processor and memory;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of network application integrated approach described in any one of 8-13.
15. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute the corresponding operation of network application integrated approach as described in any one of claim 8-13.
CN201510511009.3A 2012-10-16 2012-10-16 Network application integrated system and method Expired - Fee Related CN105162856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510511009.3A CN105162856B (en) 2012-10-16 2012-10-16 Network application integrated system and method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210392661.4A CN102882977B (en) 2012-10-16 2012-10-16 Network application integrated system and method
CN201510511009.3A CN105162856B (en) 2012-10-16 2012-10-16 Network application integrated system and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210392661.4A Division CN102882977B (en) 2012-10-16 2012-10-16 Network application integrated system and method

Publications (2)

Publication Number Publication Date
CN105162856A CN105162856A (en) 2015-12-16
CN105162856B true CN105162856B (en) 2019-03-01

Family

ID=47484119

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510511009.3A Expired - Fee Related CN105162856B (en) 2012-10-16 2012-10-16 Network application integrated system and method
CN201210392661.4A Expired - Fee Related CN102882977B (en) 2012-10-16 2012-10-16 Network application integrated system and method

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201210392661.4A Expired - Fee Related CN102882977B (en) 2012-10-16 2012-10-16 Network application integrated system and method

Country Status (1)

Country Link
CN (2) CN105162856B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065688B (en) * 2013-03-22 2018-09-11 深圳市腾讯计算机***有限公司 A kind of method and device for calling underlying services
CN107562580A (en) * 2017-09-04 2018-01-09 徐秀芝 A kind of Computer Integrated System and failure automatic switching method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1432248A (en) * 2000-03-30 2003-07-23 英特尔公司 Method and device for distributed caching
CN1728697A (en) * 2004-07-31 2006-02-01 西门子(中国)有限公司 Fault-tolerance method in application of request proxy structure of public object
WO2008086077A1 (en) * 2007-01-03 2008-07-17 Raytheon Company Computer storage system
CN201497981U (en) * 2009-04-30 2010-06-02 升东网络科技发展(上海)有限公司 Database failure automatic detecting and shifting system
CN102355596A (en) * 2011-10-11 2012-02-15 浪潮电子信息产业股份有限公司 Cache server deployment method suitable for video services

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6918013B2 (en) * 2001-07-16 2005-07-12 Bea Systems, Inc. System and method for flushing bean cache
CN100428185C (en) * 2003-10-20 2008-10-22 罗得岛及普罗维登斯属地高等教育管理委员会 Bottom-up cache structure for storage servers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1432248A (en) * 2000-03-30 2003-07-23 英特尔公司 Method and device for distributed caching
CN1728697A (en) * 2004-07-31 2006-02-01 西门子(中国)有限公司 Fault-tolerance method in application of request proxy structure of public object
WO2008086077A1 (en) * 2007-01-03 2008-07-17 Raytheon Company Computer storage system
CN201497981U (en) * 2009-04-30 2010-06-02 升东网络科技发展(上海)有限公司 Database failure automatic detecting and shifting system
CN102355596A (en) * 2011-10-11 2012-02-15 浪潮电子信息产业股份有限公司 Cache server deployment method suitable for video services

Also Published As

Publication number Publication date
CN105162856A (en) 2015-12-16
CN102882977B (en) 2015-09-23
CN102882977A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
US11269718B1 (en) Root cause detection and corrective action diagnosis system
Chen Path-based failure and evolution management
CN104993953B (en) The method and apparatus for detecting network service state
KR102268355B1 (en) Cloud deployment infrastructure validation engine
US10459780B2 (en) Automatic application repair by network device agent
CN110221905B (en) Timed task monitoring method, device, system, equipment and storage medium
CN107924360B (en) Diagnostic framework in a computing system
US11182253B2 (en) Self-healing system for distributed services and applications
CN110311837B (en) Online service availability detection method and device and computer equipment
CN107632920A (en) A kind of power transmission and transforming equipment monitoring device deep monitored method
CN104065526A (en) Server fault alarming method and device thereof
US20160266961A1 (en) Trace capture of successfully completed transactions for trace debugging of failed transactions
CN105162856B (en) Network application integrated system and method
CN114338684B (en) Energy management system and method
CN103544271B (en) Load Image in a kind of browser the method and apparatus for processing window
US20180314648A1 (en) Dynamic domain name service caching
CN108073504A (en) For debugging the method, apparatus of distributed system and debugging system
CN109120691A (en) Condition detection method, system, device and the computer-readable medium of operation system
CN112667589B (en) Log management method, device and system
CN114357001A (en) Multi-cluster data query method and device, monitoring platform and storage medium
CN106484741B (en) A kind of method and device of single page application access data collection and transmission
CN116414594A (en) Fault tree updating method, device, computer equipment and storage medium
CN102868565B (en) Network application system and method
Bento et al. A layered framework for root cause diagnosis of microservices
CN106909489B (en) Method and device for testing EventLog state

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190301

Termination date: 20211016

CF01 Termination of patent right due to non-payment of annual fee