CN113448583A - Configuration development method and device based on Internet of things, terminal equipment and medium - Google Patents

Configuration development method and device based on Internet of things, terminal equipment and medium Download PDF

Info

Publication number
CN113448583A
CN113448583A CN202110997233.3A CN202110997233A CN113448583A CN 113448583 A CN113448583 A CN 113448583A CN 202110997233 A CN202110997233 A CN 202110997233A CN 113448583 A CN113448583 A CN 113448583A
Authority
CN
China
Prior art keywords
development
internet
things
configuration
preset
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
CN202110997233.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.)
Shenzhen Xinrun Fulian Digital Technology Co Ltd
Original Assignee
Shenzhen Xinrun Fulian Digital Technology 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 Shenzhen Xinrun Fulian Digital Technology Co Ltd filed Critical Shenzhen Xinrun Fulian Digital Technology Co Ltd
Priority to CN202110997233.3A priority Critical patent/CN113448583A/en
Publication of CN113448583A publication Critical patent/CN113448583A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]
    • 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
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a configuration development method, a configuration development device, terminal equipment and a medium based on the Internet of things, wherein a preset configuration development platform is built through a terminal, and a standardized configuration file is generated based on the preset configuration development platform; generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things; and generating a user side control model according to the standardized configuration file, and calling the user side control model to generate a user side interface for controlling the novel research and development equipment based on the Internet of things. Therefore, the configuration development method based on the Internet of things changes the process that developers need to carry out independent coding development aiming at the equipment end and the user end, and does not need to carry out third-party verification through traditional online publishing, so that the efficiency of carrying out system development aiming at novel research and development equipment based on the Internet of things is greatly improved.

Description

