Publishing and subscribing service processing method and device and electronic equipment

A technology of subscription service and processing method, applied in the field of publishing and subscription, can solve the problems of subscribers unable to receive the publisher's message, message loss, difficult unified management and operation and maintenance, etc., and achieve the effect of solving the problem of node communication

Pending Publication Date: 2020-09-25
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF17 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] There is still a means of using multi-proxy servers to provide external services. Although more clients can be served in this way, the messages between the proxy servers are not communicated. When the server is running, the subscriber cannot receive the message sent by the publisher, resulting in the loss of the message
At the same time, because the clients are distributed on different nodes, it is difficult to perform unified management and operation and maintenance

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
  • Publishing and subscribing service processing method and device and electronic equipment
  • Publishing and subscribing service processing method and device and electronic equipment
  • Publishing and subscribing service processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0090] First, in an embodiment of the present disclosure, a method for processing publish and subscribe services is provided, such as Figure 4 said, Figure 4 It is a step-by-step flow chart of the publishing and subscribing service processing method according to the first embodiment of the present disclosure. The method may be implemented by an electronic device or a system composed of multiple electronic devices, and the electronic device may be, for example, as figure 1 Electronic device 1000 is shown.

[0091] In this embodiment, the method for publishing and subscribing services is executed by a proxy server in a proxy server cluster, and the proxy server cluster includes multiple proxy servers, and the multiple proxy servers are respectively connected to the same intermediate server.

[0092] The processing method of the publish and subscribe service includes the following steps:

[0093] Step 102, receiving a first publish message of a predetermined topic published ...

Embodiment 2

[0120] In another embodiment of the present disclosure, a method for processing publish and subscribe services is provided, such as Figure 5 said, Figure 5 It is a flowchart of the steps of the method for processing the publish and subscribe service according to the second embodiment of the present disclosure. The method may be implemented by an electronic device or a system composed of multiple electronic devices, and the electronic device may be, for example, as figure 1 Electronic device 1000 is shown.

[0121] In this embodiment, the method for publishing and subscribing services is executed by an intermediate server, and the intermediate server is respectively connected to multiple proxy servers of the proxy server cluster.

[0122] Such as Figure 5 As shown, the processing method of the publish and subscribe service includes the following steps:

[0123] Step 112, receiving synchronization information sent by a proxy server, where the synchronization information i...

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 embodiment of the invention discloses a publishing and subscribing service processing method and device, electronic equipment and a computer readable storage medium, and relates to the field of cloud computing. The method is executed by one proxy server in a proxy server cluster, the proxy server cluster comprises a plurality of proxy servers, and the plurality of proxy servers are respectively connected with the same intermediate server. The method comprises the steps of receiving a first published message of a predetermined theme published by a publisher client; and sending first synchronization information containing the first published message to an intermediate server, so that the intermediate server sends the first synchronization information to a plurality of proxy servers of aproxy server cluster, the first synchronization information containing the first published message, the name of the theme corresponding to the first published message, and the name of the proxy server. According to the embodiment of the invention, the published message of the client can be shared among multiple proxy servers.

Description

technical field [0001] The present application relates to the technical field of publishing and subscription, and in particular to a processing method, device, electronic equipment, and computer-readable storage medium for publishing and subscription services. Background technique [0002] Publish and subscribe is a message paradigm. The sender of the message, that is, the publisher, will not send the message directly to a specific receiver, that is, the subscriber, but through a central communication point, such as Message Queuing Telemetry Transport (Message Queuing Telemetry Transport , MQTT) agent to send. The MQTT broker is responsible for scheduling all messages between publishers and legitimate subscribers. [0003] Such as figure 1 as shown, figure 1 It is the proxy server communication architecture diagram of the existing publishing and subscribing service. Each publisher client that publishes a message to the proxy server includes a topic in the message, and the...

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
IPC IPC(8): H04L29/08
CPCH04L67/562H04L67/56H04L67/55
Inventor 胡佳
Owner BEIJING KINGSOFT CLOUD NETWORK 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