The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
May. 31, 2022
Filed:
Dec. 15, 2020
International Business Machines Corporation, Armonk, NY (US);
Xiao-Yu Li, Beijing, CN;
Hua Wei Fan, Beijing, CN;
Xin Zhao, Beijing, CN;
Hong Wei Sun, Beijing, CN;
Zheng Lei An, Beijing, CN;
Jiangang Deng, Beijing, CN;
Zhou Wen Ya, Beijing, CN;
INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US);
Abstract
Aspects include generating a matrix based on a first sample of source code. Each cell in the matrix can correspond to a unique element in the source code. Each unique element can be encoded to a predetermined value according to an encoding rule. A first waveform is generated by combining a left-side curve and a right-side curve. The left-side curve encodes a first position of non-zero cells in each row of the matrix and the right-side curve encodes a last position of non-zero cells in each row of the matrix. A second sample of source code is identified that matches the first sample of source code based on a comparison of the first waveform to a second waveform constructed from the second sample of source code.