Unlock instant, AI-driven research and patent intelligence for your innovation.

Code monitoring method and device

A code and object code technology, applied in the computer field, can solve the problem of which interface cannot be located in the code, and achieve the effect of reducing quality risks

Pending Publication Date: 2022-07-22
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At least some embodiments of the present invention provide a code monitoring method and device to at least solve the technical problem that the code monitoring scheme in the related art can only monitor the diff information of each modification and cannot locate which interface the modified code belongs to

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
  • Code monitoring method and device
  • Code monitoring method and device
  • Code monitoring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0029] It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate ...

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 invention discloses a code monitoring method and device. The method comprises the following steps: modifying an original code to obtain a target code; generating a target abstract syntax tree corresponding to the target code; the target abstract syntax tree is traversed, target feature codes are generated, and the target feature codes are used for representing part of code statements with target features in the target codes; the target feature code is compared with the original feature code, a monitoring result is generated, the original feature code is used for representing part of code statements with the target feature in the original code, and the monitoring result is used for representing whether the target feature code is the same as the original feature code or not. According to the method and the device, the technical problem that a code monitoring scheme in related technologies can only monitor diff information modified each time and cannot locate which interface the modified code belongs to is solved.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a code monitoring method and device. Background technique [0002] In software development, there are many common bottom-level interfaces or bottom-level protocols. Once the code of the bottom-level interface is changed, it will often affect more calling relationships. Therefore, it is very important to monitor the changes of the interface content. However, the current interface code monitoring solution can only monitor the difference diff of each modification, and cannot locate which interface the modified code belongs to. [0003] For the above problems, no effective solution has been proposed yet. SUMMARY OF THE INVENTION [0004] At least some embodiments of the present invention provide a code monitoring method and device to at least solve the technical problem in the related art that the code monitoring solution can only monitor the diff information of eac...

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/30G06F11/36G06F8/41
CPCG06F11/3051G06F11/3684G06F8/42G06F8/447
Inventor 陈厚文杨克敏
Owner NETEASE (HANGZHOU) NETWORK CO LTD