CN108965369A - A kind of method for pushing and system of server state - Google Patents
A kind of method for pushing and system of server state Download PDFInfo
- Publication number
- CN108965369A CN108965369A CN201711174190.9A CN201711174190A CN108965369A CN 108965369 A CN108965369 A CN 108965369A CN 201711174190 A CN201711174190 A CN 201711174190A CN 108965369 A CN108965369 A CN 108965369A
- Authority
- CN
- China
- Prior art keywords
- server
- state
- information
- management
- management 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides a kind of method for pushing of server state and systems, are applied to view networking, which comprises management server sends server state acquisition request to primary server;The management server receives the status information for the slave server that the primary server is returned based on the request;The management server obtains the communication information from server;The management server according to the state information and the communication information, determines the current state from server;If the current state from server is different from the state stored in the management server, then the management server pushes state change information to management client, it facilitates operation maintenance personnel and understands the state of which server in time and changed, improve the monitoring efficiency to server, facilitate operation maintenance personnel and finds the failure that server occurs in time, and failure is solved, ensure that view networking service stablizes operation.
Description
Technical field
The present invention relates to view networking technology field, method for pushing and a kind of service more particularly to a kind of server state
The supplying system of device state.
Background technique
It is the important milestone of network Development depending on networking, being one can be realized real-time high-definition video transmission, will be numerous mutual
Working application pushes HD video, the aspectant network system of high definition to.
In view networking, a variety of view networking services may be implemented.For example, video conference, videophone, video monitoring, hair
Cloth or watch live streaming etc..In order to guarantee being normally carried out for business, operation maintenance personnel needs the operation to each server in time
State is monitored, it is ensured that is in presence depending on networked server accordingly.
But with the continuous development of view networking service, the terminal device of access view networking is also more and more, correspondingly,
It is also more and more depending on the server in networking.In the prior art, operation maintenance personnel is supervised in the operating status to each server
When control, needs to carry out manual refreshing in administration interface, then check the operating status of server respectively.In order to accelerate processing speed
Degree, administration interface can only obtain sub-fraction data when obtaining server data every time, therefore, if to check whole clothes
The operating status of business device, then need to carry out multiple manual refreshing, larger workload.On the other hand, in the operation to server
After state is refreshed, it is also necessary to which operation maintenance personnel checks whether the operating status of each server is normal one by one.Since view is networked
In server it is more and more, but also the operating status to server is monitored by way of checking confirmed one by one
Efficiency it is extremely low.It, also just can not be in time to event if operation maintenance personnel fails to find in time after some servers off-line
Barrier is handled, and being normally carried out depending on networking service is seriously affected.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of method for pushing of the server state to solve the above problems and a kind of corresponding supplying system of server state.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of method for pushing of server state, are applied to view
Networking, the view networking includes primary server, from server, management server, and, management client;The described method includes:
Management server sends server state acquisition request to primary server;
The management server receives the status information for the slave server that the primary server is returned based on the request;
The management server obtains the communication information from server;
The management server according to the state information and the communication information, determines the current state from server;
If the current state from server is different from the state stored in the management server, the management
Server pushes state change information to management client.
Optionally, the management server receives the state for the slave server that the primary server is returned based on the request
The step of information includes:
When the primary server receives the request, the status information of the slave server of itself storage is obtained;
The primary server is sent to the management server from the status information of server for described.
Optionally, before the step of status information of the slave server of itself storage is obtained in the primary server, further includes:
After the networking from server, the primary server record status information from server, the main clothes
Business device and between server maintain have heartbeat message;
The primary server updates the status information from server according to the heartbeat message.
Optionally, the management server acquisition is described includes: from the step of communication information of server
The management server obtains the temporal information from server.
Optionally, the status information includes presence or off-line state, and the communication information is temporal information, described
Management server according to the state information and the communication information, determines and described includes: from the step of current state of server
When it is described from the status information of server be presence, and the management server get it is described from server
Temporal information when, determine it is described from the current state of server be presence;
When it is described from the status information of server be off-line state, or, the management server have not been obtained it is described from clothes
Be engaged in device temporal information when, determine it is described from the current state of server be off-line state.
Optionally, if the current state from server with the state that is stored in the management server not
Together, then the management server to management client push state change information the step of include:
If it is described from the current state of server be presence, and the state stored in the management server be from
Linear state, then the management server restores information from the state of server to management client push is described;
If it is described from the current state of server be off-line state, and the state stored in the management server be
Linear state, then the management server pushes the status alert information from server to management client.
Optionally, after the step of management server pushes state change information to management client, further includes:
The management server updates the state from server of itself storage.
Optionally, after the step of management server pushes state change information to management client, further includes:
The management client shows the updated current shape from server according to the state change information
State.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of supplying systems of server state, are applied to view
Networking, the system comprises primary server, from server, management server, and, management client;
The management server includes:
Request sending module, for sending server state acquisition request to primary server;
Status information receiving module, for receiving the state for the slave server that the primary server is returned based on the request
Information;
The communication information obtains module, for obtaining the communication information from server;
Current state determining module, for according to the state information and the communication information, determining the working as from server
Preceding state;
State change information pushing module, if for the current state from server and in the management server
The state of storage is different, then pushes state change information to management client.
Optionally, the primary server includes:
State information acquisition module, the state of the slave server for upon receipt of the request, obtaining itself storage
Information;
Status information sending module, for being sent to the management server from the status information of server for described.
Optionally, the primary server further include:
Status information logging modle, for recording the status information from server after the networking from server,
The primary server and between server maintain have heartbeat message;
State information updating module, for updating the status information from server according to the heartbeat message.
Optionally, the communication information acquisition module includes:
Temporal information acquisition submodule, for obtaining the temporal information from server.
Optionally, the status information includes presence or off-line state, and the communication information is temporal information, described
Current state determining module includes:
Presence determines submodule, for when it is described from the status information of server be presence, and the management
Server get it is described from the temporal information of server when, determine it is described from the current state of server be presence;
Off-line state determines submodule, for when it is described from the status information of server be off-line state, or, the management
Server have not been obtained it is described from the temporal information of server when, determine it is described from the current state of server be off-line state.
Optionally, the state change information pushing module includes:
State restores information and pushes submodule, if for it is described from the current state of server be presence, and in institute
Stating the state stored in management server is off-line state, then restores to believe from the state of server to management client push is described
Breath;
Status alert information pushes submodule, if for it is described from the current state of server be off-line state, and in institute
Stating the state stored in management server is presence, then believes to management client push is described from the status alert of server
Breath.
Optionally, the management server further include:
Current state update module, for after pushing state change information to management client, updating itself storage
The current state from server.
Optionally, the management client includes:
Current state display module, for showing updated described from server according to the state change information
Current state.
Compared with the background art, the embodiment of the present invention includes following advantages:
The embodiment of the present invention, management server are each from the state of server letter by what is recorded in acquisition primary server
Breath, and by directly being communicated with from server, it can determine each current state from server.When working as from server
When the state difference formerly stored in preceding state and management server, it is believed that become from the current state of server
Change, state change information can be sent to management client, facilitate the state which server is operation maintenance personnel understand in time
Changed, solves and need operation maintenance personnel repeatedly to refresh and check one by one in the prior art could to obtain each server
The problem of state change, improves the monitoring efficiency to server, facilitates operation maintenance personnel and finds the event that server occurs in time
Barrier, and failure is solved, ensure that view networking service stablizes operation.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the method for pushing embodiment one of server state of the invention;
Fig. 2 is a kind of cascade schematic diagram of view networked devices of the invention;
Fig. 3 is a kind of step flow chart of the method for pushing embodiment two of server state of the invention;
Fig. 4 is a kind of structural block diagram of the supplying system embodiment of server state of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step flow chart of the method for pushing embodiment one of server state of the invention is shown, is had
Body may include steps of:
Step 101, management server sends server state acquisition request to primary server;
It should be noted that this method can be applied in view networking.It is the important milestone of network Development depending on networking, is
One can be realized real-time high-definition video transmission, push numerous Internet applications to HD video, the aspectant network of high definition
System.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
In embodiments of the present invention, depending on networking in may include primary server, from server, management server, management visitor
Family end, and, depending on networked terminals.
As shown in Fig. 2, being a kind of cascade schematic diagram of view networked devices of the invention.View networking in, primary server and
It is necessary to realizing various view networking services from server.Wherein, primary server can be connect with multiple from server, from clothes
Multiple view networked terminals can be accessed under business device, be cascade connection between three.Management server can be used for managing above-mentioned view
Networked devices.For example, essential information, networking, the logout of each view networked devices of management, and be monitored to depending on networked devices,
Guarantee view networking service stablizes operation.Management client can be a pc client or mobile client, it can connect
To management server, it is supplied to operation maintenance personnel and one visual operation interface is provided.Operation maintenance personnel is in management client
Operation can all change into corresponding instruction and be sent to management server, then be sent to view networked devices by management server.
In embodiments of the present invention, management server can periodically be sent to primary server according to the time of setting
Server state acquisition request, to request primary server to be sent to pipe from the status information of server for each of itself is stored in
Manage server.
It should be noted that if management server can carry out normal communication between primary server, it may be considered that
The primary server is currently presence.
Step 102, the management server receives the shape for the slave server that the primary server is returned based on the request
State information;
In embodiments of the present invention, it when primary server receives the request of management server transmission, can obtain first
Then the status information of the slave server of itself storage by regarding networking protocol, will be sent to pipe from the status information of server
Manage server.
In embodiments of the present invention, after networking from server, i.e., after server access primary server, primary server is just
It can recorde the status information from server.Meanwhile after networking from server, primary server and it can be tieed up between server
Hold heartbeat message.Primary server can be according to heartbeat message between the two, status information of the real-time update from server.
For example, after networking from server, primary server can the state recording first by this from server be in threadiness
State.When heartbeat between the two always exists, the state that can hold the record is presence.If in heartbeat between the two
Disconnected, then it is off-line state that primary server, which can update the state from server,.
Step 103, the management server obtains the communication information from server;
In embodiments of the present invention, management server can be communicated directly between server, without logical
Cross primary server.
For example, management server directly can send a request command to from server, if received from server
The request command, and fed back response command to management server, it may be considered that management server and from energy between server
Enough normal communications.
If failing to receive the request command from server to after sending request command from server in management server,
Alternatively, receiving the request command from server, but it is not able to normally then may be used to management server feedback response order
To think to be unable to normal communication therebetween.
Step 104, the management server according to the state information and the communication information, determines the working as from server
Preceding state;
In embodiments of the present invention, management server can be according to each shape from server obtained from primary server
Whether state information and management server itself can realize normal communication with from server, each from server to determine
Current state.
In the concrete realization, as long as the status information in the slave server obtained at primary server is shown as in threadiness
State, and management server can with this from server realize normal communication when, can determine the current state from server
For presence.Otherwise, it should be determined that should be off-line state from the current state of server.
Step 105, if the current state from server is different from the state stored in the management server,
The management server pushes state change information to management client.
In embodiments of the present invention, after management server periodically determines each current state from server,
The current state from server can be compared with the state stored in the management server.It, can if the two is identical
To think that this does not change from current state of the server within this period.Otherwise, it is believed that within this period, from
The current state of server is changed.For example, becoming off-line state from presence, alternatively, becoming from off-line state
Linear state.
If changed from the current state of server, management server can push corresponding to management client
State change information.
In embodiments of the present invention, management server is by obtaining each state from server recorded in primary server
Information, and by directly being communicated with from server, it can determine each current state from server.When from server
When the state difference formerly stored in current state and management server, it is believed that become from the current state of server
Change, state change information can be sent to management client, facilitate the state which server is operation maintenance personnel understand in time
Changed, solves and need operation maintenance personnel repeatedly to refresh and check one by one in the prior art could to obtain each server
The problem of state change, improves the monitoring efficiency to server, facilitates operation maintenance personnel and finds the event that server occurs in time
Barrier, and failure is solved, ensure that view networking service stablizes operation.
Referring to Fig. 3, a kind of step flow chart of the method for pushing embodiment two of server state of the invention is shown, is had
Body may include steps of:
Step 301, management server sends server state acquisition request to primary server;
It should be noted that this method can be applied to view networking, this depending on may include primary server in networking, from service
Device, management server, management client, and, depending on networked terminals.
In embodiments of the present invention, management server can periodically be sent to primary server according to the time of setting
Server state acquisition request, to request primary server to be sent to pipe from the status information of server for each of itself is stored in
Manage server.
Step 302, when the primary server receives the request, the state letter of the slave server of itself storage is obtained
Breath;
In embodiments of the present invention, it when primary server receives the request of management server transmission, can obtain first
The status information of the slave server of itself storage.
It can be after accessing primary server from server from the status information of server, primary server is according to therebetween
Heartbeat message record.
For example, after networking from server, it is presence that primary server, which can recorde the state from server,.If
Primary server and from unanimously maintaining have heartbeat message between server, then primary server can hold the record the shape from server
State is presence.Once heartbeat message between the two interrupts, then primary server can update this from the state of server and be
Off-line state.
Step 303, the primary server is sent to the management server from the status information of server for described;
When primary server itself is stored it is each extracted from the status information of server after, can pass through view networking
Above-mentioned status information is sent to management server by agreement.
Step 304, the management server obtains the temporal information from server;
In embodiments of the present invention, management server, can in order to which be confirmed whether can be with each from server normal communication
With to from server transmission time information acquisition request, request is sent to management service from server by the system time of itself
Device.
Step 305, when it is described from the status information of server be presence, and the management server get it is described
When from the temporal information of server, determine it is described from the current state of server be presence;
In embodiments of the present invention, if management server can get the temporal information from server, can recognize
For management server can with this from server normal communication.
At this point, if recording the state from server from the status information obtained from primary server is presence,
Can then determine this from the current state of server be online.
Step 306, when it is described from the status information of server be off-line state, or, the management server has not been obtained
It is described from the temporal information of server when, determine it is described from the current state of server be off-line state;
In embodiments of the present invention, if management server fails to get the temporal information from server, can recognize
For management server can not with this from server normal communication, then can determine this from the current state of server be offline.
It should be noted that even if management server can get the temporal information from server, but from primary server
The state for locating to record in the status information obtained this from server is off-line state, then there is still a need for determine the working as from server
Preceding state is offline.
Step 307, it if described from the current state of server is presence, and stores in the management server
State is off-line state, then the management server restores information from the state of server to management client push is described;
It in embodiments of the present invention, can after determining the current state from server according to step 305 or step 306
Will should be compared from the current state of server with the state stored in the management server.It, can be with if the two is identical
Think that this does not change from current state of the server within this period.Otherwise, it is believed that within this period, from clothes
The current state of business device is changed.
In the concrete realization, if from the current state of server be presence, and in the management server formerly storage
State be off-line state, it may be considered that from server by first off-line state presence should be reverted to.At this point, management
Server, which can be pushed to management client from the state of server, restores information.
Step 308, it if described from the current state of server is off-line state, and stores in the management server
State is presence, then the management server pushes the status alert information from server to management client;
If being off-line state from the current state of server, and the state formerly stored in the management server is in threadiness
State, it may be considered that off-line state should be changed to from server by first presence.At this point, management server can be to pipe
Manage status alert information of the client push from server.
It should be noted that management server is also after management server pushes state change information to management client
The state of the slave server of itself storage can be updated.It is updated to can be used as under management server from the state of server
The state for the slave server that one period was compared formerly store.
Step 309, the management client shows updated described from server according to the state change information
Current state.
In embodiments of the present invention, when management client receives the state change of the slave server of management server transmission
After information, can be presented in updated in customer terminal webpage from the current state of server, so as to operation maintenance personnel can and
The each state change situation from server of Shi Faxian.
In embodiments of the present invention, management server is by obtaining each shape from server recorded in primary server
State information, and judge whether with each mode for capableing of normal communication from server, determine each current state from server.
When from server current state and previous determination it is each from the state difference of server when, can be sent to management client
State change information.Management client can be after receiving above- mentioned information, by the updated current state exhibition from server
It in present customer terminal webpage, facilitates operation maintenance personnel and understands the state of which server in time and changed, improve to clothes
The monitoring efficiency of business device facilitates operation maintenance personnel and finds the failure that server occurs in time, and solves failure, ensure that view networking
Business stablizes operation.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 4, a kind of structural block diagram of the supplying system embodiment of server state of the invention, the system are shown
System 400 includes primary server 410, from server 420, management server 430, and, management client 440.
Wherein, the management server 430 can specifically include following module:
Request sending module, for sending server state acquisition request to primary server 410;
Status information receiving module, the slave server 420 returned for receiving the primary server 410 based on the request
Status information;
The communication information obtains module, for obtaining the communication information from server 420;
Current state determining module is used for according to the state information and the communication information, determination is described from server 420
Current state;
State change information pushing module, if for the current state from server 420 and in the management service
The state stored in device 430 is different, then pushes state change information to management client 440.
In embodiments of the present invention, the primary server 410 can specifically include following module:
State information acquisition module, the shape of the slave server 420 for upon receipt of the request, obtaining itself storage
State information;
Status information sending module, for the status information from server 420 to be sent to the management server
430。
In embodiments of the present invention, the primary server 410 can also include following module:
Status information logging modle, for recording the shape from server 420 after the networking from server 420
State information, the primary server 410 and between server 420 maintain have heartbeat message;
State information updating module, for updating the status information from server 420 according to the heartbeat message.
In embodiments of the present invention, the communication information acquisition module includes:
Temporal information acquisition submodule, for obtaining the temporal information from server 420.
In embodiments of the present invention, the status information includes presence or off-line state, when the communication information is
Between information, the current state determining module includes:
Presence determines submodule, for when it is described from the status information of server 420 be presence, and the pipe
Reason server 430 get it is described from the temporal information of server 420 when, determine and described be from the current state of server 420
Presence;
Off-line state determines submodule, for when it is described from the status information of server 420 be off-line state, or, described
Management server 430 have not been obtained it is described from the temporal information of server 420 when, determine the current shape from server 420
State is off-line state.
In embodiments of the present invention, the state change information pushing module includes:
State restore information push submodule, if for it is described from the current state of server 420 be presence, and
The state stored in the management server 430 is off-line state, then pushes to management client 440 described from server 420
State restore information;
Status alert information push submodule, if for it is described from the current state of server 420 be off-line state, and
The state stored in the management server 430 is presence, then pushes to management client 440 described from server 420
Status alert information.
In embodiments of the present invention, the management server 430 can also include following module:
Current state update module, for after pushing state change information to management client 440, updating itself storage
The current state from server 420.
In embodiments of the present invention, the management client 440 can specifically include following module:
Current state display module, for showing updated described from server 420 according to the state change information
Current state.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
The push system of method for pushing to a kind of server state provided by the present invention and a kind of server state above
System, is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, above
The explanation of embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general skill of this field
Art personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this
Description should not be construed as limiting the invention.
Claims (10)
1. a kind of method for pushing of server state is applied to view networking, which is characterized in that the view networking includes main service
Device, from server, management server, and, management client;The described method includes:
Management server sends server state acquisition request to primary server;
The management server receives the status information for the slave server that the primary server is returned based on the request;
The management server obtains the communication information from server;
The management server according to the state information and the communication information, determines the current state from server;
If the current state from server is different from the state stored in the management server, the management service
Device pushes state change information to management client.
2. the method according to claim 1, wherein the management server, which receives the primary server, is based on institute
State request return slave server status information the step of include:
When the primary server receives the request, the status information of the slave server of itself storage is obtained;
The primary server is sent to the management server from the status information of server for described.
3. according to the method described in claim 2, it is characterized in that, obtaining the slave server of itself storage in the primary server
Status information the step of before, further includes:
After the networking from server, the primary server record status information from server, the primary server
There is heartbeat message with from maintenance between server;
The primary server updates the status information from server according to the heartbeat message.
4. the method according to claim 1, wherein the management server obtains the communication from server
The step of information includes:
The management server obtains the temporal information from server.
5. according to the method described in claim 4, it is characterized in that, the status information includes presence or off-line state,
The communication information is temporal information, and the management server is according to the state information and the communication information, determination are described from clothes
Be engaged in device current state the step of include:
When it is described from the status information of server be presence, and the management server get it is described from server when
Between information when, determine it is described from the current state of server be presence;
When it is described from the status information of server be off-line state, or, the management server have not been obtained it is described from server
Temporal information when, determine it is described from the current state of server be off-line state.
If 6. according to the method described in claim 5, it is characterized in that, the current state from server with described
The step of state stored in management server is different, then the management server pushes state change information to management client
Include:
If it is described from the current state of server be presence, and the state stored in the management server be offline shape
State, then the management server restores information from the state of server to management client push is described;
If it is described from the current state of server be off-line state, and the state stored in the management server be in threadiness
State, then the management server pushes the status alert information from server to management client.
7. the method according to claim 1, wherein pushing state to management client in the management server
After the step of change information, further includes:
The management server updates the state from server of itself storage.
8. the method according to claim 1, wherein pushing state to management client in the management server
After the step of change information, further includes:
The management client shows the updated current state from server according to the state change information.
9. a kind of supplying system of server state, be applied to view networking, which is characterized in that the system comprises primary server,
From server, management server, and, management client;
The management server includes:
Request sending module, for sending server state acquisition request to primary server;
Status information receiving module, for receiving the state letter for the slave server that the primary server is returned based on the request
Breath;
The communication information obtains module, for obtaining the communication information from server;
Current state determining module, for according to the state information and the communication information, determining the current shape from server
State;
State change information pushing module, if being stored for the current state from server in the management server
State it is different, then push state change information to management client.
10. system according to claim 9, which is characterized in that the state change information pushing module includes:
State restores information and pushes submodule, if for it is described from the current state of server be presence, and in the pipe
The state stored in reason server is off-line state, then restores information from the state of server to management client push is described;
Status alert information pushes submodule, if for it is described from the current state of server be off-line state, and in the pipe
The state stored in reason server is presence, then to the management client push status alert information from server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711174190.9A CN108965369A (en) | 2017-11-22 | 2017-11-22 | A kind of method for pushing and system of server state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711174190.9A CN108965369A (en) | 2017-11-22 | 2017-11-22 | A kind of method for pushing and system of server state |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108965369A true CN108965369A (en) | 2018-12-07 |
Family
ID=64495270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711174190.9A Pending CN108965369A (en) | 2017-11-22 | 2017-11-22 | A kind of method for pushing and system of server state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108965369A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525463A (en) * | 2018-12-18 | 2019-03-26 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of 64 view networking protocol communication functions of detection |
CN109802991A (en) * | 2018-12-10 | 2019-05-24 | 视联动力信息技术股份有限公司 | The method and apparatus that a kind of display association turns gateway status |
CN109977167A (en) * | 2019-02-22 | 2019-07-05 | 视联动力信息技术股份有限公司 | Database backup method and device based on view networking |
CN110022228A (en) * | 2019-03-08 | 2019-07-16 | 视联动力信息技术股份有限公司 | Server switching method, device, system and readable storage medium storing program for executing |
CN110138584A (en) * | 2019-03-25 | 2019-08-16 | 视联动力信息技术股份有限公司 | A kind of monitoring method and device |
CN110149495A (en) * | 2019-04-08 | 2019-08-20 | 视联动力信息技术股份有限公司 | State display method and device based on view networking |
CN110266755A (en) * | 2019-05-09 | 2019-09-20 | 视联动力信息技术股份有限公司 | A kind of method and device for obtaining association and turning server state |
CN113259697A (en) * | 2021-05-12 | 2021-08-13 | 腾讯科技(深圳)有限公司 | Live broadcast state notification method, related device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079869A (en) * | 2006-05-26 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A data synchronization method and system based on distribution |
CN102523109A (en) * | 2011-12-08 | 2012-06-27 | 杭州华三通信技术有限公司 | Resource state updating method, management client ends, and server |
CN103067194A (en) * | 2011-10-24 | 2013-04-24 | 中兴通讯股份有限公司 | Monitoring method and monitoring system for terminal online state |
US20150334042A1 (en) * | 2014-05-16 | 2015-11-19 | Hitachi, Ltd. | Traffic management server and management program |
CN106789435A (en) * | 2016-12-29 | 2017-05-31 | 深圳市深信服电子科技有限公司 | A kind of method for monitoring state and its device, data center and many live data centers |
CN106817428A (en) * | 2017-02-13 | 2017-06-09 | 浙江风向标科技有限公司 | A kind of method and apparatus of offline inspection |
-
2017
- 2017-11-22 CN CN201711174190.9A patent/CN108965369A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079869A (en) * | 2006-05-26 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A data synchronization method and system based on distribution |
CN103067194A (en) * | 2011-10-24 | 2013-04-24 | 中兴通讯股份有限公司 | Monitoring method and monitoring system for terminal online state |
CN102523109A (en) * | 2011-12-08 | 2012-06-27 | 杭州华三通信技术有限公司 | Resource state updating method, management client ends, and server |
US20150334042A1 (en) * | 2014-05-16 | 2015-11-19 | Hitachi, Ltd. | Traffic management server and management program |
CN106789435A (en) * | 2016-12-29 | 2017-05-31 | 深圳市深信服电子科技有限公司 | A kind of method for monitoring state and its device, data center and many live data centers |
CN106817428A (en) * | 2017-02-13 | 2017-06-09 | 浙江风向标科技有限公司 | A kind of method and apparatus of offline inspection |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802991A (en) * | 2018-12-10 | 2019-05-24 | 视联动力信息技术股份有限公司 | The method and apparatus that a kind of display association turns gateway status |
CN109525463A (en) * | 2018-12-18 | 2019-03-26 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of 64 view networking protocol communication functions of detection |
CN109525463B (en) * | 2018-12-18 | 2020-08-28 | 视联动力信息技术股份有限公司 | Method and device for detecting 64-bit video networking protocol communication function |
CN109977167A (en) * | 2019-02-22 | 2019-07-05 | 视联动力信息技术股份有限公司 | Database backup method and device based on view networking |
CN110022228A (en) * | 2019-03-08 | 2019-07-16 | 视联动力信息技术股份有限公司 | Server switching method, device, system and readable storage medium storing program for executing |
CN110022228B (en) * | 2019-03-08 | 2022-11-04 | 视联动力信息技术股份有限公司 | Server switching method, device and system and readable storage medium |
CN110138584B (en) * | 2019-03-25 | 2022-06-14 | 视联动力信息技术股份有限公司 | Monitoring method and device |
CN110138584A (en) * | 2019-03-25 | 2019-08-16 | 视联动力信息技术股份有限公司 | A kind of monitoring method and device |
CN110149495A (en) * | 2019-04-08 | 2019-08-20 | 视联动力信息技术股份有限公司 | State display method and device based on view networking |
CN110266755A (en) * | 2019-05-09 | 2019-09-20 | 视联动力信息技术股份有限公司 | A kind of method and device for obtaining association and turning server state |
CN110266755B (en) * | 2019-05-09 | 2022-02-25 | 视联动力信息技术股份有限公司 | Method and device for acquiring state of cooperative server |
CN113259697B (en) * | 2021-05-12 | 2022-04-08 | 腾讯科技(深圳)有限公司 | Live broadcast state notification method, related device, equipment and storage medium |
CN113259697A (en) * | 2021-05-12 | 2021-08-13 | 腾讯科技(深圳)有限公司 | Live broadcast state notification method, related device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108965369A (en) | A kind of method for pushing and system of server state | |
CN108234816B (en) | The method and device of resource information real-time synchronization is monitored between a kind of monitoring device | |
CN110598444B (en) | Physical security system with multiple server nodes | |
CN110545327B (en) | Information pushing method and system | |
CN108965780A (en) | A kind of display methods and system of monitored picture | |
US8682969B1 (en) | Framed event system and method | |
CN107959602B (en) | A kind of method of network entry and device | |
US20170099463A1 (en) | Network Video Recorder Cluster and Method of Operation | |
CN109525663B (en) | Video data display method and system | |
CN103139607B (en) | A kind of real-time network monitoring system and method thereof | |
CN112260946B (en) | Link failure processing method and device, terminal equipment and storage medium | |
CN110087227A (en) | A kind of system and method for the distributed presentation business based on IMS architecture | |
CN110324564A (en) | A kind of videoconference data synchronous method and device | |
US11799920B1 (en) | Uninterrupted VR experience during customer and virtual agent interaction | |
CN110086775A (en) | A kind of control association turns the method and device of self-test | |
CN110196842A (en) | File memory method, management method, device, server and storage medium | |
KR102267559B1 (en) | System for monitoring integrated video based on IP video wall | |
CN111200597B (en) | Packet capturing method, device, computing equipment and computer readable storage medium in video networking | |
CN110266755B (en) | Method and device for acquiring state of cooperative server | |
CN110365631B (en) | Data processing method and video networking system | |
CN111726645A (en) | Live broadcast control method and device, electronic equipment and storage medium | |
CN113079035B (en) | Equipment network access method and device, terminal equipment and storage medium | |
CN110719437A (en) | Monitoring video processing method and device based on video network | |
CN108880852A (en) | A kind of processing method and system of equipment fault | |
CN110138584B (en) | Monitoring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |
|
RJ01 | Rejection of invention patent application after publication |