Model-to-code converting method facing wireless sensor network

A wireless sensor network and model technology, applied in the direction of program control devices, etc., can solve the problem of inflexible transformation of model-to-code transformation methods, so as to improve application development efficiency and product quality, achieve synchronization, and improve application development efficiency. Effect

Inactive Publication Date: 2012-09-19
NANJING UNIV OF POSTS & TELECOMM
View PDF1 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009]Technical problem: the purpose of this invention is to propose a wireless sensor network-oriented conversion method from a unified modeling language model to a code, which solves the current model Problems such as the inflexibility of code conversion methods and the complexity of conversion in sensor network applications improve the efficiency of application development

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
  • Model-to-code converting method facing wireless sensor network
  • Model-to-code converting method facing wireless sensor network
  • Model-to-code converting method facing wireless sensor network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] 1. Create a unified modeling language model

[0041] To create a unified modeling language model, start with the logical data model of the entire system, then describe all basic data entities and their relationships in the system through the global information requirements view, and finally construct the entire model step by step. In the modeling process of the system object described in the method, the nodes in the wireless sensor network are considered to be static.

[0042] (1) Create a use case diagram of the system

[0043] The use case diagram shows the use cases and roles in the system and their interrelationships. A role is an object (person or thing) that interacts with the built system. A use case is a high-level functional module provided by the system. It demonstrates how people use the case. First, create the main A use case block diagram that shows an overall view of the system.

[0044] (2) Create a logical view of the system

[0045] First creat...

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 relates to a model-to-code converting method facing a wireless sensor network; a used unified modeling language-to-code converting method is a converting method based a visitor; a specific mapping rule of a model and a target code is defined according to the relationship between the model and the code; then the visitor is set to access the model; the mapping rule is embedded into the visitor; the visitor reads the model according to the mapping rule while converting a target language frame model according to the mapping rule when accessing the model to obtain a target language program code, and finish conversion from the model to the target language, so that the problem of conversion from the model to the code in the wireless sensor network can be effectively solved, and the application development efficiency is greatly increased.

Description

technical field [0001] The invention relates to a model-to-code conversion method for wireless sensor networks, mainly to establish mapping rules from models to codes, and to use visitors to visit models to realize conversion, which belongs to wireless sensor networks, software engineering, model-driven and Code generation crosses technical application domains. Background technique [0002] The wireless sensor network is composed of sensor nodes deployed in the monitoring area. It is a multi-hop self-organizing network system formed through wireless communication. The purpose is to cooperatively perceive, collect, and process object information in the network coverage area, and send it to observer. The sensor node is composed of four parts: sensor module, processor module, wireless communication module and energy supply module. The sensor module is responsible for the collection and data conversion of information in the monitoring area; the processor module is responsible...

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): G06F9/44
Inventor 陈志岳书珍岳文静杨萌张亚萍孙万兴
Owner NANJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products