Patent · US Active

Method and device for managing shared memory in robot operating system

US9967222B2 · kind B2 · utility

2Cited by
3References
11Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 28, 2016
Grant dateMay 8, 2018
Priority date
Expiry dateJan 14, 2037

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2212/173
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Disclosed in the present application are a method and device for managing a shared memory in a robot operating system. A detailed embodiment of the method comprises: acquiring a shared memory registering service request transmitted from a message receiving node, the shared memory registering service request comprising a topic name and a size of a required memory segment; requesting a memory segment in a shared memory area based on the size of the required memory segment, associating the topic name with the requested memory segment, and saving the topic name in a configuration file; dividing the requested memory segment into a plurality of memory blocks based on a size of a message transmitted from a message transmitting node; and deallocating the requested memory segment where any one of following conditions is satisfied: the topic name in a main node is inconsistent with that in the configuration file, the message transmitting node and message receiving node stop working, and the message receiving node stops subscribing to a topic corresponding to the topic name. By means of the embodiment, the shared memory of the robot operating system is allocated and managed more reasonably an…

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.