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

Component behavior model mining method and device

A technology of model mining and behavior, applied in the computer field, can solve the problems of lack of modeling methods and mining algorithms

Active Publication Date: 2020-01-14
WUHAN INSTITUTE OF TECHNOLOGY
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although graphical models and finite state machines have the ability to express complex component behavior models, existing research focuses on the timing constraints between component behaviors, and there is a lack of effective modeling methods and mining algorithms for the dependence between parameter-component behaviors

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
  • Component behavior model mining method and device
  • Component behavior model mining method and device
  • Component behavior model mining method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0180] This embodiment provides a component behavior model mining method. In this embodiment, the target component is set as a file object. The component behavior and parameter information of the file object are shown in Table 1.

[0181] Table 1 Behavior and parameter information of file object components

[0182]

[0183] Programs that use file objects are their client programs. When the client program uses the file object, it must follow its component behavior model, that is, it must first open a file (fopen), then read (fread) or write (fwrite) the file, and finally close the file (fclose) . In addition, the timing constraints between the above-mentioned component behaviors are also related to the parameters of component behaviors, specifically: only files opened in write-only mode (mode='w') can be written; only files opened in read-only mode (mode='w') can be written; 'r') to open the file for reading. The timing constraints among the above component behaviors and...

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 component behavior model mining method and device. The method comprises the steps: S1), operating software comprising components, dynamically collecting a parameter behaviorinteraction sequence of the components, and forming a sequence set; S2) combining the same component behavior interaction sequences with different parameter values; S3) constructing a tree based on the combined component behavior interaction sequence; S4S4) merging the equivalent nodes in the tree to obtain a finite-state machine R '; S5) concluding invariants of the parameters according to the parameter observation value set to serve as daemon conditions of corresponding edges in the finite-state machine R '; S6) calculating the probability that the component behavior in the finite-state machine R'meets a parameter invariant; and S7) obtaining a final component behavior model represented by the parametric probabilistic automaton based on the probability of migration in the step S6). According to the method, the dependency relationship between parameters and component behaviors in the component behavior model is considered, and the noise in the model mining process is effectively processed by adopting the probability model, so that a more accurate component behavior model can be obtained.

Description

technical field [0001] The invention relates to computer technology, in particular to a component behavior model mining method and device. Background technique [0002] Component behavior model is also known as component interface constraints, object / API usage patterns, and type states. Components in the form of objects, middleware, and Web services are the main body of software systems. The data dependence and control dependence inside the component are externalized into the inherent behavior pattern of the component. For example: when operating on a file object, you should first "open the file", then "read the file" or "write the file" multiple times, and finally "close the file". The timing constraints between the above component behaviors form the component behavior model. The component behavior model represents the preconditions that need to be satisfied for the correct use of components, and is an important basis for software vulnerability detection. According to s...

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): G06F16/21G06F16/2458G06F16/28
CPCG06F16/212G06F16/284G06F16/2465Y02D10/00
Inventor 陈灯张哲泓魏巍张彦铎李晓林鞠剑平唐剑影刘玮段功豪卢涛周华兵李迅于宝成徐文霞鲁统伟闵峰朱锐彭丽王逸文
Owner WUHAN INSTITUTE OF TECHNOLOGY