CN104618481A - Thing networking APP (application) development method and device and thing networking system - Google Patents
Thing networking APP (application) development method and device and thing networking system Download PDFInfo
- Publication number
- CN104618481A CN104618481A CN201510051691.2A CN201510051691A CN104618481A CN 104618481 A CN104618481 A CN 104618481A CN 201510051691 A CN201510051691 A CN 201510051691A CN 104618481 A CN104618481 A CN 104618481A
- Authority
- CN
- China
- Prior art keywords
- development
- internet
- app
- things
- api
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000011161 development Methods 0.000 title claims abstract description 77
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000006855 networking Effects 0.000 title abstract 16
- 230000003993 interaction Effects 0.000 claims description 17
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 238000012827 research and development Methods 0.000 abstract description 10
- 230000008569 process Effects 0.000 abstract description 8
- 239000002699 waste material Substances 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 abstract description 3
- 239000008186 active pharmaceutical agent Substances 0.000 abstract 1
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a thing networking APP (application) development method, a thing networking APP development device and a thing networking system. The thing networking APP development method includes: obtaining an API (application program interface) package which is packaged based on a device bottom protocol and a platform protocol; checking whether application conditions of the API package are matched with development demands of a thing networking APP; if the application conditions of the API package are matched with the development demands of the thing networking APP, completing development of the thing networking APP based on the API package. According to the thing networking APP development method, the thing networking APP development device and the thing networking system, the problem that the thing networking APP is complex to develop in related technologies is solved, a developer can conveniently complete a solution of the networking APP development on the premise of having no need for knowing a device bottom protocol or a platform protocol, a research and development process of the thing networking APP is simplified, resource waste can be reduced by unifying APIs, a large number of household appliance manufacturers can allocate a large number of resources to research and development of household appliances, and a large number of internet resources can be rapidly integrated into a thing networking household appliance ecological chain.
Description
Technical Field
The invention relates to the field of mobile communication, in particular to an Internet of things APP development method, device and system.
Background
With the deep and wide application of the mobile internet, the large-scale coverage of users by smart phones and the gradual rise of the internet of things, people have an increasing interest in smart appliances of the internet of things. For the development of products of the internet of things, no truly unified standard exists at present. An HAP protocol and a Homekit API (Application Programming Interface) based on IOS (input operation system) provide a set of standard development library for developing general Internet of things products, but similar functions cannot be integrated under an android system.
In the current common families, the wireless WIFI network is more and more popular. The gradually emerging intelligent household appliances of the internet of things have different platforms, different manufacturers, different underlying protocols and implementation modes, and technical confidentiality, so that part of the technologies cannot be disclosed externally, and the application developer has a higher threshold objectively, so that developers interested in the internet of things are difficult to attract to develop more personalized and excellent products.
Aiming at the Internet of things products of the same manufacturer, the method for realizing Internet of things is limited. The first category, autonomous research and development; and the second type, by means of a third party platform.
However, independent research and development requires a series of technical investments and experiments from protocols, communication, platforms, to a master and the like, and the cost is high. With the help of the third-party platform, the learning cost is high, and no mature platform exists, so that the learning method is still in the primary stage at present.
In order to solve the problem of complicated development of an internet of things (APP) in the related art, no effective solution has been proposed at present.
Disclosure of Invention
The invention provides a method and a device for developing an internet of things (APP) and an internet of things system, aiming at the problem that the development of the APP of the internet of things is complicated in the related art and used for solving the technical problem.
According to one aspect of the invention, the invention provides an IOT APP development method, wherein the method comprises the following steps: acquiring an API packet; wherein the API packet is encapsulated based on a device floor protocol and a platform protocol; checking whether the application condition of the API package is matched with the development requirement of the Internet of things APP; and when the two are matched, completing the development of the APP of the Internet of things based on the API package.
Preferably, written descriptions and codes are recorded in the development documents of the API package, and the written descriptions are used for describing the application conditions of the API package.
Preferably, the development of the internet of things APP is completed based on the API package, including: setting configuration parameters of the Internet of things APP based on the API packet; and completing the development of the APP of the Internet of things based on the configuration parameters.
According to one aspect of the invention, the invention provides an internet of things (APP) development device, wherein the method comprises the following steps: the API packet acquisition module is used for acquiring the API packet; wherein the API packet is encapsulated based on a device floor protocol and a platform protocol; the matching module is used for checking whether the application condition of the API package is matched with the development requirement of the Internet of things APP; and the development module is used for completing the development of the APP of the internet of things based on the API package when the two are matched.
Preferably, written descriptions and codes are recorded in the development documents of the API package, and the written descriptions are used for describing the application conditions of the API package.
Preferably, the development module comprises: the configuration unit is used for setting configuration parameters of the Internet of things APP based on the API packet; and the development unit is used for completing the development of the APP of the Internet of things based on the configuration parameters.
According to another aspect of the present invention, the present invention further provides an internet of things system, wherein the system comprises: the Internet of things APP is developed according to the Internet of things APP development method of any one of claims 1 to 3 and is used for achieving interaction between the Internet of things equipment and a user; the API component is used for packaging a set of API transparent to developers from the top and is used for being responsible for information interaction of the equipment of the Internet of things from the bottom, and a platform basic interface function is provided; an internet of things device, comprising: the device controller is used for collecting the state of the device and controlling the load, and the network module is used for receiving control command information sent from the network and uploading the state information of the device.
The invention has the following beneficial effects:
according to the invention, the problem of complex development of the Internet of things APP in the related technology is solved, so that a developer can complete the solution of the development of the Internet of things APP without knowing the equipment bottom layer protocol and the platform protocol, and the research and development process of the Internet of things APP is simplified. The unified API can reduce resource waste, more household electrical appliance manufacturers can distribute more resources to household electrical appliances for research and development, and more Internet resources can be quickly integrated into an Internet of things household electrical appliance ecological chain.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Fig. 1 is a flowchart of an internet of things APP development method according to a first embodiment of the present invention;
fig. 2 is a block diagram of a structure of an internet of things APP development device according to a second embodiment of the present invention;
FIG. 3 is a block diagram of an IOT system architecture according to a third embodiment of the invention;
fig. 4 is a schematic structural diagram of an internet-of-things household appliance system according to a third embodiment of the present invention;
fig. 5 is an interaction flowchart of an internet of things home appliance system according to a third embodiment of the present invention.
Detailed Description
In order to solve the problem that the development of an internet of things (APP) is complicated in the prior art, the invention provides a development method and device of the APP and an internet of things system. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Example one
The embodiment provides an internet of things APP development method, and fig. 1 shows a flowchart of the internet of things APP development method, and as shown in fig. 1, the method includes the following steps (step S102-step S106):
step S102, obtaining an API packet; wherein the API packet is encapsulated based on the device floor protocol and the platform protocol; the development document of the API package records a text description and a code, wherein the text description is used for describing the application condition of the API package;
step S104, checking whether the application condition of the API packet is matched with the development requirement of the Internet of things APP;
and step S106, when the two are matched, developing the Internet of things APP based on the API package. The method specifically comprises the following steps: and setting configuration parameters of the Internet of things APP based on the API packet, and completing development of the Internet of things APP based on the configuration parameters.
Through this embodiment, the problem that development of thing allies oneself with APP is more complicated among the correlation technique has been solved to in the developer need not know equipment bottom agreement, need not know under the condition of platform agreement, accomplish the solution of thing allies oneself with APP development, simplified the research and development process of thing allies oneself with APP. The unified API can reduce resource waste, more household electrical appliance manufacturers can distribute more resources to household electrical appliances for research and development, and more Internet resources can be quickly integrated into an Internet of things household electrical appliance ecological chain.
Example two
Corresponding to the method for developing an internet of things APP described in the above embodiment, the present embodiment provides an internet of things APP development. Fig. 2 is a block diagram illustrating a structure of an internet of things APP development device, and as shown in fig. 2, the device includes: an API package acquisition module 10, a matching module 20, and a development module 30. This structure will be described in detail below.
An API package obtaining module 10 configured to obtain an API package; wherein, the API packet is encapsulated based on the device bottom layer protocol and the platform protocol; the method comprises the steps that a text description and a code are recorded in a development document of an API (application programming interface) package, wherein the text description is used for describing application conditions of the API package;
a matching module 20, connected to the API package obtaining module 10, for checking whether the application condition of the API package matches the development requirement of the internet of things APP;
and the development module 30 is connected to the matching module 20 and is used for completing the development of the APP of the Internet of things based on the API package when the two are matched. Specifically, the development module 30 includes: the configuration unit is used for setting configuration parameters of the Internet of things APP based on the API packet; and the development unit is used for completing the development of the APP of the Internet of things based on the configuration parameters.
Through this embodiment, the problem that development of thing allies oneself with APP is more complicated among the correlation technique has been solved to in the developer need not know equipment bottom agreement, need not know under the condition of platform agreement, accomplish the solution of thing allies oneself with APP development, simplified the research and development process of thing allies oneself with APP. The unified API can reduce resource waste, more household electrical appliance manufacturers can distribute more resources to household electrical appliances for research and development, and more Internet resources can be quickly integrated into an Internet of things household electrical appliance ecological chain.
EXAMPLE III
Fig. 3 is a block diagram illustrating a system architecture of an internet of things, and as shown in fig. 3, the system includes:
the internet of things APP is developed according to the internet of things APP development method introduced in the first embodiment and is used for realizing interaction between the internet of things equipment and a user;
the API component is used for packaging a set of API transparent to developers from the top and is used for being responsible for information interaction of the equipment of the Internet of things from the bottom, and a platform basic interface function is provided;
an internet of things device, comprising: the device controller is used for collecting the state of the device and controlling the load, and the network module is used for receiving control command information sent from the network and uploading the state information of the device.
For the internet of things household appliance system, the internet of things equipment is specifically household appliance equipment. Fig. 4 is a schematic structural diagram of an internet of things household appliance system, and as shown in fig. 4, the system mainly includes an internet of things household appliance, an API component and an internet of things APP. Wherein,
internet of things household appliance comprises a household appliance controller and a WIFI network module. The home appliance controller mainly collects the state of the home appliance and controls the load, so that the home appliance can perform normal operation. The network module is responsible for receiving control command information sent from the network and uploading state information of the household appliances.
And API components including device interaction, platform interaction, data protocol and the like. The main function is to package a set of API transparent to developers, and all developers only need to pay attention to the product and the function experience, and do not need to know the complex relation inside the equipment of the internet of things and between the equipment. And providing a platform basic interface function for information interaction of the lower responsible equipment of the Internet of things.
The Internet of things APP is an entrance for interaction with all household appliances and is responsible for realizing interaction with users and experience.
Fig. 5 is an interaction flow chart of the internet of things home appliance system, and as shown in fig. 5, the internet of things APP calls a public function interface provided in the API to complete operation, feedback, and self service processing. For the interaction between the API and the Internet of things household appliance: the API packages and interacts with the equipment, when the APP terminal executes a certain function, the API autonomously realizes interaction with the equipment and can autonomously perform exception handling. For the interaction between the API and the IOT cloud platform: the API encapsulation and the IOT cloud platform are interacted, when the APP end executes a certain function, the API autonomously realizes interaction with the platform, and exception handling can be autonomously performed.
In the development process of the internet of things APP:
1) when the limitation is used for operating the equipment of the Internet of things or acquiring the related information of the equipment of the Internet of things, the equipment of the Internet of things is firstly registered on the cloud platform of the Internet of things to acquire the key information.
2) If the equipment information is required to be operated or acquired, directly using an equipment command API in the API; and if the equipment information or other associated information of the Internet of things cloud platform is to be acquired, directly calling which cloud platform related API.
After the above processes are finished, the corresponding function development can be directly debugged or completed.
According to the process, rapid and flexible development and abundant Internet of things APP can be realized on the basis of following the whole technical design.
At present, for products of the internet of things, applications of corresponding mobile terminals are necessary, whether in a native APP or web form. Under the interactive experience, the data interaction between the internet of things equipment and the platform service is really supported by the APP. According to the invention, by utilizing the Haier Internet of things household appliance complete set of mature scheme, links such as protocols, platforms, communication and the like are abstracted and packaged into APIs (application programming interfaces) under different mobile operating systems, and a user can assemble and use different components by himself to develop an Internet of things APP.
The intellectualization is the development trend of household appliances, and the simple and rapid development of the internet of things is the basis for attracting the participation of numerous developers. The intelligent popularization of the household appliance network can be greatly promoted only by abundant application and rapid iteration and continuous improvement of the interactive experience of the Internet of things application.
As apparent from the above description, the present invention can achieve the following effects:
(1) APP developers can stride over the bottom learning process of the household appliance and directly develop functions.
(2) Multiple mobile-side operating systems may use the same set of schemes and APIs.
(3) All APP using the API are guaranteed to be consistent, and potential safety hazards are solved.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
Claims (7)
1. An IOT APP development method is characterized by comprising the following steps:
acquiring an API packet; wherein the API packet is encapsulated based on a device floor protocol and a platform protocol;
checking whether the application condition of the API package is matched with the development requirement of the Internet of things APP;
and when the two are matched, completing the development of the APP of the Internet of things based on the API package.
2. The method of claim 1, wherein a written description and code are recorded in the development document of the API package, the written description describing the application conditions of the API package.
3. The method of claim 1, wherein completing development of an internet of things (APP) based on the API package comprises:
setting configuration parameters of the Internet of things APP based on the API packet;
and completing the development of the APP of the Internet of things based on the configuration parameters.
4. An thing allies oneself with APP development device, its characterized in that, the device includes:
the API packet acquisition module is used for acquiring the API packet; wherein the API packet is encapsulated based on a device floor protocol and a platform protocol;
the matching module is used for checking whether the application condition of the API package is matched with the development requirement of the Internet of things APP;
and the development module is used for completing the development of the APP of the internet of things based on the API package when the two are matched.
5. The apparatus of claim 4, wherein a written description and code are recorded in a development document of the API package, the written description describing application conditions of the API package.
6. The apparatus of claim 4, wherein the development module comprises:
the configuration unit is used for setting configuration parameters of the Internet of things APP based on the API packet;
and the development unit is used for completing the development of the APP of the Internet of things based on the configuration parameters.
7. An internet of things system, comprising:
the Internet of things APP is developed according to the Internet of things APP development method of any one of claims 1 to 3 and is used for achieving interaction between the Internet of things equipment and a user;
the API component is used for packaging a set of API transparent to developers from the top and is used for being responsible for information interaction of the equipment of the Internet of things from the bottom, and a platform basic interface function is provided;
an internet of things device, comprising: the device controller is used for collecting the state of the device and controlling the load, and the network module is used for receiving control command information sent from the network and uploading the state information of the device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510051691.2A CN104618481A (en) | 2015-01-30 | 2015-01-30 | Thing networking APP (application) development method and device and thing networking system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510051691.2A CN104618481A (en) | 2015-01-30 | 2015-01-30 | Thing networking APP (application) development method and device and thing networking system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104618481A true CN104618481A (en) | 2015-05-13 |
Family
ID=53152756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510051691.2A Pending CN104618481A (en) | 2015-01-30 | 2015-01-30 | Thing networking APP (application) development method and device and thing networking system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104618481A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107015804A (en) * | 2017-03-29 | 2017-08-04 | 武汉大思想信息股份有限公司 | A kind of method and system by the quick exploration project of provisioning API |
CN108234298A (en) * | 2017-12-12 | 2018-06-29 | 开放物联(北京)科技发展有限公司 | It is a kind of to support to custom-configure more capacity of equipment combinations and the things-internet gateway of scene |
CN110798462A (en) * | 2019-10-25 | 2020-02-14 | 青岛海信智慧家居系统股份有限公司 | Smart home system and equipment access method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609264A (en) * | 2012-02-14 | 2012-07-25 | 深圳市同洲视讯传媒有限公司 | Method and device for generating calling codes by calling application programming interfaces |
CN102917019A (en) * | 2012-09-17 | 2013-02-06 | 无锡创灵科技有限公司 | System and method for realizing openness and implementation of capability |
US20140047322A1 (en) * | 2012-08-09 | 2014-02-13 | Korea Advanced Institute Of Science And Technology | Method and system for browsing things of internet of things on ip using web platform |
CN104156468A (en) * | 2014-08-22 | 2014-11-19 | 北京智谷睿拓技术服务有限公司 | API recommendation method and API recommendation device |
-
2015
- 2015-01-30 CN CN201510051691.2A patent/CN104618481A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609264A (en) * | 2012-02-14 | 2012-07-25 | 深圳市同洲视讯传媒有限公司 | Method and device for generating calling codes by calling application programming interfaces |
US20140047322A1 (en) * | 2012-08-09 | 2014-02-13 | Korea Advanced Institute Of Science And Technology | Method and system for browsing things of internet of things on ip using web platform |
CN102917019A (en) * | 2012-09-17 | 2013-02-06 | 无锡创灵科技有限公司 | System and method for realizing openness and implementation of capability |
CN104156468A (en) * | 2014-08-22 | 2014-11-19 | 北京智谷睿拓技术服务有限公司 | API recommendation method and API recommendation device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107015804A (en) * | 2017-03-29 | 2017-08-04 | 武汉大思想信息股份有限公司 | A kind of method and system by the quick exploration project of provisioning API |
CN107015804B (en) * | 2017-03-29 | 2020-10-30 | 武汉大思想信息股份有限公司 | Method and system for rapidly developing project by configuring API |
CN108234298A (en) * | 2017-12-12 | 2018-06-29 | 开放物联(北京)科技发展有限公司 | It is a kind of to support to custom-configure more capacity of equipment combinations and the things-internet gateway of scene |
CN110798462A (en) * | 2019-10-25 | 2020-02-14 | 青岛海信智慧家居系统股份有限公司 | Smart home system and equipment access method |
CN110798462B (en) * | 2019-10-25 | 2021-11-02 | 青岛海信智慧家居系统股份有限公司 | Smart home system and equipment access method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678778B (en) | Hybrid-based compatible method, adapter, operation device and system | |
CN107450899B (en) | Method and device for generating terminal control script | |
CN102752369B (en) | The supplying method of TV applications service and virtual content service platform | |
KR20150063514A (en) | Development, compiling and debugging method and device for application | |
CN104821954A (en) | Cross-platform remote procedure call method | |
CN112332997B (en) | Distribution network method of terminal equipment, terminal equipment and computer readable storage medium | |
CN106331284A (en) | Communication system based on WIFI Internet of things technology | |
CN108874677A (en) | A kind of android terminal and its test method and system | |
CN103634169A (en) | A household electrical appliance control system realized based on intelligent terminals | |
CN108390795B (en) | Household appliance and monitoring method thereof, smart home system and readable storage medium | |
Espada et al. | Using extended web technologies to develop Bluetooth multi-platform mobile applications for interact with smart things | |
CN104954894A (en) | Video traffic guiding method and device as well as electronic equipment | |
CN104618481A (en) | Thing networking APP (application) development method and device and thing networking system | |
CN105100208A (en) | Communication method of mobile terminal and wearable device | |
CN107526584A (en) | Data cut-in method and device | |
CN113609417A (en) | Method, device, equipment and medium for processing mobile terminal page | |
CN103685491B (en) | A kind of application service provides method, system and relevant device | |
CN105607913B (en) | The operation processing method and device of interconnecting application | |
CN108989428B (en) | Bluetooth terminal upgrading method, server, computer readable storage medium and system | |
CN104469657B (en) | Audio communication system and equipment based on WINDOWS operating systems | |
CN107193227A (en) | Gateway and intelligent mobile socket dual system | |
CN106997179A (en) | The method and intelligence control system of intelligent control platform management equipment | |
CN103780637B (en) | Information sharing apparatus and method | |
CN105608774A (en) | Intelligent entrance guard control system and control method thereof | |
CN106572226A (en) | Contact person sharing method, address list sharing terminal and address list receiving terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20150513 |