CN113900633A - Low-code development method and device for scene of Internet of things, storage medium and development platform - Google Patents
Low-code development method and device for scene of Internet of things, storage medium and development platform Download PDFInfo
- Publication number
- CN113900633A CN113900633A CN202010642703.XA CN202010642703A CN113900633A CN 113900633 A CN113900633 A CN 113900633A CN 202010642703 A CN202010642703 A CN 202010642703A CN 113900633 A CN113900633 A CN 113900633A
- Authority
- CN
- China
- Prior art keywords
- internet
- target
- things
- development
- things equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000011161 development Methods 0.000 title claims abstract description 112
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000004806 packaging method and process Methods 0.000 claims abstract description 52
- 238000005538 encapsulation Methods 0.000 claims abstract description 48
- 238000004458 analytical method Methods 0.000 claims abstract description 25
- 238000007726 management method Methods 0.000 claims description 25
- 238000004891 communication Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012800 visualization Methods 0.000 claims description 10
- 238000013500 data storage Methods 0.000 claims description 6
- 230000003993 interaction Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000003032 molecular docking Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
A low-code development method and device, a storage medium and a development platform of an Internet of things scene are provided, and the method comprises the following steps: acquiring a development request and analyzing the development request; determining target Internet of things equipment according to the analysis result of the development request, and acquiring description information of the target Internet of things equipment, wherein the target Internet of things equipment is selected from a set formed by a plurality of Internet of things equipment; acquiring a target packaging template according to the analysis result of the development request, wherein the target packaging template is selected from a set formed by a plurality of packaging templates, and each packaging template is a universal module obtained by packaging a preset operation; carrying out personalized configuration on the target packaging template according to the acquired description information; and generating a service code according to the target encapsulation template after the personalized configuration. By the method, the workload of service application development in the scene of the Internet of things can be reduced.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a low-code development method and device, a storage medium and a development platform for scenes of the Internet of things.
Background
The technology for realizing the bottom layer of the Internet of things is relatively complex, some Internet of things platforms mainly realize the functions of software and hardware equipment access, data storage, communication and the like of the bottom layer of the Internet of things on the market, and the access technology of the Internet of things on the bottom layer can be shielded from service developers.
The service developer performs data docking with the platform of the Internet of things and then realizes upper-layer application through personalized development logic. However, because the platform of the internet of things is realized on a heavier basis, the openness and flexibility of the service application support are low, and the development workload is large.
Disclosure of Invention
The invention solves the technical problem of how to reduce the workload of service application development in the scene of the Internet of things.
In order to solve the technical problem, an embodiment of the present invention provides a low-code development method for an internet of things scenario, where the method includes: acquiring a development request and analyzing the development request; determining target Internet of things equipment according to the analysis result of the development request, and acquiring description information of the target Internet of things equipment, wherein the target Internet of things equipment is selected from a set formed by a plurality of Internet of things equipment; acquiring a target packaging template according to the analysis result of the development request, wherein the target packaging template is selected from a set formed by a plurality of packaging templates, and each packaging template is a universal module obtained by packaging a preset operation; carrying out personalized configuration on the target packaging template according to the acquired description information; and generating a service code according to the target encapsulation template after the personalized configuration.
Optionally, the obtaining of the description information of the target internet of things device includes: and determining a sensor corresponding to the target Internet of things equipment, and acquiring the description information of the target Internet of things equipment through the determined sensor.
Optionally, before the obtaining of the description information of the target internet of things device through the determined sensor, the method further includes: and setting a corresponding relation between the Internet of things equipment and the sensor, wherein the sensor is used for collecting all or part of description information of the corresponding Internet of things equipment.
Optionally, the method further includes: performing at least one or more of the following management on the Internet of things equipment: device access, device management, data communication, and data storage.
Optionally, before obtaining the target encapsulation template according to the analysis result of the development request, the method further includes: establishing basic public service based on one or more of communication characteristics, data characteristics of description information, equipment data characteristics, application layer interaction characteristics and business logic characteristics of a plurality of Internet of things equipment; and generating a plurality of packaging templates according to the basic public service.
Optionally, the encapsulation template is at least used to perform one or more of the following: calling a target interface, calling a software development kit, calling a packaged code module, and calling a visualization tool.
Optionally, the generated service code includes an expansion area, and after the service code is generated, the method further includes: and receiving an expansion instruction, and adjusting the target packaging template according to the expansion instruction.
The embodiment of the invention also provides a low-code development device for the scene of the internet of things, which comprises the following components: the development request acquisition module is used for acquiring and analyzing a development request; the equipment determining module is used for determining target Internet of things equipment according to the analysis result of the development request and acquiring description information of the target Internet of things equipment, wherein the target Internet of things equipment is selected from a set formed by a plurality of Internet of things equipment; a target encapsulation template obtaining module, configured to obtain a target encapsulation template according to an analysis result of the development request, where the target encapsulation template is selected from a set formed by multiple encapsulation templates, and each encapsulation template is a general module obtained by encapsulating a preset operation; the personalized configuration module is used for carrying out personalized configuration on the target packaging template according to the acquired description information; and the code generation module is used for generating a service code according to the target encapsulation template after the personalized configuration.
An embodiment of the present invention further provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the data transmission method.
The embodiment of the invention also provides a development platform, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the data transmission method when executing the computer program.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a low-code development method for scenes of the Internet of things, which comprises the following steps: acquiring a development request and analyzing the development request; determining target Internet of things equipment according to the analysis result of the development request, and acquiring description information of the target Internet of things equipment, wherein the target Internet of things equipment is selected from a set formed by a plurality of Internet of things equipment; acquiring a target packaging template according to the analysis result of the development request, wherein the target packaging template is selected from a set formed by a plurality of packaging templates, and each packaging template is a universal module obtained by packaging a preset operation; carrying out personalized configuration on the target packaging template according to the acquired description information; and generating a service code according to the target encapsulation template after the personalized configuration. Compared with the prior art, the low-code rapid development method for the scene of the Internet of things can provide basic services and tools, and the development workload of enterprises for developing the application of the Internet of things is reduced, so that the development cost is reduced.
Furthermore, the method for acquiring the description information of each piece of internet-of-things equipment in the internet of things system can be used for reporting the description information of each piece of equipment through a network, and can also be used for acquiring the description information of each piece of internet-of-things equipment through a sensor connected with each piece of internet-of-things equipment, so that the description information of the internet-of-things equipment is comprehensively collected.
Furthermore, device layer services are established for a plurality of bottom layer devices accessed to the Internet of things system, and the management platform can carry out various kinds of management on the device layers so as to ensure the orderly operation of all the devices in the device layers.
Further, the internet of things system further comprises a basic public service, the basic public service is used for connecting the equipment layer and the upper layer application, and the rules or the processes are managed on the equipment layer based on the management logic of the upper layer application.
Furthermore, after the service code is generated, the generated encapsulation template can be expanded and improved according to diversification of development requirements, and new logic can be flexibly inserted in the development process, so that the development platform is stronger in openness and expansibility.
Drawings
Fig. 1 is a schematic flowchart of a low-code development method for an internet of things scenario according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a code development platform of the internet of things according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a low-code development device of an internet of things scenario according to an embodiment of the present invention.
Detailed Description
As background art shows, in the prior art, the openness and flexibility of the service application support in the scene of the internet of things are low, and the development workload is large.
In order to solve the problem, an embodiment of the present invention provides a low-code development method for an internet of things scenario, where the method includes: acquiring a development request and analyzing the development request; determining target Internet of things equipment according to the analysis result of the development request, and acquiring description information of the target Internet of things equipment, wherein the target Internet of things equipment is selected from a set formed by a plurality of Internet of things equipment; acquiring a target packaging template according to the analysis result of the development request, wherein the target packaging template is selected from a set formed by a plurality of packaging templates, and each packaging template is a universal module obtained by packaging a preset operation; carrying out personalized configuration on the target packaging template according to the acquired description information; and generating a service code according to the target encapsulation template after the personalized configuration.
Through the scheme, the workload of service application development in the scene of the Internet of things can be effectively reduced.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, an embodiment of the present invention provides a low-code development method for an internet of things scenario, where the method includes:
step S101, acquiring a development request and analyzing the development request;
the scene of the internet of things is based on the scene that a plurality of internet of things devices accessed to a communication network are used as bottom layer device supports, and codes of the scene are developed to manage all or part of the plurality of internet of things devices and carry out code development according to service requirements of different users.
The development request is a request for generating a service code, and may be a request transmitted by a developer via a terminal thereof; or may be a request generated for an instruction entered by a developer at the platform input.
The development request may include information such as a service type corresponding to the service code to be generated, an applicable target user, which internet of things devices are required to support the service code, and the like.
Step S102, determining target Internet of things equipment according to the analysis result of the development request, and acquiring description information of the target Internet of things equipment, wherein the target Internet of things equipment is selected from a set formed by a plurality of Internet of things equipment;
and determining which Internet of things equipment needs to be called for the service of the generated service code according to the analysis result of the development request, and taking the determined Internet of things equipment as target Internet of things equipment.
In the internet of things, it is generally necessary to manage the accessed bottom layer devices (i.e., the internet of things devices), and when each bottom layer device is managed, it is necessary to obtain description information such as the current operation state, the device type, and the device attribute, so as to manage the operation of the target internet of things device and the collected data.
Step S103, acquiring a target encapsulation template according to the analysis result of the development request, wherein the target encapsulation template is selected from a set formed by a plurality of encapsulation templates, and each encapsulation template is a universal module obtained by encapsulating preset operation;
the packaging template is a code template obtained by modularly packaging the codes of the general classes. And partial parameters in the code template can be reserved, so that developers can perform personalized configuration on the reserved parameters according to development requirements, and personalized development requirements are met.
After the analysis result of the development request is obtained, the encapsulation template required by development can be obtained according to the analysis result, and the obtained encapsulation template is called a target encapsulation template. And determining which Internet of things equipment needs to be called for the service of the generated service code according to the analysis result of the development request, and taking the determined Internet of things equipment as target Internet of things equipment.
Optionally, when the encapsulation templates are generated, the corresponding relationship of each encapsulation template to different service types, applicable users, and the like may be set, so that after the development request is obtained, the target encapsulation template may be obtained according to the information of the service type corresponding to the service code that needs to be generated this time in the analysis result, the applicable target user, and the like.
Step S104, carrying out personalized configuration on the target packaging template according to the acquired description information;
and step S105, generating a service code according to the target encapsulation template after the personalized configuration.
After the target Internet of things equipment is determined, the acquired target packaging template is subjected to personalized configuration according to the description information of the target Internet of things equipment, so that a service code corresponding to the development request is obtained. The operation of personalized configuration may include configuring parameters left blank in the target packaging template, setting calling relationship among a plurality of packaging templates, and the like.
The low-code development method for the scene of the internet of things can be executed on a management platform of the system of the internet of things, which can also be called as a development platform. By the low-code development method for the scene of the Internet of things, basic services and tools can be provided for the low-code rapid development method for the scene of the Internet of things, and the development workload of enterprises for developing the application of the Internet of things is reduced, so that the development cost is reduced.
In an embodiment, please continue to refer to fig. 1, before the obtaining the description information of the target internet of things device in step S102, the method may further include: and determining a sensor corresponding to the target Internet of things equipment, and acquiring the description information of the target Internet of things equipment through the determined sensor.
Some or all of the description information of the internet of things device can be acquired by a sensor corresponding to the internet of things device. For example, the operating temperature of the internet of things device may be detected by a temperature sensor to determine the operating temperature of the device as a description information of the internet of things device.
Optionally, before the obtaining of the description information of the target internet of things device through the determined sensor, the method further includes: and setting a corresponding relation between the Internet of things equipment and the sensor, wherein the sensor is used for collecting all or part of description information of the corresponding Internet of things equipment.
When the equipment is accessed into the Internet of things, corresponding sensors can be arranged for the equipment to acquire certain description information of the corresponding Internet of things equipment, and the corresponding relation between each piece of Internet of things equipment and the sensor used for acquiring the description information of the equipment is recorded.
Optionally, some description information of the internet of things device may also be reported to the management platform by each device through the network, and is acquired by the management platform, that is, the description information acquired by the sensor may be only one part of the description information, and the other part of the description information is reported by the device.
In this embodiment, the manner of acquiring the description information of each piece of internet-of-things equipment in the internet-of-things system may be reported to each piece of equipment through a network, or may be acquired by a sensor corresponding to each piece of internet-of-things equipment, so as to comprehensively collect the description information of the piece of internet-of-things equipment.
In an embodiment, the low code development method for the internet of things scenario may further include: performing at least one or more of the following management on the Internet of things equipment: device access, device management, data communication, and data storage.
The management platform of the Internet of things system can also manage access of bottom layer equipment, user-defined management of each accessed bottom layer equipment, data communication among the equipment or data communication between the equipment and the management platform, storage positions and storage modes of data acquired by the bottom layer equipment and the like.
It should be noted that the management platform of the internet of things system may also manage the content of the underlying device, including but not limited to the above listed content, and the management content may be performed at the device layer (or referred to as the underlying layer).
In this embodiment, a device layer service is established for a plurality of bottom devices accessing the internet of things system, and the management platform can perform various kinds of management on the device layer to ensure the orderly operation of each device in the device layer.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a code development platform of the internet of things in an embodiment, where the code development platform includes a device layer service 201, and the device layer service 201 is a service provided based on a plurality of internet of things devices in a device layer and sensors corresponding to the respective internet of things devices, and the device layer service includes, but is not limited to, device access, data communication, data storage, and the like for the devices of the internet of things.
In an embodiment, before the obtaining the target package template according to the analysis result of the development request in step S103 in fig. 1, the method may further include: establishing basic public service based on one or more of communication characteristics, data characteristics of description information, data characteristics of the Internet of things equipment, application layer interaction characteristics and business logic characteristics of the Internet of things equipment; and generating a plurality of packaging templates according to the basic public service.
The bottom layer devices in the internet of things system generally adopt a unified communication protocol to access and realize communication among the devices and between the devices and the management platform. The communication characteristics refer to characteristics obtained by summarizing a communication protocol, a format of communication data, and the like.
The data characteristics of the description information refer to characteristics obtained by summarizing the format of the description information, the value of the data, the data amount, and the like.
The data characteristic of the internet of things equipment refers to the characteristic obtained by summarizing and summarizing data acquired by the internet of things equipment.
The application layer interactive characteristics refer to characteristics for summarizing data interactive relations of each module of the application layer.
The service logic characteristics are characteristics obtained by logically representing the related services of the application layer, and are related to the services of the application layer.
Planning based on services provided in the device layer service 201 and data of the managed internet of things devices according to logic of upper layer applications, summarizing and summarizing communication characteristics or data characteristics of description information of the internet of things devices, and establishing a basic common service 202 for connection between the device layer service 201 and the upper layer applications. With continued reference to FIG. 2, the services that the underlying public service 202 may provide include, but are not limited to, a rules engine, a messaging service, a flow engine, and the like.
The rule engine is used for setting a processing rule for data acquired from the bottom layer equipment or setting a linkage rule to send a control instruction to the bottom layer equipment or the bottom layer equipment connected with the sensor.
The message service is used for managing message communication and the like of the application layer system according to a certain rule based on data acquired from the bottom layer device.
The process engine is used for managing the operation process and the like of the bottom-layer equipment.
In this embodiment, the internet of things system further includes a basic public service 202, so as to connect the device layer and the upper layer application, and perform rule or flow management on the device layer service 201 based on a management logic of the upper layer application.
In one embodiment, the packaging template is at least for performing one or more of: calling a target interface, calling a software development kit, calling a packaged code module, and calling a visualization tool.
The encapsulation template can realize functions of data interface calling and encapsulated code module calling, a data interface which can be called by the encapsulation template can be called as a target interface of the encapsulation template, and a mapping relation between the encapsulation template and the data interface which can be called and/or the code module which can be called can be established when the encapsulation template is generated so as to determine the target interface and the code module which can be called corresponding to different encapsulation templates. The code module can be generated through a Software Development Kit (SDK for short), and can encapsulate interfaces and SDK which may be commonly used by some applications for calling an application layer, so that the docking work is simplified.
The package template may also invoke a visualization tool. The visualization tool is designed based on a designer of the visualization tool, such as a graphical and diagrammatized output tool. The visualization tool can rapidly realize the development of the business applications of a PC end and a mobile end (including but not limited to various network applications, WeChat end, applet and apple mobile device operating system (ios) end and android end) without codes or a small amount of codes.
With continued reference to fig. 2, the basic public service upper layer may further include a development layer for generating service codes, and the development layer 203 may include an internet of things application code generator, an application layer-oriented data interface, an SDK, an internet of things application visualization tool, and the like.
Optionally, the encapsulation module may be generated according to the application layer-oriented data interface, the SDK, the invocation of the internet of things application visualization tool, and the encapsulated service code module. The development platform can select a packaging template in the development layer according to the development request, and perform personalized configuration on the packaging module according to the state data of each device in the device layer so as to generate a service code capable of running at the PC end and/or the mobile end.
In an embodiment, the generated service code includes an extension area, and after the generating the service code in step S105 in fig. 1, the method may further include: and receiving an expansion instruction, and adjusting the target packaging template according to the expansion instruction.
The expansion instruction is an instruction for expanding the generated packaging template according to actual development requirements.
After the service code is generated, the generated encapsulation template can be expanded and improved according to the diversification of development requirements, and new logic can be flexibly inserted in the development process, so that the development platform is stronger in openness and expansibility.
Referring to fig. 3, an embodiment of the present invention further provides a low-code development apparatus for a scene of the internet of things, where the apparatus may include a development request obtaining module 301, an equipment determining module 302, a target encapsulation template obtaining module 303, a personalized configuration module 304, and a code generating module 305, where:
a development request acquisition module 301, configured to acquire and analyze a development request;
the device determination module 302 is configured to determine a target internet of things device according to an analysis result of the development request, and acquire description information of the target internet of things device, where the target internet of things device is selected from a set formed by multiple internet of things devices;
a target encapsulation template obtaining module 303, configured to obtain a target encapsulation template according to an analysis result of the development request, where the target encapsulation template is selected from a set formed by multiple encapsulation templates, and each encapsulation template is a general module obtained by encapsulating a preset operation;
the personalized configuration module 304 is configured to perform personalized configuration on the target packaging template according to the acquired description information;
and the code generation module 305 is configured to generate a service code according to the target encapsulation template after the personalized configuration.
In an embodiment, the device determination module 302 may be further configured to determine a sensor corresponding to the target internet of things device, and obtain the description information of the target internet of things device through the determined sensor.
In one embodiment, the low code development apparatus for the internet of things scenario may further include:
the sensor setting module is used for setting the corresponding relation between the Internet of things equipment and the sensor, and the sensor is used for collecting all or part of description information of the corresponding Internet of things equipment.
In one embodiment, the low code development apparatus for the internet of things scenario may further include:
the equipment management module is used for at least carrying out one or more of the following management on the equipment of the Internet of things: device access, device management, data communication, and data storage.
In one embodiment, the low code development apparatus for the internet of things scenario may further include:
the basic public service establishing module is used for establishing basic public service based on one or more of communication characteristics, data characteristics of description information, data characteristics of Internet of things equipment, application layer interaction characteristics and business logic characteristics of the Internet of things equipment;
and the packaging template generating module is used for generating a plurality of packaging templates according to the basic public service.
Optionally, the encapsulation template is at least used to perform one or more of the following: calling a target interface, calling a software development kit, calling a packaged code module, and calling a visualization tool.
In one embodiment, the generated service code includes an extension area, and in one embodiment, the low-code development apparatus for the internet of things scenario may further include:
and the expansion module is used for receiving an expansion instruction and adjusting the target packaging template according to the expansion instruction.
For more contents of the working principle and the working mode of the low-code development device for the internet of things scene, reference may be made to the related description of the low-code development method for the internet of things scene in fig. 1 and fig. 2, which is not described herein again.
Further, the embodiment of the present invention also discloses a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the technical solution of the low code development method for the internet of things scenario shown in fig. 1 and fig. 2 is executed.
Further, an embodiment of the present invention further discloses a development platform, which includes a memory and a processor, where the memory stores a computer program capable of running on the processor, and when the processor runs the computer program, the processor executes the technical scheme of the low code development method for the internet of things scenario shown in fig. 1 and fig. 2.
Specifically, in the embodiment of the present invention, the processor may be a Central Processing Unit (CPU), and the processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will also be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example and not limitation, many forms of Random Access Memory (RAM) are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (dddram), enhanced SDRAM (enhanced SDRAM), synchronous DRAM (SLDRAM), Synchronous Link DRAM (SLDRAM), and direct bus RAM (DR RAM).
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document indicates that the former and latter related objects are in an "or" relationship.
The "plurality" appearing in the embodiments of the present application means two or more.
The descriptions of the first, second, etc. appearing in the embodiments of the present application are only for illustrating and differentiating the objects, and do not represent the order or the particular limitation of the number of the devices in the embodiments of the present application, and do not constitute any limitation to the embodiments of the present application.
The term "connect" in the embodiments of the present application refers to various connection manners, such as direct connection or indirect connection, to implement communication between devices, which is not limited in this embodiment of the present application.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A low-code development method for an Internet of things scene is characterized by comprising the following steps:
acquiring a development request and analyzing the development request;
determining target Internet of things equipment according to the analysis result of the development request, and acquiring description information of the target Internet of things equipment, wherein the target Internet of things equipment is selected from a set formed by a plurality of Internet of things equipment;
acquiring a target packaging template according to the analysis result of the development request, wherein the target packaging template is selected from a set formed by a plurality of packaging templates, and each packaging template is a universal module obtained by packaging a preset operation;
carrying out personalized configuration on the target packaging template according to the acquired description information;
and generating a service code according to the target encapsulation template after the personalized configuration.
2. The method of claim 1, wherein the obtaining description information of the target internet of things device comprises:
and determining a sensor corresponding to the target Internet of things equipment, and acquiring the description information of the target Internet of things equipment through the determined sensor.
3. The method of claim 2, wherein before the obtaining the description information of the target internet of things device through the determined sensor, the method further comprises:
and setting a corresponding relation between the Internet of things equipment and the sensor, wherein the sensor is used for collecting all or part of description information of the corresponding Internet of things equipment.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
performing at least one or more of the following management on the Internet of things equipment: device access, device management, data communication, and data storage.
5. The method according to claim 1, wherein before obtaining the target package template according to the parsing result of the development request, the method further comprises:
establishing basic public service based on one or more of communication characteristics, data characteristics of description information, equipment data characteristics, application layer interaction characteristics and business logic characteristics of a plurality of Internet of things equipment;
and generating a plurality of packaging templates according to the basic public service.
6. The method of claim 1 or 5, wherein the encapsulation template is at least used to perform one or more of: calling a target interface, calling a software development kit, calling a packaged code module, and calling a visualization tool.
7. The method of claim 1, wherein the generated service code includes an extent, and wherein after the generating the service code, further comprising:
and receiving an expansion instruction, and adjusting the target packaging template according to the expansion instruction.
8. An apparatus for low code development of an internet of things scenario, the apparatus comprising:
the development request acquisition module is used for acquiring and analyzing a development request;
the equipment determining module is used for determining target Internet of things equipment according to the analysis result of the development request and acquiring description information of the target Internet of things equipment, wherein the target Internet of things equipment is selected from a set formed by a plurality of Internet of things equipment;
a target encapsulation template obtaining module, configured to obtain a target encapsulation template according to an analysis result of the development request, where the target encapsulation template is selected from a set formed by multiple encapsulation templates, and each encapsulation template is a general module obtained by encapsulating a preset operation;
the personalized configuration module is used for carrying out personalized configuration on the target packaging template according to the acquired description information;
and the code generation module is used for generating a service code according to the target encapsulation template after the personalized configuration.
9. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, performing the steps of the method of any one of claims 1 to 7.
10. A development platform comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010642703.XA CN113900633A (en) | 2020-07-06 | 2020-07-06 | Low-code development method and device for scene of Internet of things, storage medium and development platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010642703.XA CN113900633A (en) | 2020-07-06 | 2020-07-06 | Low-code development method and device for scene of Internet of things, storage medium and development platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113900633A true CN113900633A (en) | 2022-01-07 |
Family
ID=79186818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010642703.XA Pending CN113900633A (en) | 2020-07-06 | 2020-07-06 | Low-code development method and device for scene of Internet of things, storage medium and development platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113900633A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114995801A (en) * | 2022-05-18 | 2022-09-02 | 北京寄云鼎城科技有限公司 | Visual application development method and system based on Internet of things platform |
CN117555527A (en) * | 2024-01-09 | 2024-02-13 | 中科物栖(南京)科技有限公司 | Development method, device, equipment and storage medium of Internet of things application |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539656A (en) * | 2014-12-09 | 2015-04-22 | 中国电子科技集团公司第十五研究所 | Development and usage method of internet of things system |
EP3324601A1 (en) * | 2016-11-22 | 2018-05-23 | Sap Se | Development of internet of things (iot) applications |
CN110716974A (en) * | 2019-09-29 | 2020-01-21 | 宜通世纪物联网研究院(广州)有限公司 | Dynamic interaction method, system and storage medium for Internet of things equipment and platform |
CN110825362A (en) * | 2019-11-04 | 2020-02-21 | 广东道一信息技术股份有限公司 | Low-code application software development system and method |
CN111162977A (en) * | 2019-12-20 | 2020-05-15 | 青岛聚好联科技有限公司 | Method and device for accessing terminal of Internet of things to cloud service |
-
2020
- 2020-07-06 CN CN202010642703.XA patent/CN113900633A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104539656A (en) * | 2014-12-09 | 2015-04-22 | 中国电子科技集团公司第十五研究所 | Development and usage method of internet of things system |
EP3324601A1 (en) * | 2016-11-22 | 2018-05-23 | Sap Se | Development of internet of things (iot) applications |
CN110716974A (en) * | 2019-09-29 | 2020-01-21 | 宜通世纪物联网研究院(广州)有限公司 | Dynamic interaction method, system and storage medium for Internet of things equipment and platform |
CN110825362A (en) * | 2019-11-04 | 2020-02-21 | 广东道一信息技术股份有限公司 | Low-code application software development system and method |
CN111162977A (en) * | 2019-12-20 | 2020-05-15 | 青岛聚好联科技有限公司 | Method and device for accessing terminal of Internet of things to cloud service |
Non-Patent Citations (1)
Title |
---|
何明著: "《物联网与数字营区》", vol. 1, 31 January 2014, 国防工业出版社, pages: 73 - 74 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114995801A (en) * | 2022-05-18 | 2022-09-02 | 北京寄云鼎城科技有限公司 | Visual application development method and system based on Internet of things platform |
CN117555527A (en) * | 2024-01-09 | 2024-02-13 | 中科物栖(南京)科技有限公司 | Development method, device, equipment and storage medium of Internet of things application |
CN117555527B (en) * | 2024-01-09 | 2024-04-02 | 中科物栖(南京)科技有限公司 | Development method, device, equipment and storage medium of Internet of things application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104156313A (en) | Method for automatically generating Web service testing case | |
CN113722020B (en) | Interface calling method, device and computer readable storage medium | |
CN109976723B (en) | Algorithm development platform, algorithm development method and computer readable storage medium | |
CN110187986B (en) | Command management method, system, device and computer readable storage medium | |
CN112860247B (en) | Custom generation method, device, equipment and medium of model component | |
CN113900633A (en) | Low-code development method and device for scene of Internet of things, storage medium and development platform | |
CN110507986B (en) | Animation information processing method and device | |
CN110795181A (en) | Application program interface display method and device based on skip protocol and electronic equipment | |
CN113986424A (en) | Page display method and device | |
CN106610845B (en) | Information management method, device, server and system | |
Hauschildt et al. | WOFLAN: a Petri-net-based Workflow Analyzer | |
CN113419969A (en) | Interface automatic formation power guarantee method based on browser plug-in | |
CN110187967B (en) | Memory prediction method and device suitable for dependence analysis tool | |
CN116521181A (en) | Script data processing method, device, equipment and medium based on game system | |
CN114461960B (en) | Page generation method, page display method and page display device | |
CN113704664A (en) | Method and device for generating routing address for accessing page | |
CN111401020A (en) | Interface loading method and system and computing equipment | |
CN110333870B (en) | Simulink model variable distribution processing method, device and equipment | |
CN115687310A (en) | Data cleaning method and device | |
CN107506299B (en) | Code analysis method and terminal equipment | |
CN113050935A (en) | Method and device for generating mixed object, computing equipment and computer readable storage medium | |
CN108089899B (en) | Method and device for realizing query report | |
CN112486378A (en) | Graph generation method, device, terminal and storage medium | |
CN116975013A (en) | Method, device, equipment and computer storage medium for constructing log analysis model | |
CN115033312B (en) | ElasticSearch data operation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |