-
公开(公告)号:US10152277B2
公开(公告)日:2018-12-11
申请号:US15281268
申请日:2016-09-30
Inventor: Liming Xia , Jingchao Feng , Quan Wang , Ning Qu , Zhuo Chen
IPC: G06F3/06 , H04L12/801 , G05D1/02
Abstract: The present application discloses a data transmission method and system. A specific embodiment of the method includes: receiving a data transmission-instruction by a data sender, wherein the data transmission-instruction includes a thematic name indicative of a type of to-be-transmitted data required by a data receiver; creating a shared memory segment corresponding to the thematic name. It makes possible for the data sender and the data receiver to run in a separate memory space. When data is needed to be transmitted, a corresponding shared memory segment may be created for data transmission in accordance with any transmitting requirement, and the shared memory segment may be released when the transmission is done or appears abnormal. On one hand, it reduces the redundant operations of the data transmission system during data transmission, and improves the data transmission performance; on the other hand, the data transmitting procedure between the data sender and the data receiver, and other operations executed by the data sender or the data receiver are independent of each other, which improves the stability of the data transmission system.
-
公开(公告)号:US09967222B2
公开(公告)日:2018-05-08
申请号:US15279138
申请日:2016-09-28
Inventor: Jingchao Feng , Liming Xia , Quan Wang , Ning Qu , Zhuo Chen
CPC classification number: H04L51/18 , B25J9/161 , G05B19/418 , G06F3/0604 , G06F3/0631 , G06F3/0637 , G06F3/067 , G06F12/023 , G06F2212/1016 , G06F2212/1044 , G06F2212/154 , G06F2212/173 , H04L67/10 , H04L67/125
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.
-
公开(公告)号:US09965344B2
公开(公告)日:2018-05-08
申请号:US15409946
申请日:2017-01-19
Inventor: Liming Xia , Jingchao Feng , Quan Wang , Ning Qu , Wei He , Chengliang Deng , Kaiwen Feng , Zhuo Chen
CPC classification number: G06F9/546 , G06F9/52 , G06F11/3024 , G06F11/3055 , Y10S901/50
Abstract: This disclosure discloses a method and apparatus for transmitting data in a robot operating system. The robot operating system includes a transmitting node, a receiving node, and a shared memory as a transmission medium between the transmitting and receiving nodes. The method in a particular embodiment includes: traversing, by the transmitting node, a sequence of data templates stored in advance in the shared memory, and determining whether the respective data templates in the sequence of data templates are currently being written into or read from; identifying a data template in the sequence of data templates currently being neither written into nor read from as a target data template, and obtaining information of the target data template; and writing data into the target data template according to the information of the target data template. This embodiment can improve the performance of transmitting the data while occupying less memory resources.
-
公开(公告)号:US20180074729A1
公开(公告)日:2018-03-15
申请号:US15410953
申请日:2017-01-20
Inventor: Jingchao Feng , Liming Xia , Quan Wang , Ning Qu , Zhuo Chen , Yu Ma , Haifeng Wang , Yibing Liang
IPC: G06F3/06
CPC classification number: G06F3/0619 , G06F3/0631 , G06F3/065 , G06F3/067
Abstract: The present application discloses a data storage method and apparatus. A specific implementation of the method includes: acquiring to-be-serialized data and a description file related to the to-be-serialized data, wherein the to-be-serialized data includes a data name and a data value, and the description file includes a file identifier and at least one data element, the data element includes at least one data item, and the data item includes a data item name and a data type; allocating a memory space to the data item according to the data type; finding, according to a preset matching relationship between the to-be-serialized data and the data item, a data item matched with the to-be-serialized data; and storing the data value into the memory space of the found data item as a data item value of the found data item. This implementation improves the data storage efficiency.
-
公开(公告)号:US20180067787A1
公开(公告)日:2018-03-08
申请号:US15409946
申请日:2017-01-19
Inventor: Liming Xia , Jingchao Feng , Quan Wang , Ning Qu , Wei He , Chengliang Deng , Kaiwen Feng , Zhuo Chen
CPC classification number: G06F9/546 , G06F9/52 , G06F11/3024 , G06F11/3055 , Y10S901/50
Abstract: This disclosure discloses a method and apparatus for transmitting data in a robot operating system. The robot operating system includes a transmitting node, a receiving node, and a shared memory as a transmission medium between the transmitting and receiving nodes. The method in a particular embodiment includes: traversing, by the transmitting node, a sequence of data templates stored in advance in the shared memory, and determining whether the respective data templates in the sequence of data templates are currently being written into or read from; identifying a data template in the sequence of data templates currently being neither written into nor read from as a target data template, and obtaining information of the target data template; and writing data into the target data template according to the information of the target data template. This embodiment can improve the performance of transmitting the data while occupying less memory resources.
-
公开(公告)号:US20180048715A1
公开(公告)日:2018-02-15
申请号:US15428972
申请日:2017-02-09
Inventor: Haifeng Wang , Liming Xia , Jingchao Feng , Quan Wang , Ning Qu , Zhou Chen
IPC: H04L29/08 , G05D1/00 , H04L12/751
CPC classification number: H04L67/125 , B25J13/006 , G05D1/0022 , G08C17/00 , H04L45/02
Abstract: The present disclosure provides an information transmitting method and apparatus for use in a robot operating system. A specific implementation mode of the method comprises: acquiring to-be-transmitted information; determining a network relationship between a current node and an information receiving node receiving the to-be-transmitted information, the network relationship comprising a remote relationship and a local relationship; determining a transmission approach of the to-be-transmitted information according to a message transmission parameter, a configuration parameter and the network relationship; transmitting the to-be-transmitted information in the transmission approach. The implementation mode improves the information transmission efficiency of the robot operating system.
-
-
-
-
-