首页> 外国专利> Solving hybrid constraints to validate specification requirements of a software module

Solving hybrid constraints to validate specification requirements of a software module

机译:解决混合约束以验证软件模块的规格要求

摘要

In one embodiment, a software module is validated according to requirements associated with the software module. The software module has numeric and string variables, and is associated with first numeric constrains and first string constraints. Second numeric constraints applying to specific numeric variables and second string constraints applying to specific string variables are inferred. Each numeric constraint is represented with an equation, and each string constraint is represented with a finite state machine. Attempt to solve a solution for the numeric and string variables that satisfies all the first and second numeric constraints, all the first and second string constraints, and all the requirements associated with the software module by iteratively testing different possible values for the numeric and string variables.
机译:在一个实施例中,根据与软件模块相关联的要求来验证软件模块。该软件模块具有数字和字符串变量,并且与第一个数字约束和第一个字符串约束相关联。推断适用于特定数字变量的第二数字约束和适用于特定字符串变量的第二字符串约束。每个数字约束都用一个方程式表示,每个字符串约束都用一个有限状态机表示。尝试通过迭代测试数字和字符串变量的不同可能值来解决满足所有第一和第二数字约束,所有第一和第二字符串约束以及与软件模块相关联的所有要求的数字和字符串变量的解决方案。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号