Intellectual property law issues: Is computer software a patent or a work?

In most cases, it is regarded as a work, and computer software applications are not excluded from the patent law. However, most countries place computer software under "copyright" or formulate special laws to protect it. Our country has also passed the Copyright Law and the Computer Software Protection Regulations. Therefore, mere computer software cannot obtain patent rights. Only when changes in software are accompanied by changes in computer hardware, the two can be combined to apply for an invention patent, and patent rights can be obtained.