[go: up one dir, main page]

CN116050102A - A Dynamic Redundancy Prediction and Elimination Method for Consistency Protocol Detection - Google Patents

A Dynamic Redundancy Prediction and Elimination Method for Consistency Protocol Detection Download PDF

Info

Publication number
CN116050102A
CN116050102A CN202211697252.5A CN202211697252A CN116050102A CN 116050102 A CN116050102 A CN 116050102A CN 202211697252 A CN202211697252 A CN 202211697252A CN 116050102 A CN116050102 A CN 116050102A
Authority
CN
China
Prior art keywords
node
nodes
truth value
link
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211697252.5A
Other languages
Chinese (zh)
Inventor
王慧妍
陈楚阳
许畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University
Original Assignee
Nanjing University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University filed Critical Nanjing University
Priority to CN202211697252.5A priority Critical patent/CN116050102A/en
Publication of CN116050102A publication Critical patent/CN116050102A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种面向一致性规约检测的冗余动态预测与消除方法,包括基于不同类型约束计算树节点的语义推导出在多个真值取值条件下,子节点的真值决定父节点的真值,从而子节点的链接参与父节点链接的生成,随后以多个真值取值条件和约束计算树各个节点的实际真值取值为依据,由上至下地标记所有将生成对根节点链接有影响链接的节点;标记所有将生成非冗余链接的约束计算树节点后,在对约束计算树节点进行链接生成时,如果约束计算树节点生成非冗余链接,则进行链接生成,否则跳过该节点。本发明在保持结果正确性的条件下,通过消除冗余计算,链接生成步骤的总计算量大幅减少,提高链接生成步骤的效率,进而提高整个一致性规约检测过程的效率。

Figure 202211697252

The present invention provides a redundant dynamic prediction and elimination method oriented to consistency protocol detection, which includes calculating the semantics of tree nodes based on different types of constraints and deriving that under the condition of multiple truth values, the truth value of the child node determines the value of the parent node. True value, so that the link of the child node participates in the generation of the link of the parent node, and then based on the actual value of each node of the calculation tree based on multiple truth value conditions and constraints, mark all the root nodes that will be generated from top to bottom The link has nodes that affect the link; after marking all the constraint calculation tree nodes that will generate non-redundant links, when performing link generation on the constraint calculation tree nodes, if the constraint calculation tree nodes generate non-redundant links, then perform link generation, otherwise Skip this node. Under the condition of maintaining the correctness of the results, the present invention greatly reduces the total calculation amount of the link generation step by eliminating redundant calculations, improves the efficiency of the link generation step, and further improves the efficiency of the entire consistency protocol detection process.

Figure 202211697252

Description

一种面向一致性规约检测的冗余动态预测与消除方法A Dynamic Redundancy Prediction and Elimination Method for Consistency Protocol Detection

技术领域technical field

本发明属于软件数据处理技术领域,尤其涉及一种面向一致性规约检测的冗余动态预测与消除方法。The invention belongs to the technical field of software data processing, and in particular relates to a redundant dynamic prediction and elimination method oriented to consistency protocol detection.

背景技术Background technique

随着信息技术的发展,软件系统的复杂性与日剧增。一方面,软件常常需要应对复杂的应用场景,根据收集到的环境信息对自身行为进行智能调整,而这些环境信息往往并非完全可靠;另一方面,在编写过程中,囿于软件系统自身的庞大规模与高度复杂性,软件自身的可靠性也无法完全保证。环境信息中或软件系统内部的错误,将会导致软件的异常行为甚至崩溃,从而妨碍软件正常为用户提供服务。With the development of information technology, the complexity of software systems is increasing day by day. On the one hand, software often needs to deal with complex application scenarios and intelligently adjust its own behavior based on collected environmental information, which is often not completely reliable; Due to the scale and high complexity, the reliability of the software itself cannot be fully guaranteed. Errors in the environment information or within the software system will lead to abnormal behavior or even crash of the software, thereby preventing the software from providing services to users normally.

为了应对上述问题,现阶段是编写一致性规约,一方面在应用软件时规定所收集环境信息应满足的条件,另一方面在编写软件时规定软件代码应满足的条件。当这些条件被违背时,能够知道环境信息或软件代码等数据中出现了违反一致性规约所规定的规范性的错误,从而能够检查、修复这些错误,避免数据中错误对软件系统的服务造成影响;其中,求解规约是否被违背的步骤被称为真值求取,求解规约被违背原因的过程称为链接生成。目前,已有许多一致性规约检测技术能够用来验证数据的规范性。然而,随着数据规模和变动频率的增长,这些技术往往不能及时和正确地检验出违反一致性规约的技术,因此,一种更加高效的一致性规约检测技术亟待提出。In order to deal with the above problems, the current stage is to write a consistency protocol. On the one hand, it stipulates the conditions that the collected environmental information should meet when applying the software, and on the other hand, it stipulates the conditions that the software code should meet when writing the software. When these conditions are violated, it can be known that there are normative errors in data such as environmental information or software codes that violate the consistency protocol, so that these errors can be checked and repaired, and errors in the data can be prevented from affecting the services of the software system. ; Among them, the step of finding out whether the statute is violated is called finding the truth value, and the process of finding out the cause of the statute being violated is called link generation. At present, there are many consistency protocol detection techniques that can be used to verify the standardization of data. However, with the growth of data size and change frequency, these technologies often cannot detect the technology that violates the consistency protocol in a timely and correct manner. Therefore, a more efficient consistency protocol detection technology needs to be proposed urgently.

发明内容Contents of the invention

本发明针对现有技术中的不足,提供一种面向一致性规约检测的冗余动态预测与消除方法。Aiming at the deficiencies in the prior art, the invention provides a redundant dynamic prediction and elimination method oriented to consistency protocol detection.

本发明提供一种面向一致性规约检测的冗余动态预测与消除方法,所述一致性规约使用基于一阶逻辑的规约语言表达;所述一致性规约检测的过程在约束计算树上进行;所述约束计算树包括一致性规约公式的语法树和运行时对变元的赋值;所述约束计算树的每一节点对应规约语言中的一个子公式加上对一个子公式中所有自由变元的一个赋值;所述约束计算树中的节点与规约语言中的公式一一对应;The present invention provides a redundant dynamic prediction and elimination method for consistency protocol detection, wherein the consistency protocol is expressed in a protocol language based on first-order logic; the consistency protocol detection process is performed on a constraint calculation tree; The constraint calculation tree includes the syntax tree of the consistency specification formula and the assignment to variables at runtime; each node of the constraint calculation tree corresponds to a sub-formula in the specification language plus all free variables in a sub-formula An assignment; the nodes in the constraint calculation tree correspond to the formulas in the specification language;

