Nothing Special   »   [go: up one dir, main page]

CN206350033U - A kind of system of rapid build Internet of Things application - Google Patents

A kind of system of rapid build Internet of Things application Download PDF

Info

Publication number
CN206350033U
CN206350033U CN201621401729.0U CN201621401729U CN206350033U CN 206350033 U CN206350033 U CN 206350033U CN 201621401729 U CN201621401729 U CN 201621401729U CN 206350033 U CN206350033 U CN 206350033U
Authority
CN
China
Prior art keywords
control board
interface
main control
server
peripheral
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
Application number
CN201621401729.0U
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 Silicon Polytron Technologies Inc
Original Assignee
Shenzhen Silicon Polytron Technologies Inc
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 Silicon Polytron Technologies Inc filed Critical Shenzhen Silicon Polytron Technologies Inc
Priority to CN201621401729.0U priority Critical patent/CN206350033U/en
Application granted granted Critical
Publication of CN206350033U publication Critical patent/CN206350033U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The utility model is related to a kind of system of rapid build Internet of Things application, and it includes cloud server(1), mobile phone A PP(2), master control borad(3)With a variety of peripheral hardwares(4), a variety of peripheral hardwares(4)The master control borad is connected to by wire harness(3), the master control borad(3)Pass through the connection of TCP length and the cloud server(1)It is connected, the mobile phone A PP(2)Pass through HTTP request and the cloud server(1)Exchange data.The system simplifies the development process of Internet of Things application, reduces development difficulty and technical threshold, 4 layers of technology stack of traditional Internet of Things application and development are reduced into 1 layer, to reach the purpose of rapid build Internet of Things application.

Description

System for networking application of quick construction
Technical Field
The utility model belongs to the technical field of the thing networking, a system of constructing that thing networking was used is related to, especially relate to a system of constructing thing networking fast and using.
Background
As the name suggests, the application of the internet of things generally relates to two technical fields of things and networks, so the development path of the application of the internet of things relates to a plurality of technical stacks: "thing" relates to electronic engineering, sensor technology, embedded programming; "web" relates to internet communication technology, App development, and the like. Therefore, the development process of the application of the internet of things is extremely complex, and the development process poses a serious challenge to the technical capability of developers. Meanwhile, due to the extremely complicated development process, the investment of development is increased for companies.
In view of the above-mentioned shortcomings of the prior art, there is a strong need for a new system for networking building applications.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to overcome the shortcoming that exists among the prior art, provide a construct system of thing networking application fast, this system has simplified the development process that the thing networking was used, has reduced the development degree of difficulty and technical threshold, simplifies 4 layers of technical stack of traditional thing networking application development into 1 layer to reach the purpose of constructing thing networking application fast.
In order to achieve the above object, the present invention provides the following technical solutions: the utility model provides a system for construct thing networking application fast, its includes high in the clouds server, cell-phone APP, main control board and multiple peripheral hardware, characterized by, multiple peripheral hardware is connected to through the pencil the main control board, the main control board pass through TCP long connection with the high in the clouds server links to each other, cell-phone APP pass through the HTTP request with high in the clouds server exchange data.
Further, wherein, the cloud server includes 3 sub-servers: the mobile phone application software comprises a compiling server, an OTA server and an API proxy server, wherein the compiling server is responsible for compiling firmware according to a configuration file uploaded by the mobile phone App, the firmware comprises a drive of a connected peripheral, the OTA server is responsible for transmitting the firmware to the main control board, the API proxy server provides an API interface to enable an upper layer application to read and write peripheral attributes, the main control board is kept in long connection with the API proxy server through a network, when the read and write requests of the upper layer application are received, the API proxy server is responsible for converting the requests into remote process calls and returning remote process results on the main control board to the upper layer application.
Furthermore, the mobile phone APP comprises a main control board and interfaces thereof, all supported peripherals and an update firmware button, wherein the main control board and the interfaces are described by an image graphical interface, a certain peripheral is connected to a certain interface on the main control board in a dragging mode in the mobile phone APP, the configuration of the interface can be completed, after the configuration of other required peripherals in the internet of things application is completed, the update firmware button is clicked, the mobile phone APP is communicated with the cloud server, and a configuration file is uploaded to the cloud server.
In another aspect, the main control board is an SoC integrated circuit board with network connection capability.
Further, the main control board comprises a Wi-Fi SoC, a DCDC power supply circuit, a battery charging and discharging management circuit, an indicator light, a USB-to-serial port circuit, a Micro USB interface, a battery interface and a plurality of peripheral standard interfaces.
Further, wherein the Wi-Fi SoC is ESP 8266.
Still further, wherein the plurality of peripheral standard interfaces are divided into four types, namely: general IO interface, UART interface, I2C interface and analog interface.
Still further, wherein each of said peripheral standard interfaces has the same mechanical structure, including insulated fasteners and four metal posts.
Finally, wherein the plurality of peripherals includes various sensors and actors in the internet of things application.
Compare with current thing networking system of founding, the utility model discloses a system of founding thing networking fast has following beneficial technological effect:
1. through a plug-and-play standard interface, hardware construction is as simple as stacking wood;
2. replacing the fussy embedded development with few operations on the graphical interface;
3. to Web the hardware-use the hardware as if using Web resources;
4. the development process of the application of the Internet of things is simplified, and the development difficulty and the technical threshold are reduced.
Drawings
Fig. 1 is an architecture diagram of a system for rapid building networking application of the present invention.
Fig. 2 is a process diagram of the compiling server of the cloud server performing the compiling service.
Fig. 3 is a diagram illustrating an OTA service process performed by an OTA server of a cloud server.
Fig. 4 is a process diagram of API proxy service performed by the API proxy server of the cloud server.
Fig. 5 is an interface schematic diagram of a mobile phone APP.
Fig. 6 is a schematic structural diagram of the main control board.
Fig. 7 is a schematic structural diagram of the peripheral standard interface.
Fig. 8 is a flow chart of the application of the internet of things by adopting the system for networking application of the quick construction object of the utility model.
Detailed Description
The present invention is further described with reference to the following drawings and examples, which are not intended to limit the scope of the present invention.
Fig. 1 shows an architecture diagram of a system for rapid build networking applications of the present invention. As shown in fig. 1, the utility model discloses a construct system of thing networking application fast includes cloud server 1, cell-phone APP2, main control board 3 and multiple peripheral hardware 4. Wherein the plurality of peripherals 4 are connected to the main control board 3 by a wire harness. The main control board 3 is connected with the cloud server 1 through TCP long connection. And the mobile phone APP2 exchanges data with the cloud server 1 through an HTTP request.
The utility model discloses in, high in the clouds server 1 includes 3 sub-servers: a compilation server, an OTA server and an API proxy server. Wherein,
the compiling server is responsible for compiling firmware according to the configuration file uploaded by the mobile phone App2, and the firmware comprises a driver of a connected peripheral. As shown in fig. 2, the compiling server is composed of a configuration parser, a driver selector, a peripheral driver library, an integrator, and a compiler. The peripheral driver library stores drivers of the peripherals.
The input of the compiling server in the cloud server 1 is a configuration file, and the output is a firmware binary file. The configuration file is from the mobile phone App2, and when a firmware update button is clicked, the mobile phone App2 sends the configuration file to a compiling server in the cloud server 1. The configuration file comprises the type of the main control board and the peripheral connection information. The compiling process of the firmware is as follows:
1. the configuration analyzer analyzes the type of the main control board and the peripheral connection information described in the configuration file and outputs parameter information which can be identified by the drive selector;
2. the drive selector selects corresponding drives (namely the drives of all peripherals) from the peripheral drive library according to the parameter information input by the configuration parser, and acquires all source files of the catalog and the scanning drive corresponding to the drives;
3. the integrator integrates the driver source file and the default main program of the firmware;
4. and the compiler calls a compiling tool chain of a processor used by the main control board according to the type of the main control board to execute the compiling of the source code and output a binary file of the firmware.
The OTA server is responsible for transferring the firmware to the main control board 3. As shown in fig. 3, the OTA server includes a task pool, a task scheduler, and a file download sub-service.
And the OTA server in the cloud server 1 receives the OTA task. The OTA task comes from a compiling server or a user upper layer application. The OTA task is first put into a task pool for caching. Each OTA task has a time stamp, and when the time stamp of the current time is larger than the time stamp of the OTA task, the OTA task is taken out by the task scheduler for processing. And the task scheduler sends a message to the API proxy server, and the API proxy server informs the main control board 3 of downloading the binary file of the firmware to be updated. At this time, the file download sub-service in the OTA server will serve the file download request of the main control board 3.
The API proxy server provides an API interface to enable upper layer applications to read and write peripheral attributes. The main control board 3 maintains long connection with the API proxy server through a network, and when receiving read-write requests of upper layer applications, the API proxy server is responsible for converting the requests into remote procedure calls and returning remote procedure results on the main control board 3 to the upper layer applications.
As shown in fig. 4, the API proxy server in the cloud server 1 is composed of an API access interface, a main control board access interface, an API request wrapper and an API response wrapper. The data flow of the primary API request of the upper layer application is as follows:
1. the upper layer application initiates a request (801) to the API access interface via the HTTP protocol, the request parameters including: master control board ID, peripheral name, peripheral attribute value (if write operation is performed on attribute);
2. the API access interface marks the request with a mark RQID, saves the HTTP connection by taking the RQID as a search index, and then transmits the request parameter and the RQID to an API request wrapper (802);
3. the API requests the encapsulator to encapsulate all parameters into a Remote Procedure Call (RPC) request of a custom protocol, and initiates the request to a main control board access interface (803);
4. the master control board access interface maintains a connection pool for all master control boards to access the long connection, when an RPC request is received, the long connection of a target master control board identified by the ID of the master control board is searched from the connection pool, and then the RPC request is sent to the target master control board through the long connection (804);
5. the main control board executes the process call and returns the result to the main control board access interface (805);
6. the master control board access interface transmits the RPC response to the API response wrapper (806);
7. the API response wrapper encapsulates the RPC response of the custom protocol into an HTTP Response (RESP) and sends the HTTP response to the API access interface (807);
8. the API access interface looks up the HTTP connection based on the RQID in the RESP, gives an HTTP response, and closes the connection (808).
In the present invention, as shown in fig. 5, the mobile phone APP2 includes a main control board and its interface, all supported peripherals and a firmware update button described by a visual graphical interface. In the mobile phone App2, a certain peripheral is connected to a certain interface on the main control board in a dragging manner, for example, the peripheral of the temperature sensor is dragged to the interface D0, so that the configuration of the interface can be completed. Similarly, the configuration of other peripherals required in the application of the internet of things can be completed by adopting the same method. And then, clicking a firmware updating button, communicating the mobile phone App2 with the cloud server 1, and uploading the configuration file to the cloud server 1.
The main control board 3 is an SoC integrated circuit board with network connection capability. Preferably, the main control board 3 is a Wi-Fi SoC-based main control board. Because the system has good expansibility, the system can be directly used as a prototype machine for the application of the Internet of things, and the electronic engineering is omitted in the development process.
Preferably, as shown in fig. 6, the main control board 3 is composed of main components such as a Wi-Fi SoC 301, a DCDC power supply circuit 302, a battery charging and discharging management circuit 303, an indicator light 304, a USB to serial port circuit 305, a Micro USB interface 306, a battery interface 307, and a plurality of peripheral standard interfaces 308. More preferably, the Wi-Fi SoC 301 is ESP 8266.
As shown in fig. 7, each of the peripheral standard interfaces 308 has the same mechanical structure, including an insulating fastener 3081 (wherein the outline shown in the figure is for illustration only and is not a true outline of the insulating fastener) and four metal posts 3082, 3083, 3084, 3085.
In the present invention, the plurality of peripheral standard interfaces 308 are divided into 4 types, that is, according to the electrical characteristics: general IO interface, UART interface, I2C interface, analog interface.
When the peripheral standard interface 308 is a general IO interface, the metal terminals 3082 to 3085 are: GND, VCC, null, signal. When the peripheral standard interface 308 is a UART interface, the metal terminals 3082 to 3085 are, in order: GND, VCC, TX, RX. When the peripheral standard interface 308 is an I2C interface, the metal terminals 3082 to 3085 are: GND, VCC, SDA, SCL. When the peripheral standard interface 308 is an analog interface, the metal terminals 3082 to 3085 are, in order: GND, VCC, null, analog signal.
Likewise, the interfaces of the various peripherals 4 are also divided into these 4 types, as are the types of the plurality of peripheral standard interfaces 308. The connection cable between the peripheral 4 and the main control board 3 is a universal 4-wire cable, and the cable is universal. When the peripheral 4 is connected to the main control board 3, attention should be paid to interface type matching.
The plurality of peripherals 4 include various sensors, actors, etc. in the application of the internet of things. Meanwhile, the incremental joining of the third-party peripheral equipment is preferably supported, and when the third-party peripheral equipment is added, the drive of the third-party peripheral equipment is only required to be uploaded to the cloud server.
As shown in fig. 8, the construction of the application of the internet of things by using the system for quickly constructing the internet of things of the utility model comprises the following steps:
s1, connecting various peripherals 4 required by the application of the Internet of things to corresponding interfaces of the main control board 3 according to the types of the interfaces;
s2, opening the mobile phone App2, performing the same connection configuration in a graphical interface of the mobile phone App2 according to the physical connection condition of the various peripherals 2 and the main control board 3, and then clicking a firmware updating button;
s3, configuring a binary file of the instant compiling firmware by the cloud server 1 according to the peripheral of the mobile phone App 2;
s4, the cloud server 1 updates the firmware OTA (over-the-air) to the main control board 3 through the network;
s5, the internet-of-things application may read and write attributes of the peripheral device connected to the main control board through the RESTul API exposed by the cloud server 1 (for example, read a temperature through a read operation, turn on a switch through a write operation, and the like), and construct an upper layer application based on API call, so that the hardware is as simple as using a Web resource.
Therefore, embedded programming such as peripheral driver compiling, internet communication and the like is omitted in the development process, and only simple operation is needed to be carried out on a graphical interface.
The utility model discloses a system of constructing thing networking fast and applying simplifies 4 layers of technical stack (electronic engineering, embedded programming, internet communication, upper application development) of traditional thing networking application development into 1 layer, only concentrates on upper application development to reach the purpose of constructing thing networking fast and applying. Specifically, the system puts the drivers of the peripheral devices such as the sensor on the cloud server, immediately compiles the firmware required by the application according to actual needs, sends the firmware to the hardware main control of the application through a network transmission protocol, and executes firmware updating, and the whole process does not need any embedded programming. Meanwhile, the hardware main control board in the system realizes the welding-free construction of the application prototype hardware system of the Internet of things through a standardized plug-and-play interface.
The above embodiments of the present invention are merely examples for clearly illustrating the present invention and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. Not all embodiments are exhaustive. All obvious changes or variations led out by the technical scheme of the utility model are still in the protection scope of the utility model.

Claims (9)

1. The utility model provides a system for construct thing networking application fast, its includes high in the clouds server (1), cell-phone APP (2), main control board (3) and multiple peripheral hardware (4), characterized by, multiple peripheral hardware (4) are connected to through the pencil main control board (3), main control board (3) through TCP long connection with high in the clouds server (1) link to each other, cell-phone APP (2) through the HTTP request with high in the clouds server (1) exchange data.
2. The system for networking applications for quick construction according to claim 1, wherein the cloud server (1) comprises 3 sub-servers: the mobile phone application software comprises a compiling server, an OTA server and an API proxy server, wherein the compiling server is responsible for compiling firmware according to a configuration file uploaded by the mobile phone App (2), the firmware comprises a drive of a connected peripheral, the OTA server is responsible for transmitting the firmware to the main control board (3), the API proxy server provides an API interface to enable an upper layer application to read and write peripheral attributes, the main control board (3) is kept in long connection with the API proxy server through a network, when a read-write request of the upper layer application is received, the API proxy server is responsible for converting the request into a remote process call, and a remote process result on the main control board (3) is returned to the upper layer application.
3. The system for the rapid construction networking application as claimed in claim 2, wherein the mobile phone APP (2) comprises a main control board and an interface thereof, all supported peripherals and a firmware updating button, the main control board and the interface thereof are described by an image graphical interface, a certain peripheral is connected to a certain interface on the main control board in the mobile phone APP (2) in a dragging mode, the configuration of the interface can be completed, after the configuration of other peripherals required in the internet of things application is completed, the firmware updating button is clicked, the mobile phone APP (2) is communicated with the cloud server (1), and a configuration file is uploaded to the cloud server (1).
4. The system for networking application of rapid constructs according to claim 3, characterized in that, the main control board (3) is an SoC integrated circuit board with network connection capability.
5. The system for networking applications of quick constructs as claimed in claim 4, wherein the main control board (3) comprises a Wi-Fi SoC (301), a DCDC power supply circuit (302), a battery charging and discharging management circuit (303), an indicator light (304), a USB-to-serial port circuit (305), a MicroUSB interface (306), a battery interface (307), and a plurality of peripheral standard interfaces (308).
6. The system for rapid build networking applications of claim 5, wherein the Wi-Fi SoC (301) is ESP 8266.
7. The system of claim 6, wherein said plurality of peripheral standard interfaces (308) are classified into four types: general IO interface, UART interface, I2C interface and analog interface.
8. The system for networking of quick construction objects as claimed in claim 7, wherein each of said peripheral standard interfaces (308) has the same mechanical structure, comprising an insulating fastener (3081) and four metal posts (3082, 3083, 3084, 3085).
9. The system for networking of quick construction objects as claimed in claim 8, wherein said plurality of peripherals (4) comprise various sensors and actuators in an internet of things application.
CN201621401729.0U 2016-12-20 2016-12-20 A kind of system of rapid build Internet of Things application Active CN206350033U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621401729.0U CN206350033U (en) 2016-12-20 2016-12-20 A kind of system of rapid build Internet of Things application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621401729.0U CN206350033U (en) 2016-12-20 2016-12-20 A kind of system of rapid build Internet of Things application

Publications (1)

Publication Number Publication Date
CN206350033U true CN206350033U (en) 2017-07-21

Family

ID=59317740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621401729.0U Active CN206350033U (en) 2016-12-20 2016-12-20 A kind of system of rapid build Internet of Things application

Country Status (1)

Country Link
CN (1) CN206350033U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686074A (en) * 2016-12-20 2017-05-17 深圳矽递科技股份有限公司 System and method for quickly constructing IOT (Internet of Things) application
CN110349305A (en) * 2019-06-26 2019-10-18 铜仁学院 A kind of remote control gate lock and its application method of mobile phone control
CN117806620A (en) * 2024-01-09 2024-04-02 中科物栖(南京)科技有限公司 Method, apparatus, device and storage medium for graphically abstracting multifunctional device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686074A (en) * 2016-12-20 2017-05-17 深圳矽递科技股份有限公司 System and method for quickly constructing IOT (Internet of Things) application
CN110349305A (en) * 2019-06-26 2019-10-18 铜仁学院 A kind of remote control gate lock and its application method of mobile phone control
CN117806620A (en) * 2024-01-09 2024-04-02 中科物栖(南京)科技有限公司 Method, apparatus, device and storage medium for graphically abstracting multifunctional device

Similar Documents

Publication Publication Date Title
CN106686074A (en) System and method for quickly constructing IOT (Internet of Things) application
CN108830720B (en) Intelligent contract running method, device, system and computer readable storage medium
CN105404385B (en) A kind of method and device of intelligent display terminal and somatosensory device realization data interaction
CN108023952A (en) A kind of modularization Internet of Things application rapid build platform combined based on cloud and mist
Milenkovic Internet of Things: Concepts and System Design
CN110024362A (en) Bluetooth test system and method
CN206350033U (en) A kind of system of rapid build Internet of Things application
US11740997B2 (en) Method and apparatus for debugging a device
CN113783831A (en) Internet of things information processing method, device and system
CN106657101A (en) SDK and method for remote control of different protocol types of wireless communication modules
KR101478903B1 (en) Service providing method and system for processing information of node based on profile of node in instance hosting environment
KR101478902B1 (en) Method and system for providing service based on profile according to node property in instance hosting environment
CN102857567B (en) A kind of data transmission system based on internet of things sensors and method
CN107526584A (en) Data cut-in method and device
CN102055623A (en) Method and system for automatically testing embedded type browser
CN110417815A (en) The method of Internet of Things cloud platform Unified Device protocol conversion
CN102387137A (en) Implementation method and system of intelligent operation logic of a plurality of network devices
Awouda et al. Practical implementation of Industry 4.0 based on open access tools and technologies
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
KR101399800B1 (en) Service providing method and system for instance hosting
Pannuto et al. A modular and adaptive architecture for building applications with connected devices
KR20220083221A (en) Hub device of iot environment and method for processing event based on local network thereof
TWI755049B (en) The processing system of the controlling iot equipment, the method and the gateway
CN103678054A (en) Test method and device for BACnet equipment
CN111131437A (en) Intelligent terminal management system and intelligent terminal management method

Legal Events

Date Code Title Description
GR01 Patent grant