Code representation generation method and device

The invention discloses a code representation generation method and device, and the method comprises the steps: carrying out the program analysis of a source code, and obtaining a code program analysis result of the source code; at least one code structure unit is determined from the code program an...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DING YIWEI, HU ENRUI, WANG QIRUI, XU PENG, LI YUHAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator DING YIWEI
HU ENRUI
WANG QIRUI
XU PENG
LI YUHAO
description The invention discloses a code representation generation method and device, and the method comprises the steps: carrying out the program analysis of a source code, and obtaining a code program analysis result of the source code; at least one code structure unit is determined from the code program analysis result. Wherein the code structure unit refers to a code snippet with complete semantics and structure. And inputting the at least one code structure unit and the code program analysis result into a code representation model, so that the code representation model can generate a code representation for any code snippet with complete semantics and structure in the source code. 一种代码表示的生成方法及装置,该方法包括:对源代码进行程序分析,得到源代码的代码程序分析结果;从代码程序分析结果中确定至少一个代码结构单元。其中,代码结构单元是指具有完整语义和结构的代码片段。将至少一个代码结构单元和代码程序分析结果输入代码表示模型,使得代码表示模型能够为源代码中的任意具有完整语义和结构的代码片段产生代码表示。
format Patent
fullrecord <record><control><sourceid>epo_EVB</sourceid><recordid>TN_cdi_epo_espacenet_CN117311677A</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>CN117311677A</sourcerecordid><originalsourceid>FETCH-epo_espacenet_CN117311677A3</originalsourceid><addsrcrecordid>eNrjZDBwzk9JVShKLShKLU7NK0ksyczPU0hPzUstgjBzU0sy8lMUEvNSFFJSyzKTU3kYWNMSc4pTeaE0N4Oim2uIs4duakF-fGpxQWIyUHNJvLOfoaG5saGhmbm5ozExagB4GCt5</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>patent</recordtype></control><display><type>patent</type><title>Code representation generation method and device</title><source>esp@cenet</source><creator>DING YIWEI ; HU ENRUI ; WANG QIRUI ; XU PENG ; LI YUHAO</creator><creatorcontrib>DING YIWEI ; HU ENRUI ; WANG QIRUI ; XU PENG ; LI YUHAO</creatorcontrib><description>The invention discloses a code representation generation method and device, and the method comprises the steps: carrying out the program analysis of a source code, and obtaining a code program analysis result of the source code; at least one code structure unit is determined from the code program analysis result. Wherein the code structure unit refers to a code snippet with complete semantics and structure. And inputting the at least one code structure unit and the code program analysis result into a code representation model, so that the code representation model can generate a code representation for any code snippet with complete semantics and structure in the source code. 一种代码表示的生成方法及装置,该方法包括:对源代码进行程序分析,得到源代码的代码程序分析结果;从代码程序分析结果中确定至少一个代码结构单元。其中,代码结构单元是指具有完整语义和结构的代码片段。将至少一个代码结构单元和代码程序分析结果输入代码表示模型,使得代码表示模型能够为源代码中的任意具有完整语义和结构的代码片段产生代码表示。</description><language>chi ; eng</language><subject>CALCULATING ; COMPUTING ; COUNTING ; ELECTRIC DIGITAL DATA PROCESSING ; PHYSICS</subject><creationdate>2023</creationdate><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://worldwide.espacenet.com/publicationDetails/biblio?FT=D&amp;date=20231229&amp;DB=EPODOC&amp;CC=CN&amp;NR=117311677A$$EHTML$$P50$$Gepo$$Hfree_for_read</linktohtml><link.rule.ids>230,308,780,885,25563,76318</link.rule.ids><linktorsrc>$$Uhttps://worldwide.espacenet.com/publicationDetails/biblio?FT=D&amp;date=20231229&amp;DB=EPODOC&amp;CC=CN&amp;NR=117311677A$$EView_record_in_European_Patent_Office$$FView_record_in_$$GEuropean_Patent_Office$$Hfree_for_read</linktorsrc></links><search><creatorcontrib>DING YIWEI</creatorcontrib><creatorcontrib>HU ENRUI</creatorcontrib><creatorcontrib>WANG QIRUI</creatorcontrib><creatorcontrib>XU PENG</creatorcontrib><creatorcontrib>LI YUHAO</creatorcontrib><title>Code representation generation method and device</title><description>The invention discloses a code representation generation method and device, and the method comprises the steps: carrying out the program analysis of a source code, and obtaining a code program analysis result of the source code; at least one code structure unit is determined from the code program analysis result. Wherein the code structure unit refers to a code snippet with complete semantics and structure. And inputting the at least one code structure unit and the code program analysis result into a code representation model, so that the code representation model can generate a code representation for any code snippet with complete semantics and structure in the source code. 一种代码表示的生成方法及装置,该方法包括:对源代码进行程序分析,得到源代码的代码程序分析结果;从代码程序分析结果中确定至少一个代码结构单元。其中,代码结构单元是指具有完整语义和结构的代码片段。将至少一个代码结构单元和代码程序分析结果输入代码表示模型,使得代码表示模型能够为源代码中的任意具有完整语义和结构的代码片段产生代码表示。</description><subject>CALCULATING</subject><subject>COMPUTING</subject><subject>COUNTING</subject><subject>ELECTRIC DIGITAL DATA PROCESSING</subject><subject>PHYSICS</subject><fulltext>true</fulltext><rsrctype>patent</rsrctype><creationdate>2023</creationdate><recordtype>patent</recordtype><sourceid>EVB</sourceid><recordid>eNrjZDBwzk9JVShKLShKLU7NK0ksyczPU0hPzUstgjBzU0sy8lMUEvNSFFJSyzKTU3kYWNMSc4pTeaE0N4Oim2uIs4duakF-fGpxQWIyUHNJvLOfoaG5saGhmbm5ozExagB4GCt5</recordid><startdate>20231229</startdate><enddate>20231229</enddate><creator>DING YIWEI</creator><creator>HU ENRUI</creator><creator>WANG QIRUI</creator><creator>XU PENG</creator><creator>LI YUHAO</creator><scope>EVB</scope></search><sort><creationdate>20231229</creationdate><title>Code representation generation method and device</title><author>DING YIWEI ; HU ENRUI ; WANG QIRUI ; XU PENG ; LI YUHAO</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-epo_espacenet_CN117311677A3</frbrgroupid><rsrctype>patents</rsrctype><prefilter>patents</prefilter><language>chi ; eng</language><creationdate>2023</creationdate><topic>CALCULATING</topic><topic>COMPUTING</topic><topic>COUNTING</topic><topic>ELECTRIC DIGITAL DATA PROCESSING</topic><topic>PHYSICS</topic><toplevel>online_resources</toplevel><creatorcontrib>DING YIWEI</creatorcontrib><creatorcontrib>HU ENRUI</creatorcontrib><creatorcontrib>WANG QIRUI</creatorcontrib><creatorcontrib>XU PENG</creatorcontrib><creatorcontrib>LI YUHAO</creatorcontrib><collection>esp@cenet</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>DING YIWEI</au><au>HU ENRUI</au><au>WANG QIRUI</au><au>XU PENG</au><au>LI YUHAO</au><format>patent</format><genre>patent</genre><ristype>GEN</ristype><title>Code representation generation method and device</title><date>2023-12-29</date><risdate>2023</risdate><abstract>The invention discloses a code representation generation method and device, and the method comprises the steps: carrying out the program analysis of a source code, and obtaining a code program analysis result of the source code; at least one code structure unit is determined from the code program analysis result. Wherein the code structure unit refers to a code snippet with complete semantics and structure. And inputting the at least one code structure unit and the code program analysis result into a code representation model, so that the code representation model can generate a code representation for any code snippet with complete semantics and structure in the source code. 一种代码表示的生成方法及装置,该方法包括:对源代码进行程序分析,得到源代码的代码程序分析结果;从代码程序分析结果中确定至少一个代码结构单元。其中,代码结构单元是指具有完整语义和结构的代码片段。将至少一个代码结构单元和代码程序分析结果输入代码表示模型,使得代码表示模型能够为源代码中的任意具有完整语义和结构的代码片段产生代码表示。</abstract><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier
ispartof
issn
language chi ; eng
recordid cdi_epo_espacenet_CN117311677A
source esp@cenet
subjects CALCULATING
COMPUTING
COUNTING
ELECTRIC DIGITAL DATA PROCESSING
PHYSICS
title Code representation generation method and device
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-12T08%3A47%3A16IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-epo_EVB&rft_val_fmt=info:ofi/fmt:kev:mtx:patent&rft.genre=patent&rft.au=DING%20YIWEI&rft.date=2023-12-29&rft_id=info:doi/&rft_dat=%3Cepo_EVB%3ECN117311677A%3C/epo_EVB%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true