Movatterモバイル変換


[0]ホーム

URL:


CN109005244B - Environment-aware open service system and application method - Google Patents

Environment-aware open service system and application method
Download PDF

Info

Publication number
CN109005244B
CN109005244BCN201811012609.5ACN201811012609ACN109005244BCN 109005244 BCN109005244 BCN 109005244BCN 201811012609 ACN201811012609 ACN 201811012609ACN 109005244 BCN109005244 BCN 109005244B
Authority
CN
China
Prior art keywords
monitoring terminal
gateway
monitoring
service agent
environment
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
CN201811012609.5A
Other languages
Chinese (zh)
Other versions
CN109005244A (en
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.)
Nanjing Lianchuang Digital Technology Co ltd
Original Assignee
Nanjing University of Posts and Telecommunications
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 Nanjing University of Posts and TelecommunicationsfiledCriticalNanjing University of Posts and Telecommunications
Priority to CN201811012609.5ApriorityCriticalpatent/CN109005244B/en
Publication of CN109005244ApublicationCriticalpatent/CN109005244A/en
Application grantedgrantedCritical
Publication of CN109005244BpublicationCriticalpatent/CN109005244B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种环境感知开放服务系统及应用方法,其中,系统包括若干监测终端,网关,M2M开放平台,环境感知业务平台和用户端;监测终端采集环境数据,通过WiFi无线连入网关,再由网关上传至M2M开放平台;环境感知业务平台通过开放平台接口向M2M开放平台获取实时数据信息或推送控制信息,最终呈现至用户端。网关运行一级SSA,对监测终端进行无线连接、数据适配、多终端接入进行管理及业务控制;监测终端运行二级SSA,对监测终端的传感器数据进行收集及预处理,并对继电器、电源模块进行监测管理。本发明能够随时对室内的环境质量进行监测,并根据监测结果采取环境干预措施,提供人体健康保障和物品财产安全保障。

Figure 201811012609

The invention discloses an environment-aware open service system and an application method, wherein the system includes several monitoring terminals, a gateway, an M2M open platform, an environment-aware service platform and a user terminal; the monitoring terminal collects environmental data and wirelessly connects to the gateway through WiFi, The gateway is then uploaded to the M2M open platform; the environment-aware service platform obtains real-time data information or pushes control information from the M2M open platform through the open platform interface, and finally presents it to the client. The gateway runs the first-level SSA, which manages and controls the wireless connection, data adaptation, and multi-terminal access of the monitoring terminal; the monitoring terminal runs the second-level SSA, collects and preprocesses the sensor data of the monitoring terminal, and performs The power module is monitored and managed. The present invention can monitor the indoor environmental quality at any time, and take environmental intervention measures according to the monitoring results, so as to provide human health guarantee and article property safety guarantee.

Figure 201811012609

Description

Environment-aware open service system and application method
Technical Field
The invention relates to an environment-aware open service system and an application method thereof, belonging to the technical field of intelligent terminals and information systems.
Background
In recent years, with the continuous development of the scientific and technological level of China and the continuous improvement of the quality of life level of people, people begin to pursue high-quality and high-comfort life. However, the development of science and technology also brings about various environmental pollutions, and the quality of the domestic environment of the family is continuously deteriorated along with the pollution of the external environment and the decoration of the internal building, so that the research on the indoor environment monitoring in the intelligent home is particularly important.
The environment monitoring system is an important component in an intelligent home system, is deeply valued at home and abroad, and can monitor and display indoor environment data to people to provide decision support. Therefore, in order to continuously monitor and evaluate the indoor environment quality in real time and to make the operation easier and more clear the environment condition of the indoor environment, it is urgent to establish an indoor environment monitoring and evaluating system with higher stability.
The existing environment quality monitoring devices are mostly single-point equipment which is not networked, and do not have the function of remote online real-time monitoring; and most of the other networked environment monitoring devices are deployed by a developer, so that the development workload and the cost are increased invisibly.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an environment sensing open service system and an application method, and the system and the application method fully utilize the standard access and application template type design provided by an M2M open platform to realize the monitoring of parameters such as indoor temperature, humidity, PM 2.5/dust concentration and the like.
In order to solve the technical problems, the invention provides an environment-aware open service system, which comprises a plurality of monitoring terminals, a gateway, an M2M open platform, an environment-aware service platform and a user side; the monitoring terminal collects environmental data, is wirelessly connected to the gateway through WiFi, and is uploaded to the M2M open platform through the gateway; the environment perception service platform pulls real-time data information or pushes control information to the M2M open platform through a standard open interface, and finally presents the real-time data information or the control information to a user side;
the monitoring terminal comprises a microprocessor core board, and a power module, a multi-path relay, a wireless module, a temperature sensor, a humidity sensor and a PM 2.5/dust sensor which are connected with the microprocessor core board; the temperature sensor, the humidity sensor and the PM 2.5/dust sensor are used for collecting environmental data of temperature, humidity and PM 2.5/dust concentration; the power module is used for intensively supplying power to the microprocessor core board, the plurality of sensors, the multi-path relay and the wireless module, and the microprocessor core board is used for monitoring the voltage of the power module in real time; the wireless module uploads environmental data;
the microprocessor core board completes system clock and interrupt configuration, system initialization, environment data cyclic uploading and upper layer instruction analysis instruction operation relay monitoring;
the monitoring terminal is accessed to an M2M open platform in a business service agent mode; the service agent comprises a primary service agent and a secondary service agent;
the microprocessor core board of the monitoring terminal is provided with a secondary business service agent for realizing the adaptive access of a sensor of the monitoring terminal, sensing and monitoring the working state of the sensor, a relay and a power supply module integrated with the monitoring terminal, converging and preprocessing the sensor data and sending the sensor data to a primary business service agent of the gateway;
the gateway configures a primary business service agent, performs adaptive access and management on environmental data transmitted by a single or a plurality of monitoring terminals, and performs distributed management on a secondary business service agent in the monitoring terminals;
the primary business service agent comprises a gateway working state sensing module, a scene setting module, a remote transmission module and a strategy downloading module;
the gateway working state sensing module is used for monitoring the working resources and the memory occupation of the gateway and monitoring the communication link with the M2M open platform in real time;
the scene setting module is used for establishing an intelligent perception application scene aiming at the multiple monitoring terminals;
the remote transmission module realizes remote communication between the gateway and the M2M open platform;
the strategy downloading module is used for remotely downloading software update versions of the primary SSA and the secondary SSA from the M2M open platform;
the working parameters, the configuration strategies and the interaction mechanisms of the primary service agent and the secondary service agent are uniformly managed by an M2M open platform;
the user side refers to a user mobile phone or a tablet personal computer, and the user side directly embeds the M2M open platform generated temperature, humidity and PM2.5 services for display.
The microprocessor core board adopts an STM32 series chip kylin seat V2.4 development board; the wireless module adopts an ESP8266 wireless module.
The initialization of the microprocessor core board system comprises the initialization of a system clock, the initialization of sensor hardware and the initialization of a wireless module.
The interrupt configuration refers to setting a timer interrupt when programming based on a microprocessor core board, or setting feedback according to an external sensor or a control instruction to form an interrupt signal.
When the newly added sensor hardware is accessed, the acquisition and processing of the newly added sensor data are completed by performing software programming on the secondary service agent; meanwhile, the version of the second-level service agent of the newly added software programming can initiate a policy downloading request to the M2M open platform through the first-level service agent, so that remote updating is realized;
when the process resources of the monitoring terminal are in shortage to cause overhigh memory occupation, the second-level business service agent and the first-level business service agent of the gateway carry out communication interaction, and under the condition that the configuration strategy allows, the monitoring terminal enters a restarting state and automatically closes the process with lower priority;
when the working power supply of the power supply module of the monitoring terminal enters a set area, after the second-stage SSA and the first-stage SSA synchronize information, the monitoring terminal enters a stage energy-saving working mode or a dormant mode according to a set configuration strategy, and the original working mode is switched back after the power supply module is supplied.
The standard open interface described above employs a RESTful API interface.
The application method of the environment-aware open service system comprises the following steps:
1) the monitoring terminal is accessed to an M2M open platform, and the specific steps are as follows:
11) installing an application APP at a user side; starting a gateway;
12) the monitoring terminal is electrified to enter a starting state, and the working state of the monitoring terminal is identified through the monitoring terminal indicator lamp;
13) the user side application APP is wirelessly connected with the gateway, and the wireless connection between the application APP and a first-level business service agent in the gateway is started;
14) establishing a wireless association relationship between a first-level business service agent in the gateway and a user side application APP, and enabling the first-level business service agent to enter a configuration process, namely starting a code matching function of the gateway;
15) the wireless module of the monitoring terminal automatically enters an access detection working mode, and an IP address is obtained through an OPTION extension field in a dynamic host configuration protocol, wherein the OPTION extension field comprises an LOID, an SSID and a password of a gateway;
16) the monitoring terminal extracts the SSID and the password according to the OPTION extended field and then turns to the step 17); if the extraction is not successful, the network joining is failed, and the monitoring terminal ends the network parameter configuration process;
17) the monitoring terminal automatically joins the wireless network established by the gateway;
18) after the monitoring terminal successfully realizes the network parameter configuration and information storage by the primary service agent in the gateway, the configuration process of the primary service agent exits at the moment; the exit of the primary business service agent is triggered by the fact that the monitoring terminal successfully joins in a wireless network, or is manually executed in a user side application APP;
2) the method for monitoring the registration and binding process of the terminal specifically comprises the following steps:
21) the monitoring terminal initiates a terminal registration and binding request to the environment sensing service platform, or initiates a request to the gateway, and a primary service agent in the gateway performs acceptance and management;
22) the real-time request of the monitoring terminal is executed by the environment sensing service platform and replies feedback information of successful binding;
23) logging in an environment perception service platform by a user to use a monitoring terminal service;
24) the environment perception service platform sends the user account information to the M2M open platform for authentication;
25) after the authentication of the M2M open platform is passed, the environment sensing service platform allows the user account to use the service, and the user directly associates and manages the monitoring terminal under the name of the user and uses the related service;
3) after the registration is successful, adding a new project under the user account, and adding a monitoring terminal under the new project;
4) the microprocessor core board of the monitoring terminal completes system clock and interrupt configuration and carries out system initialization;
5) the monitoring terminal detects indoor temperature, humidity and PM 2.5/dust concentration, collects environmental data, and uploads the environmental data to an M2M open platform in a WiFi mode through a business service agent mode;
6) and the environment perception service platform pulls the environment data information or pushes the control information to the M2M open platform through a standard open interface, and then displays the environment data information or the push control information on a user side webpage in real time for a user to monitor.
The user monitors the change of the environmental data through a Web page of a user side, and the change of the data is reflected in a form of a support dial plate or a curve form; the Web page adopts HTML, CSS and bootstrap frames, wherein the HTML and the CSS are used for page layout.
The aforementioned M2M opens the platform configuration trigger and sets an alarm threshold, and alarms abnormal environmental data exceeding the alarm threshold.
The monitoring terminal collects environmental data and uploads the environmental data to an M2M open platform every 5 seconds.
The invention achieves the following beneficial effects:
(1) the system disclosed by the invention is mainly used for realizing remote real-time online monitoring on the basis of the M2M open platform in function, and has the characteristics of clear development thought, low development cost, quick application and incubation and the like in the development process.
(2) According to the invention, a user can monitor the indoor environment quality at any time and any place, and a series of environmental intervention measures are taken according to the monitoring result, so that the human health guarantee and the article property safety guarantee are provided.
(3) The application method for providing terminal access and background monitoring based on the M2M open platform can improve the generation efficiency of new services and is convenient for the convergence and development of the Internet of things services.
(4) The invention is also suitable for scenes such as fire monitoring and prevention, preservation cultural relic protection, smokeless room monitoring and the like, and has better universality and popularization value.
Drawings
FIG. 1 is a diagram of the environment aware open services system architecture of the present invention;
FIG. 2 is a schematic view of a monitoring terminal structure;
FIG. 3 is a main flow diagram of a microprocessor core board;
FIG. 4 is a two-level business service broker architecture on a monitoring terminal and a gateway;
FIG. 5 is a schematic flow chart of the system of the present invention;
fig. 6 is a flowchart of monitoring the access of a terminal to M2M open platform;
FIG. 7 is an example of the pushing and presentation of monitoring data;
FIG. 8 is a flow chart of monitoring terminal access to a gateway;
fig. 9 is a flowchart of a monitor terminal registration;
FIG. 10 is a line graph of humidity data;
FIG. 11 is a temperature data line graph;
FIG. 12 is a humidity line graph monitored concurrently with FIG. 11;
FIG. 13 is a PM 2.5/dust concentration line graph.
Detailed Description
The invention is further described below. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
As shown in fig. 1, the environment-aware open service system of the present invention includes a plurality of monitoring terminals, a gateway, an M2M open platform, an environment-aware service platform, and a user side. The monitoring terminal collects environmental data, wirelessly connects the environmental data to the gateway through WiFi, and uploads the environmental data to the M2M open platform through the gateway; the environment-aware service platform pulls real-time data information or pushes control information to the M2M open platform through a standard open interface (such as a RESTful API interface), and finally presents the real-time data information or the control information to the user side.
The monitoring terminal mainly realizes the collection of environmental data information, the uploading of data to an M2M open platform and the corresponding action of receiving instructions. The specific structure is shown in fig. 2, and comprises a microprocessor core board, a power supply module connected with the microprocessor core board, a multi-path relay, a wireless module (such as an ESP 8266), a temperature sensor, a humidity sensor, a PM 2.5/dust sensor and the like. Wherein, the temperature sensor, the humidity sensor and the PM 2.5/dust sensor are used for collecting environmental data of temperature, humidity and PM 2.5/dust concentration. The power module carries out the centralized power supply to microprocessor nuclear core plate, a plurality of sensor, multichannel relay and wireless module, microprocessor nuclear core plate carries out real-time voltage monitoring to power module simultaneously, power module voltage when monitor terminal crosses low (undervoltage) will trigger the undervoltage warning automatically, this warning message will report to the open platform of M2M and environmental perception service platform through the gateway, monitor terminal self simultaneously reminds through pilot lamp etc. to can get into dormancy mode etc. according to monitor terminal's settlement. The wireless module uploads the environmental data. The switches of the related equipment are controlled by the multi-path relays, and meanwhile, the microprocessor core board carries out timing detection on the working state of each relay, so that the safety confirmation of the working state of the relay is achieved.
The microprocessor core board completes four main functions of system clock and interrupt configuration, system initialization, environment data loop uploading, upper layer instruction monitoring and action response and other auxiliary functions, and the implementation flow is as follows with reference to fig. 3:
the system initialization mainly comprises the initialization of a system clock, the initialization of sensor hardware and the initialization of a wireless module, in order to improve the real-time performance of the system and the accuracy of acquiring and uploading terminal environment data, receiving instructions and completing operations, the system clock configuration operation is realized, and for example, the system clock configuration is the highest frequency 72MHZ supported by STM32F103VET 6.
Interrupt configuration refers to setting a timer interrupt (e.g., a periodic sampling timer, which is interrupted every set period) when programming based on the microprocessor core board, or setting an interrupt signal according to external sensing or control feedback.
After the system initialization is completed, the microprocessor core board receives the upper layer instruction to realize the operation of the relay by circularly sending the environmental data and analyzing the instruction.
Furthermore, the microprocessor core board adopts an STM32 series chip kylin socket V2.4 development board. The wireless module adopts an ESP8266 wireless module. The dust sensor adopts a GPYY1010AU0F optical dust concentration detection sensor.
In the invention, the monitoring terminal adopts a wireless interface mode, and if an M2M open platform and an environment-aware service platform are added, the monitoring terminal needs to be connected to a home wireless gateway (such as a home wireless router). Therefore, in the practical application process, the monitoring terminal is accessed to the M2M open platform by configuring the service agent (SSA).
Referring to fig. 4 and 5, the SSA includes a two-stage architecture, and a microprocessor core board of the monitoring terminal configures a two-stage SSA, which is mainly used to implement adaptive access of a sensor of the monitoring terminal, perform sensing monitoring on working states of peripheral devices such as a sensor, a relay, and a power module integrated with the monitoring terminal, aggregate and preprocess sensor data, and send the sensor data to a one-stage SSA of the gateway.
When the newly added sensor hardware is accessed, the software programming can be directly carried out on the secondary SSA, so that the acquisition and processing of the newly added sensor data are completed; and at the moment, the secondary SSA version of the newly added software program can initiate a policy downloading request to the M2M open platform through the primary SSA, so that remote updating of the secondary SSA of the monitoring terminal can be automatically realized.
When the process resource of the monitoring terminal is in shortage to cause overhigh memory occupation, the secondary SSA and the primary SSA of the gateway carry out communication interaction, and the monitoring terminal can enter a restarting state and automatically close part of processes with lower priority under the condition allowed by the configuration strategy.
When the working power supply of the power supply module of the monitoring terminal enters a set area, after the second-level SSA and the first-level SSA synchronize information, the monitoring terminal can enter a stage energy-saving working mode or a sleep mode according to a set strategy, and the original working mode is switched back after the power supply is supplied.
The gateway configures a primary SSA mainly responsible for adaptive access and management of data transmitted by a single or multiple monitoring terminals, and can perform distributed management on a secondary SSA in the monitoring terminals. The first-level SSA comprises a gateway working state sensing module, a scene setting module, a remote transmission module and a strategy downloading module, wherein the gateway working state sensing module is used for monitoring the working resource and memory occupation of the gateway, and monitoring the communication link between the gateway working state sensing module and the M2M open platform in real time, so that the smoothness of a remote communication link is ensured, and the reliability of remote communication is ensured.
The scene setting module is mainly used for establishing an intelligent sensing application scene aiming at multiple monitoring terminals, for example, when the indoor temperature enters a set temperature threshold value area, the monitoring terminals connected with the air conditioning equipment (supporting wireless communication control) are controlled to start the air conditioning to work, and intelligent environment sensing service is achieved through the cooperative work of the multiple monitoring terminals.
And the remote transmission module is mainly used for realizing the remote communication function between the gateway and the M2M open platform.
And the strategy downloading module can remotely download the software updating versions of the primary SSA and the secondary SSA from the M2M open platform.
The user sends the network parameters to the monitoring terminal through the SSA by triggering the SSA in the gateway and the DHCP extension field, and the wireless connection convenience of the monitoring terminal is improved through an SSA software control mode.
Referring to fig. 7, the environment-aware service platform pulls environment data information or pushes control information to the M2M open platform through a standard open interface (e.g., a RESTful API interface), and then displays the environment data information or the push control information on a front-end webpage in real time for a user to perform operations such as monitoring and control.
The user side of the invention refers to a user mobile phone, a tablet personal computer and the like, and the user monitors the change of the environmental data through the Web page of the user side. The Web page is mainly designed by using a plurality of mainstream front-end technologies including HTML, CSS and bootstrap frameworks, wherein the HTML and CSS are mainly used for layout, the display of a user side directly embeds applications (such as services of temperature, humidity, PM2.5 monitoring and the like) generated by an M2M open platform, the data change is mainly reflected in a dial plate form or a curve form, and the user side can call a real-time weather control so that the user can monitor the indoor environment and know the outdoor weather condition.
The invention accesses the monitoring terminal into the M2M open platform according to the standard access flow and design method provided by the M2M open platform, and the process is roughly divided into several steps of login and registration, new project, new equipment, new data flow, uploading and checking data and new application, and the like, as shown in FIG. 6.
Before accessing the monitoring terminal into the M2M open platform, a user account needs to be registered on the M2M open platform (i.e., a new service platform and system are generated based on the M2M open platform), and after successful registration, a new project can be added under the user account, a new device can be added under the new project, and a new data stream can be added under the device. After the environment data is successfully uploaded, data points will be generated in the corresponding data streams of the platform, and finally, in order to present the changes of the data more intuitively, the user can customize the personalized application and publish it to the application hatcher.
Referring to fig. 8, the procedure for monitoring the access of the terminal to the M2M open platform is as follows:
11) installing an application APP at a user side; starting a gateway;
12) the monitoring terminal is electrified to enter a starting state, and the working state of the monitoring terminal can be identified by the monitoring terminal indicator light;
13) the application APP is wirelessly connected with the gateway, and the wireless connection between the application APP and a first-level service agent (SSA) in the gateway is started;
14) establishing a wireless association relationship between a first-stage SSA in the gateway and a user side application APP, and starting a code matching function of the gateway when the first-stage SSA enters a configuration process;
15) the wireless module of the monitoring terminal automatically enters an access detection working mode, an IP address is obtained through a dynamic host configuration protocol, an extended field in the dynamic host configuration protocol, namely an OPTION field, is required in the process, the OPTION field belongs to the dynamic host configuration protocol, is a variable-length field and mainly comprises message types, partial lease information and the like, the number of the extended field is 1-255, and the extended field comprises an LOID (account number of user registration service), an SSID and a password of a gateway;
16) the monitoring terminal extracts the SSID and the password according to the OPTION field and then turns to the step 17); if the extraction is not successful, the network joining is failed, and the monitoring terminal ends the network parameter configuration process;
17) the monitoring terminal automatically joins the wireless network established by the gateway;
18) after the monitoring terminal successfully realizes network parameter configuration and information storage by the primary SSA in the gateway, the configuration process of the primary SSA is exited at the moment; the exit of the first-stage SSA operation may be triggered by the monitoring terminal successfully joining the wireless network, or may be implemented in the user side APP by a manual operation mode.
After the monitoring terminal is successfully accessed through the wireless network, a registration and binding process is required, and a main flow is shown in fig. 9, and the method specifically includes the following steps:
21) and the monitoring terminal initiates a terminal registration and binding request to the environment sensing service platform, and the registration and binding process of the monitoring terminal can also initiate a request to the gateway by the monitoring terminal and is accepted and managed by a primary SSA in the gateway.
22) And monitoring real-time requests (including registration and binding requests of the primary SSA) of the terminal, and executing and replying feedback information of successful binding by the environment-aware service platform.
23) And the user can log in the environment sensing service platform to use the monitoring terminal service.
24) The environment perception service platform sends the user account information to the M2M open platform for authentication; the M2M open platform can be conveniently accessed to different types of terminals of different manufacturers, and can better support the generation of more service platforms, thereby achieving the purposes of opening cooperation and realizing service incubation.
25) After the M2M open platform passes the authentication, the environment-aware service platform allows the user account to use the service, and the user can directly associate and manage the monitoring terminal under the own name and can use the related service.
The monitoring terminals and the gateway are managed by software SSA application logic, wireless connection, data transmission and communication management of a sensing layer are achieved, access of more sensor modules and control communication of actuators are expanded by development of a second-level SSA (in a software mode), the first-level SSA (in a software mode) can flexibly access monitoring terminals of more manufacturers and more models, and the purposes of conveniently and flexibly establishing environment sensing application development and access application are achieved by sensing monitoring and service management between the first-level SSA and the second-level SSA. Further, the working parameters, configuration strategies and interaction mechanisms of the first-level SSA and the second-level SSA are uniformly managed by the M2M open platform, can be remotely released and updated according to the needs of the sensing terminal, and can be developed to be applied to more environment-aware service platforms, so that the range and the field of environment-aware application development are expanded.
Further, a platform configuration trigger may be opened at M2M and an alarm rule may be set to alarm abnormal environment data exceeding a preset threshold for the user's attention. If the indoor humidity is more than 60% RH, an alarm is generated, namely a mobile phone number or a mailbox is reserved for the user to alarm by a message.
In the practical application process, the monitoring terminal collects environmental data and uploads the environmental data to an M2M open platform every 5 seconds.
To test the monitorability of humidity, the humidity sensor was placed on the air humidifier for one to two seconds, producing fluctuating humidity data as shown in fig. 10.
To test the temperature monitoring, the temperature sensor was placed next to the hot water cup for a period of time and then removed, and the gradual fall of the temperature data polyline was seen, as shown in fig. 11. It is worth mentioning that as the temperature decreases, the humidity increases, and the corresponding change in humidity is shown in fig. 12. The phenomenon directly reflects the relationship between temperature and humidity under abnormal conditions (generally, the temperature and the humidity are in positive correlation, such as high temperature and high humidity in summer).
The PM 2.5/dust concentration is directly detected as the indoor concentration, as shown in fig. 13, the concentration of inhalable particles in the current environment is relatively stable, the concentration is maintained at 140, and the air quality is excellent according to the corresponding rule introduced in the sensor specification.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. The environment-aware open service system is characterized by comprising a plurality of monitoring terminals, a gateway, an M2M open platform, an environment-aware service platform and a user side; the monitoring terminal collects environmental data, is wirelessly connected to the gateway through WiFi, and is uploaded to the M2M open platform through the gateway; the environment perception service platform pulls real-time data information or pushes control information to the M2M open platform through a standard open interface, and finally presents the real-time data information or the control information to a user side;
the monitoring terminal comprises a microprocessor core board, and a power module, a multi-path relay, a wireless module, a temperature sensor, a humidity sensor and a PM 2.5/dust sensor which are connected with the microprocessor core board; the temperature sensor, the humidity sensor and the PM 2.5/dust sensor are used for collecting environmental data of temperature, humidity and PM 2.5/dust concentration; the power module is used for intensively supplying power to the microprocessor core board, the plurality of sensors, the multi-path relay and the wireless module, and the microprocessor core board is used for monitoring the voltage of the power module in real time; the wireless module uploads environmental data;
the microprocessor core board completes system clock and interrupt configuration, system initialization, environment data cyclic uploading and upper layer instruction analysis instruction operation relay monitoring;
the monitoring terminal is accessed to an M2M open platform in a business service agent mode; the service agent comprises a primary service agent and a secondary service agent;
the microprocessor core board of the monitoring terminal is provided with a secondary business service agent for realizing the adaptive access of a sensor of the monitoring terminal, sensing and monitoring the working state of the sensor, a relay and a power supply module integrated with the monitoring terminal, converging and preprocessing the sensor data and sending the sensor data to a primary business service agent of the gateway;
the gateway configures a primary business service agent, performs adaptive access and management on environmental data transmitted by a single or a plurality of monitoring terminals, and performs distributed management on a secondary business service agent in the monitoring terminals;
the primary business service agent comprises a gateway working state sensing module, a scene setting module, a remote transmission module and a strategy downloading module;
the gateway working state sensing module is used for monitoring the working resources and the memory occupation of the gateway and monitoring the communication link with the M2M open platform in real time;
the scene setting module is used for establishing an intelligent perception application scene aiming at the multiple monitoring terminals;
the remote transmission module realizes remote communication between the gateway and the M2M open platform;
the strategy downloading module is used for remotely downloading software update versions of the primary service agent and the secondary service agent from the M2M open platform; the working parameters, the configuration strategies and the interaction mechanisms of the primary service agent and the secondary service agent are uniformly managed by an M2M open platform; the user side refers to a user mobile phone or a tablet personal computer, and the user side directly embeds the M2M open platform generated temperature, humidity and PM2.5 services for display.
2. The environment-aware open service system according to claim 1, wherein the microprocessor core board is an STM32 series chip kylin seat V2.4 development board; the wireless module adopts an ESP8266 wireless module.
3. The context aware open services system of claim 1, wherein the microprocessor core board system initialization includes initialization of a system clock, initialization of sensor hardware, and initialization of a wireless module.
4. The context aware open service system of claim 1, wherein the interrupt configuration is configured to set a timer interrupt when programmed on the basis of a microprocessor core board, or to form an interrupt signal according to feedback from an external sensor or control instruction.
5. The environmental awareness open service system according to claim 1, wherein when a newly added sensor hardware is accessed, the acquisition and processing of the newly added sensor data is completed by performing software programming on the secondary service agent; meanwhile, the version of the second-level service agent of the newly added software programming can initiate a policy downloading request to the M2M open platform through the first-level service agent, so that remote updating is realized;
when the process resources of the monitoring terminal are in shortage to cause overhigh memory occupation, the second-level business service agent and the first-level business service agent of the gateway carry out communication interaction, and under the condition that the configuration strategy allows, the monitoring terminal enters a restarting state and automatically closes the process with lower priority;
when the working power supply of the power supply module of the monitoring terminal enters a set area, after the second-level business service agent and the first-level business service agent synchronize information, the monitoring terminal enters a stage energy-saving working mode or a dormant mode according to a set configuration strategy, and the original working mode is switched back after the power supply module is supplied.
6. The context-aware open services system of claim 1, wherein the standard open interface employs a RESTful API interface.
7. The method for applying the environment-aware open service system according to any one of claims 1 to 6, comprising the steps of: 1) the monitoring terminal is accessed to an M2M open platform, and the specific steps are as follows:
11) installing an application APP at a user side; starting a gateway;
12) the monitoring terminal is electrified to enter a starting state, and the working state of the monitoring terminal is identified through the monitoring terminal indicator lamp;
13) the user side application APP is wirelessly connected with the gateway, and the wireless connection between the application APP and a first-level business service agent in the gateway is started;
14) establishing a wireless association relationship between a first-level business service agent in the gateway and a user side application APP, and enabling the first-level business service agent to enter a configuration process, namely starting a code matching function of the gateway;
15) the wireless module of the monitoring terminal automatically enters an access detection working mode, and an IP address is obtained through an OPTION extension field in a dynamic host configuration protocol, wherein the OPTION extension field comprises an LOID, an SSID and a password of a gateway;
16) the monitoring terminal extracts the SSID and the password according to the OPTION extended field and then turns to the step 17); if the extraction is not successful, the network joining is failed, and the monitoring terminal ends the network parameter configuration process;
17) the monitoring terminal automatically joins the wireless network established by the gateway;
18) after the monitoring terminal successfully realizes the network parameter configuration and information storage by the primary service agent in the gateway, the configuration process of the primary service agent exits at the moment; the exit of the primary business service agent is triggered by the fact that the monitoring terminal successfully joins in a wireless network, or is manually executed in a user side application APP;
2) the method for monitoring the registration and binding process of the terminal specifically comprises the following steps:
21) the monitoring terminal initiates a terminal registration and binding request to the environment sensing service platform, or initiates a request to the gateway, and a primary service agent in the gateway performs acceptance and management;
22) the real-time request of the monitoring terminal is executed by the environment sensing service platform and replies feedback information of successful binding;
23) logging in an environment perception service platform by a user to use a monitoring terminal service;
24) the environment perception service platform sends the user account information to the M2M open platform for authentication;
25) after the authentication of the M2M open platform is passed, the environment sensing service platform allows the user account to use the service, and the user directly associates and manages the monitoring terminal under the name of the user and uses the related service;
3) after the registration is successful, adding a new project under the user account, and adding a monitoring terminal under the new project;
4) the microprocessor core board of the monitoring terminal completes system clock and interrupt configuration and carries out system initialization;
5) the monitoring terminal detects indoor temperature, humidity and PM 2.5/dust concentration, collects environmental data, and uploads the environmental data to an M2M open platform in a WiFi mode through a business service agent mode;
6) and the environment perception service platform pulls the environment data information or pushes the control information to the M2M open platform through a standard open interface, and then displays the environment data information or the push control information on a user side webpage in real time for a user to monitor.
8. The application method of claim 7, wherein the user monitors the change of the environmental data through a Web page at the user end, and the change of the data is reflected in a form of a support dial or a curve; the Web page adopts HTML, CSS and bootstrap frames, wherein the HTML and the CSS are used for page layout.
9. The application method of claim 7, wherein the M2M opens a platform configuration trigger and sets an alarm threshold, and alarms abnormal environment data exceeding the alarm threshold.
10. The application method of claim 7, wherein the monitoring terminal collects environmental data and is configured to upload to an M2M open platform every 5 seconds.
CN201811012609.5A2018-08-312018-08-31 Environment-aware open service system and application methodActiveCN109005244B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811012609.5ACN109005244B (en)2018-08-312018-08-31 Environment-aware open service system and application method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811012609.5ACN109005244B (en)2018-08-312018-08-31 Environment-aware open service system and application method

