Code automatic generation method and device based on IoT service interface model
Fuente:
Wipo "IOT"
The invention discloses an automatic code generation method and device based on an IoT service interface model, and the method comprises the steps: building the IoT service interface model in advance, and compiling an IoT service interface description file according to the IoT service interface model through employing a business event and an event transmission protocol which need to be transmitted by the IoT service; checking whether the IoT service interface description file grammar is correct or not through the IoT service interface grammar analysis tree; analyzing the IoT service interface description file through a grammar analyzer of the IoT service interface model, traversing data information of the IoT service and generating a code file of a specified project; and storing the generated code file of the specified project in a namespace specified by the IoT service interface model. The method plays an important role in the development process of integrating the IoT service in the business process system, the problems of errors and inconsistency easily occurring when the configuration relation is manually processed can be reduced, and the stability and reliability of the system are improved.
Al elegir "Aceptar todas las cookies", acepta el uso de cookies para ayudarnos a brindarle una mejor experiencia de usuario y analizar el uso del sitio web. Al hacer clic en "Ajuste sus preferencias" puede elegir qué cookies permitir. Solo las cookies esenciales son necesarias para el correcto funcionamiento de nuestro sitio web y no pueden ser rechazadas
Configuración de cookies
Nuestro sitio web almacena cuatro tipos de cookies. En cualquier momento puede elegir qué cookies acepta y cuáles rechaza. Puede obtener más información sobre qué son las cookies y qué tipos de cookies almacenamos en nuestra Política de cookies.
Son necesarios por razones técnicas. Sin ellos, es posible que este sitio web no funcione correctamente.
Son necesarios para una funcionalidad específica en el sitio web. Sin ellos, algunas funciones pueden estar deshabilitadas.
Nos permite analizar el uso del sitio web y mejorar la experiencia del visitante
Permítanos personalizar su experiencia y enviarle contenido y ofertas relevantes, en este sitio web y en otros sitios web