Multi-point data acquisition method and system and storage medium
By displaying the QR code on the sensor and identifying and uploading it by the gimbal camera, the problems of poor stability and high cost of sensor data transmission are solved, low power consumption and efficient data acquisition are achieved, and application scenarios are expanded.
Patent Information
- Application Number
- CN202411441248.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-01-07
AI Technical Summary
Sensors have poor stability and high cost and high power consumption in the Internet of Things, which affects the development and application of sensors.
The multi-point data acquisition method is adopted, and the collected data is converted into a QR code by mounting an electronic ink screen on the sensor, and the gimbal camera is identified and uploaded to the cloud server according to the preset cruise route, and the time synchronization mechanism is used to control the second. The refresh cycle and time node of the R code.
It improves the efficiency and accuracy of data upload, reduces the power consumption and operating costs of sensors, and enhances the flexibility and application scenarios of the system.
Smart Images

Figure CN119276907A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things technology, and more specifically, to a multi-point data acquisition method, system and storage medium. Background Art
[0002] The Internet of Things refers to a network that connects any object to the Internet through various information sensing devices and according to agreed protocols to exchange information and communicate, so as to achieve intelligent identification, positioning, tracking, monitoring and management. In short, the Internet of Things is "the Internet of Things connected to everything". Among them, sensors are an important entry point for data collection in the perception layer of the Internet of Things. With the rapid development of the Internet of Things industry, more and higher requirements are put forward for sensor technology. Power consumption, wake-up time, communication protocol, transmission distance, and battery life are key factors affecting the development of sensors. Only when low cost, miniaturization, low power consumption, strong scalability and high robustness are achieved, the role of sensors in the Internet of Things will become increasingly important, and more and more applications will be applied to scenarios in various industries.
[0003] At present, sensors directly transmit the collected data to the data receiving end through wireless or wired transmission technologies such as Wi-Fi, Bluetooth, Zigbee, etc. The data transmission process is subject to the wireless or wired transmission technology, and the strength of the signal affects the stability and reliability of data transmission; and the transmission cost is relatively high. Summary of the invention
[0004] The embodiments of the present application provide a multi-point data acquisition method, system and storage medium to at least solve the technical problems of poor stability, high cost and high power consumption of sensor transmission data in the related art.
[0005] According to one aspect of an embodiment of the present application, a multi-point data acquisition method is provided, comprising:
[0006] Based on the data collected by sensors set at multiple preset positions, the collected data is converted into a QR code, which is periodically refreshed and displayed on the electronic ink screen mounted on the sensor body;
[0007] The PTZ camera uses a preset cruise route to identify the QR code on each sensor and obtain parsed data;
[0008] The PTZ camera sends the parsed data to the cloud server;
[0009] Among them, the refresh display cycle and refresh display time node of each sensor QR code are determined according to the time synchronization mechanism between the pan-tilt camera and the sensor.
[0010] In an optional embodiment, the step of determining the refresh display cycle and refresh display time node of each sensor two-dimensional code according to the time synchronization mechanism between the pan-tilt camera and the sensor includes:
[0011] The PTZ camera synchronously sends the cruise cycle to all preset position sensors in advance, and the sensor determines the refresh display cycle of the QR code according to the cruise cycle;
[0012] According to the notification signal and cruise cycle sent by the PTZ camera, the refresh display time node of the sensor QR code in each cruise cycle is determined.
[0013] In an optional embodiment, the PTZ camera adopts a preset cruise route, and before identifying the two-dimensional code on each sensor, the method further includes:
[0014] The PTZ camera moves to each sensor point respectively, and sets a preset position for the sensor at that point;
[0015] Performing path planning based on the preset position of each sensor to generate the cruise route;
[0016] The dwell time is configured for all preset positions based on the recognition time of the pan / tilt camera.
[0017] In an optional embodiment, before the PTZ camera synchronously sends the cruise cycle to sensors at all points in advance, the method further includes:
[0018] The PTZ camera obtains the time for one round of cruising according to the number of preset positions, the dwell time, the cruising interval time of the PTZ camera, and the mechanical start and stop time;
[0019] The cruise cycle is determined according to the average time taken by the pan / tilt camera for multiple rounds of pre-cruise.
[0020] In an optional embodiment, determining the refresh display cycle and refresh display time node of each sensor two-dimensional code according to the time synchronization mechanism between the pan-tilt camera and the sensor includes:
[0021] In the case of the first cruise, the PTZ camera sends a notification signal to the sensor to be identified for a preset time in advance;
[0022] The sensor refreshes the QR code after receiving the notification signal, and displays the refreshed QR code on the ink screen, and records the first time when the sensor refreshes the QR code for the first time;
[0023] In the case of the second cruise, the PTZ camera sends a notification signal to the sensor to be identified. After receiving the notification signal, the sensor refreshes the QR code and displays the refreshed QR code on the ink screen, and records the second time when the sensor refreshes the QR code for the second time;
[0024] A refresh display time node of the sensor two-dimensional code of the preset position is determined according to the first time and the second time.
[0025] In an optional embodiment, the sensor is used to collect multiple types of data including temperature, humidity, PM2.5, inclination, brightness, and location coordinates.
[0026] According to a second aspect of an embodiment of the present application, a multi-point data acquisition system is provided, comprising:
[0027] Sensors are pre-set at multiple points to collect data, convert the collected data into a QR code, and periodically refresh the display on the electronic ink screen mounted on the sensor body;
[0028] The PTZ camera is used to use a preset cruising route to identify the QR code on each sensor, obtain parsed data, and send the parsed data to a cloud server;
[0029] A cloud server, used for receiving the parsed data;
[0030] Among them, the refresh display cycle and refresh display time node of each sensor QR code are determined according to the time synchronization mechanism between the pan-tilt camera and the sensor.
[0031] In an optional embodiment, the pan-tilt camera comprises:
[0032] A configuration module, used to go to each sensor point respectively, set a preset position for the sensor at the point, perform path planning based on the position of the preset position of each sensor, generate the cruise route, and configure the stay time for all preset positions based on the recognition time of the pan-tilt camera;
[0033] The signaling sending module is used to send the cruise cycle to all preset sensors in advance synchronously. In the case of the first cruise, the notification signaling is sent to the sensor to be identified for a preset time in advance; in the case of the second cruise, the notification signaling is sent to the sensor to be identified for a preset time in advance;
[0034] A QR code recognition module is used to recognize the QR code on each sensor and obtain parsed data;
[0035] The sending module is used to send the parsed data to the cloud server.
[0036] In an optional embodiment, the sensor includes:
[0037] Data acquisition module, used to collect temperature, humidity, PM2.5, tilt, brightness, location coordinates and other types of data;
[0038] A storage module, used to store the multiple types of data and basic information of the sensor itself;
[0039] A QR code generation module is used to generate a QR code based on the collected multi-type data and its own information;
[0040] The periodic refresh module is used to determine the refresh display period of the QR code according to the cruise period; determine the sensor QR code refresh display time node in each cruise period according to the notification signaling and cruise period sent by the pan-tilt camera; and automatically refresh the QR code periodically and display it on the ink screen according to the QR code refresh display time node.
[0041] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned multi-point data acquisition method when running.
[0042] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0043] In the scheme of the embodiment of the present application, after the sensor collects data, the data can be converted into a QR code, and the data can be periodically refreshed and displayed on the ink screen of the sensor body. The PTZ camera cruises and identifies the sensor at each preset position according to the preset cruise route, parses the QR code data, and uploads it to the cloud server. The camera uploads the perception data collected by the sensor to the server, which can avoid the network, power consumption and other conditions of the sensor's wireless or wired transmission, improve the efficiency of data upload, reduce transmission costs, and reduce sensor power consumption. Furthermore, the PTZ camera triggers the periodic refresh of sensor data through synchronous time and displays it on the ink screen, which not only reduces the operating cost of the sensor, but also improves the accuracy of sensor data collection; the contactless interaction between the PTZ camera and multi-point sensors enhances the flexibility of the solution networking. Expand application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0045] Figure 1 is a flow chart of an optional multi-point data acquisition method according to an embodiment of the present application;
[0046] Figure 2 is a schematic diagram of a multi-point data collection method according to an embodiment of the present application;
[0047] Figure 3 is a diagram of the internal structure of a sensor according to an embodiment of the present application;
[0048] Figure 4 is a schematic diagram of the structure of a pan / tilt camera according to an embodiment of the present application;
[0049] Figure 5 is a database table structure diagram according to an embodiment of the present application; DETAILED DESCRIPTION
[0050] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0051] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0052] This application designs a complete set of low-cost multi-type and multi-point data collection and cloud solutions. The sensor with QR code generation function converts the collected multi-type data into the form of QR code and displays it periodically on the electronic ink screen of the sensor body. Compared with real-time display, periodic refresh reduces the power consumption of the sensor. At the same time, the electronic ink screen itself does not consume power when it is continuously displayed, and only consumes a small amount of power when the QR code is refreshed. Therefore, the power consumption of the system is greatly reduced. The pan-tilt camera with QR code recognition function recognizes the QR code on the sensor ink screen at each preset position through the preset position cruise method, obtains the multi-type data collected by the sensor, and then uploads it to the cloud server by the camera. Thereby improving the efficiency of data upload and reducing the cost of data transmission. In the process, the camera sends the cruise cycle and notification signal to the sensor, accurately controls the start time and cycle time of the QR code refresh, and thus improves the accuracy of data collection.
[0053] The following is combined with Figure 1 The multi-point data acquisition method of the embodiment of the present application is described in detail. Figure 1 As shown, the method mainly includes the following steps:
[0054] S101 collects data based on sensors set at multiple preset positions, converts the collected data into a QR code, and periodically displays it on the electronic ink screen mounted on the sensor body.
[0055] In one embodiment, multiple duplex sensors are installed at multiple preset points. Multiple means two or more. The number and specific installation positions of the sensors are not specifically limited in this embodiment of the application and can be set according to actual conditions.
[0056] like Figure 3 As shown in the sensor structure diagram, the sensor of the embodiment of the present application mainly includes a data acquisition module, an internal storage module, a QR code generation module, a display module and a control module.
[0057] Among them, the data acquisition module is responsible for collecting multiple types of data such as temperature, humidity, PM2.5, tilt, brightness, location coordinates, etc. The internal storage module is used to store these multiple types of data and the basic information of the sensor itself. The QR code generation module is used to convert these data information into binary and further generate a QR code image. The display module is used to display the QR code on the electronic ink screen mounted on the sensor body. The control module is used to control data acquisition, storage, QR code generation and display, and device power supply.
[0058] Data is collected based on the installed multi-point sensors, and the collected data is converted into a QR code. In one embodiment, the collected data is converted into a QR code. This can be achieved by programming, using a QR code generation library, such as the qrcode module in Python. The specific generation method is not specifically limited in the embodiments of this application.
[0059] Furthermore, the generated QR code is periodically refreshed and displayed on the electronic ink screen mounted on the sensor body.
[0060] In one implementation, the display of the QR code is mainly refreshed based on the notification signaling and the cruise cycle sent by the PTZ camera.
[0061] In one implementation, the refresh display period and refresh display time node of each sensor two-dimensional code are determined according to the time synchronization mechanism between the pan-tilt camera and the sensor.
[0062] Specifically, the PTZ camera establishes connections with multiple sensors through wireless communication. For example, the PTZ camera establishes connections with sensors through wireless communication methods such as Wi-Fi, Bluetooth, ZigBee, and LoRa. If Bluetooth synchronization is used, the PTZ camera sends data such as cruise cycle and cruise route to all sensors point-to-point. If Zigbee synchronization is used, the PTZ camera sends data such as cruise cycle and cruise route to all sensors through broadcast messages to build a time synchronization mechanism for the refresh timing of the sensor's QR code and the transfer of the PTZ camera to the corresponding sensor.
[0063] In an optional implementation, when the gimbal camera is cruising for the first time, the gimbal camera sends a notification signal in advance to the sensor to be identified; after receiving the notification signal, the sensor refreshes the QR code and displays the refreshed QR code on the ink screen, recording the first time the sensor refreshes the QR code for the first time.
[0064] In the case of the second cruise, the PTZ camera sends a notification signal to the sensor to be identified. After receiving the notification signal, the sensor refreshes the QR code and displays the refreshed QR code on the ink screen, recording the second time when the sensor refreshes the QR code for the second time.
[0065] The starting node of the sensor at the preset position refreshing and displaying the two-dimensional code is determined according to the first time and the second time.
[0066] In an exemplary scenario, when the PTZ camera cruises for the first time, it sends a notification signal 1 second (preset duration) in advance before it turns to preset position 001. After receiving the notification signal, the sensor corresponding to preset position 001 refreshes the QR code and displays it on the ink screen. When the PTZ camera turns to preset position 001 and successfully recognizes the QR code on the ink screen of the sensor, it is considered that the start time of the QR code refresh (1 second in advance) meets the recognition requirements.
[0067] Optionally, in order to improve the reliability of the sensor receiving the notification signal, the PTZ camera still sends a notification signal to each sensor to be identified during the second cruise. The time for sending the signal for the second time can be extracted to 1 / 2 of the preset duration (1s), and the sensor refreshes the QR code after receiving the signal. When the PTZ camera turns to the preset position 001 for the second time, when the QR code on the ink screen of the sensor is successfully identified, it is considered that the start time of the QR code refresh (1 / 2s in advance) meets the identification requirements. By sending the signal twice, the start time of the sensor refreshing the QR code can be accurately determined. For example, in the implementation method, the display refresh time of the QR code can be set 1 / 2s before the PTZ camera turns to the preset position. During the subsequent cruise of the preset position, the sensor automatically refreshes the QR code according to the cruise cycle and displays it on the ink screen. The periodic refresh display of the QR code, such as during the third cruise, can be refreshed at the time point of the second refresh display with an interval of one cruise cycle. Compared with real-time display, the power consumption of the sensor can be effectively reduced. In one embodiment, in order to prevent the preset position from not receiving the notification signal for the first time, the camera still sends the notification signal 1 second in advance before switching to the preset position 001 during the second cruise. After receiving the signal, the corresponding sensor refreshes the QR code and displays it on the ink screen. During the subsequent preset position cruise, the sensor automatically refreshes the QR code according to the cruise cycle and displays it on the ink screen.
[0068] During the subsequent cruise process, the sensor automatically refreshes and displays the QR code according to the cruise cycle sent by the PTZ camera.
[0069] The PTZ camera sends the cruise cycle to all sensors at all points in advance. The cruise cycle refers to the total time of a cruise of all preset positions. In advance synchronization, if Bluetooth synchronization is used, the PTZ camera sends the cruise cycle point-to-point to all sensors; if Zigbee synchronization is used, the PTZ camera sends the cruise cycle to all sensors via broadcast messages.
[0070] For example, four sensors are deployed in an indoor space scene, and the dwell time of each preset position (001, 002, 003, 004) corresponding to each sensor is set to 5s. The camera will synchronize the cruise cycle (20s+α, α is the cruise interval time of the camera preset position and the mechanical start and stop time) to all sensors.
[0071] The sensor can determine the first QR code refresh time based on the notification signal sent by the PTZ camera, and automatically calculate the next refresh time based on the sent cruise cycle, thereby realizing the function of the sensor periodically and automatically refreshing the QR code.
[0072] In an optional implementation, a button may be provided on the sensor, and the user may trigger the QR code refresh by touching the button, or a touch screen may be provided on the sensor to trigger the data update by the touch screen, so as to realize interaction with the user and receive user instructions.
[0073] The S102 PTZ camera uses a preset cruise route to identify the QR code on each sensor and obtain parsed data.
[0074] The embodiment of the present application also includes installing a pan-tilt camera. Before the pan-tilt camera performs cruise recognition, first, it turns to each sensor point and positions the sensor at the point, that is, sets a preset position; based on the position of each sensor preset position, it performs path planning to generate a cruise route; based on the recognition time of the pan-tilt camera, it configures the stay time for all preset positions. The pan-tilt camera performs cruise recognition based on the planned cruise path and the preset position stay time.
[0075] Specifically, the PTZ camera first needs to identify and record the positions of all sensor points, set preset positions, and the PTZ camera moves to each sensor point and sets a preset position for each point. The preset position is a specific position of the camera's viewing angle, and it can quickly return to this position for observation or identification.
[0076] Further, path planning:
[0077] Based on the preset positions of all sensors, the PTZ camera performs path planning and generates a cruise route. Existing path planning algorithms can be used to determine the optimal cruise sequence and path to reduce movement time and improve efficiency.
[0078] Specifically, path planning can be based on the shortest path method or the intrinsic correlation between the sensors. If the priorities of the perception data collected by multiple sensors corresponding to the pan-tilt camera are the same, planning is performed based on the shortest path method to generate a cruise route; if the priorities of the perception data collected by multiple sensors corresponding to the pan-tilt camera are different, path planning is performed based on the priority of the perception data and the shortest path method to generate a cruise route.
[0079] Furthermore, configure the dwell time:
[0080] Configure an appropriate dwell time for each preset position based on the time it takes the PTZ camera to recognize the QR code. The dwell time should be long enough to be greater than the scanning time it takes the camera to recognize the QR code, to ensure that the camera can stably read and recognize the QR code or other information.
[0081] Further, execute the cruise path:
[0082] Before starting cruise recognition, the PTZ camera should ensure that all settings are correctly configured, including preset positions, paths, and dwell time. The PTZ camera moves along the planned cruise path and reaches each preset position in turn.
[0083] Furthermore, preset position stay and recognition:
[0084] After arriving at each preset position, the PTZ camera will stay for a preset time to perform recognition operations, such as reading a QR code. During the recognition process, the PTZ camera will record the collected data and transmit the data to a cloud server or other storage device when appropriate. If any abnormal situation is encountered during the cruise, such as an unrecognizable QR code or sensor failure, the PTZ camera records the abnormality and issues a warning message.
[0085] During the first cruise, the PTZ camera sends a notification signal to the sensor to be identified in advance. After receiving the notification signal, the sensor refreshes the QR code and displays it on the ink screen. In order to improve the reliability of the sensor receiving the notification signal, the PTZ camera still sends a notification signal to each sensor to be identified during the second cruise. The sensor refreshes the QR code after receiving the signal. By sending the signal twice, the start time of the sensor refreshing the QR code can be accurately determined.
[0086] During the preset cruise, the PTZ camera will send the cruise cycle to all preset sensors in advance, and the sensor will determine the refresh display cycle of the QR code based on the cruise cycle. The sensor will automatically calculate the next refresh time based on the QR code refresh display cycle determined by the signal sent in advance during the first cruise and the second cruise, and will automatically refresh the QR code periodically and display it on the ink screen.
[0087] The cruise cycle refers to the total time of a cruise of all preset positions. The PTZ camera obtains the cruise time of a PTZ camera according to the number of preset positions, dwell time, PTZ camera cruise interval time and mechanical start-stop time. Specifically, the cruise cycle = the number of preset positions * dwell time + camera cruise interval time and mechanical start-stop time.
[0088] Optionally, the cruise cycle is determined based on the average time of multiple rounds of pre-cruise of the PTZ camera. The camera can be pre-cruised N times, and the average time of the N cruises is taken as the cruise cycle, which is then synchronized to the sensors at each point.
[0089] The PTZ camera cruises to the sensor according to the preset cruise route (i.e. turns to the sensor) and recognizes the QR code image on the ink screen by calling the QR code recognition module. If the distance is too far or the image is too small, causing the camera to fail to obtain effective pixels and successfully recognize it, the camera automatically starts the zoom function until the QR code recognition is completed and the parsed data is obtained.
[0090] The S103 PTZ camera sends the parsed data to the cloud server.
[0091] Specifically, the PTZ camera uploads the data after QR code recognition and analysis to the cloud server for database storage, intelligent analysis and subsequent application.
[0092] Optionally, the PTZ camera may encrypt the data when uploading it, for example, by using encryption methods such as AES, DES, and hash algorithms to encrypt the uploaded data to improve data transmission security.
[0093] like Figure 5 As shown, it is a database table structure, including the preset position number, the sensor number corresponding to the preset position, and the corresponding collected data of each sensor, including temperature, humidity, PM2.5, brightness, tilt, position coordinates and other sensing data. The data can be pre-stored in the cloud server, and the cloud server can send the sensing data to the corresponding client according to the client request. The user can query the corresponding data through the client and the preset position number or sensor number.
[0094] The method of the present application is that the PTZ camera periodically uploads the data collected by the multi-dimensional sensor without data upload capability to the cloud, reducing the sensor power consumption and improving the security, stability and accuracy of data transmission. The sensors set at multiple preset points collect multi-point data contactlessly, and refresh the data on the sensor's ink screen with a QR code. The QR code refresh cycle of the sensor is accurately synchronized through the cruise cycle synchronization mechanism of the PTZ camera; the start time of the refresh cycle is accurately determined through the notification signaling mechanism of the PTZ camera. The accuracy and stability of the system are improved.
[0095] In order to facilitate understanding of the method of the embodiment of the present application, Figure 2 Further description, such as Figure 2As shown, multiple sensors are set at multiple points to collect data, and the collected data is converted into a QR code and displayed on the ink screen of the sensor body. The PTZ camera moves to each point respectively, sets a preset position for the sensor at that point, and then configures the cruise route and stay time for all preset positions. The PTZ camera identifies the QR code on the ink screen of the sensor at multiple points by means of preset position cruise, obtains the multi-type data collected by the sensor, and then uploads it to the cloud server by the camera, thereby improving the data upload efficiency and reducing the data transmission cost. In the process, the camera sends the cruise cycle and notification signal to the sensor, accurately controls the refresh start time and cycle time of the QR code, and thus improves the accuracy of data collection.
[0096] According to another aspect of the embodiment of the present application, a multi-point data acquisition system for implementing the multi-point data acquisition method is also provided. The system comprises:
[0097] The sensor is pre-set at a plurality of preset positions for collecting data, converting the collected data into a QR code, and periodically displaying the data on an electronic ink screen carried by the sensor body, wherein a refresh display period and a refresh display time node of each sensor QR code are determined according to a time synchronization mechanism between the PTZ camera and the sensor;
[0098] The PTZ camera is used to adopt a preset cruising route, identify the QR code on each sensor, obtain the parsed data, and send the parsed data to the cloud server.
[0099] The cloud server is used to receive and parse data.
[0100] like Figure 5 As shown, the pan-tilt camera provided in the embodiment of the present application includes:
[0101] The configuration module is used to go to each sensor point respectively, set a preset position for the sensor at the point, perform path planning based on the position of the preset position of each sensor, generate a cruise route, and configure the dwell time for all preset positions based on the recognition time of the pan-tilt camera.
[0102] The signaling sending module is used to send the cruise cycle to all preset position sensors in advance. In the case of the first cruise, the notification signal is sent to the sensor to be identified for a preset time in advance; in the case of the second cruise, the notification signal is sent to the sensor to be identified for a preset time in advance; where the cruise cycle = the number of preset position positions * the dwell time + the camera cruise interval time and the mechanical start and stop time. Furthermore, the camera can be allowed to cruise N times in advance, and the average time used for N cruises is taken as the cruise cycle, and then synchronized to the sensors at each point.
[0103] The QR code recognition module is used to recognize the QR code on each sensor and obtain the parsed data.
[0104] The sending module is used to send the parsed data to the cloud server.
[0105] It also includes a communication module, which establishes a connection with sensors and cloud servers through wireless communication, and is used to forward data, send notification signals, send cruise cycles, send routes, etc.
[0106] In an optional embodiment, the sensor comprises:
[0107] The data acquisition module is used to collect multiple types of data such as temperature, humidity, PM2.5, tilt, brightness, and location coordinates.
[0108] The storage module is used to store multiple types of data and basic information of the sensor itself.
[0109] The QR code generation module is used to generate a QR code based on the collected multi-type data and its own information.
[0110] The periodic refresh module is used to determine the refresh and display period of the QR code according to the cruise period; determine the starting time node of the sensor QR code refresh display in each cruise period according to the notification signal sent by the PTZ camera and the cruise period; determine the QR code refresh time according to the refresh display starting time node and the refresh display period, and automatically refresh the QR code periodically according to the QR code refresh time and display it on the ink screen.
[0111] It should be noted that the multi-point data acquisition system provided in the above embodiment only uses the division of the above functional modules as an example when executing the multi-point data acquisition method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the multi-point data acquisition system provided in the above embodiment and the multi-point data acquisition method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
[0112] According to another aspect of the embodiments of the present application, a computer-readable storage medium corresponding to the multi-point data acquisition method provided in the aforementioned embodiments is also provided, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it will execute the multi-point data acquisition method provided in any of the aforementioned embodiments.
[0113] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0114] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the multi-point data acquisition method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0115] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0116] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the attached claims.
Claims
1. A multi-point data collection method, characterized in that: include: Based on the data collected by sensors set at multiple preset positions, the collected data is converted into a QR code, which is periodically refreshed and displayed on the electronic ink screen mounted on the sensor body; The PTZ camera uses a preset cruise route to identify the QR code on each sensor and obtain parsed data; The PTZ camera sends the parsed data to the cloud server; Among them, the refresh display cycle and refresh display time node of each sensor QR code are determined according to the time synchronization mechanism between the pan-tilt camera and the sensor.
2. The method according to claim 1, characterized in that The method of determining the refresh display cycle and refresh display time node of each sensor two-dimensional code according to the time synchronization mechanism between the pan-tilt camera and the sensor includes: The PTZ camera sends the cruise cycle to all preset position sensors in advance, and the sensors determine the refresh display cycle of the QR code according to the cruise cycle; According to the notification signal and cruise cycle sent by the PTZ camera, the refresh display time node of the sensor QR code in each cruise cycle is determined.
3. The method according to claim 1, characterized in that The PTZ camera uses a preset cruise route, and before identifying the QR code on each sensor, it also includes: The PTZ camera moves to each sensor point respectively, and sets a preset position for the sensor at that point; Performing path planning based on the preset position of each sensor to generate the cruise route; The dwell time is configured for all preset positions based on the recognition time of the pan / tilt camera.
4. The method according to claim 2, characterized in that: Before the PTZ camera sends the cruise cycle to all sensors at all points in advance, it also includes: The PTZ camera obtains the time for one round of cruising according to the number of preset positions, the dwell time, the cruising interval time of the PTZ camera, and the mechanical start and stop time; The cruise cycle is determined according to the average time taken by the pan / tilt camera for multiple rounds of pre-cruise.
5. The method according to claim 1, characterized in that The steps of determining the refresh display cycle and refresh display time node of each sensor QR code according to the time synchronization mechanism between the PTZ camera and the sensor include: In the case of the first cruise, the PTZ camera sends a notification signal to the sensor to be identified for a preset time in advance; The sensor refreshes the QR code after receiving the notification signal, and displays the refreshed QR code on the ink screen, and records the first time when the sensor refreshes the QR code for the first time; In the case of the second cruise, the PTZ camera sends a notification signal to the sensor to be identified. After receiving the notification signal, the sensor refreshes the QR code and displays the refreshed QR code on the ink screen, and records the second time when the sensor refreshes the QR code for the second time; A refresh display time node of the sensor two-dimensional code of the preset position is determined according to the first time and the second time.
6. The method according to claim 1, characterized in that The sensor is used to collect multiple types of data such as temperature, humidity, PM2.5, inclination, brightness, and location coordinates.
7. A multi-point data acquisition system, characterized in that: include: The sensor is pre-set at multiple points to collect data, convert the collected data into a QR code, and periodically refresh and display it on the electronic ink screen carried by the sensor body, wherein the refresh display cycle and refresh display time node of each sensor QR code are determined according to the time synchronization mechanism between the pan-tilt camera and the sensor; The PTZ camera is used to use a preset cruising route to identify the QR code on each sensor, obtain parsed data, and send the parsed data to a cloud server; The cloud server is used to receive the parsed data.
8. The system according to claim 7, characterized in that The pan-tilt camera comprises: A configuration module, used to go to each sensor point respectively, set a preset position for the sensor at the point, perform path planning based on the position of the preset position of each sensor, generate the cruise route, and configure the stay time for all preset positions based on the recognition time of the pan-tilt camera; The signaling sending module is used to send the cruise cycle to all preset sensors in advance synchronously. In the case of the first cruise, the notification signaling is sent to the sensor to be identified for a preset time in advance; in the case of the second cruise, the notification signaling is sent to the sensor to be identified for a preset time in advance; A QR code recognition module is used to recognize the QR code on each sensor and obtain parsed data; The sending module is used to send the parsed data to the cloud server.
9. The system according to claim 8, characterized in that The sensor comprises: Data acquisition module, used to collect temperature, humidity, PM2.5, tilt, brightness, location coordinates and other types of data; A storage module, used to store the multiple types of data and basic information of the sensor itself; A QR code generation module is used to generate a QR code based on the collected multi-type data and its own information; The periodic refresh module is used to determine the refresh display period of the QR code according to the cruise period; determine the sensor QR code refresh display time node in each cruise period according to the notification signaling and cruise period sent by the pan-tilt camera; and automatically refresh the QR code periodically and display it on the ink screen according to the QR code refresh display time node.
10. A computer-readable medium, characterized in that Computer-readable instructions are stored thereon, and the computer-readable instructions are executed by a processor to implement a multi-point data acquisition method as described in any one of claims 1 to 6.