Configuration development method and device based on Internet of things, terminal equipment and medium
Technical Field
The invention relates to the technical field of the Internet of things, in particular to a configuration development method, a configuration development device, terminal equipment and a medium based on the Internet of things.
Background
The Internet of things is an important component of a new generation of information technology and is an Internet with connected objects; the basic core of the system is the internet, which is an extended and expanded network based on the internet, and the user side is extended and expanded to any article to article, and further performs information exchange and communication.
In current smart furniture or industrial internet of things (IoT) system projects, new research and development devices are continuously on the market, which means that a large number of new research and development devices need to join an IoT system. On this basis, research and development team need constantly establish new novel research and development equipment model (for example, multiple novel research and development equipment such as novel air exhauster, novel lathe and novel car) in order to insert thing networking system. In this process, front end, user end and equipment end all need carry out independent coding development separately and satisfy the demand that novel research and development equipment docked the internet to send the version through the flow of going online, lead to the efficiency that carries out system development to novel research and development equipment based on the thing networking lower, be difficult to satisfy people's demand.
Therefore, how to improve the efficiency of system development aiming at novel research and development equipment based on the internet of things is a difficult problem to be solved urgently in the technical field of the current internet of things.
Disclosure of Invention
The invention mainly aims to provide a configuration development method, a configuration development device, terminal equipment and a configuration development medium based on the Internet of things, and aims to improve the efficiency of system development on novel research and development equipment based on the Internet of things.
In order to achieve the above object, the present invention provides a configuration development method based on the internet of things, which includes the following steps:
building a preset configuration development platform, and generating a standardized configuration file based on the preset configuration development platform;
generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things;
and generating a user side control model according to the standardized configuration file, and calling the user side control model to generate a user side interface for controlling the novel research and development equipment based on the Internet of things.
Further, before the step of generating a standardized configuration file based on the preset configuration development platform, the method includes:
and constructing a graph interaction module, and importing the graph interaction module into the preset configuration development platform.
Further, the step of constructing a graphical interaction module includes:
determining the attribute of a blank graphic interaction module according to a preset construction file;
and generating a method logic of the blank graph interaction module with the determined attribute according to a preset function so as to generate the graph interaction module.
Further, the step of generating a method logic of the blank graphic interaction module with determined attributes according to a preset function includes:
determining a function of the novel research and development equipment corresponding to the blank graph interaction module with the determined attribute according to a preset function to obtain a basic graph interaction module;
and defining the implementation logic of the functions of the novel research and development equipment according to the basic graphic interaction module.
Further, the step of generating a standardized configuration file based on the preset configuration development platform includes:
calling a graphic interaction module to configure in the blank standardized configuration file to obtain a standardized configuration file; and/or the presence of a gas in the gas,
and importing a pre-stored standardized configuration file from a preset data source.
Further, the user-side interface includes: the method comprises an application program side interface and a webpage side interface, and the step of calling the user side control model to generate a user side interface which is controlled by the novel research and development equipment based on the Internet of things comprises the following steps:
calling the user side control model to generate an application program side interface according to interface development attributes of a preset application program side; and/or the presence of a gas in the gas,
and calling the user side control model to generate the webpage side interface according to the interface development attribute of the preset webpage side.
Further, the step of calling the user side control model to generate the application program side interface according to the interface development attribute of the preset application program side includes:
calling the user side control model to perform picture rendering on a blank interface of the preset application program side, and performing function construction on the blank interface subjected to picture rendering to generate the application program side interface;
the step of calling the user side control model to generate the webpage side interface according to the interface development attribute of the preset webpage side comprises the following steps:
and calling the user side control model to perform picture rendering on the blank interface of the preset webpage side, and performing function construction on the blank interface subjected to picture rendering to generate the webpage side interface.
In addition, to achieve the above object, the present invention further provides an internet of things-based configuration development apparatus, including:
the device comprises a building module, a configuration module and a configuration module, wherein the building module is used for building a preset configuration development platform and generating a standardized configuration file based on the preset configuration development platform;
the first generation module is used for generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things;
and the second generation module is used for generating a user side control model according to the standardized configuration file and calling the user side control model to generate a user side interface which is controlled by the novel research and development equipment based on the Internet of things.
The steps of the configuration and development method based on the internet of things are realized when each functional module of the configuration and development device based on the internet of things runs.
In addition, to achieve the above object, the present invention also provides a terminal device, including: the system comprises a memory, a processor and an internet of things based configuration development program stored on the memory and capable of running on the processor, wherein the internet of things based configuration development program realizes the steps of the internet of things based configuration development method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the configuration development method based on the internet of things as described above.
In addition, the embodiment of the present invention further provides a computer program product, where the computer program product includes an internet of things-based configuration development program, and when executed by a processor, the internet of things-based configuration development program implements the steps of the internet of things-based configuration development method described above.
The steps implemented when the configuration development program based on the internet of things running on the processor is executed may refer to various embodiments of the configuration development method based on the internet of things of the present invention, and are not described herein again.
According to the configuration development method, device, terminal equipment and medium based on the Internet of things, a preset configuration development platform is built, and a standardized configuration file is generated based on the preset configuration development platform; generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things; and generating a user side control model according to the standardized configuration file, and calling the user side control model to generate a user side interface for controlling the novel research and development equipment based on the Internet of things.
According to the invention, a preset configuration development platform is built through a terminal, so that a developer can make and generate a standardized configuration file on the preset configuration development platform; the terminal generates an equipment end control model according to the standardized configuration file, and the equipment end control model is applied to novel research and development equipment needing to be accessed to the Internet of things, so that the novel research and development equipment can be controlled through the Internet of things; and the terminal generates a user side control model according to the standardized configuration file, and further calls the user side control model to generate a preset user side interface so that a user can control the novel research and development equipment through the user side interface based on the Internet of things.
Therefore, the configuration development method based on the internet of things can generate a standardized configuration file through the preset configuration development platform and correspondingly generate the control models of the equipment end and the user end according to the standardized configuration file, so that the condition that resource parameters of the control models defined by multiple ends are not uniform or standard standards are not uniform due to independent coding development of developers aiming at the equipment end and the user end is avoided; meanwhile, the control models of the equipment end and the user end are generated according to standardized configuration files, so that third-party auditing through traditional online publishing is not needed, system development progress is delayed, and the efficiency of carrying out system development on novel research and development equipment based on the Internet of things is greatly improved.
Drawings
Fig. 1 is a schematic structural diagram of a hardware operating environment of a terminal device according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating an embodiment of a configuration development method based on the Internet of things according to the present invention;
fig. 3 is a schematic block structure diagram of a configuration development device based on the internet of things.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment related to a terminal device according to an embodiment of the present invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of the terminal device. The terminal equipment of the embodiment of the invention can be terminal equipment such as a PC, a portable computer and the like.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal device configuration shown in fig. 1 is not intended to be limiting of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer medium, may include therein an operating system, a network communication module, a user interface module, and a distributed task processing program. Among them, the operating system is a program that manages and controls the hardware and software resources of the sample terminal device, a handler that supports distributed tasks, and the execution of other software or programs.
In the terminal apparatus shown in fig. 1, the user interface 1003 is mainly used for data communication with each terminal; the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; and the processor 1001 may be configured to invoke the internet of things based configuration development program stored in the memory 1005 and perform the following operations:
building a preset configuration development platform, and generating a standardized configuration file based on the preset configuration development platform;
generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things;
and generating a user side control model according to the standardized configuration file, and calling the user side control model to generate a user side interface for controlling the novel research and development equipment based on the Internet of things.
Further, before the step of generating the standardized configuration file based on the preset configuration development platform, the processor 1001 may call the configuration development program based on the internet of things stored in the memory 1005, and further perform the following operations:
and constructing a graph interaction module, and importing the graph interaction module into the preset configuration development platform.
Further, the processor 1001 may call the internet of things based configuration development program stored in the memory 1005, and further perform the following operations:
determining the attribute of a blank graphic interaction module according to a preset construction file;
and generating a method logic of the blank graph interaction module with the determined attribute according to a preset function so as to generate the graph interaction module.
Further, the processor 1001 may call the internet of things based configuration development program stored in the memory 1005, and further perform the following operations:
determining a function of the novel research and development equipment corresponding to the blank graph interaction module with the determined attribute according to a preset function to obtain a basic graph interaction module;
and defining the implementation logic of the functions of the novel research and development equipment according to the basic graphic interaction module.
Further, the processor 1001 may call the internet of things based configuration development program stored in the memory 1005, and further perform the following operations:
calling a graphic interaction module to configure in the blank standardized configuration file to obtain a standardized configuration file; and/or the presence of a gas in the gas,
and importing a pre-stored standardized configuration file from a preset data source.
Further, the user-side interface includes: an application-side interface and a web-side interface, the processor 1001 may call the configuration development program based on the internet of things stored in the memory 1005, and further perform the following operations:
calling the user side control model to generate an application program side interface according to interface development attributes of a preset application program side; and/or the presence of a gas in the gas,
and calling the user side control model to generate the webpage side interface according to the interface development attribute of the preset webpage side.
Further, the processor 1001 may call the internet of things based configuration development program stored in the memory 1005, and further perform the following operations:
calling the user side control model to perform picture rendering on a blank interface of the preset application program side, and performing function construction on the blank interface subjected to picture rendering to generate the application program side interface;
and calling the user side control model to perform picture rendering on the blank interface of the preset webpage side, and performing function construction on the blank interface subjected to picture rendering to generate the webpage side interface.
Based on the structure, the invention provides various embodiments of the configuration development method based on the Internet of things.
It should be noted that in the current smart furniture or industrial internet of things (IoT) system project, new research and development devices are continuously on the market, which means that a large amount of new research and development devices need to join the IoT system. On this basis, research and development team need constantly establish new novel research and development equipment model (for example, multiple novel research and development equipment such as novel air exhauster, novel lathe and novel car) in order to insert thing networking system. In this process, front end, user end and equipment end all need carry out independent coding development separately and satisfy the demand that novel research and development equipment docked the internet to send the version through the flow of going online, lead to the efficiency that carries out system development to novel research and development equipment based on the thing networking lower, be difficult to satisfy people's demand.
Therefore, how to improve the efficiency of system development aiming at novel research and development equipment based on the internet of things is a difficult problem to be solved urgently in the technical field of the current internet of things.
Based on the phenomenon, the invention provides various embodiments of the configuration development method based on the Internet of things. It should be noted that, although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than that shown or described herein.
The first embodiment: referring to fig. 2, fig. 2 is a schematic flow chart of a configuration development method based on the internet of things according to a first embodiment of the present invention. The configuration development method based on the Internet of things comprises the following steps:
step S100, a preset configuration development platform is built, and a standardized configuration file is generated based on the preset configuration development platform.
It should be noted that, in this embodiment, the preset configuration development platform is a custom development platform that is set up by the terminal according to a user instruction, and is used for configuring and generating a standardized configuration file; the standardized configuration file is used as a basic file for subsequent terminal generation aiming at the equipment side control model and the user side control model, namely, the resource parameter definition and the standard of the equipment side control model and the user side control model are both derived from the standardized configuration file.
The terminal builds a preset configuration development platform according to the standard of the development codes of the Internet of things, acquires a control instruction triggered by a user, and generates a standardized configuration file on the preset configuration development platform according to the control instruction.
Step S200, generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things.
The terminal carries out code conversion according to the standardized configuration file after presetting the configuration development platform and generating the standardized configuration file, generates an equipment end control model used for controlling novel research and development equipment based on the Internet of things, so that the novel research and development equipment accessible equipment end control model accessed into the Internet of things system receives a control instruction transmitted by a user through the Internet of things, and executes an action or a function corresponding to the control instruction.
Step S300, generating a user side control model according to the standardized configuration file, and calling the user side control model to generate a user side interface for controlling the novel research and development equipment based on the Internet of things.
The terminal is after presetting configuration development platform and generating standardized configuration file, carries out code conversion according to this standardized configuration file and generates user side control model, then transfers this user side control model to generate and right based on the thing networking the user side interface that novel research and development equipment carried out control to it is right to make the user can operate this user side interface, and sends control instruction to novel research and development equipment through the thing networking.
According to the configuration development method, device, terminal equipment and medium based on the Internet of things, a preset configuration development platform is built, and a standardized configuration file is generated based on the preset configuration development platform; generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things; and generating a user side control model according to the standardized configuration file, and calling the user side control model to generate a user side interface for controlling the novel research and development equipment based on the Internet of things.
According to the invention, a preset configuration development platform is built through a terminal, so that a developer can make and generate a standardized configuration file on the preset configuration development platform; the terminal generates an equipment end control model according to the standardized configuration file, and the equipment end control model is applied to novel research and development equipment needing to be accessed to the Internet of things, so that the novel research and development equipment can be controlled through the Internet of things; and the terminal generates a user side control model according to the standardized configuration file, and further calls the user side control model to generate a preset user side interface so that a user can control the novel research and development equipment through the user side interface based on the Internet of things.
Therefore, the configuration development method based on the internet of things can generate a standardized configuration file through the preset configuration development platform and correspondingly generate the control models of the equipment end and the user end according to the standardized configuration file, so that the condition that resource parameters of the control models defined by multiple ends are not uniform or standard standards are not uniform due to independent coding development of developers aiming at the equipment end and the user end is avoided; meanwhile, the control models of the equipment end and the user end are generated according to standardized configuration files, so that third-party auditing through traditional online publishing is not needed, system development progress is delayed, and the efficiency of carrying out system development on novel research and development equipment based on the Internet of things is greatly improved.
Further, based on the first embodiment of the configuration and development method based on the internet of things, the second embodiment of the configuration and development method based on the internet of things is provided.
In a second embodiment of the configuration development method based on the internet of things of the present invention, before the step S100, the method may include:
and S400, constructing a graph interaction module, and importing the graph interaction module into the preset configuration development platform.
It should be noted that, in this embodiment, as for the standardized configuration files used for generating the equipment side control model and the user side control model, since a large amount of coding contents are involved, in order to reduce the development cost, developers may use different graphic interaction modules to construct and form standardized configuration files on a preset configuration development platform; the graphic interaction module is a code module of which a part is used for realizing basic functions or logics.
And the terminal constructs a code module for realizing basic functions or logics, and the code module is used as a graphic interaction module and is led into a preset configuration development platform so as to be used by a developer for compiling a standardized configuration file on the preset configuration development platform.
Specifically, for example, the terminal constructs a code module a for defining the light attributes and the light functions, and then imports the code module a into a preset configuration development platform as a graphic interaction module a, and when a developer needs to add codes for defining the light attributes and the light functions in constructing a standardized configuration file, the graphic interaction module a can be directly used instead of being manually written.
Further, in a possible embodiment, in the step S400, the step of constructing the graphic interaction module includes:
step S401, determining the attribute of the blank graphic interaction module according to the preset construction file.
It should be noted that, in this embodiment, the preset construction file is a file that is written in advance by a user and contains related content defining attributes of the graphical interaction module, so that the terminal constructs the corresponding graphical interaction module according to the preset construction file.
The terminal determines the attributes of the blank graphic interaction module in the system according to a file which is written by a user in advance and contains related contents defining the attributes of the graphic interaction module.
Specifically, for example, the terminal obtains a file a which is pre-written by a user and contains related content defining the attribute of the graphic interaction module based on the electric lamp model, determines the attribute of a blank graphic interaction module in the system as 'electric lamp' according to the file a, and contains two states of 'on' and 'off'.
Step S402, generating method logic of the blank graphic interaction module with the determined attributes according to a preset function so as to generate the graphic interaction module.
It should be noted that, in this embodiment, the preset function is a code written in advance by a user and used for defining the method logic of the graphical interaction module; and the method logic is a function limit and a function realization limit condition contained in the graphic interaction module, so that a complete graphic interaction module is generated.
After determining the attribute of the blank graphic interaction module, the terminal generates the function limit and the function realization limit conditions of the blank graphic interaction module with the determined attribute in the system according to the code which is written in advance by the user and used for limiting the method logic of the graphic interaction module, thereby generating the complete graphic interaction module.
Further, in a possible embodiment, in step S402, the step of generating a method logic of the blank graphic interaction module after determining the attribute according to the preset function includes:
step S4021, determining the functions of the novel research and development equipment corresponding to the blank graph interaction module with the determined attributes according to a preset function to obtain a basic graph interaction module.
After determining the attributes of the blank graphic interaction module, the terminal determines the functions of novel research and development equipment corresponding to the blank graphic interaction module with the determined attributes according to codes which are written by a user in advance and used for limiting the method logic of the graphic interaction module, so that the basic graphic interaction module is obtained.
Specifically, for example, the terminal obtains a code a which is pre-written by a user and used for defining the method logic of the graphic interaction module, and further generates a function that clicking a button a causes a "light" model corresponding to a blank graphic interaction module to enter an "on" state for the blank graphic interaction module with a determined attribute of "light" in the system according to the code a.
Step S4022, limiting the implementation logic of the functions of the novel research and development equipment according to the basic graphic interaction module.
And the terminal limits the realization logic of the novel research and development equipment function corresponding to the basic graphic interaction module in the system according to a code A which is written by a user in advance and used for limiting the method logic of the graphic interaction module.
Specifically, for example, the terminal obtains a code a which is written in advance by a user and used for defining the method logic of the graphic interaction module, and the implementation logic of the novel research and development device function corresponding to the basic graphic interaction module is defined in the system according to the code a as follows: and if the current time is in the time period of 18: 00-7: 00, triggering the corresponding novel research and development equipment function to be turned on based on the fact that the attribute of the basic graphic interaction module is 'electric lamp'.
Further, in a possible embodiment, in step S100, the step of generating a standardized configuration file based on the preset configuration development platform includes:
and step S101, calling a graphic interaction module to configure in a blank standardized configuration file to obtain a standardized configuration file.
After the terminal obtains a control instruction actively triggered by a user, the terminal calls the graphic interaction module to configure the graphic interaction module on a preset configuration development platform aiming at a blank standardized configuration file to obtain a standardized configuration file, and the standardized configuration file is used as a basis to further generate a corresponding equipment side control model and a corresponding user side control model.
Step S102, importing a pre-stored standardized configuration file from a preset data source.
It should be noted that, in this embodiment, the preset data source includes a database of the terminal itself or an external data storage device.
After acquiring a control instruction actively triggered by a user, the terminal extracts and imports a corresponding standardized configuration file which is written and stored in advance by the user from a preset data source to a preset configuration development platform according to the control instruction.
In the embodiment, the terminal determines the attribute of the blank graphic interaction module in the system according to a file which is pre-written by a user and contains related content defining the attribute of the graphic interaction module; after determining the attribute of the blank graphic interaction module, generating a function limit and a function realization limit condition of the blank graphic interaction module after determining the attribute in the system according to a code which is written by a user in advance and used for limiting the method logic of the graphic interaction module, thereby generating a complete graphic interaction module; after acquiring a control instruction actively triggered by a user, the terminal calls a graphic interaction module to configure a blank standardized configuration file on a preset configuration development platform to obtain a standardized configuration file, and the standardized configuration file is used as a basis to further generate a corresponding equipment end control model and a corresponding user end control model; after acquiring a control instruction actively triggered by a user, the terminal extracts and imports a corresponding standardized configuration file which is written and stored in advance by the user from a preset data source to a preset configuration development platform according to the control instruction.
Therefore, the embodiment realizes that the user can generate the graphic interaction module according to the actual requirement and lead the graphic interaction module into the preset configuration development platform for use in the process of generating the standardized configuration file; in the process of generating the standardized configuration file, a user can write a blank standardized configuration file according to the requirement of the user so as to generate a corresponding standardized configuration file, and can import a pre-stored standardized configuration file from a preset data source; therefore, the personalized requirements of the user in the process of generating the standardized configuration file are further met, and the operation difficulty and the development cost of generating the standardized configuration file are reduced.
Further, based on the first embodiment of the configuration and development method based on the internet of things, a third embodiment of the configuration and development method based on the internet of things is provided.
In a third embodiment of the configuration development method based on the internet of things of the present invention, the user-side interface includes: in step S300, the step of calling the user side control model to generate a user side interface for controlling the novel research and development device based on the internet of things may include:
step S301, calling the user side control model to generate the application program side interface according to the interface development attribute of a preset application program side.
It should be noted that, because the user side interface includes an application program side (App side) interface and a Web page side (Web side) interface, and the App side interface and the Web side interface have differences in the development of the front side interface, the terminal needs to generate the application program side interface according to the interface development attribute of the App side preset by the user and generate the Web page side interface according to the interface development attribute of the Web side preset by the user.
The terminal calls a user side control model generated based on a standardized configuration file, and generates a corresponding application program side interface according to the interface development attribute of a preset application program side, so that a user can operate the application program side interface at the mobile terminal, and a control instruction is sent to corresponding novel research and development equipment accessed to the Internet of things.
Step S302, calling the user side control model to generate the webpage side interface according to the interface development attribute of the preset webpage side.
The terminal calls a user side control model generated based on a standardized configuration file, and generates a corresponding webpage side interface according to the interface development attribute of a preset webpage side, so that a user can operate the webpage side interface, and a control instruction is sent to corresponding novel research and development equipment accessed to the Internet of things.
Further, in a possible embodiment, the step S301 includes:
step S3011, invoking the user side control model to perform image rendering on the blank interface of the preset application program side, and performing function construction on the blank interface subjected to image rendering to generate the application program side interface.
It should be noted that, in this embodiment, a blank interface of the application end is preset as an initial state of the application end interface, and after the terminal calls the user end control model to perform processing, the blank interface of the application end is preset to generate a corresponding application end interface.
The terminal calls a user side control model generated based on a standardized configuration file, picture rendering is carried out on a blank interface of a preset application program side so as to generate basic page layout of the application program side interface, and further function construction is carried out on the application program side interface subjected to picture rendering so as to achieve the effect that a user can interact with the application program side interface, and therefore a corresponding application program side interface is generated.
Specifically, for example, the terminal calls a user side control model to perform picture rendering on a blank interface of a mobile phone App side to generate a basic page layout of the mobile phone App side interface, and then further performs function construction on the mobile phone App side interface to achieve the effect that a user can click an icon a of the mobile phone App side interface to send a 'turn-on' control instruction to a corresponding electric lamp accessed to the internet of things, so that a preset mobile phone App side interface is generated.
Further, in a possible embodiment, the step S302 includes:
step S3021, calling the user side control model to perform image rendering on the blank interface of the preset web page side, and performing function construction on the blank interface subjected to image rendering to generate the web page side interface.
The terminal calls a user side control model generated based on a standardized configuration file, picture rendering is carried out on a blank interface of a preset webpage side to generate a basic page layout of the webpage side interface, and further function construction is carried out on the webpage side interface subjected to picture rendering to achieve the effect that a user can interact with the webpage side interface, so that the generation process of the corresponding webpage side interface is completed.
Specifically, for example, the terminal calls the user side control model to perform picture rendering on a blank interface of the computer webpage side to generate a basic page layout of the computer webpage side interface, and then further performs function construction on the computer webpage side interface, so that a user can click an icon B of the computer webpage side interface to send an "on" control instruction to a corresponding electric lamp accessing the internet of things, and a generation process of a preset computer webpage side interface is completed.
In this embodiment, a user side control model generated based on a standardized configuration file is called through a terminal, and a corresponding application program side interface is generated according to an interface development attribute of a preset application program side, so that a user can operate the application program side interface at the mobile terminal, and a control instruction is sent to a corresponding novel research and development device accessed to the internet of things; the terminal calls a user side control model generated based on a standardized configuration file, and generates a corresponding webpage side interface according to the interface development attribute of a preset webpage side, so that a user can operate the webpage side interface, and a control instruction is sent to corresponding novel research and development equipment accessed to the Internet of things.
Therefore, the embodiment realizes that the terminal calls the user side control model to generate the corresponding application program side interface and the corresponding webpage side interface, and further improves the application range of the user side control model, thereby improving the practicability of the configuration development method based on the internet of things.
In addition, referring to fig. 3, an embodiment of the present invention further provides an internet of things-based configuration development device, where the internet of things-based configuration development device includes:
the device comprises a building module, a configuration module and a configuration module, wherein the building module is used for building a preset configuration development platform and generating a standardized configuration file based on the preset configuration development platform;
the first generation module is used for generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things;
and the second generation module is used for generating a user side control model according to the standardized configuration file and calling the user side control model to generate a user side interface which is controlled by the novel research and development equipment based on the Internet of things.
Preferably, the building module comprises:
and the construction unit is used for constructing a constructed graph interaction module and guiding the graph interaction module into the preset configuration development platform.
Preferably, the building unit comprises:
the determining unit is used for determining the attribute of the blank graphic interaction module according to the preset construction file; and generating a method logic of the blank graph interaction module with the determined attribute according to a preset function so as to generate the graph interaction module.
Preferably, the determination unit includes:
the determining subunit is used for determining a function of the novel research and development equipment corresponding to the blank graph interaction module with the determined attribute according to a preset function to obtain a basic graph interaction module;
and the limiting subunit is used for limiting the implementation logic of the functions of the novel research and development equipment according to the basic graphic interaction module.
Preferably, the building module comprises:
the configuration unit is used for calling the graphic interaction module to configure in the blank standardized configuration file to obtain a standardized configuration file;
and the importing unit is used for importing the pre-stored standardized configuration file from a preset data source.
Preferably, the second generating module comprises:
the first generation unit is used for calling the user side control model to generate the application program side interface according to the interface development attribute of a preset application program side;
and the second generation unit is used for calling the user side control model to generate the webpage side interface according to the interface development attribute of the preset webpage side.
Preferably, the first generation unit includes:
the first rendering construction unit is used for calling the user side control model to perform picture rendering on the blank interface of the preset application program side, and performing function construction on the blank interface subjected to picture rendering to generate the application program side interface.
Preferably, the second generating unit includes:
and the second rendering construction unit is used for calling the user side control model to perform picture rendering on the blank interface of the preset webpage side, and performing function construction on the blank interface subjected to picture rendering so as to generate the webpage side interface.
In addition, an embodiment of the present invention further provides a terminal device, where the terminal device includes: the system comprises a memory, a processor and an internet of things based configuration development program stored on the memory and capable of running on the processor, wherein the internet of things based configuration development program realizes the steps of the internet of things based configuration development method when being executed by the processor.
The steps implemented when the configuration development program based on the internet of things running on the processor is executed may refer to various embodiments of the configuration development method based on the internet of things of the present invention, and are not described herein again.
In addition, an embodiment of the present invention further provides a medium applied to a computer, where the medium may be a non-volatile computer-readable medium, and the medium stores an internet of things-based configuration development program, and when the internet of things-based configuration development program is executed by a processor, the steps of the internet of things-based configuration development method described above are implemented.
The steps implemented when the configuration development program based on the internet of things running on the processor is executed may refer to various embodiments of the configuration development method based on the internet of things of the present invention, and are not described herein again.
In addition, the embodiment of the present invention further provides a computer program product, where the computer program product includes an internet of things-based configuration development program, and when executed by a processor, the internet of things-based configuration development program implements the steps of the internet of things-based configuration development method described above.
The steps implemented when the configuration development program based on the internet of things running on the processor is executed may refer to various embodiments of the configuration development method based on the internet of things of the present invention, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an intelligent express cabinet to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A configuration development method based on the Internet of things is characterized by comprising the following steps:
building a preset configuration development platform, and generating a standardized configuration file based on the preset configuration development platform;
generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things;
and generating a user side control model according to the standardized configuration file, and calling the user side control model to generate a user side interface for controlling the novel research and development equipment based on the Internet of things.
2. The internet of things based configuration development method of claim 1, wherein prior to the step of generating a standardized configuration file based on the preset configuration development platform, comprising:
and constructing a graph interaction module, and importing the graph interaction module into the preset configuration development platform.
3. The internet of things based configuration development method of claim 2, wherein the step of constructing a graphical interaction module comprises:
determining the attribute of a blank graphic interaction module according to a preset construction file;
and generating a method logic of the blank graph interaction module with the determined attribute according to a preset function so as to generate the graph interaction module.
4. The method for configuration development based on the internet of things of claim 3, wherein the step of generating the method logic of the blank graphic interaction module with the determined attribute according to the preset function comprises the following steps:
determining a function of the novel research and development equipment corresponding to the blank graph interaction module with the determined attribute according to a preset function to obtain a basic graph interaction module;
and defining the implementation logic of the functions of the novel research and development equipment according to the basic graphic interaction module.
5. The internet of things-based configuration development method of claim 1, wherein the step of generating a standardized configuration file based on the preset configuration development platform comprises:
calling a graphic interaction module to configure in the blank standardized configuration file to obtain a standardized configuration file; and/or the presence of a gas in the gas,
and importing a pre-stored standardized configuration file from a preset data source.
6. The internet of things-based configuration development method of claim 1, wherein the user-side interface comprises: the method comprises an application program side interface and a webpage side interface, and the step of calling the user side control model to generate a user side interface which is controlled by the novel research and development equipment based on the Internet of things comprises the following steps:
calling the user side control model to generate an application program side interface according to interface development attributes of a preset application program side; and/or the presence of a gas in the gas,
and calling the user side control model to generate the webpage side interface according to the interface development attribute of the preset webpage side.
7. The method for configuration development based on the internet of things according to claim 6, wherein the step of invoking the user-side control model to generate the application-side interface according to the interface development attribute of a preset application side comprises:
calling the user side control model to perform picture rendering on a blank interface of the preset application program side, and performing function construction on the blank interface subjected to picture rendering to generate the application program side interface;
the step of calling the user side control model to generate the webpage side interface according to the interface development attribute of the preset webpage side comprises the following steps:
and calling the user side control model to perform picture rendering on the blank interface of the preset webpage side, and performing function construction on the blank interface subjected to picture rendering to generate the webpage side interface.
8. An internet of things-based configuration development device, comprising:
the device comprises a building module, a configuration module and a configuration module, wherein the building module is used for building a preset configuration development platform and generating a standardized configuration file based on the preset configuration development platform;
the first generation module is used for generating an equipment side control model according to the standardized configuration file, wherein the equipment side control model is used for controlling novel research and development equipment based on the Internet of things;
and the second generation module is used for generating a user side control model according to the standardized configuration file and calling the user side control model to generate a user side interface which is controlled by the novel research and development equipment based on the Internet of things.
9. A terminal device, characterized in that the terminal device comprises: a memory, a processor, and an internet of things based configuration development program stored on the memory and executable on the processor, the internet of things based configuration development program when executed by the processor implementing the steps of the internet of things based configuration development method of any of claims 1-7.
10. A medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the internet of things based configuration development method of any one of claims 1 to 7.
CN202110997233.3A 2021-08-27 2021-08-27 Configuration development method and device based on Internet of things, terminal equipment and medium Pending CN113448583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110997233.3A CN113448583A (en) 2021-08-27 2021-08-27 Configuration development method and device based on Internet of things, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110997233.3A CN113448583A (en) 2021-08-27 2021-08-27 Configuration development method and device based on Internet of things, terminal equipment and medium

Publications (1)

Publication Number Publication Date
CN113448583A true CN113448583A (en) 2021-09-28

Family

ID=77818793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110997233.3A Pending CN113448583A (en) 2021-08-27 2021-08-27 Configuration development method and device based on Internet of things, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN113448583A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388395A (en) * 2018-09-06 2019-02-26 顺丰科技有限公司 A kind of instrument board configuration rendering method, system, equipment and storage medium
US20190342179A1 (en) * 2018-05-07 2019-11-07 Servicenow, Inc. Discovery and Management of Devices
KR102071236B1 (en) * 2018-10-26 2020-01-30 (주)엔텔스 USER INTERFACE PROVIDING METHOD USING IoT PLATFORM FOR SERVICE DEVELOPMENT AND IoT PLATFORM APPARATUS
CN111404749A (en) * 2020-03-19 2020-07-10 成都千立网络科技有限公司 Internet of things control system and method based on strategy configuration
CN111459889A (en) * 2020-03-08 2020-07-28 中电海康集团有限公司 Equipment data model generation method and device for Internet of things platform
CN112764637A (en) * 2021-02-01 2021-05-07 山东汇金海智慧农业研究院有限公司 Smart agriculture Internet of things equipment description file generation method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190342179A1 (en) * 2018-05-07 2019-11-07 Servicenow, Inc. Discovery and Management of Devices
CN109388395A (en) * 2018-09-06 2019-02-26 顺丰科技有限公司 A kind of instrument board configuration rendering method, system, equipment and storage medium
KR102071236B1 (en) * 2018-10-26 2020-01-30 (주)엔텔스 USER INTERFACE PROVIDING METHOD USING IoT PLATFORM FOR SERVICE DEVELOPMENT AND IoT PLATFORM APPARATUS
CN111459889A (en) * 2020-03-08 2020-07-28 中电海康集团有限公司 Equipment data model generation method and device for Internet of things platform
CN111404749A (en) * 2020-03-19 2020-07-10 成都千立网络科技有限公司 Internet of things control system and method based on strategy configuration
CN112764637A (en) * 2021-02-01 2021-05-07 山东汇金海智慧农业研究院有限公司 Smart agriculture Internet of things equipment description file generation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
尹航等,: "基于配置文件的web页面自动生成***", 《软件》 *

Similar Documents

Publication Publication Date Title
TWI757743B (en) Mini program generation method and device
US20240114076A1 (en) System and Method for a Unified Interface to Networked Web Services
CN107577459B (en) Dragging type cross-platform application development system and method based on componentization
CN108614776B (en) Dynamic construction method and system for cross-language protocol test request
CN110825488A (en) Business processing method and device, electronic equipment and storage medium
US20140082511A1 (en) Method and system for emulating desktop software applications in a mobile communication network
CN106997298B (en) Application resource acquisition method and device
US20110276939A1 (en) Techniques to enhance software production
CN112214214A (en) Low code development system, device and medium for android native APP
US20230229406A1 (en) Page rendering method, apparatus, electronic device, computer-readable storage medium, and computer program product
CN114064024A (en) Method, apparatus, device, storage medium, and program product for developing micro-application
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
JP6002302B2 (en) Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program
CN112068879A (en) Method and device for constructing client application development framework based on configuration
CN111625221A (en) Version control method, device, equipment and medium applied to integrated development environment
CN113448583A (en) Configuration development method and device based on Internet of things, terminal equipment and medium
CN115509531A (en) Micro front end implementation method, device, terminal and storage medium based on front end technology
Prehofer et al. A model-based approach for multi-device user interactions
CN111857782B (en) Interface updating method and device, computer equipment and storage medium
KR20130094003A (en) System and method for making hybrid application
KR20100006497A (en) Method and system constituting web desktop framework
Bryksin et al. Ubiq Mobile+ QReal a Technology for Development of Distributed Mobile Services
Bleul et al. Multimodal dialog description for mobile devices
Kelényi et al. Supporting energy-efficient mobile application development with model-driven code generation
CN116483482B (en) Deep learning task processing method, system, device, equipment and medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210928