CN108155998A - A kind of cluster server sends the method and system of broadcast message - Google Patents

A kind of cluster server sends the method and system of broadcast message Download PDF

Info

Publication number
CN108155998A
CN108155998A CN201611104230.8A CN201611104230A CN108155998A CN 108155998 A CN108155998 A CN 108155998A CN 201611104230 A CN201611104230 A CN 201611104230A CN 108155998 A CN108155998 A CN 108155998A
Authority
CN
China
Prior art keywords
server
information
main control
workspace
cluster
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
CN201611104230.8A
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.)
TVM Beijing Technology Co Ltd
Original Assignee
TVM Beijing Technology 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 TVM Beijing Technology Co Ltd filed Critical TVM Beijing Technology Co Ltd
Priority to CN201611104230.8A priority Critical patent/CN108155998A/en
Publication of CN108155998A publication Critical patent/CN108155998A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1863Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
    • H04L12/1868Measures taken after transmission, e.g. acknowledgments

Abstract

The invention discloses the method and system that a kind of cluster server sends broadcast message, this method includes:Main control server sends information;Workspace server receives information;Workspace server sends confirmation message;Main control server retransmits information to the workspace server for not receiving information.Technical solution of the present invention improves the information transfer efficiency inside server cluster, it ensure that the reliability to communicate between server, reduce the administration overhead inside server cluster, improve the O&M stability of server cluster, it ensure that the quality of service of server, the risk of server cluster operation is avoided, improves the efficiency of server cluster management.

Description

