CN105450727B - A kind of network communication method and network communication architectures - Google Patents

A kind of network communication method and network communication architectures Download PDF

Info

Publication number
CN105450727B
CN105450727B CN201510740339.XA CN201510740339A CN105450727B CN 105450727 B CN105450727 B CN 105450727B CN 201510740339 A CN201510740339 A CN 201510740339A CN 105450727 B CN105450727 B CN 105450727B
Authority
CN
China
Prior art keywords
management node
node
service request
management
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.)
Active
Application number
CN201510740339.XA
Other languages
Chinese (zh)
Other versions
CN105450727A (en
Inventor
王永超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201510740339.XA priority Critical patent/CN105450727B/en
Publication of CN105450727A publication Critical patent/CN105450727A/en
Application granted granted Critical
Publication of CN105450727B publication Critical patent/CN105450727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0272Virtual private networks
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

A kind of network communication method of present invention offer and network communication architectures, the above method include the following steps:After load-balanced server receives the service request that client is sent, according to request type, the service request is sent to the management node of corresponding types in management node cluster;Cluster quorum node is according to the management node working condition of the reception service request of acquisition, determine corresponding service request handling strategy, and service request handling result is synchronized to other management nodes in management node cluster, the secure communication that management node had both been realized by cluster quorum node, the data safety also achieved between management node synchronize.

Description

A kind of network communication method and network communication architectures
Technical field
The invention belongs to network communication field more particularly to a kind of network communication methods and network communication architectures.
Background technology
Currently, virtual platform design is broadly divided into center framework virtual platform and non-stop layer framework virtual platform two Kind design:Center framework virtual platform can unconfined increase node, but center framework virtual platform is with node The increase of quantity, management node pressure increased dramatically, if under attack or service crashes, framework virtualization in center can be caused flat Platform inside points or all virtual machines occupying in no monitoring mode to resource, seriously affect communication security;Non-stop layer framework Virtual platform although there is no management node collapse cause to service it is unavailable caused by security threat, non-stop layer frame Data need real-time synchronization between structure virtual platform interior nodes, with number of nodes increase (such as:VMware The maximum directly number of nodes of vsphere5 is 64 nodes), synchrodata is continuously increased to the pressure that network transmission is brought.
Invention content
A kind of network communication method of present invention offer and network communication architectures, to solve the above problems.
The present invention provides a kind of network communication method.The above method includes the following steps:
After load-balanced server receives the service request that client is sent, according to request type, by the service request It is sent to the management node of corresponding types in management node cluster;
Cluster quorum node determines that corresponding service is asked according to the management node working condition of the reception service request of acquisition Processing strategy is sought, and service request handling result is synchronized to other management nodes in management node cluster.
The present invention also provides a kind of network communication architectures, including client, load-balanced server, cluster quorum node, Management node cluster;Wherein, the client by the load-balanced server respectively with the cluster quorum node, described Management node cluster is connected;The load-balanced server, the cluster quorum node respectively with the management node collection faciation Even;The load-balanced server is connected directly with the cluster quorum node;
The client, the service request for being sent to the load-balanced server;
The load-balanced server, will be described according to request type after receiving the service request that client is sent Service request is sent to the management node of corresponding types in management node cluster;
The management node, for handling the service request and service request handling result being sent to cluster quorum section Point;
Cluster quorum node is used for the management node working condition of the reception service request according to acquisition, determines corresponding Service request handling strategy, and service request handling result is synchronized to other management nodes in management node cluster.
Pass through following scheme:It, will according to request type after load-balanced server receives the service request that client is sent The service request is sent to the management node of corresponding types in management node cluster;Cluster quorum node is according to the reception of acquisition The management node working condition of service request determines corresponding service request handling strategy, and service request handling result is same Step had both realized the secure communication of management node by cluster quorum node to other management nodes in management node cluster, The data safety realized between management node synchronizes.
Pass through following scheme:Cpu busy percentage is more than early warning value or service request quantity is more than preset quantity, then cluster quorum After node selects corresponding spare management node and is handled the spare management node that the service request is migrated to selection, Service request handling result is synchronized to its in management node cluster by the spare management node by the cluster quorum node Its management node;The network service address of the spare management node is registered to the load balancing by the cluster quorum node Server further ensures communication security.
Pass through following scheme:If receive service request management node working condition be collapse, cluster quorum node from It selects a management node as objective management node in same type management node or other type management nodes, will collapse Management node on whole service requests migrate to the objective management node and handled, the objective management node passes through Service request handling result is synchronized to other management nodes in management node cluster by the cluster quorum node, is further ensured that Communication security.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 show the network communication method process chart of the embodiment of the present invention 1;
Fig. 2 show the network communication architectures schematic diagram of the embodiment of the present invention 2.
Specific implementation mode
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
Fig. 1 show the network communication method process chart of the embodiment of the present invention 1, includes the following steps:
Step 101:It, will be described according to request type after load-balanced server receives the service request that client is sent Service request is sent to the management node of corresponding types in management node cluster;
Further, the request type includes:System management request, safety management request, audit operations request, inquiry Service request;The type of the management node includes system administration node, safety management node, audit management node, inquiry pipe Manage node.
Further, the network service address of each management node is configured on load-balanced server in advance.
Step 102:Cluster quorum node is determined and is corresponded to according to the management node working condition of the reception service request of acquisition Service request handling strategy, and service request handling result is synchronized to other management nodes in management node cluster.
Further, management node working condition includes:Management node is normal, management node is abnormal;Wherein, the management The node cpu busy percentage including management node extremely is more than early warning value, the service request quantity of management node is more than preset quantity, Management node is collapsed.
Further, cluster quorum node is according to the management node working condition of the reception service request of acquisition, determination pair The service request handling strategy answered, and service request handling result is synchronized to the mistake of other management nodes in management node cluster Cheng Wei:
If the management node working condition for receiving service request is normal, the instruction of cluster quorum node receives service request Management node the service request is handled, the management node will be at service request by the cluster quorum node Reason result is synchronized to other management nodes in management node cluster.
Further, cluster quorum node is according to the management node working condition of the reception service request of acquisition, determination pair The service request handling strategy answered, and service request handling result is synchronized to the mistake of other management nodes in management node cluster Cheng Wei:
If the management node working condition for receiving service request is:Cpu busy percentage is more than early warning value or service request quantity More than preset quantity, then cluster quorum node selects corresponding spare management node and migrates the service request to selection After spare management node is handled, the spare management node is by the cluster quorum node by service request handling result It is synchronized to other management nodes in management node cluster.
Further, the spare management node is one or more, such as shown in Fig. 2, including two spare management sections Point:Spare management node E and spare management node F.
Further, if spare management node is multiple, optional one alternatively from the spare management node Spare management node (such as:Spare management node E).
Further, the cluster quorum node by the spare management node (such as:Spare management node E) network Address of service is registered to the load-balanced server.
Further, cluster quorum node is according to the management node working condition of the reception service request of acquisition, determination pair The service request handling strategy answered, and service request handling result is synchronized to the mistake of other management nodes in management node cluster Cheng Wei:
If the management node working condition for receiving service request is collapse, cluster quorum node is from same type management node Or select a management node as objective management node in other type management nodes, it will be in the management node that collapsed Whole service requests are migrated to the objective management node and are handled, and the objective management node passes through the cluster quorum section Service request handling result is synchronized to other management nodes in management node cluster by point.
Further, if the management node collapsed is main management node, the objective management node after migration is new Main management node.
Further, the network service address of the objective management node is registered to described negative by the cluster quorum node Carry equalization server.
Further, when different types of management node is communicated, corresponding data communication encryption mode is respectively adopted.
Further, cipher mode includes:Symmetry cipher mode, asymmetry cipher mode.
Fig. 2 show the network communication architectures schematic diagram of the embodiment of the present invention 2, including client, load-balanced server, Cluster quorum node, management node cluster (including:System administration node A, safety management node B, audit management node C, inquiry Management node D, spare management node E, spare management node F);Wherein, the client passes through the load-balanced server It is connected respectively with the cluster quorum node, the management node cluster;The load-balanced server, the cluster quorum section Point is connected with the management node cluster respectively;The load-balanced server is connected directly with the cluster quorum node;
The client, the service request for being sent to the load-balanced server;
The load-balanced server, will be described according to request type after receiving the service request that client is sent Service request is sent to the management node of corresponding types in management node cluster;
The management node, for handling the service request and service request handling result being sent to cluster quorum section Point;
Cluster quorum node is used for the management node working condition of the reception service request according to acquisition, determines corresponding Service request handling strategy, and service request handling result is synchronized to other management nodes in management node cluster.
Pass through following scheme:It, will according to request type after load-balanced server receives the service request that client is sent The service request is sent to the management node of corresponding types in management node cluster;Cluster quorum node is according to the reception of acquisition The management node working condition of service request determines corresponding service request handling strategy, and service request handling result is same Step had both realized the secure communication of management node by cluster quorum node to other management nodes in management node cluster, The data safety realized between management node synchronizes.
Pass through following scheme:Cpu busy percentage is more than early warning value or service request quantity is more than preset quantity, then cluster quorum After node selects corresponding spare management node and is handled the spare management node that the service request is migrated to selection, Service request handling result is synchronized to its in management node cluster by the spare management node by the cluster quorum node Its management node;The network service address of the spare management node is registered to the load balancing by the cluster quorum node Server further ensures communication security.
Pass through following scheme:If receive service request management node working condition be collapse, cluster quorum node from It selects a management node as objective management node in same type management node or other type management nodes, will collapse Management node on whole service requests migrate to the objective management node and handled, the objective management node passes through Service request handling result is synchronized to other management nodes in management node cluster by the cluster quorum node, is further ensured that Communication security.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (9)

1. a kind of network communication method, which is characterized in that include the following steps:
After load-balanced server receives the service request that client is sent, according to request type, the service request is sent To the management node of corresponding types in management node cluster;
Cluster quorum node is determined according to the management node working condition of the reception service request of acquisition at corresponding service request Reason strategy, and service request handling result is synchronized to other management nodes in management node cluster;
Wherein, when the management node working condition for receiving service request is normal, then cluster quorum node instruction receives service The management node of request handles the service request, and the management node is asked service by the cluster quorum node Handling result is asked to be synchronized to other management nodes in management node cluster.
2. according to the method described in claim 1, it is characterized in that, the request type includes:System management request, bursting tube Reason request, audit operations request, inquiry business request;The type of the management node includes system administration node, safety management Node, audit management node, searching and managing node.
3. according to the method described in claim 1, it is characterized in that, each management section is configured on load-balanced server in advance The network service address of point.
4. according to the method described in claim 1, it is characterized in that, management node working condition further includes:Management node is abnormal, Wherein, the management node includes the cpu busy percentage of management node extremely more than early warning value, the service request quantity of management node It is collapsed more than preset quantity, management node.
5. according to the method described in claim 4, it is characterized in that, cluster quorum node is according to the reception service request of acquisition Management node working condition determines corresponding service request handling strategy, and service request handling result is synchronized to management section The process of other management nodes is in point cluster:
If the management node working condition for receiving service request is:Cpu busy percentage is more than early warning value or service request quantity is more than Preset quantity, then cluster quorum node select corresponding spare management node and migrate the service request spare to selection After management node is handled, the spare management node is synchronized service request handling result by the cluster quorum node To other management nodes in management node cluster.
6. according to the method described in claim 5, it is characterized in that, the cluster quorum node is by the spare management node Network service address is registered to the load-balanced server.
7. according to the method described in claim 4, it is characterized in that, cluster quorum node is according to the reception service request of acquisition Management node working condition determines corresponding service request handling strategy, and service request handling result is synchronized to management section The process of other management nodes is in point cluster:
If receive service request management node working condition be collapse, cluster quorum node from same type management node or its Select a management node as objective management node in its type management node, by the whole in the management node collapsed Service request is migrated to the objective management node and is handled, and the objective management node will by the cluster quorum node Service request handling result is synchronized to other management nodes in management node cluster.
8. according to the method described in claim 1 or 5 or 7, which is characterized in that when different types of management node is communicated, Corresponding data communication encryption mode is respectively adopted, wherein the data communication encryption mode includes:Symmetry cipher mode, Asymmetry cipher mode.
9. a kind of network communication architectures, which is characterized in that including client, load-balanced server, cluster quorum node, management Node cluster;Wherein, the client by the load-balanced server respectively with the cluster quorum node, the management Set of node faciation connects;The load-balanced server, the cluster quorum node are connected with the management node cluster respectively;Institute Load-balanced server is stated to be connected directly with the cluster quorum node;
The client, for sending service request to the load-balanced server;
The load-balanced server, after receiving the service request that client is sent, according to request type, by the service Request is sent to the management node of corresponding types in management node cluster;
The management node, for handling the service request and service request handling result being sent to cluster quorum node;
Cluster quorum node is used for the management node working condition of the reception service request according to acquisition, determines corresponding service Request processing strategy, and service request handling result is synchronized to other management nodes in management node cluster;
Wherein, when the management node working condition for receiving service request is normal, then cluster quorum node instruction receives service The management node of request handles the service request, and the management node is asked service by the cluster quorum node Handling result is asked to be synchronized to other management nodes in management node cluster.
CN201510740339.XA 2015-11-03 2015-11-03 A kind of network communication method and network communication architectures Active CN105450727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510740339.XA CN105450727B (en) 2015-11-03 2015-11-03 A kind of network communication method and network communication architectures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510740339.XA CN105450727B (en) 2015-11-03 2015-11-03 A kind of network communication method and network communication architectures

Publications (2)

Publication Number Publication Date
CN105450727A CN105450727A (en) 2016-03-30
CN105450727B true CN105450727B (en) 2018-09-18

Family

ID=55560493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510740339.XA Active CN105450727B (en) 2015-11-03 2015-11-03 A kind of network communication method and network communication architectures

Country Status (1)

Country Link
CN (1) CN105450727B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108008913B (en) * 2016-10-27 2020-12-18 杭州海康威视数字技术股份有限公司 Management node-based capacity expansion method and device and storage system
CN111629013A (en) * 2019-02-27 2020-09-04 北京奇虎科技有限公司 Method and device for managing service node and node network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207550A (en) * 2007-03-16 2008-06-25 中国科学技术大学 Load balancing system and method for multi business to implement load balancing
CN101207561A (en) * 2006-12-22 2008-06-25 华为技术有限公司 Cluster manager, cluster system as well as cluster managing method
WO2010025674A1 (en) * 2008-09-03 2010-03-11 中兴通讯股份有限公司 Method and apparatus for monitoring operating status of node in short message service center
WO2013059076A1 (en) * 2011-10-17 2013-04-25 Alcatel Lucent Scalable distributed multicluster device management server architecture and method of operation thereof
CN103685461A (en) * 2013-10-24 2014-03-26 从兴技术有限公司 Cluster management device, system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207561A (en) * 2006-12-22 2008-06-25 华为技术有限公司 Cluster manager, cluster system as well as cluster managing method
CN101207550A (en) * 2007-03-16 2008-06-25 中国科学技术大学 Load balancing system and method for multi business to implement load balancing
WO2010025674A1 (en) * 2008-09-03 2010-03-11 中兴通讯股份有限公司 Method and apparatus for monitoring operating status of node in short message service center
WO2013059076A1 (en) * 2011-10-17 2013-04-25 Alcatel Lucent Scalable distributed multicluster device management server architecture and method of operation thereof
CN103685461A (en) * 2013-10-24 2014-03-26 从兴技术有限公司 Cluster management device, system and method

Also Published As

Publication number Publication date
CN105450727A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105897827A (en) Server node, local area network server cluster and realizing method thereof
EP2993838B1 (en) Methods for setting a member identity of gateway device and corresponding management gateway devices
US20120311295A1 (en) System and method of optimization of in-memory data grid placement
US9256828B2 (en) Alarm correlation analysis method, apparatus and system
EP2838228A1 (en) Alarm correlation analysis method, apparatus, and system
CN106936623A (en) The management method of distributed cache system and cache cluster
CN110289999B (en) Data processing method, system and device
CN113515364B (en) Data migration method and device, computer equipment and storage medium
PH12014502594B1 (en) Service node switching method and system
CN105450727B (en) A kind of network communication method and network communication architectures
CN105656964B (en) The implementation method and device of data-pushing
CN106357726A (en) Load balancing method and device
CN109495383A (en) A kind of data processing method, device, communication system and the network equipment
CN103067359A (en) System and method based on connection multiplexing and capable of improving server concurrent processing capacity
JP6059558B2 (en) Load balancing judgment system
EP2881861B1 (en) Load distribution device, information processing system, method, and program
CN109981476A (en) A kind of load-balancing method and device
CN108881415A (en) Distributed big data analysis system in real time
CN105959410B (en) The load-balancing method and SiteServer LBS of server cluster
CN106878356B (en) Scheduling method and computing node
CN106209680A (en) Information processor and method
CN105468684B (en) Filtering sensitive words system and its communication means
US10652097B2 (en) Virtual network probing
CN112714903A (en) Scalable cell-based packet processing service using client-provided decision metadata
US10572486B2 (en) Data communication in a distributed data grid

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant