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

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

Active Publication Date: 2021-08-24
ZHEJIANG TMALL TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The embodiment of the present invention provides a similarity calculation method and device to at least solve the problem of similarity calculated due to the use of a unified representation and calculation method for the event part, conditional expression part and action part of the rule in the prior art. The technical problem that the degree value cannot accurately describe the actual similarity between the rules

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
  • Calculation method and device for similarity
  • Calculation method and device for similarity
  • Calculation method and device for similarity

Examples

Experimental program
Comparison scheme
Effect test

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...

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 similarity calculation method and device. Wherein, the method includes: extracting parameter groups from each rule; respectively classifying the first parameter and the second parameter of the parameter group to obtain a first parameter list corresponding to the first parameter and a second parameter list corresponding to the second parameter ; Calculating the similarity of the first parameter list and the similarity of the second parameter list respectively; calculating the similarity between the rules according to the similarity of the first parameter list and the similarity of the second parameter list. The invention solves the technical problem that the calculated similarity value cannot accurately describe the actual similarity between the rules due to the unified expression and calculation method for the event part, conditional expression part and action part of the rules in the prior art .

Description

technical field [0001] The present invention relates to the application field of computer technology, in particular to a similarity calculation method and device. Background technique [0002] The rules in the risk control system are composed of three parts: events, conditional expressions and execution actions. The data input part of the event as a rule is composed of data dictionaries, each data dictionary represents a piece of metadata information, and events can usually be represented as a collection of data dictionaries. The conditional expression is the logical judgment part of the rule, which is composed of left variable, operator and right variable. The left and right variables are data dictionaries or text constants, and the operators are used to calculate the left and right expressions. The execution action is the action taken when the expressions of the rule are satisfied. Using E to represent an event, V to represent a conditional expression, and A to represen...

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 Patents(China)
IPC IPC(8): G06F40/20G06F40/242
CPCG06F40/20G06F40/242
Inventor 刘有力
Owner ZHEJIANG TMALL TECH CO LTD