A load balancing method based on xmpp communication processing server

A server and terminal server technology, applied in transmission systems, electrical components, etc., can solve the problem of ignoring access to ip network ownership and other issues, and achieve the effect of avoiding mis-selection of loads

Active Publication Date: 2021-03-05
厦门天锐科技股份有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] After XMPP is connected, the communication only recognizes the communication account, ignoring the network attribution of the access ip; and webservice is more sensitive to whether the ip belongs to the ip in the local area network or the public network ip

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A load balancing method based on xmpp communication processing server
  • A load balancing method based on xmpp communication processing server
  • A load balancing method based on xmpp communication processing server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0073] As an embodiment of the present invention, considering that the company may have subsidiaries or sub-departments distributed in different geographical areas, it can be decided based on the number of branch personnel whether to deploy terminal servers in the branch, for example, the control center is the company Headquarters, and then access branch 1, branch 2 to branch n, where n is a natural number greater than 0.

[0074] The control center at the headquarters needs to provide access to the external network.

[0075] The terminal of branch 1 uses the local area network to interact with the local terminal server k, and the terminal server k performs data interaction with the control center of the headquarters through the Internet; where k is a natural number greater than 0.

[0076] The terminal of branch n decides to exchange data with branch 1 or the headquarters by configuring the network number. This interaction is based on the Internet, and the terminal server tha...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a load balancing method based on an XMPP communication processing server. The specific method includes: the terminal agent sends a request to the control center to obtain its own communication account; sends a request to the XMPP server openfire to obtain a list of terminal servers that may exist in the network ; Use XMPP communication to send a load inquiry protocol to all terminal servers in the terminal server list; select the terminal server with the lowest load from the terminal server list that returns the load response; initiate a business login protocol to the terminal server with the lowest load to obtain the lowest load The address / port of the terminal server; wherein, the communication account of the terminal server carries the network information and server device information to distinguish the network where the terminal server is located and different server devices in the same local area network. Compared with the existing technology, based on the simple push + pull combination mode, it realizes support for multi-network deployment and automatic load balancing.

Description

technical field [0001] The invention relates to a load balancing method based on an XMPP communication processing server, and relates to the field of server load balancing. Background technique [0002] At present, the communication architecture of the system based on XMPP communication (hereinafter referred to as the system) adopts a combination mode of push and pull. That is, the upper layer broadcasts notifications to the lower layer using XMPP message push, and the lower layer requests and submits data to the upper layer in the form of webservice calls. Its basic communication principle is as figure 1 As shown, all devices in the system are XMPP clients relative to the XMPP communication server openfire. On this basis, all devices can complete point-to-point communication via openfire relay. The device uses the XMPP protocol to log itself into the XMPP communication server as a communication account, so as to obtain the ability to communicate with other communication ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1014H04L67/1001H04L67/56
Inventor 邱志斌涂高元郭永兴陆云燕杨其栓时宜
Owner 厦门天锐科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products