所述冗余动态预测与消除方法包括:The redundant dynamic prediction and elimination method includes:

基于不同类型约束计算树节点的语义推导出在多个真值取值条件下,子节点的真值决定父节点的真值,从而子节点的链接参与父节点链接的生成,随后以多个真值取值条件和约束计算树各个节点的实际真值取值为依据,由上至下地标记所有将生成对根节点链接有影响链接的节点;标记所有将生成非冗余链接的约束计算树节点后,在对约束计算树节点进行链接生成时,如果约束计算树节点生成非冗余链接,则进行链接生成,否则跳过该节点。Based on the semantics of computing tree nodes of different types of constraints, it is deduced that under the condition of multiple truth values, the truth value of the child node determines the truth value of the parent node, so that the link of the child node participates in the generation of the link of the parent node, and then multiple truth values Based on the value condition and the actual truth value of each node of the constraint calculation tree, mark all nodes that will generate links that affect the root node link from top to bottom; mark all constraint calculation tree nodes that will generate non-redundant links Finally, when link generation is performed on the constraint computation tree node, if the constraint computation tree node generates a non-redundant link, link generation is performed, otherwise, the node is skipped.

进一步地,所述规约语言包括与公式、或公式、蕴含公式、非公式、全称公式、特称公式和布尔函数公式;其中,全称公式用于约束数据整体满足一致性规约条件;特称公式用于判断是否存在任何数据满足一致性条件;布尔函数用于检测具体数据与一致性条件的符合情况。Further, the statute language includes and formula, or formula, implication formula, non-formula, full name formula, special name formula and Boolean function formula; wherein, the full name formula is used to constrain the data as a whole to meet the consistency specification condition; the special name formula uses It is used to judge whether any data satisfies the consistency condition; the Boolean function is used to detect whether the specific data meets the consistency condition.

进一步地,所述约束计算树包括与节点、或节点、蕴含节点、非节点、全称节点、特称节点和布尔函数节点;其中,约束计算树中的与节点、或节点和蕴含节点包括两个子节点,非节点包括一个子节点;与节点、或节点、蕴含节点和非节点的子节点数量分别和与公式、或公式、蕴含公式和非公式的子公式数量对应相同。Further, the constraint calculation tree includes an AND node, an OR node, an implied node, a non-node, a full name node, a specific name node, and a Boolean function node; wherein, the AND node, the OR node, and the implied node in the constraint calculation tree include two sub-nodes Nodes, non-nodes include a sub-node; the number of sub-nodes corresponding to nodes, or nodes, implied nodes, and non-nodes is the same as the number of sub-formulas corresponding to formulas, or formulas, implied formulas, and non-formulas.

进一步地,所述一致性规约检测过程中的真值求取步骤在约束计算树上自底向上进行;对于布尔函数节点,把赋值信息传入对应的布尔函数得到布尔函数节点的真值;对于与节点、或节点、蕴含节点和非节点,根据一阶逻辑中的与、或、蕴含和非的语义以及各节点的子节点的真值求出各节点真值;对于全称节点,仅当全称节点所有子节点真值全部为真或没有子节点时,全称节点真值为真,否则为假;对于特称节点,仅当特称节点所有子节点真值全部为假或没有子节点时,特称节点真值为假,否则为真。Further, the step of obtaining the truth value in the consistency protocol detection process is carried out from bottom to top on the constraint calculation tree; for the Boolean function node, the assignment information is passed into the corresponding Boolean function to obtain the truth value of the Boolean function node; for And node, or node, implication node and non-node, according to the semantics of and, or, implication and non-node in first-order logic and the truth value of each node's child nodes, the truth value of each node is obtained; for full name nodes, only if the full name When the truth values of all child nodes of a node are all true or have no child nodes, the truth value of the full name node is true, otherwise it is false; The true value of a particular node is false, otherwise it is true.

进一步地,所述链接将规约的违背与对变元的特定赋值进行关联;特定赋值把具体数据赋给变元,表明具体数据在一致性规约中的语义角色,为规约的违背提供解释;Further, the link associates the violation of the protocol with a specific assignment to the variable; the specific assignment assigns specific data to the variable, indicates the semantic role of the specific data in the consistent protocol, and provides an explanation for the violation of the protocol;

链接生成在约束计算树上自下尔上进行,为每一非根节点生成中间链接,并使用子节点的中间链接生成父节点的链接;约束计算树唯一根节点的链接为最终所需的链接;对于任一节点,链接生成步骤选用能够决定节点真值的子节点的链接,依据节点类型的语义合成节点的链接。Link generation is carried out on the constraint calculation tree from bottom to top, generating intermediate links for each non-root node, and using the intermediate links of child nodes to generate links to parent nodes; the link of the only root node of the constraint calculation tree is the final required link ; For any node, the link generation step selects the link of the child node that can determine the true value of the node, and synthesizes the link of the node according to the semantics of the node type.

进一步地,对所述一致性规约语言不同类型公式进行语义分析,推导对每一个约束计算树节点的子节点在多个真值取值条件下能够为约束计算树节点的子节点的真值计算形成关键贡献,即子节点能够单独决定其父节点的真值;自根节点开始,按照每一节点在真值求取步骤中求得的真值,标记出所有能够关键贡献其根节点真值的节点;Further, perform semantic analysis on different types of formulas in the consistency specification language, and deduce that each child node of the constraint calculation tree node can be the truth value calculation of the child node of the constraint calculation tree node under the condition of multiple truth value values. Form the key contribution, that is, the child node can independently determine the truth value of its parent node; starting from the root node, according to the truth value obtained by each node in the truth value calculation step, mark all the truth values that can contribute to the root node the node;

对于与节点,当其真值为真,两个子节点都关键贡献与节点的真值;当其真值为假,所有真值为假的节点关键贡献与节点的真值;For an AND node, when its truth value is true, both child nodes key contribute to the truth value of the AND node; when its truth value is false, all nodes whose truth value is false key contribute to the truth value of the AND node;

对于或节点,当其真值为假,两个子节点都关键贡献或节点的真值;当其真值为真,所有真值为真的子节点关键贡献或节点的真值;For an OR node, when its truth value is false, both child nodes key contribute to the truth value of the or node; when its truth value is true, all child nodes key contribution to the truth value of the or node;

对于蕴含节点,当其真值为假,两个子节点都关键贡献蕴含节点的真值;当其真值为真,真值为假的左子节点以及真值为真的右子节点关键贡献蕴含节点的真值;For an implied node, when its truth value is false, both child nodes contribute critically to the true value of the implied node; when its truth value is true, the left child node whose truth value is false and the right child node whose truth value is true contribute critically to the implication the truth value of the node;

对于非节点,其唯一的子节点总是关键贡献其真值;For a non-node, its only child node always contributes its truth value critically;

对于全称节点,其真值由所有真值为假的子节点关键贡献;For a full name node, its truth value is key contributed by all child nodes whose truth value is false;

对于特称节点,其真值由所有真值为真的子节点关键贡献。For a specific node, its truth value is mainly contributed by all truth-valued child nodes.

进一步地,在标记出所有能够对于根节点真值存在关键贡献的节点后,未被标记的所有节点的计算为冗余计算,实际链接生成步骤仅为被标记的节点自底向上生成链接,而不为其他节点生成链接;整棵约束计算树的唯一根节点上生成的链接为最终结果的链接。Furthermore, after marking all the nodes that can make a key contribution to the true value of the root node, the calculation of all unmarked nodes is redundant calculation, and the actual link generation step is only to generate links from the bottom up for the marked nodes, while No link is generated for other nodes; the link generated on the unique root node of the entire constraint computation tree is the link of the final result.

本发明提供一种面向一致性规约检测的冗余动态预测与消除方法,能够动态预测并消除约束检测链接生成步骤中的冗余计算。前者意味着链接生成步骤中的所有冗余计算都将被消除,后者意味着链接生成步骤中没有任何非冗余计算会被错误消除。在保持结果的正确性条件下,通过消除冗余计算,链接生成步骤的总计算量大幅减少,从而提高链接生成步骤的效率,进而提高整个一致性规约检测过程的效率。The invention provides a redundant dynamic prediction and elimination method oriented to consistency protocol detection, which can dynamically predict and eliminate redundant calculation in the step of generating constraints detection links. The former means that all redundant calculations in the link generation step will be eliminated, and the latter means that no non-redundant calculations in the link generation step will be eliminated by mistake. Under the condition of maintaining the correctness of the results, by eliminating redundant calculations, the total calculation amount of the link generation step is greatly reduced, thereby improving the efficiency of the link generation step, and then improving the efficiency of the entire consistency protocol detection process.

本发明还提供一种基于规约语法语义分析和约束计算树节点真值预测约束计算树节点将生成的链接是否冗余的判定方法,并基于此判定将链接生成过程仅限定在生成非冗余链接的节点上,从而避免计算冗余链接。The present invention also provides a method for judging whether the links to be generated by constrained computation tree nodes are redundant based on statute syntax and semantics analysis and constrained computation tree node truth value prediction, and based on this judgment, the link generation process is limited to only generate non-redundant links nodes, thus avoiding the calculation of redundant links.

附图说明Description of drawings

为了更清楚地说明本发明的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solution of the present invention more clearly, the accompanying drawings that need to be used in the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, on the premise of not paying creative work, they can also Additional figures can be derived from these figures.

图1为本发明实施例提供的一种面向一致性规约检测的冗余动态预测与消除方法的结构图;FIG. 1 is a structural diagram of a redundant dynamic prediction and elimination method oriented to consistency protocol detection provided by an embodiment of the present invention;

图2为本发明实施例提供的约束语言基本公式类型示意图;Fig. 2 is a schematic diagram of the basic formula types of the constraint language provided by the embodiment of the present invention;

图3为本发明实施例提供的约束计算树的结构示意图;FIG. 3 is a schematic structural diagram of a constraint computation tree provided by an embodiment of the present invention;

图4为本发明实施例提供的对约束计算树不同类型节点在真值下生成冗余链接分析示意图;Fig. 4 is a schematic diagram of redundant link analysis generated under the true value for different types of nodes of the constrained computation tree provided by the embodiment of the present invention;

图5为本发明实施例提供的标记约束计算树中所有将生成非冗余链接节点的算法流程示意图;Fig. 5 is a schematic flow chart of all algorithms that will generate non-redundant link nodes in the label-constrained computation tree provided by the embodiment of the present invention;

图6为本发明实施例提供的只在被标记约束计算树节点上生成链接的算法流程示意图。FIG. 6 is a schematic flowchart of an algorithm for generating links only on marked constrained computing tree nodes provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

如图1所示,本发明实施例提供一种面向一致性规约检测的冗余动态预测与消除方法,所述一致性规约使用基于一阶逻辑的规约语言表达;如图2所示,所述规约语言包括与公式(and)、或公式(or)、蕴含公式(implies)、非公式(not)、全称公式

Figure BDA0004022747980000041
特称公式
Figure BDA0004022747980000042
和布尔函数公式(bfunc);其中,全称公式用于约束数据整体满足一致性规约条件;特称公式用于判断是否存在任何数据满足一致性条件;布尔函数用于检测具体数据与某一个一致性条件的符合情况;剩下四类公式则将全称公式、特称公式和布尔函数公式组合起来表达更复杂的规约语义。需要说明的是,其中只有全称公式和特称公式能够定义变元,在检测时,这些变元将和数据相关联,从而将一致性规约公式的语法树扩展为约束计算树(Constraint Computation Tree,CCT)。As shown in Figure 1, the embodiment of the present invention provides a redundant dynamic prediction and elimination method oriented to consistent protocol detection, and the consistent protocol is expressed in a protocol language based on first-order logic; as shown in Figure 2, the The specification language includes and formula (and), or formula (or), implied formula (implies), non-formula (not), full name formula
Figure BDA0004022747980000041
Special formula
Figure BDA0004022747980000042
And the Boolean function formula (bfunc); among them, the full name formula is used to constrain the data to meet the consistency specification condition as a whole; the special name formula is used to judge whether there is any data that meets the consistency condition; the Boolean function is used to detect specific data and a certain consistency The conditions are met; the remaining four types of formulas combine full-name formulas, special-name formulas, and Boolean function formulas to express more complex semantics. It should be noted that only the full-name formula and the special-name formula can define variables, and these variables will be associated with the data during detection, thereby expanding the syntax tree of the consistency reduction formula into a constraint computation tree (Constraint Computation Tree, CCT).

如图3所示,所述一致性规约检测的过程在约束计算树上进行;所述约束计算树包括一致性规约公式的语法树和运行时对变元的赋值;所述约束计算树的每一节点对应规约语言中的一个子公式加上对一个子公式中所有自由变元的一个赋值;所述约束计算树中的节点与规约语言中的公式一一对应。所述约束计算树包括与节点、或节点、蕴含节点、非节点、全称节点、特称节点和布尔函数节点;其中,约束计算树中的与节点、或节点和蕴含节点包括两个子节点,非节点包括一个子节点;与节点、或节点、蕴含节点和非节点的子节点数量分别和与公式、或公式、蕴含公式和非公式的子公式数量对应相同。全称节点和特称节点则具有数量不定的多个子节点,尽管一阶逻辑中的全称公式和特称公式只有一个子公式,原因是CCT中的全称和特称节点不仅要考虑子公式,还要考虑对变元的不同可能赋值,而每一个可能赋值就对应了一个子节点。As shown in Figure 3, the process of the consistency protocol detection is carried out on the constraint calculation tree; the constraint calculation tree includes the syntax tree of the consistency protocol formula and the assignment to variables at runtime; each of the constraint calculation trees A node corresponds to a sub-formula in the specification language plus an assignment to all free variables in a sub-formula; nodes in the constraint computation tree correspond to formulas in the specification language one-to-one. The constraint computation tree includes an AND node, an OR node, an implied node, a non-node, a full name node, a particular node, and a Boolean function node; wherein, the AND node, the OR node, and the implied node in the constraint computation tree include two child nodes, and the non- A node includes one child node; the number of child nodes corresponding to node, or node, implied node, and non-node corresponds to the number of child formulas of formula, or formula, implied formula, and non-formula, respectively. The full name node and the specific name node have a variable number of child nodes, although the full name formula and the specific name formula in first-order logic have only one sub-formula, the reason is that the full name and specific name nodes in CCT not only need to consider sub-formulas, but also Consider different possible assignments to variables, and each possible assignment corresponds to a child node.

首先,依照在链接生成步骤前利用真值求取时所得信息,使用冗余动态预测算法判断哪些节点生成的中间链接将为计算最终结果所必须,而哪些节点生成的中间链接将导致冗余计算。而后,通过将链接生成限定在只在生成非冗余链接的节点上进行,避免冗余中间链接的生成,从而避免冗余计算。First, according to the information obtained when the truth value is used before the link generation step, the redundant dynamic prediction algorithm is used to judge which nodes will generate intermediate links that will be necessary to calculate the final result, and which nodes will generate intermediate links that will lead to redundant calculations . Then, by limiting the link generation to only the nodes that generate non-redundant links, the generation of redundant intermediate links is avoided, thereby avoiding redundant calculations.

所述冗余动态预测与消除方法包括:The redundant dynamic prediction and elimination method includes:

基于不同类型约束计算树节点的语义推导出在多个真值取值条件下,子节点的真值决定父节点的真值,从而子节点的链接参与父节点链接的生成,随后以多个真值取值条件和约束计算树各个节点的实际真值取值为依据,由上至下地标记所有将生成对根节点链接有影响链接的节点;标记所有将生成非冗余链接的约束计算树节点后,在对约束计算树节点进行链接生成时,如果约束计算树节点生成非冗余链接,则进行链接生成,否则跳过该节点。Based on different types of constraints to calculate the semantics of tree nodes, it is deduced that under the condition of multiple truth values, the truth value of the child node determines the truth value of the parent node, so that the link of the child node participates in the generation of the link of the parent node, and then multiple truth values Based on the value condition and the actual truth value of each node of the constraint calculation tree, mark all nodes that will generate links that affect the root node link from top to bottom; mark all constraint calculation tree nodes that will generate non-redundant links Finally, when link generation is performed on the constraint computation tree node, if the constraint computation tree node generates a non-redundant link, link generation is performed, otherwise, the node is skipped.

所述一致性规约检测过程中的真值求取步骤在约束计算树上自底向上进行;对于布尔函数节点,把赋值信息传入对应的布尔函数得到布尔函数节点的真值;对于与节点、或节点、蕴含节点和非节点,根据一阶逻辑中的与、或、蕴含和非的语义以及各节点的子节点的真值求出各节点真值;对于全称节点,仅当全称节点所有子节点真值全部为真或没有子节点时,全称节点真值为真,否则为假;对于特称节点,仅当特称节点所有子节点真值全部为假或没有子节点时,特称节点真值为假,否则为真。The truth value seeking step in the consistency protocol detection process is carried out from bottom to top on the constraint calculation tree; for the Boolean function node, the assignment information is passed into the corresponding Boolean function to obtain the truth value of the Boolean function node; for the node with, Or nodes, implied nodes and non-nodes, according to the semantics of and, or, implied and non-nodes in first-order logic and the truth value of each node's child nodes to obtain the truth value of each node; When the truth value of the node is all true or has no child nodes, the truth value of the full node is true; otherwise, it is false; True is false, otherwise true.

所述链接将规约的违背与对变元的特定赋值进行关联;特定赋值把具体数据赋给变元,表明具体数据在一致性规约中的语义角色,为规约的违背提供解释。The link associates the violation of the protocol with a specific assignment to the variable; the specific assignment assigns specific data to the variable, indicates the semantic role of the specific data in the consistent protocol, and provides an explanation for the violation of the protocol.

链接生成在约束计算树上自下尔上进行,为每一非根节点生成中间链接,并使用子节点的中间链接生成父节点的链接;约束计算树唯一根节点的链接为最终所需的链接;对于任一节点,链接生成步骤选用能够决定节点真值的子节点的链接,依据节点类型的语义合成节点的链接。Link generation is carried out on the constraint calculation tree from bottom to top, generating intermediate links for each non-root node, and using the intermediate links of child nodes to generate links to parent nodes; the link of the only root node of the constraint calculation tree is the final required link ; For any node, the link generation step selects the link of the child node that can determine the true value of the node, and synthesizes the link of the node according to the semantics of the node type.

如图4所示,对所述一致性规约语言不同类型公式进行语义分析,推导对每一个约束计算树节点的子节点在多个真值取值条件下能够为约束计算树节点的子节点的真值计算形成关键贡献,即子节点能够单独决定其父节点的真值,也即在语义上解释该节点的真值取值;自根节点开始,按照每一节点在真值求取步骤中求得的真值,标记出所有能够关键贡献其根节点真值的节点。As shown in Figure 4, semantic analysis is performed on different types of formulas in the consistency specification language, and the child nodes of each constraint calculation tree node can be the child nodes of the constraint calculation tree node under the condition of multiple truth values. The truth value calculation forms a key contribution, that is, a child node can independently determine the truth value of its parent node, that is, interpret the truth value of the node semantically; starting from the root node, according to each node in the truth value calculation step The obtained truth value marks all the nodes that can contribute to the truth value of its root node.

对于与节点,当其真值为真,两个子节点都关键贡献与节点的真值;当其真值为假,所有真值为假的节点关键贡献与节点的真值。For an AND node, when its truth value is true, both child nodes key contribute to the truth value of the AND node; when its truth value is false, all nodes whose truth value is false key contribute to the truth value of the AND node.

对于或节点,当其真值为假,两个子节点都关键贡献或节点的真值;当其真值为真,所有真值为真的子节点关键贡献或节点的真值。For an OR node, when its truth value is false, both child nodes contribute critically to the truth value of the or node; when its truth value is true, all child nodes contribute critically to the truth value of the or node.

对于蕴含节点,当其真值为假,两个子节点都关键贡献蕴含节点的真值;当其真值为真,真值为假的左子节点以及真值为真的右子节点关键贡献蕴含节点的真值。For an implied node, when its truth value is false, both child nodes contribute critically to the true value of the implied node; when its truth value is true, the left child node whose truth value is false and the right child node whose truth value is true contribute critically to the implication The truth value of the node.

对于非节点,其唯一的子节点总是关键贡献其真值。For a non-node, its only child node always contributes its truth value critically.

对于全称节点,其真值由所有真值为假的子节点关键贡献。For a full node, its truth value is key contributed by all child nodes whose truth value is false.

对于特称节点,其真值由所有真值为真的子节点关键贡献。For a specific node, its truth value is mainly contributed by all truth-valued child nodes.

布尔函数节点没有子节点,不需要考虑布尔函数节点的真值被哪些子节点关键贡献。The Boolean function node has no child nodes, and there is no need to consider which child nodes contribute to the truth value of the Boolean function node.

在标记出所有能够对于根节点真值存在关键贡献的节点后,未被标记的所有节点的计算为冗余计算,实际链接生成步骤仅为被标记的节点自底向上生成链接,而不为其他节点生成链接;整棵约束计算树的唯一根节点上生成的链接为最终结果的链接。After marking all the nodes that can make a key contribution to the true value of the root node, the calculation of all unmarked nodes is redundant calculation, and the actual link generation step is only to generate links from the bottom up for the marked nodes, not for other nodes. Nodes generate links; the links generated on the unique root node of the entire constraint calculation tree are the links of the final result.

需要说明的是,所述真值取值条件的含义是指在这些真值取值下,子节点真值从语义上讲决定了父节点的真值取值,因此,为了解释父节点的真值,父节点的链接必须把子节点的链接作为一部分包含。It should be noted that the meaning of the truth value condition means that under these truth values, the truth value of the child node semantically determines the truth value of the parent node, therefore, in order to explain the truth value of the parent node Value, the link of the parent node must include the link of the child node as part of it.

需要说明的是,所述真值取值条件的内容是指如果父节点的类型、父节点的真值、子节点相对父节点的位置、子节点的真值满足真值取值条件中的任何一条,子节点的真值对父节点的真值有决定性影响,从而子节点的链接必须被包含进父节点的链接中。It should be noted that the content of the truth value condition refers to if the type of the parent node, the true value of the parent node, the position of the child node relative to the parent node, and the true value of the child node meet any of the truth value conditions. One, the truth value of the child node has a decisive influence on the truth value of the parent node, so the link of the child node must be included in the link of the parent node.

需要说明的是,所述节点标记算法的含义是指如果一个节点的链接必须被包含进父节点的链接,且其父节点的链接必须被包含进根节点的链接(所需要的最终生成的链接),则子节点的链接必须被包含进根节点的链接;否则,子节点的链接将不会对根节点的链接造成影响,也就是子节点的链接将为冗余链接。It should be noted that the meaning of the node marking algorithm means that if the link of a node must be included in the link of the parent node, and the link of its parent node must be included in the link of the root node (the required final generated link ), the link of the child node must be included in the link of the root node; otherwise, the link of the child node will not affect the link of the root node, that is, the link of the child node will be a redundant link.

需要说明的是,所述节点标记算法的内容是指从根节点开始,逐层判断节点将生成的链接是否为根节点链接所必须,对于链接已判定为必须的节点,依据真值条件检查其子节点的链接是否为该节点的链接所必须,所有链接为该节点所必须的的子节点的链接,也为根节点所必须。It should be noted that the content of the node marking algorithm refers to starting from the root node and judging layer by layer whether the link to be generated by the node is necessary for the root node link. Whether the link of the child node is necessary for the link of this node, all the links of the child node that are necessary for this node are also necessary for the root node.

如图5所示,非冗余节点标记从根节点出发,首先将根节点标记为非冗余节点,然后,对每一已标记的非冗余节点,找出其所有满足非冗余真值取值条件的子节点,进一步将这些子节点标记为非冗余节点,不断重复这一步骤,直到所有非冗余节点都被标记出来。As shown in Figure 5, non-redundant node labeling starts from the root node, firstly marks the root node as a non-redundant node, and then, for each marked non-redundant node, finds all the non-redundant true value The child nodes of the value condition are further marked as non-redundant nodes, and this step is repeated until all non-redundant nodes are marked.

如图6所示,限定在非冗余节点上的链接生成算法从叶子节点出发,首先判断叶子节点是否为非冗余节点,然后对非冗余叶子节点调用传统的链接生成算法生成链接,接着逐层往上,对于所有非冗余节点,调用传统链接生成算法从其子节点的链接合成其链接,直到合成根节点的链接,根节点的链接就是最中需要的链接;这一过程中,所有冗余节点都被跳过。As shown in Figure 6, the link generation algorithm limited to non-redundant nodes starts from the leaf nodes, first judges whether the leaf nodes are non-redundant nodes, and then calls the traditional link generation algorithm to generate links for the non-redundant leaf nodes, and then Going up layer by layer, for all non-redundant nodes, call the traditional link generation algorithm to synthesize its links from the links of its child nodes until the link of the root node is synthesized, and the link of the root node is the most needed link; in this process, All redundant nodes are skipped.

一方面,本发明调用一致性规约检测算法对一致性规约进行检测,依次求解规约是否被违背以及违背的原因。在一致性规约检测过程中,链接生成步骤存在可观的冗余计算,表现为大量无关中间结果;利用进行第一步真值求取时所得信息,使用动态预测算法判断哪些中间结果将为计算最终结果所必须,而哪些中间结果将导致冗余计算,而后,通过将计算步骤限定于计算必须中间结果,避免冗余中间结果的生成,从而避免冗余计算。On the one hand, the present invention invokes a consistency protocol detection algorithm to detect the consistency protocol, and sequentially find out whether the protocol is violated and the reason for the violation. In the process of consistency protocol detection, there are considerable redundant calculations in the link generation step, which is manifested as a large number of irrelevant intermediate results; using the information obtained during the first step of truth value calculation, a dynamic prediction algorithm is used to determine which intermediate results will be the final result of the calculation. The results are necessary, and which intermediate results will lead to redundant calculations, and then, by limiting the calculation steps to the calculation of necessary intermediate results, avoiding the generation of redundant intermediate results, thereby avoiding redundant calculations.

另一方面,本发明的动态冗余预测与消除具有最优高效性质和安全性质。最优高效性质即所有冗余中间结果及其计算都将被预测而后消除,应用所述技术后,链接生成步骤将不存在任何冗余计算;安全性质即没有任何非冗余中间结果(为得到最终结果所必须的中间结果)会被误标记为冗余和不生成,一致性规约检测结果仍将保持正确,与不运用本发明提供的方案的普通检测结果一致。On the other hand, the dynamic redundancy prediction and elimination of the present invention has optimal high-efficiency properties and safety properties. The optimal high-efficiency property means that all redundant intermediate results and their calculations will be predicted and then eliminated. After applying the technology, there will be no redundant calculations in the link generation step; the security property means that there will be no non-redundant intermediate results (for obtaining The intermediate result necessary for the final result) will be mistakenly marked as redundant and not generated, and the consistency protocol detection result will still remain correct, which is consistent with the common detection result without using the solution provided by the present invention.

本发明提供一种面向一致性规约检测的冗余动态预测与消除方法,能够动态预测并消除约束检测链接生成步骤中的冗余计算。前者意味着链接生成步骤中的所有冗余计算都将被消除,后者意味着链接生成步骤中没有任何非冗余计算会被错误消除。在保持结果的正确性条件下,通过消除冗余计算,链接生成步骤的总计算量大幅减少,从而提高链接生成步骤的效率,进而提高整个一致性规约检测过程的效率。The invention provides a redundant dynamic prediction and elimination method oriented to consistency protocol detection, which can dynamically predict and eliminate redundant calculation in the step of generating constraints detection links. The former means that all redundant calculations in the link generation step will be eliminated, and the latter means that no non-redundant calculations in the link generation step will be eliminated by mistake. Under the condition of maintaining the correctness of the results, by eliminating redundant calculations, the total calculation amount of the link generation step is greatly reduced, thereby improving the efficiency of the link generation step, and then improving the efficiency of the entire consistency protocol detection process.

本发明还提供一种基于规约语法语义分析和约束计算树节点真值预测约束计算树节点将生成的链接是否冗余的判定方法,并基于此判定将链接生成过程仅限定在生成非冗余链接的节点上,从而避免计算冗余链接。The present invention also provides a method for judging whether the links to be generated by constrained computation tree nodes are redundant based on statute syntax and semantics analysis and constrained computation tree node truth value prediction, and based on this judgment, the link generation process is limited to only generate non-redundant links nodes, thus avoiding the calculation of redundant links.

以上结合具体实施方式和范例性实例对本发明进行了详细说明,不过这些说明并不能理解为对本发明的限制。本领域技术人员理解,在不偏离本发明精神和范围的情况下,可以对本发明技术方案及其实施方式进行多种等价替换、修饰或改进,这些均落入本发明的范围内。本发明的保护范围以所附权利要求为准。The present invention has been described in detail above in conjunction with specific implementations and exemplary examples, but these descriptions should not be construed as limiting the present invention. Those skilled in the art understand that without departing from the spirit and scope of the present invention, various equivalent replacements, modifications or improvements can be made to the technical solutions and implementations of the present invention, all of which fall within the scope of the present invention. The protection scope of the present invention shall be determined by the appended claims.

Claims (7)

1.一种面向一致性规约检测的冗余动态预测与消除方法,其特征在于,所述一致性规约使用基于一阶逻辑的规约语言表达;所述一致性规约检测的过程在约束计算树上进行;所述约束计算树包括一致性规约公式的语法树和运行时对变元的赋值;所述约束计算树的每一节点对应规约语言中的一个子公式加上对一个子公式中所有自由变元的一个赋值;所述约束计算树中的节点与规约语言中的公式一一对应;1. A redundant dynamic prediction and elimination method for consistency protocol detection, characterized in that, the consistency protocol is expressed in a protocol language based on first-order logic; the process of the consistency protocol detection is on the constraint calculation tree carry out; the constraint calculation tree includes the syntax tree of the consistency specification formula and the assignment to the variables at runtime; each node of the constraint calculation tree corresponds to a sub-formula in the specification language plus all freedoms in a sub-formula An assignment of variables; the nodes in the constraint calculation tree correspond one-to-one to the formulas in the specification language; 所述冗余动态预测与消除方法包括:The redundant dynamic prediction and elimination method includes: 基于不同类型约束计算树节点的语义推导出在多个真值取值条件下,子节点的真值决定父节点的真值,从而子节点的链接参与父节点链接的生成,随后以多个真值取值条件和约束计算树各个节点的实际真值取值为依据,由上至下地标记所有将生成对根节点链接有影响链接的节点;标记所有将生成非冗余链接的约束计算树节点后,在对约束计算树节点进行链接生成时,如果约束计算树节点生成非冗余链接,则进行链接生成,否则跳过该节点。Based on different types of constraints to calculate the semantics of tree nodes, it is deduced that under the condition of multiple truth values, the truth value of the child node determines the truth value of the parent node, so that the link of the child node participates in the generation of the link of the parent node, and then multiple truth values Based on the value condition and the actual truth value of each node of the constraint calculation tree, mark all nodes that will generate links that affect the root node link from top to bottom; mark all constraint calculation tree nodes that will generate non-redundant links Finally, when link generation is performed on the constraint computation tree node, if the constraint computation tree node generates a non-redundant link, link generation is performed, otherwise, the node is skipped. 2.根据权利要求1所述的面向一致性规约检测的冗余动态预测与消除方法,其特征在于,所述规约语言包括与公式、或公式、蕴含公式、非公式、全称公式、特称公式和布尔函数公式;其中,全称公式用于约束数据整体满足一致性规约条件;特称公式用于判断是否存在任何数据满足一致性条件;布尔函数用于检测具体数据与一致性条件的符合情况。2. The redundant dynamic prediction and elimination method for consistent protocol detection according to claim 1, wherein the protocol language includes AND formula, OR formula, implied formula, non-formula, full-name formula, special-name formula and Boolean function formulas; among them, the full name formula is used to constrain the data to meet the consistency specification condition as a whole; the special name formula is used to judge whether any data meets the consistency condition; the Boolean function is used to detect whether the specific data meets the consistency condition. 3.根据权利要求2所述的面向一致性规约检测的冗余动态预测与消除方法,其特征在于,所述约束计算树包括与节点、或节点、蕴含节点、非节点、全称节点、特称节点和布尔函数节点;其中,约束计算树中的与节点、或节点和蕴含节点包括两个子节点,非节点包括一个子节点;与节点、或节点、蕴含节点和非节点的子节点数量分别和与公式、或公式、蕴含公式和非公式的子公式数量对应相同。3. The redundant dynamic prediction and elimination method oriented to consistency protocol detection according to claim 2, wherein the constraint computation tree includes an AND node, an OR node, an implied node, a non-node, a full-name node, and a special-name node. node and Boolean function node; wherein, the AND node, or node and implied node in the constraint calculation tree include two child nodes, and the non-node includes a child node; the number of child nodes of the AND node, or node, implied node, and non-node is respectively and Same as the number of subformulas corresponding to formulas, or formulas, implied formulas, and non-formulas. 4.根据权利要求3所述的面向一致性规约检测的冗余动态预测与消除方法,其特征在于,所述一致性规约检测过程中的真值求取步骤在约束计算树上自底向上进行;对于布尔函数节点,把赋值信息传入对应的布尔函数得到布尔函数节点的真值;对于与节点、或节点、蕴含节点和非节点,根据一阶逻辑中的与、或、蕴含和非的语义以及各节点的子节点的真值求出各节点真值;对于全称节点,仅当全称节点所有子节点真值全部为真或没有子节点时,全称节点真值为真,否则为假;对于特称节点,仅当特称节点所有子节点真值全部为假或没有子节点时,特称节点真值为假,否则为真。4. The redundant dynamic prediction and elimination method for consistency protocol detection according to claim 3, characterized in that, the truth value obtaining step in the consistency protocol detection process is carried out from bottom to top on the constraint calculation tree ;For the Boolean function node, pass the assignment information into the corresponding Boolean function to get the truth value of the Boolean function node; Semantics and the truth value of each node's child nodes to find the truth value of each node; for a full name node, only when the truth value of all child nodes of the full name node is true or there is no child node, the full name node true value is true, otherwise it is false; For a specific node, only when the true value of all child nodes of the specific node is false or has no child nodes, the true value of the specific node is false, otherwise it is true. 5.根据权利要求4所述的面向一致性规约检测的冗余动态预测与消除方法,其特征在于,所述链接将规约的违背与对变元的特定赋值进行关联;特定赋值把具体数据赋给变元,表明具体数据在一致性规约中的语义角色,为规约的违背提供解释;5. The redundant dynamic prediction and elimination method for consistent protocol detection according to claim 4, characterized in that, the link associates the violation of the protocol with the specific assignment of variables; the specific assignment assigns specific data For the variable, it indicates the semantic role of the specific data in the consistency protocol, and provides an explanation for the violation of the protocol; 链接生成在约束计算树上自下尔上进行,为每一非根节点生成中间链接,并使用子节点的中间链接生成父节点的链接;约束计算树唯一根节点的链接为最终所需的链接;对于任一节点,链接生成步骤选用能够决定节点真值的子节点的链接,依据节点类型的语义合成节点的链接。Link generation is carried out on the constraint calculation tree from bottom to top, generating intermediate links for each non-root node, and using the intermediate links of child nodes to generate links to parent nodes; the link of the only root node of the constraint calculation tree is the final required link ; For any node, the link generation step selects the link of the child node that can determine the true value of the node, and synthesizes the link of the node according to the semantics of the node type. 6.根据权利要求5所述的面向一致性规约检测的冗余动态预测与消除方法,其特征在于,对所述一致性规约语言不同类型公式进行语义分析,推导对每一个约束计算树节点的子节点在多个真值取值条件下能够为约束计算树节点的子节点的真值计算形成关键贡献,即子节点能够单独决定其父节点的真值;自根节点开始,按照每一节点在真值求取步骤中求得的真值,标记出所有能够关键贡献其根节点真值的节点;6. The redundant dynamic prediction and elimination method oriented to consistency protocol detection according to claim 5, characterized in that, semantic analysis is carried out to different types of formulas in the consistency protocol language, and derivation is performed for each constraint calculation tree node. Under the conditions of multiple truth values, child nodes can form a key contribution to the truth value calculation of the child nodes of the constraint calculation tree node, that is, the child nodes can independently determine the truth value of their parent nodes; starting from the root node, according to each node The truth value obtained in the step of obtaining the truth value marks all the nodes that can mainly contribute to the truth value of its root node; 对于与节点,当其真值为真,两个子节点都关键贡献与节点的真值;当其真值为假,所有真值为假的节点关键贡献与节点的真值;For an AND node, when its truth value is true, both child nodes key contribute to the truth value of the AND node; when its truth value is false, all nodes whose truth value is false key contribute to the truth value of the AND node; 对于或节点,当其真值为假,两个子节点都关键贡献或节点的真值;当其真值为真,所有真值为真的子节点关键贡献或节点的真值;For an OR node, when its truth value is false, both child nodes key contribute to the truth value of the or node; when its truth value is true, all child nodes key contribution to the truth value of the or node; 对于蕴含节点,当其真值为假,两个子节点都关键贡献蕴含节点的真值;当其真值为真,真值为假的左子节点以及真值为真的右子节点关键贡献蕴含节点的真值;For an implied node, when its truth value is false, both child nodes contribute critically to the true value of the implied node; when its truth value is true, the left child node whose truth value is false and the right child node whose truth value is true contribute critically to the implication the truth value of the node; 对于非节点,其唯一的子节点总是关键贡献其真值;For a non-node, its only child node always contributes its truth value critically; 对于全称节点,其真值由所有真值为假的子节点关键贡献;For a full name node, its truth value is key contributed by all child nodes whose truth value is false; 对于特称节点,其真值由所有真值为真的子节点关键贡献。For a specific node, its truth value is mainly contributed by all truth-valued child nodes. 7.根据权利要求6所述的面向一致性规约检测的冗余动态预测与消除方法,其特征在于,在标记出所有能够对于根节点真值存在关键贡献的节点后,未被标记的所有节点的计算为冗余计算,实际链接生成步骤仅为被标记的节点自底向上生成链接,而不为其他节点生成链接;整棵约束计算树的唯一根节点上生成的链接为最终结果的链接。7. The redundant dynamic prediction and elimination method for consistency protocol detection according to claim 6, characterized in that, after marking all nodes that can have key contributions to the true value of the root node, all unmarked nodes The calculation of is a redundant calculation, and the actual link generation step only generates links from the bottom up for the marked nodes, and does not generate links for other nodes; the link generated on the unique root node of the entire constraint calculation tree is the link of the final result.
CN202211697252.5A 2022-12-28 2022-12-28 A Dynamic Redundancy Prediction and Elimination Method for Consistency Protocol Detection Pending CN116050102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211697252.5A CN116050102A (en) 2022-12-28 2022-12-28 A Dynamic Redundancy Prediction and Elimination Method for Consistency Protocol Detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211697252.5A CN116050102A (en) 2022-12-28 2022-12-28 A Dynamic Redundancy Prediction and Elimination Method for Consistency Protocol Detection

Publications (1)

Publication Number Publication Date
CN116050102A true CN116050102A (en) 2023-05-02

Family

ID=86130573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211697252.5A Pending CN116050102A (en) 2022-12-28 2022-12-28 A Dynamic Redundancy Prediction and Elimination Method for Consistency Protocol Detection

Country Status (1)

Country Link
CN (1) CN116050102A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5664172A (en) * 1994-07-19 1997-09-02 Oracle Corporation Range-based query optimizer
GB201215019D0 (en) * 2012-08-23 2012-10-10 Ibm Logical contingency analysis for domain-specific languages
CN114450675A (en) * 2019-09-24 2022-05-06 华为技术有限公司 Temporal identifier constraints of SEI messages
CN115336279A (en) * 2020-04-02 2022-11-11 高通股份有限公司 General constraint information syntax in video coding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5664172A (en) * 1994-07-19 1997-09-02 Oracle Corporation Range-based query optimizer
GB201215019D0 (en) * 2012-08-23 2012-10-10 Ibm Logical contingency analysis for domain-specific languages
CN114450675A (en) * 2019-09-24 2022-05-06 华为技术有限公司 Temporal identifier constraints of SEI messages
CN115336279A (en) * 2020-04-02 2022-11-11 高通股份有限公司 General constraint information syntax in video coding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王慧妍: "基于一致性检测的环境感知智能软件输入验证技术研究", 中国博士学位论文全文数据库, 15 May 2022 (2022-05-15) *

Similar Documents

Publication Publication Date Title
EP3796176B1 (en) Fault root cause analysis method and apparatus
Denney et al. A formal basis for safety case patterns
CN106168797B (en) A kind of method that modularization obtains the useful item failure probability of nuclear power station fault tree
WO2021151292A1 (en) Corpus monitoring method based on mask language model, corpus monitoring apparatus, device, and medium
CN108446540A (en) Program code based on source code multi-tag figure neural network plagiarizes type detection method and system
CN104899043B (en) The method for obtaining software security demand is analyzed using module safety
CN105938502A (en) Validation method for design of system security of AltaRica model
CN107632590A (en) A kind of bottom event sort method based on priority
CN111045670A (en) Method and device for identifying multiplexing relationship between binary code and source code
CN116050102A (en) A Dynamic Redundancy Prediction and Elimination Method for Consistency Protocol Detection
CN117707813A (en) Semi-supervised log anomaly detection method based on SBERT model
CN102193858A (en) Test case set generation method
CN111222022B (en) A matching method and device based on regular expressions
EP3859532B1 (en) Method and system for counter example guided loop abstraction refinement
Ergurtuna et al. An efficient formula synthesis method with past signal temporal logic
Kang et al. Statistical analysis of energy-aware real-time automotive systems in EAST-ADL/Stateflow
CN112799890B (en) A Reliability Modeling and Evaluation Method for Bus Anti-SEU
CN117914516A (en) Attack scene graph reconstruction method based on network threat information report
CN117077054A (en) Model training method and device, electronic equipment and storage medium
CN112948253B (en) Test case generation method based on VRM model
Huber et al. Towards an integrated model checker for railway signalling data
CN110727538B (en) Fault positioning system and method based on model hit probability distribution
CN107291435A (en) AADL models are blended together under a kind of Uncertain environments and quantify analysis method
CN112799862B (en) Reliability modeling and evaluation method of CPU anti-SEU effect for radiation environment
CN116679934B (en) A model conversion method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination