Invention Grant
- Patent Title: Data transmission method and system for transmitting data between processes using shared memory block indexes
-
Application No.: US15281261Application Date: 2016-09-30
-
Publication No.: US10423542B2Publication Date: 2019-09-24
- Inventor: Liming Xia , Jingchao Feng , 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: Miller, Matthias & Hull LLP
- Priority: CN201610473408 20160624
- Main IPC: G06F12/14
- IPC: G06F12/14 ; G06F3/06 ; G06F13/16 ; H04L12/861 ; H04L12/70

Abstract:
A method and a system for transmitting data are disclosed. A method embodiment comprises: acquiring a most recent shared memory block index of a shared memory segment by a data receiver, the shared memory segment being used by a data transmitter and the data receiver to transmit data; deciding whether the most recent shared memory block index is consistent with a shared memory block index corresponding to data recently read by the data receiver; and determining, according to the decision, whether to read the data in the shared memory block corresponding to the most recent shared memory block index, where the determining includes reading the data in the shared memory block corresponding to the most recent shared memory block index when the decision indicates that the most recent shared memory block index is inconsistent with the shared memory block index corresponding to the data recently read by the data receiver.
Public/Granted literature
- US20170371810A1 Data Transmission Method and System Public/Granted day:2017-12-28
Information query