CN102904957A - Information updating method and system in high-availability cluster - Google Patents

Information updating method and system in high-availability cluster Download PDF

Info

Publication number
CN102904957A
CN102904957A CN2012103931190A CN201210393119A CN102904957A CN 102904957 A CN102904957 A CN 102904957A CN 2012103931190 A CN2012103931190 A CN 2012103931190A CN 201210393119 A CN201210393119 A CN 201210393119A CN 102904957 A CN102904957 A CN 102904957A
Authority
CN
China
Prior art keywords
webpage
client
information
state
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.)
Pending
Application number
CN2012103931190A
Other languages
Chinese (zh)
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN2012103931190A priority Critical patent/CN102904957A/en
Publication of CN102904957A publication Critical patent/CN102904957A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an information updating method and an information updating system in a high-availability cluster. The method comprises the following steps of: monitoring the state of information which is recorded in a server and displayed on a webpage on a client; and when the state of the information changes, triggering the client to acquire the flow of data which are updated on the webpage locally.

Description

The method and system of lastest imformation in a kind of high availability cluster
Technical field
The present invention relates to computer application field, relate in particular to the method and system of lastest imformation in a kind of high availability cluster.
Background technology
The key of high availability cluster technology is to improve the availability that service externally is provided by the mode of computer cluster, common high available techniques backs up mutually by multiple servers, thereby when guaranteeing the software fault on server failure or server are arranged, other server can be taken over business at once, thereby guarantees professional relative continuity in user level.The mission critical of high availability cluster is that the resource on the server is monitored, when faulty resource, switch, but in order to allow the convenient configuration utility highly available cluster system of user's energy, common high available software system all can comprise a configuration management software, by this software, the user can realize configuration and the management of high availability cluster.
Highly available cluster system is the system of a more complicated, usually is comprised of several computer nodes, and is moving various resources on each computer node.Resource on the computer node varies, and the state of resource (for example, stopping, moving, start neutralization stops medium) again along with actual conditions change, therefore not only by the configuration management page resource is managed, and preferably can by the state of real-time each resource of demonstration of the page, guarantee that the keeper can process timely to cluster.
Because high availability cluster often operates in different operating system platforms, in order to realize the cross-platform characteristic of administration page, usually administration page is designed to the B/S structure program based on Web.With regard to present technology, there are two kinds of technology can realize that server data pushes, a kind of is by Flash XMLSocket, and another kind is by Java Applet plug-in unit, and the shortcoming of these two kinds of technology is plug-in unit to be installed at the computer of working procedure.
Based on AJAX (Asynchronous JavaScript and XML, asynchronous java script and XML) technology can realize regularly asking for to server the data such as state information, but the shortcoming of this method is that regularly asking for data need to consume certain bandwidth, and fixed time interval causes state information updating not prompt enough.
Summary of the invention
The invention provides the method and system of lastest imformation in a kind of high availability cluster, the technical problem that solve is that the state of information upgrades untimely problem.
For solving the problems of the technologies described above, the invention provides following technical scheme:
The method of lastest imformation in a kind of high availability cluster comprises:
The state of the information that webpage that record on the server and on client is shown monitors;
When the state of information changes, trigger client is obtained flow process from the data of upgrading in this webpage to this locality.
Preferably, described method also has following features: the state of the information that webpage that record on the server and on client is shown monitors, comprising:
Obtain the information that the user is concerned about on the client on this webpage;
The information of only user on the described client being concerned about on this webpage monitors.
Preferably, described method also has following features: described method also comprises:
The full detail that monitors on this webpage with this client is as one group, and for a sign is put in this assembly, and the initial condition that disposes this sign is for without update mode;
Notify described client described sign;
Described triggering client is obtained the flow process of the data of upgrading in this webpage to this locality, comprising:
The state of described sign is changed to renewable state.
The method of lastest imformation in a kind of high availability cluster comprises:
After detecting the server triggers local page and carrying out the information of refresh operation, obtain the data of upgrading in the described webpage to server.
Preferably, described method also has following features:
Described method also comprises:
Obtain the corresponding sign of full detail that server monitors on this local webpage;
It is described that to carry out the state that the information of refresh operation refers to detect this sign be renewable state when detecting the server triggers local page.
The system of lastest imformation in a kind of high availability cluster comprises:
Monitoring arrangement, the state that is used for information that webpage that record on the server and on client is shown monitors;
Processing unit is used for triggering client is obtained flow process from the data of upgrading in this webpage to this locality when the state of information changes.
Preferably, described system also has following features: described monitoring arrangement comprises:
Acquisition module is used for obtaining the information that the user is concerned about on the client on this webpage;
Monitor module, the information that is used for only user on the described client being concerned about on this webpage monitors.
Preferably, described system also has following features: described system also comprises:
Management devices, the full detail that is used for monitoring on this webpage with this client be as one group, and for a sign is put in this assembly, and the initial condition that disposes this sign is for without update mode;
Notifying device links to each other with described management devices, notifies described client described sign;
Wherein, described processing unit is used for state with described sign and changes to renewable state and trigger client is obtained flow process from the data that this webpage upgrades to this locality.
The system of lastest imformation in a kind of high availability cluster,, comprising:
The first deriving means is used for obtaining the data of upgrading in the described webpage to server after detecting the server triggers local page and carrying out the information of refresh operation.
Preferably, described system also has following features: described system also comprises:
The second deriving means is used for obtaining the corresponding sign of full detail that server monitors on this local webpage;
Wherein, to carry out the state that the information of refresh operation refers to detect this sign be renewable state to described the first deriving means when detecting the server triggers local page.
Compared with prior art, do not increase in client under the prerequisite of plug-in unit, modification by handling process is to the detection of the renewal of information state in the webpage, and the data of upgrading in the webpage are not by server push, but obtained by user end to server, realize the renewal promptly and accurately of information.
Description of drawings
Fig. 1 is the schematic flow sheet of the embodiment of the method for lastest imformation in the high availability cluster provided by the invention;
Fig. 2 is the structural representation of the system embodiment of lastest imformation in the high availability cluster provided by the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.Need to prove that in the situation of not conflicting, the embodiment among the application and the feature among the embodiment be combination in any mutually.
Fig. 1 is the schematic flow sheet of the embodiment of the method for lastest imformation in the high availability cluster provided by the invention.Embodiment of the method shown in Figure 1 comprises:
The state of step 101, information that webpage that record on the server and on client is shown monitors;
For instance, when client conducted interviews to server, if show certain information on the client terminal web page, such as current this information of online number, then server can be monitored this information, and whether state corresponding to this information is changed manages;
Step 102, when the state of information changes, trigger client is obtained flow process from the data of upgrading in this webpage to this locality.
Compared with prior art, do not increase in client under the prerequisite of plug-in unit, modification by handling process is to the detection of the renewal of information state in the webpage, and the data of upgrading in the webpage are not by server push, but obtained by user end to server, realize the renewal promptly and accurately of information.
Wherein, the state of the information that webpage that record on the server and on client is shown monitors, comprising:
Obtain the information that the user is concerned about on the client on this webpage;
The information of only user on the described client being concerned about on this webpage monitors.
By obtaining the interested information of user, realize purposive obtaining, reduce the effective and reasonable use network bandwidth of information updating blindly.
Optionally, described method also comprises:
The full detail that monitors on this webpage with this client is as one group, and for a sign is put in this assembly, and the initial condition that disposes this sign is for without update mode;
Notify described client described sign;
Described triggering client is obtained the flow process of the data of upgrading in this webpage to this locality, comprising:
The state of described sign is changed to renewable state.
As seen from the above, by a sign is set at server, can make things convenient for the state of the information that the client query user is concerned about whether to change, in time carry out the Data Update operation, with in the prior art regularly inquiry compare, promptness is good.
Corresponding with said method, the present invention also provide a kind of in high availability cluster the method for lastest imformation, comprising:
After detecting the server triggers local page and carrying out the information of refresh operation, obtain the data of upgrading in the described webpage to server.
Optionally, described method also comprises:
Obtain the corresponding sign of full detail that server monitors on this local webpage;
It is described that to carry out the state that the information of refresh operation refers to detect this sign be renewable state when detecting the server triggers local page.
Compared with prior art, do not increase in client under the prerequisite of plug-in unit, modification by handling process is to the detection of the renewal of information state in the webpage, and the data of upgrading in the webpage are not by server push, but obtained by user end to server, realize the renewal promptly and accurately of information.
The below is described further embodiment of the method provided by the invention with an application example:
Following application example comprises step 1~8, wherein:
Step 1, after browser on the client is opened a certain page, client is obtained the information that the user is concerned about in each information on this page;
For example, the information that shows on the page comprises A, B, C and D etc., but the information that different user is paid close attention to is different, can satisfy user's personal needs by obtaining the employed information one of this client of current usefulness, two can reduce again the number of maintenance information, such as, to some users at all careless information upgrade, can't bring convenience in the use to the user, just increase on foot network traffics.
The information that step 2, user end to server end registered user are concerned about;
Be the information of being concerned about if get access to user selection A and C, then will obtain the result and notify to server.
Step 3, server are after the registration of receiving this client, for the full detail of this registration distributes a state always to identify;
As one group, distribute a state always to identify information A and C, the total sign of wherein said state has two states, is respectively renewable state and without update mode; As long as state corresponding to any information changes in the group, will trigger this state and always be designated renewable state, on the contrary, if state corresponding to any information all changes in the group, the total sign of this state is changed to without update mode; Certainly, in case server detect client to oneself the registration information updating finish after, it is without update mode that this state always identifies from renewable state variation.
The corresponding state of full detail of step 4, this registration of server notification client always identifies;
Because server can respond the registration request of a lot of client end, can always identify state for guaranteeing each client, server can send to client with the total sign of state.
Step 5, server end monitor the full detail of this client registration;
Step 6, when the state of the information that detects the registration of this client changes, the state of the total sign of state is switched to renewable state;
For example, if variation has occured the property value of information A, as becoming 90 from 100, always be designated renewable state with regard to the triggering state.
Step 7, client when detecting status indicator and be renewable state, operate to the server request Data Update in the total identification procedure of the state of monitor server end;
After step 8, server are received the request of data of client, the state that the information of state information change occurs is sent, and the state of the total sign of this state that resets is without update mode.
In this example, variation has occured in the state of information A, is that 90 information is to client with regard to the property value that sends information A; After customer end A receives this information, available with regard to not upgrading for client, so server can be set to without update mode by the total state that identifies of state.
In above-mentioned application example, have following content to describe:
Client is the program by the Web technological development, can pass through the scripts such as ASP, JSP or PHP and realize, but be not limited to above-mentioned script.
The state of described server is kept in the database, and by different table spaces data is preserved.State in the database upgrades by high availability cluster software systems.
Described server end is distributed in each node of high availability cluster, and the status data of each node keeps absolute consistent, thus guarantee certain node delay still can be correct in the situation of machine the state information that gets access to cluster.Simultaneously, the Web end is accessed by Floating IP address the access of server end, guarantees can to conduct interviews by unified IP address when server is delayed machine.
Fig. 2 is the structural representation of the system embodiment of lastest imformation in the high availability cluster provided by the invention.System shown in Figure 2 embodiment comprises:
Monitoring arrangement 201, the state that is used for information that webpage that record on the server and on client is shown monitors;
Processing unit 202 is used for triggering client is obtained flow process from the data of upgrading in this webpage to this locality when the state of information changes.
Optionally, the state of the information that webpage that record on the server and on client is shown monitors, comprising:
Acquisition module is used for obtaining the information that the user is concerned about on the client on this webpage;
Monitor module, the information that is used for only user on the described client being concerned about on this webpage monitors.
Optionally, described system also comprises:
Management devices, the full detail that is used for monitoring on this webpage with this client be as one group, and for a sign is put in this assembly, and the initial condition that disposes this sign is for without update mode;
Notifying device links to each other with described management devices, notifies described client described sign;
Wherein, described processing unit is used for state with described sign and changes to renewable state and trigger client is obtained flow process from the data that this webpage upgrades to this locality.
Compared with prior art, do not increase in client under the prerequisite of plug-in unit, modification by handling process is to the detection of the renewal of information state in the webpage, and the data of upgrading in the webpage are not by server push, but obtained by user end to server, realize the renewal promptly and accurately of information.
Corresponding with said system, the present invention also provides the system of lastest imformation in a kind of high availability cluster,, comprising:
The first deriving means is used for obtaining the data of upgrading in the described webpage to server after detecting the server triggers local page and carrying out the information of refresh operation.
Optionally, described system also comprises:
The second deriving means is used for obtaining the corresponding sign of full detail that server monitors on this local webpage;
Wherein, to carry out the state that the information of refresh operation refers to detect this sign be renewable state to described the first deriving means when detecting the server triggers local page.
Compared with prior art, do not increase in client under the prerequisite of plug-in unit, modification by handling process is to the detection of the renewal of information state in the webpage, and the data of upgrading in the webpage are not by server push, but obtained by user end to server, realize the renewal promptly and accurately of information.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection range of claim.

Claims (10)

1. the method for lastest imformation in the high availability cluster is characterized in that, comprising:
The state of the information that webpage that record on the server and on client is shown monitors;
When the state of information changes, trigger client is obtained flow process from the data of upgrading in this webpage to this locality.
2. method according to claim 1 is characterized in that, the state of the information that webpage that record on the server and on client is shown monitors, comprising:
Obtain the information that the user is concerned about on the client on this webpage;
The information of only user on the described client being concerned about on this webpage monitors.
3. method according to claim 1 is characterized in that, described method also comprises:
The full detail that monitors on this webpage with this client is as one group, and for a sign is put in this assembly, and the initial condition that disposes this sign is for without update mode;
Notify described client described sign;
Described triggering client is obtained the flow process of the data of upgrading in this webpage to this locality, comprising:
The state of described sign is changed to renewable state.
4. the method for lastest imformation in the high availability cluster is characterized in that, comprising:
After detecting the server triggers local page and carrying out the information of refresh operation, obtain the data of upgrading in the described webpage to server.
5. method according to claim 4 is characterized in that:
Described method also comprises:
Obtain the corresponding sign of full detail that server monitors on this local webpage;
It is described that to carry out the state that the information of refresh operation refers to detect this sign be renewable state when detecting the server triggers local page.
6. the system of lastest imformation in the high availability cluster is characterized in that, comprising:
Monitoring arrangement, the state that is used for information that webpage that record on the server and on client is shown monitors;
Processing unit is used for triggering client is obtained flow process from the data of upgrading in this webpage to this locality when the state of information changes.
7. system according to claim 6 is characterized in that, described monitoring arrangement comprises:
Acquisition module is used for obtaining the information that the user is concerned about on the client on this webpage;
Monitor module, the information that is used for only user on the described client being concerned about on this webpage monitors.
8. system according to claim 6 is characterized in that, described system also comprises:
Management devices, the full detail that is used for monitoring on this webpage with this client be as one group, and for a sign is put in this assembly, and the initial condition that disposes this sign is for without update mode;
Notifying device links to each other with described management devices, notifies described client described sign;
Wherein, described processing unit is used for state with described sign and changes to renewable state and trigger client is obtained flow process from the data that this webpage upgrades to this locality.
9. the system of lastest imformation in the high availability cluster is characterized in that, comprising:
The first deriving means is used for obtaining the data of upgrading in the described webpage to server after detecting the server triggers local page and carrying out the information of refresh operation.
10. system according to claim 9 is characterized in that, described system also comprises:
The second deriving means is used for obtaining the corresponding sign of full detail that server monitors on this local webpage;
Wherein, to carry out the state that the information of refresh operation refers to detect this sign be renewable state to described the first deriving means when detecting the server triggers local page.
CN2012103931190A 2012-10-16 2012-10-16 Information updating method and system in high-availability cluster Pending CN102904957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103931190A CN102904957A (en) 2012-10-16 2012-10-16 Information updating method and system in high-availability cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103931190A CN102904957A (en) 2012-10-16 2012-10-16 Information updating method and system in high-availability cluster

Publications (1)

Publication Number Publication Date
CN102904957A true CN102904957A (en) 2013-01-30

Family

ID=47576992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103931190A Pending CN102904957A (en) 2012-10-16 2012-10-16 Information updating method and system in high-availability cluster

Country Status (1)

Country Link
CN (1) CN102904957A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156465A (en) * 2014-08-22 2014-11-19 金石易诚(北京)科技有限公司 Real-time webpage synchronization and background distributed data storage system
CN107103004A (en) * 2016-02-23 2017-08-29 阿里巴巴集团控股有限公司 Data processing method, apparatus and system in webpage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020152239A1 (en) * 2001-04-16 2002-10-17 David Bautista-Lloyd Method, system, and program for providing data updates to a page including multiple regions of dynamic content
US20050119910A1 (en) * 2003-12-01 2005-06-02 International Business Machines Corporation Content update notification
CN101782913A (en) * 2009-06-23 2010-07-21 北京搜狗科技发展有限公司 Update notifying method and browser
CN101782912A (en) * 2009-06-23 2010-07-21 北京搜狗科技发展有限公司 Method and system for information prompt

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020152239A1 (en) * 2001-04-16 2002-10-17 David Bautista-Lloyd Method, system, and program for providing data updates to a page including multiple regions of dynamic content
US20050119910A1 (en) * 2003-12-01 2005-06-02 International Business Machines Corporation Content update notification
CN101782913A (en) * 2009-06-23 2010-07-21 北京搜狗科技发展有限公司 Update notifying method and browser
CN101782912A (en) * 2009-06-23 2010-07-21 北京搜狗科技发展有限公司 Method and system for information prompt

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156465A (en) * 2014-08-22 2014-11-19 金石易诚(北京)科技有限公司 Real-time webpage synchronization and background distributed data storage system
CN107103004A (en) * 2016-02-23 2017-08-29 阿里巴巴集团控股有限公司 Data processing method, apparatus and system in webpage

Similar Documents

Publication Publication Date Title
US10152382B2 (en) Method and system for monitoring virtual machine cluster
US10048996B1 (en) Predicting infrastructure failures in a data center for hosted service mitigation actions
US9450700B1 (en) Efficient network fleet monitoring
CN110865997A (en) Online identification method for hidden danger of power system equipment and application platform thereof
CN104408071A (en) Distributive database high-availability method and system based on cluster manager
CN102360324B (en) Failure recovery method and equipment for failure recovery
CN104486445A (en) Distributed extendable resource monitoring system and method based on cloud platform
CN111949444A (en) Data backup and recovery system and method based on distributed service cluster
CN102437935B (en) WEB application monitoring method and equipment
WO2014166265A1 (en) Method, terminal, cache server and system for updating webpage data
CN104065517A (en) Distributed-system software configuration management method and system
WO2016183967A1 (en) Failure alarm method and apparatus for key component, and big data management system
CN112612545A (en) Configuration hot loading system, method, equipment and medium of server cluster
US9596313B2 (en) Method, terminal, cache server and system for updating webpage data
CN109783151B (en) Method and device for rule change
CN102394914A (en) Cluster brain-split processing method and device
CN105554074A (en) NAS resource monitoring system and monitoring method based on RPC communication
CN102664747A (en) Cloud calculating platform system
CN108052640B (en) Linkage method and device for state information change
CN105100185A (en) System and method for adaptively integrating a database state notification service with a distributed transactional middleware machine
CN117130730A (en) Metadata management method for federal Kubernetes cluster
CN116302352A (en) Cluster disaster recovery processing method and device, electronic equipment and storage medium
CN102904957A (en) Information updating method and system in high-availability cluster
CN111797352A (en) Method and device for sealing account and sealing system
CN113254245A (en) Fault detection method and system for storage cluster

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130130