Publications (2)

Publication NumberPublication Date
CN109005244A CN109005244A (en)2018-12-14
CN109005244Btrue CN109005244B (en)2021-03-12

Family

ID=64590834

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811012609.5AActiveCN109005244B (en)2018-08-312018-08-31 Environment-aware open service system and application method

Country Status (1)

CountryLink
CN (1)CN109005244B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110837244B (en)*2019-12-062024-12-24四川鹏天科技发展有限公司 Multifunctional lamp pole controller and control method based on Internet of Things
CN116847395A (en)*2022-03-232023-10-03中国移动通信有限公司研究院 A communication method, device and communication equipment supporting perception
CN119045378B (en)*2024-08-272025-03-14北京宏诚创新科技有限公司 A biological laboratory intelligent control method, system, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102035876A (en)*2010-10-152011-04-27江苏鸿信系统集成有限公司Remote monitoring and intelligent control system and method of agricultural greenhouse based on M2M framework
CN102256277A (en)*2011-04-022011-11-23南京邮电大学Intelligent energy saving method in networking environment based on feedback mechanism
CN102487488A (en)*2010-12-022012-06-06中国移动通信集团上海有限公司 Information transmission system, method, information collection and equipment control system and equipment
WO2013016167A2 (en)*2011-07-222013-01-31Hunt Energy Iq, L.P.Secure network communications for meters
CN107505966A (en)*2017-08-172017-12-22广州市华南畜牧设备有限公司Management system for breeding and method based on Internet of Things
CN206959905U (en)*2017-06-202018-02-02信阳师范学院Campus environment monitoring system based on OneNET cloud platforms
CN107942955A (en)*2017-09-292018-04-20怀化学院A kind of agriculture managing and control system based on Internet of Things cloud platform

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102035876A (en)*2010-10-152011-04-27江苏鸿信系统集成有限公司Remote monitoring and intelligent control system and method of agricultural greenhouse based on M2M framework
CN102487488A (en)*2010-12-022012-06-06中国移动通信集团上海有限公司 Information transmission system, method, information collection and equipment control system and equipment
CN102256277A (en)*2011-04-022011-11-23南京邮电大学Intelligent energy saving method in networking environment based on feedback mechanism
WO2013016167A2 (en)*2011-07-222013-01-31Hunt Energy Iq, L.P.Secure network communications for meters
CN206959905U (en)*2017-06-202018-02-02信阳师范学院Campus environment monitoring system based on OneNET cloud platforms
CN107505966A (en)*2017-08-172017-12-22广州市华南畜牧设备有限公司Management system for breeding and method based on Internet of Things
CN107942955A (en)*2017-09-292018-04-20怀化学院A kind of agriculture managing and control system based on Internet of Things cloud platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于M2M技术的矿区环境监测平台研究;陈明泽;《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》;20141215;全文*

