Component characteristics similarity comparison
AssigneeSalesforce, Inc.
InventorsBilly Ma, Brian Truong
Life of this patent
Estimating the term…
Abstract
Techniques described herein support component maintenance that accounts for a similarity between characteristics of different components. To identify components with similar characteristics, one or more techniques described herein support generation of a data structure (e.g., a tree) that represents a component, where each characteristic may be represented in a different leaf node. The system may generate a similarity score, or value (e.g., as a percentage), between multiple components based on comparing individual nodes of a tree representing each component, respectively. If the similarity score satisfies a threshold, then the system may display, at the UI, a message indicating to a user to preferentially implement one component over another.
Claims20
A method for data processing, comprising:
- generating a first data structure representative of a first user interface component of a plurality of user interface components that are configured for generating applications accessible via a user device, the plurality of user interface components associated with respective interaction behaviors for a user interface component, the first data structure indicative of one or more first relationship chains of interaction behaviors identified based on processing of code defining the first user interface component, wherein the one or more first relationship chains of interaction behaviors comprise at least one chaining sequence from among a first chaining sequence of user interaction behavior leading to structure behavior, a second chaining sequence of event behavior leading to structure behavior, and a third chaining sequence of user interaction behavior leading to event behavior;
- processing, to obtain one or more similarity values, the first data structure representative of the first user interface component and a second data structure representative of a second user interface component and indicative of one or more second relationship chains of interaction behaviors identified based on processing of code defining the second user interface component;
- and
- transmitting an indication of a first interaction behavior of the one or more first relationship chains of interaction behaviors from the first data structure based at least in part on a respective similarity value for the first data structure and the second data structure, the respective similarity value being based at least in part on one or more comparisons between interaction behaviors of the one or more first relationship chains and interaction behaviors of the one or more second relationship chains and a total number of interaction behaviors between the one or more first relationship chains and the one or more second relationship chains.
An apparatus, comprising:
- one or more memories storing processor-executable code;
- and
- one or more processors coupled with the one or more memories and individually or collectively operable to execute the code to cause the apparatus to:
- generate a first data structure representative of a first user interface component of a plurality of user interface components that are configured for generating applications accessible via a user device, the plurality of user interface components associated with respective interaction behaviors for a user interface component, the first data structure indicative of one or more first relationship chains of interaction behaviors identified based on processing of code defining the first user interface component, wherein the one or more first relationship chains of interaction behaviors comprise at least one chaining sequence from among a first chaining sequence of user interaction behavior leading to structure behavior, a second chaining sequence of event behavior leading to structure behavior, and a third chaining sequence of user interaction behavior leading to event behavior;
- process, to obtain one or more similarity values, the first data structure representative of the first user interface component and a second data structure representative of a second user interface component and indicative of one or more second relationship chains of interaction behaviors identified based on processing of code defining the second user interface component;
- and
- transmit an indication of a first interaction behavior of the one or more first relationship chains of interaction behaviors from the first data structure based at least in part on a respective similarity value for the first data structure and the second data structure, the respective similarity value being based at least in part on one or more comparisons between interaction behaviors of the one or more first relationship chains and interaction behaviors of the one or more second relationship chains and a total number of interaction behaviors between the one or more first relationship chains and the one or more second relationship chains.
A non-transitory computer-readable medium storing code, the code comprising instructions executable by one or more processors to:
- generate a first data structure representative of a first user interface component of a plurality of user interface components that are configured for generating applications accessible via a user device, the plurality of user interface components associated with respective interaction behaviors for a user interface component, the first data structure indicative of one or more first relationship chains of interaction behaviors identified based on processing of code defining the first user interface component, wherein the one or more first relationship chains of interaction behaviors comprise at least one chaining sequence from among a first chaining sequence of user interaction behavior leading to structure behavior, a second chaining sequence of event behavior leading to structure behavior, and a third chaining sequence of user interaction behavior leading to event behavior;
- process, to obtain one or more similarity values, the first data structure representative of the first user interface component and a second data structure representative of a second user interface component and indicative of one or more second relationship chains of interaction behaviors identified based on processing of code defining the second user interface component;
- and
- transmit an indication of a first interaction behavior of one or more the one or more first relationship chains of interaction behaviors from the first data structure based at least in part on a respective similarity value for the first data structure and the second data structure, the respective similarity value being based at least in part on one or more comparisons between interaction behaviors of the one or more first relationship chains and interaction behaviors of the one or more second relationship chains and a total number of interaction behaviors between the one or more first relationship chains and the one or more second relationship chains.
Dependencies are inferred from the claim text.