Legal analysis: 1. If there is an agreement between the two parties, it shall be handled according to the agreement; According to the Contract Law, the conclusion of the entrustment contract is based on the mutual trust between the principal and the trustee, so if one party has no trust in the other party, it can terminate the entrustment contract at any time; The entrustment contract cannot involve some extremely close and inseparable entrustment, such as marriage registration; 2. If there is no agreement between the two parties, the invention-creation belongs to the creator, and the creator here is the trustee. This law not only reasonably protects the interests of those who have made creative contributions to the completion of inventions (that is, the trustees here), but also fully respects the autonomy of the parties and is more conducive to encouraging inventions. 3. There are entrusted inventions in our country's laws, that is, inventions entrusted to others through contracts. Patent law and contract law adopt the principle of contract priority in the ownership of such inventions. If the contract is not clear or the ownership of the right is not stipulated in the contract, the law makes more favorable provisions for the trustee, that is, the right belongs to the party who has completed the invention and creation; If one party leads, the patent right belongs to the other party. If one party has technical data and two or more applicants have respectively completed the same invention-creation, the patent right shall be granted to the first applicant.
Legal basis: Unless otherwise agreed, the right to apply for exclusive rights belongs to the unit or individual that has completed or jointly completed the invention-creation jointly completed by two or more units or individuals in Article 8 of the Patent Law of People's Republic of China (PRC); After the application is approved, the applicant unit or individual shall be the patentee.