Are there any patent applications for algorithms? Can’t patents be applied for principles and algorithms?

1. According to Article 25 of the Patent Law, whether an intellectual activity algorithm can be patented depends on the patent itself. How do you say this? Because this algorithm is generally attributed to the rules and methods of intellectual activities, if you cannot apply for such a patent according to the patent law, it will generally not be authorized, but if it can be applied to related technical fields, such as software methods Implementation, and the specific methods that can be used to achieve the operation are enough.