A component protocol mining method, device and system

A protocol and component technology, applied in the field of program mining, can solve the problems of low mining efficiency and high labor consumption, and achieve the effects of improving accuracy and completeness, improving efficiency and reducing costs.
CN104932865BInactive Publication Date: 2017-10-10WUHAN INSTITUTE OF TECHNOLOGY

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN INSTITUTE OF TECHNOLOGY
Publication Date
2017-10-10
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present invention discloses a component protocol mining method, device and system. The method includes: sending a stub start instruction to the N clients, and the stub start command carries M functions of the class to be mined Function identification, M is an integer greater than 1; receive the function call information of the M functions sent by the N clients; the function call information is collected by the N clients based on the start instrumentation instruction information; updating the component protocol of the class stored in the server according to the function call information. The method, device and system provided by the invention are used to solve the technical problems of high manpower consumption and low mining efficiency existing in the component protocol mining method in the prior art. The technical effect of reducing the labor cost of data acquisition and improving the efficiency of component protocol mining has been realized.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of program mining, in particular to a component protocol mining method, device and system. Background technique

[0002] Timing constraints usually exist between interface functions of software components. The timing constraints that need to be followed when using a software component constitute a protocol for that component, the component protocol. This protocol specifies the sequence of calls between interface functions. As shown below, a timing constraint of classes java.util.Stack and java.util.Iteration are shown respectively:

[0003] (1) Before calling the peek() function of the Stack class to view the top element of the stack, the push() function should be called to insert an element into the stack;

[0004] (2) Before calling the next() function of the Iteration class to get the next element, the hasNext() function should be called to check whether the next element exists.

[0005] This ...

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