Calculation method and device for similarity
A calculation method and similarity technology, applied in the field of similarity calculation methods and devices, can solve the problem that the similarity value cannot accurately describe the actual similarity of the rules, and achieve the effect of improving the calculation accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] According to an embodiment of the present invention, an embodiment of a calculation method for similarity is also provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0033] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 1 It is a block diagram of the hardware structure of a computer terminal of a similarity calculation method in an embodiment of the present invention. Such as figure 1 As shown, the computer terminal 10 may include one or more (only one is shown in the figure) processors 10...
Embodiment 2
[0150] According to an embodiment of the present invention, an embodiment of an apparatus for implementing the foregoing method embodiments is also provided, and the apparatus provided by the foregoing embodiments of the present application can run on a computer terminal.
[0151] Figure 5 is a schematic structural diagram of a similarity calculation device according to Embodiment 2 of the present invention.
[0152] Such as Figure 5 As shown, the means for calculating the similarity includes: an extraction module 52 , an integration module 54 , a first calculation module 56 and a second calculation module 58 .
[0153] Wherein, the extraction module 52 is used to extract parameter groups from each rule, wherein the parameter groups include: events, conditional expressions and actions; the integration module 54 is used to group the first parameter and the second parameter of the parameter group respectively class, to obtain the first parameter list corresponding to the fir...
Embodiment 3
[0186] The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be used to store the program code executed by the method for calculating the similarity provided in the first embodiment above.
[0187] Optionally, in this embodiment, the above-mentioned storage medium may be located in any computer terminal in the group of computer terminals in the computer network, or in any mobile terminal in the group of mobile terminals.
[0188] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: extracting parameter groups from each rule; classifying the first parameter and the second parameter of the parameter group respectively to obtain The first parameter list corresponding to the first parameter and the second parameter list corresponding to the second parameter; respectively calculate the similarity of the first parameter list and the s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


