CN114168165B - Highly-integrated semi-automatic development method for sub-functions of Internet of things - Google Patents
Highly-integrated semi-automatic development method for sub-functions of Internet of things Download PDFInfo
- Publication number
- CN114168165B CN114168165B CN202111536743.7A CN202111536743A CN114168165B CN 114168165 B CN114168165 B CN 114168165B CN 202111536743 A CN202111536743 A CN 202111536743A CN 114168165 B CN114168165 B CN 114168165B
- Authority
- CN
- China
- Prior art keywords
- function
- internet
- control end
- things
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 12
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 5
- 230000010354 integration Effects 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a highly integrated semiautomatic development method for developing sub-functions of the Internet of things, which comprises the steps of setting equipment numbers and function lists of equipment of the Internet of things; constructing a UI framework on a control end, filling in a function command line and a function description, and constructing an application program framework of the control end; after the control end establishes connection with the Internet of things equipment, the control end automatically fills function codes by using the SDK according to the equipment numbers and the function list, and caches the numbers and the function list of the Internet of things equipment; and the control end adapts according to the data returned by the function codes to complete the application program architecture and function realization of the control end. According to the invention, the application program architecture is built at the control end, the function command line and the function description are filled, after the control end is connected with the Internet of things equipment, the function code is automatically filled by adopting the SDK according to the equipment number and the function list, so that the development efficiency is high, and the control end can be compatible with different Internet of things equipment. The problems of excessive code versions, disordered iteration, difficult maintenance, low fault tolerance and the like are avoided.
Description
Technical Field
The invention relates to the technical field of mobile terminal development, in particular to a highly integrated semi-automatic development method for sub-functions of the Internet of things.
Background
At present, the internet of things technology has become an important component of information technology, and a series of intelligent household appliances such as the internet of things and intelligent equipment develop rapidly, intelligent televisions and intelligent refrigerators start to be popularized in families. With the development of globalization, even intelligent devices of the same model have different functional configurations so as to adapt to different demands, if functions corresponding to each internet of things device are developed at a control end (mobile terminal, PC and the like), great workload is necessarily added to developers, codes are more and more over time, content is more and more, maintenance difficulty is more and more, and a series of problems such as disordered adaptation of multiple devices, disordered iteration, long version maintenance time, low fault tolerance, difficult elimination of version bug and the like occur.
Disclosure of Invention
The invention aims to provide a highly-integrated semi-automatic development method for sub-functions of the Internet of things, which is used for solving the problems of large workload, disordered equipment adaptation and difficult code maintenance caused by different configuration functions even if a plurality of Internet of things devices are of the same model in the prior art by developing functions matched with the Internet of things devices by a control end.
The invention solves the problems by the following technical proposal:
a highly integrated semi-automatic development method for the sub-functions of the Internet of things comprises the following steps:
step S1, setting equipment numbers and function lists of the Internet of things equipment, and storing the equipment numbers and the function lists in a cloud and the Internet of things equipment;
Step S2, constructing a UI framework on a control end, filling in a function command line and a function description, and constructing an application program framework of the control end;
step S3, after the control end establishes connection with the Internet of things equipment, acquiring the equipment number and the function list of the Internet of things equipment, automatically filling the function codes by using the SDK according to the equipment number and the function list, and caching the number and the function list of the Internet of things equipment;
and S4, the control end adapts according to the data returned by the function codes, and the application program architecture and function realization of the control end are completed.
The internet of things equipment needs to provide equipment numbers and function lists of specific types to which the internet of things equipment belongs; building a set of UI on a control end by a developer, filling in a function command line and a function description of the Internet of things equipment, and building an overall architecture of a control end application program; after the control end and the internet of things device establish TCP connection through the SDK platform, the control end uses a specific identifier of the internet of things device to acquire the internet of things device number and function list data of the device from the SDK platform, and compares the internet of things device number and function list data with the function command in the built UI frame to obtain the function to be realized by the internet of things device. And finally, a developer adapts according to the function code data acquired by the control end from the function integration SDK, so that the architecture and specific function realization of the control end application program branch are completed, and various Internet of things devices can be conveniently and quickly adapted.
And the SDK is used for packaging a software development kit with high integration of the subfunctions of the Internet of things equipment with the specified model.
The step S2 is to fill the function description in the designated position by the designated command when constructing the UI framework.
After the control end establishes connection with the internet of things device in the step S3, the control end compares the device number with the function list, replaces the function command line with the implementation interface, and adapts the obtained implementation interface.
When the control end and the Internet of things equipment are in the same local area network, the control end obtains a function list from the Internet of things equipment or the cloud to perform command replacement.
Compared with the prior art, the invention has the following advantages:
According to the invention, the application program architecture is built at the control end, the function command line and the function description are filled, after the control end is connected with the Internet of things equipment, the function code is automatically filled by adopting the SDK according to the equipment number and the function list, so that the development efficiency is high, and the control end can be compatible with different Internet of things equipment. The problems of excessive code versions, disordered iteration, difficult maintenance, low fault tolerance and the like are avoided.
Drawings
Fig. 1 is a schematic diagram of a frame of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but embodiments of the present invention are not limited thereto.
Examples:
a highly integrated semi-automatic development method for the sub-functions of the Internet of things comprises the following steps:
step S1, setting equipment numbers and function lists of the Internet of things equipment, and storing the equipment numbers and the function lists in a cloud and the Internet of things equipment;
Step S2, constructing a UI frame on the control end, filling in a function command line, filling the function description in a specified position by using a specified command, and constructing an application program framework of the control end;
Step S3, after the control end establishes connection with the Internet of things equipment, acquiring equipment numbers and function lists of the Internet of things equipment, comparing the equipment numbers and the function lists by the control end, replacing a function command line with an implementation interface, adapting the acquired implementation interface, automatically filling function codes by using an SDK, caching the numbers and the function lists of the Internet of things equipment, and packaging a software development kit for highly integrating sub-functions of the Internet of things equipment with a specified model on the basis of the SDK;
When the control end and the Internet of things equipment are in the same local area network, the control end can also acquire the function list by the cloud end to perform command replacement to be an implementation interface, and the follow-up steps are the same;
and S4, the control end adapts according to the data returned by the function codes, and the application program architecture and function realization of the control end are completed.
The internet of things equipment needs to provide equipment numbers and function lists of specific types to which the internet of things equipment belongs; building a set of UI on a control end by a developer, filling in a function command line and a function description of the Internet of things equipment, and building an overall architecture of a control end application program; after the control end and the internet of things device establish TCP connection through the SDK platform, the control end uses a specific identifier of the internet of things device to acquire the internet of things device number and function list data of the device from the SDK platform, and compares the internet of things device number and function list data with the function command in the built UI frame to obtain the function to be realized by the internet of things device. And the control end uses the function integration SDK to acquire data according to the acquired command line, automatically fills the function codes of the control end, and locally caches the acquired serial numbers and function list data of the Internet of things equipment so that the mobile terminal can quickly compare and fill the function codes when being connected with the Internet of things equipment next time, and finally, a developer adapts according to the function code data acquired by the control end from the function integration SDK to complete the architecture and specific function realization of the control end application program branches.
As shown in fig. 1, all sub-functions possibly related to different internet of things devices are integrated in the SDK, when a control end, for example, a mobile terminal, is connected with the internet of things device, and according to the device number and the function list of the internet of things device, for example, the functions of the internet of things device include functions a to f, a corresponding function command line in the UI frame is replaced by an implementation interface, the acquired implementation interface is adapted, function codes are automatically filled by the SDK, and the number and the function list of the internet of things device are cached. And the mobile terminal adapts according to the data returned by the function codes to complete the application program architecture and function realization of the control end.
The method and the device can be conveniently and quickly adapted to various Internet of things equipment, solve the problem of compatibility, improve the development efficiency and reduce the development cost.
Although the application has been described herein with reference to the above-described illustrative embodiments thereof, the foregoing embodiments are merely preferred embodiments of the present application, and it should be understood that the embodiments of the present application are not limited to the above-described embodiments, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the scope and spirit of the principles of this disclosure.
Claims (4)
1. The method for developing the sub-functions of the Internet of things by highly-integrated semi-automatic development is characterized by comprising the following steps of:
step S1, setting equipment numbers and function lists of the Internet of things equipment, and storing the equipment numbers and the function lists in a cloud and the Internet of things equipment;
Step S2, constructing a UI framework on a control end, filling in a function command line and a function description, and constructing an application program framework of the control end;
Step S3, after the control end establishes connection with the Internet of things equipment, acquiring equipment numbers and function lists of the Internet of things equipment, comparing the equipment numbers and the function lists by the control end, replacing a function command line with an implementation interface, adapting the acquired implementation interface, automatically filling function codes by using an SDK according to the equipment numbers and the function lists by the control end, and caching the numbers and the function lists of the Internet of things equipment, wherein the SDK is used as a basis for packaging a software development kit for highly integrating sub-functions of the Internet of things equipment with a specified model;
and S4, the control end adapts according to the data returned by the function codes, and the application program architecture and function realization of the control end are completed.
2. The method for developing the sub-functions of the internet of things by the highly integrated semiautomatic development according to claim 1, wherein the control end in step S3 compares the function list of the internet of things device with the function command line in the UI frame to obtain the function to be realized by the internet of things device.
3. The method for developing the sub-functions of the internet of things for highly integrated and semi-automatic development according to claim 1, wherein the step S2 is characterized in that the function description is filled in a designated position by a designated command when the UI framework is built.
4. The method for developing the sub-functions of the internet of things by highly integrated semiautomatic development according to claim 1, wherein when the control end and the internet of things device are in the same local area network, the control end obtains a function list from the internet of things device or the cloud to perform command replacement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111536743.7A CN114168165B (en) | 2021-12-15 | 2021-12-15 | Highly-integrated semi-automatic development method for sub-functions of Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111536743.7A CN114168165B (en) | 2021-12-15 | 2021-12-15 | Highly-integrated semi-automatic development method for sub-functions of Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114168165A CN114168165A (en) | 2022-03-11 |
CN114168165B true CN114168165B (en) | 2024-05-14 |
Family
ID=80486876
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111536743.7A Active CN114168165B (en) | 2021-12-15 | 2021-12-15 | Highly-integrated semi-automatic development method for sub-functions of Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114168165B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7610577B1 (en) * | 2004-05-29 | 2009-10-27 | Sun Microsystems, Inc. | Method for developing platform independent launchable applications |
CN105282225A (en) * | 2015-08-31 | 2016-01-27 | 四川长虹电器股份有限公司 | Method for mobile terminal to dynamically construct interface according to internet of things equipment capability set |
CN109889587A (en) * | 2019-02-12 | 2019-06-14 | 青岛海尔科技有限公司 | Internet of things system automated construction method, device, equipment and storage medium |
CN111522552A (en) * | 2020-07-06 | 2020-08-11 | 腾讯科技(深圳)有限公司 | Sub-application generation method and device, computer equipment and storage medium |
CN113220283A (en) * | 2021-05-10 | 2021-08-06 | 国网陕西省电力公司信息通信公司 | Internet of things APP development system based on cloud arrangement |
CN113542368A (en) * | 2021-06-28 | 2021-10-22 | 河北机电职业技术学院 | Development and application teaching kit based on Internet of things |
-
2021
- 2021-12-15 CN CN202111536743.7A patent/CN114168165B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7610577B1 (en) * | 2004-05-29 | 2009-10-27 | Sun Microsystems, Inc. | Method for developing platform independent launchable applications |
CN105282225A (en) * | 2015-08-31 | 2016-01-27 | 四川长虹电器股份有限公司 | Method for mobile terminal to dynamically construct interface according to internet of things equipment capability set |
CN109889587A (en) * | 2019-02-12 | 2019-06-14 | 青岛海尔科技有限公司 | Internet of things system automated construction method, device, equipment and storage medium |
CN111522552A (en) * | 2020-07-06 | 2020-08-11 | 腾讯科技(深圳)有限公司 | Sub-application generation method and device, computer equipment and storage medium |
CN113220283A (en) * | 2021-05-10 | 2021-08-06 | 国网陕西省电力公司信息通信公司 | Internet of things APP development system based on cloud arrangement |
CN113542368A (en) * | 2021-06-28 | 2021-10-22 | 河北机电职业技术学院 | Development and application teaching kit based on Internet of things |
Also Published As
Publication number | Publication date |
---|---|
CN114168165A (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102622241B (en) | A kind of method for upgrading software and device | |
CN104063239B (en) | Application program update method and server, the client of mobile terminal | |
CN106371881B (en) | Method and system for updating program version in server | |
CN107391104A (en) | A kind of client and the renewal of react native codes rely on management method, apparatus and system | |
CN105704234A (en) | Control method and apparatus for intelligent device | |
CN105959302B (en) | A kind of terminal management system and method | |
CN105487905A (en) | Updating method and device of hybrid application | |
CN101782848B (en) | Simulation software interface integrating method | |
CN104090810B (en) | A kind of core frame integrated approach based on software communication architectural framework | |
CN104077131A (en) | Component deployment system and method | |
CN112506477B (en) | Method for adding computing nodes in Kubernetes cluster by using RESTful API | |
CN106502713A (en) | A kind of method for upgrading software and system | |
US20170262263A1 (en) | Process and system for the generation of an operating program in the form of a mobile application that is capable of operating on a mobile device | |
CN105591825A (en) | Method for modifying configuration in household gateway upgrading process | |
CN106020905A (en) | Microcontroller firmware developing and updating method and system | |
CN110109684B (en) | Block chain link point management proxy service installation method, electronic device and storage medium | |
CN106775806A (en) | A kind of method of private clound application of upgrading | |
CN107526584B (en) | Data access method and device | |
CN109067562A (en) | Dynamic configuration update method and system, server and medium based on intelligent pointer | |
CN114168165B (en) | Highly-integrated semi-automatic development method for sub-functions of Internet of things | |
CN112860251A (en) | Method and system for constructing website front end | |
CN102736926B (en) | The upgrade method of a kind of task based access control template and device, batch upgrading system | |
CN111045711A (en) | MCU software program upgrading method and system based on USBCAN | |
CN105227600A (en) | The method of mobile device system upgrading | |
CN111913721A (en) | Automatic deployment method, device, equipment and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |