Invention Grant
- Patent Title: Method and device for managing shared memory in robot operating system
-
Application No.: US15279138Application Date: 2016-09-28
-
Publication No.: US09967222B2Publication Date: 2018-05-08
- Inventor: Jingchao Feng , Liming Xia , Quan Wang , Ning Qu , Zhuo Chen
- Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Seed IP Law Group LLP
- Priority: CN201610390625 20160602
- Main IPC: G06F15/16
- IPC: G06F15/16 ; H04L12/58 ; B25J9/16 ; G06F3/06 ; G06F12/02 ; H04L29/08 ; G05B19/418

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 and flexibly.
Public/Granted literature
- US20170353418A1 METHOD AND DEVICE FOR MANAGING SHARED MEMORY IN ROBOT OPERATING SYSTEM Public/Granted day:2017-12-07
Information query