A kind of cluster server sends the method and system of broadcast message
Technical field
The present invention relates to technical field of the computer network, more particularly to a kind of method of cluster server transmission broadcast message And system.
Background technology
With the continuous development become increasingly popular with network application of network broadband, customer service demand and to server process The demand of ability is in Fast growth phase, constantly challenges to server technology development.In order to solve business demand kimonos Imbalance between device processing capacity of being engaged in, server technology is from the one-to-many framework of one-node network server, to cluster Change, the migration of the multi-to-multi framework of multiserver, extend the processing capacity and bandwidth of server, it is cheap, efficient, reliable to realize Network service capabilities.Application server cluster can obtain very high calculating speed from the parallel computation of multiple computers, It can also be backuped with multiple computers, so that whole system still can be transported normally after any one machine disruptions service Row, ensure that the efficiency and stability of server handling ability.
Server cluster is organically to connect the server of one group of independence by certain mechanism (network connection), group Into the multi-server system of a loose coupling, be deployed in application program in these servers can by network share memory, Messaging is carried out, interprocess communication is realized, so as to fulfill Distributed Calculation.Externally, server cluster is only one A system externally provides unified service.
One group of mutually independent server shows as single system in a network, and is subject to pipe with the pattern of triangular web Reason, this triangular web provide the service of high reliability for client workstation.The mistake of offering customers service is unified in triangular web Cheng Zhong needs the organic coordination between each server.This content coordinated is mainly reflected in:
1) server cluster includes the more servers for possessing shared data memory space, passes through between each server Internal lan is in communication with each other;
2) when a wherein server fail, the application program that it is run will automatically be connect by other servers Pipe;
3) in most cases, computer all in cluster is owned by a common title, appoints in group system One server of meaning can all be used by all network users.
4) server run in group system not necessarily expensive goods, but the cluster of server can provide Quite high performance not shut down service;
5) each server can all undertake part calculating task, and due to the performance of cluster multiple servers, because This, the computing capability of total system will increase;
6) simultaneously, every server can also undertake certain fault-tolerant task, when wherein certain server breaks down, be System can be under the support of special-purpose software by this server and isolation of system, and passes through the load transfer between each server System realizes new load balance, while sends out alarm signal to system manager.
Coordination between server and management inside server cluster have the Effec-tive Function of server cluster important Meaning.Information between server inside server cluster is transmitted, and is generally carried out using broadcast mode, i.e., a piece of news or Notice can broadcast to all workspace servers, and workspace server judges to receive whether object fits after information is received With then reception or discarding;Workspace server is point-to-point to be sent to master server sending information to be.It is this to send letter The mode meeting occupied bandwidth resource of breath, causes the waste of server resource, especially in cross-platform business or huge portfolio, Server cluster needs to distribute a large amount of memory and bandwidth resources to handle internal management data, can be to the place of server cluster Reason ability causes larger pressure, and equipment has the risk of delay machine or loss of data, reduces, reduces to the usage experience of user The operational efficiency of server cluster.
Invention content
The present invention provides a kind of method that cluster server sends broadcast message, improves the information inside server cluster Transmission efficiency ensure that the reliability to communicate between server, reduce the administration overhead inside server cluster, improve service The O&M stability of device cluster, ensure that the quality of service of server, avoids the risk of server cluster operation, improves clothes The efficiency of business device cluster management.
Technical scheme of the present invention provides a kind of method that cluster server sends broadcast message, includes the following steps:
Main control server sends information;
Workspace server receives information;
Workspace server sends confirmation message;
Main control server retransmits information to the workspace server for not receiving information.
Further, each cluster server has an at least main control server and an at least work service Device;
The each main control server corresponds to an at least workspace server, each workspace server pair Answer a unique main control server.
Further, when the information that the main control server is sent includes but not limited to information encoding, destination address, sends Between and the information content.
Further, the sending method of the main control server is the broadcast transmission mode of point to multi--point.
Further, workspace server sends the confirmation message immediately after information is received.
Further, the main control server carries out again every 100ms to the workspace server for not receiving information It sends.
Further, the object for retransmitting information is not receive the confirmation in the 100ms that last time sends The workspace server of information.
Technical scheme of the present invention additionally provides the system that a kind of cluster server sends broadcast message, including master control service Device and workspace server, wherein,
Main control server is used for broadcast transmission information, judges not receiving the workspace server of information and re-broadcasts hair It delivers letters breath;
Workspace server is used to receive information and sends confirmation message.
Further, the workspace server sends the confirmation message immediately after information is received.
Further, the main control server carries out again every 100ms to the workspace server for not receiving information Send information.
Technical solution of the present invention realizes that efficient information is transmitted in server cluster, improves inside server cluster Information transfer efficiency ensure that the reliability to communicate between server, reduce the administration overhead inside server cluster, improve The O&M stability of server cluster, ensure that the quality of service of server, avoid the risk of server cluster operation, improve The efficiency of server cluster management.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention is described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Example is applied together for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram that cluster server sends broadcast message in the embodiment of the present invention one;
Fig. 2 is the system construction drawing that cluster server sends broadcast message in the embodiment of the present invention one.
Specific embodiment
The preferred embodiment of the present invention is illustrated below in conjunction with attached drawing, it should be understood that preferred reality described herein It applies example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 sends the method flow diagram of broadcast message, the flow of this method for cluster server in the embodiment of the present invention one Include the following steps:
Step 101, main control server send information.
Each cluster server has an at least main control server and an at least workspace server;
Each main control server corresponds to an at least workspace server, and each workspace server corresponds to a unique master Control server.
The information that main control server is sent includes but not limited to information encoding, destination address, sending time and the information content Etc. contents.
The mode of the transmission information of main control server is the broadcast transmission mode of point to multi--point.
Step 102, workspace server receive information.
Step 103, workspace server send confirmation message.
Workspace server sends confirmation message immediately after information is received.
Step 104, main control server retransmit information to the workspace server for not receiving information.
Main control server is retransmitted every 100ms to the workspace server for not receiving information;
The object of retransmission is the workspace server for not receiving confirmation message in the 100ms that last time sends.
In order to realize that above-mentioned cluster server sends the flow of broadcast message, the present embodiment additionally provides a kind of cluster service The system that device sends broadcast message, Fig. 2 are the system construction drawing that cluster server sends broadcast message in the embodiment of the present invention one. As shown in Fig. 2, the system includes main control server 201 and workspace server 202, wherein:
Main control server is used for broadcast transmission information, judges not receiving the workspace server of information, and to not receiving information Workspace server retransmitted, radiation pattern be point to multi--point broadcast transmission mode;
Workspace server is used to receive information and sends confirmation message.
Workspace server sends confirmation message immediately after information is received.
Main control server carries out retransmission information every 100ms to the workspace server for not receiving information.
Technical solution in above-described embodiment realizes that efficient information is transmitted in server cluster, improves server set Information transfer efficiency inside group, ensure that the reliability to communicate between server, reduces the management inside server cluster Expense improves the O&M stability of server cluster, ensure that the quality of service of server, avoids server cluster operation Risk improves the efficiency of server cluster management.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The shape of computer program product that usable storage medium is implemented on (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method that cluster server sends broadcast message, which is characterized in that include the following steps:
Main control server sends information;
Workspace server receives information;
Workspace server sends confirmation message;
Main control server retransmits information to the workspace server for not receiving information.
2. according to the method described in claim 1, it is characterized in that, further comprise:
Each cluster server has an at least main control server and an at least workspace server;
The each main control server corresponds to an at least workspace server, and each workspace server corresponds to only Main control server described in platform one by one.
3. according to the method described in claim 1, it is characterized in that, the information that the main control server is sent includes but not limited to Information encoding, destination address, sending time and the information content.
4. according to the method described in claim 1, it is characterized in that, the sending method of the main control server is point to multi--point Broadcast transmission mode.
5. according to the method described in claim 1, it is characterized in that, workspace server after information is received, immediately send described in Confirmation message.
6. according to the method described in claim 1, it is characterized in that, the main control server every 100ms to not receiving information The workspace server retransmitted.
7. the method according to claim 1 or 6, which is characterized in that the object for retransmitting information is apart from last time The workspace server of the confirmation message is not received in the 100ms of transmission.
8. a kind of system that cluster server sends broadcast message, which is characterized in that including main control server and workspace server, Wherein:
Main control server is used for broadcast transmission information, judges not receiving the workspace server of information and re-broadcasts transmission letter Breath;
Workspace server is used to receive information and sends confirmation message.
9. system according to claim 8, which is characterized in that the workspace server is sent immediately after information is received The confirmation message.
10. system according to claim 8, which is characterized in that the main control server is every 100ms to not receiving information The workspace server carry out retransmission information.
CN201611104230.8A 2016-12-05 2016-12-05 A kind of cluster server sends the method and system of broadcast message Pending CN108155998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611104230.8A CN108155998A (en) 2016-12-05 2016-12-05 A kind of cluster server sends the method and system of broadcast message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611104230.8A CN108155998A (en) 2016-12-05 2016-12-05 A kind of cluster server sends the method and system of broadcast message

Publications (1)

Publication Number Publication Date
CN108155998A true CN108155998A (en) 2018-06-12

Family

ID=62469940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611104230.8A Pending CN108155998A (en) 2016-12-05 2016-12-05 A kind of cluster server sends the method and system of broadcast message

Country Status (1)

Country Link
CN (1) CN108155998A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060285518A1 (en) * 2005-06-15 2006-12-21 Newsoft Technology Corporation Method and system of transmitting information from one to many terminals via wireless local area network
CN102025630A (en) * 2010-12-14 2011-04-20 成都市华为赛门铁克科技有限公司 Load balancing method and load balancing system
CN102273143A (en) * 2009-01-16 2011-12-07 熵敏通讯股份有限公司 Method and apparatus for block acknowledgement in a communication network
CN103297268A (en) * 2013-05-13 2013-09-11 北京邮电大学 P2P (peer to peer) technology based distributed data consistency maintaining system and method
CN103369051A (en) * 2013-07-22 2013-10-23 中安消技术有限公司 Data server cluster system and data synchronization method
CN104639659A (en) * 2015-03-12 2015-05-20 浪潮集团有限公司 Data extraction and transformation method based on server clustering technology
CN105991412A (en) * 2015-02-12 2016-10-05 阿里巴巴集团控股有限公司 Method and device for pushing message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060285518A1 (en) * 2005-06-15 2006-12-21 Newsoft Technology Corporation Method and system of transmitting information from one to many terminals via wireless local area network
CN102273143A (en) * 2009-01-16 2011-12-07 熵敏通讯股份有限公司 Method and apparatus for block acknowledgement in a communication network
CN102025630A (en) * 2010-12-14 2011-04-20 成都市华为赛门铁克科技有限公司 Load balancing method and load balancing system
CN103297268A (en) * 2013-05-13 2013-09-11 北京邮电大学 P2P (peer to peer) technology based distributed data consistency maintaining system and method
CN103369051A (en) * 2013-07-22 2013-10-23 中安消技术有限公司 Data server cluster system and data synchronization method
CN105991412A (en) * 2015-02-12 2016-10-05 阿里巴巴集团控股有限公司 Method and device for pushing message
CN104639659A (en) * 2015-03-12 2015-05-20 浪潮集团有限公司 Data extraction and transformation method based on server clustering technology

Similar Documents

Publication Publication Date Title
US10341196B2 (en) Reliably updating a messaging system
KR101926394B1 (en) System of cloud computing and method for detaching load in cloud computing system
US8954602B2 (en) Facilitating communication between enterprise software applications
US8108461B2 (en) Method and system for processing a request sent over a network
WO2017166513A1 (en) Container technique-based method and system for application service seamless migration
CN111612466B (en) Consensus and resource transmission method, device and storage medium
EP2321937B1 (en) Load balancing for services
CN107483390A (en) A kind of cloud rendering web deployment subsystem, system and cloud rendering platform
CN108063813B (en) Method and system for parallelizing password service network in cluster environment
US10997538B1 (en) Resource management
CN107707622A (en) A kind of method, apparatus and desktop cloud controller for accessing desktop cloud virtual machine
TW201432597A (en) Electronic trading platform and method thereof
CN102523207A (en) VNC (Virtual Network Computer)-based remote resource access method and proxy device
US8606908B2 (en) Wake-up server
US20110099273A1 (en) Monitoring apparatus, monitoring method, and a computer-readable recording medium storing a monitoring program
CN110830574B (en) Method for realizing intranet load balance based on docker container
US11616686B1 (en) Cluster management
US20110283202A1 (en) User interface proxy method and system
CN112698838B (en) Multi-cloud container deployment system and container deployment method thereof
US10362120B2 (en) Distributed gateways with centralized data center for high throughput satellite (HTS) spot beam network
CN105471700B (en) A kind of methods, devices and systems of Message Processing
US10061621B1 (en) Managing resources in a configurable computing environment
CN106330994A (en) User message publishing method and system
CN108155998A (en) A kind of cluster server sends the method and system of broadcast message
KR101740234B1 (en) Method for providing http/2 proxy gateway server in virtualized environment

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: 20180612

RJ01 Rejection of invention patent application after publication