CN117891436A - Application development management method and system for Internet of things - Google Patents

Application development management method and system for Internet of things Download PDF

Info

Publication number
CN117891436A
CN117891436A CN202311724102.3A CN202311724102A CN117891436A CN 117891436 A CN117891436 A CN 117891436A CN 202311724102 A CN202311724102 A CN 202311724102A CN 117891436 A CN117891436 A CN 117891436A
Authority
CN
China
Prior art keywords
control
internet
interface
network
things
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
Application number
CN202311724102.3A
Other languages
Chinese (zh)
Inventor
陈雯珊
张祖生
林大勇
易鹏程
叶勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Nebula Big Data Application Service Co ltd
Original Assignee
Fujian Nebula Big Data Application Service Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujian Nebula Big Data Application Service Co ltd filed Critical Fujian Nebula Big Data Application Service Co ltd
Priority to CN202311724102.3A priority Critical patent/CN117891436A/en
Publication of CN117891436A publication Critical patent/CN117891436A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3624Software debugging by performing operations on the source code, e.g. via a compiler
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides an application development management method and system of the Internet of things, belonging to the technical field of application development of the Internet of things, wherein the method comprises the following steps: step S10, an application arrangement area, a management and control development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a release management area are created; step S20, moving the control of the management and control development area and the APP development area to an application arrangement area; step S30, automatically arranging each control through an auxiliary development area; step S40, adjusting interaction logic and interaction flow of each control, and setting the attribute of each control to generate arrangement configuration data; s50, configuring and calling a query interface through a capability development area, and generating an Internet of things application based on arranging configuration data and calling the query interface; step S60, online debugging is carried out on the application of the Internet of things through an online debugging area; and step S70, the Internet of things application is published through the publication management area. The invention has the advantages that: the efficiency of the application development of the Internet of things is greatly improved.

Description