Also Published As

Publication numberPublication date
CN109005244A (en)2018-12-14

Similar Documents

PublicationPublication DateTitle
US20210180824A1 (en)Distributed heating, ventilation, and air conditioning system
JP6457620B2 (en) Method and system for exchanging data between a networked thermostat and a cloud-based management server
CN109005244B (en) Environment-aware open service system and application method
CN105137770B (en)A kind of aquaculture remote monitoring system and its control method based on Web
CN105005291B (en)A kind of intelligent home furnishing control method, control device and control system
CN107229267A (en)A kind of building ecological cloud platform based on Internet of Things
CN108363435A (en)A kind of pig house environment remote monitoring system and method
CN105371426A (en)Intelligent air purifying system and use method thereof
CN206922780U (en)A kind of intelligent domestic system
CN104483939A (en)Remote intelligent household wireless monitoring system
CN104200547A (en)Internet-of-Things-based intelligent doorbell photographing and monitoring system and control method thereof
CN108881478B (en) An electronic advertising terminal and system based on 4G communication network
CN110262265A (en)Indoor environment adjusting method and device based on smart home operating system
CN111669494B (en)Network camera control method and network camera
CN106652308A (en) A fire signal monitoring system based on ZigBee and Android
CN104199391A (en)Intelligent building monitor system and method
CN104618443A (en)Control method and device of controlled device, server, and control terminal of internet of things
Zhang et al.Design of smart home control system based on Cortex-A8 and ZigBee
CN115494737A (en) Control method, storage medium and electronic device of smart home appliance
KR101668630B1 (en)Device, system and method for smart control using gps, recording medium for performing the method
CN104113560A (en)Intelligent household security monitoring system based on internet of things technology
CN207249467U (en)A kind of Dormitory management system
CN204832940U (en)Intelligence house controlling means and control system
JP6929450B2 (en) Information processing device, communication device, and cooperation control method
CN208110377U (en) A passive wireless smart home and building environment monitoring device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20231019

Address after:210019 4th floor, building 1, 69 Aoti street, Jianye District, Nanjing City, Jiangsu Province

Patentee after:Nanjing Lianchuang Digital Technology Co.,Ltd.

Address before:210003, 66 new model street, Gulou District, Jiangsu, Nanjing

Patentee before:NANJING University OF POSTS AND TELECOMMUNICATIONS

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp