Method, device and equipment of formalized verification system based on AADL and storage medium

Through the formal verification system based on the AADL model, EMF and ATL technologies are used for model conversion and verification, and combined with LTL, CTL and TCTL templates, the problems of low efficiency and high cost of formal verification in software development are solved, and the reliability of the software is improved. sex and safety.

CN118796689APending Publication Date: 2024-10-18SHANGHAI FORMAL TECH INFORMATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410819052.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, the software development method of model-driven development has the problems of low efficiency and high cost of formal verification.

Method used

A formal verification system based on the AADL model is adopted. The AADL model and the meta-model of the timed automaton are constructed through EMF technology. The ATL conversion engine is used to implement model conversion, and the model checking technology is used to verify whether the property specifications are met. Combined with the LTL, CTL and TCTL Formal specification property templates reduce the difficulty of writing formal property specifications.

Benefits of technology

It significantly improves the reliability and security of software, reduces software testing costs, provides available formal verification tools, and increases the writing speed of formal property specifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796689A_ABST
    Figure CN118796689A_ABST
Patent Text Reader

Abstract

The invention provides an AADL-based formalized verification system method, device and equipment and a storage medium, and the method comprises the following steps: S101, constructing an AADL model and a meta-model of a timed automaton based on an EMF technology; s102, based on the corresponding relationship between the AADL model elements and the timed automaton model elements, realizing conversion from the AADL model to the timed automaton model by means of an ATL conversion engine; s103, compiling a formalized property specification based on a model inspection technology, and verifying the timed automaton to further confirm whether the AADL model meets the property specification; the problem that available formal verification tools are lacked in the current model-based software development field is solved, the correctness of the software system developed based on the AADL model can be automatically verified, the reliability and the safety of software products are improved, and the test cost of the software is reduced; in addition, the requirement for speciality of a user can be lowered, and the writing speed of formalized property specifications is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of software engineering, and more specifically, particularly relates to a method, apparatus, device and storage medium for a formal verification system based on AADL. Background Art

[0002] AADL is an architecture description language designed for modeling embedded real-time systems. It supports the development of highly evolvable systems, early analysis of system architecture, and the evolution of architecture models for continuous analysis throughout the life cycle. AADL uses semi-formal modeling concepts to describe the software architecture, hardware architecture, and non-functional properties of embedded real-time systems. The behavior annex is a semantic extension of the AADL standard language, used to describe the specific behavior within a component. The behavior annex describes component behavior through states and state transitions. State transitions can define enabling conditions and execution actions, and can support more complex behavior descriptions through hierarchical and concurrent states. The emergence of the behavior annex enables AADL to better support the verification of functional behaviors and automatic code generation. The AADL behavior model is a further refinement of the component model of the AADL standard language. It is a model based on the AADL behavior annex that describes the detailed behavior within the AADL standard component.

[0003] TimedAutomata is an integrated tool environment specifically designed for modeling, simulating, and verifying real-time systems. It provides a formal way to represent the state of a system and the transitions between states, and allows the temporal relationship between these transitions to be described by using time constraints. This makes timedautomata a powerful tool for analyzing the timing properties of a system, verifying system performance, and reliability.

[0004] Model checking is an automated technique for verifying that a model of a finite state system satisfies a given specification or property. By fully exploring all possible states of the system, model checking ensures that the system behavior follows specific correctness conditions. This is particularly important in the design and verification of complex systems, as manual analysis often struggles to cover all potential behaviors and interactions. A key advantage of model checking is its ability to provide counterexamples, i.e., specific system execution paths that result in a specification not being met, which is very useful for diagnosing and resolving design problems.

[0005] Converting AADL models to timed automata models and using model checking for verification constitutes a powerful approach to ensure the correctness and robustness of system designs. With this approach, potential problems can be discovered and corrected early in the design phase, thus avoiding expensive redesign and maintenance issues later in system development or in actual deployment. This model-based verification approach provides an efficient and systematic way to develop complex systems, ensuring that system designs meet their requirements and expected behaviors. Summary of the invention

[0006] In order to solve the above technical problems, the present invention provides a method, apparatus, device and storage medium for a formal verification system based on an AADL model to solve the technical problems of low efficiency and high cost of formal verification in the model-driven software development method in the prior art.

[0007] The purpose and efficacy of the method, device, equipment and storage medium of the formal verification system based on the AADL model of the present invention are achieved by the following specific technical means:

[0008] A method for a formal verification system based on AADL includes the following steps:

[0009] S101: Construct AADL model and metamodel of timed automata based on EMF technology;

[0010] S102: based on the correspondence between the AADL model elements and the timed automaton model elements, using the ATL conversion engine, converting the AADL model into the timed automaton model;

[0011] S103: Based on the model checking technology, write a formal property specification, and verify the timed automaton to confirm whether the AADL model satisfies the property specification.

[0012] In a preferred embodiment, in S101, based on EMF technology, an AADL model and a metamodel of a timed automaton are constructed, including:

[0013] Based on the definition of key elements in the AADL model and the details of its XML source file, a metamodel is established for the AADL model using Ecore;

[0014] According to the key element definitions in timed automata and the details of its XML source files, Ecore is used to build a metamodel for timed automata.

[0015] In a preferred embodiment, in S102, based on the correspondence between the AADL model elements and the timed automaton model elements, the conversion from the AADL model to the timed automaton model is implemented with the help of the ATL conversion engine, including:

[0016] Convert the entire Package mapping of the AADL model into a timed automaton network, that is, the entire Project in the timed automaton model;

[0017] The behavior attachment mapping of each component in the AADL model is converted into a timed automaton, i.e. a Template in the timed automaton model;

[0018] Each state in the behavior attachment of the AADL model is converted to the location in the corresponding timed automaton template. The initial state is converted to the initial location;

[0019] Each state transition in the behavior attachment of the AADL model is converted to the corresponding position transition in the timed automaton template. The transition condition is converted to the guard or sync channel in the timed automaton; the transition action is converted to the update or sync channel in the timed automaton;

[0020] The variables in the AADL behavior model and the data referenced or accessed in the behavior attachment are mapped and converted into variable declarations in the timed automaton model.

[0021] In a preferred embodiment, in S103, based on the model checking technology, a formal property specification is written, and the timed automaton is verified to confirm whether the AADL model satisfies the property specification, including:

[0022] Define formal property specification templates based on LTL, CTL, and TCTL;

[0023] According to the actual software requirements, fill the properties that need to be met into the property specification template to form a formal property specification;

[0024] According to the defined formal property specifications, the timed automaton is verified, and based on the results returned by the model checker, it is determined whether the AADL model satisfies the property specifications, that is, whether it meets the software requirements.

[0025] A device for a formal verification system based on AADL, comprising a model management module, a property management module, a mapping configuration module and a model verification module;

[0026] The model management module is used to manage the input AADL model; after the AADL model is input, the AADL model is converted into a timed automaton model according to the method of the AADL-based formal verification system;

[0027] The property management module is used to manage the input formal property specifications, provide a formal property specification template and record the input formal property specifications according to the above-mentioned method of the formal verification system based on AADL;

[0028] The mapping configuration module is used to map variables on the AADL model to atomic propositions in the formal property specification;

[0029] The model verification module is used to call the model solver according to the mapping between AADL model variables and formalized property specification atomic propositions, verify the timed automaton model obtained by model conversion, and return the verification result.

[0030] A device for a formal verification system based on AADL comprises a processor and a memory storing program instructions, wherein the processor is configured to execute the method for a formal verification system based on AADL as claimed in any one of claims 1 to 4 when executing the program instructions.

[0031] A storage medium of a formal verification system based on AADL stores computer-readable instructions, and the computer-readable instructions are executed by a memory to implement the method of the formal verification system based on AADL.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] 1. Both AADL model and timed automaton are modeled as EMF metamodels; then, the mapping relationship between model elements of AADL model and components of timed automaton is defined, and the conversion between the two is realized based on EMF metamodel and ATL conversion engine; then, a formal specification property template based on LTL, CTL and TCTL is provided, allowing users to convert software requirements into formal property specifications based on this template; finally, according to the formal property specifications, the method calls the model checker to verify whether the timed automaton satisfies the specifications, and then explains whether the AADL model representing the software structure satisfies the formal specifications, that is, the software requirements; this method fills the problem of lack of available formal verification tools in the field of model-based software development, significantly improves the reliability and security of software, and reduces the testing cost of software.

[0034] 2. Formal specification property templates based on LTL, CTL and TCTL. This template-based approach to writing formal properties can reduce the requirements for user expertise and significantly increase the speed of writing formal property specifications. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flowchart of the steps of a method for a formal verification system based on AADL of the present invention.

[0036] Figure 2 It is a schematic diagram of a metamodel modeling method of a formal verification system based on AADL of the present invention;

[0037] Figure 3 It is a schematic diagram of formal property specification of a method of a formal verification system based on AADL of the present invention;

[0038] Figure 4 is a schematic diagram of a model checking method of a formal verification system based on AADL of the present invention;

[0039] Figure 5 It is a schematic diagram of the structure of a device of a formal verification system based on AADL of the present invention;

[0040] Figure 6 It is a schematic diagram of the structure of a device of a formal verification system based on AADL of the present invention.

[0041] In the figure, the corresponding relationship between the component names and the figure numbers is as follows:

[0042] 1001, model management module; 1002, property management module; 1003, mapping configuration module; 1004, model verification module; 1100, processor; 1101, memory; 1102, bus; 1103, communication interface. DETAILED DESCRIPTION

[0043] In order to further understand the present invention, preferred embodiments of the present invention are described below in conjunction with the accompanying drawings and examples. However, it should be understood that these descriptions are only for further illustrating the features and advantages of the present invention, rather than limiting the claims of the present invention.

[0044] Example:

[0045] Please refer to Figures 1 to 4 As shown, the present invention provides a method for a formal verification system based on AADL, comprising the following steps:

[0046] S101: Based on EMF technology, build the AADL model and the metamodel of timed automata, including:

[0047] According to the definition of key elements in the AADL model and its XML source file details, the AADL model is established as a metamodel using Ecore; according to the definition of key elements in the timed automaton and its XML source file details, the timed automaton is established as a metamodel using Ecore;

[0048] Specifically, the AADL behavior model is mainly composed of the behavior annex, which is used to describe the specific behavior within the component. The main components of the AADL behavior annex include variables, states, and transitions. (Variables) represents the category variable declaration part, (states) is the state declaration of the internal behavior change of the component, and the state type can be the initial state, the complete state, the execution state, or the final state. (Transitions) is a description of the migration process between states. (Transitions) define the behavioral conditions (condition) and the actions (action) required for the state migration to occur, so that the specific action behaviors and constraints can be characterized through the description of the state migration process;

[0049] The components of a timed automaton are divided into states used to represent various possible configurations of the system, transitions used to represent the connections between states, guard conditions that describe the conditions under which transitions occur, clocks used to track time changes, synchronization channels used to represent automaton synchronization, and variables used to store and transmit information used in the execution of the automaton.

[0050] Based on the constituent elements of AADL model and timed automaton and their original XML description, each constituent element is established as a model, which is finally combined to form the metamodel of AADL model and timed automaton model.

[0051] S102: Based on the correspondence between the AADL model elements and the timed automaton model elements, using the ATL conversion engine, the AADL model is converted into the timed automaton model, including:

[0052] The entire Package of the AADL model is mapped to a timed automaton network, that is, the entire Project in the timed automaton model. The behavior attachment of each component in the AADL model is mapped to a timed automaton, that is, a Template in the timed automaton model. Each state in the behavior attachment of the AADL model is mapped to the location in the corresponding timed automaton template. The initial state is converted to the initial location. Each state transition in the behavior attachment of the AADL model is mapped to the location transition in the corresponding timed automaton template. The transition condition (condition) is mapped to the guard or synchronization channel (sync channel) in the timed automaton; the transition action (action) is mapped to the update or synchronization channel (sync channel) in the timed automaton; the variables in the AADL behavior model and the data referenced or accessed in the behavior attachment are mapped to the variable declaration Declaration in the timed automaton model.

[0053] Specifically, according to the syntax definition of AADL, the main function of Package is to provide a method to organize component types, component implementations, feature group types and accessory libraries into related declaration sets by introducing separate namespaces; the entire Package in AADL is converted into a project in time automatically.

[0054] The AADL behavior model is used to describe the detailed behavior patterns within a component, and interact with flows (including data flows and event flows) formed by other components through port connections, etc. The behavior attachments within each component in the AADL model are relatively independent, and are mapped to the templates in the timed automaton model. The behavior models of multiple component interactions are mapped to become timed automaton networks, avoiding the complicated process of constructing the product of timed automata. The initial type state in the behavior attachment is converted to the initialLocation in the corresponding timed automaton template; each transition in the behavior attachment is converted to the transition attribute in the corresponding timed automaton template.

[0055] In the standard semantics of AADL, the behavior annex mainly defines three basic data types: integer, float, and Boolean. In addition, users can also define the data types they need in the AADL standard language as needed, such as structured data types that contain multiple basic data types. The general value variable types defined in the timed automaton model include integer, Boolean, array, and structured data. When establishing a mapping, the integer and Boolean types in the behavior model can be directly converted to the integer and Boolean types in the variable declaration under the timed automaton model.

[0056] The state mainly provides a representation of the state node and an initialization state associated with the component trigger; each behavior state (BehaviorState) defined in the behavior attachment is mapped to the Location in the timed automaton model; the initial state is the initial state of component scheduling and execution, corresponding to the initial position of the timed automaton model; the urgent position in the timed automaton model indicates that no time has passed at this position in the system, and there is no state category with corresponding functions in the behavior attachment. Therefore, the state needs special marking (such as the state name starts with "U_") to map to the urgent position in the timed automaton model.

[0057] The timed automaton model uses positions to represent states, and the transition of states is equivalent to the transition of positions. Therefore, the transition of states in the (transitions) block in the behavior model will be mapped to the position transition in the timed automaton model.

[0058] The enabling condition of the state transition process in the behavior model indicates the prerequisite for the transition to occur. There are three main types: On condition, When condition, and port event trigger condition (such as on dispatch). Among them, the "When condition" indicates that the transition occurs when the guard condition is true; the "On condition" is the result of the thread scheduling state, and the return value is true or false. Both the On condition and the When condition indicate that the transition occurs when the condition is a Boolean true value, which is consistent with the enabling condition (guard) semantics of position transition in the timed automaton model, so it is mapped to the ordinary guard condition in the timed automaton model. The port event indicates that when a port of a component receives an input event, the state transition occurs, and the component that outputs the event interacts with the behavior. Therefore, the port event in the state transition enabling condition of the behavior model is mapped to the synchronization channel (sync channel) of the corresponding timed automaton template interaction in the timed automaton model. If the port is a data port, data transmission will be performed when the port is received, so it also needs to be mapped to the update operation (Update) in the timed automaton model.

[0059] The execution actions (action) of the state transition process in the behavioral model are divided into three categories: general actions, port actions and delayed actions. Among them, general actions include variable assignment, data reference and subroutine call. This paper maps general actions to the update (update) of position migration in the timed automaton model. The port action described in the execution action (action) indicates that the component outputs events or variable values ​​through the port, and is similarly mapped to update operations (update) and synchronization channels (syncchannel). Delay actions include delay and computation, and the formats are delay (min..max) and computation (min..max) respectively, indicating that the action delay time is between min and max. Clock≥min is used as one of the enabling conditions of the previous action of the timed automaton, and clock≤max is used as the clock constraint of the original position of the migration, where clock refers to the template local clock variable.

[0060] S103: Based on model checking technology, write formal property specifications and verify the timed automaton to confirm whether the AADL model satisfies the property specifications, including:

[0061] Define formal property specification templates based on LTL, CTL, and TCTL; fill the properties that need to be met into the property specification template according to actual software requirements to form a formal property specification; verify the timed automaton model based on the defined formal property specification, and determine whether the AADL model satisfies the property specification, that is, whether it meets the software requirements, based on the results returned by the model checker.

[0062] Specifically, the commonly used formal property specification templates are divided into qualitative specification templates and real-time specification templates. Qualitative specification templates are mainly divided into two categories: occurrence templates and sequence templates. Occurrence templates describe the materialization of a given event (or state) during system execution (e.g., the absence or presence of an event). Sequence templates capture the relative sequence (e.g., response or priority) of multiple events that may occur during system execution. Each qualitative template includes a scope and a "mapping to logic formula".

[0063] In addition to the qualitative specification templates, in order to support “the formulation of constraints related to time boundaries”, we chose to add real-time operations to the qualitative specification templates, resulting in a unified template catalog, completing the creation of a comprehensive and coherent attribute specification system.

[0064] Templates usually have fixed sentences and follow a scope. The five common scopes are: globally, before (R), after (Q), between (Q) and (R), and after (Q) until (R). They represent the scope of the template, where Q and R are state formulas representing the absence or presence of an event.

[0065] Users can quickly establish formal property specifications by directly replacing atomic propositions in the template with actual software requirements. After the specification is established, the timed automaton model and formal property specifications converted from the AADL model are input into the model checker. Based on the results returned by the model checker, it is determined whether the AADL model satisfies the property specifications, that is, whether it meets the software requirements.

[0066] Please refer to Figure 5 As shown, the present invention provides a device for a formal verification system based on AADL, which is used to implement the method for the formal verification system based on AADL;

[0067] It includes a model management module 1001, a property management module 1002, a mapping configuration module 1003 and a model verification module 1004;

[0068] The model management module 1001 is used to manage the input AADL model; after the AADL model is input, the AADL model is converted into a timed automaton model according to the defined AADL model and the meta-model of the timed automaton model;

[0069] The property management module 1002 is used to manage the input formal property specifications, provide formal property specification templates and record the input formal property specifications;

[0070] A mapping configuration module 1003 is used to map variables on the AADL model to atomic propositions in the formal property specification;

[0071] The model verification module 1004 is used to call the model solver according to the mapping between the AADL model variables and the formalized property specification atomic propositions, verify the timed automaton model obtained by the model conversion, and return the verification result.

[0072] It should be noted that the device of the formal verification system based on AADL provided in the above embodiment only uses the division of the above functional modules as an example when executing the formal verification method based on AADL. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device of the formal verification system based on AADL provided in the above embodiment and the method embodiment of the formal verification system based on AADL belong to the same concept. The implementation process is detailed in the method embodiment, which will not be repeated here.

[0073] A device for a formal verification system based on AADL is provided to execute the method for the formal verification system based on AADL.

[0074] Among them, see Figure 6 As shown, it includes: a processor 1100, a memory 1101, a bus 1102 and a communication interface 1103; the processor 1100, the communication interface 1103 and the memory 1101 are all connected through the bus 1102; the memory 1101 stores a computer program that can be run on the processor 1100, and the processor 1100 executes the above-mentioned method of the formal verification system based on AADL when running the computer program.

[0075] The memory 1101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 1103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0076] The bus 1102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 1101 is used to store programs, and the processor 1100 executes the program after receiving the execution instruction. The method of the formal verification system based on the AADL model disclosed in any implementation of the above-mentioned embodiment of the present application may be applied to the processor 1100, or implemented by the processor 1100.

[0077] The processor 1100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1100 or the instruction in the form of software. The above processor 1100 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The method steps of the verification system combined with the semantics of the SCADE model can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1101, and the processor 1100 reads the information in the memory 1101 and completes the steps of the above method in combination with its hardware.

[0078] A device for a formal verification system based on AADL and a method for a formal verification system based on AADL are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by them.

[0079] A storage medium of a formal verification system based on AADL stores a computer program (i.e., a program product). When the computer program is executed by a processor (1100), the method of the formal verification system based on the AADL model provided above is executed.

[0080] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.

[0081] A storage medium of a formal verification system based on AADL and a method of a formal verification system based on an AADL model are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.

[0082] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0083] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the attached claims.

Claims

1. A method for formal verification system based on AADL, characterized by: The following steps are included: S101: Construct AADL model and metamodel of timed automata based on EMF technology; S102: based on the correspondence between the AADL model elements and the timed automaton model elements, using the ATL conversion engine, converting the AADL model into the timed automaton model; S103: Based on the model checking technology, write a formal property specification, and verify the timed automaton to confirm whether the AADL model satisfies the property specification.

2. The method of the AADL-based formal verification system according to claim 1, characterized in that: In S101, based on EMF technology, the AADL model and the metamodel of timed automata are constructed, including: Based on the definition of key elements in the AADL model and the details of its XML source file, a metamodel is established for the AADL model using Ecore; According to the key element definitions in timed automata and the details of its XML source files, Ecore is used to build a metamodel for timed automata.

3. The method of the AADL-based formal verification system according to claim 1, characterized in that: In S102, based on the correspondence between the AADL model elements and the timed automaton model elements, the ATL conversion engine is used to implement the conversion from the AADL model to the timed automaton model, including: Convert the entire Package mapping of the AADL model into a timed automaton network, that is, the entire Project in the timed automaton model; The behavior attachment mapping of each component in the AADL model is converted into a timed automaton, i.e. a Template in the timed automaton model; Each state in the behavior attachment of the AADL model is converted to the location in the corresponding timed automaton template. The initial state is converted to the initial location; Each state transition in the behavior attachment of the AADL model is converted to the corresponding position transition in the timed automaton template. The transition condition is converted to the guard or sync channel in the timed automaton; the transition action is converted to the update or sync channel in the timed automaton; The variables in the AADL behavior model and the data referenced or accessed in the behavior attachment are mapped and converted into variable declarations in the timed automaton model.

4. The method of the AADL-based formal verification system according to claim 1, characterized in that: In S103, based on the model checking technology, a formal property specification is written, and the timed automaton is verified to confirm whether the AADL model satisfies the property specification, including: Define formal property specification templates based on LTL, CTL, and TCTL; According to the actual software requirements, fill the properties that need to be met into the property specification template to form a formal property specification; According to the defined formal property specifications, the timed automaton is verified, and based on the results returned by the model checker, it is determined whether the AADL model satisfies the property specifications, that is, whether it meets the software requirements.

5. A device for a formal verification system based on AADL, characterized in that: It includes a model management module (1001), a property management module (1002), a mapping configuration module (1003) and a model verification module (1004); The model management module (1001) is used to manage the input AADL model; after the AADL model is input, the AADL model is converted into a timed automaton model according to the method of the formal verification system based on AADL according to claims 1 to 3; The property management module (1002) is used to manage the input formal property specifications. According to the method of the formal verification system based on AADL in claim 1 and claim 4, a formal property specification template is provided and the input formal property specification is recorded; The mapping configuration module (1003) is used to map variables on the AADL model to atomic propositions in the formalized property specification; The model verification module (1004) is used to call the model solver according to the mapping between the AADL model variables and the formalized property specification atomic propositions, verify the timed automaton model obtained by the model conversion, and return the verification result.

6. A device for a formal verification system based on AADL, characterized in that: The invention comprises a processor (1100) and a memory (1101) storing program instructions, wherein the processor (1100) is configured to execute the method of the AADL-based formal verification system according to any one of claims 1 to 4 when executing the program instructions.

7. A storage medium for a formal verification system based on AADL, characterized in that: Computer-readable instructions are stored thereon, and the computer-readable instructions are executed by the memory (1101) to implement the method of the AADL-based formal verification system according to any one of claims 1 to 4.

Citation Information

Cited By

  • Metadata-driven AADL text generation method

    CN120029594A