CN109361560A - A kind of clustered node Communication processing method, system, storage medium and server - Google Patents
A kind of clustered node Communication processing method, system, storage medium and server Download PDFInfo
- Publication number
- CN109361560A CN109361560A CN201810066638.3A CN201810066638A CN109361560A CN 109361560 A CN109361560 A CN 109361560A CN 201810066638 A CN201810066638 A CN 201810066638A CN 109361560 A CN109361560 A CN 109361560A
- Authority
- CN
- China
- Prior art keywords
- node
- clustered node
- server
- clustered
- monitoring
- 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
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- 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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Abstract
The invention discloses a kind of clustered node Communication processing method, system, storage medium and servers, which comprises the current operating conditions information of each node in acquisition group node, the clustered node include more than two nodes;Analyze running state information collected;Analysis result is fed back into background server, so that manager monitors the operating status of each node.The present invention is by timing acquiring to the running state information of clustered node, and the operating status of clustered node is analyzed, the reliability and stability of clustered node communication is improved to restore the interprocess communication of clustered node in time to backstage server prompts in time when operating status occurs abnormal.
Description
Technical field
The present invention relates to internet of things field, and in particular to a kind of clustered node Communication processing method, system, storage are situated between
Matter and server.
Background technique
Cluster is a kind of multi-user shared one group of communication channel without the technology to interact.Cluster this technological concept its
It is real to be widely used in two-way wireless communication field.Trunked communication system can make a large amount of user sharing relatively wired
Frequency resource, i.e. all available channels of system can share for all users in system, have automatic identification user, automatically and move
The function of distributing to state wireless channel is a kind of multipurpose, efficient mobile dispatching communications subsystem.
But this big quantity clustered node is communicated, how to guarantee the problem that its stability always needs to capture,
Traditional approach, which can be used, to be guaranteed not consuming cluster resource with not taking place frequently compared with long poll interval, and establishes tracking queue, offline to occurring
Abnormal node does emphasis tracking, which accomplishes second rank to guarantee sensitivity.But this mode is to group system and net
The consumption of network resource is bigger.And since server memory is overflowed, Insufficient disk space etc. leads to clustered node process dies
It can not normal communication.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, it is logical to provide a kind of clustered node
Interrogate processing method, system, storage medium and server, it is intended to solve the stability of the communication between the clustered node of the prior art
Poor problem.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of clustered node Communication processing method, wherein the described method includes:
The current operating conditions information of each node in group node is acquired, the clustered node includes more than two nodes;
Analyze running state information collected;
Analysis result is fed back into background server, so that manager monitors the operating status of each node.
The clustered node Communication processing method, wherein the current operation shape of each node in the acquisition group node
It may also include that before state information
Define clustered node, corresponding formation clustered node information table.
The clustered node Communication processing method, wherein the clustered node information table also includes at least following one: collection
Group node title, monitoring IP, monitoring interface, cpu service condition, memory service condition, disk space information, node run shape
State.
The clustered node Communication processing method, wherein the current operation shape of each node in the acquisition group node
State information specifically includes:
The creation monitoring interface in clustered node in advance;The monitoring interface is used to obtain the operating status letter of the clustered node
Breath;
When the starting of preset monitoring poll timing routine, monitoring server starts to acquire the running state information of clustered node;
Monitoring server obtains the running state information of each node by preset monitoring interface from clustered node.
The clustered node Communication processing method, wherein the current operation shape of each node in the acquisition group node
Before state information further include:
The creation monitoring poll timing routine in monitoring server, the monitoring poll timing routine are used for every pre- timing in advance
Between acquire clustered node running state information.
The clustered node Communication processing method, wherein the analysis running state information collected specifically includes:
Monitoring server analyzes collected current operating conditions information, and judge clustered node operating status whether
Normally;
The current operating conditions information of clustered node is transmitted in management server, and is inserted in clustered node information table.
The clustered node Communication processing method, wherein it is described that analysis result is fed back into background server, for management
The operating status that person monitors each node specifically includes:
When the operating status for judging clustered node occurs abnormal, then prompt information is sent to background server;
The prompt information is shown in preset operation interface in background server, so that manager monitors each institute
State the operating status of node.
One kind being based on clustered node Communication processing system described in any of the above embodiments, comprising: management server, monitoring service
Device, background server, in which:
The management server defines clustered node, and generates clustered node information table, and the monitoring server acquisition is defined
Clustered node the current running state information of each node, running state information collected is analyzed;And it will divide
Analysis result feeds back to the background server, and the received analysis result of institute is fed back to manager by the background server, for
Manager monitors the operating status of each node.
A kind of storage medium is stored thereon with a plurality of instruction, wherein and described instruction is suitable for being loaded and being executed by processor,
With the step of realizing clustered node Communication processing method described in any of the above embodiments.
A kind of server, the server are a kind of monitoring server, wherein include: that processor and processor communication connect
The storage medium connect, the storage medium are suitable for storing a plurality of instruction;The processor is suitable for calling in the storage medium
Instruction, to execute the step of realizing clustered node Communication processing method described in any of the above embodiments.
Beneficial effects of the present invention: the present invention passes through timing acquiring to the running state information of clustered node, and to cluster
The operating status of node is analyzed, when operating status occurs abnormal in time to backstage server prompts, to restore in time
The interprocess communication of clustered node improves the reliability and stability of clustered node communication.
Detailed description of the invention
Fig. 1 is the flow chart of clustered node Communication processing method preferred embodiment of the invention.
Fig. 2 is the functional schematic block diagram of the preferred embodiment of clustered node Communication processing system of the invention.
Fig. 3 is the functional schematic block diagram of monitoring server of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to
It is of the invention in limiting.
The present invention provides a kind of clustered node Communication processing method, as shown in Figure 1, Fig. 1 is that clustered node of the invention is logical
Interrogate the flow chart of processing method preferred embodiment.The clustered node Communication processing method the following steps are included:
Step S100, the current operating conditions information of each node in group node is acquired.
Preferably, the step S100 is specifically included:
The creation monitoring interface in clustered node in advance;The monitoring interface is used to obtain the operating status letter of the clustered node
Breath;
When the starting of preset monitoring poll timing routine, monitoring server starts to acquire the running state information of clustered node;
Monitoring server obtains the current operating conditions information of each node by preset monitoring interface from clustered node.
When it is implemented, the present invention in advance by monitoring server respectively with the management server, clustered node and after
The connection of platform server.In order to preferably manage the interprocess communication of clustered node, the management server in the present invention can be pre-defined
Clustered node.Specifically, the present invention is in advance to Product Definition product category all in Internet of things system.Such as it is used in family
Household appliances, include air-conditioning, washing machine, air purifier, door lock etc..After defining product category, according to product
Type logically defines clustered node title corresponding with the product category;The mapping for establishing product category and clustered node is closed
System.The product category and the entitled one-to-one relationship of clustered node, with will pass through product category can directly find pair
The clustered node answered.As air-conditioning, washing machine are respectively defined as ayns-ac-server, ayns-wp-server.
Further, the management server in the present invention also generates the corresponding relationship of product category and clustered node title
Clustered node information table carries out integrated management to all clustered nodes to realize.The clustered node information table also at least wraps
Include following one: clustered node title, monitoring IP, monitoring interface, cpu service condition, memory service condition, disk space letter
Breath, node operating status.It is specific as shown in Table 1.
Cluster name | Nodename | Monitor ip | Monitor interface | Administrator's mailbox | Whether notify | Node state |
myCluster | ayns-as-server | 10.87.16.10 | 10999 | Cheng@tcl.com | 1 | 1 |
Further, for the ease of managing the interprocess communication between the clustered node, present invention needs are monitoring in advance
Creation monitoring poll timing routine in server, the monitoring poll timing routine is for acquisition cluster section at predetermined time intervals
The running state information of point.In addition, also creation monitoring interface, the monitoring interface are used for more the present invention in clustered node in advance
The running state information of the good acquisition clustered node.
When it is implemented, the present invention is by the way of spring task configuring timing tasks, when preset monitoring poll is fixed
When Shi Chengxu starts, monitoring server starts to acquire the running state information of clustered node.According to the configuration in informational table of nodes,
By the monitoring interface of the monitoring server far call clustered node of jmx rmi management application, since the monitoring interface exists
When the monitored poll timing routine of clustered node calls, can open to the outside world clustered node information, therefore the monitoring server can
To collect the current operating conditions information of each node in clustered node by the monitoring interface.
Step S200, running state information collected is analyzed.
Preferably, the step S200 is specifically included:
Monitoring server analyzes collected current operating conditions information, and judge clustered node operating status whether
Normally;
The current operating conditions information of clustered node is transmitted in management server, and is inserted in clustered node information table.
When it is implemented, the present invention judges the fortune of present node according to the running state information of collected clustered node in advance
Whether row state is normal, to handle in time when occurring abnormal.In addition, the present invention is when the monitoring in the monitoring server
When poll timing routine collects the running state information of clustered node, then clustered node running state information is transmitted to management
Server, and insert in the clustered node information table in management server, so that the information to clustered node is managed collectively.
Further, analysis result step S300, is fed back into background server, so that manager monitors each section
The operating status of point.
Preferably, the step S300 is specifically included:
When the operating status for judging clustered node occurs abnormal, then prompt information is sent to background server;
The prompt information is shown in preset operation interface in background server, so that manager's monitoring is each
The operating status of the node.
When it is implemented, the present invention needs operation of the creation for real time inspection clustered node in background server in advance
The operation interface of status information, so that manager monitors the operating status of each node.When the operation for judging clustered node
There is exception in state, such as node processes interrupt, communication abnormality, then in time in the form of short message or mail to background server
Prompt information is sent, and is shown in preset operation interface in background server, so that manager's monitoring is each described
The operating status of node.The prompt information includes: that prompt is restarted manually, or configuration is restarted automatically, so that between clustered node
Communication restore normal.Specifically, for example, CPU usage be more than 90% or memory usage be more than 95% or disk utilization rate
More than 95%, then manager node server resource is prompted to alert.If interface connection time-out, prompts node processes to die.If
Communication mark is 0, then prompts administrator's process communication abnormal;Monitoring server sends a piece of news to clustered node automatically, makes
It reinitializes recovery normal communication.It can be seen that the present invention be able to solve Internet resources consumption it is bigger and due to service
Device memory overflows, and Insufficient disk space etc. leads to the clustered node communication abnormality of clustered node process dies.
Based on the above embodiment, the present invention also provides a kind of clustered node Communication processing systems, as shown in Fig. 2, Fig. 2 is this
The functional schematic block diagram of the preferred embodiment of the clustered node communication management system of invention.The clustered node communication management system
It include: management server 210, monitoring server 220 and background server device 230;The monitoring server 220 respectively with
The management server 210, background server 230 connect.
Specifically, the management server 210 is for defining clustered node, and generates clustered node information table;The prison
Control server 220 acquire defined in clustered node the current running state information of each node, to operation shape collected
State information is analyzed;And analysis result is fed back into the background server 230, the background server 230 will be received
Analysis result feed back to manager, so that manager monitors the operating status of each node, as detailed above.
It can be seen that the present invention be able to solve group system protocol package occupy Internet resources consumption is bigger, Yi Jiyou
It being overflowed in server memory, Insufficient disk space etc. leads to the clustered node communication abnormality of clustered node process dies,
To improve the reliability and stability communicated between clustered node.
Based on the above embodiment, the invention also discloses a kind of server, server of the invention is a kind of monitoring service
Device analyzes running state information for acquiring the running state information of clustered node;And after analysis result is fed back to
Platform server.As Fig. 3 shows, comprising: processor (processor) 10, the storage medium (memory) 20 being connect with processor 10;
Wherein, the processor 10 is used to call the program instruction in the storage medium 20, to execute provided by above-described embodiment
Method, such as execute:
Step S100, acquire group node in each node current operating conditions information, the clustered node include two with
Upper node;
Step S200, running state information collected is analyzed;
Step S300, analysis result is fed back into background server, so that manager monitors the operating status of each node.
The embodiment of the present invention also provides a kind of storage medium, and computer instruction, the calculating are stored on the storage medium
Machine instruction makes computer execute method provided by the various embodiments described above.
In conclusion a kind of clustered node Communication processing method, system, storage medium and server provided by the invention,
The described method includes: acquisition group node in each node current operating conditions information, the clustered node include two with
Upper node;Analyze running state information collected;Analysis result is fed back into background server, so that manager's monitoring is each
The operating status of the node.The present invention passes through timing acquiring to the running state information of clustered node, and to clustered node
Operating status is analyzed, when operating status occurs abnormal in time to backstage server prompts, to restore cluster section in time
The interprocess communication of point improves the reliability and stability of clustered node communication.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.
Claims (10)
1. a kind of clustered node Communication processing method, which is characterized in that the described method includes:
The current operating conditions information of each node in group node is acquired, the clustered node includes more than two nodes;
Analyze running state information collected;
Analysis result is fed back into background server, so that manager monitors the operating status of each node.
2. the method for clustered node Communication processing described according to claim 1, which is characterized in that every in the acquisition group node
It may also include that before the current operating conditions information of one node
Define clustered node, corresponding formation clustered node information table.
3. the clustered node Communication processing method according to claim 2, which is characterized in that the clustered node information table is also
Including at least following one: clustered node title, monitoring IP, monitoring interface, cpu service condition, memory service condition, disk are empty
Between information, node operating status.
4. the method for clustered node Communication processing described according to claim 1, which is characterized in that every in the acquisition group node
The current operating conditions information of one node specifically includes:
The creation monitoring interface in clustered node in advance;The monitoring interface is used to obtain the operating status letter of the clustered node
Breath;
When the starting of preset monitoring poll timing routine, monitoring server starts to acquire the running state information of clustered node;
Monitoring server obtains the current operating conditions information of each node by preset monitoring interface from clustered node.
5. the method for clustered node Communication processing described according to claim 1, which is characterized in that every in the acquisition group node
Before the current operating conditions information of one node further include:
The creation monitoring poll timing routine in monitoring server, the monitoring poll timing routine are used for every pre- timing in advance
Between acquire clustered node running state information.
6. the method for clustered node Communication processing described according to claim 1, which is characterized in that the analysis operation collected
Status information specifically includes:
Monitoring server analyzes collected current operating conditions information, and judge clustered node operating status whether
Normally;
The current operating conditions information of clustered node is transmitted in management server, and is inserted in clustered node information table.
7. the method for clustered node Communication processing described according to claim 1, which is characterized in that described to feed back to analysis result
Background server, so that the operating status that manager monitors each node specifically includes:
When the operating status for judging clustered node occurs abnormal, then prompt information is sent to background server;
The prompt information is shown in preset operation interface in background server, so that manager monitors each institute
State the operating status of node.
8. one kind is based on the described in any item clustered node Communication processing systems of the claims 1-7, which is characterized in that packet
It includes: management server, monitoring server, background server, in which:
The management server defines clustered node, and generates clustered node information table, and the monitoring server acquisition is defined
Clustered node the current running state information of each node, running state information collected is analyzed;And it will divide
Analysis result feeds back to the background server, and the received analysis result of institute is fed back to manager by the background server, for
Manager monitors the operating status of each node.
9. a kind of storage medium is stored thereon with a plurality of instruction, which is characterized in that described instruction is suitable for being loaded and being held by processor
Row, the step of to realize the claims 1-7 described in any item clustered node Communication processing methods.
10. a kind of server, the server is a kind of monitoring server characterized by comprising processor and processor
The storage medium of communication connection, the storage medium are suitable for storing a plurality of instruction;The processor is suitable for that the storage is called to be situated between
The step of instruction in matter, clustered node Communication processing methods described in any item with execution realization the claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810066638.3A CN109361560A (en) | 2018-01-24 | 2018-01-24 | A kind of clustered node Communication processing method, system, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810066638.3A CN109361560A (en) | 2018-01-24 | 2018-01-24 | A kind of clustered node Communication processing method, system, storage medium and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109361560A true CN109361560A (en) | 2019-02-19 |
Family
ID=65349793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810066638.3A Pending CN109361560A (en) | 2018-01-24 | 2018-01-24 | A kind of clustered node Communication processing method, system, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109361560A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109951559A (en) * | 2019-03-27 | 2019-06-28 | 京东方光科技有限公司 | Timed task configuration method, server, system and computer readable storage medium |
CN110086887A (en) * | 2019-05-14 | 2019-08-02 | 上海泽远信息科技有限公司 | A kind of multifunctional monitoring system for aerial suspension ohject displacement |
CN111124765A (en) * | 2019-12-06 | 2020-05-08 | 中盈优创资讯科技有限公司 | Big data cluster task scheduling method and system based on node labels |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023995A (en) * | 2012-11-29 | 2013-04-03 | 中国电力科学研究院 | Hadoop-based distributive type cloud storage type automatic grading data managing system |
CN103354503A (en) * | 2013-05-23 | 2013-10-16 | 浙江闪龙科技有限公司 | Cloud storage system capable of automatically detecting and replacing failure nodes and method thereof |
CN106603329A (en) * | 2016-12-02 | 2017-04-26 | 曙光信息产业(北京)有限公司 | Server cluster monitoring method and system |
-
2018
- 2018-01-24 CN CN201810066638.3A patent/CN109361560A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023995A (en) * | 2012-11-29 | 2013-04-03 | 中国电力科学研究院 | Hadoop-based distributive type cloud storage type automatic grading data managing system |
CN103354503A (en) * | 2013-05-23 | 2013-10-16 | 浙江闪龙科技有限公司 | Cloud storage system capable of automatically detecting and replacing failure nodes and method thereof |
CN106603329A (en) * | 2016-12-02 | 2017-04-26 | 曙光信息产业(北京)有限公司 | Server cluster monitoring method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109951559A (en) * | 2019-03-27 | 2019-06-28 | 京东方光科技有限公司 | Timed task configuration method, server, system and computer readable storage medium |
CN110086887A (en) * | 2019-05-14 | 2019-08-02 | 上海泽远信息科技有限公司 | A kind of multifunctional monitoring system for aerial suspension ohject displacement |
CN111124765A (en) * | 2019-12-06 | 2020-05-08 | 中盈优创资讯科技有限公司 | Big data cluster task scheduling method and system based on node labels |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107688496B (en) | Task distributed processing method and device, storage medium and server | |
CN110659123B (en) | Distributed task distribution scheduling method and device based on message | |
WO2019085404A1 (en) | Customer service staff management method, electronic device, and computer-readable storage medium | |
CN102325148B (en) | WebService service calling method | |
CN109361560A (en) | A kind of clustered node Communication processing method, system, storage medium and server | |
CN107819641B (en) | Abnormity analysis method and device of information protection system | |
CN110493065A (en) | The alarm association degree analysis method and system of a kind of cloud center O&M | |
US11838384B2 (en) | Intelligent scheduling apparatus and method | |
CN110688277A (en) | Data monitoring method and device for micro-service framework | |
US7707080B2 (en) | Resource usage metering of network services | |
CN110555019A (en) | Data cleaning method based on service end | |
CN111865817A (en) | Load balancing control method, device and equipment for remote measuring collector and storage medium | |
CN106034047B (en) | Data processing method and device | |
CN111818131A (en) | Message pushing and scheduling system and method | |
CN111901204A (en) | Cloud network inspection method, device and system | |
US20150109915A1 (en) | Network traffic management | |
CN114666335A (en) | DDS-based distributed system load balancing device | |
US6925483B1 (en) | System for characterizing information from an information producer | |
CN110569238B (en) | Data management method, system, storage medium and server based on big data | |
CN110597631B (en) | Resource management method, monitoring server, proxy server, and storage medium | |
CN115665173B (en) | MQ-based Websocket communication method, system and storage medium | |
CN105939228B (en) | A kind of health detecting method and device | |
CN115484167B (en) | Network slice shutdown method in communication network, computer device and storage medium | |
CN115712572A (en) | Task testing method and device, storage medium and electronic device | |
WO2017165999A1 (en) | Network service implementation method, service controller, and communication system |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190320 Address after: 518000 No. 5, Industrial Avenue, Shekou Industrial Zone, Merchants Street, Nanshan District, Shenzhen City, Guangdong Province Applicant after: SHENZHEN TCL NEW TECHNOLOGY Co.,Ltd. Address before: 510000 Building A2, Science Avenue 187 Business Plaza, Science City, Luogang District, Guangzhou City, Guangdong Province Applicant before: GUANGZHOU TCL SMART HOME TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |