Open source code detection method and device, and computer readable storage medium

An open source code and detection method technology, applied in the field of computer-readable storage media, can solve the problems of not really improving detection efficiency, high false alarm rate, high CPU consumption and crash, etc., to improve learning ability, reduce false alarm rate, and improve The effect of accuracy

Active Publication Date: 2020-04-10
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] However, the inventors found that there are at least the following problems in the prior art: (1) the problem of high false alarm rate cannot be solved; token calculation, especially the problem of high CPU consumption and crash caused by concurrent computing scenarios, cannot really improve detection efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Open source code detection method and device, and computer readable storage medium
  • Open source code detection method and device, and computer readable storage medium
  • Open source code detection method and device, and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized.

[0029] The first embodiment of the present invention relates to an open source code detection method. The core of this embodiment is to establish a neural network model of open source code and train the neural network model to input the processed mixed source code into the neural network. The model is retrie...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention relates to the technical field of open source code detection, and discloses an open source code detection method, which comprises the following steps of: receiving an open source code entity, and establishing a neural network model of the open source code entity; training the neural network model; after the training of the neural network model is completed, receiving a to-be-detected mixed source code entity; performing preset processing on the mixed source code entity, and inputting the processed data into a trained neural network model for retrieval; and judging whether the mixed source code entity is matched with the open source code entity according to a retrieval result. According to the method, the open source code detection technology combining the static characteristics and the neural network is utilized, the false alarm rate is reduced by utilizing the artificial intelligence technology, and the detection cost is reduced along with gradual maturity of the trained model by training the neural model.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of open source code detection, and in particular to an open source code detection method, device, and computer-readable storage medium. Background technique [0002] Open source code refers to publicly available computer source code that is freely accessible and usable by the programmers who developed the code. Open source code can be used in a variety of scenarios, such as: saving time and effort in programming and debugging by obtaining open source unit test code; porting open source code to scenarios where users do not have sufficient experience or knowledge; adding common options such as graphics support , print, etc. [0003] Despite the many benefits of open source code, open source code can also pose risks. Using open source code involves licensing issues. Each of these licenses may impose specific restrictions or requirements on users or user projects developed using open...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3608Y02D10/00
Inventor 李伟光
Owner CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products