Zend certified PHP/Magento developer

How to get product id in admin product edit page when using component grid

I am trying to get request param id when edit page in my component dataprovider file.
But getting always null value in it.

I am rendering grid in product edit page and i need to filter my data based on current edit page.and when i try to click on tab it fire mui/index/render action and not getting product id in it.

I have also tried using this code (int)$this->request->getParam('current_product_id'); but it is also returning empty value.
can anyone please guide on this.

even in registry not availabe.