Data acquisition method and system based on multipath interface and MESH network, and medium

By comparing and discarding duplicate data in the sanitation garbage automation identification and classification system, and combining the self-repair function of the MESH network, the problem of duplicate data accumulation in data transmission is solved, the operation efficiency and stability of the equipment are improved, and the operation efficiency and stability of the equipment are ensured. Efficient and continuity of sanitation work.

CN119135514APending Publication Date: 2024-12-13CHONGQING ENVIRONMENT & SANITATION GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411403116.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the automated identification and classification system of sanitation garbage, data transmission of MESH network may lead to duplicate data accumulation, occupying storage space, causing equipment to run slowly or crash, affecting processing efficiency and effect.

Method used

By comparing the collected data with the data in the storage module in real time before data transmission, automatically identifying and discarding duplicate data, using the self-repair function of multiple interfaces and MESH network to monitor node failures, ensuring the accuracy and continuity of data transmission sex.

Benefits of technology

It effectively reduces the storage of useless data, saves storage space, improves the operating efficiency and stability of equipment, and ensures the continuity and efficiency of sanitation work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135514A_ABST
    Figure CN119135514A_ABST
Patent Text Reader

Abstract

The invention relates to a multi-interface and MESH network-based data acquisition method and system, and a medium. The method comprises the following steps of S1, jointly constructing an MESH network by using a router with multiple interfaces and a network terminal needing to be accessed; s2, after the MESH network is constructed, the router automatically constructs network groups when transmitting network data, and each network group comprises a plurality of nodes; s3, performing real-time monitoring and fault recovery on the data transmitted in the network group; s4, comparing the acquired data with the existing data in the data storage module; if the data are repeated, directly discarding the repeated data; and if the data are not repeated, the collected data are transmitted to the data storage module. According to the invention, real-time comparison, automatic identification and discarding of repeated data can be carried out before data is transmitted to the data storage module, so that storage of useless data is reduced, and storage space resources are effectively released and saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network data collection, and in particular to a data collection method, system and medium based on a multi-channel interface and a MESH network. Background Art

[0002] With the development of the national economy, people's living standards are constantly improving, and the amount of garbage in daily life is increasing, leading to the continuous deterioration of the environmental conditions. Through investigation, it is found that the so-called garbage is actually a resource. It is only garbage when it is misplaced by people. Through garbage classification, these materials can be concentrated in professional institutions for harmless treatment, which can reduce environmental pollution, and even some toxic and hazardous garbage can be turned into treasure after treatment. The sources of domestic garbage in my country's urban garbage are very wide, but they are very scattered. Although garbage classification policies and related garbage classification measures have been continuously introduced, due to the long-term lack of garbage classification knowledge among the people, the garbage classification work has not been effective and has not fully exerted its influence.

[0003] As the main executors of garbage classification, whether residents can carry out effective garbage classification has a direct impact on the country's garbage classification results. However, due to the large amount and variety of garbage and the difficulty in distinguishing them, classification errors often occur. Moreover, when throwing garbage away in daily life, people usually throw garbage into the trash can at will. The lack of classification time and classification awareness reduces the efficiency and accuracy of garbage classification.

[0004] In the automated identification and classification system for sanitation waste, multi-channel interfaces and self-healing MESH networks are often used to collect waste classification information. When the sanitation waste classification and recycling utilizes the MESH network for data collection, it often follows the network information of the MESH network itself for effective transmission. However, when the MESH network is constructed into nodes and transmitted, it may be damaged between two nodes. The self-healing function of the MESH network is used to rebuild a new MESH network transmission method. However, duplication may occur during network transmission, resulting in an increase in the amount of data being stored, which can easily cause the data storage module to store more useless data, resulting in a waste of storage space, and even the sanitation waste classification equipment may freeze or run slowly, thus affecting the processing efficiency and effectiveness of the entire sanitation work.

[0005] Therefore, it is necessary to develop a new data acquisition method, system and medium based on multi-channel interface and MESH network. Summary of the invention

[0006] The purpose of the present invention is to provide a data acquisition method, system and medium based on a multi-channel interface and a MESH network, which can perform real-time comparison before data is transmitted to a data storage module, automatically identify and discard duplicate data, so as to reduce the storage of useless data and effectively release and save storage space resources.

[0007] In a first aspect, a data collection method based on a multi-channel interface and a MESH network according to the present invention comprises the following steps: S1: Use routers with multiple interfaces and network terminals that need to be accessed to build a MESH network; S2: After the MESH network is built, the router automatically builds a network group when transmitting network data, where each network group includes multiple nodes; S3: Real-time monitoring and fault recovery of data transmitted within the network group, specifically: Monitor each node in the network group; When all nodes are monitored to be operating normally, data collection is performed directly; When a fault is detected between nodes, all node communications are interrupted, and a new node connection is established at the faulty node using the self-repair function of the MESH network. Data collection continues after communication is restored. S4: comparing the collected data with the existing data in the data storage module; If the data is repeated, the duplicate data is discarded directly; If the data is not repeated, the collected data will be transmitted to the data storage module.

[0008] Optionally, S2 is specifically: The router automatically constructs the network group of the fastest path according to the transmitted network information, and then connects each network group to obtain the required network transmission network group, wherein the constructed network transmission network group includes multiple nodes from node 1 to node n.

[0009] Optionally, in S3, when a node in the network group is detected to be damaged, the node is repaired and network data generated at the node is collected preferentially. For example, if the damaged node is transmitting important data, data disorder may occur if it is not detected preferentially.

[0010] Optionally, the S4 is specifically: Determine whether the collected data is consistent with the existing data in the data storage module; If the two are consistent, it means that the data is duplicated, and the duplicate data is discarded directly; If the two are inconsistent, the transmission node will be judged for the second time. If the result of the second judgment is still inconsistent, it means that the data is not repeated, and the detected data will be transmitted to the data storage module. Through two judgments, it can be more accurately confirmed whether the data is repeated. The first judgment may lead to misjudgment due to some accidental factors (such as data reading errors, network delays, etc.), and the second judgment is equivalent to a review process, which greatly reduces the possibility of misjudgment, thereby improving the accuracy of the data.

[0011] Optionally, S4 further includes transferring the collected data to a data storage module and replacing the original data in the data storage module. If the data is stored without replacement, when there is a lot of data stored later, it will cause a jam.

[0012] In a second aspect, a data acquisition system based on a multi-channel interface and a MESH network described in the present invention comprises a memory and a controller, wherein the memory stores a computer-readable program, and when the computer-readable program is called by the controller, it can execute the steps of the data acquisition method based on a multi-channel interface and a MESH network described in the present invention.

[0013] In a third aspect, the present invention provides a medium storing a computer-readable program, wherein the computer-readable program, when called by a controller, can execute the steps of the data acquisition method based on a multi-channel interface and a MESH network as described in the present invention.

[0014] Beneficial effects of the present invention: (1) The present invention judges the transmission nodes, and when it is judged that there is no problem in the transmission between the nodes, the data is transmitted to the data storage module. When it is judged that there is an error in the transmission between the nodes, the collected data is analyzed again to analyze whether there is duplication between the collected data and the data in the data storage module; when it is judged that the data is not repeated, the transmission nodes are judged again. When the result of the second judgment is still inconsistent data, it means that the data can be transmitted to the data storage module. When the data storage module receives the information, the transmitted data is transmitted to the network signal receiving end, and the transmitted information is received; when it is judged to be duplicate data, the data is directly discarded. The present invention can perform real-time comparison before the data is transmitted to the data storage module, automatically identify and discard duplicate data, thereby significantly reducing the storage of useless data, and effectively releasing and saving storage space resources. The present invention reduces the accumulation of useless data, avoids the problem of excessive memory usage, slow operation or even crash of sanitation garbage sorting equipment due to processing a large amount of duplicate data, significantly improves the operation efficiency and stability of the equipment, and ensures the continuity and efficiency of sanitation work.

[0015] (2) The present invention can monitor nodes in a network group in real time and has an automatic fault recovery function, thereby ensuring the continuity and stability of data collection and improving the reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a flow chart of the data collection method based on multi-channel interface and MESH network described in the embodiment of the present application; Figure 2 It is a schematic diagram of the data acquisition method based on a multi-channel interface and a MESH network described in an embodiment of the present application; Figure 3 It is a schematic diagram of the secondary judgment in the embodiment of the present application; Figure 4 It is a principle block diagram of the data acquisition system based on multi-channel interface and MESH network described in the embodiment of the present application. DETAILED DESCRIPTION

[0017] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0018] When the MESH network is used for data collection during the recycling of sanitation waste classification, it often follows the network information of the MESH network itself for effective transmission. However, when the MESH network is constructed into nodes and transmitted, it may be damaged between two nodes. In order to solve the above problem, when data is stored, due to the large amount of stored data, it is easy for the data storage module to store more useless data, resulting in a waste of storage space. The present invention provides a data collection method based on a multi-channel interface and a MESH network.

[0019] like Figure 1 and Figure 2 As shown, in an embodiment of the present application, a data collection method based on a multi-channel interface and a MESH network includes the following steps: S1: Use a router with multiple interfaces and network terminals that need to be accessed to build a MESH network.

[0020] S2: After the MESH network is built, the router automatically builds a network group when transmitting network data, where each network group includes multiple nodes.

[0021] S3: Real-time monitoring and fault recovery of data transmitted within the network group, specifically: Monitor each node in the network group.

[0022] When all nodes are monitored to be operating normally, data collection is performed directly.

[0023] When a fault is detected between nodes, all node communications are interrupted, and a new node connection is established at the faulty node using the self-repair function of the MESH network. Data collection continues after communication is restored.

[0024] S4: Compare the collected data with the existing data in the data storage module.

[0025] If the data is repeated, the duplicate data will be discarded directly.

[0026] If the data is not repeated, the collected data will be transmitted to the data storage module.

[0027] In a possible embodiment, S1 specifically includes: a staff member connects a router to a network terminal that needs to be accessed. During the connection, a MESH network will be constructed in the network to form a complete network transmission mode.

[0028] like Figure 2 As shown, in a possible embodiment, S2 is specifically: the router automatically constructs a network group of the fastest path according to the transmitted network information, and then connects each network group to obtain the required network transmission network group, wherein the constructed network transmission network group includes multiple nodes from node 1 to node n.

[0029] In a possible embodiment, in S3, when a node in the network group is detected to be damaged, the node is repaired and the network data generated at the node is collected preferentially. Assuming that the damaged node is transmitting important data, if it is not detected preferentially, data disorder may occur.

[0030] like Figure 3 As shown, in a possible embodiment, the S4 is specifically: Determine whether the collected data is consistent with the existing data in the data storage module. If the two are consistent, it means that the data is repeated, and the duplicate data is directly discarded. If the two are inconsistent, a second judgment is made on the transmission node. If the result of the second judgment is still inconsistent data, it means that the data is not repeated, and the detected data is transmitted to the data storage module. Through two judgments, it can be more accurately confirmed whether the data is repeated. The first judgment may lead to misjudgment due to some accidental factors (such as data reading errors, network delays, etc.), and the second judgment is equivalent to a review process, which greatly reduces the possibility of misjudgment, thereby improving the accuracy of the data.

[0031] In a possible embodiment, the S4 further includes replacing the original data in the data storage module when the collected data is transferred to the data storage module. If the data is only stored without being replaced, when there is a lot of data stored later, it will cause a jam.

[0032] like Figure 2 and Figure 3 As shown, in the embodiment of the present application, the computer-readable program is divided according to functional modules, including a processing module, a data acquisition module, a judgment module and a data storage module connected to each other. Among them: Data acquisition module: used to collect network data transmitted by multiple interfaces.

[0033] Data storage module: used to store data collected between multi-channel interfaces and self-healing MESH networks.

[0034] Processing module: used to process network data transmitted by multiple interfaces, to monitor each node in the network group, and to interrupt all nodes and repair faulty nodes when it is detected that there is no error in nodes 1 to n.

[0035] Judgment module: It is used to judge whether there is any transmission error in the data collected by the data acquisition module. When it is judged that there is an error in the data transmission in the data acquisition module, the judgment module compares the data collected by the data acquisition module, that is, compares whether the data in the data acquisition module and the data storage module are consistent. When the two are consistent, it means that there is a problem of data duplication, and the duplicate data is directly discarded without processing; when inconsistency occurs, the judgment module performs a secondary judgment on the transmission node through the processing module. When the result of the secondary judgment is still inconsistent, the data is transmitted to the data storage module.

[0036] like Figure 2 and Figure 3 As shown, the working principle of the data acquisition method based on multi-channel interface and MESH network is as follows: First, a MESH network is constructed. After the MESH network is constructed, a network group is automatically constructed, where the constructed network group is: node 1, node 2, node 3...node n. The processing module can monitor and process the nodes in the network group. When it is detected that there is no problem between node 1, node 2, node 3...node n, data is directly collected through the data acquisition module. When the processing module detects that an error occurs between node 1, node 2, node 3...node n, that is, there is a node failure between node 1, node 2, node 3...node n, all nodes are interrupted, and the node repair function of the self-healing MESH network is used to re-establish a new node connection mode at the node where the error occurs, and then restore communication and transmit data to the data acquisition module. For the data acquisition module, the data acquisition module will transmit the collected data to the judgment module, and the judgment module will judge the transmitted node again. For example: when the judgment module determines that there is no problem with the transmission between the nodes, the collected data will be directly transmitted to the data storage module. When the judgment module determines that there is a transmission failure between nodes, the judgment module analyzes the data collected by the data acquisition module to analyze whether the data in the data acquisition module and the data in the data storage module are consistent. If it is determined to be consistent, it means that the data is repeated, and the repeated data is directly discarded. When it is determined to be inconsistent, the judgment module performs a secondary judgment on the transmission node through the processing module. When the result of the secondary judgment is still that the collected data is inconsistent with the existing data in the data storage module, the data is transmitted to the data storage module. When the data storage module receives the data, the transmitted data is transmitted to the network signal receiving end to receive the transmitted data.

[0037] like Figure 4 As shown, in an embodiment of the present application, a data acquisition system based on a multi-channel interface and a MESH network includes a memory and a controller. A computer-readable program is stored in the memory. When the computer-readable program is called by the controller, it can execute the steps of the data acquisition method based on a multi-channel interface and a MESH network as described in the embodiment of the present application.

[0038] In an embodiment of the present application, a medium stores a computer-readable program therein, and when the computer-readable program is called by a controller, the steps of the data acquisition method based on a multi-channel interface and a MESH network as described in the present invention can be executed.

[0039] In the embodiment of the present application, the MESH network is a wireless mesh network, which is a "multi-hop" network. It is developed from an ad hoc network and is one of the key technologies for solving the "last mile" problem. In the process of evolving to the next generation network, wireless is an indispensable technology. Wireless MESH can communicate with other networks and is a dynamic and continuously expandable network architecture. Any two devices can maintain wireless connectivity.

[0040] In an embodiment of the present application, the medium may be a tangible storage medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. The medium may be a machine-readable signal medium or a machine-readable storage medium. The medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0041] The above-mentioned embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above-mentioned embodiments. Any other changes, modifications, substitutions, combinations and simplifications made without departing from the spirit and principle of the present invention shall be equivalent replacement modes and shall be included in the protection scope of the present invention.

Claims

1. A data collection method based on a multi-channel interface and a MESH network, characterized in that: The following steps are involved: S1: Use routers with multiple interfaces and network terminals that need to be accessed to build a MESH network; S2: After the MESH network is built, the router automatically builds a network group when transmitting network data, where each network group includes multiple nodes; S3: Real-time monitoring and fault recovery of data transmitted within the network group, specifically: Monitor each node in the network group; When all nodes are monitored to be operating normally, data collection is performed directly; When a fault is detected between nodes, all node communications are interrupted, and a new node connection is established at the faulty node using the self-repair function of the MESH network. Data collection continues after communication is restored. S4: comparing the collected data with the existing data in the data storage module; If the data is repeated, the duplicate data is discarded directly; If the data is not repeated, the collected data will be transmitted to the data storage module.

2. The data acquisition method based on multi-channel interface and MESH network according to claim 1 is characterized in that: The S2 is specifically: The router automatically constructs the network group of the fastest path according to the transmitted network information, and then connects each network group to obtain the required network transmission network group, wherein the constructed network transmission network group includes multiple nodes from node 1 to node n.

3. The data collection method based on multi-channel interface and MESH network according to claim 2 is characterized in that: In S3, when it is detected that a node in the network group is damaged, the node is repaired and the network data generated at the node is collected preferentially.

4. The data collection method based on multi-channel interface and MESH network according to claim 1 is characterized in that: The S4 is specifically: Determine whether the collected data is consistent with the existing data in the data storage module; If the two are consistent, it means that the data is duplicated, and the duplicate data is discarded directly; If the two are inconsistent, the transmission node is judged for the second time. When the result of the second judgment is still inconsistent data, it means that the data is not repeated, and the detected data is transmitted to the data storage module.

5. The data collection method based on multi-channel interface and MESH network according to claim 4 is characterized in that: The S4 also includes: transmitting the collected data to the data storage module and replacing the original data in the data storage module.

6. A data acquisition system based on a multi-channel interface and a MESH network, characterized in that: It comprises a memory and a controller, wherein the memory stores a computer-readable program, and when the computer-readable program is called by the controller, it can execute the steps of the data acquisition method based on a multi-channel interface and a MESH network as claimed in any one of claims 1 to 5.

7. A medium, characterized in that: A computer-readable program is stored therein, and when the computer-readable program is called by the controller, the steps of the data acquisition method based on a multi-channel interface and a MESH network can be executed as described in any one of claims 1 to 5.