Background server selection method and device realized based on middleware

A server selection and server technology, applied in the field of computer networks, can solve problems such as reducing the efficiency of system processing, increasing computing resources, and increasing system computing volume, so as to reduce computing volume and computing resource occupancy, achieve load balancing, and improve efficiency. Effect

Active Publication Date: 2017-05-10
BEIJING QIHOO TECH CO LTD
View PDF10 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method will increase the computing load of the entire system, occupy more computing resources of the system, and reduce the efficiency of the system in processing things.

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
  • Background server selection method and device realized based on middleware
  • Background server selection method and device realized based on middleware
  • Background server selection method and device realized based on middleware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0070] figure 1 A schematic flowchart of a method for selecting a background server based on middleware is shown according to an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps:

[0071] Step 101, receiving a service request sent by a client.

[0072] Receive the business request sent by the client. For example, by constructing a ServerSocket that monitors the port, a Sock...

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 discloses a background server selection method and device realized based on middleware. The method comprises the following steps: receiving a business request sent by a client; generating a first random number in a preset numerical range, wherein the preset numerical range contains the first numerical range; if the random number falls in the first numerical range, selecting a server according to the response time in the lastest preset time slot of each server in a server list; and forwarding the business request to the selected server. By use of the scheme disclosed by the invention, the response time in the latest preset time slot of each server is used for selecting the server, thereby realizing the load balance of the server system and improving the system stability; since the response time in the latest preset time slot of each server needs to be computed only when the first random number falls in the first numerical range, the operation burden and the operation resource occupancy of the system are lowered to some extent, and the task processing efficiency of the server system is improved.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method and device for selecting a background server based on middleware. Background technique [0002] Middleware is located between the data management layer and the user interface layer. It can be the communication platform between the operating system and the application program, or the data communication medium between the application platform and the background database. Among them, the middleware can also be located between the client and the server, and can complete tasks such as management and coordination of things. [0003] After the middleware receives a new request from the client, it often sends the request to the server in a polling manner, or sends the new request to the server with the least number of current connections by counting the number of connections between the current server and the client. However, using the polling method often causes some...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/1004H04L67/1012H04L67/1019H04L67/562H04L67/566
Inventor 邓怡豪
Owner BEIJING QIHOO TECH CO LTD
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