A wireless sensor network networking method for Internet of Things data transmission

Through the djistra algorithm and the Hamming distance algorithm, the problem of earthquake data transmission interruption is solved, efficient networking of wireless sensor networks is realized, construction costs are reduced and data is ensured.

CN119402938BActive Publication Date: 2025-08-29SHANDONG SEISMOLOGICAL BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411301262.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-08-29
Estimated Expiration
2044-09-18

AI Technical Summary

Technical Problem

During the seismic data collection process, the data transmission of the station is easily interrupted by lightning strikes, rain or power outages, and the signal is unstable, resulting in the difficulty of establishing special channels with high construction costs and long cycles.

Method used

The djistra algorithm is used to determine multiple paths, set the high-repetition point as the main transmission point, and transmit the point data to the total point through the main data transmission line. The Hanming distance algorithm is used to match the numbering information to ensure that the data is not lost during the transmission process.

Benefits of technology

It reduces the difficulty and cost of building special channels, ensures that seismic data can be transmitted stably to the service station, and improves the reliability and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402938B_ABST
    Figure CN119402938B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of Internet of Things (IoT) data networking, and more specifically, to a wireless sensor network networking method for IoT data transmission. The method includes setting a central information transmission point and information transmission points based on geographic location, transmitting information data from the points to the central point, setting a data transmission main line, transmitting data collected from the points to the nearest main transmission point, and then transmitting information entering the main transmission point to the central point via the data transmission main line. The present invention utilizes the DJIstra algorithm to determine multiple paths for multiple points, identifies multiple points with high repetition based on the multiple paths, and sets a data transmission main line based on the locations of the multiple points, thereby reducing the difficulty and cost of constructing special channels. Furthermore, the method simultaneously transmits information data from the points to the data transmission main line, which then transmits the data from the points to the central point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things data networking, and in particular to a wireless sensor network networking method applied to Internet of Things data transmission. Background Art

[0002] At present, when transmitting designated data, a specific channel is used for transmission. For example, when transmitting earthquake data collection data, a transmission channel is set up to ensure that the data is quickly transmitted to the designated location. Before collecting earthquake data, multiple stations are set up at each designated location, and then the earthquake data is collected through the stations, and then transmitted to the specific transmission channel through the stations, so that the station data is transmitted to the service center. However, during the data collection process of the station, the collector for collecting earthquake data may be interrupted due to lightning strikes, rain or power outages. At the same time, the signal may be unstable and interrupted due to the remote location of the station. If each station establishes a separate special channel with the service center, the establishment cost is high and the construction period is long. Therefore, a network networking method is needed to ensure that the earthquake data in each station can be transmitted to the service center, while also reducing the construction cost. Summary of the Invention

[0003] The purpose of the present invention is to provide a wireless sensor network networking method for Internet of Things data transmission to solve the problems raised in the above background technology.

[0004] To achieve the above object, a wireless sensor network networking method for Internet of Things data transmission is provided, comprising the following steps:

[0005] S1. Set up a central information transmission point and information transmission sub-points according to geographical location, and transmit information data from the sub-points to the central point;

[0006] S2. Use the DJIstra algorithm to obtain multiple paths from the branch point farthest from the main point to the main point, and select multiple branch points with high repetition based on the directions of the multiple paths. Set these branch points as the main transmission branch points, and the line connecting the main transmission branch points as the main data transmission line;

[0007] S3. The data collected at the sub-point is transmitted to the nearest main transmission sub-point. The information entering the main transmission sub-point is transmitted to the main point via the data transmission main line. During the process of transmitting information from the sub-point to the main transmission sub-point, the information data is transmitted to multiple sub-points adjacent to the main point.

[0008] S4. A branch that receives information data transmitted from other branches transmits the received data and its own data to multiple branches adjacent to the main branch. At the same time, the branch transmits its own data to the nearest main transmission branch.

[0009] S5. The main transmission point compares the information transmitted from the point with the data in the data transmission main line. If part of the information transmitted from the point is not recorded in the data transmission main line, the main transmission point transmits the unrecorded information data to the main point via the data transmission main line.

[0010] S6. The main point receives the information data transmitted from the data transmission main line, and matches the received information with the branch points and the main transmission branch points, confirms that each branch point and the main transmission branch point transmits information data, and integrates and saves all the obtained information data into a network.

[0011] As a further improvement of the present technical solution, in S3, when a branch transmits data to the main transmission branch and other branch, the transmitted data is numbered according to the corresponding branch. After the numbering is completed, the number and the information data collected in the branch are transmitted to the main transmission branch and other branch.

[0012] As a further improvement of the present technical solution, in said S4, when a branch transmits its own data to the nearest main transmission branch, it transmits the serial number of the data received from other branches to the main transmission branch.

[0013] As a further improvement of the present technical solution, in said S5, the main transmission sub-point receiving the number compares and checks the data information transmitted from the data transmission main line with the received number information to determine whether there is sub-point information corresponding to the number in the data transmission main line.

[0014] As a further improvement of the present technical solution, the algorithm for comparing and checking the data information transmitted by the data transmission main line and the received number information by the main transmission point adopts the Hamming distance, and its formula is as follows:

[0015] The Hamming distance between the numbering information received at the main transmission point and the numbering information matched in the data transmission main line describes the distance between two N-bit codewords x = (x1, x2, ..., x3) and y = (y1, y2, ..., y3), and its formula is: in, Represents modulo 2 addition operation, x k 、y k ∈{0,1}.

[0016] As a further improvement of the present technical solution, the determination of whether there is point information corresponding to the number in the data transmission main line includes two cases:

[0017] When there is no information corresponding to the number received by the main transmission point in the data transmission main line, the main transmission point will feedback to the point that transmitted the number, so that the point will transmit the information corresponding to the number to the main transmission point. The main transmission point will then transmit the unrecorded number and the corresponding information to the next main transmission point in the data transmission main line.

[0018] When information corresponding to the number received by the main transmission point exists in the data transmission main line, the main transmission point stores the data corresponding to the number.

[0019] As a further improvement of the present technical solution, when there is no information corresponding to the number received by the main transmission point in the data transmission main line, the main transmission point transmits the unrecorded information data to the point with the corresponding number. After receiving this information, the point retransmits the data to the nearest main transmission point.

[0020] As a further improvement of the present technical solution, the main transmission sub-point that provides feedback to the sub-point searches the data transmission main line for information sent by the feedback sub-point. When the main transmission sub-point finds the corresponding information in the data transmission main line, it stops providing feedback on the problem. When the main transmission sub-point cannot find the corresponding information in the data transmission main line, the main transmission sub-point provides feedback on the problem to the main point through the data transmission main line, and the subsequent main transmission sub-points in the data transmission main line no longer handle the problem of this sub-point.

[0021] As a further improvement of the present technical solution, after the received information is matched with the sub-points and the primary transmission sub-points in S6, there are two situations:

[0022] When the information transmitted by all sub-points and main transmission sub-points exists, it means that the information data in all sub-points and main transmission sub-points are transmitted to the main point. At this time, the data transmission between all sub-points, main transmission sub-points and the main point is normal;

[0023] When the information of some sub-points or main transmission sub-points is not received by the main point, and there is problem feedback transmitted from the main transmission sub-points, the main point will analyze the feedback problems and determine the problem relationship between the sub-points and the main transmission sub-points.

[0024] As a further improvement of the technical solution, after determining the problem relationship between the sub-points and the main transmission sub-points, re-operation corresponding to the fault is performed on the sub-points and the main transmission sub-points according to the problem situation.

[0025] Compared with the prior art, the present invention has the following beneficial effects:

[0026] 1. In the wireless sensor network networking method applied to Internet of Things data transmission, the DJI Stra algorithm is used to determine multiple paths for multiple sub-points, and multiple sub-points with high repetition are found according to the multiple paths. The data transmission main line is set according to the positions of the multiple sub-points, thereby reducing the difficulty of building special channels and also reducing the construction cost. At the same time, the information data in the sub-points is transmitted to the data transmission main line, so that the data transmission main line transmits the data in the sub-points to the main point, thereby ensuring that the main point obtains the seismic data collected by the sub-points.

[0027] 2. In the wireless sensor network networking method applied to data transmission of the Internet of Things, the data in the branch point is transmitted to the main transmission branch point, so that the main transmission branch point obtains the information data of each branch point. Then, the main transmission branch point matches the received data with the data transmission main line to determine whether there is data in the data transmission main line, thereby ensuring that the data in the branch point can be transmitted to the main point through the data transmission main line. At the same time, during the process of data from the branch point being transmitted to the main transmission branch point, the branch point transmits the data to other branch points. When the data transmission main line does not have matching data transmitted from the main transmission branch point, the main transmission branch point transmits the branch point information data not in the data transmission main line to the main point for aggregation, thereby ensuring that the data in the branch point can be transmitted to the main point. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a block diagram of the overall steps of the present invention;

[0029] Figure 2 This is a partial data transmission simulation diagram for transmitting data from distributed points to the main point according to the present invention. DETAILED DESCRIPTION

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0031] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like to indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0032] Example 1

[0033] In order to transfer the data from each station to the service center, please refer to Figure 1-Figure 2 As shown, the purpose of this embodiment is to provide a wireless sensor network networking method applied to Internet of Things data transmission to solve the problem that data in the station cannot be transmitted to the service center, which includes the following steps:

[0034] S1. Set up a central information transmission point and information transmission sub-points according to geographical location, and transmit information data from the sub-points to the central point;

[0035] The sub-points are stations built within the region. The locations of the stations are set according to the terrain and environment. The stations are set in locations that are convenient for collecting seismic data, such as high mountains and plains. The main point is set in the center of the monitoring area, that is, the service station is built in the center of the detection area. By setting the service station in the center of the monitoring area, the distance between the service station and the farthest station can be reduced, thereby facilitating the transmission of data from the stations to the service station.

[0036] S2. Use the DJIstra algorithm to obtain multiple paths from the branch point farthest from the main point to the main point, and select multiple branch points with high repetition based on the directions of the multiple paths. Set these branch points as the main transmission branch points, and the line connecting the main transmission branch points as the main data transmission line;

[0037] When using the DJIstra algorithm to obtain the path from the branch point to the main point, since the main point is set in the middle, it is necessary to determine multiple major directions when determining the path, and then divide the area, and determine the path between multiple branch points in the area. That is, there will be multiple data transmission main lines in the monitoring area, and each transmission main line is not connected to each other;

[0038] S3. The data collected at the sub-point is transmitted to the nearest main transmission sub-point. The information entering the main transmission sub-point is transmitted to the main point via the data transmission main line. During the process of transmitting information from the sub-point to the main transmission sub-point, the information data is transmitted to multiple sub-points adjacent to the main point.

[0039] When a branch transmits data to the main transmission branch and other branches, the transmitted data is numbered according to the corresponding branch. For example, multiple branches can be numbered as p1, p2, ..., pn. After the numbering is completed, the number and the information data collected at the branch are transmitted to the main transmission branch and other branches. That is, the corresponding number represents the corresponding branch and the information data in the branch.

[0040] S4. A branch that receives information data transmitted from other branches transmits the received data and its own data to multiple neighboring branches near the main branch. The branch transmits its own data to multiple neighboring branches, allowing the data in the branch to be dispersed. When a main data transmission line fails and transmission is impossible, information transmission between branches allows the information to be transmitted to the main branch through the channels between the branches. This ensures that even if a channel fails, information in several branches can still be transmitted to the main branch.

[0041] At the same time, the sub-point transmits its own data to the nearest main transmission sub-point, that is, the sub-point's own data is transmitted to the nearest main transmission sub-point in the data transmission main line in the same area. During the transmission, the sub-point transmits its own number and the collected relevant seismic data to the main transmission sub-point;

[0042] When a branch transmits its own data to the nearest main transmission branch, it transmits the numbers of the data transmitted by other branches to the main transmission branch. By transmitting the numbers of other branches to the main transmission branch instead of transmitting all the contents of other branches to the main transmission branch, the data processing load of the main transmission branch is reduced, so that the main transmission branch can process the data transmitted in the data transmission main line.

[0043] S5. The main transmission point compares the information transmitted from the point with the data in the data transmission main line. If part of the information transmitted from the point is not recorded in the data transmission main line, the main transmission point transmits the unrecorded information data to the main point via the data transmission main line.

[0044] The main transmission point receiving the number compares and checks the data information transmitted from the data transmission main line with the received number information to determine whether the point information corresponding to the number exists in the data transmission main line;

[0045] The algorithm used by the main transmission point to compare and verify the data information transmitted by the data transmission main line and the received number information is Hamming distance, and its formula is as follows:

[0046] The Hamming distance between the numbering information received at the main transmission point and the numbering information matched in the data transmission main line describes the distance between two N-bit codewords x = (x1, x2, ..., x3) and y = (y1, y2, ..., y3), and its formula is: in, Represents modulo 2 addition operation, x k 、y k∈{0,1}, where D(x,y) represents the total number of different code symbols at the same position between the number information received by the main transmission point and the number information matched in the data transmission main line. It can reflect the difference between the number information received by the main transmission point and the number information matched in the data transmission main line, and thus provide an objective basis for the similarity between the number information received by the main transmission point and the number information matched in the data transmission main line. When D(x,y) between the number information received by the main transmission point and the number information matched in the data transmission main line is 0, it means that the number information received by the main transmission point is in the data transmission main line. When D(x,y) is 1, it means that there is no correlation between the number information received by the main transmission point and the number information matched in the data transmission main line, which indicates that there is no information transmitted with the corresponding number in the data transmission main line.

