Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Client cluster access method and device

A client and client-side application technology, applied in the computer field, can solve problems such as complicated processes, limited message efficiency, and limited application programs to send messages

Active Publication Date: 2018-02-27
BEIJING TONGTECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] Because the existing traditional message middleware cluster solution has the above-mentioned characteristics, it has the following two defects: firstly, there is only one external entrance for the entire cluster queue; in the scenario where the network bandwidth is not a bottleneck, it limits the application program to send messages ability
Secondly, the process that a message goes through from sending to storage is relatively complicated; it limits the efficiency of sending a message to storage

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
  • Client cluster access method and device
  • Client cluster access method and device
  • Client cluster access method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0051] Such as figure 2As shown, the present invention adopts CQS (Client Queue System, lightweight message queue system) based on memory, and this CQS adopts the linked list data structure, utilizes the IPC interprocess communication (shared memory, semaphore) technology of UNIX system, makes the production of message Readers and message consumers can operate the message queue to complete data exchange between application processes or threads. Client cluster access device, including: Lookup device, used to obtain the cluster list from the name server; registration device, used to create a thread connection pool, and establish a connection with the cluster destination no...

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 client cluster access method and device. The method includes the following steps: S1: a Lookup device in the client obtains a cluster list; S2: a registration device in the client establishes an information exchange area according to the cluster list in S1 and connection pool; S3: The sending device in the client sends a message to the information exchange area as a producer; S4: The client establishes a "send and receive" model; S5: The sending device in the client wakes up all the The thread in the connection pool and send the message; S6: the receiving device in the client serves as the receiver to receive and process the message. The present invention obtains the list information of the cluster queue through the application program, and performs the production and consumption of the message without caring about the number of the server cluster, so that the change of the number of the cluster queue has no influence on the client, and achieves the dynamic situation in the scenario of high concurrency and massive data transmission. The effect of resource expansion and maintaining high transmission performance.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a client cluster access method and device, in particular to a message middleware client cluster access method and device. Background technique [0002] Message middleware is a specific type of middleware, which utilizes efficient and reliable message delivery mechanism for platform-independent data exchange, and integrates distributed systems based on data communication. By providing a message passing and message queuing model, it can extend inter-process communication in a distributed environment, and supports multiple communication protocols, languages, applications, hardware and software platforms. [0003] The traditional message middleware cluster solution is based on the cluster mode of background service nodes. Its workflow is as follows: [0004] Step 1: The application only needs to know a cluster queue name of the specified service node in advance, and send ...

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
Inventor 张辉
Owner BEIJING TONGTECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products