A wireless ad hoc network multifunctional network data collector

By designing a wireless ad hoc multifunctional network data collector and using memory and communication units to automatically update the collection model, the problems of poor applicability and low efficiency in the existing technology are solved, and adaptive data collection function updates are achieved.

CN115052210BActive Publication Date: 2025-09-19ZHENGZHOU HUATAI UNITED IND AUTOMATION CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210801613.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-08
Publication Date
2025-09-19
Estimated Expiration
2042-07-08

AI Technical Summary

Technical Problem

Existing network data collectors are usually customized and cannot adaptively update the collection model, resulting in poor applicability and low efficiency, and require manual loading of new collection programs.

Method used

A wireless ad hoc multifunctional network data collector is designed, which includes a memory, a configuration unit and a communication unit. It can automatically update the collection model from the cloud device and realize adaptive function update by generating and parsing communication instructions through the communication unit.

Benefits of technology

The applicability and efficiency of network data collectors are improved, and they can dynamically adapt to different data collection needs without the need for manual program loading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115052210B_ABST
    Figure CN115052210B_ABST
Patent Text Reader

Abstract

The present invention provides a multifunctional wireless ad hoc network data collector, comprising: a memory for storing a collection model; a configuration unit for reading the collection model, or receiving and loading the collection model from a cloud device; and a communication unit for networking with the collected device and the cloud device, generating communication instructions using the collection model, communicating with the collected device using the communication instructions, and collecting data from the collected device. This multifunctional wireless ad hoc network data collector changes its functions by pulling the collection model from the cloud device, enabling the network data collector to adaptively update the collection model, thereby improving its applicability and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of computer networks, and in particular relates to a wireless ad hoc network multifunctional network data collector. Background Art

[0002] Currently, common network data collectors are custom-built, configured based on the data structure they need to collect. For example, a dedicated data collector for a specific type of data is used only for that data type and cannot be used to collect other data, resulting in poor applicability. If a data collector needs to be used to collect other data, the new collection program must be manually loaded into the data collector, which is time-consuming, labor-intensive, and inefficient. Summary of the Invention

[0003] In view of the defects in the prior art, the present invention provides a wireless ad hoc network multifunctional network data collector, which can adaptively update the collection model, thereby improving applicability and efficiency.

[0004] A wireless ad hoc multifunctional network data collector, comprising:

[0005] Memory: used to store acquisition models;

[0006] Configuration unit: used to read the acquisition model, or receive and load the acquisition model from the cloud device;

[0007] Communication unit: used to establish a network with the collected devices and cloud devices, generate communication instructions using the collection model, communicate with the collected devices using the communication instructions, and collect data from the collected devices.

[0008] Preferably, the communication unit is specifically used for:

[0009] Generate communication instructions using the acquisition model and put the communication instructions into the priority queue;

[0010] Read the communication instructions in the priority queue and send them to the collected device;

[0011] Receive response instructions from the collected equipment;

[0012] The response instruction is parsed using the acquisition model to obtain the response data.

[0013] Preferably, the communication unit is further configured to:

[0014] Send the response data to the requesting device.

[0015] Preferably, the data frame structure of the acquisition model includes:

[0016] Device address code, function instruction, XOR check code, instruction length, extended instruction, MAC address, data field, CRC check field.

[0017] Preferably, the configuration unit is specifically used to:

[0018] Regularly check whether there is a new collection model on the cloud device. If so, delete the existing collection model and receive and load the new collection model.

[0019] Preferably, the wireless ad hoc network multifunctional network data collector includes a processor and a power module; the processor is connected to the power module, the memory, the configuration unit, and the communication unit respectively.

[0020] Preferably, the communication unit includes: a communication chip, a first transistor and a storage chip;

[0021] The first end, the second end, and the third end of the communication chip are connected to a 3.3V power signal, the second end of the communication chip is connected to the first end of the first transistor, the second end of the first transistor is connected to the processor, and the third end of the first transistor is grounded; the third end of the communication chip is grounded;

[0022] The fourth end of the communication chip is connected to the first end of the memory chip, the fifth end of the communication chip is connected to the second end of the memory chip, and the third end of the memory chip is grounded.

[0023] Preferably, the power module includes a first power chip, a second power chip and a third power chip;

[0024] The first end of the first power chip is connected to a 12V power signal, the second end of the first power chip and the second end of the second power chip are grounded, the third end of the first power chip outputs a 5V power signal to the first end of the second power chip, and the third end of the second power chip outputs a 3.3V power signal;

[0025] The first end of the third power chip is connected to the 5V power signal and the first end of the diode, the second end of the diode is connected to the 12V power signal, the second end of the third power chip is connected to the first end of the inductor, and the second end of the inductor is connected to the 3.3V power signal.

[0026] Preferably, the wireless ad hoc network multifunctional network data collector includes a data conversion circuit;

[0027] The data conversion circuit includes a first optocoupler and a second optocoupler; the first end of the first optocoupler and the first end of the second optocoupler are connected to a 5V power supply signal through a resistor, and the second end, third end of the first optocoupler and the second end, third end of the second optocoupler are connected to a processor.

[0028] It can be seen from the above technical solution that the wireless ad hoc network multifunctional network data collector provided by the present invention changes the function of the network data collector by pulling the collection model of the cloud device, so that the network data collector can adaptively update the collection model, thereby improving the applicability and efficiency of the network data collector. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly describes the drawings required for the specific embodiments or the description of the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. Elements or parts in the drawings are not necessarily drawn to scale.

[0030] Figure 1 This is a module block diagram of a wireless ad hoc network multifunctional network data collector provided in an embodiment.

[0031] Figure 2 This is a module block diagram of the circuit in the wireless ad hoc network multifunctional network data collector provided in the embodiment.

[0032] Figure 3 A peripheral circuit diagram of a processor provided in an embodiment.

[0033] Figure 4 A circuit diagram of a watchdog circuit provided in an embodiment.

[0034] Figure 5 A circuit diagram of a communication unit provided in an embodiment.

[0035] Figure 6 This is a circuit diagram of a portion of the power module provided in the embodiment.

[0036] Figure 7 This is a circuit diagram of another part of the power module provided in the embodiment.

[0037] Figure 8 A circuit diagram of a data conversion circuit provided in an embodiment. DETAILED DESCRIPTION

[0038] The following embodiments of the technical solution of the present invention are described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention and are therefore only examples and are not intended to limit the scope of protection of the present invention. It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.

[0039] It will be understood that when used in this specification and the appended claims, the terms “comprises” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0040] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in the specification and appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0041] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0042] Example:

[0043] A wireless ad hoc multifunctional network data collector, see Figure 1 ,include:

[0044] Memory 1: used to store acquisition models;

[0045] Configuration unit 2: used to read the acquisition model, or receive and load the acquisition model from the cloud device;

[0046] Communication unit 3: used to establish a network with the collected device and the cloud device, generate communication instructions using the collection model, communicate with the collected device using the communication instructions, and collect data from the collected device.

[0047] In this embodiment, the collection model can be a communication protocol between the network data collector and other devices (e.g., a cloud device or a device being collected). The network data collector can have a built-in collection model when it leaves the factory. In this way, when the network data collector is used for the first time, it can read the built-in collection model and communicate with other devices based on the collection model. During subsequent use, the network data collector can also read the collection model of the cloud device and replace the collection model stored in the memory 1.

[0048] In this embodiment, the collection model in the network data collector can be updated actively or passively. For example, the active update method is that when the user wants to change the function of the network data collector and collect another type of data, he or she can initiate a request to the cloud device to load the collection model corresponding to the other type of data. After receiving the request, the cloud device returns the collection model to the network data collector. The passive update method is that when the collection model in the cloud device is updated, the new collection model is sent to the network data collector, and the network data collector stores and loads the new collection model. The administrator can modify the collection model directly on the cloud device, or upload the new collection model to the cloud device, thereby replacing the original collection model on the cloud device.

[0049] In this embodiment, the communication unit 3 plays a networking function. For example, the communication unit 3 can have its own wireless MESH routing function and communicate with other networks to realize a dynamic and continuously expanding network architecture, so that the network data collector can be wirelessly connected to other devices. The communication unit 3 generates a communication instruction based on the acquisition model and transmits it to the collected device. When a response instruction from the collected device is received, the acquisition model is used to parse the response instruction to obtain the response data of the collected device, thereby realizing communication between the network data collector and the collected device. Similarly, if the network data collector communicates with other devices (such as edge computers), the acquisition model is used to generate a communication instruction and transmit it to the other devices. When a response instruction from the other devices is received, the acquisition model is used to parse the response instruction to obtain the response data of the other devices, thereby realizing communication between the network data collector and other devices.

[0050] The wireless ad hoc multifunctional network data collector changes its function by pulling the collection model of the cloud device, so that the network data collector can adaptively update the collection model, thereby improving the applicability and efficiency of the network data collector.

[0051] Furthermore, in some embodiments, the communication unit 3 is specifically configured to:

[0052] Generate communication instructions using the acquisition model and put the communication instructions into the priority queue;

[0053] Read the communication instructions in the priority queue and send them to the collected device;

[0054] Receive response instructions from the collected equipment;

[0055] The response instruction is parsed using the acquisition model to obtain the response data.

[0056] In this embodiment, during communication, communication unit 3 places generated communication instructions into a priority queue, which can be a first-in, first-out queue, thereby implementing a first-come, first-served approach. Each time, communication unit 3 reads a communication instruction from the priority queue and sends it to the device being collected. Upon receiving a response instruction, it uses the collection model to parse the response instruction to obtain response data.

[0057] Furthermore, in some embodiments, the communication unit 3 is further configured to:

[0058] Send the response data to the requesting device.

[0059] In this embodiment, the requesting device can be a third-party application, a third-party official account, a third-party mini-program, etc. The requesting device can request data from the network data collector. When the network data collector parses and obtains the corresponding response data, it can send the response data to the requesting device, and the user can view the response data through the requesting device.

[0060] Furthermore, in some embodiments, the data frame structure of the acquisition model includes:

[0061] Device address code, function instruction, XOR check code, instruction length, extended instruction, MAC address, data field, CRC check field.

[0062] In this embodiment, the data frame structure of the acquisition model may include the following fields:

[0063] Device address code: 1 byte, value range is 1-255;

[0064] Function instruction: 1 byte, value range is 1-255;

[0065] XOR check code: 1 byte, which is the XOR of the device address code and the function instruction;

[0066] Instruction length: 1 byte, value is N+8;

[0067] Extended instruction: 2 bytes;

[0068] MAC address: 4 bytes;

[0069] Data field: N bytes; N is equal to 1-240;

[0070] CRC check field: 2 bytes, uses the CRC check method to check the data from the device address code to the end of the data field, and can use the CRC16 check method.

[0071] In this embodiment, when the network data collector receives a response instruction, it first determines the length, frame header, and CRC checksum, and then performs data parsing after the checksum passes. For example, if the received response instruction is: FC 03FF 10 01 01 191C BD CC ff ff ff ff ff ff ff ff 06 97, FC is the device address code, 03 is the function instruction, FF FC 03 is the XOR checksum, 10 is the instruction length, 0101 is the extended instruction, 19 1C BD CC is the MAC address, ff ff ff ff ffff ff is the data field, and 06 97 is the CRC checksum field. When parsing the response instruction, if the network data collector receives the response instruction in hexadecimal data, it can perform decimal conversion. For example, the decimal value of FF is 255. During the acquisition model parsing process, if there are bit flag fields, they are identified as binary bits to obtain the relevant functional status in the response instruction. Finally, the network data collector can uniformly convert the response data into JSON object format and push it to the requesting device. Similarly, if the communication data received by the network data collector is in JSON object format, the JSON object format is encapsulated into a hexadecimal array according to the collection model, and the communication instruction is obtained and sent to other devices or the collected device.

[0072] Furthermore, in some embodiments, the configuration unit 2 is specifically configured to:

[0073] Regularly check whether there is a new collection model on the cloud device. If so, delete the existing collection model and receive and load the new collection model.

[0074] In this embodiment, the network data collector can detect whether the cloud device has a new collection model every ten minutes. If so, the current collection model of the network data collector is replaced.

[0075] Further, in some embodiments, see Figure 2 The wireless ad hoc multifunctional network data collector includes a processor 4 and a power module 5; the processor 4 is connected to the power module 5, the memory 1, the configuration unit 2, and the communication unit 3 respectively.

[0076] In this embodiment, the power module 5 is used to provide power to the wireless ad hoc network multifunctional network data collector, and the processor 4 is Figure 3 The U2 chip in the processor 4 and the peripheral circuits of the processor 4 are as follows Figure 3 As shown, the processor 4 can also be connected to a watchdog circuit. Figure 4The watchdog circuit includes chip S1, model SP706. Pin 1 of chip S1 is connected to pin 8, pin 2 is connected to a 3.3V power signal, pins 3 and 4 are grounded, and pin 4 is also connected to a 3.3V power signal via a series capacitor C8. Pin 6 is connected to processor 4. This watchdog circuit is implemented using a hardware watchdog, which can cope with complex industrial environments and prevent program errors.

[0077] Further, in some embodiments, see Figure 5 , the communication unit 3 includes: a communication chip UM1, a first transistor and a storage chip;

[0078] The first, second, and third terminals of the communication chip UM1 are connected to a 3.3V power signal, the second terminal of the communication chip UM1 is connected to the first terminal of the first transistor, the second terminal of the first transistor is connected to the processor 4, and the third terminal of the first transistor is grounded; the third terminal of the communication chip UM1 is grounded;

[0079] The fourth terminal of the communication chip UM1 is connected to the first terminal of the memory chip, the fifth terminal of the communication chip UM1 is connected to the second terminal of the memory chip, and the third terminal of the memory chip is grounded.

[0080] In this embodiment, the communication unit 3 implements the function of converting TTL to Modbus, and also provides protection against lightning, surges, and other signal damage in industrial environments. The model of the communication chip is SP3485BN. The first end, second end, and third end of the communication chip UM1 are pin 1, pin 2, and pin 4, respectively. The first pin, pin 2, and pin 4 of the communication chip UM1 can be connected to a 3.3V power signal through a resistor in series. The third pin of the communication chip UM1 is connected to its second pin. The fourth pin of the communication chip UM1 is connected to ground through a capacitor C6 in series. The eighth pin of the communication chip UM1 is connected to a 3.3V power signal. The fifth pin of the communication chip UM1 is grounded and also connected to a 3.3V power signal through a capacitor C7 in series. The first end of the first transistor Q1 can be a collector, the second end of the first transistor Q1 can be a base, the third end of the first transistor can be an emitter, and the second end of the first transistor Q1 can be connected to the processor 4 through a resistor in series.

[0081] In this embodiment, the fourth end of the communication chip UM1 is its 7th pin, the fifth end of the communication chip UM1 is its 6th pin, the first end of the memory chip is its 2nd pin, the second end of the memory chip is its 1st pin, the 7th pin of the communication chip UM1 is connected to its 6th pin through a series resistor R8, the 7th pin of the communication chip UM1 is grounded through a series resistor R6, and the 6th pin of the communication chip UM1 is connected to a 3.3V power supply signal through a series resistor R10.

[0082] In this embodiment, the communication chip UM1 is used to implement the wireless MESH routing function, and the storage chip is used to store communication data (such as communication instructions, response instructions, response data, etc.).

[0083] Further, in some embodiments, see Figure 6 、 7 , the power module 5 includes a first power chip, a second power chip and a third power chip;

[0084] The first end of the first power chip is connected to a 12V power signal, the second end of the first power chip and the second end of the second power chip are grounded, the third end of the first power chip outputs a 5V power signal to the first end of the second power chip, and the third end of the second power chip outputs a 3.3V power signal;

[0085] The first end of the third power chip is connected to the 5V power signal and the first end of the diode, the second end of the diode is connected to the 12V power signal, the second end of the third power chip is connected to the first end of the inductor, and the second end of the inductor is connected to the 3.3V power signal.

[0086] In this embodiment, the power module 5 converts a 12V power signal into a 5V power signal, and then into a 3.3V power signal. The first power chip is VR2, the second power chip is VR1, and the third power chip is J1. The first terminals of the first and second power chips are both input terminals, the second terminals of the first and second power chips are both ground terminals, and the third terminals of the first and second power chips are both output terminals. The first power chip is used to step down the 12V power signal to a 5V power signal, and the second power chip is used to step down the 5V power signal to a 3.3V power signal. The 5V power signal is also connected to ground via a series capacitor.

[0087] In this embodiment, the third power chip is J1, model number jw5033. The first end of the third power chip is its pin 3, the first end of the diode can be the cathode, and the second end of the diode can be the anode. Pin 5 of the third power chip is connected to a 5V power signal via resistor R14. The second end of the third power chip can be pin 2, and pin 2 of the third power chip is also connected to pin 6 of the third power chip via a series capacitor C9. Pin 4 of the third power chip is grounded via resistor R16 and is also connected to a 3.3V power signal via resistor R15. Power module 5 implements wide voltage regulation and utilizes secondary voltage regulation technology to effectively reduce the power supply ripple factor, providing power for efficient and stable operation.

[0088] Further, in some embodiments, see Figure 8 ,The wireless ad hoc network multifunctional network data collector includes a data conversion circuit;

[0089] The data conversion circuit includes a first optocoupler and a second optocoupler; the first end of the first optocoupler and the first end of the second optocoupler are connected to a 5V power supply signal through a resistor, and the second end and third end of the first optocoupler and the second end and third end of the second optocoupler are connected to the processor 4.

[0090] In this embodiment, the first optocoupler is U1, the second optocoupler is U2, and the first terminals of the first and second optocouplers are both anodes of diodes. This data conversion circuit can isolate the digital circuit portion from the analog signal, effectively preventing the interface portion from interfering with the central processing unit, and further improving the reliability of the system.

[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and description of the present invention.

Claims

1. A wireless ad hoc multifunctional network data collector, characterized in that: include: Memory: used to store acquisition models; Configuration unit: used to read the acquisition model, or receive and load the acquisition model from the cloud device; Communication unit: used to establish a network with the collected device and the cloud device, generate communication instructions using the collection model, communicate with the collected device using the communication instructions, and collect data from the collected device; The wireless ad hoc network multifunctional network data collector includes a processor and a power supply module; The processor is connected to the power module, the memory, the configuration unit, and the communication unit respectively; The communication unit includes: a communication chip, a first transistor and a storage chip; The first, second, and third ends of the communication chip are each connected in series with a resistor and connected to a 3.3V power signal; the second end of the communication chip is connected to the first end of the first transistor; the second end of the first transistor is connected in series with a resistor and connected to the processor; and the third end of the first transistor is grounded; one plate of a capacitor is connected between the third end of the communication chip and the corresponding series resistor, and the other plate of the capacitor is grounded; The fourth end of the communication chip is connected to the first end of the memory chip, the fifth end of the communication chip is connected to the second end of the memory chip, and the third end of the memory chip is grounded.

2. The wireless ad hoc multifunctional network data collector according to claim 1, characterized in that: The communication unit is specifically used for: generating communication instructions using the acquisition model, and placing the communication instructions into a priority queue; Reading the communication instruction in the priority queue, and sending the communication instruction to the collected device; Receiving a response instruction from the collected device; The response instruction is parsed using the acquisition model to obtain response data.

3. The wireless ad hoc multifunctional network data collector according to claim 2, characterized in that: The communication unit is further used for: The response data is sent to the requesting device.

4. The wireless ad hoc multifunctional network data collector according to claim 1, characterized in that: The data frame structure of the acquisition model includes: Device address code, function instruction, XOR check code, instruction length, extended instruction, MAC address, data field, CRC check field.

5. The wireless ad hoc multifunctional network data collector according to claim 1, characterized in that: The configuration unit is specifically used for: Regularly detect whether the cloud device has a new acquisition model. If so, delete the existing acquisition model and receive and load the new acquisition model.

6. The wireless ad hoc multifunctional network data collector according to claim 1, characterized in that: The power module includes a first power chip, a second power chip and a third power chip; The first end of the first power chip is connected to a 12V power signal, the second end of the first power chip and the second end of the second power chip are grounded, the third end of the first power chip outputs a 5V power signal to the first end of the second power chip, and the third end of the second power chip outputs the 3.3V power signal; The first end of the third power chip is connected to the 5V power signal and the first end of the diode, the second end of the diode is connected to the 12V power signal, the second end of the third power chip is connected to the first end of the inductor, and the second end of the inductor is connected to the 3.3V power signal.

7. The wireless ad hoc multifunctional network data collector according to claim 6, characterized in that: The wireless ad hoc network multifunctional network data collector includes a data conversion circuit; The data conversion circuit includes a first optocoupler and a second optocoupler; the first end of the first optocoupler and the first end of the second optocoupler are connected to the 5V power supply signal through a resistor, and the second end, third end of the first optocoupler and the second end, third end of the second optocoupler are connected to the processor.

Citation Information

Patent Citations

  • A software-defined universal sensing data acquisition, analysis and reporting system and method

    CN109104300A