Application development management method and system for Internet of things
Technical Field
The invention relates to the technical field of application development of the Internet of things, in particular to an application development management method and system of the Internet of things.
Background
The internet of things (Internet of Things, ioT for short) refers to collecting any object or process needing to be monitored, connected and interacted in real time through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, collecting various needed information such as sound, light, heat, electricity, mechanics, chemistry, biology and positions, and realizing ubiquitous connection of objects and people through various possible network access, and realizing intelligent sensing, identification and management of objects and processes. With the rapid development of the internet of things, various internet of things devices are layered endlessly, and in order to manage the internet of things devices, corresponding internet of things applications need to be developed for the various internet of things devices.
However, the traditional Internet of things application is developed in a code-based mode, such as Visual Basic and Java programming languages, and the like, so that the development mode has higher threshold, needs participation of programmers and has a longer development period, and the Internet of things equipment is updated rapidly, so that the traditional development mode is not suitable for the rapidly changing business requirements of the Internet of things application, and when a new Internet of things application is developed, code writing needs to be repeated, and some functional modules with codes written before cannot be reused, so that the development period of the Internet of things application is further prolonged.
Therefore, how to provide a method and a system for application development management of the internet of things, so as to improve the efficiency of application development of the internet of things, is a technical problem to be solved urgently.
Disclosure of Invention
The invention aims to solve the technical problem of providing a method and a system for developing and managing application of the Internet of things, and the method and the system for developing and managing the application of the Internet of things are used for improving the development efficiency of the application of the Internet of things.
In a first aspect, the present invention provides a method for application development management of the internet of things, including the following steps:
step S10, creating an application development interface comprising an application programming area, a management development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a distribution management area;
step S20, moving the first control of the management and control development area to an application arrangement area in a dragging, pulling and dragging interaction mode;
step S30, moving the second control of the APP development area to an application arrangement area in a dragging, pulling and dragging interaction mode;
step S40, automatically arranging each first control or each second control of an application arrangement area through the auxiliary development area;
step S50, adjusting interaction logic and interaction flow of each first control or each second control automatically arranged in the application arrangement area, setting the attribute of each first control and each second control, and further generating arrangement configuration data;
Step S60, configuring a calling query interface of the Internet of things equipment through the capability development area, and generating Internet of things application based on the arrangement configuration data and the calling query interface;
step S70, online debugging is carried out on the application of the Internet of things through the online debugging area;
and step S80, the application of the Internet of things is published and managed through the publication management area.
Further, in step S10, the control development area is provided with a plurality of first controls, where the first controls at least include a network state monitoring control, a network flow monitoring control, a network connection flow monitoring control, an external interface working state monitoring control, a CPU load state monitoring control, a memory state monitoring control, a Flash storage state monitoring control, a process state monitoring control, a temperature monitoring control, a power supply monitoring control, a network control opening, a network control closing, a terminal forced restarting control, a network forced restarting control, a positioning data obtaining control, a history track obtaining control, an electronic fence drawing control, an electronic fence alarm control, an electronic circuit drawing control, an electronic circuit alarm, an overspeed alarm control, and a control parameter downloading control.
Further, the network state monitoring control is used for calling a monitoring interface of the network state of the internet of things equipment, receiving a network state report data packet of the internet of things equipment, recording a network state log of the internet of things equipment, and actively sending a terminal network state test packet to the internet of things equipment; the network state at least comprises a network type, signal strength, connected, unconnected, current IP address, current gateway IP and current DNS;
the network flow monitoring control is used for calling a network flow monitoring interface of the internet of things device, receiving a network flow state report data packet of the internet of things device through the network flow monitoring interface, judging whether the network flow of the internet of things device is close to a quota and giving an alarm, and storing a flow log of the internet of things device;
the network connection flow monitoring control is used for calling a network connection flow monitoring interface of the Internet of things equipment, and checking network connection flow data information of the Internet of things equipment through the network connection flow monitoring interface; the network connection flow data information at least comprises the number of internal and external data packets, the number of external bytes, the number of external short messages, the number of received data packets, the number of received bytes and the number of received short messages in the hour;
The external interface working state monitoring control is used for calling an external interface working state monitoring interface of the internet of things device, checking whether the external interface of the internet of things device is connected smoothly or not through the external interface working state monitoring interface, and returning a state report of the external interface; the status report at least comprises a working status and a buffer status;
the CPU load state monitoring control is used for calling a CPU load state monitoring interface of the Internet of things equipment, checking the use occupancy rate of the CPU through the CPU load state monitoring interface, acquiring CPU hardware information, a kernel load report and load upper limit setting, carrying out CPU overload warning, and running process monitoring to analyze the CPU occupancy rate; the CPU load state at least comprises a user load, a system load and an idle load;
the memory state monitoring control is used for calling a memory state monitoring interface of the Internet of things equipment, acquiring memory state and total memory information at regular time through the memory state monitoring interface, and monitoring the residual memory, the memory utilization rate and the memory service condition;
the Flash storage state monitoring control is used for calling a Flash storage state monitoring interface of the internet of things device, and remotely monitoring the storage space of the built-in memory of the internet of things device through the Flash storage state monitoring interface;
The process state monitoring control is used for calling a process state monitoring interface of the Internet of things equipment, and reading the system process state of the Internet of things equipment and all running process information through the process state monitoring interface;
the temperature monitoring control is used for calling a temperature monitoring interface of the Internet of things equipment, and monitoring the temperature state of the Internet of things equipment through the temperature monitoring interface;
the power supply monitoring control is used for calling a power supply monitoring interface of the Internet of things equipment, and monitoring the battery state of the Internet of things equipment through the power supply monitoring interface so as to judge whether the Internet of things equipment can be guaranteed to receive or send data packets in real time;
the network opening control is used for calling an opening network interface of the Internet of things equipment, and remotely opening a network for the Internet of things equipment through the opening network interface;
the closing network control is used for calling a closing network interface of the Internet of things equipment, and remotely closing the network for the Internet of things equipment through the closing network interface;
the terminal forced restarting control is used for calling a forced restarting interface of the internet of things equipment, and is used for remotely and forcedly restarting the internet of things equipment;
the network forced restarting control is used for calling a network forced restarting interface of the internet of things equipment, and the network forced restarting interface is used for forcibly restarting the network of the internet of things equipment;
The positioning data acquisition control is used for calling a real-time positioning data acquisition interface of the Internet of things equipment, and acquiring specific position information of the Internet of things equipment through the real-time positioning data acquisition interface; the specific position information at least comprises a positioning type, a positioning state, UTC time, longitude, latitude, altitude, speed and azimuth;
the history track acquisition control is used for calling a history track data acquisition interface of the internet of things device, and checking a history path of the internet of things device in a certain time period through the history track data acquisition interface;
the electronic fence drawing control is used for calling an electronic fence drawing interface, drawing an electronic fence through the electronic fence drawing interface and recording the electronic fence to the database;
the electronic fence alarm control is used for calling an electronic fence alarm interface, and alarming for entering and exiting the electronic fence through the electronic fence alarm interface based on the bound electronic fence and the set alarm condition;
the electronic circuit drawing control is used for calling an electronic circuit drawing interface, drawing an electronic circuit through the electronic circuit drawing interface and recording the drawing result into the database;
the electronic circuit alarm control is used for calling an electronic circuit alarm interface, setting alarm conditions and alarm information of an electronic circuit through the electronic circuit alarm interface, binding the alarm conditions and the alarm information to a specific electronic fence so as to monitor the real-time position state of the Internet of things equipment and alarm;
The overspeed alarm control is used for calling a terminal overspeed alarm interface and carrying out overspeed alarm on the Internet of things equipment through the terminal overspeed alarm interface;
and the control parameter downloading control is used for downloading the control parameters of the first control.
Further, in step S10, the APP development area is provided with a plurality of second controls, where the second controls at least include a communication network control, a system file management control, a serial port data transceiver control, and a protocol message transceiver control;
the communication network control is used for network selection, network online judgment, short message receiving, short message sending, UDP connection, UDP sending, UDP receiving, UDP disconnection, TCP connection, TCP sending, TCP receiving, TCP disconnection, GPRS dialing opening and GPRS dialing disconnection;
the system file management control is used for managing a file directory list, modifying a path, creating a directory, renaming a file directory, deleting a file, opening a file, reading a file, writing a file and closing a file;
the serial port data receiving and dispatching control is used for opening a specified serial port, reading serial port data, sending serial port data and closing the serial port;
the auxiliary development area is provided with a plurality of arrangement templates, application development tools and management tools; the arrangement template is used for setting interaction logic and interaction flow of the first control or the second control;
The capability development area is used for configuring a calling and inquiring interface of the Internet of things equipment, and calling and inquiring the terminal capability of the Internet of things equipment through the calling and inquiring interface;
the online debugging area is used for carrying out online test, real machine test, script submitting and draft saving on the application of the Internet of things;
the release management area is used for carrying out release, addition, deletion, modification and check management on the application of the Internet of things.
Further, the step S40 specifically includes: automatically arranging each first control or each second control of the application arrangement area through an arrangement template of the auxiliary development area;
the step S70 specifically includes: performing online test, real machine test, script submitting and draft saving online debugging on the application of the Internet of things through the online debugging area;
the step S80 specifically includes: and carrying out the management of release, addition, deletion, modification and check on the application of the Internet of things through the release management area.
In a second aspect, the present invention provides an application development management system for the internet of things, including the following modules:
the development interface creation module is used for creating an application development interface comprising an application programming area, a management development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a development management area;
The control development module is used for moving the first control of the control development area to the application arrangement area in a dragging, pulling and dragging interaction mode;
the APP development module is used for moving the second control of the APP development area to the application arrangement area in a dragging, pulling and dragging interaction mode;
the auxiliary development module is used for automatically arranging each first control or each second control of the application arrangement area through the auxiliary development area;
the application arrangement module is used for adjusting interaction logic and interaction flow of each first control or each second control which is automatically arranged in the application arrangement area, setting the attribute of each first control and each second control and further generating arrangement configuration data;
the capability development module is used for configuring a calling query interface of the Internet of things equipment through the capability development area, and generating Internet of things application based on the arrangement configuration data and the calling query interface;
the online debugging module is used for online debugging the application of the Internet of things through the online debugging area;
and the release management module is used for releasing and managing the application of the Internet of things through the release management area.
Further, in the development interface creation module, the management and control development area is provided with a plurality of first controls, and the first controls at least comprise a network state monitoring control, a network flow monitoring control, a network connection flow monitoring control, an external interface working state monitoring control, a CPU load state monitoring control, a memory state monitoring control, a Flash memory state monitoring control, a process state monitoring control, a temperature monitoring control, a power supply monitoring control, a network control opening, a network control closing, a terminal forced restarting control, a network forced restarting control, a positioning data obtaining control, a history track obtaining control, an electronic fence drawing control, an electronic fence warning control, an electronic circuit drawing control, an electronic circuit warning control, an overspeed warning control and a control parameter downloading control.
Further, the network state monitoring control is used for calling a monitoring interface of the network state of the internet of things equipment, receiving a network state report data packet of the internet of things equipment, recording a network state log of the internet of things equipment, and actively sending a terminal network state test packet to the internet of things equipment; the network state at least comprises a network type, signal strength, connected, unconnected, current IP address, current gateway IP and current DNS;
the network flow monitoring control is used for calling a network flow monitoring interface of the internet of things device, receiving a network flow state report data packet of the internet of things device through the network flow monitoring interface, judging whether the network flow of the internet of things device is close to a quota and giving an alarm, and storing a flow log of the internet of things device;
the network connection flow monitoring control is used for calling a network connection flow monitoring interface of the Internet of things equipment, and checking network connection flow data information of the Internet of things equipment through the network connection flow monitoring interface; the network connection flow data information at least comprises the number of internal and external data packets, the number of external bytes, the number of external short messages, the number of received data packets, the number of received bytes and the number of received short messages in the hour;
The external interface working state monitoring control is used for calling an external interface working state monitoring interface of the internet of things device, checking whether the external interface of the internet of things device is connected smoothly or not through the external interface working state monitoring interface, and returning a state report of the external interface; the status report at least comprises a working status and a buffer status;
the CPU load state monitoring control is used for calling a CPU load state monitoring interface of the Internet of things equipment, checking the use occupancy rate of the CPU through the CPU load state monitoring interface, acquiring CPU hardware information, a kernel load report and load upper limit setting, carrying out CPU overload warning, and running process monitoring to analyze the CPU occupancy rate; the CPU load state at least comprises a user load, a system load and an idle load;
the memory state monitoring control is used for calling a memory state monitoring interface of the Internet of things equipment, acquiring memory state and total memory information at regular time through the memory state monitoring interface, and monitoring the residual memory, the memory utilization rate and the memory service condition;
the Flash storage state monitoring control is used for calling a Flash storage state monitoring interface of the internet of things device, and remotely monitoring the storage space of the built-in memory of the internet of things device through the Flash storage state monitoring interface;
The process state monitoring control is used for calling a process state monitoring interface of the Internet of things equipment, and reading the system process state of the Internet of things equipment and all running process information through the process state monitoring interface;
the temperature monitoring control is used for calling a temperature monitoring interface of the Internet of things equipment, and monitoring the temperature state of the Internet of things equipment through the temperature monitoring interface;
the power supply monitoring control is used for calling a power supply monitoring interface of the Internet of things equipment, and monitoring the battery state of the Internet of things equipment through the power supply monitoring interface so as to judge whether the Internet of things equipment can be guaranteed to receive or send data packets in real time;
the network opening control is used for calling an opening network interface of the Internet of things equipment, and remotely opening a network for the Internet of things equipment through the opening network interface;
the closing network control is used for calling a closing network interface of the Internet of things equipment, and remotely closing the network for the Internet of things equipment through the closing network interface;
the terminal forced restarting control is used for calling a forced restarting interface of the internet of things equipment, and is used for remotely and forcedly restarting the internet of things equipment;
the network forced restarting control is used for calling a network forced restarting interface of the internet of things equipment, and the network forced restarting interface is used for forcibly restarting the network of the internet of things equipment;
The positioning data acquisition control is used for calling a real-time positioning data acquisition interface of the Internet of things equipment, and acquiring specific position information of the Internet of things equipment through the real-time positioning data acquisition interface; the specific position information at least comprises a positioning type, a positioning state, UTC time, longitude, latitude, altitude, speed and azimuth;
the history track acquisition control is used for calling a history track data acquisition interface of the internet of things device, and checking a history path of the internet of things device in a certain time period through the history track data acquisition interface;
the electronic fence drawing control is used for calling an electronic fence drawing interface, drawing an electronic fence through the electronic fence drawing interface and recording the electronic fence to the database;
the electronic fence alarm control is used for calling an electronic fence alarm interface, and alarming for entering and exiting the electronic fence through the electronic fence alarm interface based on the bound electronic fence and the set alarm condition;
the electronic circuit drawing control is used for calling an electronic circuit drawing interface, drawing an electronic circuit through the electronic circuit drawing interface and recording the drawing result into the database;
the electronic circuit alarm control is used for calling an electronic circuit alarm interface, setting alarm conditions and alarm information of an electronic circuit through the electronic circuit alarm interface, binding the alarm conditions and the alarm information to a specific electronic fence so as to monitor the real-time position state of the Internet of things equipment and alarm;
The overspeed alarm control is used for calling a terminal overspeed alarm interface and carrying out overspeed alarm on the Internet of things equipment through the terminal overspeed alarm interface;
and the control parameter downloading control is used for downloading the control parameters of the first control.
Further, in the development interface creation module, the APP development area is provided with a plurality of second controls, and the second controls at least comprise a communication network control, a system file management control, a serial port data transceiving control and a protocol message transceiving control;
the communication network control is used for network selection, network online judgment, short message receiving, short message sending, UDP connection, UDP sending, UDP receiving, UDP disconnection, TCP connection, TCP sending, TCP receiving, TCP disconnection, GPRS dialing opening and GPRS dialing disconnection;
the system file management control is used for managing a file directory list, modifying a path, creating a directory, renaming a file directory, deleting a file, opening a file, reading a file, writing a file and closing a file;
the serial port data receiving and dispatching control is used for opening a specified serial port, reading serial port data, sending serial port data and closing the serial port;
the auxiliary development area is provided with a plurality of arrangement templates, application development tools and management tools; the arrangement template is used for setting interaction logic and interaction flow of the first control or the second control;
The capability development area is used for configuring a calling and inquiring interface of the Internet of things equipment, and calling and inquiring the terminal capability of the Internet of things equipment through the calling and inquiring interface;
the online debugging area is used for carrying out online test, real machine test, script submitting and draft saving on the application of the Internet of things;
the release management area is used for carrying out release, addition, deletion, modification and check management on the application of the Internet of things.
Further, the auxiliary development module is specifically configured to: automatically arranging each first control or each second control of the application arrangement area through an arrangement template of the auxiliary development area;
the online debugging module is specifically used for: performing online test, real machine test, script submitting and draft saving online debugging on the application of the Internet of things through the online debugging area;
the release management module is specifically configured to: and carrying out the management of release, addition, deletion, modification and check on the application of the Internet of things through the release management area.
The invention has the advantages that:
an application development interface comprising an application arrangement area, a management development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a release management area is created; the method comprises the steps of moving a first control of a management and control development area and a second control of an APP development area to an application arrangement area in a dragging, automatically arranging each first control or each second control of the application arrangement area through an arrangement template of an auxiliary development area, adjusting interaction logic and interaction flow of each first control or each second control which is automatically arranged, and setting attributes of each first control and each second control to generate arrangement configuration data; then, configuring a calling query interface of the Internet of things equipment through a capability development area, generating Internet of things application based on arrangement configuration data and the calling query interface, carrying out online debugging on the Internet of things application through an online debugging area, and finally, publishing and managing the Internet of things application through a publishing management area so as to finish development of the Internet application; the method and the system have the advantages that the first control and the second control in the application development interface are dragged, the application arrangement area can be arranged, the arrangement process can be automatically arranged through the arrangement template preset in the auxiliary development area, then the adjustment is performed adaptively, the generated Internet of things application can be debugged online, the debugging is qualified, the application can be released, a developer does not need to write codes in the whole process, the development threshold of the Internet of things application is greatly reduced, the first control and the second control which are abundant in quantity can be directly used for multiplexing to develop different Internet of things applications, the workload of repeated development is reduced, and the development efficiency of the Internet of things application is finally greatly improved.
Drawings
The invention will be further described with reference to examples of embodiments with reference to the accompanying drawings.
Fig. 1 is a flowchart of an application development management method of the internet of things.
Fig. 2 is a schematic structural diagram of an application development management system of the internet of things.
Detailed Description
According to the technical scheme in the embodiment of the application, the overall thought is as follows: the first control and the second control in the application arrangement area are manually arranged through dragging, pulling and dragging, or automatic arrangement is carried out through an arrangement template preset in the auxiliary development area, then the adaptive adjustment is carried out, the generated Internet of things application can be debugged online, the debugging is qualified and then released, a developer does not need to write codes in the whole process, and the first control and the second control with rich quantity can be directly multiplexed to develop different Internet of things applications, so that the development efficiency of the Internet of things application is improved.
Referring to fig. 1 to 2, a preferred embodiment of an application development management method for internet of things according to the present invention includes the following steps:
step S10, creating an application development interface comprising an application programming area, a management development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a distribution management area;
Step S20, moving the first control of the management and control development area to an application arrangement area in a dragging, pulling and dragging interaction mode;
step S30, moving the second control of the APP development area to an application arrangement area in a dragging, pulling and dragging interaction mode; because the application of the Internet of things can be in different forms of a computer end, a webpage end, an APP and the like, and the APP needs additional controls, an APP development area is set to supplement controls exclusive to the APP;
step S40, automatically arranging each first control or each second control of an application arrangement area through the auxiliary development area;
step S50, adjusting interaction logic and interaction flow of each first control or each second control automatically arranged in the application arrangement area, setting the attribute of each first control and each second control, and further generating arrangement configuration data;
step S60, configuring a calling query interface of the Internet of things equipment through the capability development area, and generating Internet of things application based on the arrangement configuration data and the calling query interface;
step S70, online debugging is carried out on the application of the Internet of things through the online debugging area;
and step S80, the application of the Internet of things is published and managed through the publication management area.
The developer can carry out simple dragging, pulling and dragging operations through the application development interface, so that the development of the application of the Internet of things can be carried out without self-developing complex various controls, and the required controls can be supplemented through the embedded development platform, so that good expansibility is obtained, and the efficiency of the application development of the Internet of things is improved.
In step S10, the control development area is provided with a plurality of first controls, where the first controls at least include a network state monitoring control, a network flow monitoring control, a network connection flow monitoring control, an external interface working state monitoring control, a CPU load state monitoring control, a memory state monitoring control, a Flash storage state monitoring control, a process state monitoring control, a temperature monitoring control, a power supply monitoring control, an open network control, a close network control, a terminal forced restart control, a network forced restart control, a positioning data acquisition control, a history track acquisition control, an electronic fence drawing control, an electronic fence alarm control, an electronic circuit drawing control, an electronic circuit alarm control, an overspeed alarm control, and a control parameter downloading control.
The management and control development area is used for providing a developer of the third party application with various functions such as work state inquiry, fault alarm, fault diagnosis, terminal restarting, network control, intelligent routing control, log management, terminal service management and the like of the Internet of things equipment, and the third party application is called through webservice; the developer does not need to care about the communication mode with the Internet of things equipment, and can directly monitor, manage, control, alarm, analyze, eliminate and other operations on the authorized Internet of things equipment in the Internet of things application through the management and control development area.
The network state monitoring control is used for calling a monitoring interface of the network state of the Internet of things equipment, receiving a network state report data packet of the Internet of things equipment, recording a network state log of the Internet of things equipment, actively sending a terminal network state test packet to the Internet of things equipment, responding and responding to the network state packet by the Internet of things equipment, and acquiring the terminal on-line state from the communication platform; the network state at least comprises a network type, signal strength, connected, unconnected, current IP address, current gateway IP and current DNS;
the network flow monitoring control is used for calling a network flow monitoring interface of the internet of things device, receiving a network flow state report data packet of the internet of things device through the network flow monitoring interface, judging whether the network flow of the internet of things device is close to a quota and giving an alarm, and storing a flow log of the internet of things device; i.e. the flow limit alarm threshold is exceeded, the alarm is given;
the network connection flow monitoring control is used for calling a network connection flow monitoring interface of the Internet of things equipment, and checking network connection flow data information of the Internet of things equipment through the network connection flow monitoring interface; the network connection flow data information at least comprises the number of internal and external data packets, the number of external bytes, the number of external short messages, the number of received data packets, the number of received bytes and the number of received short messages in the hour; the function of the control is based on a trigger function, when data is transmitted and received to an external interface (serial port or GPIO port), statistics is carried out, and the statistical result is stored in Flash every 1 hour (whole point);
The external interface working state monitoring control is used for calling an external interface working state monitoring interface of the internet of things device, checking whether the external interface of the internet of things device is connected smoothly or not through the external interface working state monitoring interface, and returning a state report of the external interface; the status report at least comprises a working status and a buffer status; the control function is based on a general function, namely, the working state and the buffer state of each external interface are scanned, and a state report is returned;
the CPU load state monitoring control is used for calling a CPU load state monitoring interface of the Internet of things equipment, checking the use occupancy rate of a CPU through the CPU load state monitoring interface, monitoring the CPU load state of the terminal to ensure the efficient operation of the terminal, acquiring CPU hardware information, a kernel load report and load upper limit setting, carrying out CPU overload warning, and monitoring an operation process to analyze the CPU occupancy rate; the CPU load state at least comprises a user load, a system load and an idle load; the function of the CPU load state monitoring control is based on a general function, and the platform or the Lua script initiates the call;
the memory state monitoring control is used for calling a memory state monitoring interface of the Internet of things equipment, acquiring memory state and total memory information at regular time through the memory state monitoring interface, and monitoring the residual memory, the memory utilization rate and the memory service condition for a developer to develop and call the Lua script;
The Flash storage state monitoring control is used for calling a Flash storage state monitoring interface of the internet of things device, and remotely monitoring the storage space of the built-in memory of the internet of things device through the Flash storage state monitoring interface so as to perform remote maintenance;
the process state monitoring control is used for calling a process state monitoring interface of the Internet of things equipment, and reading the system process state of the Internet of things equipment and all running process information through the process state monitoring interface;
the temperature monitoring control is used for calling a temperature monitoring interface of the Internet of things equipment, and monitoring the temperature state of the Internet of things equipment through the temperature monitoring interface so as to ensure that the load of the Internet of things equipment is normal; the function of the temperature monitoring control is based on a terminal temperature monitoring function, the temperature condition of the Internet of things equipment is detected, and when the temperature exceeds a certain temperature, the temperature monitoring control alarms in real time, so that the normal operation of the Internet of things equipment is ensured;
the power supply monitoring control is used for calling a power supply monitoring interface of the Internet of things equipment, and monitoring the battery state of the Internet of things equipment through the power supply monitoring interface so as to judge whether the Internet of things equipment can be guaranteed to receive or send data packets in real time; the function of the power supply monitoring control is based on a terminal power supply monitoring function, namely, the power supply condition of the Internet of things equipment is detected, and when the Internet of things equipment is in low power, an alarm is given, so that the normal operation of the Internet of things equipment is ensured;
The network opening control is used for calling an opening network interface of the Internet of things equipment, and remotely opening a network for the Internet of things equipment through the opening network interface; when the method is implemented, network communication can be opened and closed, the state of a network switch can be inquired, and the network can be opened for the Internet of things equipment remotely;
the closing network control is used for calling a closing network interface of the Internet of things equipment, and remotely closing the network for the Internet of things equipment through the closing network interface;
the terminal forced restarting control is used for calling a forced restarting interface of the internet of things equipment, and the forced restarting interface is used for remotely and forcedly restarting the internet of things equipment, so that the forced restarting of the internet of things equipment can be realized under the condition that the internet of things equipment is dead or can not be restarted, and the smoothness of the connection of the internet of things equipment is ensured;
the network forced restarting control is used for calling a network forced restarting interface of the Internet of things equipment, and the network forced restarting control is used for forcibly restarting the network of the Internet of things equipment through the network forced restarting interface, so that the Internet of things equipment can be subjected to network forced restarting when the network fails;
the positioning data acquisition control is used for calling a real-time positioning data acquisition interface of the Internet of things equipment, and acquiring specific position information of the Internet of things equipment through the real-time positioning data acquisition interface; the specific position information at least comprises a positioning type, a positioning state, UTC time, longitude, latitude, altitude, speed and azimuth; the positioning data acquisition control can acquire positioning data acquired by the GPS in real time, and report one positioning data every time one positioning data is acquired, so that track storage is not performed;
The history track acquisition control is used for calling a history track data acquisition interface of the internet of things device, and checking a history path of the internet of things device in a certain time period through the history track data acquisition interface;
the electronic fence drawing control is used for calling an electronic fence drawing interface, drawing an electronic fence through the electronic fence drawing interface and recording the electronic fence to the database; namely, inputting a series of coordinate point positions of (x, y, z) to draw a polygonal electronic fence;
the electronic fence alarm control is used for calling an electronic fence alarm interface, and alarming for entering and exiting the electronic fence through the electronic fence alarm interface based on the bound electronic fence and the set alarm condition;
the electronic circuit drawing control is used for calling an electronic circuit drawing interface, drawing an electronic circuit through the electronic circuit drawing interface and recording the drawing result into the database; namely, inputting a series of (x, y) coordinate points, and connecting the coordinate points into a curve;
the electronic circuit alarm control is used for calling an electronic circuit alarm interface, setting alarm conditions and alarm information of an electronic circuit through the electronic circuit alarm interface, binding the alarm conditions and the alarm information to a specific electronic fence so as to monitor the real-time position state of the Internet of things equipment and alarm;
The overspeed alarm control is used for calling a terminal overspeed alarm interface and carrying out overspeed alarm on the Internet of things equipment through the terminal overspeed alarm interface; the overspeed alarming control is used for setting overspeed speed, so that the real-time speed of the Internet of things equipment can be monitored, and an alarm is generated when the overspeed speed exceeds the overspeed speed;
and the control parameter downloading control is used for downloading the control parameters of the first control and is used for a developer to develop the Lua script.
In the step S10, the APP development area is provided with a plurality of second controls, where the second controls at least include a communication network control, a system file management control, a serial port data transceiver control, and a protocol message transceiver control; the communication network control, the system file management control, the serial port data receiving and transmitting control and the protocol message receiving and transmitting control are all API libraries;
the communication network control is used for network selection, network online judgment, short message receiving, short message sending, UDP connection, UDP sending, UDP receiving, UDP disconnection, TCP connection, TCP sending, TCP receiving, TCP disconnection, GPRS dialing opening and GPRS dialing disconnection;
the system file management control is used for managing a file directory list, modifying a path, creating a directory, renaming a file directory, deleting a file, opening a file, reading a file, writing a file and closing a file;
The serial port data receiving and dispatching control is used for opening a specified serial port, reading serial port data, sending serial port data and closing the serial port;
the auxiliary development area is provided with a plurality of arrangement templates, application development tools and management tools; the arrangement template is used for setting interaction logic and interaction flow of the first control or the second control;
the capability development area is used for configuring a calling and inquiring interface of the Internet of things equipment, and calling and inquiring the terminal capability of the Internet of things equipment through the calling and inquiring interface; the capability development area is packaged on the external development interface, and the java and C# languages are respectively used for packaging the local development library, so that a developer can conveniently call the capability of the Internet of things, and the capability development area is combined with the embedded application development library of the Internet of things equipment to provide a rapid capability development test function;
the online debugging area is used for carrying out online test, real machine test, script submitting and draft saving on the application of the Internet of things;
and the online compiling environment of the online debugging area is based on a JavaScript technology, and the Lua virtual machine is operated in the JavaScript virtual machine by utilizing lua.vm.js. The complete Lua virtual machine can not only run in the JavaScript virtual machine, but also call JS codes, and Mozilla shows the powerful asm.js. Running another virtual machine in one virtual machine, performance is an important problem, and benchmark tests show that the performance reaches 50% of the original code under the condition, and the performance can be compared with other C codes compiled to asm.js, so that the performance is good enough for a specific scene, and the gzip is about 200KB after compression, so that the resource consumption is saved. The highlighting implementation of the online compiling environment adopts a codeMirror js, which is a code editor based on JavaScript, and supports grammar highlighting of a large number of languages, and also comprises highlighting of css, html, js and the like. In addition, codeMirror also supports code autocompletion, search/replacement, HTML preview, line number, select/search result highlighting, visualization tab, code autocompletion, and the like.
When in online test, a developer can write a script, the script can highlight keywords, whether the grammar of the Lua script is correct or not is tested online, and the compiling result is displayed in the right output area, so that a user can conveniently find errors in time. The real machine test is to carry out joint test by connecting an online platform of the Internet of things, and to select whether a script language written by the test terminal and the issued instruction test can generate a desired result, and the result is output to a feedback right output frame. The submitting script is used for submitting the edited script to the server after the online test and the true machine test are passed. Draft preservation is convenient for a user to preserve the script language written currently, and when the user enters the page again, if the preserved draft exists, the user prompts that' whether the draft needs to be opened? And automatically storing the draft every 5 minutes, and manually storing the current draft, so that the written script can be conveniently stored for the user when other emergency events such as sudden power failure occur.
The release management area is used for carrying out release, addition, deletion, modification and check management on the application of the Internet of things.
The step S40 specifically includes: automatically arranging each first control or each second control of the application arrangement area through an arrangement template of the auxiliary development area;
The step S70 specifically includes: performing online test, real machine test, script submitting and draft saving online debugging on the application of the Internet of things through the online debugging area;
the step S80 specifically includes: and carrying out the management of release, addition, deletion, modification and check on the application of the Internet of things through the release management area.
The invention discloses a preferred embodiment of an application development management system of the Internet of things, which comprises the following modules:
the development interface creation module is used for creating an application development interface comprising an application programming area, a management development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a development management area;
the control development module is used for moving the first control of the control development area to the application arrangement area in a dragging, pulling and dragging interaction mode;
the APP development module is used for moving the second control of the APP development area to the application arrangement area in a dragging, pulling and dragging interaction mode; because the application of the Internet of things can be in different forms of a computer end, a webpage end, an APP and the like, and the APP needs additional controls, an APP development area is set to supplement controls exclusive to the APP;
the auxiliary development module is used for automatically arranging each first control or each second control of the application arrangement area through the auxiliary development area;
The application arrangement module is used for adjusting interaction logic and interaction flow of each first control or each second control which is automatically arranged in the application arrangement area, setting the attribute of each first control and each second control and further generating arrangement configuration data;
the capability development module is used for configuring a calling query interface of the Internet of things equipment through the capability development area, and generating Internet of things application based on the arrangement configuration data and the calling query interface;
the online debugging module is used for online debugging the application of the Internet of things through the online debugging area;
and the release management module is used for releasing and managing the application of the Internet of things through the release management area.
The developer can carry out simple dragging, pulling and dragging operations through the application development interface, so that the development of the application of the Internet of things can be carried out without self-developing complex various controls, and the required controls can be supplemented through the embedded development platform, so that good expansibility is obtained, and the efficiency of the application development of the Internet of things is improved.
In the development interface creation module, the management and control development area is provided with a plurality of first controls, and the first controls at least comprise a network state monitoring control, a network flow monitoring control, a network connection flow monitoring control, an external interface working state monitoring control, a CPU load state monitoring control, a memory state monitoring control, a Flash storage state monitoring control, a process state monitoring control, a temperature monitoring control, a power supply monitoring control, a network opening control, a network closing control, a terminal forced restarting control, a network forced restarting control, a positioning data obtaining control, a history track obtaining control, an electronic fence drawing control, an electronic fence alarming control, an electronic circuit drawing control, an electronic circuit alarming control, an overspeed alarming control and a control parameter downloading control.
The management and control development area is used for providing a developer of the third party application with various functions such as work state inquiry, fault alarm, fault diagnosis, terminal restarting, network control, intelligent routing control, log management, terminal service management and the like of the Internet of things equipment, and the third party application is called through webservice; the developer does not need to care about the communication mode with the Internet of things equipment, and can directly monitor, manage, control, alarm, analyze, eliminate and other operations on the authorized Internet of things equipment in the Internet of things application through the management and control development area.
The network state monitoring control is used for calling a monitoring interface of the network state of the Internet of things equipment, receiving a network state report data packet of the Internet of things equipment, recording a network state log of the Internet of things equipment, actively sending a terminal network state test packet to the Internet of things equipment, responding and responding to the network state packet by the Internet of things equipment, and acquiring the terminal on-line state from the communication platform; the network state at least comprises a network type, signal strength, connected, unconnected, current IP address, current gateway IP and current DNS;
the network flow monitoring control is used for calling a network flow monitoring interface of the internet of things device, receiving a network flow state report data packet of the internet of things device through the network flow monitoring interface, judging whether the network flow of the internet of things device is close to a quota and giving an alarm, and storing a flow log of the internet of things device; i.e. the flow limit alarm threshold is exceeded, the alarm is given;
The network connection flow monitoring control is used for calling a network connection flow monitoring interface of the Internet of things equipment, and checking network connection flow data information of the Internet of things equipment through the network connection flow monitoring interface; the network connection flow data information at least comprises the number of internal and external data packets, the number of external bytes, the number of external short messages, the number of received data packets, the number of received bytes and the number of received short messages in the hour; the function of the control is based on a trigger function, when data is transmitted and received to an external interface (serial port or GPIO port), statistics is carried out, and the statistical result is stored in Flash every 1 hour (whole point);
the external interface working state monitoring control is used for calling an external interface working state monitoring interface of the internet of things device, checking whether the external interface of the internet of things device is connected smoothly or not through the external interface working state monitoring interface, and returning a state report of the external interface; the status report at least comprises a working status and a buffer status; the control function is based on a general function, namely, the working state and the buffer state of each external interface are scanned, and a state report is returned;
the CPU load state monitoring control is used for calling a CPU load state monitoring interface of the Internet of things equipment, checking the use occupancy rate of a CPU through the CPU load state monitoring interface, monitoring the CPU load state of the terminal to ensure the efficient operation of the terminal, acquiring CPU hardware information, a kernel load report and load upper limit setting, carrying out CPU overload warning, and monitoring an operation process to analyze the CPU occupancy rate; the CPU load state at least comprises a user load, a system load and an idle load; the function of the CPU load state monitoring control is based on a general function, and the platform or the Lua script initiates the call;
The memory state monitoring control is used for calling a memory state monitoring interface of the Internet of things equipment, acquiring memory state and total memory information at regular time through the memory state monitoring interface, and monitoring the residual memory, the memory utilization rate and the memory service condition for a developer to develop and call the Lua script;
the Flash storage state monitoring control is used for calling a Flash storage state monitoring interface of the internet of things device, and remotely monitoring the storage space of the built-in memory of the internet of things device through the Flash storage state monitoring interface so as to perform remote maintenance;
the process state monitoring control is used for calling a process state monitoring interface of the Internet of things equipment, and reading the system process state of the Internet of things equipment and all running process information through the process state monitoring interface;
the temperature monitoring control is used for calling a temperature monitoring interface of the Internet of things equipment, and monitoring the temperature state of the Internet of things equipment through the temperature monitoring interface so as to ensure that the load of the Internet of things equipment is normal; the function of the temperature monitoring control is based on a terminal temperature monitoring function, the temperature condition of the Internet of things equipment is detected, and when the temperature exceeds a certain temperature, the temperature monitoring control alarms in real time, so that the normal operation of the Internet of things equipment is ensured;
The power supply monitoring control is used for calling a power supply monitoring interface of the Internet of things equipment, and monitoring the battery state of the Internet of things equipment through the power supply monitoring interface so as to judge whether the Internet of things equipment can be guaranteed to receive or send data packets in real time; the function of the power supply monitoring control is based on a terminal power supply monitoring function, namely, the power supply condition of the Internet of things equipment is detected, and when the Internet of things equipment is in low power, an alarm is given, so that the normal operation of the Internet of things equipment is ensured;
the network opening control is used for calling an opening network interface of the Internet of things equipment, and remotely opening a network for the Internet of things equipment through the opening network interface; when the method is implemented, network communication can be opened and closed, the state of a network switch can be inquired, and the network can be opened for the Internet of things equipment remotely;
the closing network control is used for calling a closing network interface of the Internet of things equipment, and remotely closing the network for the Internet of things equipment through the closing network interface;
the terminal forced restarting control is used for calling a forced restarting interface of the internet of things equipment, and the forced restarting interface is used for remotely and forcedly restarting the internet of things equipment, so that the forced restarting of the internet of things equipment can be realized under the condition that the internet of things equipment is dead or can not be restarted, and the smoothness of the connection of the internet of things equipment is ensured;
The network forced restarting control is used for calling a network forced restarting interface of the Internet of things equipment, and the network forced restarting control is used for forcibly restarting the network of the Internet of things equipment through the network forced restarting interface, so that the Internet of things equipment can be subjected to network forced restarting when the network fails;
the positioning data acquisition control is used for calling a real-time positioning data acquisition interface of the Internet of things equipment, and acquiring specific position information of the Internet of things equipment through the real-time positioning data acquisition interface; the specific position information at least comprises a positioning type, a positioning state, UTC time, longitude, latitude, altitude, speed and azimuth; the positioning data acquisition control can acquire positioning data acquired by the GPS in real time, and report one positioning data every time one positioning data is acquired, so that track storage is not performed;
the history track acquisition control is used for calling a history track data acquisition interface of the internet of things device, and checking a history path of the internet of things device in a certain time period through the history track data acquisition interface;
the electronic fence drawing control is used for calling an electronic fence drawing interface, drawing an electronic fence through the electronic fence drawing interface and recording the electronic fence to the database; namely, inputting a series of coordinate point positions of (x, y, z) to draw a polygonal electronic fence;
The electronic fence alarm control is used for calling an electronic fence alarm interface, and alarming for entering and exiting the electronic fence through the electronic fence alarm interface based on the bound electronic fence and the set alarm condition;
the electronic circuit drawing control is used for calling an electronic circuit drawing interface, drawing an electronic circuit through the electronic circuit drawing interface and recording the drawing result into the database; namely, inputting a series of (x, y) coordinate points, and connecting the coordinate points into a curve;
the electronic circuit alarm control is used for calling an electronic circuit alarm interface, setting alarm conditions and alarm information of an electronic circuit through the electronic circuit alarm interface, binding the alarm conditions and the alarm information to a specific electronic fence so as to monitor the real-time position state of the Internet of things equipment and alarm;
the overspeed alarm control is used for calling a terminal overspeed alarm interface and carrying out overspeed alarm on the Internet of things equipment through the terminal overspeed alarm interface; the overspeed alarming control is used for setting overspeed speed, so that the real-time speed of the Internet of things equipment can be monitored, and an alarm is generated when the overspeed speed exceeds the overspeed speed;
and the control parameter downloading control is used for downloading the control parameters of the first control and is used for a developer to develop the Lua script.
In the development interface creation module, the APP development area is provided with a plurality of second controls, and the second controls at least comprise a communication network control, a system file management control, a serial port data receiving and transmitting control and a protocol message receiving and transmitting control; the communication network control, the system file management control, the serial port data receiving and transmitting control and the protocol message receiving and transmitting control are all API libraries;
the communication network control is used for network selection, network online judgment, short message receiving, short message sending, UDP connection, UDP sending, UDP receiving, UDP disconnection, TCP connection, TCP sending, TCP receiving, TCP disconnection, GPRS dialing opening and GPRS dialing disconnection;
the system file management control is used for managing a file directory list, modifying a path, creating a directory, renaming a file directory, deleting a file, opening a file, reading a file, writing a file and closing a file;
the serial port data receiving and dispatching control is used for opening a specified serial port, reading serial port data, sending serial port data and closing the serial port;
the auxiliary development area is provided with a plurality of arrangement templates, application development tools and management tools; the arrangement template is used for setting interaction logic and interaction flow of the first control or the second control;
The capability development area is used for configuring a calling and inquiring interface of the Internet of things equipment, and calling and inquiring the terminal capability of the Internet of things equipment through the calling and inquiring interface; the capability development area is packaged on the external development interface, and the java and C# languages are respectively used for packaging the local development library, so that a developer can conveniently call the capability of the Internet of things, and the capability development area is combined with the embedded application development library of the Internet of things equipment to provide a rapid capability development test function;
the online debugging area is used for carrying out online test, real machine test, script submitting and draft saving on the application of the Internet of things;
and the online compiling environment of the online debugging area is based on a JavaScript technology, and the Lua virtual machine is operated in the JavaScript virtual machine by utilizing lua.vm.js. The complete Lua virtual machine can not only run in the JavaScript virtual machine, but also call JS codes, and Mozilla shows the powerful asm.js. Running another virtual machine in one virtual machine, performance is an important problem, and benchmark tests show that the performance reaches 50% of the original code under the condition, and the performance can be compared with other C codes compiled to asm.js, so that the performance is good enough for a specific scene, and the gzip is about 200KB after compression, so that the resource consumption is saved. Highlighting implementation of online compilation environment CodeMirrorjs, codeMirror is a JavaScript-based code editor, and codemirrors support grammar highlighting of a large number of languages, including highlighting of css, html, js, etc. In addition, codeMirror also supports code autocompletion, search/replacement, HTML preview, line number, select/search result highlighting, visualization tab, code autocompletion, and the like.
When in online test, a developer can write a script, the script can highlight keywords, whether the grammar of the Lua script is correct or not is tested online, and the compiling result is displayed in the right output area, so that a user can conveniently find errors in time. The real machine test is to carry out joint test by connecting an online platform of the Internet of things, and to select whether a script language written by the test terminal and the issued instruction test can generate a desired result, and the result is output to a feedback right output frame. The submitting script is used for submitting the edited script to the server after the online test and the true machine test are passed. Draft preservation is convenient for a user to preserve the script language written currently, and when the user enters the page again, if the preserved draft exists, the user prompts that' whether the draft needs to be opened? And automatically storing the draft every 5 minutes, and manually storing the current draft, so that the written script can be conveniently stored for the user when other emergency events such as sudden power failure occur.
The release management area is used for carrying out release, addition, deletion, modification and check management on the application of the Internet of things.
The auxiliary development module is specifically used for: automatically arranging each first control or each second control of the application arrangement area through an arrangement template of the auxiliary development area;
The online debugging module is specifically used for: performing online test, real machine test, script submitting and draft saving online debugging on the application of the Internet of things through the online debugging area;
the release management module is specifically configured to: and carrying out the management of release, addition, deletion, modification and check on the application of the Internet of things through the release management area.
In summary, the invention has the advantages that:
an application development interface comprising an application arrangement area, a management development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a release management area is created; the method comprises the steps of moving a first control of a management and control development area and a second control of an APP development area to an application arrangement area in a dragging, automatically arranging each first control or each second control of the application arrangement area through an arrangement template of an auxiliary development area, adjusting interaction logic and interaction flow of each first control or each second control which is automatically arranged, and setting attributes of each first control and each second control to generate arrangement configuration data; then, configuring a calling query interface of the Internet of things equipment through a capability development area, generating Internet of things application based on arrangement configuration data and the calling query interface, carrying out online debugging on the Internet of things application through an online debugging area, and finally, publishing and managing the Internet of things application through a publishing management area so as to finish development of the Internet application; the method and the system have the advantages that the first control and the second control in the application development interface are dragged, the application arrangement area can be arranged, the arrangement process can be automatically arranged through the arrangement template preset in the auxiliary development area, then the adjustment is performed adaptively, the generated Internet of things application can be debugged online, the debugging is qualified, the application can be released, a developer does not need to write codes in the whole process, the development threshold of the Internet of things application is greatly reduced, the first control and the second control which are abundant in quantity can be directly used for multiplexing to develop different Internet of things applications, the workload of repeated development is reduced, and the development efficiency of the Internet of things application is finally greatly improved.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that the specific embodiments described are illustrative only and not intended to limit the scope of the invention, and that equivalent modifications and variations of the invention in light of the spirit of the invention will be covered by the claims of the present invention.

