Communication method and apparatus

US11500689B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11500689-B2
Application numberUS-202016999860-A
CountryUS
Kind codeB2
Filing dateAug 21, 2020
Priority dateFeb 24, 2018
Publication dateNov 15, 2022
Grant dateNov 15, 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.

A communication method includes monitoring, by a shared agent, shared memory, wherein the shared memory is used by a first application, wherein the first application runs on a virtual device, wherein the virtual device is located on a host, wherein the shared memory belongs to a part of memory of the host and does not belong to memory specified by the host for the virtual device, and wherein the shared agent is disposed on the host independent of the virtual device, determining, by the shared agent, whether data of the first application is written to the shared memory, reading, by the shared agent, the data from the shared memory and sending the data to a second application in response to the data of the first application is written to the shared memory, wherein the second application is a data sharing party specified by the first application.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method comprising: monitoring, by a shared agent, a shared memory according to an address that is of a virtual memory of the shared agent and that corresponds to a physical address of the shared memory, wherein the shared memory is used by a first application of a virtual device on a host, wherein the shared memory belongs to a part of a memory of the host that is not dedicated by the host to the virtual device, and wherein the shared agent is disposed on the host independent of the virtual device; determining, by the shared agent, whether data of the first application have been written to the shared memory; reading, by the shared agent, the data from the shared memory after the data have been written, to the shared memory; and sending the data to a second application, wherein the second application is a data sharing party specified by the first application. 2. The method of claim 1 , further comprising: applying, by the first application, for the shared memory; obtaining, by the first application, the shared memory; and registering, by the first application, shared information of the first application with a sharing management center, wherein the shared information comprises a first identifier of the first application, a second identifier of the data sharing party, and information about the shared memory. 3. The method of claim 2 , wherein before reading the data from the shared memory, the method further comprises: sending, by the shared agent, a query message to the sharing management center based on the first identifier; receiving, by the shared agent, a query response message from the sharing management center, wherein the query response message indicates information about the data sharing party, and wherein the information about the data sharing party comprises a third identifier of the second application; and sending, by the shared agent, the data to the second application based on the third identifier. 4. The method of claim 1 , wherein sending the data to the second application comprises sending, by the shared agent, the data to the second application in a remote direct memory access manner. 5. The method of claim 1 , further comprising: obtaining, by the first application, a virtual address of the shared memory; translating, by the first application, the physical address into the address; obtaining, by the shared agent, the address; and writing, by the first application, the data to the shared memory according to the virtual address. 6. The method of claim 5 , further comprising creating, by the first application, a ring buffer based on the shared memory, wherein the virtual address is of the ring buffer, and wherein the physical address is of the ring buffer. 7. A method comprising: receiving, by a shared agent, data from a first application; and writing, by the shared agent according to an address, the data to a shared memory to enable a second application to obtain the data, wherein the address is of a virtual memory of the shared agent and corresponds to a physical address of the shared memory, wherein the shared memory is used by the second application, wherein the second application runs on a virtual device, wherein the virtual device is located on a host, wherein the shared memory belongs to a part of memory of the host and does not belong to a memory specified by the host for the virtual device, wherein the shared agent is independent of the virtual device and is disposed on the host, and wherein the first application is a data sharing party specified by the second application. 8. The method of claim 7 , further comprising: applying, by the second application, for the shared memory; obtaining, by the second application, the shared memory; and registering, by the second application, shared information of the second application with a sharing management center, wherein the shared information comprises a first identifier of the second application, a second identifier of the data sharing party specified by the second application, and information about the shared memory. 9. The method of claim 8 , wherein before writing, by the shared agent, the data to the shared memory, the method further comprises sending, by the shared agent, a query message to the sharing management center to determine the first identifier or the information about the shared memory. 10. The method of claim 7 , wherein receiving the data from the first application comprises receiving the data from the first application in a remote direct memory access manner. 11. The method of claim 7 , further comprising: obtaining, by the second application, a virtual address of the shared memory; translating, by the second application, the physical address into the address; and providing the shared agent with the address. 12. The method of claim 11 , further comprising creating, by the second application, a ring buffer based on the shared memory, wherein the virtual address is of the ring buffer, and wherein the physical address is of the ring buffer. 13. A data transmission system comprising: a first host comprising: a first virtual device that runs on the first host; a first application that runs on the first virtual device; a first memory comprising a first shared memory, wherein the first shared memory is allocated to the first application and does not belong to memory specified by the first host for the first virtual device; and a first shared agent configured to: monitor the first shared memory; detect that data of the first application is written to the first shared memory; and read the data from the first shared memory after monitoring and detecting that the data of the first application is written to the first shared memory; and send the data; and a second host comprising: a second virtual device that runs on the second host; a second application that runs on the second virtual device and is a data sharing party of the first application; a second memory comprising a second shared memory that is allocated to the second application, wherein the second shared memory does not belong to memory specified by the second host for the second virtual device; and a second shared agent configured to: receive the data from the first application; and write the data to the second shared memory. 14. The data transmission system of claim 13 , further comprising a sharing management center coupled to the first host and the second host and configured to: receive a registration message from the first host; obtain shared information that is of the first application and that is in the registration message, wherein the shared information comprises a first identifier of the first application, a second identifier of the data sharing party, and information about the first shared memory; receive a first query message from the first shared agent, wherein the first query message carries the first identifier; query information about the data sharing party based on the first identifier; and send a query response message to the first shared agent, wherein the query response message comprises a third identifier of the second application. 15. The data transmission system of claim 14 , wherein the sharing management center is further configured to: receive a second query message from the second shared agent; query the third identifier or information about the second shared memory; and send a query response message to the second shared agent, wherein the query response message comprises the third identifier or the information about the second shared memory.

Assignees

Inventors

Classifications

  • Virtual address space management · CPC title

  • H04L67/56Primary

    Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54) · CPC title

  • Distributed shared memory [DSM], e.g. remote direct memory access [RDMA] · CPC title

  • involving the movement of software or configuration parameters  (network booting or remote initial program loading [RIPL] G06F9/4416) · CPC title

  • Memory management, e.g. access or allocation · 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 US11500689B2 cover?
A communication method includes monitoring, by a shared agent, shared memory, wherein the shared memory is used by a first application, wherein the first application runs on a virtual device, wherein the virtual device is located on a host, wherein the shared memory belongs to a part of memory of the host and does not belong to memory specified by the host for the virtual device, and wherein th…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L67/56. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Nov 15 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 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).