CN103631710B - Software specifications exploitation householder method and software specifications exploitation auxiliary device - Google Patents
Software specifications exploitation householder method and software specifications exploitation auxiliary device Download PDFInfo
- Publication number
- CN103631710B CN103631710B CN201310304712.8A CN201310304712A CN103631710B CN 103631710 B CN103631710 B CN 103631710B CN 201310304712 A CN201310304712 A CN 201310304712A CN 103631710 B CN103631710 B CN 103631710B
- Authority
- CN
- China
- Prior art keywords
- propositional
- rule
- condition
- restriction
- result
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
A kind of software specifications exploitation householder method and software specifications exploitation auxiliary device.nullNormalized checking portion,For the specification of the arbitrary propositional form checking object obtained from proposition rule storage unit and the specification of the propositional form of its arbitrary comparison other,Judge specification whether contradiction or the repetition of 2 propositional forms,If contradiction or repetition,Then using the specification contradiction of the described propositional form being decomposed into as the specification of propositional form checking object with comparison other or the specification of the propositional form of repetition、And with the specification of the propositional form of comparison other not contradiction or the specification of unduplicated propositional form,Log in inspection result storage unit,Decision table generating unit is from checking that result storage unit obtains the either or both of the specification of described propositional form,The condition part of the specification of this propositional form and result portion is taken out to generate the row of decision table about the specification of propositional form each described,Indication range is represented in the hurdle of the corresponding line of the row corresponding with the specification of this propositional form.
Description
Technical field
The present invention relates to the technology of a kind of assisting software development.
Background technology
The corresponding relation of the condition before sometimes performing with software and the result after its execution defines software
Specification.The corresponding relation of this condition known and result can be with being referred to as decision table (decision table)
Sheet form show, be frequently used to engineering of software development.Decision table has several different description shape
Formula, even if being the decision table that description form is different, the semanteme of the corresponding relation of expression condition and result is also
The same.And, decision table is sometimes referred to as conditional matrix or checks other titles such as list.
By using this decision table to represent specification, the corresponding pass of condition and result can be described like clockwork
System, also has the effect that the pattern easily finding condition is omitted simultaneously.On the other hand, specification based on decision table
Description has the disadvantage that.That is, there is the increase along with condition element, pattern increases and decision table expands, from
And the problem that readability declines.
As the prior art of this problem of solution, patent document 1 discloses that one is carried out by segmentation decision table
Statement prevents the method for readable decline.
If using prior art disclosed in patent documentation 1, decision can be shown by readable high form
Table.But owing to the description amount of decision table is constant, the input quantity that therefore can produce decision table increases, generates work
The problem that the problem of Shi Zengjia and the memory capacity in order to preserve needed for decision table increase.As solving this problem
Prior art, patent document 2 discloses that a kind of method, i.e. by generating certainly from the description of propositional form
Determine table, thus cut down the generation man-hour of decision table.It addition, open following methods, i.e. by carrying from decision table
Carry out after taking the description of propositional form preserving/showing, thus cut down for depositing needed for preserving/show decision table
Storage capacity.
But, when specification is contradictory or omit time, show with the specification of decision table form compared with, based on proposition
The specification of the description of form shows have the shortcoming being difficult to visual confirmation contradiction or omission.It is to say, want
When being carried out visual confirmation contradiction by the display of decision table or omitted, the method represented by patent documentation 2 does not has
Effect.Therefore, specification is carried out for the visibility of the contradiction or omission that improve specification with decision table form
During display, owing to the prior art represented by patent documentation 2 can not be applied, so can not solve along with decision
The extension of table and problem that memory capacity needed for the display of decision table increases.It addition, patent documentation 2
Shown prior art, had been internally generated decision table before the specification of description based on propositional form shows.
Therefore prior art also has the extension along with decision table, the memory capacity needed for the generation of decision table and process
The problem that time increases.
[patent documentation 1] Japanese Unexamined Patent Publication 2005-44303 publication
[patent documentation 2] Japanese Patent Application 2011-052340 publication
Summary of the invention
Proposing the present invention in view of the foregoing, its purpose, for providing a kind of technology, maintains and is used for improving
The display of the decision table form of the contradiction of specification or the visibility of omission, cuts down the generation of decision table
And the memory capacity needed for display.
It it is below a representative example of the present invention.That is, the software specifications exploitation auxiliary device of the present invention
Possessing: proposition specification receiving portion, it accepts by having the condition part of multiple condition and having via input unit
The specification of multiple propositional forms of the result portion composition of multiple results;1st storage unit, it preserves multiple propositions
The specification of form;Normalized checking portion, it judges the plurality of life according to the proposition specification of described 1st storage unit
Each specification of the specification of topic form is the most conflicting or repeats, and its result is saved in the 2nd storage unit
In;Decision table generating unit, it generates, according to the result of described inspection, the decision table represented with sheet form, described
By each row, sheet form represents that one of one of the plurality of condition or the plurality of result, each list are shown described many
Each specification of the specification of individual propositional form.Described normalized checking portion, for obtaining from described 1st storage unit
Arbitrary as check the specification of propositional form of object with it arbitrarily as the proposition shape of comparison other
The specification of formula, it is determined that the specification of described 2 propositional forms whether contradiction or repetition, if contradiction or weight
Multiple, then the described specification as the propositional form checking object is decomposed into and the proposition shape as comparison other
The specification contradiction of formula or the specification of the propositional form of repetition and with the propositional form as comparison other
Specification not contradiction and the specification of unduplicated propositional form, log in described 2nd storage unit, described decision
Table generating unit obtains any one party or the both sides of the specification of described propositional form from described 2nd storage unit, closes
In the specification of propositional form each described, the condition part and the result portion that take out the specification of this propositional form generate
The row of described decision table, represents the corresponding line at row corresponding with the specification of this propositional form by indication range
In hurdle.
According to the present invention it is possible to the contradiction of visual confirmation specification, repetition on decision table, can be cut down this certainly
Determine table generation and display needed for memory capacity.
Accompanying drawing explanation
Fig. 1 is the block diagram of the structure example representing software specifications exploitation auxiliary device 201.
Fig. 2 is the block diagram of the hardware configuration example representing software specifications exploitation auxiliary device 201.
Fig. 3 is the example of the proposition rule that proposition rule storage unit 102 is preserved.
Fig. 4 is condition item and the result items purpose example constituting proposition rule.
Fig. 5 is the example of the restriction that restriction storage unit 104 is preserved.
Fig. 6 is the example that the contradiction that contradiction inspection portion 105 logs in checking result storage unit 109 checks result
Son.
Fig. 7 is the flow chart of the step example representing that contradiction checks.
Fig. 8 is the example of the rechecking result that rechecking portion 106 logs in checking result storage unit 109
Son.
Fig. 9 is the flow chart of the step example representing rechecking.
Figure 10 is the example of Wen's logical operations figure that the result according to rechecking generates.
Figure 11 is the undefined inspection knot that undefined inspection portion 107 logs in checking result storage unit 109
The example of fruit.
Figure 12 is the flow chart of the step example representing undefined inspection.
Figure 13 is the example of the inspection result that restriction inspection portion 108 logs in checking result storage unit 109.
Figure 14 is the flow chart of the step example representing restriction inspection.
Figure 15 is the example of the display strategy that strategy storage unit 111 is preserved.
Figure 16 is to show the example showing object-rule that object-rule storage unit 115 is preserved.
Figure 17 is the flow chart of the step example representing display object-rule decision.
Figure 18 be decision table part show/correction portion 116 according to display object-rule storage unit 115 preserved
Display object-rule carry out the example of the part decision table shown.
Figure 19 be decision table part show/correction portion 116 by accept to revise input and the part that is corrected certainly
Determine the example of table.
Figure 20 is to revise the example revising complete rule that complete rule storage unit 118 is preserved.
Symbol description
101: proposition rule editing portion;102: proposition rule storage unit;103: restriction editorial office;104:
Restriction storage unit;105: contradiction inspection portion;106: rechecking portion;107: undefined inspection portion;108:
Restriction inspection portion;109: check result storage unit;110: optional strategy configuration part;111: strategy is protected
Deposit portion;112: policy selection portion;113: strategy editorial office;114: display object-rule determination section;115:
Display object-rule storage unit;116: decision table part shows/correction portion;117: revise complete rule raw
One-tenth portion;118: revise complete rule storage unit;119: revise complete rule replacement section.
Detailed description of the invention
Describe an embodiment of the invention referring to the drawings in detail.
Present embodiment is applicable to the device of the exploitation assisting software to use.
In present embodiment, the specification (referred to as proposition rule) that acceptance is carried out by the description of propositional form
Input, checks the contradiction between proposition rule, omits, repeats and difference.Also accept for proposition rule
Restriction, checks the constraint violation of proposition rule.And according to checking that result generates expression and checks that result has
The description (referred to as showing object-rule) of the propositional form of the specification closed.Further, according to the display generated
Object-rule generates and shows decision table.
Therefore, according to present embodiment, can confirm on decision table specification contradiction, omit, repeat,
Checking as a result, it is possible to cut down the storage needed for the generation of this decision table and display of difference and constraint violation
Capacity.
It addition, in the present embodiment, the decision table generated according to display object-rule accepts specification
Correction.Further, the display object-rule of correction is reflected (referred to as according to the decision table generation that correction is complete
Revise complete rule), and original display object-rule is replaced.
Therefore, proposition can not be described but the decision high to specification visibility according to present embodiment
Table carries out the correction of specification such that it is able to cuts down and revises mistake.
Present embodiment, according to described inspection result, preserves for becoming the aobvious of decision table display object
Show the display strategy of object-rule.And before decision table shows, accept the effective/nothing of described display strategy
The setting of effect, generates the display object rule becoming decision table display object according to selected display strategy
Then.
Therefore, according to present embodiment, it may be considered that scale and the described inspection result of specification adjust decision
The specification amount of table display object, is therefore possible to prevent the extension of the decision table generating and showing.
Described proposition rule in the present embodiment, restrict, show object-rule and revise complete rule etc.
The description of propositional form, it is contemplated that natural language form and logical formula form both.Proposition rule, display
Object-rule and revise complete rule and be made up of condition part and result portion.Condition part is patrolled by condition item value
Collect long-pending composition.Equally, result portion is made up of the logic product of result item value.Restrict by preceding paragraph and consequent constitute.
The preceding paragraph of restriction is the same with the condition part of proposition rule, is made up of the logic product of condition item value.Consequent also one
Sample is made up of the logic product of condition item value.
For example it is assumed that existence condition project A, B and result project C, take respectively a1 and a2, b1 and b2,
The value of c1 and c2.At this time can describe " when A be a1 and B be not b1 time, C is c1 " proposition
Rule.This proposition rule can also be described by logical formula form
Condition part is " A=a1 ∧ B ≠ b1 ", and result portion is " C=c1 ".The present embodiment uses natural language form
And logical formula form two ways represents example.
Fig. 1 is the block diagram of the structure example representing the software specifications exploitation auxiliary device 201 in present embodiment.
Software specifications exploitation auxiliary device 201 includes proposition rule editing portion 101, proposition rule storage unit
102, restriction editorial office 103, restriction storage unit 104, contradiction inspection portion 105, rechecking portion 106,
Undefined inspection portion 107, restriction inspection portion 108, inspection result storage unit 109, optional strategy set
Portion 110, strategy storage unit 111, policy selection portion 112, strategy editorial office 113, display object-rule are certainly
Determine portion 114, display object-rule storage unit 115, decision table part show/correction portion 116, revise complete
Rule generating unit 117, revise complete rule storage unit 118 and revise complete rule replacement section 119.
Proposition rule editing portion 101 accepts input and the editor of proposition rule, the proposition rule of acceptance is stepped on
Record is in proposition rule storage unit 102.
Restriction editorial office 103 accepts input and the editor of the restriction to proposition rule, the restriction of acceptance is stepped on
Record in restriction storage unit 104.
Contradiction inspection portion 105 obtains proposition rule from proposition rule storage unit 102.From the proposition rule obtained
Middle decision checks object-rule and its comparison other rule, inspection object-rule and comparison other rule
Contradiction.Check that result logs in inspection result storage unit 109.Check object-rule and comparison other rule
Can determine according to the input from outside user.
Rechecking portion 105 obtains proposition rule from proposition rule storage unit 102.From the proposition rule obtained
Middle decision checks object-rule and its comparison other rule, checks based on checking object-rule and comparison other rule
Re-defining of specification then.When setting relative importance value in proposition rule, check based on checking object-rule
Covering with the specification of comparison other rule.It addition, when checking that object-rule and comparison other are regular and same
Rule before changing with change after to correspondence time check its difference specification.These check that result logs in inspection knot
Really in storage unit 109.Check that object-rule and comparison other rule can be come certainly according to from outside input
Fixed.
It addition, contradiction inspection portion 105 and rechecking portion 106 can be according to checking that result shows expression inspection
Look into Wen's logical operations figure of the relation of object-rule and comparison other rule.
Undefined inspection portion 107 obtains proposition rule from proposition rule storage unit 102, checks not by proposition
The undefined specification of rule definition.Check that result logs in inspection result storage unit 109.As for certain
Individual result project C " C is not c1 " is such, even if the when of only definition " be not~" specification, and result items
Mesh C can also be undefined.
Restriction inspection portion 108 obtains proposition rule from proposition rule storage unit 102, simultaneously from restriction storage unit
104 obtain restriction.Whether the proposition rule acquired by inspection meets the same restriction obtained.Inspection result is stepped on
Record in checking result storage unit 109.
Check that result storage unit 109 preserves and check result.Check that result at least includes by respective inspection
The specification of the propositional form obtained.
Optional strategy configuration part 110 is from checking that result storage unit 109 obtains inspection result.And according to taking
Inspection result, select from the strategy display strategy that preserved of storage unit 111 meet applicable elements can
The strategy being suitable for.
Policy selection portion 112 accepts the effective or invalid input of display strategy, by strategy storage unit 111
The strategy preserved switch to effectively or/invalid.
Strategy editorial office 113 accepts the input of display strategy editor, and change strategy storage unit 111 is preserved
Strategy.
Display object-rule determination section 114 obtains display strategy applicatory from strategy storage unit 111.Also from
Check that result storage unit 109 obtains the inspection result of the specification including propositional form.According to the display plan obtained
Omit and check that result determines to show object-rule.The display object-rule obtained logs in display object-rule
In storage unit 115.
Decision table part shows/correction portion 116 obtains display object rule from display object-rule storage unit 115
Then, specification is represented with what decision table form showed described display object-rule.It addition, what acceptance had shown
The correction input of decision table, change is with the specification shown by decision table form.
Revise complete rule generating unit 117 obtain decision table part show/correction portion 116 is shown/correction
Decision table, is the specification of propositional form by the expression gauge transformation of decision table.The proposition obtained by conversion
The specification of form logs in correction complete rule storage unit 118 as revising complete rule.
Revise complete rule replacement section 119 and obtain the complete rule of correction from revising complete rule storage unit 118,
Simultaneously from checking that result storage unit 109 obtains the inspection object-rule showing object-rule included before revising.
Then, it is replaced into the complete rule of correction by the display object-rule before revising, obtains representing that correction is complete
The specification of propositional form checking object-rule.Finally, the specification of the propositional form obtained is replaced into life
The inspection object-rule that topic rule storage unit 102 is preserved.
Fig. 2 is the figure of the hardware configuration example representing software specifications exploitation auxiliary device 201.
Software specifications exploitation auxiliary device 201 possess CPU202, memorizer 203, external memory 204,
Display device 205, input equipment 206 and external agency input/output unit 207.
The program that CPU202 is stored by performing memorizer 203 performs various process.Memorizer 203
As the working region function of CPU202, the data needed for the execution of storage program and program.Tool
Say body, storage constitute proposition rule editing portion 101, restriction editorial office 103, contradiction inspection portion 105,
Rechecking portion 106, undefined inspection portion 107, restriction inspection portion 108, optional strategy configuration part 110,
Policy selection portion 112, strategy editorial office 113, display object-rule determination section 114, decision table part show
Show/correction portion 116, revise complete rule generating unit 117 and revise complete rule replacement section 119 program,
Storage proposition rule storage unit 102, restriction storage unit 104, inspection result storage unit 109, strategy simultaneously
Storage unit 111, display object-rule storage unit 115 and revise complete rule storage unit 118 and preserved
Data.
External memory 204 stores various data.External memory 204 e.g. hard disk unit etc..
Specifically, storage proposition rule storage unit 102, restriction storage unit 104, check result storage unit 109,
Strategy storage unit 111, display object-rule storage unit 115 and revise complete rule storage unit 118.
Or, composition proposition rule editing portion 101, restriction volume can be stored in external memory 204
Collect portion 103, contradiction inspection portion 105, rechecking portion 106, undefined inspection portion 107, restriction inspection portion
108, optional strategy configuration part 110, policy selection portion 112, strategy editorial office 113, display object rule
Then determination section 114, decision table part show/correction portion 116, revise complete rule generating unit 117 and repairing
Program at least some of of the most complete rule replacement section 119, when performing various process, CPU202 is by it
Read into memorizer 203 and perform program.It addition, each program can be pre-stored in memorizer 203
Or in external memory 204, it is also possible to as required, lead from other devices via spendable medium
Enter in memorizer 203 or external device (ED) 204.So-called medium, refers to such as to input at external agency
The storage medium of handling on output device 207, or network, the carrier wave propagated on network and digital signal
Deng communication media.
Display device 205 shows the result etc. of program.Display device 205 e.g. display etc..Defeated
Enter the input etc. of the device 206 information needed for the execution that user acceptance processes indicates and processes.Input
Device 206 e.g. keyboard and mouse etc..
The external agency input/output unit 207 number to being stored in external agency and external memory 204
According to etc. carry out input and output.External agency is moving of can loading and unloading on external agency input/output unit 207
Dynamic property storage medium, external agency input/output unit 207 is the driving can being written and read in external agency
Device etc..
Fig. 3 is the example of the proposition rule that proposition rule storage unit 102 is preserved.It addition, Fig. 4 is to constitute
The condition item of proposition rule and result items purpose example.
Condition item 401 is made up of the value i.e. condition value 403 of condition item title 402 and this project.Equally,
Result project 404 is made up of the value i.e. end value of result project name 405 and this project.Such as, proposition rule
Then 301 represent " value of condition item of title with presence or absence of adding when insurance be added fashionable, the name of subsidy
Claim result item value be to have payment " specification.The condition part of proposition rule 301 is for " " insurance there was added
Nothing " be " adding " ", result portion is " " subsidy " is " having payment " ".
Fig. 5 is the example of the restriction that restriction storage unit 104 is preserved.
Such as, restriction 501 expression " value of condition item of title with presence or absence of adding when insurance be do not add fashionable,
The value of condition item of the title that volume is paid in insurance is 0 yen " restriction.The preceding paragraph of restriction 501 is " " to protect
Danger there was added nothing " be " addition " ", consequent for " " volume is paid in insurance " is " 0 yen " ".
Fig. 6 is the example that the contradiction that contradiction inspection portion 105 logs in checking result storage unit 109 checks result
Son.
The inspection result 601 that contradiction checks is by checking object-rule 602, comparison other rule 603, checking
604, the specification 605 of contradiction and reconcilable specification 606 are constituted as a result.
Check that object-rule 602 and comparison other rule 603 represent and proposition rule respectively becomes contradiction inspection
The proposition rule of the object looked into and the proposition rule becoming its comparison other.Check that result 604 represents that inspection is right
As the contradiction of rule 602 and comparison other rule 603 checks result.The specification 605 of contradiction represents in inspection
With the specification of the specification contradiction represented by comparison other rule 603 in rule represented by object-rule 602.
On the contrary, reconcilable specification 606 represent in checking the specification represented by object-rule 602 with comparison other
The rule reconcilable specification of specification represented by 603.
For example it is assumed that as checking that object-rule 602 provides proposition rule 301, as its comparison other
Rule 603 and provide proposition rule 302.At this moment, contradiction inspection portion 105 logs in " contradictory " as inspection
Come to an end fruit 604.Meanwhile, as the specification 605 of contradiction, log in following specification, i.e. " when " insurance adds
With or without " it is " adding ", and when " volume is paid in insurance " is " more than 20,000 yen ", " subsidy " is
" there is payment " ".Further, as reconcilable specification 606, log in following specification, i.e. " when " insurance
There was added nothing " it is " adding ", and when " volume is paid in insurance " is not " more than 20,000 yen ", " subsidy
Gold " be " having payment " ".
Fig. 7 is the flow chart of the step example representing that contradiction checks.
Process shown below is that the CPU202 possessed by software specifications exploitation auxiliary device 201 is being deposited
The program performed in reservoir 203 realizes.Further, this program is by the various actions carrying out following description
Code is constituted.
CPU202, by performing contradiction inspection portion 105, obtains arbitrary 2 from proposition rule storage unit 102
Individual proposition rule, respectively as checking object-rule and comparison other rule.The inspection object-rule obtained
Log in respectively with comparison other rule and check that the inspection object-rule 602 of result storage unit 109 is with the most right
As in rule 603 (step 701).
The condition part of the condition checking object-rule that contradiction inspection portion 105 obtains with reference to expression and expression ratio
The condition part of the condition of relatively object-rule, it is determined that whether the condition part of both sides and is deposited.When condition part and when depositing,
Knot referring next to the result in the result portion and expression comparison other rule representing the result checking object-rule
Really portion, it is determined that whether the result portion of both sides and deposits.When condition part and deposit and result portion is not and when depositing, in inspection
The inspection result 604 of fruit storage unit 109 that comes to an end logs in " contradictory ", performs step 703.Work as condition
Portion not and deposits, or condition part deposit but result portion is also and when depositing, in the inspection checking result storage unit 109
Log in " not contradiction " in 604 as a result, log in reconcilable specification 606 and check object-rule and terminate
Process.The inspection of described compatibility can use SAT solver.Such as proposition rule 301 and proposition
The condition part of rule 302 is also deposited and result portion not and deposits, and therefore logs in " contradictory " in checking result 604,
Perform step 703.(step 702).
Contradiction inspection portion 105 check whether there is occur in comparison other rule does not appears in inspection right
As the condition item in rule.Step 704 is performed when there being the condition item meeting described condition.When not having
Step 706 is performed when meeting the condition item of described condition.Such as using proposition rule 301 as checking object
Rule, during using proposition rule 302 as comparison other rule, the condition item of " volume is paid in insurance " meets
Described condition, therefore performs step 704(step 703).
Contradiction inspection portion 105 by that detect in step 703, occur in comparison other rule does not go out
Check now that the condition item in object-rule is being examined with the value identical with the value occurred in comparison other rule
The condition part looking into object-rule carries out logic product combination.In the case of the most above-mentioned example, by " " insurance is paid
Na E " be " more than 20,000 yen " " condition carry out logic product combination at the condition part of proposition rule 301,
Worked as " insurance there was added nothing " be " the most complete " and " volume is paid in insurance " be " more than 20,000 yen "
Time, " subsidy " is the description of " having payment ".(step 704).
The specification 605 as contradiction that describes generated in step 704 is logged in inspection by contradiction inspection portion 105
In result storage unit 109 (step 705).
Contradiction inspection portion 105 will check that the object-rule specification 605 as contradiction logs in inspection result and preserves
In portion 109, end processes (step 706).
Contradiction inspection portion 105 by that detect in step 703, occur in comparison other rule does not go out
Check now that the negative value of the value to occur in comparison other rule of the condition item in object-rule is checking
The condition part of object-rule carries out logic product combination.The most in the case of the above-described example, by " " insurance is paid
Na E " be not " more than 20,000 yen " " condition carry out logic product knot at the condition part of proposition rule 301
Close, worked as " insurance there was added nothing " be " adding " and " volume is paid in insurance " be not " 20,000 yen
Time above ", " subsidy " is the description of " having payment ".(step 707).
The description generated in step 707 is logged in inspection as reconcilable specification 606 by contradiction inspection portion 105
In the fruit storage unit 109 that comes to an end (step 708).
Fig. 8 is the example of the rechecking result that rechecking portion 106 logs in checking result storage unit 109
Son.
The inspection result 801 of rechecking is by checking object-rule 802, comparison other rule 803, checking
804, the specification 805 of repetition and unduplicated specification 806 are constituted as a result.
Check that object-rule 802 and comparison other rule 803 represent to respectively become in proposition rule and repeat inspection
Check the proposition rule of elephant and become the proposition rule of its comparison other.Check that result 804 represents and check object
Rule 802 and the rechecking result of comparison other rule 803.The specification 805 repeated represents right in inspection
The specification that specification in specification as represented by rule 802 and represented by comparison other rule 803 repeats.
On the contrary, unduplicated specification 806 represent in checking the specification represented by object-rule 802 with compare right
The unduplicated specification of specification as represented by rule 803.
For example it is assumed that as checking that object-rule 802 provides proposition rule 301, as its comparison other
Rule 803 and provide proposition rule 303.At this moment, rechecking portion 106 is as checking that result 804 is stepped on
Record " having repetition ".Meanwhile, as the specification 805 repeated, following specification is logged in, i.e. " when " insurance adds
Enter with or without " be " adding " and " volume is paid in insurance " be " more than 20,000 yen " time, " subsidy "
It is " having payment " ", as unduplicated specification 806, log in following specification, i.e. " when " insurance there was added
Nothing " it is " adding " and " volume is paid in insurance " when not being " more than 20,000 yen ", " subsidy " is
" there is payment " ".
It addition, described rechecking portion 106 not only checks the repetition of the specification between proposition rule, it is also possible to
Carry out covering and check and difference inspection.When covering inspection, the specification represented by object-rule 802 will checked
In specification that the specification compared represented by object-rule 803 is covered or by comparison other rule
Specification represented by 803 and capped specification logs in the specification 805 of repetition.When difference checks, will
Check in specification represented by object-rule 802 with the difference of the specification represented by comparison other rule 803
Specification logs in the specification 805 of repetition.
Fig. 9 is the flow chart of the step example representing rechecking.
Process shown below is to generate, by decision table, the CPU202 that auxiliary/checking device 201 is possessed
The program performed in memorizer 203 realizes.Further, this program is described below various by carrying out
The code of action is constituted.
CPU202 obtains any 2 lives by performing rechecking portion 106 from proposition rule storage unit 102
Topic rule, respectively as checking object-rule and comparison other rule.The inspection object-rule obtained and ratio
Relatively object-rule logs in inspection object-rule 802 and the comparison other rule checking result storage unit 109 respectively
Then (step 901) in 803.
The condition part of the condition checking object-rule that rechecking portion 106 obtains with reference to expression and expression ratio
The condition part of the condition of relatively object-rule, it is determined that whether the condition part of both sides and is deposited.When condition part and when depositing,
In the inspection result 804 checking result storage unit 109, log in " having repetition ", perform step 903.When
Condition part not and when depositing, logs in " not repeating " in the inspection result 804 checking result storage unit 109,
Unduplicated specification 806 logs in and checks object-rule and terminate to process.Can in the inspection of described compatibility
To use SAT solver.Such as proposition rule 301 and the condition part of proposition rule 302 are also deposited, therefore
In checking result 804, log in " having repetition ", perform step 903.(step 902).
Rechecking portion 106 check whether there is occur in comparison other rule does not appears in inspection right
As the condition item in rule.Step 904 is performed when there being the condition item meeting described condition.When not having
Step 906 is performed when meeting the condition item of described condition.Such as using proposition rule 301 as checking object
Rule, during using proposition rule 302 as comparison other rule, the condition item of " volume is paid in insurance " meets
Described condition, therefore performs step 904(step 903).
Rechecking portion 106 by that detect in step 903, occur in comparison other rule does not go out
Check now that the condition item in object-rule is being examined with the value identical with the value occurred in comparison other rule
The condition part looking into object-rule carries out logic product combination.The most in the case of the above-described example, will " " insurance
Pay volume " be " more than 20,000 yen " " condition carry out logic product knot at the condition part of proposition rule 301
Close, worked as " insurance there was added nothing " and be and " adding " and " volume is paid in insurance " be " 20,000 yen with
On " time, " subsidy " is the description of " having payment ".(step 904).
The specification 805 as repeating that describes generated in step 904 is logged in inspection by rechecking portion 106
In result storage unit 109 (step 905).
Rechecking portion 106 will check that object-rule logs in inspection result as the specification 805 repeated and preserves
In portion 109, end processes (step 906).
Rechecking portion 106 by that detect in step 903, occur in comparison other rule does not go out
Check now that the negative value of the value to occur in comparison other rule of the condition item in object-rule is checking
The condition part of object-rule carries out logic product combination.The most in the case of the above-described example, by " " insurance is paid
Na E " be not " more than 20,000 yen " " condition carry out logic product knot at the condition part of proposition rule 301
Close, worked as " insurance there was added nothing " be " adding " and " volume is paid in insurance " be not " 20,000 yen
Time above ", " subsidy " is the description of " having payment ".(step 907).
The description generated in step 907 is logged in knot as unduplicated specification 806 by rechecking portion 106
Really in storage unit 109 (step 908).
Figure 10 is the example of Wen's logical operations figure that the result according to rechecking generates.
Scope 1001 represents the scope checking the specification represented by the i.e. proposition rule of object-rule 301.Scope
1002 scopes representing the specification represented by the comparison other i.e. proposition rule of rule 302.Scope 1003 represents
The unduplicated specification of specification in inspection specification represented by object-rule and represented by comparison other rule
Scope.Scope 1004 represents in the specification checked represented by object-rule and represented by comparison other rule
The scope of specification that repeats of specification.
Figure 11 is the undefined inspection knot that undefined inspection portion 107 logs in checking result storage unit 109
The example of fruit.
The inspection result 1101 of undefined inspection is made up of undefined condition 1102.Undefined condition 1102
Represent the proposition rule preserved by proposition rule storage unit 102, the condition that result is not defined.
Such as, when proposition rule storage unit 109 preserves proposition rule 301,302 and 303, for
" when " insurance there was added nothing " is " adding " ", " when " insurance there was added nothing " is " adding " "
And the condition of " when " volume is paid in insurance " is " more than 20,000 yen " ", result be define complete.Separately
On the one hand, for " " insurance there was added nothing " be " addition " and " volume is paid in insurance " be " 1 yen
Above less than 20,000 yen " time " and " " insurance there was added nothing " is " addition " and " volume is paid in insurance "
When being " 0 yen " " condition, result is undefined.Therefore, undefined condition 1102 log in this 2
Individual condition.
Figure 12 is the flow chart of the step example representing undefined inspection.
Process shown below is to generate, by decision table, the CPU202 that auxiliary/checking device 201 is possessed
The program performed in memorizer 203 realizes.And this program is by the various actions carrying out following description
Code constitute.
CPU202, by performing undefined inspection portion 107, obtains all of from proposition rule storage unit 102
Proposition rule (step 1201).
Undefined inspection portion 107, for each proposition rule obtained, generates the no of their condition part of expression
Fixed description.But, when the negative in formation condition portion, about the arbitrary value of the X of any condition item
X1, the description of unusable " " X " is not " x1 " ".In these cases, use condition item X's
Value x_i beyond x1, x_i+1 ... x_j, use " " X " be " x_i " or " X " be " x_i+1 " ...,
Or " X " is " x_j " " such description.Equally, in the description of logical formula form unusable not
Equal sign " ≠ ".
It is assumed here that be endowed condition item A, B and result project C, take respectively a1 and a2, b1 and
The value of b2, c1 and c2.At this moment, forSuch proposition rule,
As the negative of its condition part, generate the description (step 1202) of " A=a2 ∨ B=b1 ".
Undefined inspection portion 107 would indicate that the description of the negative of the condition part in step 1202 generation is patrolled
Collect long-pending combination (step 1203).
The description generated in step 1203 is deformed into long-pending and canonical form (step by undefined inspection portion 107
1204).
Undefined inspection portion 107 amasss the description with canonical form by each synthon by generate in step 1204
Sentence separates, and as undefined condition 1102, each synthesis clause is logged in inspection result storage unit 109
In (step 1205).
Figure 13 is that the restriction that restriction inspection portion 108 logs in checking result storage unit 109 checks result
Example.
The inspection result 1301 that restriction checks is by checking object-rule 1302, restriction 1303, checking result
1304, the specification 1305 restricting object and the specification 1306 restricted outside object are constituted.
Check object-rule 1302 and restriction 1303 expression become restriction check object proposition rule and its
Restriction.Check that result 1304 represents what the restriction of the restriction 1303 for checking object-rule 1302 checked
Result.The specification 1305 of restriction object represents in checking the specification represented by object-rule 1302, restriction
The specification of the restriction object of 1303.On the contrary, the specification 1306 outside restriction object represents inspection object-rule 1302
Specification in represented specification, outside the restriction object of restriction 1303.
For example it is assumed that as checking that object-rule 1302 provides proposition rule 302, as restriction 1303
And provide restriction 501.At this moment, restriction inspection portion 108 logs in " having object " as checking result 1304.
Meanwhile, as the specification 1305 of restriction object, following specification is logged in, i.e. " when " insurance there was added nothing "
Being " addition " and " volume is paid in insurance " when being " more than 20,000 yen ", " subsidy " is " not have
Pay " ", as the specification 1306 outside restriction object, log in following specification, i.e. " when " insurance there was added
Nothing " it not " addition " and " volume is paid in insurance " when being " more than 20,000 yen ", " subsidy " is
" do not pay " ".
Figure 14 is the flow chart of the step example representing restriction inspection.
Process shown below is to generate, by decision table, the CPU202 that auxiliary/checking device 201 is possessed
The program performed in memorizer 203 realizes.And this program is by the various actions carrying out following description
Code constitute.
CPU202 obtains any 1 life by performing restriction inspection portion 108 from proposition rule storage unit 102
Topic rule is as checking object-rule.Obtain any 1 restriction from restriction storage unit 104 simultaneously.Obtain
Check that object-rule and restriction log in inspection object-rule 1302 and the restriction checking storage unit 109 respectively
In 1303 (step 1401).
Restriction inspection portion 108 is with reference to the inspection object-rule obtained and restriction, it is determined that check the bar of object-rule
Whether the preceding paragraph of part portion and restriction and deposits.When and perform step 1403 when depositing.When not and when depositing, checking
The inspection result 1304 of result storage unit 109 logs in " not having object ", the specification outside restriction object
Log in 1306 and check object-rule and terminate to process.The inspection of described compatibility can use SAT solve
Calculate device (step 1402).
Restriction inspection portion 108 judge to check the condition part of object-rule and restriction consequent whether and deposit.When also
Step 1404 is performed when depositing.When not and perform step 1409 when depositing.The inspection of described compatibility can make
Use SAT solver.Such as in the case of proposition rule 302 and restriction 501, condition part and preceding paragraph are also deposited,
But condition part and consequent not and deposit, therefore perform step 1409.Additionally consider " " insurance there was added nothing "
When being " addition ", " subsidy " is " having payment " " proposition rule 304 if, proposition rule 304
In the case of restriction 501, condition part and preceding paragraph are also deposited, condition part and consequent also and deposit, therefore perform step
Rapid 1404(step 1403).
Restriction inspection portion 108 check whether there is occur in restriction consequent in and do not appear in inspection object
Condition item in the condition part of rule.When there being the condition item meeting described condition, checking that result is protected
Deposit login " having object " in the inspection result 1304 in portion 109, perform step 1405.When not meeting institute
When stating the condition item of condition, in checking result 1304, log in " there is no object ", outside restriction object
Specification 1306 logs in and checks object-rule and terminate to process.Such as proposition rule 304 and restriction 501
In the case of, the condition item of " volume is paid in insurance " meets described condition, therefore steps in checking result 1304
Record " having object ", performs step 1405(step 1404).
Restriction inspection portion 108 by that detect in step 1404, occur in restriction consequent in and do not go out
Check now the negative value with the value of the consequent middle appearance of restriction of the condition item in the condition part of object-rule
Logic product combination is carried out at the condition part checking object-rule.Such as proposition rule 304 and the feelings of restriction 501
Under condition, the condition of " " volume is paid in insurance " is not " 0 yen " " is entered at the condition part of proposition rule 301
Row logic product combine, obtain " when " insurance there was added nothing " be " addition " and " volume is paid in insurance " no
When being " 0 yen ", " subsidy " is " having payment " " description (step 1405).
Restriction inspection portion 108 describes the specification 1305 as restriction object using generate in step 1405
Log in result storage unit 109 (step 1406).
Restriction inspection portion 108 by that detect in step 1404, occur in restriction consequent in and do not go out
Check now that the condition item in the condition part of object-rule is with identical with the value of the consequent middle appearance of restriction
Value carries out logic product combination at the condition part checking object-rule.Such as proposition rule 304 and restriction 501
In the case of, by the condition of " " volume is paid in insurance " is " 0 yen " " at the condition part of proposition rule 301
Carry out logic product combination, obtain " when " insurance there was added nothing " is " addition " and " volume is paid in insurance "
When being " 0 yen ", " subsidy " is " having payment " " description (step 1407).
The specification 1306 described outside restriction object that restriction inspection portion 108 will generate in step 1407
Log in result storage unit 109 (step 1408).
Restriction inspection portion 108 check whether there is occurs in and does not appears in inspection object in the preceding paragraph of restriction
Condition item in the condition part of rule.When there being the condition item meeting described condition, checking that result is protected
Deposit login " having object " in the inspection result 1304 in portion 109, perform step 1411.When not meeting institute
When stating the condition item of condition, in checking result 1304, log in " having object ", perform step 1410.
Such as in the case of proposition rule 302 and restriction 501, the condition item of " insurance there was added nothing " meets institute
State condition, therefore in checking result 1304, log in " having object ", perform step 1411(step 1409).
Restriction inspection portion 108 will check that the object-rule specification 1305 as restriction object logs in inspection knot
Really in storage unit 109, end processes (step 1410).
Restriction inspection portion 108 by that detect in step 1409, occur in the preceding paragraph of restriction does not go out
Check now that the condition item in the condition part of object-rule is with identical with the value occurred in the preceding paragraph of restriction
Value carries out logic product combination at the condition part checking object-rule.Such as proposition rule 302 and restriction 501
In the case of, by the condition of " " insurance there was added nothing " is " addition " " in the condition of proposition rule 302
Portion carries out logic product combination, obtains " when " insurance there was added nothing " is " addition " and " volume is paid in insurance "
When being " more than 20,000 yen ", " subsidy " is " do not have pay " " description.(step 1411).
The specification 1305 as restriction object that describes generated in step 1411 is stepped on by restriction inspection portion 108
Record is in result storage unit 109 (step 1412).
Restriction inspection portion 108 by that detect in step 1404, occur in the preceding paragraph of restriction does not go out
Check now the negative value of the value to occur in the preceding paragraph of restriction of the condition item in the condition part of object-rule
Logic product combination is carried out at the condition part checking object-rule.Such as proposition rule 302 and the feelings of restriction 501
Under condition, by the condition of " " insurance there was added nothing " is not " addition " " at the condition part of proposition rule 304
Carry out logic product combination, obtain " when " insurance there was added nothing " is not " addition " and " volume is paid in insurance "
When being " more than 20,000 yen ", " subsidy " is " do not have pay " " description.(step 1413).
The specification 1306 described outside restriction object that restriction inspection portion 108 will generate in step 1413
Log in result storage unit 109 (step 1414).
Figure 15 is the example of the display strategy that strategy storage unit 111 is preserved.
Display strategy guide look 1501 is by strategy description 1502, strategy applicable elements 1503, display packing 1504
And invalidating attribute 1505 is constituted.
It is the strategy relevant with the method extracting display object-rule from inspection result that strategy describes 1502
Describe.Display object-rule determination section 114 according to explanation strategy describe the result of 1502 determine to show right
As rule.Strategy applicable elements 1503 represents the condition for application strategy.The plan of not met applicable elements
Slightly cannot function as showing that object-rule determination section 114 determines that the strategy of display object-rule is employed.Display
Method 1504 represents the display object-rule that determines according to this strategy, display packing on decision table.
Invalidating attribute 1505 represents that this strategy is the currently active or invalid.Even if meeting strategy applicable elements
1503, invalid strategy is also not applied.
The strategy of such as No.1 represents when checking that result storage unit 109 preserves the inspection result that contradiction checks
When 601, it is determined as the specification of the specification 605 of contradiction showing object-rule, decision table is emphasized
Display.
The strategy of No.5 represents when checking that result storage unit 109 preserves the inspection result 601 that contradiction checks
Time, it is determined as the specification of reconcilable specification 606 showing object-rule, decision table (is not emphasized)
Carry out common display.
The strategy of No.6 represents when checking that result storage unit 109 preserves the inspection result 601 that contradiction checks
Time, obtain and have 8 one-tenth above condition values consistent with the specification 605 of the contradiction represented by the strategy of No.1
Proposition rule, carries out common display on decision table.When applying such strategy, display object-rule determines
Portion 114 needs to retrieve proposition rule storage unit 102, obtains the proposition rule meeting described condition.
The strategy of No.7 represents when checking that result storage unit 109 preserves the inspection result 601 that contradiction checks
Time, obtain the proposition rule that the specification 605 of the contradiction represented by strategy with No.1 repeats, at decision table
On carry out common display.When applying such strategy, display object-rule determination section 114 needs to perform repetition
Inspection portion 106, from checking that result storage unit 109 obtains this inspection result.It addition, described rechecking needs
Using the specification 605 of the contradiction represented by the strategy of No.1 as comparison other rule, other is all of
Proposition rule is as checking that object-rule is implemented.
Figure 16 is to show the example showing object-rule that object-rule storage unit 115 is preserved.
Display object-rule guide look 1601 is made up of display object-rule description 1602 and display packing 1603.
Display object-rule 1602 represents that display object-rule determination section 114 obtains according to from strategy storage unit 111
Display strategy guide look 1501, from contradiction check inspections result 601 extraction display object-rule.
Such as, the display object-rule of No.1 is the strategy according to the No.1 in display strategy guide look 1501,
The contradiction of proposition rule 301 and proposition rule 302 is checked the specification 605 of contradiction in result 601 as
Display object-rule carries out the result logged in.Display packing 1603 is based on display packing 1504.
Figure 17 is the flow chart of the step example representing display object-rule decision.
The shown below CPU202 possessed by decision table generation auxiliary/checking device 201 that processes is existed
The program performed in memorizer 203 realizes.Further, this program is described below various dynamic by carrying out
The code made is constituted.
CPU202 is by performing display object-rule determination section 114, from checking that result storage unit 109 obtains
Check result (step 1701).
Display object-rule determination section 114 is with reference to the inspection result obtained, from showing that strategy storage unit is preserved
Show strategy guide look in obtain by optional strategy configuration part 110 be picked as meet strategy applicable elements 1503,
And invalidating attribute 1505 is effective strategy (step 1702).
Display object-rule determination section 114 is with reference to the strategy obtained in step 1702, in order to according to strategy
Determine display object-rule, it is determined whether need the additional inspection different with checking complete inspection.Such as should
During with No.7 tactful in display strategy guide look 1501, need to add and carries out rechecking.When being judged to
Need to add and when checking, perform step 1704.Step 1706(step is performed when being judged to and need not add and check
Rapid 1703).
The kind of display object-rule determination section 114 additional inspection as required performs contradiction inspection portion
105, rechecking portion 106, undefined inspection portion 107 and restriction inspection portion 108(step 1704).
Display object-rule determination section 114 is from checking that result storage unit 109 obtains the additional result (step checked
Rapid 1705).
Display object-rule determination section 114 is according to the strategy obtained in step 1702, from the inspection obtained
Result is extracted display object-rule.Sometimes by strategy with reference to proposition rule storage unit 102, from proposition
The proposition rule that rule storage unit 102 is preserved extracts display object-rule (step 1706).
The display object-rule extracted in step 1706 is logged in by display object-rule determination section 114
In display object-rule storage unit 115 (step 1707).
Figure 18 be decision table part show/correction portion 116 according to display object-rule storage unit 115 preserved
Display object-rule carry out the example of the part decision table shown.
Part decision table 1801 be decision table part show/correction portion 116 according to display object-rule guide look
1601 carry out the part decision table shown.Row 1802 represent according in display object-rule guide look 1601
The display of No.1 scope shown by object-rule.According to display packing 1603, more emphasize than other row
Ground display row 1802.It addition, condition item 1805 is right to checking in step 703 and step 707
The condition item newly added as rule i.e. proposition rule 301, is therefore highlighted.
It addition, in part decision table 1801, condition item " nationality " is don't-care condition, it is integrated into display.
The result relieving this integrated display is represented in part decision table 803.Row 1804 represent and row 1803
Same scope.Or in part decision table 1801, unrelated condition item " nationality " can also be set
For not showing.
Figure 19 be by decision table part show/correction portion 116 accept to revise input and the part that is corrected certainly
Determine the example of table.
Revising complete part decision table 1901 is the result that have modified part decision table 1801, including being repaiied
Positive row 1902.The row 1902 being corrected are the results that have modified row 1802, result project " subsidy "
Value be corrected for " not pay " from " having payment ".
Figure 20 is to revise the example revising complete rule that complete rule storage unit 118 is preserved.
Revise complete rule guide look 2001 and i.e. revised complete rule by display object-rule 2002 and its correction result
Then 2003 are constituted.Revise complete rule generating unit 117 and obtain display from display object-rule storage unit 115
Object-rule guide look 1601, logs in as display object-rule 2002.It addition, revise complete rule
Generating unit 117 obtains the part decision table that the correction corresponding with display object-rule 2002 is complete, is transformed to
The specification of propositional form also logs in as revising complete regular 2003.The patent documentation 2 of earlier application
In show the method for the specification that gauge transformation is propositional form of decision table form.Such as, revise complete
It is to show the No.1 of object-rule guide look 1601 that the display of the No.1 in rule guide look 2001 processes rule
Display object-rule.This display object-rule is shown as the row 1802 of part decision table 1801, and quilt
It is modified to revise the row 1902 of complete part decision table 1901.Therefore, row 1902 are transformed to proposition
The specification of form " when " insurance there was added nothing " be " adding " and " volume is paid in insurance " be " 20,000 days
More than unit " time, " subsidy " is " not paying " ", and log in as revising complete regular 2003.
As set forth above, it is possible to provide a kind of software specifications exploitation auxiliary device 201, it is for representing software rule
The decision table of model provides: the input medium of the specification of propositional form;Check between the specification of described propositional form
Contradiction, repetition, the means of difference;Check the means of the undefined specification of the specification of described propositional form;Inspection
Whether the specification looking into described propositional form meets the means of restriction;Result according to described inspection generates decision table
Means;Accept the means of the correction of decision table;The complete decision table of correction is transformed to the rule of propositional form
The means of model;By the specification of propositional form obtained by described conversion and the specification of original propositional form
Carry out the means replaced.
Claims (14)
1. the software specifications exploitation auxiliary device that a kind assists software specifications to develop, it is characterised in that
Possess: proposition specification receiving portion, its via input unit accept by have multiple condition condition part and
There is the specification of multiple propositional forms of the result portion composition of multiple result;1st storage unit, its preservation is multiple
The specification of propositional form;Normalized checking portion, it judges described many according to the proposition specification of described 1st storage unit
Each specification of the specification of individual propositional form is the most conflicting or repeats, and its result is saved in the 2nd
In storage unit;Decision table generating unit, it generates the decision table represented with sheet form, institute according to the result checked
State sheet form and represented that one of one of the plurality of condition or the plurality of result, each list are shown described by each row
Each specification of the specification of multiple propositional forms,
Described normalized checking portion, arbitrary as the life checking object for obtain from described 1st storage unit
The specification of topic form and it is arbitrarily as the specification of propositional form of comparison other, by checking described inspection
The condition part of the specification of object and the condition part of the specification of described comparison other, and the rule of described inspection object
The compatibility in the result portion of the result portion of model and the specification of described comparison other, it is determined that 2 described propositional forms
Specification whether contradiction or repetition, if contradiction or repetition, then by described as inspection object
The described condition part logic product of the specification of propositional form is combined in the described propositional form as comparison other
The condition occurred in the described condition part of specification or the negative of this condition, using described as the life checking object
The specification of topic form is decomposed into the specification contradiction with the propositional form as comparison other or the proposition of repetition
The specification of form and with the specification of the propositional form as comparison other not contradiction and unduplicated proposition shape
The specification of formula, logs in described 2nd storage unit,
Described decision table generating unit obtains any one of the specification of described propositional form from described 2nd storage unit
Side or both sides, about the specification of propositional form each described, take out the condition part of the specification of this propositional form
With the row that result portion generates described decision table, indication range is represented corresponding in the specification with this propositional form
Row corresponding line hurdle in.
Software specifications the most according to claim 1 exploitation auxiliary device, it is characterised in that
Being also equipped with undefined normalized checking portion, it is for the normalized checking knot of the plurality of propositional form accepted
The most undefined condition,
Described undefined normalized checking portion by combining the specification of the plurality of propositional form by logic product
The gauge transformation of the negative gained of condition part is long-pending and canonical form, generates the life representing the undefined condition of result
The specification of topic form,
Described decision table generating unit obtains part or all of the specification of described propositional form, about each
The specification of described propositional form, takes out condition part and the result portion of the specification of this propositional form, generates described determining
Determine the row of table, indication range is represented in the hurdle of the corresponding line of the row corresponding with the specification of this propositional form.
Software specifications the most according to claim 1 exploitation auxiliary device, it is characterised in that
It is also equipped with:
Restriction receiving portion, it accepts by having the preceding paragraph of one or more conditions and having one or more conditions
Consequent formed, the restriction of restricting relation that is that represent between multiple condition;And
Restriction inspection portion, the specification of the plurality of propositional form of its check whether there is is unsatisfactory for the feelings of described restriction
Condition,
Described restriction inspection portion, when obtaining described restriction from described restriction receiving portion, it is determined whether have arbitrarily
The situation being unsatisfactory for described restriction as the specification of propositional form checking object, if there being ungratified feelings
Condition, then be unsatisfactory for the propositional form of restriction using described be decomposed into as the specification of propositional form checking object
The specification of the propositional form of specification and satisfied restriction.
Software specifications the most according to claim 3 exploitation auxiliary device, it is characterised in that
Described restriction inspection portion, when the specification as the propositional form checking object is unsatisfactory for restriction, passes through
It is combined in described restriction in the described described condition part logic product as the specification of the propositional form checking object
Preceding paragraph or the condition of consequent middle appearance or the negative of this condition, decompose described as the life checking object
The specification of topic form.
5. develop auxiliary device according to the software specifications described in claim 1 or 4, it is characterised in that
Described decision table generating unit is in the decision table generated, described as the proposition checking object using being appended to
Condition in the specification of form is differently shown with other condition.
Software specifications the most according to claim 1 exploitation auxiliary device, it is characterised in that
Being also equipped with strategy storage unit, it preserves and represents that becoming decision table in the specification of described propositional form generates
The condition of the specification of the propositional form of object and the strategy of display packing carried out based on this decision table,
Described decision table generating unit according to described strategy decision as display object propositional form specification and
Its display packing, and the display of described decision table is carried out according to the specification of this decision and display packing.
Software specifications the most according to claim 1 exploitation auxiliary device, it is characterised in that
Described decision table generating unit accepts the correction input of the indication range of described decision table, generates correction complete
Decision table,
Being also equipped with specification replacement section, it takes out from the decision table that described correction is complete and revises complete propositional form
Specification, the specification of the propositional form before the correction on the basis of the decision table before correction and described correction will be become
The specification of complete propositional form is replaced.
Software specifications the most according to claim 1 exploitation auxiliary device, it is characterised in that
Described normalized checking portion use SAT solver judges contradiction or the repetition of the specification of propositional form.
Software specifications the most according to claim 3 exploitation auxiliary device, it is characterised in that
Described restriction inspection portion uses SAT solver to judge whether propositional form meets restriction.
10. assisting the software specifications exploitation householder method in the device that software specifications develops, its feature exists
In,
Described software specifications exploitation auxiliary device possesses the 1st storage unit of the specification preserving multiple propositional forms,
Described software specifications exploitation householder method includes: the 1st step, and it accepts many by having via input unit
The condition part of individual condition and there is the specification of multiple propositional forms of result portion composition of multiple result;2nd
Step, it judges each of specification of the plurality of propositional form according to the proposition specification of described 1st storage unit
Specification is the most conflicting or repeats, and its result is saved in the 2nd storage unit;Third step, its
Generate the decision table represented with sheet form according to the result checked, described sheet form is represented the plurality of by each row
One of one of condition or the plurality of result, each rule of the specification of the plurality of propositional form are shown in each list
Model,
By described second step, arbitrary as checking object for obtain from described 1st storage unit
The specification of propositional form and it is arbitrarily as the specification of propositional form of comparison other, by checking described inspection
Check the condition part of the specification of elephant and the condition part of the specification of described comparison other, and described inspection object
The compatibility in the result portion of the result portion of specification and the specification of described comparison other, it is determined that 2 described proposition shapes
The specification of formula whether contradiction or repetition, if contradiction or repetition, then by described as checking object
The described condition part logic product of specification of propositional form be combined in the described propositional form as comparison other
Specification described condition part in the condition that occurs or the negative of this condition, using described as inspection object
The specification of propositional form is decomposed into the specification contradiction with the propositional form as comparison other or the life of repetition
The specification of topic form and with the specification of the propositional form as comparison other not contradiction and unduplicated proposition
The specification of form, logs in described 2nd storage unit,
By described third step, obtain specification any one of described propositional form from described 2nd storage unit
Side or both sides, about the specification of propositional form each described, take out the condition part of the specification of this propositional form
With the row that result portion generates described decision table, indication range is represented corresponding in the specification with this propositional form
Row corresponding line hurdle in.
11. software specifications according to claim 10 exploitation householder methods, it is characterised in that
Including the 4th step, it is undefined for the normalized checking result of the plurality of propositional form accepted
Condition,
By described 4th step, by logic product being combined the condition of the specification of the plurality of propositional form
The gauge transformation of the negative gained in portion is long-pending and canonical form, generates the proposition shape representing the undefined condition of result
The specification of formula,
By described third step, obtain part or all of specification of described propositional form, about respectively
The specification of individual described propositional form, the condition part and the result portion that take out the specification of this propositional form generate described
The row of decision table, represents the hurdle of corresponding line at the row corresponding with the specification of this propositional form by indication range
In.
12. software specifications according to claim 10 exploitation householder methods, it is characterised in that
Also include:
5th step, it accepts by having the preceding paragraph of one or more conditions and having one or more conditions
Consequent formed, the restriction of restricting relation that is that represent between multiple condition;
6th step, the specification of the plurality of propositional form of its check whether there is is unsatisfactory for the feelings of described restriction
Condition,
By described 6th step, when obtaining described restriction by described 5th step, it is determined whether have and appoint
The specification as the propositional form checking object of meaning is unsatisfactory for the situation of described restriction, if having ungratified
Situation, then be decomposed into the propositional form being unsatisfactory for restriction using the described specification as the propositional form checking object
Specification and meet the specification of propositional form of restriction.
13. software specifications according to claim 10 exploitation householder methods, it is characterised in that
Described software specifications exploitation auxiliary device is also equipped with strategy storage unit, and it preserves and represents in described proposition shape
The specification of formula becomes the condition of the specification of the propositional form of decision table generation object and enters based on this decision table
The strategy of the display packing of row,
By described third step, according to described strategy decision as the specification of the propositional form of display object and
Its display packing, and the display of described decision table is carried out according to the specification of this decision and display packing.
14. software specifications according to claim 10 exploitation householder methods, it is characterised in that
By described third step, accept the correction input of the indication range of described decision table, generate and revised
The decision table finished,
Being also equipped with the 7th step, it takes out from the decision table that described correction is complete and revises complete propositional form
Specification, by complete for the specification and described correction becoming the propositional form before the correction on the basis of the decision table before correction
The specification of the propositional form finished is replaced.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012-181988 | 2012-08-21 | ||
JP2012181988A JP5970292B2 (en) | 2012-08-21 | 2012-08-21 | Software specification development support method and software specification development support device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103631710A CN103631710A (en) | 2014-03-12 |
CN103631710B true CN103631710B (en) | 2016-08-24 |
Family
ID=50212795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310304712.8A Active CN103631710B (en) | 2012-08-21 | 2013-07-19 | Software specifications exploitation householder method and software specifications exploitation auxiliary device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP5970292B2 (en) |
CN (1) | CN103631710B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6247976B2 (en) * | 2014-03-28 | 2017-12-13 | 株式会社日立製作所 | Rule management support device and rule management support method |
JP6268062B2 (en) * | 2014-08-20 | 2018-01-24 | 株式会社日立製作所 | Software specification extraction apparatus, method, and program |
JP6394283B2 (en) * | 2014-10-30 | 2018-09-26 | 富士通株式会社 | Rule table confirmation support method, rule table confirmation support program, and rule table confirmation support device |
WO2016110946A1 (en) * | 2015-01-06 | 2016-07-14 | 株式会社日立製作所 | Rule consistency verification device and rule consistency verification method |
WO2016129073A1 (en) * | 2015-02-12 | 2016-08-18 | 株式会社日立製作所 | Rule management assistance device and rule management assistance method |
JP6948749B2 (en) * | 2017-06-29 | 2021-10-13 | アマゾン テクノロジーズ インコーポレイテッド | Security Policy Analyzer Service and Satisfiability Engine |
JP6904914B2 (en) * | 2018-02-02 | 2021-07-21 | 株式会社日立製作所 | Decision table generator and decision table generation method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1512399A (en) * | 2002-12-27 | 2004-07-14 | 鸿富锦精密工业(深圳)有限公司 | Information report forming system and method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4629183B2 (en) * | 1999-04-07 | 2011-02-09 | 新日鉄ソリューションズ株式会社 | Requirement specification description support apparatus and method, and recording medium |
JP4351186B2 (en) * | 2005-05-19 | 2009-10-28 | 富士通株式会社 | Specification check method, specification check program, recording medium recording the program, and specification check device |
JP4905119B2 (en) * | 2006-12-26 | 2012-03-28 | 富士電機株式会社 | Specification creation support apparatus and method |
JP5179207B2 (en) * | 2008-01-28 | 2013-04-10 | 株式会社日立製作所 | Software development support apparatus, program and method thereof |
US20110041116A1 (en) * | 2009-08-14 | 2011-02-17 | Gm Global Technology Operations, Inc. | Formal analysis driven based evolution of requirements specifications |
-
2012
- 2012-08-21 JP JP2012181988A patent/JP5970292B2/en active Active
-
2013
- 2013-07-19 CN CN201310304712.8A patent/CN103631710B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1512399A (en) * | 2002-12-27 | 2004-07-14 | 鸿富锦精密工业(深圳)有限公司 | Information report forming system and method |
Non-Patent Citations (2)
Title |
---|
《Debug All Your Code:Portable Mixed-Environment Debugging》;Byeongcheol Lee 等;《OOPSLA 2009,October 25-29,2009,Orlando,Orlando,Florida,USA》;20091029;第207-225页 * |
软件验证与确认在MIS开发中的应用;高月 等;《计算机工程》;20110131;第37卷(第1期);第84-89页 * |
Also Published As
Publication number | Publication date |
---|---|
JP5970292B2 (en) | 2016-08-17 |
JP2014041394A (en) | 2014-03-06 |
CN103631710A (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103631710B (en) | Software specifications exploitation householder method and software specifications exploitation auxiliary device | |
US7822795B2 (en) | Apparatus and methods for displaying and determining dependency relationships among subsystems in a computer software system | |
Al-Hakim | Information Quality Management: Theory and Applications: Theory and Applications | |
US11973760B2 (en) | Hierarchical permissions model within a document | |
Turetken et al. | Enforcing compliance on business processes through the use of patterns | |
US20150293894A1 (en) | Integrated, configurable, sensitivity, analytical, temporal, visual electronic plan system | |
US8090677B2 (en) | Method and system for altering the configuration of a data warehouse | |
US20030217023A1 (en) | Method and apparatus for extracting knowledge from software code or other structured data | |
An | Data analysis | |
US8595610B2 (en) | Method, software and computer system for manipulating aggregated data | |
CN107506179B (en) | Interface prototype data generation method and computer equipment | |
Heradio et al. | Augmenting measure sensitivity to detect essential, dispensable and highly incompatible features in mass customization | |
Behrouz et al. | A systematic approach to enterprise architecture using axiomatic design | |
CN109614599A (en) | Report form generation method, device, computer equipment and storage medium | |
US8566780B2 (en) | Object model based mapping | |
Bendell et al. | Software Reliability: State of the Art Report 14: 2 | |
US7318200B2 (en) | Master data framework | |
Smith et al. | SAPHIRE 8 Basics An Introduction to Probabilistic Risk Assessment via the Systems Analysis Program for Hands-On Integrated Reliability Evaluations (SAPHIRE) Software P-201 | |
Oliveira et al. | Using REO on ETL conceptual modelling: a first approach | |
CN102707938A (en) | Table-form software specification manufacturing and supporting method and device | |
Yang et al. | Improving safety-critical systems by visual analysis | |
CN107194278A (en) | A kind of data generaliza-tion method based on Skyline | |
Clairambault | Bounding linear head reduction and visible interaction through skeletons | |
CN112463162A (en) | Code naming recommendation method, system, storage medium and equipment | |
Leblanc et al. | Reliability estimation of hierarchical software systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |