How could one differentiate the btc received is generated or sent? I don't think any differences between.
Not really, they are completely different. Ordinary transaction involves "Input Scripts"; while coinbase transaction (block generation) involves no input.