Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2020-01-21
JINAN UNIVERSITY
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (2) In order to achieve offline analysis, some methods do not mainly focus on efficiency and real-time issues
[0008] (3) All instance points cannot be determined in real time, so the decision of some instance points has to be postponed
This kind of marking and rollback makes the information collection logic of dynamic analysis tightly coupled with the instance identification logic, which makes dynamic analysis too complicated and error-prone

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Event process instance identification method in WSN program, medium and equipment
  • Event process instance identification method in WSN program, medium and equipment
  • Event process instance identification method in WSN program, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an event process instance (instance for short) identification method in a WSN program, a medium and equipment. The method aims at examples of interrupt events and non-interruptevents. Firstly, key execution points in an instance are defined, and a data structure is set; according to the embodiment of the invention, when each instruction is executed in the running process of the WSN program, the instance information can be updated according to the key execution point to which the instruction belongs, so that the instance information corresponding to the currently executed instruction is obtained in real time, the instance to which the current instruction belongs is judged, and higher real-time performance is achieved. In the instance recognition process, only several proper key execution points need to be used, no extra system operation hypothesis needs to be made, and therefore universality can be effectively improved. Besides, instance identification is realized by only needing several data structures to dynamically store a small amount of execution point information and track switching of the instances in real time without utilizing a list to store and search a large amount of information, so that the space-time overhead can be obviously reduced by the method disclosed by the invention.

Description

technical field [0001] The present invention relates to the technical field of software testing, in particular to a method, medium and equipment for identifying event process instances (instances for short) in WSN programs. Background technique [0002] The Internet of Things is a major change in the field of information technology. Wireless Sensor Networks (WSN), referred to as WSN, is an important means of sensing things and transmitting data in the Internet of Things. A large number of sensors deployed in the monitored area form a WSN, and these sensor nodes form a multi-hop self-organizing network through wireless communication. These nodes cooperatively perceive, collect and process the monitored object or environmental information, and send it to the monitor through WSN. [0003] As an important part of the Internet of Things (IoT) ecosystem, WSN is increasingly used in various application fields. It can help humans enhance perception, improve health, protect the env...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3684G06F11/3636
Inventor 孙玉霞任羽
Owner JINAN UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products