Claims (10)

1. The application development management method for the Internet of things is characterized by comprising the following steps of: the method comprises the following steps:
step S10, creating an application development interface comprising an application programming area, a management development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a distribution management area;
step S20, moving the first control of the management and control development area to an application arrangement area in a dragging, pulling and dragging interaction mode;
step S30, moving the second control of the APP development area to an application arrangement area in a dragging, pulling and dragging interaction mode;
step S40, automatically arranging each first control or each second control of an application arrangement area through the auxiliary development area;
step S50, adjusting interaction logic and interaction flow of each first control or each second control automatically arranged in the application arrangement area, setting the attribute of each first control and each second control, and further generating arrangement configuration data;
Step S60, configuring a calling query interface of the Internet of things equipment through the capability development area, and generating Internet of things application based on the arrangement configuration data and the calling query interface;
step S70, online debugging is carried out on the application of the Internet of things through the online debugging area;
and step S80, the application of the Internet of things is published and managed through the publication management area.
2. The method for developing and managing the application of the internet of things according to claim 1, wherein the method comprises the following steps: in step S10, the control development area is provided with a plurality of first controls, where the first controls at least include a network state monitoring control, a network flow monitoring control, a network connection flow monitoring control, an external interface working state monitoring control, a CPU load state monitoring control, a memory state monitoring control, a Flash storage state monitoring control, a process state monitoring control, a temperature monitoring control, a power supply monitoring control, an open network control, a close network control, a terminal forced restart control, a network forced restart control, a positioning data acquisition control, a history track acquisition control, an electronic fence drawing control, an electronic fence alarm control, an electronic circuit drawing control, an electronic circuit alarm control, an overspeed alarm control, and a control parameter downloading control.
3. The method for developing and managing the application of the internet of things according to claim 2, wherein the method comprises the following steps: the network state monitoring control is used for calling a monitoring interface of the network state of the Internet of things equipment, receiving a network state report data packet of the Internet of things equipment, recording a network state log of the Internet of things equipment, and actively sending a terminal network state test packet to the Internet of things equipment; the network state at least comprises a network type, signal strength, connected, unconnected, current IP address, current gateway IP and current DNS;
the network flow monitoring control is used for calling a network flow monitoring interface of the internet of things device, receiving a network flow state report data packet of the internet of things device through the network flow monitoring interface, judging whether the network flow of the internet of things device is close to a quota and giving an alarm, and storing a flow log of the internet of things device;
the network connection flow monitoring control is used for calling a network connection flow monitoring interface of the Internet of things equipment, and checking network connection flow data information of the Internet of things equipment through the network connection flow monitoring interface; the network connection flow data information at least comprises the number of internal and external data packets, the number of external bytes, the number of external short messages, the number of received data packets, the number of received bytes and the number of received short messages in the hour;
The external interface working state monitoring control is used for calling an external interface working state monitoring interface of the internet of things device, checking whether the external interface of the internet of things device is connected smoothly or not through the external interface working state monitoring interface, and returning a state report of the external interface; the status report at least comprises a working status and a buffer status;
the CPU load state monitoring control is used for calling a CPU load state monitoring interface of the Internet of things equipment, checking the use occupancy rate of the CPU through the CPU load state monitoring interface, acquiring CPU hardware information, a kernel load report and load upper limit setting, carrying out CPU overload warning, and running process monitoring to analyze the CPU occupancy rate; the CPU load state at least comprises a user load, a system load and an idle load;
the memory state monitoring control is used for calling a memory state monitoring interface of the Internet of things equipment, acquiring memory state and total memory information at regular time through the memory state monitoring interface, and monitoring the residual memory, the memory utilization rate and the memory service condition;
the Flash storage state monitoring control is used for calling a Flash storage state monitoring interface of the internet of things device, and remotely monitoring the storage space of the built-in memory of the internet of things device through the Flash storage state monitoring interface;
The process state monitoring control is used for calling a process state monitoring interface of the Internet of things equipment, and reading the system process state of the Internet of things equipment and all running process information through the process state monitoring interface;
the temperature monitoring control is used for calling a temperature monitoring interface of the Internet of things equipment, and monitoring the temperature state of the Internet of things equipment through the temperature monitoring interface;
the power supply monitoring control is used for calling a power supply monitoring interface of the Internet of things equipment, and monitoring the battery state of the Internet of things equipment through the power supply monitoring interface so as to judge whether the Internet of things equipment can be guaranteed to receive or send data packets in real time;
the network opening control is used for calling an opening network interface of the Internet of things equipment, and remotely opening a network for the Internet of things equipment through the opening network interface;
the closing network control is used for calling a closing network interface of the Internet of things equipment, and remotely closing the network for the Internet of things equipment through the closing network interface;
the terminal forced restarting control is used for calling a forced restarting interface of the internet of things equipment, and is used for remotely and forcedly restarting the internet of things equipment;
the network forced restarting control is used for calling a network forced restarting interface of the internet of things equipment, and the network forced restarting interface is used for forcibly restarting the network of the internet of things equipment;
The positioning data acquisition control is used for calling a real-time positioning data acquisition interface of the Internet of things equipment, and acquiring specific position information of the Internet of things equipment through the real-time positioning data acquisition interface; the specific position information at least comprises a positioning type, a positioning state, UTC time, longitude, latitude, altitude, speed and azimuth;
the history track acquisition control is used for calling a history track data acquisition interface of the internet of things device, and checking a history path of the internet of things device in a certain time period through the history track data acquisition interface;
the electronic fence drawing control is used for calling an electronic fence drawing interface, drawing an electronic fence through the electronic fence drawing interface and recording the electronic fence to the database;
the electronic fence alarm control is used for calling an electronic fence alarm interface, and alarming for entering and exiting the electronic fence through the electronic fence alarm interface based on the bound electronic fence and the set alarm condition;
the electronic circuit drawing control is used for calling an electronic circuit drawing interface, drawing an electronic circuit through the electronic circuit drawing interface and recording the drawing result into the database;
the electronic circuit alarm control is used for calling an electronic circuit alarm interface, setting alarm conditions and alarm information of an electronic circuit through the electronic circuit alarm interface, binding the alarm conditions and the alarm information to a specific electronic fence so as to monitor the real-time position state of the Internet of things equipment and alarm;
The overspeed alarm control is used for calling a terminal overspeed alarm interface and carrying out overspeed alarm on the Internet of things equipment through the terminal overspeed alarm interface;
and the control parameter downloading control is used for downloading the control parameters of the first control.
4. The method for developing and managing the application of the internet of things according to claim 1, wherein the method comprises the following steps: in the step S10, the APP development area is provided with a plurality of second controls, where the second controls at least include a communication network control, a system file management control, a serial port data transceiver control, and a protocol message transceiver control;
the communication network control is used for network selection, network online judgment, short message receiving, short message sending, UDP connection, UDP sending, UDP receiving, UDP disconnection, TCP connection, TCP sending, TCP receiving, TCP disconnection, GPRS dialing opening and GPRS dialing disconnection;
the system file management control is used for managing a file directory list, modifying a path, creating a directory, renaming a file directory, deleting a file, opening a file, reading a file, writing a file and closing a file;
the serial port data receiving and dispatching control is used for opening a specified serial port, reading serial port data, sending serial port data and closing the serial port;
The auxiliary development area is provided with a plurality of arrangement templates, application development tools and management tools; the arrangement template is used for setting interaction logic and interaction flow of the first control or the second control;
the capability development area is used for configuring a calling and inquiring interface of the Internet of things equipment, and calling and inquiring the terminal capability of the Internet of things equipment through the calling and inquiring interface;
the online debugging area is used for carrying out online test, real machine test, script submitting and draft saving on the application of the Internet of things;
the release management area is used for carrying out release, addition, deletion, modification and check management on the application of the Internet of things.
5. The method for developing and managing the application of the internet of things according to claim 1, wherein the method comprises the following steps: the step S40 specifically includes: automatically arranging each first control or each second control of the application arrangement area through an arrangement template of the auxiliary development area;
the step S70 specifically includes: performing online test, real machine test, script submitting and draft saving online debugging on the application of the Internet of things through the online debugging area;
the step S80 specifically includes: and carrying out the management of release, addition, deletion, modification and check on the application of the Internet of things through the release management area.
6. An application development management system of the internet of things, which is characterized in that: the device comprises the following modules:
the development interface creation module is used for creating an application development interface comprising an application programming area, a management development area, an APP development area, an auxiliary development area, a capability development area, an online debugging area and a development management area;
the control development module is used for moving the first control of the control development area to the application arrangement area in a dragging, pulling and dragging interaction mode;
the APP development module is used for moving the second control of the APP development area to the application arrangement area in a dragging, pulling and dragging interaction mode;
the auxiliary development module is used for automatically arranging each first control or each second control of the application arrangement area through the auxiliary development area;
the application arrangement module is used for adjusting interaction logic and interaction flow of each first control or each second control which is automatically arranged in the application arrangement area, setting the attribute of each first control and each second control and further generating arrangement configuration data;
the capability development module is used for configuring a calling query interface of the Internet of things equipment through the capability development area, and generating Internet of things application based on the arrangement configuration data and the calling query interface;
The online debugging module is used for online debugging the application of the Internet of things through the online debugging area;
and the release management module is used for releasing and managing the application of the Internet of things through the release management area.
7. The application development management system of the internet of things according to claim 6, wherein: in the development interface creation module, the management and control development area is provided with a plurality of first controls, and the first controls at least comprise a network state monitoring control, a network flow monitoring control, a network connection flow monitoring control, an external interface working state monitoring control, a CPU load state monitoring control, a memory state monitoring control, a Flash storage state monitoring control, a process state monitoring control, a temperature monitoring control, a power supply monitoring control, a network opening control, a network closing control, a terminal forced restarting control, a network forced restarting control, a positioning data obtaining control, a history track obtaining control, an electronic fence drawing control, an electronic fence alarming control, an electronic circuit drawing control, an electronic circuit alarming control, an overspeed alarming control and a control parameter downloading control.
8. The internet of things application development management system of claim 7, wherein: the network state monitoring control is used for calling a monitoring interface of the network state of the Internet of things equipment, receiving a network state report data packet of the Internet of things equipment, recording a network state log of the Internet of things equipment, and actively sending a terminal network state test packet to the Internet of things equipment; the network state at least comprises a network type, signal strength, connected, unconnected, current IP address, current gateway IP and current DNS;
The network flow monitoring control is used for calling a network flow monitoring interface of the internet of things device, receiving a network flow state report data packet of the internet of things device through the network flow monitoring interface, judging whether the network flow of the internet of things device is close to a quota and giving an alarm, and storing a flow log of the internet of things device;
the network connection flow monitoring control is used for calling a network connection flow monitoring interface of the Internet of things equipment, and checking network connection flow data information of the Internet of things equipment through the network connection flow monitoring interface; the network connection flow data information at least comprises the number of internal and external data packets, the number of external bytes, the number of external short messages, the number of received data packets, the number of received bytes and the number of received short messages in the hour;
the external interface working state monitoring control is used for calling an external interface working state monitoring interface of the internet of things device, checking whether the external interface of the internet of things device is connected smoothly or not through the external interface working state monitoring interface, and returning a state report of the external interface; the status report at least comprises a working status and a buffer status;
the CPU load state monitoring control is used for calling a CPU load state monitoring interface of the Internet of things equipment, checking the use occupancy rate of the CPU through the CPU load state monitoring interface, acquiring CPU hardware information, a kernel load report and load upper limit setting, carrying out CPU overload warning, and running process monitoring to analyze the CPU occupancy rate; the CPU load state at least comprises a user load, a system load and an idle load;
The memory state monitoring control is used for calling a memory state monitoring interface of the Internet of things equipment, acquiring memory state and total memory information at regular time through the memory state monitoring interface, and monitoring the residual memory, the memory utilization rate and the memory service condition;
the Flash storage state monitoring control is used for calling a Flash storage state monitoring interface of the internet of things device, and remotely monitoring the storage space of the built-in memory of the internet of things device through the Flash storage state monitoring interface;
the process state monitoring control is used for calling a process state monitoring interface of the Internet of things equipment, and reading the system process state of the Internet of things equipment and all running process information through the process state monitoring interface;
the temperature monitoring control is used for calling a temperature monitoring interface of the Internet of things equipment, and monitoring the temperature state of the Internet of things equipment through the temperature monitoring interface;
the power supply monitoring control is used for calling a power supply monitoring interface of the Internet of things equipment, and monitoring the battery state of the Internet of things equipment through the power supply monitoring interface so as to judge whether the Internet of things equipment can be guaranteed to receive or send data packets in real time;
the network opening control is used for calling an opening network interface of the Internet of things equipment, and remotely opening a network for the Internet of things equipment through the opening network interface;
The closing network control is used for calling a closing network interface of the Internet of things equipment, and remotely closing the network for the Internet of things equipment through the closing network interface;
the terminal forced restarting control is used for calling a forced restarting interface of the internet of things equipment, and is used for remotely and forcedly restarting the internet of things equipment;
the network forced restarting control is used for calling a network forced restarting interface of the internet of things equipment, and the network forced restarting interface is used for forcibly restarting the network of the internet of things equipment;
the positioning data acquisition control is used for calling a real-time positioning data acquisition interface of the Internet of things equipment, and acquiring specific position information of the Internet of things equipment through the real-time positioning data acquisition interface; the specific position information at least comprises a positioning type, a positioning state, UTC time, longitude, latitude, altitude, speed and azimuth;
the history track acquisition control is used for calling a history track data acquisition interface of the internet of things device, and checking a history path of the internet of things device in a certain time period through the history track data acquisition interface;
the electronic fence drawing control is used for calling an electronic fence drawing interface, drawing an electronic fence through the electronic fence drawing interface and recording the electronic fence to the database;
The electronic fence alarm control is used for calling an electronic fence alarm interface, and alarming for entering and exiting the electronic fence through the electronic fence alarm interface based on the bound electronic fence and the set alarm condition;
the electronic circuit drawing control is used for calling an electronic circuit drawing interface, drawing an electronic circuit through the electronic circuit drawing interface and recording the drawing result into the database;
the electronic circuit alarm control is used for calling an electronic circuit alarm interface, setting alarm conditions and alarm information of an electronic circuit through the electronic circuit alarm interface, binding the alarm conditions and the alarm information to a specific electronic fence so as to monitor the real-time position state of the Internet of things equipment and alarm;
the overspeed alarm control is used for calling a terminal overspeed alarm interface and carrying out overspeed alarm on the Internet of things equipment through the terminal overspeed alarm interface;
and the control parameter downloading control is used for downloading the control parameters of the first control.
9. The application development management system of the internet of things according to claim 6, wherein: in the development interface creation module, the APP development area is provided with a plurality of second controls, and the second controls at least comprise a communication network control, a system file management control, a serial port data receiving and transmitting control and a protocol message receiving and transmitting control;
The communication network control is used for network selection, network online judgment, short message receiving, short message sending, UDP connection, UDP sending, UDP receiving, UDP disconnection, TCP connection, TCP sending, TCP receiving, TCP disconnection, GPRS dialing opening and GPRS dialing disconnection;
the system file management control is used for managing a file directory list, modifying a path, creating a directory, renaming a file directory, deleting a file, opening a file, reading a file, writing a file and closing a file;
the serial port data receiving and dispatching control is used for opening a specified serial port, reading serial port data, sending serial port data and closing the serial port;
the auxiliary development area is provided with a plurality of arrangement templates, application development tools and management tools; the arrangement template is used for setting interaction logic and interaction flow of the first control or the second control;
the capability development area is used for configuring a calling and inquiring interface of the Internet of things equipment, and calling and inquiring the terminal capability of the Internet of things equipment through the calling and inquiring interface;
the online debugging area is used for carrying out online test, real machine test, script submitting and draft saving on the application of the Internet of things;
the release management area is used for carrying out release, addition, deletion, modification and check management on the application of the Internet of things.
10. The application development management system of the internet of things according to claim 1, wherein: the auxiliary development module is specifically used for: automatically arranging each first control or each second control of the application arrangement area through an arrangement template of the auxiliary development area;
the online debugging module is specifically used for: performing online test, real machine test, script submitting and draft saving online debugging on the application of the Internet of things through the online debugging area;
the release management module is specifically configured to: and carrying out the management of release, addition, deletion, modification and check on the application of the Internet of things through the release management area.
CN202311724102.3A 2023-12-15 2023-12-15 Application development management method and system for Internet of things Pending CN117891436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311724102.3A CN117891436A (en) 2023-12-15 2023-12-15 Application development management method and system for Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311724102.3A CN117891436A (en) 2023-12-15 2023-12-15 Application development management method and system for Internet of things

Publications (1)

Publication Number Publication Date
CN117891436A true CN117891436A (en) 2024-04-16

Family

ID=90649753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311724102.3A Pending CN117891436A (en) 2023-12-15 2023-12-15 Application development management method and system for Internet of things

Country Status (1)

Country Link
CN (1) CN117891436A (en)

Similar Documents

Publication Publication Date Title
CN103544095B (en) The method for supervising of server program and system thereof
CN104539053A (en) Power dispatching automation polling robot and method based on reptile technology
CN103646104A (en) Hard real-time fault diagnosis method and system
CN112527600A (en) Monitoring log processing method, device, equipment and storage medium
CN109901889A (en) The full link monitoring method of supporting business system O&M based on J2EE platform
CN111431754A (en) Fault analysis method and system for power distribution and utilization communication network
CN111209166A (en) Automatic inspection system for B/S architecture business system
CN107463490B (en) Cluster log centralized collection method applied to platform development
CN106027674A (en) Technology architecture of "Internet & smart manufacturing"
CN107122307B (en) Internet of things execution system
CN111711695B (en) Distributed equipment management system based on cloud platform
KR20220060429A (en) System for collecting log data of remote network switches and method for constructing big-data thereof
CN117891436A (en) Application development management method and system for Internet of things
CN116719697A (en) System monitoring method, device, terminal equipment and storage medium
CN110855757A (en) Soft start equipment management system and method based on cloud service
CN114510398A (en) Anomaly monitoring method, apparatus, device, system and medium
CN111400060B (en) Equipment linkage method, device, server and medium
CN112416698B (en) Expansion method and device of monitoring system, storage medium and electronic equipment
CN111475322A (en) Method and device for positioning stuck thread, computer equipment and readable storage medium
CN110995486A (en) Intelligent hardware equipment monitoring system based on Internet of things
CN118200140B (en) Data processing method, management system and related equipment
CN117313189B (en) Visual analysis method, system, terminal and storage medium for optical fiber secondary circuit
CN116931965B (en) Integrated stream processing method, device, electronic equipment and storage medium
CN109684158A (en) Method for monitoring state, device, equipment and the storage medium of distributed coordination system
CN117097635B (en) Method, device, storage medium and equipment for calling link sampling

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