IANAL. However, as an industrial researcher in CS, the standard is this. Once you patent your work, the company is okay with you publishing. There are exceptions. There is a story (no idea if true of not) that the folks who published the dynamo paper almost got fired. Some ideas are so important to the business that they may not be patented and just reserved a trade secret. All of this is negotiable and often done on a case by case basis. Most employers I've had have a standard reviewing process where the researchers submit the paper (to be submitted) and we get an approval that it is okay to publish. There is typically a checkbox that asks if you sought protection for any IP in the paper, etc.