Event process instance identification method in WSN program, medium and equipment
An identification method and event technology, applied in software testing/debugging, instrumentation, electrical digital data processing, etc., can solve problems such as delayed decision-making, inability to determine instance points in real time, complex dynamic analysis, etc., and achieve strong real-time effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0069] This embodiment discloses an identification method of an event process instance (abbreviated as an instance) in a WSN program, wherein the WSN program refers to a TinyOS program, that is, a program programmed and run in the TinyOS operating system; events in the TinyOS program are divided into interrupt events And non-interrupt events, the lowest hardware interrupt event triggers the execution of the interrupt processing module (InterruptHandler), and the interrupt processing module can trigger high-level non-interrupt events during execution. The following definitions are made for non-interruption events and interruption events:
[0070] Suppose I is an interrupt event, and IH is the event processing module of I, then there are three definitions as follows.
[0071] Definition 1-1: The event procedure (Event-Procedure) of IH is composed of the static codes of the following three nesC modules: IH, the module called by IH, and the task of IH. Among them, (1) the module ...
Embodiment 2
[0135] This embodiment discloses a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by the processor, the processor executes the method for identifying event process instances in the WSN program described in Embodiment 1 ,as follows:
[0136] (1) When identifying the event process instance for the interrupt event, the specific process of the identification method of the event process instance (referred to as instance) in a WSN program disclosed in this embodiment is as follows:
[0137] For the event process instance of the interrupt event in the WSN program, the following key execution points are defined: IHEntry point, IHExit point, RunTaskEntry point, RunTaskExit point and PostOk point; where the IHEntry point represents the entry point of the interrupt processing, and the IHExit point represents the The exit of the interrupt processing, the RunTaskEntry point represents the entry of the function taskName$runTas...
Embodiment 3
[0171] This embodiment discloses a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the computer program is implemented when the processor executes the computer program. The identification method of the event process instance in the WSN program described in embodiment 1 is as follows:
[0172] This embodiment discloses a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by the processor, the processor executes the method for identifying event process instances in the WSN program described in Embodiment 1 ,as follows:
[0173] (1) When identifying the event process instance for the interrupt event, the specific process of the identification method of the event process instance (referred to as instance) in a WSN program disclosed in this embodiment is as follows:
[0174] For the event process instance of the interrupt event in the WS...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com