[0047] There are two situations to determine whether the corresponding point information exists in the data transmission main line:

[0048] When the data transmission main line does not contain information corresponding to the number received by the main transmission sub-point, the main transmission sub-point feeds back to the sub-point that transmits the number, so that the sub-point transmits the information corresponding to the number to the main transmission sub-point, so that the main transmission sub-point has information data that is not in the data transmission main line. The main transmission sub-point transmits the unrecorded number and the corresponding information to the next main transmission sub-point in the data transmission main line, so that the main transmission sub-point transmits the received information data to the data transmission main line, and the data transmission main line transmits the data to the main point, so as to ensure that the main point receives the sub-point data and ensure that the seismic data collected by the sub-point can be transmitted to the main point.

[0049] When there is no information corresponding to the number received by the main transmission point in the data transmission main line, the main transmission point transmits the unrecorded information data to the point with the corresponding number. That is, when the main transmission point does not match the information data of the point numbered p1 in the data transmission main line, the main transmission point transmits the situation that the data of the point is not matched in the data transmission main line to the point numbered p1. After receiving this information, the point retransmits the data to the nearby main transmission point, so that the data in the point is transmitted to the data transmission main line again.

[0050] After the main transmission sub-point that feeds back to the sub-point p1 feeds back to the sub-point p1, the main transmission sub-point that feeds back to the sub-point searches for the information sent by the feedback sub-point in the data transmission main line, that is, the main transmission sub-point searches for the content of the sub-point p1 in the data transmission main line. When the main transmission sub-point finds the corresponding information in the data transmission main line, it stops feeding back the problem. When the main transmission sub-point cannot find the corresponding information in the data transmission main line, the main transmission sub-point feeds back the problem to the main point through the data transmission main line, and the subsequent main transmission sub-points in the data transmission main line no longer handle the problem of this sub-point.

[0051] When there is information corresponding to the number received by the main transmission point in the data transmission main line, the main transmission point will store the data corresponding to the number to prevent the subsequent data transmission main line from losing the data corresponding to the number due to a failure. When the subsequent data transmission main line loses the data corresponding to the number, the main transmission point that lost the data corresponding to the number will feedback to the main transmission point that stored the number and extract the data.

[0052] S6. The main point receives the information data transmitted from the data transmission main line, and matches the received information with the branch points and the main transmission branch points, confirms that each branch point and the main transmission branch point transmits information data, and integrates and saves all the obtained information data into a network.

[0053] After S6 matches the received information with the sub-points and the primary transmission sub-points, there are two situations:

[0054] When the information transmitted by all sub-points and main transmission sub-points exists, it means that the information data in all sub-points and main transmission sub-points are transmitted to the main point. At this time, the data transmission between all sub-points, main transmission sub-points and the main point is normal;

[0055] When information from some sub-points or main transmission sub-points is not received by the main point, and there is problem feedback from the main transmission sub-point, the main point will analyze the feedback and determine the problem relationship between the sub-points and the main transmission sub-points. For example, when a sub-point transmits data to a main transmission sub-point, it cannot transmit data to the main transmission sub-point, but the sub-point can transmit data to other sub-points. This indicates that there is a problem in the data transmission between the sub-point and the main transmission sub-point. When the data transmitted by a sub-point cannot be received by other sub-points or the main transmission sub-point, it means that the sub-point cannot transmit data to the outside.

[0056] After determining the problem relationship between the branch points and the main transmission branch points, the corresponding faults are re-operated on the branch points and the main transmission branch points according to the problem situation, so that the corresponding branch points and the main transmission branch points execute the corresponding problems again, and the main point once again determines the problems of the branch points and the main transmission branch points.

[0057] The above shows and describes the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are merely preferred examples of the present invention and are not intended to limit the present invention. Various changes and improvements may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and improvements fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.

Claims

1. A wireless sensor network networking method for Internet of Things data transmission, characterized by: The following steps are involved: S1. Set up a central information transmission point and information transmission sub-points according to geographical location, and transmit information data from the sub-points to the central point; S2. Use the DJIstra algorithm to obtain multiple paths from the branch point farthest from the main point to the main point, and select multiple branch points with high repetition based on the directions of the multiple paths. Set these branch points as the main transmission branch points, and the line connecting the main transmission branch points as the main data transmission line; S3. The data collected at the sub-point is transmitted to the nearest main transmission sub-point. The information entering the main transmission sub-point is transmitted to the main point via the data transmission main line. During the process of transmitting information from the sub-point to the main transmission sub-point, the information data is transmitted to multiple sub-points adjacent to the main point. In S3, when a branch transmits data to the main transmission branch and other branches, the transmitted data is numbered according to the branch, and after the numbering is completed, the number and the information data collected at the branch are transmitted to the main transmission branch and other branches; S4. A branch that receives information data transmitted from other branches transmits the received data and its own data to multiple branches adjacent to the main branch. At the same time, the branch transmits its own data to the nearest main transmission branch. In the above S4, when the branch transmits its own data to the nearest main transmission branch, it transmits the serial number of the data received from other branches to the main transmission branch; S5. The main transmission point compares the information transmitted from the point with the data in the data transmission main line. If part of the information transmitted from the point is not recorded in the data transmission main line, the main transmission point transmits the unrecorded information data to the main point via the data transmission main line. In said S5, the main transmission point receiving the number compares and checks the data information transmitted from the data transmission main line with the received number information to determine whether there is point information corresponding to the number in the data transmission main line; S6. The main point receives the information data transmitted from the data transmission main line, and matches the received information with the branch points and the main transmission branch points, confirms that each branch point and the main transmission branch point transmits information data, and integrates and saves all the obtained information data into a network.

2. The wireless sensor network networking method for Internet of Things data transmission according to claim 1 is characterized in that: The algorithm used by the main transmission point to compare and verify the data information transmitted from the data transmission main line and the received number information is Hamming distance, and its formula is as follows: The Hamming distance between the numbering information received at the main transmission point and the numbering information matched in the data transmission main line describes the distance between two N-bit codewords x = (x1, x2, ..., x3) and y = (y1, y2, ..., y3), and its formula is: in, Represents modulo 2 addition operation, x k 、y k ∈{0,1}.

3. The wireless sensor network networking method for Internet of Things data transmission according to claim 1 is characterized in that: The determination of whether there is point information corresponding to the number in the data transmission main line includes two cases: When there is no information corresponding to the number received by the main transmission point in the data transmission main line, the main transmission point will feedback to the point that transmitted the number, so that the point will transmit the information corresponding to the number to the main transmission point. The main transmission point will then transmit the unrecorded number and the corresponding information to the next main transmission point in the data transmission main line. When information corresponding to the number received by the main transmission point exists in the data transmission main line, the main transmission point stores the data corresponding to the number.

4. The wireless sensor network networking method for Internet of Things data transmission according to claim 3 is characterized in that: When there is no information corresponding to the number received by the main transmission point in the data transmission main line, the main transmission point will transmit the unrecorded information data to the point with the corresponding number. After receiving this information, the point will retransmit the data to the nearest main transmission point.

5. The wireless sensor network networking method for Internet of Things data transmission according to claim 4 is characterized in that: The main transmission sub-point that provides feedback to the sub-point searches for the information sent by the feedback sub-point in the data transmission main line. When the main transmission sub-point finds the corresponding information in the data transmission main line, it stops providing feedback on the problem. When the main transmission sub-point cannot find the corresponding information in the data transmission main line, the main transmission sub-point provides feedback on the problem to the main point through the data transmission main line, and the subsequent main transmission sub-points in the data transmission main line will no longer handle the problem of this sub-point.

6. The wireless sensor network networking method for Internet of Things data transmission according to claim 5 is characterized in that: After the received information is matched with the sub-points and the primary transmission sub-points in S6, there are two situations: When the information transmitted by all sub-points and main transmission sub-points exists, it means that the information data in all sub-points and main transmission sub-points are transmitted to the main point. At this time, the data transmission between all sub-points, main transmission sub-points and the main point is normal; When the information of some sub-points or main transmission sub-points is not received by the main point, and there is problem feedback transmitted from the main transmission sub-points, the main point will analyze the feedback problems and determine the problem relationship between the sub-points and the main transmission sub-points.

7. The wireless sensor network networking method for Internet of Things data transmission according to claim 6 is characterized in that: After determining the problem relationship between the sub-points and the main transmission sub-points, re-operation corresponding to the fault is performed on the sub-points and the main transmission sub-points according to the problem situation.