Background
In the production life of the current society, a lot of environmental data, such as temperature, wind speed, humidity, and some professional index data in the production process, are collected. Some of the data can affect the quality of products in the production process, and some can affect the comfort level of life of people, so that it is very important to acquire the data in time.
The data are basically acquired by checking the readings of the measuring tools on site by personnel and then recording the data, and the method needs a great deal of effort and time of the personnel, increases the labor cost and is not beneficial to improving the working efficiency.
At present, sensors capable of acquiring data remotely appear, that is, sensors are placed at places where data needs to be measured, and the sensors send acquired data to a host computer, which is an emerging mode, though the convenience in data acquisition is great, the following disadvantages still exist: the spatial range of the data collected by the sensor is limited by the length of the data connecting wire of the sensor, and when a user changes a measuring point to exceed the length range of the data wire, the machine needs to be moved again for wiring.
Disclosure of Invention
The application provides a multidata collection system, which solves the technical problem that the conventional multidata collection is restricted by a data connecting line.
In order to solve the technical problems, the application adopts the following technical scheme:
a multi-data acquisition system is provided, which comprises a host and a plurality of data detection sensors; the multi-data acquisition system also comprises a mobile terminal; the host comprises a wireless connection coordinator and a first communication module; each data detection sensor comprises a wireless module; the wireless connection coordinator of the host is used for establishing a wireless communication network, realizing the connection with the wireless modules of the data detection sensors and receiving the detection data acquired by the data detection sensors; the mobile terminal is connected with the first communication module of the host and used for configuring the network access permission of the data detection sensors based on the host.
Further, the wireless connection coordinator is a Zigbee coordinator; the wireless module is a Zigbee module.
Further, the mobile terminal configures the network access permissions of the data detection sensors based on the host, specifically: the data detection sensor sends network access request information to the host; the host sends the network access request information to the mobile terminal; after the mobile terminal sends confirmation information allowing network access to the host, the host sends an authority password and an ID (identity) distributed for the data detection sensor to the data detection sensor; and the permission password is sent to the host by the mobile terminal.
Further, each data detection sensor further comprises a storage module; the storage module is used for storing the authority password sent by the host and the ID allocated by the host to realize sending the detection data containing the authority password and the ID to the host; the host further comprises a processor, wherein the processor is used for judging whether the authority password is correct or not after receiving the detection data, judging a data detection sensor corresponding to the detection data based on the ID if the authority password is correct, and discarding the detection data if the authority password is not correct.
Further, each data detection sensor further comprises a power supply module; the data detection sensor sends detection data to the host through the wireless module of the data detection sensor, wherein the detection data also comprises electric quantity information of the power supply module.
Further, the system also comprises a cloud server and an upper computer; the host further comprises a second communication module; the host is connected with the cloud server through the second communication module so as to send the detection data of the data detection sensors to the cloud server; the upper computer is connected with the cloud server and used for checking the detection data.
Further, the host further comprises a host storage module, configured to store the detection data of the plurality of data detection sensors.
Furthermore, the host computer also comprises a display screen and/or a function key.
Further, the first communication module is a bluetooth module, and the second communication module is a 4G module.
Furthermore, each data detection sensor further comprises a network access switch, and the network access switch is used for generating the network access request information after being triggered.
Compared with the prior art, the application has the advantages and positive effects that: in the multi-data acquisition system provided by the application, a user can place a plurality of data detection sensors on detection points according to actual needs, detection data acquired by each data detection sensor is sent to a host computer in a connection mode of a Zigbee wireless network, the host computer summarizes the detection data and sends the detection data to a cloud server, the user can inquire the detection data by using an upper computer, wherein in order to prevent the data detection sensors of different networks from sending the detection data to the host computer, a mode configured by using a mobile terminal is adopted, network access request information is sent to the host computer before the data detection sensors are accessed to the network, the host computer forwards the network access request information to the mobile terminal, only the mobile terminal confirms that the data detection sensors accessed to the network receive an authority password and an assigned ID sent by the host computer, and then when the data detection sensors send the detection data to the host computer in the network, the authority password and the assigned ID are added into the detection data, so that the host determines whether to accept or discard. In the networking mode, a multi-data acquisition system is divided into a host and a plurality of wireless data detection sensors for detecting different types of data, the host is used for establishing a wireless network for connecting the data detection sensors, the data detection sensors are added into the host network according to set network access rules and then send detection data to the host, and the host collects the detection data and then sends the collected detection data to a cloud server, so that a user can use an upper computer to inquire the detection data. The user can select suitable data detection sensor according to own actual demand, builds the multidata collection system that belongs to user's own, can change the check point as required at will in the wireless communication network scope of establishing, does not receive the restriction of data connection line, has solved the technical problem that current multidata collection is restricted by the data connection line.
Other features and advantages of the present application will become more apparent from the detailed description of the embodiments of the present application when taken in conjunction with the accompanying drawings.
Detailed Description
The following describes embodiments of the present application in further detail with reference to the accompanying drawings.
The present application provides a multiple data acquisition system, as shown in fig. 1, the system includes a host 11, multiple data detection sensors 12, a mobile terminal 13, a cloud server 14, and an upper computer 15.
The host 11 includes a wireless connection coordinator 111 and a first communication module 112; each data detection sensor 12 includes a wireless module 121; the wireless connection coordinator 111 of the host is used for establishing a wireless communication network, and realizing connection with the wireless modules 121 of the plurality of data detection sensors 12 so as to receive the detection data acquired by the plurality of data detection sensors 12; the mobile terminal 13 establishes 112 a connection with a first communication module of the host 11, and is used for configuring the network access authority of the plurality of data detection sensors 12 based on the host 11.
Taking the wireless connection coordinator 111 as a Zigbee coordinator, the wireless module 121 as a Zigbee module, and establishing a Zigbee network between the host 11 and the plurality of data detection sensors 12 as an example, the host 11 uses an external power supply to supply power, and the plurality of data detection sensors 12 uses a power supply module such as a rechargeable lithium battery to supply power, so that the data detection sensors can be placed at any position within the coverage of the Zigbee network. Certainly, the type of the wireless communication network is not limited in the embodiments of the present application, and the wireless communication networks established based on WIFI, bluetooth, infrared, radio frequency and other modes are all within the scope of the present application.
Specifically, the host 11 further includes a processor 113, a second communication module 114, a host storage module 115, a display 116, and function keys 117; the data detection sensor further includes a storage module 122, a power supply module 123, a network access switch 124, a radio frequency antenna 125, a sensor interface 126, and the like.
The host 11 establishes a data connection with the mobile terminal 13 based on the first communication module 112, such as a bluetooth module, so that the mobile terminal 13 can configure the access right of the data detection sensor in the network, and the host 11 establishes a data connection with the cloud server based on the second communication module 114, such as a 4G module, so that the detection data received from the data detection sensor 12 can be forwarded to the cloud server 14, so that the user can query the detection data after connecting the cloud server 14 using the upper computer 15.
Based on the above-mentioned multidata acquisition system proposed by the present application, a user can place a plurality of data detection sensors 12 on a detection point according to actual needs, the detection data acquired by each data detection sensor 12 is sent to the host 11 by a connection mode of, for example, a Zigbee wireless network, the host 11 collects the detection data and sends the collected detection data to the cloud server 14, the user can use the host computer 15 to inquire the detection data, wherein, in order to prevent the data detection sensors of different wireless communication networks from sending the detection data to the host 11, a mode of using mobile terminal configuration is adopted, specifically, network access request information is sent to the host 11 before the data detection sensors access to the network, the host 11 forwards the network access request information to the mobile terminal 13, the user uses the mobile terminal 13 to configure the authority of the network access sensors, if the requested data detection sensors are approved to be added, the mobile terminal 13 is used to return confirmation information allowing network access to the host 11, and the authority password and the ID allocated to the data detection sensor are sent to the data detection sensor, that is, only the data detection sensor which the mobile terminal confirms to access the network receives the authority password and the allocated ID sent by the host. Here, the authority password is transmitted to the host 11 by the mobile terminal 13, and the user can modify the authority password by using the mobile terminal 13.
After receiving the authority password and the ID assigned to the sensor 12, the data detection sensor 12 requesting network entry stores these pieces of information in the storage module 122; when the detection data is subsequently sent to the host 11, the authority password and the ID are added into the detection data and sent together; after receiving the detection data, the processor 113 of the host 11 determines whether the authority password is correct, if so, determines the data detection sensor corresponding to the detection data based on the ID, and stores the detection data and the ID in the host memory 115 correspondingly, and if not, artificially determines that the detection data is not the data detection sensor in the wireless communication network.
When data detection sensor 12 sends the detection data to host computer 11 through its wireless module 121, still send self power module's electric quantity information, the detection data that host computer 11 sent to cloud server 14 also includes the electric quantity information of each data detection sensor for the user can inquire the power supply state of each data detection sensor through host computer 15, when the power supply appears insufficiently, in time changes the battery or charges for data detection sensor.
The display 116 of the host 11 can be used to display system part information, user operation information, detection data, etc.; function keys 117, such as a system reset key, a networking key, a bluetooth switch key, a 4G switch key, etc., are used to activate or deactivate various functions.
The rf antenna 124 of each data detection sensor has a power amplifier for increasing the transmitting and receiving power and increasing the data transmission distance; the sensor interface 126 is used to connect data detection sensors, and the interface form is determined by the type of sensor used; the network access switch 124 is configured to generate network access request information after being triggered, so that each data detection sensor can operate in two states, one is in a network access state, that is, the network access switch is triggered to generate network access request information to request to join a wireless communication network of a host component, and the other is in a network access state, that is, the network access switch is not triggered, the data detection sensor can only send detection data and self-power information to the host, and does not send a network access request, and a user can operate the network access switch 124 to change the operating state of one data detection sensor.
Therefore, according to the multi-data acquisition system provided by the application, a user can select a proper data detection sensor according to the actual requirement of the user, the multi-data acquisition system belonging to the user is built, the detection points can be randomly changed as required within the range of the established wireless communication network, the multi-data acquisition system is not limited by a data connecting line, and the technical problem that the existing multi-data acquisition is restricted by the data connecting line is solved.
As a preferable scheme, in this embodiment of the application, the mobile terminal 13 may also be connected to the cloud server 14, and used as an upper computer to query the detection data on the cloud server.
It should be noted that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art should also make changes, modifications, additions or substitutions within the spirit and scope of the present invention.