CN113179497A - Distributed real-time beacon scheduling method based on time slot in industrial Internet of things - Google Patents

Distributed real-time beacon scheduling method based on time slot in industrial Internet of things Download PDF

Info

Publication number
CN113179497A
CN113179497A CN202110431511.9A CN202110431511A CN113179497A CN 113179497 A CN113179497 A CN 113179497A CN 202110431511 A CN202110431511 A CN 202110431511A CN 113179497 A CN113179497 A CN 113179497A
Authority
CN
China
Prior art keywords
node
time slot
scheduling
beacon
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110431511.9A
Other languages
Chinese (zh)
Other versions
CN113179497B (en
Inventor
陈权
龙鹏
林晓妍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN202110431511.9A priority Critical patent/CN113179497B/en
Publication of CN113179497A publication Critical patent/CN113179497A/en
Application granted granted Critical
Publication of CN113179497B publication Critical patent/CN113179497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a time slot-based distributed real-time beacon scheduling method in an industrial Internet of things, which is mainly divided into three parts: (1) calculating candidate transmission scheduling of the node; (2) a reply method of transmission scheduling; (3) a collision decision mechanism for transmission scheduling. The method comprises the steps of firstly calculating candidate transmission scheduling information of a node in a given time slot of a system, setting a weight value of the transmission scheduling, then broadcasting the candidate transmission scheduling information to a group of specific neighbor node sets by the node according to a conflict judgment method of the transmission scheduling, and replying a data packet to the node according to a competition mechanism of the transmission scheduling after the specific neighbor node receives the transmission scheduling information. The invention realizes complete and conflict-free real-time beacon transmission scheduling aiming at the scene that the nodes in the duty ratio network wake up in a time slot.

Description

Distributed real-time beacon scheduling method based on time slot in industrial Internet of things
Technical Field
The invention relates to the field of time slot-based distributed real-time beacon scheduling methods in industrial Internet of things, in particular to a time slot-based distributed real-time beacon scheduling method in industrial Internet of things.
Background
The development of the intelligent manufacturing industry is not independent of the industrial internet of things, which is an important way for realizing industrial 4.0. The deep integration of the Internet of things and the industrial production link can effectively promote the industrial production efficiency. The industrial Internet of things is a comprehensive subject and relates to a plurality of fields, wherein sensor technology is an important foundation for the application of the industrial Internet of things.
In order to enable sensor nodes to operate more durably and effectively and improve the performance of an industrial internet of things, a sensor sleep mechanism has been introduced to reduce the consumption of electric quantity, namely, the sensor nodes work in a duty ratio mode. In a duty cycle network, each node has two operating states, an active state and a sleep state. All functional modules of the sensor in the sleep state are turned off to save energy consumption, and the beacon data packet sent by the neighbor node can be received only when the sensor node is in the active state.
Beacon scheduling is a very important task in a duty cycle network, where each sensor node needs to broadcast a beacon packet locally without collision to all neighboring nodes within a one-hop range, and the beacon transmission scheduling delay is the number of work cycles required for all sensor nodes to broadcast a beacon packet without collision to all neighboring nodes. The Minimum beacon transmission scheduling delay problem (MLBS) is that it attracts a lot of attention to find a conflict-free Minimum beacon delay scheduling scheme. Many researchers have made research contributions to the MLBS problem that sensor nodes are always awake, and all have achieved good results. Because the working mode of the sensor node in the duty ratio network is completely different from that of the traditional network, the MLBS problem in the duty ratio network is more complex and difficult.
Most of the previous researches are developed aiming at a centralized algorithm, and the method cannot be applied to the condition of frequent and dynamic changes of nodes and network topological structures in the industrial Internet of things. Chinese patent publication No. CN101299699A, published as 11/05/2008, discloses a node apparatus and method for beacon scheduling in an ad-hoc network and a data transmission method thereof, which reduce energy consumption of nodes in the ad-hoc network when data communication between the nodes frequently occurs. The beacon transmitting node checks its remaining energy. If the remaining energy is below a predetermined level, the beaconing node informs other nodes of the schedule to change its beacon period. Then, the beacon transmitting node increases the beacon period and transmits the beacon at the increased beacon period. The patent is also not suitable for the condition of frequent and dynamic changes of nodes and network topological structures in the industrial Internet of things.
Disclosure of Invention
The invention provides a time slot-based distributed real-time beacon scheduling method in an industrial Internet of things, which researches the problem of real-time distributed beacon scheduling in a duty ratio network and realizes complete conflict-free beacon transmission scheduling.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a distributed real-time beacon scheduling method based on time slots in an industrial Internet of things comprises the following steps:
s1: defining a multi-hop duty ratio sensor network G ═ V, E, wherein V represents a set of sensor nodes in the network, E represents a set of edges in the network, an edge exists between two sensor nodes, and only when the two sensor nodes are located in the transmission range of each other, each sensor node randomly and independently selects an active time slot, and only wakes up in the active time slot of each working cycle to receive a beacon data packet sent by a neighbor node;
s2: adding an interference model into the duty ratio sensor network G, and defining a minimum delay beacon scheduling optimization problem of the duty ratio sensor network with an active time slot;
s3: calculating node candidate scheduling information on a work period starting time slot j, and then broadcasting the candidate scheduling information to corresponding neighbor nodes;
s4: the node receiving the candidate scheduling information replies a data packet according to the self state and a conflict judgment mechanism of transmission scheduling;
s5: after step S4, candidate scheduling information of each time slot is obtained, and a conflict-free real-time beacon transmission scheduling scheme is obtained according to the candidate scheduling information of each time slot.
Preferably, in step S1, the sensor node has two states, including an active state and a sleep state, the sensor node receives the beacon packet sent by its neighboring node if and only if it is in the active state, the duty cycle is defined as the ratio of the time in the active state to the time in the whole working cycle, the working cycle is divided into a plurality of time slots with the same size, each sensor node randomly and independently selects one of the time slots as the active time slot, in the active time slot of each working cycle, the sensor node is in the active state, and in the other time slots of each working cycle, the sensor node is in the sleep state.
Preferably, the interference model in step S2, specifically, the protocol interference model:
in the duty ratio sensor network G, a beacon transmission range of any sensor node v is a unit circle with v as a center, an interference radius is r (v) ≧ 1, the interference range is a circle with r (v) as a radius, inr (v) represents a node set colliding with the node v, the node set colliding with the node v is a node which cannot transmit a beacon packet simultaneously with v, and any pair of sensor nodes cannot transmit the beacon packet simultaneously and only when one of the following three conditions is satisfied:
(1) nodes u, v are within beacon transmission range of each other;
(2) there is one node w located within the beacon transmission range of u and within the interference range of v;
(3) there is one node w located within the beacon transmission range of v and within the interference range of u.
Preferably, the minimum delay beacon scheduling optimization problem for a duty cycle sensor network with one active slot is defined as:
defining 1.1 given multi-hop duty cycle industrial sensor network G ═ V, E, time slot based distributed scheduling on network G, denoted by Sch, where
Figure BDA0003031550180000031
And the following conditions are satisfied:
a. scheduling for any one transmission
Figure BDA0003031550180000032
Where C is an integer greater than or equal to 0 and x ═ w (w), w (w) denotes the active time slot of node w, where,
Figure BDA0003031550180000033
represents the transmission schedule sent from node u to node w at time T, | T | represents the duty cycle;
b. scheduling for any two transmissions
Figure BDA0003031550180000034
And
Figure BDA0003031550180000035
v ≠ u, if and only if t1 ≠ t2
Figure BDA0003031550180000038
And
Figure BDA0003031550180000039
a formalized definition of the problem is obtained according to the above definition:
inputting:
one duty cycle network G ═ V, E;
the active time slot of each sensor node, i.e. w (u),
Figure BDA0003031550180000036
and (3) outputting:
vertex-based beacon scheduling
Figure BDA0003031550180000037
Wherein SchminThe following conditions are satisfied:
Schminsatisfies the definition 1.1;
for any one of the schedules Sch', BL (Sch) satisfying definition 1.1min) BL (Sch) ≦ BL (Sch)min) And BL (Sch) represents a beacon transmission schedule Sch, respectivelyminAnd the delay of Sch.
Preferably, in the duty cycle sensor network G, each sensor node maintains the following information:
the unique ID of the node u and the work plan of the node u;
neighbor information of the node u comprises a unique ID and a work plan of the neighbor node v;
the forbidden transmission time slot fts (u) of node u.
Preferably, the step S3 is to calculate the node candidate scheduling information in the work cycle start time slot j, specifically as follows:
candidate transmission schedule cts (u) of node u ← [ u, v, j, weight ], wherein v and j respectively denote a beacon receiving node and a transmission time slot, and weight denotes a weight value of the candidate transmission schedule;
on a given time slot j of a system, firstly judging whether a node u can transmit in the time slot and whether a neighbor node in an active state exists, if so, calculating corresponding candidate transmission scheduling, and setting scheduling weight as the number of the neighbor nodes in the active state; if the condition is not satisfied, it indicates that there is no active node for node u in time slot j or that node u may not transmit in the time slot.
Preferably, the node that receives the candidate scheduling information in step S4 replies the packet according to its own state and a collision determination mechanism of transmission scheduling, specifically:
after receiving the candidate scheduling information broadcasted by the node u, the node v firstly judges whether the node v is in an active state in the time slot of CTS (u), t (u), and ignores the scheduling information if the node v is in a sleep state; if the node is in an active state, after receiving the candidate scheduling information transmitted by all the related neighbor nodes, the node v selects the candidate scheduling with the largest weight value from all the candidate scheduling by adopting a node reply algorithm, replies 'support' information to the sending node to indicate that the scheduling is agreed, and replies 'release' information to the rest of the sending nodes to indicate that the scheduling is rejected.
Preferably, after step S4, if the neighboring nodes all agree to the candidate scheduling, the node establishes the candidate scheduling information as the scheduling in this time slot, and updates the corresponding transmission prohibited time slot, that is, fts (u) ═ fts (u) < tj.
Preferably, when candidate scheduling information of the next time slot is calculated, candidate transmission scheduling is calculated for each node, and the corresponding transmission-prohibited time slot is updated until each node in the network broadcasts its beacon information to each neighbor node.
Preferably, after step S4 in step S5, candidate scheduling information of each time slot is obtained, and a collision-free real-time beacon transmission scheduling scheme is obtained, specifically:
initially, all nodes u capable of sending beacon packets in a Time Slot J are set to a Time Slot Synchronization state, the other nodes are set to a Not Ready state, and each node needs to maintain a variable y for indicating the number of neighbor nodes in an active state in the given Time Slot J of the system;
after a node enters a Time Slot Synchronization state, the 'Synchronization' message is firstly broadcast to synchronize all nodes capable of sending data packets on a Time Slot J, and if the node receives the 'Synchronization' message of all nodes which are in the same Time Slot capable of sending the data packets as the node, the node enters a Ready state;
when a node enters into Ready state, firstly calculating candidate transmission scheduling information CTS on a time slot J according to step S3, broadcasting the CTS to all neighbor nodes, initializing y to the number of neighbor nodes in active state on the time slot J, then the node enters into wait state, and waits for the scheduling reply information sent back by the neighbor nodes;
for each node u, after receiving the 'support' message replied by the neighbor node v, if the node u is in the wait state, the following operations are performed: 1) y ← y-1; 2) if y is 0, determining candidate transmission schedule cts (u) ═ u, v, J, weight ] as formal scheduling on time slot J, node u will enter Scheduled state, indicating that scheduling has been completed on J time slot and updating corresponding prohibited transmission time slot, i.e., fts (u) ═ fts (u) U, and if node u is not in the wait state, ignoring the message;
for each node u, if it receives the "replay" reply message of the neighbor node v, if the node u is in wait state, it directly enters Not Ready state to wait for being scheduled on other time slots.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that:
the novel time slot-based distributed real-time Beacon transmission Scheduling algorithm provided by the invention can effectively solve the MLBSDCO problem (minimum Latency Beacon Scheduling for Duty-Cycled sensor networks with One active time slot) aiming at the scene that the nodes in the Duty ratio network wake up in One time slot, and realizes a correct, complete and conflict-free real-time Beacon transmission Scheduling scheme.
Drawings
FIG. 1 is a schematic flow chart of the method of the present invention.
Fig. 2 is a diagram of an example of a duty cycle sensor network in an embodiment.
Fig. 3 is schematic diagrams of three scenarios in which a collision occurs between any pair of nodes u and v under the protocol interference model in the embodiment, where (a) indicates that the nodes u and v are located within the beacon transmission range of each other, (b) indicates that there is a node w located within the beacon transmission range of u and within the interference range of v, and (c) indicates that there is a node w located within the beacon transmission range of v and within the interference range of u.
Fig. 4 is a schematic diagram of a state change of each node in the embodiment.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the patent;
for the purpose of better illustrating the embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product;
it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The technical solution of the present invention is further described below with reference to the accompanying drawings and examples.
Example 1
The embodiment provides a time slot-based distributed real-time beacon scheduling method in an industrial internet of things, which includes the following steps, as shown in fig. 1:
s1: defining a multi-hop duty ratio sensor network G ═ V, E, wherein V represents a set of sensor nodes in the network, E represents a set of edges in the network, an edge exists between two sensor nodes, and only when the two sensor nodes are located in the transmission range of each other, each sensor node randomly and independently selects an active time slot, and only wakes up in the active time slot of each working cycle to receive a beacon data packet sent by a neighbor node;
s2: adding an interference model into the duty ratio sensor network G, and defining a minimum delay beacon scheduling optimization problem of the duty ratio sensor network with an active time slot;
s3: calculating node candidate scheduling information on a work period starting time slot j, and then broadcasting the candidate scheduling information to corresponding neighbor nodes;
s4: the node receiving the candidate scheduling information replies a data packet according to the self state and a conflict judgment mechanism of transmission scheduling;
s5: after step S4, candidate scheduling information of each time slot is obtained, and a conflict-free real-time beacon transmission scheduling scheme is obtained according to the candidate scheduling information of each time slot.
All the sensor nodes do not need to negotiate in advance and determine their own activity and sleep time slots by themselves, in step S1, the sensor nodes include an active state and a sleep state, the sensor nodes receive beacon packets sent by their neighboring nodes if and only if they are in the active state, the duty cycle is defined as the ratio of the time of the active state to the time of the whole working cycle, the working cycle is divided into a plurality of time slots of the same size, each sensor node randomly and independently selects one of the time slots as an active time slot, in the active time slot of each working cycle, the sensor node is in the active state, and in the other time slots of each working cycle, the sensor node is in the sleep state. The length of the time slot is set to ensure that the sensor node can complete the sending and receiving of the beacon data packet. If the sensor node needs to send a beacon packet, it can complete the transmission at any time slot as long as the receiver is active and the transmission does not cause a collision. Fig. 2 shows an example of a duty cycle network with 6 nodes, the numbers above the nodes represent the active time slots of the sensor nodes, and a working cycle is divided into 3 time slots, in the duty cycle network, each sensor node wakes up only at a certain time slot of each working cycle, so that the time slot-based real-time beacon distributed scheduling algorithm essentially generates a collision-free beacon transmission plan for all the sensor nodes in the network, and is a vertex-based beacon scheduling task.
In order to obtain a vertex-based beacon scheduling of the network G, the existence of an interference model needs to be considered, and common interference models are divided into a protocol model and a physical model, in this embodiment, the interference model in step S2 is specifically a protocol interference model:
in the duty ratio sensor network G, a beacon transmission range of any sensor node v is a unit circle with v as a center, an interference radius is r (v) ≧ 1, the interference range is a circle with r (v) as a radius, inr (v) represents a node set colliding with the node v, the node set colliding with the node v is a node which cannot transmit a beacon packet simultaneously with v, and any pair of sensor nodes cannot transmit the beacon packet simultaneously and only when one of the following three conditions is satisfied:
(1) nodes u, v are within beacon transmission range of each other;
(2) there is one node w located within the beacon transmission range of u and within the interference range of v;
(3) there is one node w located within the beacon transmission range of v and within the interference range of u.
A possible conflicting relationship between any two nodes is shown in fig. 3. If the nodes u and v meet one of the three conditions, the two nodes are in conflict, namely the beacon data packets cannot be sent at the same time, otherwise, the two nodes are not in conflict, and the beacon data packets can be sent in the same time slot.
The minimum delay beacon scheduling optimization problem for a duty cycle sensor network with one active slot is defined as:
defining 1.1 given multi-hop duty cycle industrial sensor network G ═ V, E, time slot based distributed scheduling on network G, denoted by Sch, where
Figure BDA0003031550180000071
And the following conditions are satisfied:
a. scheduling for any one transmission
Figure BDA0003031550180000072
Where C is an integer greater than or equal to 0 and x ═ w (w), w (w) denotes the active time slot of node w, where,
Figure BDA0003031550180000073
represents the transmission schedule sent from node u to node w at time T, | T | represents the duty cycle;
b. scheduling for any two transmissions
Figure BDA0003031550180000074
And
Figure BDA0003031550180000075
v ≠ u, if and only if t1 ≠ t2
Figure BDA0003031550180000076
And
Figure BDA0003031550180000077
by definition, a qualified time-slot-based distributed schedule (essentially a vertex-based schedule) is guaranteed firstly that the receiver is active (condition 1 in the definition), and secondly that all transmission schedules in the same time slot are non-conflicting (condition 2 in the definition);
a formalized definition of the problem is obtained according to the above definition:
inputting:
one duty cycle network G ═ V, E;
the active time slot of each sensor node, i.e. w (u),
Figure BDA0003031550180000082
and (3) outputting:
vertex-based beacon deployment
Figure BDA0003031550180000081
Wherein SchminThe following conditions are satisfied:
Schminsatisfies the definition 1.1;
for any one of the schedules Sch, BL (Sch) satisfying definition 1.1min) BL (Sch) ≦ BL (Sch)min) And BL (Sch) represents a beacon transmission schedule Sch, respectivelyminAnd the delay of Sch.
The distributed real-time beacon scheduling problem in the duty ratio network is that each node locally calculates a collision-free beacon sending plan according to the information of the node and the neighbor. To compute this beacon schedule, each node needs to maintain the following information:
the unique ID of the node u and the work plan of the node u;
neighbor information of the node u comprises a unique ID and a work plan of the neighbor node v;
the forbidden transmission time slot fts (u) of node u.
In step S3, the calculation of the node candidate scheduling information in the work cycle start time slot j includes the following specific steps:
candidate transmission schedule cts (u) of node u ← [ u, v, j, weight ], wherein v and j respectively denote a beacon receiving node and a transmission time slot, and weight denotes a weight value of the candidate transmission schedule;
on a given time slot j of a system, firstly judging whether a node u can transmit in the time slot and whether a neighbor node in an active state exists, if so, calculating corresponding candidate transmission scheduling, and setting scheduling weight as the number of the neighbor nodes in the active state; if the condition is not satisfied, it indicates that there is no active node for node u in time slot j or that node u may not transmit in the time slot.
In step S4, the node that receives the candidate scheduling information replies the data packet according to its own state and the collision determination mechanism of transmission scheduling, which specifically includes:
after receiving the candidate scheduling information broadcasted by the node u, the node v firstly judges whether the node v is in an active state in the time slot of CTS (u), t (u), and ignores the scheduling information if the node v is in a sleep state; if the node is in an active state, after receiving the candidate scheduling information transmitted by all the related neighbor nodes, the node v selects the candidate scheduling with the largest weight value from all the candidate scheduling by adopting a node reply algorithm, replies 'support' information to the sending node to indicate that the scheduling is agreed, and replies 'release' information to the rest of the sending nodes to indicate that the scheduling is rejected.
After step S4, if the neighboring nodes agree with the candidate scheduling, the node establishes the candidate scheduling information as the scheduling in the time slot, and updates the corresponding transmission prohibited time slot, that is, fts (u) ═ fts (u) < u > j.
And calculating the candidate scheduling information of the next time slot, calculating the candidate transmission scheduling for each node, and updating the corresponding transmission prohibition time slot until each node in the network broadcasts the beacon information to each neighbor node.
After step S4 in step S5, candidate scheduling information of each time slot is obtained, and a conflict-free real-time beacon transmission scheduling scheme is obtained, as shown in fig. 4, specifically:
initially, all nodes u capable of sending beacon packets in a Time Slot J are set to a Time Slot Synchronization state, the other nodes are set to a Not Ready state, and each node needs to maintain a variable y for indicating the number of neighbor nodes in an active state in the given Time Slot J of the system;
after a node enters a Time Slot Synchronization state, the 'Synchronization' message is firstly broadcast to synchronize all nodes capable of sending data packets on a Time Slot J, and if the node receives the 'Synchronization' message of all nodes which are in the same Time Slot capable of sending the data packets as the node, the node enters a Ready state;
when a node enters into Ready state, firstly calculating candidate transmission scheduling information CTS on a time slot J according to step S3, broadcasting the CTS to all neighbor nodes, initializing y to the number of neighbor nodes in active state on the time slot J, then the node enters into wait state, and waits for the scheduling reply information sent back by the neighbor nodes;
for each node u, after receiving the 'support' message replied by the neighbor node v, if the node u is in the wait state, the following operations are performed: 1) y ← y-1; 2) if y is 0, determining candidate transmission schedule cts (u) ═ u, v, J, weight ] as formal scheduling on time slot J, node u will enter Scheduled state, indicating that scheduling has been completed on J time slot and updating corresponding prohibited transmission time slot, i.e., fts (u) ═ fts (u) U, and if node u is not in the wait state, ignoring the message;
for each node u, if it receives the "replay" reply message of the neighbor node v, if the node u is in wait state, it directly enters Not Ready state to wait for being scheduled on other time slots.
The same or similar reference numerals correspond to the same or similar parts;
the terms describing positional relationships in the drawings are for illustrative purposes only and are not to be construed as limiting the patent;
it should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

Claims (10)

1. A distributed real-time beacon scheduling method based on time slots in an industrial Internet of things is characterized by comprising the following steps:
s1: defining a multi-hop duty ratio sensor network G ═ V, E, wherein V represents a set of sensor nodes in the network, E represents a set of edges in the network, an edge exists between two sensor nodes, and only when the two sensor nodes are located in the transmission range of each other, each sensor node randomly and independently selects an active time slot, and only wakes up in the active time slot of each working cycle to receive a beacon data packet sent by a neighbor node;
s2: adding an interference model into the duty ratio sensor network G, and defining a minimum delay beacon scheduling optimization problem of the duty ratio sensor network with an active time slot;
s3: calculating node candidate scheduling information on a work period starting time slot j, and then broadcasting the candidate scheduling information to corresponding neighbor nodes;
s4: the node receiving the candidate scheduling information replies a data packet according to the self state and a conflict judgment mechanism of transmission scheduling;
s5: after step S4, candidate scheduling information of each time slot is obtained, and a conflict-free real-time beacon transmission scheduling scheme is obtained according to the candidate scheduling information of each time slot.
2. The method as claimed in claim 1, wherein the sensor node in step S1 includes an active state and a sleep state, the sensor node receives the beacon packet sent by its neighboring node if and only if it is in the active state, the duty cycle is defined as a ratio of the active state time to the whole duty cycle time, the duty cycle is divided into a plurality of time slots with the same size, each sensor node randomly and independently selects one of the time slots as an active time slot, the sensor node is in the active state in the active time slot of each duty cycle, and the sensor node is in the sleep state in the other time slots of each duty cycle.
3. The time slot-based distributed real-time beacon scheduling method in the industrial internet of things according to claim 2, wherein the interference model in step S2 is specifically a protocol interference model:
in the duty ratio sensor network G, a beacon transmission range of any sensor node v is a unit circle with v as a center, an interference radius is r (v) ≧ 1, the interference range is a circle with r (v) as a radius, inr (v) represents a node set colliding with the node v, the node set colliding with the node v is a node which cannot transmit a beacon packet simultaneously with v, and any pair of sensor nodes cannot transmit the beacon packet simultaneously and only when one of the following three conditions is satisfied:
(1) nodes u, v are within beacon transmission range of each other;
(2) there is one node w located within the beacon transmission range of u and within the interference range of v;
(3) there is one node w located within the beacon transmission range of v and within the interference range of u.
4. The method for time-slot-based distributed real-time beacon scheduling in the industrial internet of things as claimed in claim 3, wherein the minimum delay beacon scheduling optimization problem of the duty cycle sensor network with one active time slot is defined as:
defining 1.1 given multi-hop duty ratio industrial sensor network G ═ V, E, time slot-based distributed scheduling on network G, usingSch represents, wherein
Figure FDA0003031550170000021
And the following conditions are satisfied:
a. scheduling for any one transmission
Figure FDA0003031550170000022
Where C is an integer greater than or equal to 0 and x ═ w (w), w (w) denotes the active time slot of node w, where,
Figure FDA0003031550170000023
represents the transmission schedule sent from node u to node w at time T, | T | represents the duty cycle;
b. scheduling for any two transmissions
Figure FDA0003031550170000024
And
Figure FDA0003031550170000025
v ≠ u, if and only if t1 ≠ t2
Figure FDA0003031550170000026
And
Figure FDA0003031550170000027
a formalized definition of the problem is obtained according to the above definition:
inputting:
one duty cycle network G ═ V, E;
the active time slot of each sensor node, i.e. w (u),
Figure FDA0003031550170000028
and (3) outputting:
vertex-based beacon scheduling
Figure FDA0003031550170000029
Wherein SchminThe following conditions are satisfied:
Schminsatisfies the definition 1.1;
for any one of the schedules Sch', BL (Sch) satisfying definition 1.1min) BL (Sch ') is less than or equal to BL (Sch'), wherein BL (Sch)min) And BL (Sch') represents a beacon transmission schedule Sch, respectivelyminAnd delay of Sch'.
5. The time slot-based distributed real-time beacon scheduling method in the industrial internet of things according to claim 4, wherein in the duty cycle sensor network G, each sensor node maintains the following information:
the unique ID of the node u and the work plan of the node u;
neighbor information of the node u comprises a unique ID and a work plan of the neighbor node v;
the forbidden transmission time slot fts (u) of node u.
6. The time slot-based distributed real-time beacon scheduling method in the industrial internet of things according to claim 5, wherein the step S3 of calculating the node candidate scheduling information at the work cycle start time slot j specifically includes the following steps:
candidate transmission schedule cts (u) of node u ← [ u, v, j, weight ], wherein v and j respectively denote a beacon receiving node and a transmission time slot, and weight denotes a weight value of the candidate transmission schedule;
on a given time slot j of a system, firstly judging whether a node u can transmit in the time slot and whether a neighbor node in an active state exists, if so, calculating corresponding candidate transmission scheduling, and setting scheduling weight as the number of the neighbor nodes in the active state; if the condition is not satisfied, it indicates that there is no active node for node u in time slot j or that node u may not transmit in the time slot.
7. The time slot-based distributed real-time beacon scheduling method in the industrial internet of things as claimed in claim 6, wherein the node that receives the candidate scheduling information in step S4 replies with a data packet according to its own state and a collision determination mechanism of transmission scheduling, specifically:
after receiving the candidate scheduling information broadcasted by the node u, the node v firstly judges whether the node v is in an active state in the time slot of CTS (u), t (u), and ignores the scheduling information if the node v is in a sleep state; if the node is in an active state, after receiving the candidate scheduling information transmitted by all the related neighbor nodes, the node v selects the candidate scheduling with the largest weight value from all the candidate scheduling by adopting a node reply algorithm, replies 'support' information to the sending node to indicate that the scheduling is agreed, and replies 'release' information to the rest of the sending nodes to indicate that the scheduling is rejected.
8. The method according to claim 7, wherein after step S4, if the neighboring nodes agree with the candidate scheduling, the node establishes the candidate scheduling information as the scheduling in the time slot, and updates fts (u) ═ fts (u) < u >) which is a transmission-prohibited time slot.
9. The method as claimed in claim 8, wherein the candidate scheduling information of the next time slot is calculated, the candidate transmission scheduling is calculated for each node, and the corresponding transmission-prohibited time slot is updated until each node in the network broadcasts its beacon information to each neighbor node.
10. The time slot-based distributed real-time beacon scheduling method in the industrial internet of things according to claim 9, wherein in the step S5, each node repeats the steps S3 to S4 to obtain a collision-free real-time beacon transmission scheduling scheme, which specifically comprises:
initially, all nodes u capable of sending beacon packets in a Time Slot J are set to a Time Slot Synchronization state, the other nodes are set to a Not Ready state, and each node needs to maintain a variable y for indicating the number of neighbor nodes in an active state in the given Time Slot J of the system;
after a node enters a Time Slot Synchronization state, the 'Synchronization' message is firstly broadcast to synchronize all nodes capable of sending data packets on a Time Slot J, and if the node receives 'Synch' messages of all nodes which are positioned on the same Time Slot capable of sending the data packets as the node, the node enters a Ready state;
when a node enters into Ready state, firstly calculating candidate transmission scheduling information CTS on a time slot J according to step S3, broadcasting the CTS to all neighbor nodes, initializing y to the number of neighbor nodes in active state on the time slot J, then the node enters into wait state, and waits for the scheduling reply information sent back by the neighbor nodes;
for each node u, after receiving the 'support' message replied by the neighbor node v, if the node u is in the wait state, the following operations are performed: 1) t ← y-1; 2) if t is 0, determining candidate transmission schedule cts (u) ═ u, v, J, weight ] as formal scheduling on time slot J, node u will enter into Sch state, indicating that scheduling has been completed on J time slot and updating corresponding prohibited transmission time slot, i.e. fts (u) ═ fts (u) · J, and if node u is not in wait state, ignoring the message;
for each node u, if it receives the "replay" reply message of the neighbor node v, if the node u is in wait state, it directly enters into NotReady state to wait for being scheduled on other time slots.
CN202110431511.9A 2021-04-21 2021-04-21 Distributed real-time beacon scheduling method based on time slot in industrial Internet of things Active CN113179497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110431511.9A CN113179497B (en) 2021-04-21 2021-04-21 Distributed real-time beacon scheduling method based on time slot in industrial Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110431511.9A CN113179497B (en) 2021-04-21 2021-04-21 Distributed real-time beacon scheduling method based on time slot in industrial Internet of things

Publications (2)

Publication Number Publication Date
CN113179497A true CN113179497A (en) 2021-07-27
CN113179497B CN113179497B (en) 2022-07-05

Family

ID=76924749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110431511.9A Active CN113179497B (en) 2021-04-21 2021-04-21 Distributed real-time beacon scheduling method based on time slot in industrial Internet of things

Country Status (1)

Country Link
CN (1) CN113179497B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102612152A (en) * 2012-02-27 2012-07-25 西北工业大学 Ad Hoc network MAC (Media Access Control) protocol realizing method based on STDMA (Self Organizing Time Division Multiple Access)
CN103634872A (en) * 2013-11-29 2014-03-12 中国石油大学(华东) Energy-efficient asynchronous neighbor node finding method in mobile self-organizing network
CN105722180A (en) * 2016-01-27 2016-06-29 四川大学 Neighbor discovering method of low duty cycle sensor network based on unequal length revival time slots
US20190182705A1 (en) * 2017-12-07 2019-06-13 Pusan National University Industry-University Cooperation Foundation System and method for managing dsme network fluctuation in industrial wireless sensor network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102612152A (en) * 2012-02-27 2012-07-25 西北工业大学 Ad Hoc network MAC (Media Access Control) protocol realizing method based on STDMA (Self Organizing Time Division Multiple Access)
CN103634872A (en) * 2013-11-29 2014-03-12 中国石油大学(华东) Energy-efficient asynchronous neighbor node finding method in mobile self-organizing network
CN105722180A (en) * 2016-01-27 2016-06-29 四川大学 Neighbor discovering method of low duty cycle sensor network based on unequal length revival time slots
US20190182705A1 (en) * 2017-12-07 2019-06-13 Pusan National University Industry-University Cooperation Foundation System and method for managing dsme network fluctuation in industrial wireless sensor network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DIANBO ZHAO等: ""Approximation algorithms for broadcasting in duty cycled"", 《WIRELESS NETW》 *
焦贤龙: ""无线自组网广播与数据聚合算法研究"", 《中国优秀博硕士学位论文全文数据库(博士)信息科技辑(月刊)》 *
陈权: ""信息物理融合系统中实时数据传输与调度算法研究"", 《中国优秀博硕士学位论文全文数据库信息科技辑(月刊)》 *

Also Published As

Publication number Publication date
CN113179497B (en) 2022-07-05

Similar Documents

Publication Publication Date Title
Awwad et al. Cluster based routing protocol for mobile nodes in wireless sensor network
EP2115965B1 (en) Low-power wireless multi-hop networks
KR100659739B1 (en) Virtual node algorithm for wireless sensor network
Chen et al. Distributed non-structure based data aggregation for duty-cycle wireless sensor networks
Chowdhury et al. Channel allocation and medium access control for wireless sensor networks
Bagci Energy-efficient communication protocol for wireless sensor networks.
Wu et al. Multi-channel and cognitive radio approaches for wireless sensor networks
Bhatia et al. A distributed TDMA slot scheduling algorithm for spatially correlated contention in WSNs
Ray et al. Supporting bursty traffic in wireless sensor networks through a distributed advertisement-based TDMA protocol (ATMA)
Rajasekaran et al. Adaptive intelligent hybrid MAC protocol for wireless sensor network
Ajmi et al. SPEECH‐MAC: Special purpose energy‐efficient contention‐based hybrid MAC protocol for WSN and Zigbee network
Aby et al. SLACK-MAC: Adaptive MAC protocol for low duty-cycle wireless sensor networks
Christmann et al. Flexible and energy‐efficient duty cycling in wireless networks with MacZ
Chen et al. Low-latency concurrent broadcast scheduling in duty-cycled multihop wireless networks
Jemili et al. Collision aware coloring algorithm for wireless sensor networks
CN113179497B (en) Distributed real-time beacon scheduling method based on time slot in industrial Internet of things
Avril et al. Clustering and communications scheduling in WSNs using mixed integer linear programming
CN111901811A (en) Neighbor discovery method based on node cooperation
Van Hoesel et al. Collision-free time slot reuse in multi-hop wireless sensor networks
Rajendran A survey on MAC protocols for wireless sensor networks
Chen et al. Edge-based beaconing schedule in duty-cycled multihop wireless networks
Chang et al. An energy conservation MAC protocol in wireless sensor networks
Alahmadi et al. A Review of Multi-Channel Medium Access Control Protocols for Wireless Sensor Networks
Doddapaneni et al. A survey study on MAC and routing protocols to facilitate energy efficient and effective UAV-based communication systems
Siedersberger et al. Hierarchical topology formation in large-scale ieee 802.15. 4 wireless sensor networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant