Communication apparatus and method based on shared memory
First Claim
Patent Images
1. A communication apparatus based on shared memory, comprising:
- a data publication unit configured to publish data stored in a shared memory unit;
a data subscription unit configured to subscribe to the data stored in the shared memory unit; and
an access control unit configured to control access of the data publication unit and the data subscription unit to the shared memory unit in response to locking operation instructions of the data publication unit and the data subscription unit with respect to the shared memory unit;
whereinthe data publication unit comprises a first locking management unit configured to monitor a locking state of the shared memory unit, and to instruct the access control unit to perform a locking operation in order to have a right to access the shared memory unit authenticated; and
the first locking management unit is further configured to instruct the access control unit to perform an unlocking operation if termination has been performed without unlocking of the shared memory unit by the access control unit.
1 Assignment
0 Petitions
Accused Products
Abstract
A communication apparatus and method based on shared memory are disclosed. The communication apparatus based on shared memory includes a data publication unit, a data subscription unit, and an access control unit. The data publication unit publishes data stored in a shared memory unit. The data subscription unit subscribes to the data stored in the shared memory unit. The access control unit controls the access of the data publication unit and the data subscription unit to the shared memory unit in response to locking operation instructions of the data publication unit and the data subscription unit with respect to the shared memory unit.
-
Citations
16 Claims
-
1. A communication apparatus based on shared memory, comprising:
-
a data publication unit configured to publish data stored in a shared memory unit; a data subscription unit configured to subscribe to the data stored in the shared memory unit; and an access control unit configured to control access of the data publication unit and the data subscription unit to the shared memory unit in response to locking operation instructions of the data publication unit and the data subscription unit with respect to the shared memory unit; wherein the data publication unit comprises a first locking management unit configured to monitor a locking state of the shared memory unit, and to instruct the access control unit to perform a locking operation in order to have a right to access the shared memory unit authenticated; and the first locking management unit is further configured to instruct the access control unit to perform an unlocking operation if termination has been performed without unlocking of the shared memory unit by the access control unit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A communication method based on shared memory, comprising:
-
publishing, by a data publication unit, data stored in a shared memory unit; subscribing, by a data subscription unit, to the data stored in the shared memory unit; and controlling, by an access control unit, access of the data publication unit and the data subscription unit to the shared memory unit in response to locking operation instructions of the data publication unit and the data subscription unit with respect to the shared memory unit; wherein publishing, by the data publication unit, the data stored in the shared memory unit comprises; monitoring a locking state of the shared memory unit, and instructing the access control unit to perform a locking operation in order to have a right to access the shared memory unit authenticated; and wherein instructing the access control unit to perform the locking operation in order to have the right to access the shared memory unit authenticated comprises instructing the access control unit to perform an unlocking operation if termination has been performed without unlocking of the shared memory unit by the access control unit. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification