Unlock instant, AI-driven research and patent intelligence for your innovation.

Message duplication eliminating method and device, electronic device, medium and unmanned vehicle

A technology for messages and business messages, applied in the computer field, can solve the problem of repeated reception of messages

Active Publication Date: 2019-01-11
APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO LTD
View PDF9 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a message deduplication method, device, electronic equipment, medium and unmanned vehicle based on a distributed system, which solves the problem of repeated message reception

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
  • Message duplication eliminating method and device, electronic device, medium and unmanned vehicle
  • Message duplication eliminating method and device, electronic device, medium and unmanned vehicle
  • Message duplication eliminating method and device, electronic device, medium and unmanned vehicle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] figure 1 This is a flowchart of a method for message deduplication based on a distributed system provided in Embodiment 1 of the present invention. This embodiment can be applied to avoid receiving duplicate messages in a distributed system, and the method can be applied to a distributed system. The method can be performed by a message deduplication device based on a distributed system, and the device can be implemented by software and / or hardware. The device may be configured at a subscribing node in a distributed system, eg, a node in an unmanned vehicle with a distributed system. like figure 1 As shown, the method includes:

[0056] S110. The subscribing node determines a node relationship with each publishing node based on the publishing node information under the same topic as the subscribing node in the distributed system, wherein the node relationship includes intra-process, cross-process or cross-host .

[0057] Wherein, the distributed system includes at le...

Embodiment 2

[0069] figure 2 This is a flowchart of a method for message deduplication based on a distributed system provided in Embodiment 2 of the present invention. This embodiment can be applied to avoid receiving duplicate messages in a distributed system, and the method can be applied to a distributed system. In the publishing node, the method can be performed by a message deduplication device based on a distributed system, and the device can be implemented by software and / or hardware. The device may be configured at a publishing node in a distributed system, eg, a node in an unmanned vehicle with a distributed system. like figure 2 As shown, the method includes:

[0070] S210. The publishing node determines a node relationship with each subscription node based on the subscription node information under the same topic as the publishing node in the distributed system, where the node relationship includes intra-process, cross-process or cross-host .

[0071] Wherein, the distribu...

Embodiment 3

[0078] image 3 This is a flowchart of a method for message deduplication based on a distributed system provided in Embodiment 3 of the present invention. This embodiment can be applied to avoid receiving duplicate messages in a distributed system, and the method can be applied to a distributed system. In the management module, the method can be executed by a message deduplication device based on a distributed system, and the device can be implemented by software and / or hardware. The device can be configured in a management module in a distributed system, for example, a management module based on different communication modes in an unmanned vehicle with a distributed system. like image 3 As shown, the method includes:

[0079] S310. Receive a service message from each publishing node, wherein the service message at least carries a unique identifier of the publishing node and a message topic.

[0080] Wherein, the distributed system includes at least two subsystems, the at ...

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 message duplication eliminating method and device, an electronic device, a medium and an unmanned vehicle. The method comprises the steps of: determining anode relation between publishing nodes by subscription nodes based on attribute information of the publishing nodes belonging to the same theme as the subscription nodes in a distributed system; according to the node relation, determining a communication mode between the publishing nodes; and according to the communication mode, performing registration of management modules corresponding to different communication mode to allow the management modules to receive business messages from the publishing nodes, according to the registration content and the unique identifier of the publishing nodes carried in the business message, determining that the business messages are sent to which subscription nodes, and assigning a certain communication mode to receive the business messages from which onepublish node in the registration content, sending the business messages to the corresponding subscription nodes so as to avoid that the subscription nodes receive the same repeated messages.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technologies, and in particular, to a method, device, electronic device, medium, and unmanned vehicle for message deduplication based on a distributed system. Background technique [0002] At present, unmanned vehicles mostly use topic-based publish and subscribe mode for communication. In order to improve the efficiency of data transmission, an adaptive communication method is generally adopted. For example, for communication within the same process, pointers can be passed directly; for cross-process communication with the host, shared memory can be used. [0003] Different communication methods are isolated, which results in that in some cases, the subscriber will repeatedly receive messages from the same publisher. For example, the same subscriber will use the pointer method within the process and read the shared memory method across the process. , the message of the same publish...

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/10H04L67/60H04W4/40H04L67/55H04L65/1073
Inventor 倪忠俊姚卫锋夏黎明辛建康邓呈亮陈卓
Owner APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO LTD