Message transmission method and apparatus, device and medium

US11366707B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11366707-B2
Application numberUS-201916534093-A
CountryUS
Kind codeB2
Filing dateAug 7, 2019
Priority dateAug 30, 2018
Publication dateJun 21, 2022
Grant dateJun 21, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present application provides a message transmission method and apparatus, a device and a medium. The method includes: determining and outputting, by an issuing task, a data message, storing the data message in a preset storage space, and sending an issuing notification message; and reading, by a subscription task, the data message from the preset storage space according to the issuing notification message. With embodiments of the present disclosure, transmission efficiency of the data message between the issuing task and the subscription task may be improved, and source occupancy may be reduced.

First claim

Opening claim text (preview).

What is claimed is: 1. A message transmission method, comprising: determining and outputting, by an issuing task, a data message, storing the data message in a preset storage space, and simultaneously sending an issuing notification message to a subscription task to notify the subscription task obtaining the data message from the preset storage space directly; and reading, by the subscription task, the data message from the preset storage space according to the issuing notification message, comprising: obtaining, by the subscription task, a timestamp of the data message from the issuing notification message, wherein the timestamp is configured to fuse the data messages to determine an associated reference of data message from different issuing tasks within a preset time period, so as to cause a function module preventing from obtaining a false execution result based on false fusion information. 2. The method according to claim 1 , wherein, sending, by the issuing task, the issuing notification message comprises: sending, by the issuing task, the issuing notification message to a program interface of the subscription task in at least one of a broadcast way, a multicast way and a unicast way. 3. The method according to claim 2 , before sending, by the issuing task, the issuing notification message to the program interface of the subscription task in the multicast way, further comprising at least one of: determining, by the issuing task, at least two subscription tasks corresponding to the issuing task to form a multicast group of the issuing notification message according to a task topology relation; and forming, by the issuing task, a multicast group corresponding to the issuing notification message according to at least one of a task networking relation of a physical layer and a task networking relation of an operation system layer. 4. The method according to claim 1 , wherein, reading, by the subscription task, the data message from the preset storage space according to the issuing notification message comprises: obtaining, by the subscription task, a message identifier in the issuing notification message when the subscription task receives the issuing notification message; and reading, by the subscription task, the data message from the preset storage space in response to the message identifier in the issuing notification message being matched with a message identifier in a preset subscribed message of the subscription task. 5. The method according to claim 1 , wherein, reading, by the subscription task, the data message from the preset storage space according to the issuing notification message comprises: reading, by the subscription task, the data message from a storage unit of which a storage address is matched with a message storage address in the issuing notification message according to the message storage address. 6. The method according to claim 1 , wherein, reading, by the subscription task, the data message from the preset storage space according to the issuing notification message comprises: reading, by the subscription task, the data message from the preset storage space, and storing the data message in a message queue based on the timestamp, in which, the subscription task processes the data message according to a sequence of messages in the message queue. 7. The method according to claim 1 , wherein, the subscription task and the issuing task are executed by threads respectively, and the preset storage space is a shared memory space. 8. The method according to claim 1 , wherein, the subscription task and the issuing task are processing tasks in an automatic vehicle system; and the automatic vehicle system comprises at least one of: at least one image sensing task, a laser point cloud sensing task, a planning task and a driving task. 9. The method according to claim 2 , wherein, the subscription task and the issuing task are executed by threads respectively, the preset storage space is a shared memory space, the subscription task and the issuing task are processing tasks in an automatic vehicle system; and the automatic vehicle system comprises at least one of: at least one image sensing task, a laser point cloud sensing task, a planning task and a driving task. 10. The method according to claim 3 , wherein, the subscription task and the issuing task are executed by threads respectively, the preset storage space is a shared memory space, the subscription task and the issuing task are processing tasks in an automatic vehicle system; and the automatic vehicle system comprises at least one of: at least one image sensing task, a laser point cloud sensing task, a planning task and a driving task. 11. The method according to claim 4 , wherein, the subscription task and the issuing task are executed by threads respectively, the preset storage space is a shared memory space, the subscription task and the issuing task are processing tasks in an automatic vehicle system; and the automatic vehicle system comprises at least one of: at least one image sensing task, a laser point cloud sensing task, a planning task and a driving task. 12. The method according to claim 5 , wherein, the subscription task and the issuing task are executed by threads respectively, the preset storage space is a shared memory space, the subscription task and the issuing task are processing tasks in an automatic vehicle system; and the automatic vehicle system comprises at least one of: at least one image sensing task, a laser point cloud sensing task, a planning task and a driving task. 13. The method according to claim 6 , wherein, the subscription task and the issuing task are executed by threads respectively, the preset storage space is a shared memory space, the subscription task and the issuing task are processing tasks in an automatic vehicle system; and the automatic vehicle system comprises at least one of: at least one image sensing task, a laser point cloud sensing task, a planning task and a driving task. 14. A device, comprising: one or more processors; a storage device, configured to store one or more programs; wherein when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a message transmission method, and the method comprises: determining and outputting, by an issuing task, a data message, storing the data message in a preset storage space, and simultaneously sending an issuing notification message to a subscription task to notify the subscription task obtaining the data message from the preset storage space directly; and reading, by the subscription task, the data message from the preset storage space according to the issuing notification message, comprising: obtaining, by the subscription task, a timestamp of the data message from the issuing notification message, wherein the timestamp is configured to fuse the data messages to determine an associated reference of data message from different issuing tasks within a preset time period, so as to cause a function module preventing from obtaining a false execution result based on false fusion information. 15. A non-statutory computer readable storage medium having a computer program stored thereon, wherein, the computer program is configured to be executed to implement a message transmission method, and the method comprises: determining and outputting, by an issuing task, a data message, storing the data message in a preset storage space, and simultaneously sending an issuing notification message to a subscription task to notify the subscription task obtaining the data message from the preset storage space di

Assignees

Inventors

Classifications

  • G06F9/546Primary

    Message passing systems or structures, e.g. queues · CPC title

  • Event management; Broadcasting; Multicasting; Notifications · CPC title

  • Improving I/O performance · CPC title

  • G06F3/0655Primary

    Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices · CPC title

  • G06F9/544Primary

    Buffers; Shared memory; Pipes · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11366707B2 cover?
The present application provides a message transmission method and apparatus, a device and a medium. The method includes: determining and outputting, by an issuing task, a data message, storing the data message in a preset storage space, and sending an issuing notification message; and reading, by a subscription task, the data message from the preset storage space according to the issuing notif…
Who is the assignee on this patent?
Baidu online network technology beijing co ltd, Apollo Intelligent Driving Tech Beijing Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F9/546. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 21 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).