Construction method and device of source code vulnerability detection model, equipment and storage medium
The invention provides a source code vulnerability detection model construction method and device, equipment and a storage medium, a code structure diagram is constructed, and the code structure diagram comprises nodes, side information, node types and side types; a meta-path graph is constructed ba...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
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 | WANG XUAN WEN XINCHENG XU GUO'AI GAO CUIYUN GU ZHAOQUAN LIAO QING LIU CHUANYI |
description | The invention provides a source code vulnerability detection model construction method and device, equipment and a storage medium, a code structure diagram is constructed, and the code structure diagram comprises nodes, side information, node types and side types; a meta-path graph is constructed based on the code structure graph, and meta-paths in the meta-path graph are used for representing heterogeneous relations from source nodes to target nodes connected by side information; and learning a heterogeneous relationship of each meta-path in the meta-path graph based on a meta-path attention mechanism, and learning a dependency relationship between nodes exceeding a preset distance based on a hierarchical attention mechanism, so that the graph neural network can learn grammatical structure information of codes, and the performance of code vulnerability detection is improved.
本公开提供了一种源代码漏洞检测模型的构建方法、装置、设备及存储介质,通过构建代码结构图,所述代码结构图包括节点、边信息、节点类型以及边类型;基于所述代码结构图构建元路径图,其中,所述元路径图中的元路径用于代表由边信息连接的源节点到目标节点的异构关系;基于元路径注意力机制 |
format | Patent |
fullrecord | <record><control><sourceid>epo_EVB</sourceid><recordid>TN_cdi_epo_espacenet_CN115828269A</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>CN115828269A</sourcerecordid><originalsourceid>FETCH-epo_espacenet_CN115828269A3</originalsourceid><addsrcrecordid>eNqNjLEKwjAURbs4iPoPz12HVpQ6SlGcnNxLTG41kObV5KXg3xukH-B0L9xzz7ywDfsoIWmx7KmHvNiQ8oYMRqtB3FHkFHLTbEBjch5BPayz8smMYDrm0W0I72SHHl5-iigc1BPZamzql8WsUy5iNeWiWF_O9-a6xcAt4qA0PKRtbmW5r6u6OhxPu3-YL5IQQTs</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>patent</recordtype></control><display><type>patent</type><title>Construction method and device of source code vulnerability detection model, equipment and storage medium</title><source>esp@cenet</source><creator>WANG XUAN ; WEN XINCHENG ; XU GUO'AI ; GAO CUIYUN ; GU ZHAOQUAN ; LIAO QING ; LIU CHUANYI</creator><creatorcontrib>WANG XUAN ; WEN XINCHENG ; XU GUO'AI ; GAO CUIYUN ; GU ZHAOQUAN ; LIAO QING ; LIU CHUANYI</creatorcontrib><description>The invention provides a source code vulnerability detection model construction method and device, equipment and a storage medium, a code structure diagram is constructed, and the code structure diagram comprises nodes, side information, node types and side types; a meta-path graph is constructed based on the code structure graph, and meta-paths in the meta-path graph are used for representing heterogeneous relations from source nodes to target nodes connected by side information; and learning a heterogeneous relationship of each meta-path in the meta-path graph based on a meta-path attention mechanism, and learning a dependency relationship between nodes exceeding a preset distance based on a hierarchical attention mechanism, so that the graph neural network can learn grammatical structure information of codes, and the performance of code vulnerability detection is improved.
本公开提供了一种源代码漏洞检测模型的构建方法、装置、设备及存储介质,通过构建代码结构图,所述代码结构图包括节点、边信息、节点类型以及边类型;基于所述代码结构图构建元路径图,其中,所述元路径图中的元路径用于代表由边信息连接的源节点到目标节点的异构关系;基于元路径注意力机制</description><language>chi ; eng</language><subject>CALCULATING ; COMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS ; 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&date=20230321&DB=EPODOC&CC=CN&NR=115828269A$$EHTML$$P50$$Gepo$$Hfree_for_read</linktohtml><link.rule.ids>230,308,778,883,25551,76302</link.rule.ids><linktorsrc>$$Uhttps://worldwide.espacenet.com/publicationDetails/biblio?FT=D&date=20230321&DB=EPODOC&CC=CN&NR=115828269A$$EView_record_in_European_Patent_Office$$FView_record_in_$$GEuropean_Patent_Office$$Hfree_for_read</linktorsrc></links><search><creatorcontrib>WANG XUAN</creatorcontrib><creatorcontrib>WEN XINCHENG</creatorcontrib><creatorcontrib>XU GUO'AI</creatorcontrib><creatorcontrib>GAO CUIYUN</creatorcontrib><creatorcontrib>GU ZHAOQUAN</creatorcontrib><creatorcontrib>LIAO QING</creatorcontrib><creatorcontrib>LIU CHUANYI</creatorcontrib><title>Construction method and device of source code vulnerability detection model, equipment and storage medium</title><description>The invention provides a source code vulnerability detection model construction method and device, equipment and a storage medium, a code structure diagram is constructed, and the code structure diagram comprises nodes, side information, node types and side types; a meta-path graph is constructed based on the code structure graph, and meta-paths in the meta-path graph are used for representing heterogeneous relations from source nodes to target nodes connected by side information; and learning a heterogeneous relationship of each meta-path in the meta-path graph based on a meta-path attention mechanism, and learning a dependency relationship between nodes exceeding a preset distance based on a hierarchical attention mechanism, so that the graph neural network can learn grammatical structure information of codes, and the performance of code vulnerability detection is improved.
本公开提供了一种源代码漏洞检测模型的构建方法、装置、设备及存储介质,通过构建代码结构图,所述代码结构图包括节点、边信息、节点类型以及边类型;基于所述代码结构图构建元路径图,其中,所述元路径图中的元路径用于代表由边信息连接的源节点到目标节点的异构关系;基于元路径注意力机制</description><subject>CALCULATING</subject><subject>COMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS</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>eNqNjLEKwjAURbs4iPoPz12HVpQ6SlGcnNxLTG41kObV5KXg3xukH-B0L9xzz7ywDfsoIWmx7KmHvNiQ8oYMRqtB3FHkFHLTbEBjch5BPayz8smMYDrm0W0I72SHHl5-iigc1BPZamzql8WsUy5iNeWiWF_O9-a6xcAt4qA0PKRtbmW5r6u6OhxPu3-YL5IQQTs</recordid><startdate>20230321</startdate><enddate>20230321</enddate><creator>WANG XUAN</creator><creator>WEN XINCHENG</creator><creator>XU GUO'AI</creator><creator>GAO CUIYUN</creator><creator>GU ZHAOQUAN</creator><creator>LIAO QING</creator><creator>LIU CHUANYI</creator><scope>EVB</scope></search><sort><creationdate>20230321</creationdate><title>Construction method and device of source code vulnerability detection model, equipment and storage medium</title><author>WANG XUAN ; WEN XINCHENG ; XU GUO'AI ; GAO CUIYUN ; GU ZHAOQUAN ; LIAO QING ; LIU CHUANYI</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-epo_espacenet_CN115828269A3</frbrgroupid><rsrctype>patents</rsrctype><prefilter>patents</prefilter><language>chi ; eng</language><creationdate>2023</creationdate><topic>CALCULATING</topic><topic>COMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS</topic><topic>COMPUTING</topic><topic>COUNTING</topic><topic>ELECTRIC DIGITAL DATA PROCESSING</topic><topic>PHYSICS</topic><toplevel>online_resources</toplevel><creatorcontrib>WANG XUAN</creatorcontrib><creatorcontrib>WEN XINCHENG</creatorcontrib><creatorcontrib>XU GUO'AI</creatorcontrib><creatorcontrib>GAO CUIYUN</creatorcontrib><creatorcontrib>GU ZHAOQUAN</creatorcontrib><creatorcontrib>LIAO QING</creatorcontrib><creatorcontrib>LIU CHUANYI</creatorcontrib><collection>esp@cenet</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>WANG XUAN</au><au>WEN XINCHENG</au><au>XU GUO'AI</au><au>GAO CUIYUN</au><au>GU ZHAOQUAN</au><au>LIAO QING</au><au>LIU CHUANYI</au><format>patent</format><genre>patent</genre><ristype>GEN</ristype><title>Construction method and device of source code vulnerability detection model, equipment and storage medium</title><date>2023-03-21</date><risdate>2023</risdate><abstract>The invention provides a source code vulnerability detection model construction method and device, equipment and a storage medium, a code structure diagram is constructed, and the code structure diagram comprises nodes, side information, node types and side types; a meta-path graph is constructed based on the code structure graph, and meta-paths in the meta-path graph are used for representing heterogeneous relations from source nodes to target nodes connected by side information; and learning a heterogeneous relationship of each meta-path in the meta-path graph based on a meta-path attention mechanism, and learning a dependency relationship between nodes exceeding a preset distance based on a hierarchical attention mechanism, so that the graph neural network can learn grammatical structure information of codes, and the performance of code vulnerability detection is improved.
本公开提供了一种源代码漏洞检测模型的构建方法、装置、设备及存储介质,通过构建代码结构图,所述代码结构图包括节点、边信息、节点类型以及边类型;基于所述代码结构图构建元路径图,其中,所述元路径图中的元路径用于代表由边信息连接的源节点到目标节点的异构关系;基于元路径注意力机制</abstract><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | |
ispartof | |
issn | |
language | chi ; eng |
recordid | cdi_epo_espacenet_CN115828269A |
source | esp@cenet |
subjects | CALCULATING COMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS COMPUTING COUNTING ELECTRIC DIGITAL DATA PROCESSING PHYSICS |
title | Construction method and device of source code vulnerability detection model, equipment and storage medium |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-16T02%3A06%3A46IST&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=WANG%20XUAN&rft.date=2023-03-21&rft_id=info:doi/&rft_dat=%3Cepo_EVB%3ECN115828269A%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 |