WO2018232910A1 - Method and system for determining data transmission routes between internet of things devices - Google Patents

Method and system for determining data transmission routes between internet of things devices Download PDF

Info

Publication number
WO2018232910A1
WO2018232910A1 PCT/CN2017/097441 CN2017097441W WO2018232910A1 WO 2018232910 A1 WO2018232910 A1 WO 2018232910A1 CN 2017097441 W CN2017097441 W CN 2017097441W WO 2018232910 A1 WO2018232910 A1 WO 2018232910A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
controller
internet
feedback information
transmission path
Prior art date
Application number
PCT/CN2017/097441
Other languages
French (fr)
Chinese (zh)
Inventor
杜光东
Original Assignee
深圳市盛路物联通讯技术有限公司
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 深圳市盛路物联通讯技术有限公司 filed Critical 深圳市盛路物联通讯技术有限公司
Publication of WO2018232910A1 publication Critical patent/WO2018232910A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/26Route discovery packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results
    • 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

Definitions

  • the present invention relates to the field of Internet of Things, and in particular, to a method and system for determining a data transmission path between Internet of Things devices.
  • the Internet of Things is an important part of the new generation of information technology. It uses local communication technologies such as local networks or the Internet to connect sensors, controllers, machines, people and things in a new way to form people, things, things and things. Linkage, the realization of information, remote management control and intelligent network, is the Internet connected by objects.
  • IoT applications are basically based on a myriad of sub-networks. These sub-networks are composed of several acquisition control nodes. For example, all sensor nodes and control nodes in a home or a building form an Internet of Things domain. Network, and currently the node devices of these local subnets mostly rely on wireless transmission for data communication interconnection.
  • the control node sends the data packets that need to be forwarded to the target Internet of Things device according to the forwarding path.
  • the transmission path of the data packet in the network is opaque and cannot be visually viewed. However, once the data packet transmission process is in error, it may only be involved. On all the equipment units that are sent, the analysis log is used to locate and analyze, and the amount of logs involved is large, and the positioning analysis is difficult.
  • the technical problem to be solved by the present invention is to provide a method and system for determining a data transmission path between the Internet of Things devices by transmitting the data packet carrying the label to the Internet of Things device and receiving the data packet from the Internet of Things device.
  • the information indicating that the data packet has been received is determined, and the transmission path of the data packet can be determined according to the feedback information, so that the transmission path of the data packet can be visually checked, thereby reducing the difficulty of the positioning analysis.
  • a method for determining a data transmission path between the Internet of Things devices comprising:
  • the controller receives the data packet sent by the source IoT device, where the data packet carries the ID information of the target Internet of Things;
  • the controller sets a label in the data packet to obtain a test data packet, where the label is used to indicate that each IoT device that the test data packet passes sends the first feedback information to the controller;
  • the controller sends the test data packet to a plurality of the Internet of Things devices
  • the controller receives at least one sent by at least one of the plurality of Internet of Things devices The first feedback information, wherein each of the first feedback information is used to indicate that the IoT device has received the test data packet, and each of the first feedback information carries the IoT device ID information;
  • the invention has the beneficial effects that: by transmitting a data packet carrying a tag to a plurality of IoT devices, and receiving, by the at least one IoT device, first feedback information indicating that the data packet has been received, according to the first feedback The information determines the transmission path of the data packet, so that the transmission path of the data packet can be visually inspected, thereby reducing the difficulty of positioning analysis.
  • the present invention can also be improved as follows.
  • the controller determines, according to the at least one first feedback information, a transmission path of the data packet, including:
  • the controller determines the transmission path of the data packet.
  • the advantage of using the above further solution is that all the IoT devices that pass through the test data packet are determined as the transmission path of the data packet, and all the transmission paths of the data packet can be visually inspected, which can facilitate the user from the transmission path. Select the optimal transmission path and reduce the difficulty of positioning analysis when there is an error in the transmission process of the data packet.
  • each of the first feedback information carries ID information of a next hop IoT device of the test data packet.
  • the advantage of using the above further solution is that the controller can determine the data packet according to the ID information of the next hop IoT device of the test data packet carried by the first feedback information, and the ID information of the IoT device receiving the test data packet.
  • the transmission path makes it easier to know the transmission path of the data packet in the Internet of Things.
  • a system for determining a data transmission path between the Internet of Things devices comprising: a source Internet of Things device, a target Internet of things device, an Internet of Things device, and a controller, wherein
  • the source Internet of Things device is configured to send a data packet to the controller, where the data packet carries ID information of a target Internet of Things;
  • the controller is configured to receive the data packet sent by the source Internet of Things device, and set the data packet in the data packet Setting a label to obtain a test data packet, and sending the test data packet to a plurality of the Internet of Things devices, wherein the label is used to indicate that each IoT device through which the test data packet passes sends to the controller First feedback information;
  • the controller is further configured to receive at least one of the first feedback information sent by at least one of the plurality of IoT devices, and determine the a transmission path of the data packet, wherein each of the first feedback information carries ID information of the IoT device, and is used to indicate that the IoT device has received the test data packet, where the transmission path includes at least In one of the Internet of Things devices, the last hop IoT device of the test data packet is the target Internet of Things device.
  • the invention has the beneficial effects that the controller can transmit the data packet carrying the label to the plurality of Internet of Things devices, and receive the first feedback information indicating that the data packet has been received from the at least one Internet of Things device, according to the first A feedback information determines the transmission path of the data packet, so that the transmission path of the data packet can be visually inspected, thereby reducing the difficulty of the positioning analysis.
  • the present invention can also be improved as follows.
  • the controller is specifically configured to: according to the ID information of the IoT device carried in the at least one of the first feedback information, and the ID information of the target Internet of Things device, the test data is transmitted. All IoT devices that pass through the packet are determined as the transmission path of the data packet.
  • the controller determines all the IoT devices that pass through when the test data packet is transmitted as the transmission path of the data packet, and can visually view all the transmission paths of the data packet, which can facilitate the user from the transmission path. Select the optimal transmission path and reduce the difficulty of positioning analysis when there is an error in the transmission process of the data packet.
  • each of the first feedback information carries ID information of a next hop IoT device of the test data packet.
  • the advantage of using the above further solution is that the controller can determine the data packet according to the ID information of the next hop IoT device of the test data packet carried by the first feedback information, and the ID information of the IoT device receiving the test data packet.
  • the transmission path makes it easier to know the transmission path of the data packet in the Internet of Things.
  • FIG. 1 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to an embodiment of the present invention
  • FIG. 2 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention
  • FIG. 3 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention.
  • FIG. 4 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention.
  • FIG. 5 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention.
  • FIG. 6 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of a system for determining a data transmission path between Internet of Things devices according to an embodiment of the present invention.
  • the controller may also be a base station or a radio network controller (RNC) in a wireless network.
  • RNC radio network controller
  • the embodiment of the present invention does not specifically limit the form of the Internet of Things device.
  • the Internet of Things device in the embodiment of the present invention has the function of forwarding data packets, similar to the forwarding function of a router or a switch.
  • FIG. 1 is a schematic signaling interaction diagram of a method 100 for determining a data transmission path between Internet of Things devices according to an embodiment of the present invention.
  • the method 100 as shown in FIG. 1 includes:
  • the controller receives the data packet sent by the source IoT device.
  • the data packet carries the ID information of the target Internet of Things.
  • the controller sets a label in the data packet to obtain a test data packet.
  • the tag is used to indicate that each IoT device that the test data packet passes sends the first feedback information to the controller.
  • test data packet carrying the label is not limited in the embodiment of the present invention.
  • a label may be set on the data packet, and the content carried in the test data packet may not be in conflict with other data services.
  • the specific content also allows test packets to be transmitted using ports that do not conflict with other data traffic.
  • the controller sends a test data packet to multiple IoT devices.
  • the controller can send the test data packet to all the IoT devices in the wireless communication range, which is not limited in this embodiment of the present invention.
  • the controller receives at least one first feedback information sent by at least one of the plurality of Internet of Things devices.
  • Each of the first feedback information carries ID information of the Internet of Things device, and is used to indicate that the IoT device has received the test data packet.
  • the form and/or content of the first feedback information sent by the Internet of Things device to the controller may be preset by the Internet of Things device and the controller.
  • the controller determines, according to the at least one first feedback information, a transmission path of the data packet.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target Internet of Things device.
  • the controller may determine the transmission path of the test data packet according to the ID information of the Internet of Things device corresponding to the received first feedback information. Since the test packet is generated on the device tag on the packet, the transmission path of the test packet is the transmission path of the packet.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet.
  • the plurality of IoT devices send the test data packet, and then according to the received ID information of the IoT device sent by the at least one IoT device, used to indicate that the IoT device has received at least one first feedback information of the test data packet.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
  • the method for determining a data transmission path between the Internet of Things devices in the above embodiment by transmitting a data packet carrying the label to the plurality of Internet of Things devices, and receiving, from the at least one Internet of Things device, the indication that the data packet has been received
  • the feedback information can determine the transmission path of the data packet according to the first feedback information, so that the transmission path of the data packet can be visually viewed, thereby reducing the difficulty of the positioning analysis.
  • the method may further include:
  • the source IoT device sends a data packet to the controller, where the data packet carries ID information of the target Internet of Things device.
  • the destination of the data packet transmission can be determined according to the ID information of the target Internet of Things device, that is, the last hop IoT device of the test data packet on the determined transmission path is the target Internet of Things device.
  • the method may further include:
  • the at least one IoT device box controller of the plurality of IoT devices sends the first feedback information, where each first feedback information carries ID information of the IoT device, and is used to indicate that the IoT device has received the test data packet.
  • the controller sends test data packets to multiple IoT devices, but not all IoT devices can receive them. Only the part of the IoT devices that receive the test data packets will be sent to the controller.
  • the first feedback information of the ID information of the Internet of Things device is to say, the controller sends test data packets to multiple IoT devices, but not all IoT devices can receive them. Only the part of the IoT devices that receive the test data packets will be sent to the controller.
  • the first feedback information of the ID information of the Internet of Things device is to the controller.
  • the method 200 includes:
  • the controller receives a data packet that is sent by the source IoT device and carries ID information of the target Internet of Things.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
  • the controller sends the test data packet obtained in step 120 to the plurality of Internet of Things devices.
  • the controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
  • the controller determines, according to the at least one first feedback information, a transmission path of the data packet.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
  • the controller receives a data flow table sent by the source IoT device.
  • the matching rules in the data packet transmission process are specified in the data flow table. Then, the label set by the controller in the received data packet needs to satisfy the matching rule in the data flow table.
  • the controller separately sends a data flow table to the at least one IoT device.
  • the controller determines, according to the transmission path, whether the data flow table is correct.
  • the controller sends the determination result to the source IoT device.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet.
  • the plurality of IoT devices send the test data packet, and then according to the received ID information of the IoT device sent by the at least one IoT device, used to indicate that the IoT device has received at least one first feedback information of the test data packet.
  • the controller sends the received data flow table to at least one IoT device included in the transmission path, determines whether the data flow table is correct according to the transmission path, and sends the determination result to the source IoT device.
  • the method for determining a data transmission path between the Internet of Things devices in the above embodiment is to generate a test data packet carrying the label by using the controller, and send the test data packet to the Internet of Things device, and the IoT devices forward the test data packet according to the data flow table. And sending, to the controller, first feedback information indicating that the test data packet is received, so that the controller can describe the transmission path map of the test data packet in the Internet of Things, and can visually view the entire transmission path of the data packet, thereby reducing the The difficulty of positioning analysis.
  • the source IoT device by determining whether the data flow table of the matching rule in the data packet transmission process is correct according to the transmission path, and transmitting the determination result to the source IoT device, it is convenient for the source IoT device to know whether the delivered data flow table is Match the actual transmission path of the packet to take appropriate measures to better ensure the transmission of the data packet.
  • the method may further include:
  • the data flow table specifies the matching rules in the data packet transmission process, which is convenient for the controller to set the label in the data packet.
  • the method 300 includes:
  • the controller receives the data packet that is sent by the source IoT device and carries the ID information of the target Internet of Things.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
  • the controller sends the test data packet obtained in step 220 to the plurality of Internet of Things devices.
  • the controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
  • the controller determines, according to the at least one first feedback information, a transmission path of the data packet.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
  • the controller receives the data flow table sent by the source IoT device.
  • the matching rules in the data packet transmission process are specified in the data flow table. Then, the label set by the controller in the received data packet needs to satisfy the matching rule in the data flow table.
  • the controller sends a data flow table to at least one IoT device.
  • the controller receives at least one second feedback information that is sent by at least one IoT device.
  • Each second feedback information carries a matching result of whether the received test data packet matches the data flow table.
  • the controller determines, according to the at least one matching result carried by the at least one second feedback information, whether the data flow table is correct.
  • the controller sends the judgment result to the source IoT device.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet.
  • the plurality of IoT devices send the test data packet, and then according to the received ID information of the IoT device sent by the at least one IoT device, used to indicate that the IoT device has received at least one first feedback information of the test data packet. Determine the transmission path of the packet.
  • the controller sends the received data flow table to the at least one Internet of Things device included in the transmission path, and according to the transmission path, the received test packet and the data flow table are matched by the at least one IoT device.
  • the at least one second feedback information of the matching result determines whether the data flow table is correct, and sends the determination result to the source IoT device.
  • the method for determining a data transmission path between the Internet of Things devices in the above embodiment is to generate a test data packet carrying the label by using the controller, and send the test data packet to the Internet of Things device, and the IoT devices forward the test data packet according to the data flow table. And sending, to the controller, first feedback information indicating that the test data packet is received, so that the controller can describe the transmission path map of the test data packet in the Internet of Things, and can visually view the entire transmission path of the data packet, thereby reducing the The difficulty of positioning analysis.
  • the data flow table may be determined according to the at least one second feedback information that is received by the at least one IoT device and that carries the matching result between the received test data packet and the data flow table. .
  • the data flow table that specifies the matching rule in the data packet transmission process is correct, and The judgment result is sent to the source IoT device, so that the data flow table sent by the source IoT device can be obtained in real time to match the actual transmission path of the data packet. Once there is a deviation, the data flow table can be adjusted in time to better ensure The transmission of data packets.
  • the method 400 may include:
  • the controller receives the data packet that is sent by the source IoT device and carries the ID information of the target Internet of Things.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
  • the controller sends the test data packet obtained in step 420 to the plurality of Internet of Things devices.
  • the controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
  • the controller determines a transmission path of the data packet according to a time sequence in which the at least one first feedback information is received.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is a target object Network equipment.
  • the controller may determine the transmission path of the data packet according to the chronological order of receiving the first feedback information and the ID information of the Internet of Things device corresponding to the first feedback information.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet.
  • the plurality of IoT devices send the test data packet, and then according to the received ID information of the IoT device sent by the at least one IoT device, used to indicate that the IoT device has received at least one first feedback information of the test data packet.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
  • the controller can obtain the ID information of the IoT device that sends the first feedback information while receiving the first feedback information, and the controller receives the feedback according to the feedback.
  • the time sequence of the information and the ID information of the IoT device corresponding to the feedback information can more accurately determine the transmission path of the test data packet in the entire Internet of Things. Since the test data packet is generated on the device label on the data packet, Therefore, the transmission path of the test packet is the transmission path of the packet.
  • the method 400 may further include:
  • the controller receives a data flow table sent by the source IoT device.
  • the controller separately sends a data flow table to the at least one IoT device.
  • the controller separately receives at least one second feedback information that is sent by at least one IoT device and that carries a matching result that the received test data packet matches the data flow table.
  • the controller determines, according to the at least one matching result carried by the at least one second feedback information, whether the data flow table is correct.
  • the controller sends the judgment result to the source IoT device.
  • steps 460-485 are similar to the steps 360-385 in the method 300 shown in FIG. 3, and are not described herein again for brevity of description.
  • each first feedback information includes time information that the IoT device receives the test data packet.
  • the method 500 may include:
  • the controller receives a data packet that is sent by the source IoT device and carries ID information of the target Internet of Things.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
  • the controller sends the test data packet obtained in step 520 to the plurality of Internet of Things devices.
  • the controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
  • the controller determines, according to the first feedback information, time information that the IoT device receives the test data packet, and determines a transmission path of the data packet.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet. Transmitting, by the plurality of IoT devices, the test data packet, according to the ID information of the IoT device that is sent by the at least one IoT device, for indicating that the IoT device has received the at least one first feedback information of the test data packet.
  • the IoT device receives the time information of the test packet to determine the transmission path of the packet.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
  • the time sequence in which the controller receives the first feedback information of each IoT device is consistent with the order in which the test data packet passes through each forwarding node.
  • the IoT device 2 receives the test sent by the IoT device 1.
  • the feedback information 1 is sent to the controller, and the test data packet is forwarded to the Internet of Things device 3; the IoT device 3 sends the feedback information 2 to the controller after receiving the test data packet.
  • the transmission delay is large, so that the controller receives the feedback information 1 after receiving the feedback information 2, and the time when the controller receives the feedback information.
  • the order is inconsistent with the order in which the test packets pass through the IoT device.
  • the controller determines the transmission path of the test data packet according to the time information of the IoT device receiving the test data packet to determine the data packet in the entire Internet of Things.
  • the transmission path can avoid the above possible problems.
  • the method 500 may further include:
  • the controller receives a data flow table sent by the source IoT device.
  • the controller sends a data flow table to at least one IoT device.
  • the controller respectively receives at least one second feedback information that is sent by at least one IoT device and that carries a matching result that the received test data packet matches the data flow table.
  • the controller determines, according to the at least one matching result carried by the at least one second feedback information, whether the data flow table is correct.
  • the controller sends the determination result to the source IoT device.
  • steps 560-585 are similar to the steps 360-385 in the method 300 shown in FIG. 3, and are not described herein again for brevity of description.
  • the method 600 may include:
  • the controller receives the data packet that is sent by the source IoT device and carries the ID information of the target Internet of Things.
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
  • the controller sends the test data packet obtained in step 620 to the plurality of Internet of Things devices.
  • the controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
  • the controller determines, according to the ID information of the IoT device carried in the at least one first feedback information, and the ID information of the target Internet of Things device, all the IoT devices that pass through the test data packet are determined as the transmission path of the data packet. .
  • the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet.
  • the plurality of IoT devices send the test data packet, and then determine the transmission path of the data packet according to the received ID information of the IoT device and the ID information of the target Internet of Things device sent by the at least one IoT device.
  • the last hop IoT device of the test data packet on the transmission path is the target IoT device, which can visually view all the transmission paths of the data packet, and can conveniently select the optimal transmission path from the transmission path, and in the data packet. When the transmission process is in error, the difficulty of positioning analysis is reduced.
  • the method 600 may further include: as shown in FIG. 6, the method 600 may further include:
  • the controller receives a data flow table sent by the source IoT device.
  • the controller sends a data flow table to at least one IoT device.
  • the controller separately receives at least one second feedback information that is sent by at least one IoT device and that carries a matching result that the received test data packet matches the data flow table.
  • the controller determines, according to the at least one matching result carried by the at least one second feedback information, whether the data flow table is correct.
  • the controller sends the determination result to the source IoT device.
  • steps 660-685 are similar to the steps 360-385 in the method 300 shown in FIG. 3, and are not described herein again for brevity of description.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic, and should not be implemented in the embodiments of the present invention.
  • the process constitutes any limitation.
  • each first feedback information may further carry ID information of a next hop IoT device of the test data packet.
  • the controller may determine the transmission path of the data packet according to the ID information of the next hop IoT device of the test data packet carried by the first feedback information, and the ID information of the IoT device that receives the test data packet, so that the data packet can be more conveniently learned.
  • the transmission path of the packet in the Internet of Things.
  • the method for determining a data transmission path between the Internet of Things devices provided by the present invention is described in detail above with reference to FIG. 1 to FIG. 6.
  • the system for determining the data transmission path between the Internet of Things devices provided by the present invention is described in detail below with reference to FIG. .
  • FIG. 7 is a schematic block diagram of a system 700 for determining a data transmission path between Internet of Things devices according to an embodiment of the present invention.
  • system 700 includes a source IoT device 710, a plurality of IoT devices 730, and a controller 720. among them,
  • the source Internet of Things device 710 is configured to send a data packet to the controller 720.
  • the data packet carries the ID information of the target Internet of Things.
  • the controller 720 is configured to receive the data packet sent by the source IoT device 710, set a label in the data packet, obtain a test data packet, send the test data packet to the plurality of IoT devices 730, and receive the plurality of IoT devices 730. At least one first feedback information sent by the at least one IoT device, and determining a transmission path of the data packet according to the at least one first feedback information.
  • the tag is used to indicate that each IoT device that the test data packet passes sends the first feedback information to the controller.
  • Each first feedback information carries ID information of the Internet of Things device and is used to indicate that the IoT device has received the test data packet.
  • the transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
  • the system for determining a data transmission path between the Internet of Things devices transmitting the data packet carrying the label to the plurality of Internet of Things devices, and receiving from the at least one Internet of Things device, indicating that the data packet has been received
  • the first feedback information can determine the transmission path of the data packet according to the first feedback information, so that the transmission path of the data packet can be visually viewed, thereby reducing the difficulty of the positioning analysis.
  • the system 700 for determining the data transmission path between the Internet of Things devices according to the embodiment of the present invention may correspond to the method for determining the data transmission path between the Internet of Things devices according to an embodiment of the present invention. Executing the subject, and the above and other operations and/or functions of the various device devices in the system 700 are implemented separately The corresponding processes of the respective methods in FIG. 1 to FIG. 6 are not described herein again for the sake of brevity.
  • the controller 720 is further configured to receive a data flow table sent by the source Internet of Things device 210, and send a data flow table to the at least one Internet of Things device, respectively, and determine the data flow table according to the transmission path. Is it correct and sends the judgment result to the source IoT device.
  • the controller generates a test data packet carrying the label, and sends the test data packet to the Internet of Things device, and each IoT device forwards the test data packet according to the data flow table, and Sending, to the controller, first feedback information indicating that the test data packet is received, so that the controller can depict a transmission path map of the test data packet in the Internet of Things, and can visually view the entire transmission path of the data packet, thereby reducing positioning The difficulty of the analysis.
  • the controller 720 is further configured to receive at least one second feedback information sent by the at least one IoT device 730, respectively.
  • Each of the first feedback information carries a matching result that the received test data packet matches the data flow table.
  • the controller 720 is further configured to determine whether the data flow table is correct according to the at least one matching result carried by the at least one second feedback information.
  • the controller generates a test data packet carrying the label, and sends the test data packet to the Internet of Things device, and each IoT device forwards the test data packet according to the data flow table, and Sending, to the controller, first feedback information indicating that the test data packet is received, so that the controller can depict a transmission path map of the test data packet in the Internet of Things, and can visually view the entire transmission path of the data packet, thereby reducing positioning The difficulty of the analysis.
  • the data flow table may be determined according to the at least one second feedback information that is received by the at least one IoT device and that carries the matching result between the received test data packet and the data flow table. .
  • the controller 720 is specifically configured to determine a transmission path of the data packet according to a time sequence in which the at least one first feedback information is received.
  • the controller can obtain the ID information of the IoT device that sends the first feedback information while receiving the first feedback information, and the controller receives the feedback according to the feedback.
  • the time sequence of the information and the ID information of the IoT device corresponding to the feedback information can more accurately determine the transmission path of the test data packet in the entire Internet of Things. Since the test data packet is generated on the device label on the data packet, Therefore, the transmission path of the test packet is the transmission path of the packet.
  • the time sequence in which the controller receives the first feedback information of each IoT device is consistent with the order in which the test data packet passes through each forwarding node. But since each IoT device receives the test packet from the delivery The length of time required for the first feedback information to arrive at the controller may be different. It may be that the IoT device 2 sends the feedback information 1 to the controller after receiving the test data packet sent by the IoT device 1 and simultaneously The test data packet is forwarded to the Internet of Things device 3; the IoT device 3 sends the feedback information 2 to the controller after receiving the test data packet.
  • the transmission delay is large, so that the controller receives the feedback information 1 after receiving the feedback information 2, and the time when the controller receives the feedback information.
  • the order is inconsistent with the order in which the test packets pass through the IoT device.
  • each first feedback information includes time information that the IoT device receives the test data packet, and the controller 720 is specifically configured to determine a transmission path of the data packet according to the time information.
  • the controller determines the transmission path of the test data packet according to the time information of the IoT device receiving the test data packet, to determine the data packet in the entire Internet of Things.
  • the transmission path can avoid the above possible problems.
  • the controller 720 is specifically configured to transmit according to the ID information of the IoT device carried in the at least one first feedback information and the ID information of the target Internet of Things device. All IoT devices that pass through the test packet are determined as the transmission path of the data packet, which can visually view all the transmission paths of the data packet, and can facilitate the user to select an optimal transmission path from the transmission path and appear in the transmission process of the data packet. When it is wrong, it is difficult to reduce the positioning analysis.
  • each first feedback information carries ID information of a next hop IoT device of the test data packet.
  • the controller 720 can determine the transmission path of the data packet according to the ID information of the next hop IoT device of the test data packet carried by the first feedback information, and the ID information of the IoT device that receives the test data packet, which can be more convenient. Know the transmission path of the data packet in the Internet of Things.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of cells is only a logical function division.
  • multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer IoT device (which may be a personal computer, server, or network IoT device, etc.) to perform all or part of the steps of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a method and a system for determining data transmission routes between Internet of Things devices. The method comprises: a controller receives a data packet carrying the ID information for a target Internet of Things sent by an Internet of Things device; the controller configures a label in the received data packet which is used to indicate to each Internet of Things device which a test data packet passes over by to send first feedback information to the controller so as to obtain the test data packet; the controller sends the test data packet to a plurality Internet of Things devices; the controller receives at least one piece of first feedback information sent by at least one of the Internet of Things devices, which carries the ID information of the Internet of Things device and which indicates that the Internet of Things device has received the test data packet; the controller, on the basis of the at least one piece of feedback information, determines the transmission route for the data packet. With the present invention, the transmission route of a data packet may be determined on the basis of the first feedback information, allowing the direct observation of the transmission route for the data packet so that the difficulty of positioning analysis is reduced.

Description

一种确定物联网设备间的数据传输路径的方法及系统Method and system for determining data transmission path between Internet of Things devices 技术领域Technical field
本发明涉及物联网领域,尤其涉及一种确定物联网设备间的数据传输路径的方法及系统。The present invention relates to the field of Internet of Things, and in particular, to a method and system for determining a data transmission path between Internet of Things devices.
背景技术Background technique
物联网是新一代信息技术的重要组成部分,是利用局部网络或互联网等通信技术把传感器、控制器、机器、人员和物等通过新的方式联在一起,形成人与物、物与物相联,实现信息化、远程管理控制和智能化的网络,是物物相连的互联网。The Internet of Things is an important part of the new generation of information technology. It uses local communication technologies such as local networks or the Internet to connect sensors, controllers, machines, people and things in a new way to form people, things, things and things. Linkage, the realization of information, remote management control and intelligent network, is the Internet connected by objects.
目前,物联网应用基本都是基于无数个子网络组成,这些子网络是由若干个采集控制节点组成,例如一户家庭或者一栋楼房内的所有传感器节点、控制节点组成一个物联网的局域子网,而目前这些局域子网的节点设备之间大多依靠无线传输进行数据通信互联。控制节点根据转发路径将需要转发的数据包依次下发至目标物联网设备,由于数据包在网络中的传输路径不透明,无法直观查看,而一旦数据包的传输过程出现差错,只能在可能涉及到的所有设备单元上通过调取分析日志来定位分析,涉及的日志量大,定位分析难度大。At present, IoT applications are basically based on a myriad of sub-networks. These sub-networks are composed of several acquisition control nodes. For example, all sensor nodes and control nodes in a home or a building form an Internet of Things domain. Network, and currently the node devices of these local subnets mostly rely on wireless transmission for data communication interconnection. The control node sends the data packets that need to be forwarded to the target Internet of Things device according to the forwarding path. The transmission path of the data packet in the network is opaque and cannot be visually viewed. However, once the data packet transmission process is in error, it may only be involved. On all the equipment units that are sent, the analysis log is used to locate and analyze, and the amount of logs involved is large, and the positioning analysis is difficult.
发明内容Summary of the invention
本发明所要解决的技术问题是针对现有技术的不足,提供一种确定物联网设备间的数据传输路径的方法及系统,通过向物联网设备发送携带标签的数据包,并从物联网设备接收用于指示已收到该数据包的反馈信息,能够根据该反馈信息确定该数据包的传输路径,使得能够直观查看数据包的传输路径,进而能够降低定位分析的难度。The technical problem to be solved by the present invention is to provide a method and system for determining a data transmission path between the Internet of Things devices by transmitting the data packet carrying the label to the Internet of Things device and receiving the data packet from the Internet of Things device. The information indicating that the data packet has been received is determined, and the transmission path of the data packet can be determined according to the feedback information, so that the transmission path of the data packet can be visually checked, thereby reducing the difficulty of the positioning analysis.
本发明解决上述技术问题的技术方案如下:一种确定物联网设备间的数据传输路径的方法,包括:The technical solution of the present invention to solve the above technical problem is as follows: A method for determining a data transmission path between the Internet of Things devices, comprising:
控制器接收源物联网设备发送的数据包,其中,所述数据包携带目标物联网的ID信息;The controller receives the data packet sent by the source IoT device, where the data packet carries the ID information of the target Internet of Things;
所述控制器在所述数据包中设置标签,得到测试数据包,其中,所述标签用于指示所述测试数据包所经过的每个物联网设备向所述控制器发送第一反馈信息;The controller sets a label in the data packet to obtain a test data packet, where the label is used to indicate that each IoT device that the test data packet passes sends the first feedback information to the controller;
所述控制器向多个所述物联网设备发送所述测试数据包;The controller sends the test data packet to a plurality of the Internet of Things devices;
所述控制器接收多个所述物联网设备中的至少一个所述物联网设备发送的至少一个 所述第一反馈信息,其中,每个所述第一反馈信息用于指示所述物联网设备已收到所述测试数据包,且每个所述第一反馈信息携带所述物联网设备的ID信息;The controller receives at least one sent by at least one of the plurality of Internet of Things devices The first feedback information, wherein each of the first feedback information is used to indicate that the IoT device has received the test data packet, and each of the first feedback information carries the IoT device ID information;
所述控制器根据至少一个所述第一反馈信息,确定所述数据包的传输路径,其中,所述传输路径包括至少一个所述物联网设备,所述测试数据包的最后一跳物联网设备为所述目标物联网设备。Determining, by the controller, a transmission path of the data packet according to at least one of the first feedback information, where the transmission path includes at least one of the Internet of Things devices, and a last hop of the Internet of Things device of the test data packet For the target IoT device.
本发明的有益效果是:通过向多个物联网设备发送携带标签的数据包,并从至少一个物联网设备接收用于指示已收到该数据包的第一反馈信息,能够根据该第一反馈信息确定该数据包的传输路径,使得能够直观查看数据包的传输路径,进而能够降低定位分析的难度。The invention has the beneficial effects that: by transmitting a data packet carrying a tag to a plurality of IoT devices, and receiving, by the at least one IoT device, first feedback information indicating that the data packet has been received, according to the first feedback The information determines the transmission path of the data packet, so that the transmission path of the data packet can be visually inspected, thereby reducing the difficulty of positioning analysis.
在上述技术方案的基础上,本发明还可以做如下改进。Based on the above technical solutions, the present invention can also be improved as follows.
进一步地,所述控制器根据所述至少一个第一反馈信息,确定所述数据包的传输路径,包括:Further, the controller determines, according to the at least one first feedback information, a transmission path of the data packet, including:
所述控制器根据至少一个所述第一反馈信息中的携带的所述物联网设备的ID信息,和所述目标物联网设备的ID信息,将传输所述测试数据包时经过的所有物联网设备确定为所述数据包的传输路径。The controller, according to the ID information of the IoT device carried in the at least one of the first feedback information, and the ID information of the target Internet of Things device, all Internet of Things that are passed when the test data packet is transmitted The device determines the transmission path of the data packet.
采用上述进一步方案的有益效果是:将传输所述测试数据包时经过的所有物联网设备确定为所述数据包的传输路径,能够直观查看数据包的所有传输路径,可以方便用户从传输路径中选择最优的传输路径,并在数据包的传输过程出现差错时,降低定位分析的难度。The advantage of using the above further solution is that all the IoT devices that pass through the test data packet are determined as the transmission path of the data packet, and all the transmission paths of the data packet can be visually inspected, which can facilitate the user from the transmission path. Select the optimal transmission path and reduce the difficulty of positioning analysis when there is an error in the transmission process of the data packet.
进一步地,每个所述第一反馈信息携带所述测试数据包的下一跳物联网设备的ID信息。Further, each of the first feedback information carries ID information of a next hop IoT device of the test data packet.
采用上述进一步方案的有益效果是:控制器可以根据第一反馈信息携带的测试数据包的下一跳物联网设备的ID信息,以及接收该测试数据包的物联网设备的ID信息,确定数据包的传输路径,可以更方便的获知数据包在物联网中的传输路径。The advantage of using the above further solution is that the controller can determine the data packet according to the ID information of the next hop IoT device of the test data packet carried by the first feedback information, and the ID information of the IoT device receiving the test data packet. The transmission path makes it easier to know the transmission path of the data packet in the Internet of Things.
本发明解决上述技术问题的另一种技术方案如下:一种确定物联网设备间的数据传输路径的系统,包括:源物联网设备、目标物联网设备、物联网设备和控制器,其中,Another technical solution to the above technical problem is as follows: a system for determining a data transmission path between the Internet of Things devices, comprising: a source Internet of Things device, a target Internet of things device, an Internet of Things device, and a controller, wherein
所述源物联网设备,用于向所述控制器发送数据包,其中,所述数据包携带目标物联网的ID信息;The source Internet of Things device is configured to send a data packet to the controller, where the data packet carries ID information of a target Internet of Things;
所述控制器,用于接收所述源物联网设备发送的所述数据包,并在所述数据包中设 置标签,得到测试数据包,向多个所述物联网设备发送所述测试数据包,其中,所述标签用于指示所述测试数据包所经过的每个物联网设备向所述控制器发送第一反馈信息;The controller is configured to receive the data packet sent by the source Internet of Things device, and set the data packet in the data packet Setting a label to obtain a test data packet, and sending the test data packet to a plurality of the Internet of Things devices, wherein the label is used to indicate that each IoT device through which the test data packet passes sends to the controller First feedback information;
所述控制器,还用于接收多个所述物联网设备中的至少一个所述物联网设备发送的至少一个所述第一反馈信息,并根据至少一个所述第一反馈信息,确定所述数据包的传输路径,其中,每个所述第一反馈信息携带所述物联网设备的ID信息,且用于指示所述物联网设备已收到所述测试数据包,所述传输路径包括至少一个所述物联网设备,所述测试数据包的最后一跳物联网设备为所述目标物联网设备。The controller is further configured to receive at least one of the first feedback information sent by at least one of the plurality of IoT devices, and determine the a transmission path of the data packet, wherein each of the first feedback information carries ID information of the IoT device, and is used to indicate that the IoT device has received the test data packet, where the transmission path includes at least In one of the Internet of Things devices, the last hop IoT device of the test data packet is the target Internet of Things device.
本发明的有益效果是:控制器通过向多个物联网设备发送携带标签的数据包,并从至少一个物联网设备接收用于指示已收到该数据包的第一反馈信息,能够根据该第一反馈信息确定该数据包的传输路径,使得能够直观查看数据包的传输路径,进而能够降低定位分析的难度。The invention has the beneficial effects that the controller can transmit the data packet carrying the label to the plurality of Internet of Things devices, and receive the first feedback information indicating that the data packet has been received from the at least one Internet of Things device, according to the first A feedback information determines the transmission path of the data packet, so that the transmission path of the data packet can be visually inspected, thereby reducing the difficulty of the positioning analysis.
在上述技术方案的基础上,本发明还可以做如下改进。Based on the above technical solutions, the present invention can also be improved as follows.
进一步地,所述控制器具体用于,根据至少一个所述第一反馈信息中的携带的所述物联网设备的ID信息,和所述目标物联网设备的ID信息,将传输所述测试数据包时经过的所有物联网设备确定为所述数据包的传输路径。Further, the controller is specifically configured to: according to the ID information of the IoT device carried in the at least one of the first feedback information, and the ID information of the target Internet of Things device, the test data is transmitted. All IoT devices that pass through the packet are determined as the transmission path of the data packet.
采用上述进一步方案的有益效果是:控制器将传输所述测试数据包时经过的所有物联网设备确定为所述数据包的传输路径能够直观查看数据包的所有传输路径,可以方便用户从传输路径中选择最优的传输路径,并在数据包的传输过程出现差错时,降低定位分析的难度。The advantage of using the above further solution is that the controller determines all the IoT devices that pass through when the test data packet is transmitted as the transmission path of the data packet, and can visually view all the transmission paths of the data packet, which can facilitate the user from the transmission path. Select the optimal transmission path and reduce the difficulty of positioning analysis when there is an error in the transmission process of the data packet.
进一步地,每个所述第一反馈信息携带所述测试数据包的下一跳物联网设备的ID信息。Further, each of the first feedback information carries ID information of a next hop IoT device of the test data packet.
采用上述进一步方案的有益效果是:控制器可以根据第一反馈信息携带的测试数据包的下一跳物联网设备的ID信息,以及接收该测试数据包的物联网设备的ID信息,确定数据包的传输路径,可以更方便的获知数据包在物联网中的传输路径。The advantage of using the above further solution is that the controller can determine the data packet according to the ID information of the next hop IoT device of the test data packet carried by the first feedback information, and the ID information of the IoT device receiving the test data packet. The transmission path makes it easier to know the transmission path of the data packet in the Internet of Things.
本发明附加的方面的优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明实践了解到。The advantages of the additional aspects of the invention will be set forth in part in the description which follows.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根 据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention or the description of the prior art will be briefly described below. Obviously, the drawings described below are only the present invention. Some embodiments, for those skilled in the art, can also root without creative labor. Other figures are obtained from these figures.
图1为本发明一个实施例的确定物联网设备间的数据传输路径的方法的示意性信令交互图;1 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to an embodiment of the present invention;
图2为本发明另一个实施例的确定物联网设备间的数据传输路径的方法的示意性信令交互图;2 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention;
图3为本发明另一个实施例的确定物联网设备间的数据传输路径的方法的示意性信令交互图;3 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention;
图4为本发明另一个实施例的确定物联网设备间的数据传输路径的方法的示意性信令交互图;4 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention;
图5为本发明另一个实施例的确定物联网设备间的数据传输路径的方法的示意性信令交互图;FIG. 5 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention; FIG.
图6为本发明另一个实施例的确定物联网设备间的数据传输路径的方法的示意性信令交互图;6 is a schematic signaling interaction diagram of a method for determining a data transmission path between Internet of Things devices according to another embodiment of the present invention;
图7为本发明一个实施例的确定物联网设备间的数据传输路径的系统的示意性框架图。FIG. 7 is a schematic block diagram of a system for determining a data transmission path between Internet of Things devices according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
应理解,本发明实施例对控制器(Controller)形式不做具体限定,例如,控制器还可以为无线网络中的基站(Base Station)或无线网络控制器(Radio Network Controller,RNC)等。It should be understood that the embodiment of the present invention does not specifically limit the form of the controller. For example, the controller may also be a base station or a radio network controller (RNC) in a wireless network.
本发明实施例对物联网设备的形式也不做具体限定,但本发明实施例中的物联网设备具备转发数据包的功能,类似于路由器或交换机的转发功能。The embodiment of the present invention does not specifically limit the form of the Internet of Things device. However, the Internet of Things device in the embodiment of the present invention has the function of forwarding data packets, similar to the forwarding function of a router or a switch.
图1给出了本发明实施例提供的一种确定物联网设备间的数据传输路径的方法100的示意性信令交互图。如图1所示的方法100包括:FIG. 1 is a schematic signaling interaction diagram of a method 100 for determining a data transmission path between Internet of Things devices according to an embodiment of the present invention. The method 100 as shown in FIG. 1 includes:
110、控制器接收源物联网设备发送的数据包。其中,数据包携带目标物联网的ID信息。110. The controller receives the data packet sent by the source IoT device. The data packet carries the ID information of the target Internet of Things.
120、控制器在数据包中设置标签,得到测试数据包。 120. The controller sets a label in the data packet to obtain a test data packet.
其中,标签用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息。The tag is used to indicate that each IoT device that the test data packet passes sends the first feedback information to the controller.
应理解,本发明实施例对测试数据包携带标签的具体实现方式不作限定,例如,可以在数据包上设置标签(Label)标记,还可以使测试数据包携带的内容为不与其他数据业务冲突的特定内容,还可以使测试数据包使用不与其他数据业务冲突的端口进行传输。It should be understood that the specific implementation manner of the test data packet carrying the label is not limited in the embodiment of the present invention. For example, a label may be set on the data packet, and the content carried in the test data packet may not be in conflict with other data services. The specific content also allows test packets to be transmitted using ports that do not conflict with other data traffic.
130、控制器向多个物联网设备发送测试数据包。控制器可以向其无线通信范围内的所有物联网设备发送该测试数据包,本发明实施例对此不作任何限定。130. The controller sends a test data packet to multiple IoT devices. The controller can send the test data packet to all the IoT devices in the wireless communication range, which is not limited in this embodiment of the present invention.
140、控制器接收多个物联网设备中的至少一个物联网设备发送的至少一个第一反馈信息。140. The controller receives at least one first feedback information sent by at least one of the plurality of Internet of Things devices.
其中,每个第一反馈信息携带物联网设备的ID信息,用于指示物联网设备已收到测试数据包。Each of the first feedback information carries ID information of the Internet of Things device, and is used to indicate that the IoT device has received the test data packet.
应理解,在本发明实施例中,物联网设备向控制器发送的第一反馈信息的形式和/或内容可以是物联网设备与控制器预先设置的。It should be understood that, in the embodiment of the present invention, the form and/or content of the first feedback information sent by the Internet of Things device to the controller may be preset by the Internet of Things device and the controller.
150、控制器根据至少一个第一反馈信息,确定数据包的传输路径。150. The controller determines, according to the at least one first feedback information, a transmission path of the data packet.
其中,传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联网设备。The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target Internet of Things device.
应理解,在该实施例中,控制器可以根据接收到的第一反馈信息对应的物联网设备的ID信息,确定测试数据包的传输路径。由于该测试数据包是在数据包上设备标签生成的,所以,测试数据包的传输路径就是数据包的传输路径。It should be understood that, in this embodiment, the controller may determine the transmission path of the test data packet according to the ID information of the Internet of Things device corresponding to the received first feedback information. Since the test packet is generated on the device tag on the packet, the transmission path of the test packet is the transmission path of the packet.
具体的,在该实施例中,控制器在接收的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包,并向多个物联网设备发送该测试数据包,再根据接收到的至少一个物联网设备发送的携带物联网设备的ID信息,用于指示物联网设备已收到测试数据包的至少一个第一反馈信息确定数据包的传输路径。该传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联网设备。Specifically, in this embodiment, the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet. The plurality of IoT devices send the test data packet, and then according to the received ID information of the IoT device sent by the at least one IoT device, used to indicate that the IoT device has received at least one first feedback information of the test data packet. Determine the transmission path of the packet. The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
上述实施例中的确定物联网设备间的数据传输路径的方法,通过向多个物联网设备发送携带标签的数据包,并从至少一个物联网设备接收用于指示已收到该数据包的第一反馈信息,能够根据该第一反馈信息确定该数据包的传输路径,使得能够直观查看数据包的传输路径,进而能够降低定位分析的难度。The method for determining a data transmission path between the Internet of Things devices in the above embodiment, by transmitting a data packet carrying the label to the plurality of Internet of Things devices, and receiving, from the at least one Internet of Things device, the indication that the data packet has been received The feedback information can determine the transmission path of the data packet according to the first feedback information, so that the transmission path of the data packet can be visually viewed, thereby reducing the difficulty of the positioning analysis.
具体的,在该实施例中,如图1所示,在步骤110之前,还可以包括: Specifically, in this embodiment, as shown in FIG. 1 , before step 110, the method may further include:
101、源物联网设备向控制器发送数据包,该数据包中携带有目标物联网设备的ID信息。根据目标物联网设备的ID信息可以确定该数据包传输的目的地,也就是说,测试数据包在确定的传输路径上的最后一跳物联网设备为该目标物联网设备。101. The source IoT device sends a data packet to the controller, where the data packet carries ID information of the target Internet of Things device. The destination of the data packet transmission can be determined according to the ID information of the target Internet of Things device, that is, the last hop IoT device of the test data packet on the determined transmission path is the target Internet of Things device.
另外,在该实施例中,如图1所示,在步骤140之前,还可以包括:In addition, in this embodiment, as shown in FIG. 1 , before step 140, the method may further include:
102、多个物联网设备中的至少一个物联网设备箱控制器发送第一反馈信息,每个第一反馈信息携带物联网设备的ID信息,用于指示物联网设备已收到测试数据包。102. The at least one IoT device box controller of the plurality of IoT devices sends the first feedback information, where each first feedback information carries ID information of the IoT device, and is used to indicate that the IoT device has received the test data packet.
也就是说,控制器向多个物联网设备分别发送了测试数据包,但不是所有的物联网设备都能接收到,只有接收到的测试数据包的那部分物联网设备会向控制器发送携带物联网设备的ID信息的第一反馈信息。That is to say, the controller sends test data packets to multiple IoT devices, but not all IoT devices can receive them. Only the part of the IoT devices that receive the test data packets will be sent to the controller. The first feedback information of the ID information of the Internet of Things device.
可选地,作为本发明的一个实施例,如图2所示,方法200包括:Optionally, as an embodiment of the present invention, as shown in FIG. 2, the method 200 includes:
210、控制器接收源物联网设备发送的携带目标物联网的ID信息的数据包。210. The controller receives a data packet that is sent by the source IoT device and carries ID information of the target Internet of Things.
220、控制器在接收到的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包。220. The controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
230、控制器向多个物联网设备发送步骤120中得到的测试数据包。230. The controller sends the test data packet obtained in step 120 to the plurality of Internet of Things devices.
240、控制器接收多个物联网设备中的至少一个物联网设备发送的携带物联网设备的ID信息,且指示物联网设备已收到测试数据包的至少一个第一反馈信息。240. The controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
250、控制器根据至少一个第一反馈信息,确定数据包的传输路径。该传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联网设备。250. The controller determines, according to the at least one first feedback information, a transmission path of the data packet. The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
260、控制器接收源物联网设备发送的数据流表。该数据流表中规定了数据包传输过程中的匹配规则。则,控制器在接收到的数据包中设置的标签需要满足数据流表中的匹配规则。260. The controller receives a data flow table sent by the source IoT device. The matching rules in the data packet transmission process are specified in the data flow table. Then, the label set by the controller in the received data packet needs to satisfy the matching rule in the data flow table.
270、控制器分别向至少一个物联网设备发送数据流表。270. The controller separately sends a data flow table to the at least one IoT device.
280、控制器根据传输路径判断数据流表是否正确。280. The controller determines, according to the transmission path, whether the data flow table is correct.
285、控制器将判断结果发送给源物联网设备。285. The controller sends the determination result to the source IoT device.
具体的,在该实施例中,控制器在接收的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包,并向多个物联网设备发送该测试数据包,再根据接收到的至少一个物联网设备发送的携带物联网设备的ID信息,用于指示物联网设备已收到测试数据包的至少一个第一反馈信息确定数据包的传输路径。控制器将接收到的数据流表发送给传输路径包括的至少一个物联网设备,根据该传输路径判断数据流表是否正确,并将判断结果发送给源物联网设备。 Specifically, in this embodiment, the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet. The plurality of IoT devices send the test data packet, and then according to the received ID information of the IoT device sent by the at least one IoT device, used to indicate that the IoT device has received at least one first feedback information of the test data packet. Determine the transmission path of the packet. The controller sends the received data flow table to at least one IoT device included in the transmission path, determines whether the data flow table is correct according to the transmission path, and sends the determination result to the source IoT device.
上述实施例中的确定物联网设备间的数据传输路径的方法,通过使用控制器生成携带标签的测试数据包,下发给物联网设备,各物联网设备根据数据流表转发该测试数据包,并向控制器发送用于指示收到该测试数据包的第一反馈信息,使得控制器能够描绘测试数据包在物联网中的传输路径图,能够直观查看数据包的整个传输路径,进而能够降低定位分析的难度。The method for determining a data transmission path between the Internet of Things devices in the above embodiment is to generate a test data packet carrying the label by using the controller, and send the test data packet to the Internet of Things device, and the IoT devices forward the test data packet according to the data flow table. And sending, to the controller, first feedback information indicating that the test data packet is received, so that the controller can describe the transmission path map of the test data packet in the Internet of Things, and can visually view the entire transmission path of the data packet, thereby reducing the The difficulty of positioning analysis.
同时,通过根据传输路径判断规定了数据包传输过程中的匹配规则的数据流表是否正确,并将判断结果发送给源物联网设备,这样可以方便源物联网设备获知下发的数据流表是否与数据包的实际传输路径相匹配,以采取相应的措施,更好的确保数据包的传输。At the same time, by determining whether the data flow table of the matching rule in the data packet transmission process is correct according to the transmission path, and transmitting the determination result to the source IoT device, it is convenient for the source IoT device to know whether the delivered data flow table is Match the actual transmission path of the packet to take appropriate measures to better ensure the transmission of the data packet.
具体的,在该实施例中,如图2所示,在步骤260之前,还可以包括:Specifically, in this embodiment, as shown in FIG. 2, before step 260, the method may further include:
103、源物联网设备向控制器发送的数据流表。该数据流表中规定了数据包传输过程中的匹配规则,方便控制器在数据包中设置标签。103. A data flow table sent by the source IoT device to the controller. The data flow table specifies the matching rules in the data packet transmission process, which is convenient for the controller to set the label in the data packet.
可选地,作为本发明的另一个实施例,如图3所示,方法300包括:Optionally, as another embodiment of the present invention, as shown in FIG. 3, the method 300 includes:
310、控制器接收源物联网设备发送的携带目标物联网的ID信息的数据包。310. The controller receives the data packet that is sent by the source IoT device and carries the ID information of the target Internet of Things.
320、控制器在接收到的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包。320. The controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
330、控制器向多个物联网设备发送步骤220中得到的测试数据包。330. The controller sends the test data packet obtained in step 220 to the plurality of Internet of Things devices.
340、控制器接收多个物联网设备中的至少一个物联网设备发送的携带物联网设备的ID信息,且指示物联网设备已收到测试数据包的至少一个第一反馈信息。340. The controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
350、控制器根据至少一个第一反馈信息,确定数据包的传输路径。该传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联网设备。350. The controller determines, according to the at least one first feedback information, a transmission path of the data packet. The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
360、控制器接收源物联网设备发送的数据流表。该数据流表中规定了数据包传输过程中的匹配规则。则,控制器在接收到的数据包中设置的标签需要满足数据流表中的匹配规则。360. The controller receives the data flow table sent by the source IoT device. The matching rules in the data packet transmission process are specified in the data flow table. Then, the label set by the controller in the received data packet needs to satisfy the matching rule in the data flow table.
370、控制器分别向至少一个物联网设备发送数据流表。370. The controller sends a data flow table to at least one IoT device.
390、控制器分别接收至少一个物联网设备发送的至少一个第二反馈信息。390. The controller receives at least one second feedback information that is sent by at least one IoT device.
其中,每个第二反馈信息携带已收到的测试数据包与数据流表是否匹配的匹配结果。Each second feedback information carries a matching result of whether the received test data packet matches the data flow table.
380、控制器根据至少一个第二反馈信息携带的至少一个匹配结果,判断数据流表是否正确。380. The controller determines, according to the at least one matching result carried by the at least one second feedback information, whether the data flow table is correct.
385、控制器将判断结果发送给源物联网设备。 385. The controller sends the judgment result to the source IoT device.
具体的,在该实施例中,控制器在接收的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包,并向多个物联网设备发送该测试数据包,再根据接收到的至少一个物联网设备发送的携带物联网设备的ID信息,用于指示物联网设备已收到测试数据包的至少一个第一反馈信息确定数据包的传输路径。Specifically, in this embodiment, the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet. The plurality of IoT devices send the test data packet, and then according to the received ID information of the IoT device sent by the at least one IoT device, used to indicate that the IoT device has received at least one first feedback information of the test data packet. Determine the transmission path of the packet.
控制器将接收到的数据流表发送给传输路径包括的至少一个物联网设备,根据该传输路径包括的接收至少一个物联网设备发送的,携带已收到的测试数据包与数据流表是否匹配的匹配结果的至少一个第二反馈信息,判断数据流表是否正确,并将判断结果发送给源物联网设备。The controller sends the received data flow table to the at least one Internet of Things device included in the transmission path, and according to the transmission path, the received test packet and the data flow table are matched by the at least one IoT device. The at least one second feedback information of the matching result determines whether the data flow table is correct, and sends the determination result to the source IoT device.
上述实施例中的确定物联网设备间的数据传输路径的方法,通过使用控制器生成携带标签的测试数据包,下发给物联网设备,各物联网设备根据数据流表转发该测试数据包,并向控制器发送用于指示收到该测试数据包的第一反馈信息,使得控制器能够描绘测试数据包在物联网中的传输路径图,能够直观查看数据包的整个传输路径,进而能够降低定位分析的难度。同时,还可以根据该传输路径包括的接收至少一个物联网设备发送的,携带已收到的测试数据包与数据流表是否匹配的匹配结果的至少一个第二反馈信息,判断数据流表是否正确。The method for determining a data transmission path between the Internet of Things devices in the above embodiment is to generate a test data packet carrying the label by using the controller, and send the test data packet to the Internet of Things device, and the IoT devices forward the test data packet according to the data flow table. And sending, to the controller, first feedback information indicating that the test data packet is received, so that the controller can describe the transmission path map of the test data packet in the Internet of Things, and can visually view the entire transmission path of the data packet, thereby reducing the The difficulty of positioning analysis. At the same time, the data flow table may be determined according to the at least one second feedback information that is received by the at least one IoT device and that carries the matching result between the received test data packet and the data flow table. .
同时,通过携带了已收到的测试数据包与数据流表是否匹配的匹配结果的至少一个第二反馈信息,来判断规定了数据包传输过程中的匹配规则的数据流表是否正确,并将判断结果发送给源物联网设备,这样可以实时的获取源物联网设备下发的数据流表是否与数据包的实际传输路径相匹配,一旦有偏差,可以及时调整数据流表,更好的确保数据包的传输。At the same time, by using at least one second feedback information that matches the matching result of the received test data packet and the data flow table, it is determined whether the data flow table that specifies the matching rule in the data packet transmission process is correct, and The judgment result is sent to the source IoT device, so that the data flow table sent by the source IoT device can be obtained in real time to match the actual transmission path of the data packet. Once there is a deviation, the data flow table can be adjusted in time to better ensure The transmission of data packets.
可选地,作为本发明的另一个实施例,如图4所示,方法400可以包括:Optionally, as another embodiment of the present invention, as shown in FIG. 4, the method 400 may include:
410、控制器接收源物联网设备发送的携带目标物联网的ID信息的数据包。410. The controller receives the data packet that is sent by the source IoT device and carries the ID information of the target Internet of Things.
420、控制器在接收到的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包。420. The controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
430、控制器向多个物联网设备发送步骤420中得到的测试数据包。430. The controller sends the test data packet obtained in step 420 to the plurality of Internet of Things devices.
440、控制器接收多个物联网设备中的至少一个物联网设备发送的携带物联网设备的ID信息,且指示物联网设备已收到测试数据包的至少一个第一反馈信息。440. The controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
450、控制器根据接收到至少一个第一反馈信息的时间顺序,确定数据包的传输路径。该传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联 网设备。450. The controller determines a transmission path of the data packet according to a time sequence in which the at least one first feedback information is received. The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is a target object Network equipment.
应理解,在该实施例中,控制器可以根据接收到第一反馈信息的时间顺序以及第一反馈信息对应的物联网设备的ID信息,确定数据包的传输路径。It should be understood that, in this embodiment, the controller may determine the transmission path of the data packet according to the chronological order of receiving the first feedback information and the ID information of the Internet of Things device corresponding to the first feedback information.
具体的,在该实施例中,控制器在接收的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包,并向多个物联网设备发送该测试数据包,再根据接收到的至少一个物联网设备发送的携带物联网设备的ID信息,用于指示物联网设备已收到测试数据包的至少一个第一反馈信息的时间顺序,来确定数据包的传输路径。该传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联网设备。Specifically, in this embodiment, the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet. The plurality of IoT devices send the test data packet, and then according to the received ID information of the IoT device sent by the at least one IoT device, used to indicate that the IoT device has received at least one first feedback information of the test data packet. The chronological order to determine the transmission path of the packet. The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
上述实施例中的确定物联网设备间的数据传输路径的方法,控制器在收到第一反馈信息的同时能够获知发送该第一反馈信息的物联网设备的ID信息,控制器根据接收到反馈信息的时间顺序以及反馈信息对应的物联网设备的ID信息,就能够更加准确的确定该测试数据包在整个物联网中的传输路径,由于该测试数据包是在数据包上设备标签生成的,所以,测试数据包的传输路径就是数据包的传输路径。In the method for determining a data transmission path between the Internet of Things devices in the above embodiment, the controller can obtain the ID information of the IoT device that sends the first feedback information while receiving the first feedback information, and the controller receives the feedback according to the feedback. The time sequence of the information and the ID information of the IoT device corresponding to the feedback information can more accurately determine the transmission path of the test data packet in the entire Internet of Things. Since the test data packet is generated on the device label on the data packet, Therefore, the transmission path of the test packet is the transmission path of the packet.
需要说明的是,在该实施例中,如图4所示,方法400还可以包括:It should be noted that, in this embodiment, as shown in FIG. 4, the method 400 may further include:
460、控制器接收源物联网设备发送的数据流表。460. The controller receives a data flow table sent by the source IoT device.
470、控制器分别向至少一个物联网设备发送数据流表。470. The controller separately sends a data flow table to the at least one IoT device.
490、控制器分别接收至少一个物联网设备发送的携带已收到的测试数据包与数据流表是否匹配的匹配结果的至少一个第二反馈信息。490. The controller separately receives at least one second feedback information that is sent by at least one IoT device and that carries a matching result that the received test data packet matches the data flow table.
480、控制器根据至少一个第二反馈信息携带的至少一个匹配结果,判断数据流表是否正确。480. The controller determines, according to the at least one matching result carried by the at least one second feedback information, whether the data flow table is correct.
485、控制器将判断结果发送给源物联网设备。485. The controller sends the judgment result to the source IoT device.
需要说明的是,上述步骤460-485与图3所示的方法300中的步骤360-385类似,为了描述的简洁,在此不再赘述。It should be noted that the above steps 460-485 are similar to the steps 360-385 in the method 300 shown in FIG. 3, and are not described herein again for brevity of description.
可选地,作为本发明的另一个实施例,每个第一反馈信息包括物联网设备收到测试数据包的时间信息,如图5所示,方法500可以包括:Optionally, as another embodiment of the present invention, each first feedback information includes time information that the IoT device receives the test data packet. As shown in FIG. 5, the method 500 may include:
510、控制器接收源物联网设备发送的携带目标物联网的ID信息的数据包。510. The controller receives a data packet that is sent by the source IoT device and carries ID information of the target Internet of Things.
520、控制器在接收到的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包。520. The controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
530、控制器向多个物联网设备发送步骤520中得到的测试数据包。 530. The controller sends the test data packet obtained in step 520 to the plurality of Internet of Things devices.
540、控制器接收多个物联网设备中的至少一个物联网设备发送的携带物联网设备的ID信息,且指示物联网设备已收到测试数据包的至少一个第一反馈信息。540. The controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
550、控制器根据第一反馈信息包括物联网设备收到测试数据包的时间信息,确定数据包的传输路径。该传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联网设备。550. The controller determines, according to the first feedback information, time information that the IoT device receives the test data packet, and determines a transmission path of the data packet. The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
具体的,在该实施例中,控制器在接收的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包,并向多个物联网设备发送该测试数据包,再根据至少一个物联网设备发送的携带物联网设备的ID信息,用于指示物联网设备已收到测试数据包的至少一个第一反馈信息所包括的,物联网设备收到测试数据包的时间信息来确定数据包的传输路径。该传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联网设备。Specifically, in this embodiment, the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet. Transmitting, by the plurality of IoT devices, the test data packet, according to the ID information of the IoT device that is sent by the at least one IoT device, for indicating that the IoT device has received the at least one first feedback information of the test data packet. The IoT device receives the time information of the test packet to determine the transmission path of the packet. The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
一般而言,控制器收到各个物联网设备的第一反馈信息的时间顺序与该测试数据包经过各个转发节点的顺序是一致的。但是由于各个物联网设备从收到该测试数据包到发送的第一反馈信息到达控制器所需要的时间长度可能不同,有可能存在以下情况:物联网设备2收到物联网设备1发送的测试数据包之后,向控制器发送反馈信息1,同时将该测试数据包转发至物联网设备3;物联网设备3收到该测试数据包之后向控制器发送反馈信息2。由于物联网设备2与控制器之间的通信环境比较恶劣,传输时延较大,使得控制器在收到了反馈信息2之后才收到反馈信息1,此时控制器收到的反馈信息的时间顺序与该测试数据包经过物联网设备的顺序是不一致的。Generally, the time sequence in which the controller receives the first feedback information of each IoT device is consistent with the order in which the test data packet passes through each forwarding node. However, since the length of time required by each IoT device to receive the first feedback information from the test packet to the controller may be different, there may be a case where the IoT device 2 receives the test sent by the IoT device 1. After the data packet, the feedback information 1 is sent to the controller, and the test data packet is forwarded to the Internet of Things device 3; the IoT device 3 sends the feedback information 2 to the controller after receiving the test data packet. Due to the poor communication environment between the IoT device 2 and the controller, the transmission delay is large, so that the controller receives the feedback information 1 after receiving the feedback information 2, and the time when the controller receives the feedback information. The order is inconsistent with the order in which the test packets pass through the IoT device.
上述实施例中的确定物联网设备间的数据传输路径的方法,控制器根据物联网设备收到测试数据包的时间信息确定测试数据包的传输路径,以确定数据包在整个物联网中的的传输路径,从而能够避免上述可能存在的问题。In the above method for determining a data transmission path between the Internet of Things devices, the controller determines the transmission path of the test data packet according to the time information of the IoT device receiving the test data packet to determine the data packet in the entire Internet of Things. The transmission path can avoid the above possible problems.
需要说明的是,在该实施例中,如图5所示,方法500还可以包括:It should be noted that, in this embodiment, as shown in FIG. 5, the method 500 may further include:
560、控制器接收源物联网设备发送的数据流表。560. The controller receives a data flow table sent by the source IoT device.
570、控制器分别向至少一个物联网设备发送数据流表。570. The controller sends a data flow table to at least one IoT device.
590、控制器分别接收至少一个物联网设备发送的携带已收到的测试数据包与数据流表是否匹配的匹配结果的至少一个第二反馈信息。590. The controller respectively receives at least one second feedback information that is sent by at least one IoT device and that carries a matching result that the received test data packet matches the data flow table.
580、控制器根据至少一个第二反馈信息携带的至少一个匹配结果,判断数据流表是否正确。580. The controller determines, according to the at least one matching result carried by the at least one second feedback information, whether the data flow table is correct.
585、控制器将判断结果发送给源物联网设备。 585. The controller sends the determination result to the source IoT device.
需要说明的是,上述步骤560-585与图3所示的方法300中的步骤360-385类似,为了描述的简洁,在此不再赘述。It should be noted that the above steps 560-585 are similar to the steps 360-385 in the method 300 shown in FIG. 3, and are not described herein again for brevity of description.
可选地,作为本发明的另一个实施例,如图6所示,方法600可以包括:Optionally, as another embodiment of the present invention, as shown in FIG. 6, the method 600 may include:
610、控制器接收源物联网设备发送的携带目标物联网的ID信息的数据包。610. The controller receives the data packet that is sent by the source IoT device and carries the ID information of the target Internet of Things.
620、控制器在接收到的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包。620. The controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, to obtain a test data packet.
630、控制器向多个物联网设备发送步骤620中得到的测试数据包。630. The controller sends the test data packet obtained in step 620 to the plurality of Internet of Things devices.
640、控制器接收多个物联网设备中的至少一个物联网设备发送的携带物联网设备的ID信息,且指示物联网设备已收到测试数据包的至少一个第一反馈信息。640. The controller receives ID information of the IoT device that is sent by the at least one IoT device of the plurality of IoT devices, and indicates that the IoT device has received the at least one first feedback information of the test data packet.
650、控制器根据至少一个第一反馈信息中的携带的物联网设备的ID信息,和目标物联网设备的ID信息,将传输测试数据包时经过的所有物联网设备确定为数据包的传输路径。650. The controller determines, according to the ID information of the IoT device carried in the at least one first feedback information, and the ID information of the target Internet of Things device, all the IoT devices that pass through the test data packet are determined as the transmission path of the data packet. .
具体的,在该实施例中,控制器在接收的数据包中设置用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息的标签,得到测试数据包,并向多个物联网设备发送该测试数据包,再根据接收到的至少一个物联网设备发送的携带的物联网设备的ID信息和目标物联网设备的ID信息确定数据包的传输路径。测试数据包在该传输路径上的最后一跳物联网设备为该目标物联网设备,能够直观查看数据包的所有传输路径,可以方便用户从传输路径中选择最优的传输路径,并在数据包的传输过程出现差错时,降低定位分析的难度。Specifically, in this embodiment, the controller sets, in the received data packet, a label for indicating that each IoT device that the test data packet passes to send the first feedback information to the controller, obtains a test data packet, and obtains a test data packet. The plurality of IoT devices send the test data packet, and then determine the transmission path of the data packet according to the received ID information of the IoT device and the ID information of the target Internet of Things device sent by the at least one IoT device. The last hop IoT device of the test data packet on the transmission path is the target IoT device, which can visually view all the transmission paths of the data packet, and can conveniently select the optimal transmission path from the transmission path, and in the data packet. When the transmission process is in error, the difficulty of positioning analysis is reduced.
需要说明的是,在该实施例中,如图6所示,方法600还可以包括:如图6所示,方法600还可以包括:It should be noted that, in this embodiment, as shown in FIG. 6, the method 600 may further include: as shown in FIG. 6, the method 600 may further include:
660、控制器接收源物联网设备发送的数据流表。660. The controller receives a data flow table sent by the source IoT device.
670、控制器分别向至少一个物联网设备发送数据流表。670. The controller sends a data flow table to at least one IoT device.
690、控制器分别接收至少一个物联网设备发送的携带已收到的测试数据包与数据流表是否匹配的匹配结果的至少一个第二反馈信息。690. The controller separately receives at least one second feedback information that is sent by at least one IoT device and that carries a matching result that the received test data packet matches the data flow table.
680、控制器根据至少一个第二反馈信息携带的至少一个匹配结果,判断数据流表是否正确。680. The controller determines, according to the at least one matching result carried by the at least one second feedback information, whether the data flow table is correct.
685、控制器将判断结果发送给源物联网设备。685. The controller sends the determination result to the source IoT device.
需要说明的是,上述步骤660-685与图3所示的方法300中的步骤360-385类似,为了描述的简洁,在此不再赘述。 It should be noted that the foregoing steps 660-685 are similar to the steps 360-385 in the method 300 shown in FIG. 3, and are not described herein again for brevity of description.
应理解,在本发明各实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in the embodiments of the present invention, the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic, and should not be implemented in the embodiments of the present invention. The process constitutes any limitation.
可选地,作为本发明的另一个实施例,每个第一反馈信息还可以携带测试数据包的下一跳物联网设备的ID信息。控制器可以根据第一反馈信息携带的测试数据包的下一跳物联网设备的ID信息,以及接收该测试数据包的物联网设备的ID信息,确定数据包的传输路径,可以更方便的获知数据包在物联网中的传输路径。Optionally, as another embodiment of the present invention, each first feedback information may further carry ID information of a next hop IoT device of the test data packet. The controller may determine the transmission path of the data packet according to the ID information of the next hop IoT device of the test data packet carried by the first feedback information, and the ID information of the IoT device that receives the test data packet, so that the data packet can be more conveniently learned. The transmission path of the packet in the Internet of Things.
上文结合图1至图6详细描述了本发明提供的确定物联网设备间的数据传输路径的方法,下面结合图7对本发明提供的确定物联网设备间的数据传输路径的系统进行详细的描述。The method for determining a data transmission path between the Internet of Things devices provided by the present invention is described in detail above with reference to FIG. 1 to FIG. 6. The system for determining the data transmission path between the Internet of Things devices provided by the present invention is described in detail below with reference to FIG. .
图7给出了本发明实施例提供的一种确定物联网设备间的数据传输路径的系统700的示意性框架图。如图7所示,系统700包括:源物联网设备710、多个物联网设备730和控制器720。其中,FIG. 7 is a schematic block diagram of a system 700 for determining a data transmission path between Internet of Things devices according to an embodiment of the present invention. As shown in FIG. 7, system 700 includes a source IoT device 710, a plurality of IoT devices 730, and a controller 720. among them,
源物联网设备710用于向控制器720发送数据包。其中,数据包携带目标物联网的ID信息。The source Internet of Things device 710 is configured to send a data packet to the controller 720. The data packet carries the ID information of the target Internet of Things.
控制器720用于接收源物联网设备710发送的数据包,并在数据包中设置标签,得到测试数据包,向多个物联网设备730发送测试数据包,并接收多个物联网设备730中的至少一个物联网设备发送的至少一个第一反馈信息,且根据至少一个第一反馈信息,确定数据包的传输路径。The controller 720 is configured to receive the data packet sent by the source IoT device 710, set a label in the data packet, obtain a test data packet, send the test data packet to the plurality of IoT devices 730, and receive the plurality of IoT devices 730. At least one first feedback information sent by the at least one IoT device, and determining a transmission path of the data packet according to the at least one first feedback information.
其中,标签用于指示测试数据包所经过的每个物联网设备向控制器发送第一反馈信息。每个第一反馈信息携带物联网设备的ID信息,且用于指示物联网设备已收到测试数据包。该传输路径包括至少一个物联网设备,且测试数据包的最后一跳物联网设备为目标物联网设备。The tag is used to indicate that each IoT device that the test data packet passes sends the first feedback information to the controller. Each first feedback information carries ID information of the Internet of Things device and is used to indicate that the IoT device has received the test data packet. The transmission path includes at least one IoT device, and the last hop IoT device of the test data packet is the target IoT device.
上述实施例中的确定物联网设备间的数据传输路径的系统,控制器通过向多个物联网设备发送携带标签的数据包,并从至少一个物联网设备接收用于指示已收到该数据包的第一反馈信息,能够根据该第一反馈信息确定该数据包的传输路径,使得能够直观查看数据包的传输路径,进而能够降低定位分析的难度。In the above embodiment, the system for determining a data transmission path between the Internet of Things devices, the controller transmitting the data packet carrying the label to the plurality of Internet of Things devices, and receiving from the at least one Internet of Things device, indicating that the data packet has been received The first feedback information can determine the transmission path of the data packet according to the first feedback information, so that the transmission path of the data packet can be visually viewed, thereby reducing the difficulty of the positioning analysis.
应理解,在本发明实施例中,根据本发明实施例的确定物联网设备间的数据传输路径的系统700,可对应于根据本发明实施例的确定物联网设备间的数据传输路径的方法的执行主体,并且该系统700中的各个设备器件的上述和其它操作和/或功能分别为了实现 图1至图6中的各个方法的相应流程,为了简洁,在此不再赘述。It should be understood that, in the embodiment of the present invention, the system 700 for determining the data transmission path between the Internet of Things devices according to the embodiment of the present invention may correspond to the method for determining the data transmission path between the Internet of Things devices according to an embodiment of the present invention. Executing the subject, and the above and other operations and/or functions of the various device devices in the system 700 are implemented separately The corresponding processes of the respective methods in FIG. 1 to FIG. 6 are not described herein again for the sake of brevity.
可选地,作为本发明的一个实施例,控制器720还用于接收源物联网设备210发送的数据流表,并分别向至少一个物联网设备发送数据流表,根据传输路径判断数据流表是否正确,并将判断结果发送给源物联网设备。Optionally, as an embodiment of the present invention, the controller 720 is further configured to receive a data flow table sent by the source Internet of Things device 210, and send a data flow table to the at least one Internet of Things device, respectively, and determine the data flow table according to the transmission path. Is it correct and sends the judgment result to the source IoT device.
上述实施例中的确定物联网设备间的数据传输路径的系统,通过控制器生成携带标签的测试数据包,下发给物联网设备,各物联网设备根据数据流表转发该测试数据包,并向控制器发送用于指示收到该测试数据包的第一反馈信息,使得控制器能够描绘测试数据包在物联网中的传输路径图,能够直观查看数据包的整个传输路径,进而能够降低定位分析的难度。The system for determining the data transmission path between the Internet of Things devices in the above embodiment, the controller generates a test data packet carrying the label, and sends the test data packet to the Internet of Things device, and each IoT device forwards the test data packet according to the data flow table, and Sending, to the controller, first feedback information indicating that the test data packet is received, so that the controller can depict a transmission path map of the test data packet in the Internet of Things, and can visually view the entire transmission path of the data packet, thereby reducing positioning The difficulty of the analysis.
可选地,作为本发明的另一个实施例,控制器720还用于分别接收至少一个物联网设备730发送的至少一个第二反馈信息。其中,每个第一反馈信息携带已收到的测试数据包与数据流表是否匹配的匹配结果。Optionally, as another embodiment of the present invention, the controller 720 is further configured to receive at least one second feedback information sent by the at least one IoT device 730, respectively. Each of the first feedback information carries a matching result that the received test data packet matches the data flow table.
控制器720还用于根据至少一个第二反馈信息携带的至少一个匹配结果,判断数据流表是否正确。The controller 720 is further configured to determine whether the data flow table is correct according to the at least one matching result carried by the at least one second feedback information.
上述实施例中的确定物联网设备间的数据传输路径的系统,通过控制器生成携带标签的测试数据包,下发给物联网设备,各物联网设备根据数据流表转发该测试数据包,并向控制器发送用于指示收到该测试数据包的第一反馈信息,使得控制器能够描绘测试数据包在物联网中的传输路径图,能够直观查看数据包的整个传输路径,进而能够降低定位分析的难度。同时,还可以根据该传输路径包括的接收至少一个物联网设备发送的,携带已收到的测试数据包与数据流表是否匹配的匹配结果的至少一个第二反馈信息,判断数据流表是否正确。The system for determining the data transmission path between the Internet of Things devices in the above embodiment, the controller generates a test data packet carrying the label, and sends the test data packet to the Internet of Things device, and each IoT device forwards the test data packet according to the data flow table, and Sending, to the controller, first feedback information indicating that the test data packet is received, so that the controller can depict a transmission path map of the test data packet in the Internet of Things, and can visually view the entire transmission path of the data packet, thereby reducing positioning The difficulty of the analysis. At the same time, the data flow table may be determined according to the at least one second feedback information that is received by the at least one IoT device and that carries the matching result between the received test data packet and the data flow table. .
可选地,作为本发明的另一个实施例,控制器720具体用于根据接收到至少一个第一反馈信息的时间顺序,确定数据包的传输路径。Optionally, as another embodiment of the present invention, the controller 720 is specifically configured to determine a transmission path of the data packet according to a time sequence in which the at least one first feedback information is received.
上述实施例中的确定物联网设备间的数据传输路径的系统,控制器在收到第一反馈信息的同时能够获知发送该第一反馈信息的物联网设备的ID信息,控制器根据接收到反馈信息的时间顺序以及反馈信息对应的物联网设备的ID信息,就能够更加准确的确定该测试数据包在整个物联网中的传输路径,由于该测试数据包是在数据包上设备标签生成的,所以,测试数据包的传输路径就是数据包的传输路径。In the system for determining a data transmission path between the Internet of Things devices in the above embodiment, the controller can obtain the ID information of the IoT device that sends the first feedback information while receiving the first feedback information, and the controller receives the feedback according to the feedback. The time sequence of the information and the ID information of the IoT device corresponding to the feedback information can more accurately determine the transmission path of the test data packet in the entire Internet of Things. Since the test data packet is generated on the device label on the data packet, Therefore, the transmission path of the test packet is the transmission path of the packet.
一般而言,控制器收到各个物联网设备的第一反馈信息的时间顺序与该测试数据包经过各个转发节点的顺序是一致的。但是由于各个物联网设备从收到该测试数据包到发 送的第一反馈信息到达控制器所需要的时间长度可能不同,有可能存在以下情况:物联网设备2收到物联网设备1发送的测试数据包之后,向控制器发送反馈信息1,同时将该测试数据包转发至物联网设备3;物联网设备3收到该测试数据包之后向控制器发送反馈信息2。由于物联网设备2与控制器之间的通信环境比较恶劣,传输时延较大,使得控制器在收到了反馈信息2之后才收到反馈信息1,此时控制器收到的反馈信息的时间顺序与该测试数据包经过物联网设备的顺序是不一致的。Generally, the time sequence in which the controller receives the first feedback information of each IoT device is consistent with the order in which the test data packet passes through each forwarding node. But since each IoT device receives the test packet from the delivery The length of time required for the first feedback information to arrive at the controller may be different. It may be that the IoT device 2 sends the feedback information 1 to the controller after receiving the test data packet sent by the IoT device 1 and simultaneously The test data packet is forwarded to the Internet of Things device 3; the IoT device 3 sends the feedback information 2 to the controller after receiving the test data packet. Due to the poor communication environment between the IoT device 2 and the controller, the transmission delay is large, so that the controller receives the feedback information 1 after receiving the feedback information 2, and the time when the controller receives the feedback information. The order is inconsistent with the order in which the test packets pass through the IoT device.
可选地,作为本发明的另一个实施例,每个第一反馈信息包括物联网设备收到测试数据包的时间信息,控制器720具体用于根据该时间信息,确定数据包的传输路径。Optionally, as another embodiment of the present invention, each first feedback information includes time information that the IoT device receives the test data packet, and the controller 720 is specifically configured to determine a transmission path of the data packet according to the time information.
上述实施例中的确定物联网设备间的数据传输路径的系统,控制器根据物联网设备收到测试数据包的时间信息确定测试数据包的传输路径,以确定数据包在整个物联网中的的传输路径,从而能够避免上述可能存在的问题。In the above embodiment, the system for determining the data transmission path between the Internet of Things devices, the controller determines the transmission path of the test data packet according to the time information of the IoT device receiving the test data packet, to determine the data packet in the entire Internet of Things. The transmission path can avoid the above possible problems.
可选地,作为本发明的另一个实施例,所述控制器720具体用于根据至少一个第一反馈信息中的携带的物联网设备的ID信息,和目标物联网设备的ID信息,将传输测试数据包时经过的所有物联网设备确定为数据包的传输路径,能够直观查看数据包的所有传输路径,可以方便用户从传输路径中选择最优的传输路径,并在数据包的传输过程出现差错时,降低定位分析的难度。Optionally, as another embodiment of the present invention, the controller 720 is specifically configured to transmit according to the ID information of the IoT device carried in the at least one first feedback information and the ID information of the target Internet of Things device. All IoT devices that pass through the test packet are determined as the transmission path of the data packet, which can visually view all the transmission paths of the data packet, and can facilitate the user to select an optimal transmission path from the transmission path and appear in the transmission process of the data packet. When it is wrong, it is difficult to reduce the positioning analysis.
可选地,作为本发明的另一个实施例,每个第一反馈信息携带测试数据包的下一跳物联网设备的ID信息。控制器720可以根据第一反馈信息携带的测试数据包的下一跳物联网设备的ID信息,以及接收该测试数据包的物联网设备的ID信息,确定数据包的传输路径,可以更方便的获知数据包在物联网中的传输路径。Optionally, as another embodiment of the present invention, each first feedback information carries ID information of a next hop IoT device of the test data packet. The controller 720 can determine the transmission path of the data packet according to the ID information of the next hop IoT device of the test data packet carried by the first feedback information, and the ID information of the IoT device that receives the test data packet, which can be more convenient. Know the transmission path of the data packet in the Internet of Things.
另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist at the same time. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、 装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be apparent to those skilled in the art that, for the convenience and brevity of the description, the system described above, For a specific working process of the device and the unit, refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of cells is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机物联网设备(可以是个人计算机,服务器,或者网络物联网设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。An integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer IoT device (which may be a personal computer, server, or network IoT device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent modification or can be easily conceived by those skilled in the art within the technical scope of the present disclosure. Such modifications or substitutions are intended to be included within the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (10)

  1. 一种确定物联网设备间的数据传输路径的方法,其特征在于,包括:A method for determining a data transmission path between Internet of Things devices, comprising:
    控制器接收源物联网设备发送的数据包,其中,所述数据包携带目标物联网的ID信息;The controller receives the data packet sent by the source IoT device, where the data packet carries the ID information of the target Internet of Things;
    所述控制器在所述数据包中设置标签,得到测试数据包,其中,所述标签用于指示所述测试数据包所经过的每个物联网设备向所述控制器发送第一反馈信息;The controller sets a label in the data packet to obtain a test data packet, where the label is used to indicate that each IoT device that the test data packet passes sends the first feedback information to the controller;
    所述控制器向多个所述物联网设备发送所述测试数据包;The controller sends the test data packet to a plurality of the Internet of Things devices;
    所述控制器接收多个所述物联网设备中的至少一个所述物联网设备发送的至少一个所述第一反馈信息,其中,每个所述第一反馈信息携带所述物联网设备的ID信息,用于指示所述物联网设备已收到所述测试数据包;The controller receives at least one of the first feedback information sent by at least one of the plurality of Internet of Things devices, wherein each of the first feedback information carries an ID of the Internet of Things device Information, configured to indicate that the IoT device has received the test data packet;
    所述控制器根据至少一个所述第一反馈信息,确定所述数据包的传输路径,其中,所述传输路径包括至少一个所述物联网设备,且所述测试数据包的最后一跳物联网设备为所述目标物联网设备。Determining, by the controller, a transmission path of the data packet according to at least one of the first feedback information, where the transmission path includes at least one of the Internet of Things devices, and a last hop of the Internet of Things of the test data packet The device is the target IoT device.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    所述控制器接收所述源物联网设备发送的数据流表;The controller receives a data flow table sent by the source Internet of Things device;
    所述控制器分别向至少一个所述物联网设备发送所述数据流表;The controller separately sends the data flow table to at least one of the Internet of Things devices;
    所述控制器根据所述传输路径判断所述数据流表是否正确,并将判断结果发送给所述源物联网设备。The controller determines whether the data flow table is correct according to the transmission path, and sends the determination result to the source Internet of Things device.
  3. 根据权利要求2所述的方法,其特征在于,在所述控制器根据所述传输路径判断所述数据流表是否正确之前,所述方法还包括:The method according to claim 2, wherein before the controller determines whether the data flow table is correct according to the transmission path, the method further includes:
    所述控制器分别接收至少一个所述物联网设备发送的至少一个第二反馈信息,其中,每个所述第二反馈信息携带已收到的所述测试数据包与所述数据流表是否匹配的匹配结果;The controller respectively receives at least one second feedback information sent by the at least one IoT device, wherein each of the second feedback information carries whether the received test data packet matches the data flow table Match result
    其中,所述控制器根据所述传输路径判断所述数据流表是否正确,包括:The controller determines whether the data flow table is correct according to the transmission path, and includes:
    所述控制器根据所述至少一个第二反馈信息携带的至少一个匹配结果,判断所述数据流表是否正确。The controller determines whether the data flow table is correct according to at least one matching result carried by the at least one second feedback information.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述控制器根据所述至少一个第一反馈信息,确定所述数据包的传输路径,包括:The method according to any one of claims 1-3, wherein the controller determines a transmission path of the data packet according to the at least one first feedback information, including:
    所述控制器根据接收到所述至少一个第一反馈信息的时间顺序,确定所述数据包的 传输路径。Determining, by the controller, the data packet according to a time sequence in which the at least one first feedback information is received Transmission path.
  5. 根据权利要求1-3中任一项所述的方法,其特征在于,所述每个第一反馈信息包括所述物联网设备收到所述测试数据包的时间信息,所述控制器根据所述至少一个第一反馈信息,确定所述数据包的传输路径,包括:The method according to any one of claims 1 to 3, wherein each of the first feedback information includes time information that the IoT device receives the test data packet, and the controller according to the method Determining at least one first feedback information, determining a transmission path of the data packet, including:
    所述控制器根据所述时间信息,确定所述数据包的传输路径。The controller determines a transmission path of the data packet according to the time information.
  6. 一种确定物联网设备间的数据传输路径的系统,其特征在于,包括:源物联网设备、多个物联网设备和控制器,其中,A system for determining a data transmission path between an IoT device, comprising: a source IoT device, a plurality of IoT devices, and a controller, wherein
    所述源物联网设备,用于向所述控制器发送数据包,其中,所述数据包携带目标物联网的ID信息;The source Internet of Things device is configured to send a data packet to the controller, where the data packet carries ID information of a target Internet of Things;
    所述控制器,用于接收所述源物联网设备发送的所述数据包,并在所述数据包中设置标签,得到测试数据包,向多个所述物联网设备发送所述测试数据包,其中,所述标签用于指示所述测试数据包所经过的每个物联网设备向所述控制器发送第一反馈信息;The controller is configured to receive the data packet sent by the source Internet of Things device, set a label in the data packet, obtain a test data packet, and send the test data packet to multiple IoT devices. The tag is used to indicate that each IoT device that the test data packet passes sends the first feedback information to the controller;
    所述控制器,还用于接收多个所述物联网设备中的至少一个所述物联网设备发送的至少一个所述第一反馈信息,并根据至少一个所述第一反馈信息,确定所述数据包的传输路径,其中,每个所述第一反馈信息携带所述物联网设备的ID信息,且用于指示所述物联网设备已收到所述测试数据包,所述传输路径包括至少一个所述物联网设备,且所述测试数据包的最后一跳物联网设备为所述目标物联网设备。The controller is further configured to receive at least one of the first feedback information sent by at least one of the plurality of IoT devices, and determine the a transmission path of the data packet, wherein each of the first feedback information carries ID information of the IoT device, and is used to indicate that the IoT device has received the test data packet, where the transmission path includes at least One of the IoT devices, and the last hop IoT device of the test data packet is the target IoT device.
  7. 根据权利要求6所述的系统,其特征在于,所述控制器还用于,接收所述源物联网设备发送的数据流表,并分别向至少一个所述物联网设备发送所述数据流表,根据所述传输路径判断所述数据流表是否正确,并将判断结果发送给所述源物联网设备。The system according to claim 6, wherein the controller is further configured to receive a data flow table sent by the source Internet of Things device, and send the data flow table to at least one of the Internet of Things devices respectively. Determining, according to the transmission path, whether the data flow table is correct, and transmitting the determination result to the source Internet of Things device.
  8. 根据权利要求7所述的系统,其特征在于,所述控制器还用于,分别接收至少一个所述物联网设备发送的至少一个第二反馈信息,其中,每个所述第一反馈信息携带已收到的所述测试数据包与所述数据流表是否匹配的匹配结果,并根据所述至少一个第二反馈信息携带的至少一个匹配结果,判断所述数据流表是否正确。The system according to claim 7, wherein the controller is further configured to receive at least one second feedback information sent by at least one of the Internet of Things devices, wherein each of the first feedback information carries And determining whether the data flow table is correct according to the at least one matching result carried by the at least one second feedback information.
  9. 根据权利要求6-8中任一项所述的系统,其特征在于,所述控制器具体用于根据接收到所述至少一个第一反馈信息的时间顺序,确定所述数据包的传输路径。The system according to any one of claims 6-8, wherein the controller is specifically configured to determine a transmission path of the data packet according to a time sequence in which the at least one first feedback information is received.
  10. 根据权利要求6-8中任一项所述的系统,其特征在于,所述每个第一反馈信息包括所述物联网设备收到所述测试数据包的时间信息,所述控制器具体用于根据所述时间信息,确定所述数据包的传输路径。 The system according to any one of claims 6-8, wherein each of the first feedback information includes time information that the IoT device receives the test data packet, and the controller specifically uses And determining, according to the time information, a transmission path of the data packet.
PCT/CN2017/097441 2017-06-23 2017-08-15 Method and system for determining data transmission routes between internet of things devices WO2018232910A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710487836.2 2017-06-23
CN201710487836.2A CN107404434A (en) 2017-06-23 2017-06-23 A kind of method and system of data transfer path between determination internet of things equipment

Publications (1)

Publication Number Publication Date
WO2018232910A1 true WO2018232910A1 (en) 2018-12-27

Family

ID=60405083

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/097441 WO2018232910A1 (en) 2017-06-23 2017-08-15 Method and system for determining data transmission routes between internet of things devices

Country Status (2)

Country Link
CN (1) CN107404434A (en)
WO (1) WO2018232910A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665218A (en) * 2022-12-28 2023-01-31 南方电网数字电网研究院有限公司 Remote control method and system for Internet of things equipment and related equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039959B (en) * 2018-07-27 2021-04-16 广东工业大学 SDN rule consistency judgment method and related device
CN110300058A (en) * 2019-05-17 2019-10-01 徐州工业职业技术学院 A kind of Internet of Things framework calculated based on mist with T-MPLS technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685839A (en) * 2011-03-18 2012-09-19 中国移动通信集团公司 Method, gateway, terminal and system for communication of Internet of things
CN103312753A (en) * 2012-03-14 2013-09-18 中国移动通信集团公司 Communication method and device of Internet of things
US20140241247A1 (en) * 2011-08-29 2014-08-28 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3g packet core in a cloud computer with openflow data and control planes
CN104322023A (en) * 2013-05-24 2015-01-28 华为技术有限公司 Stream forwarding method, device and system
CN104702468A (en) * 2015-03-05 2015-06-10 华为技术有限公司 Transmission path determining method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685839A (en) * 2011-03-18 2012-09-19 中国移动通信集团公司 Method, gateway, terminal and system for communication of Internet of things
US20140241247A1 (en) * 2011-08-29 2014-08-28 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3g packet core in a cloud computer with openflow data and control planes
CN103312753A (en) * 2012-03-14 2013-09-18 中国移动通信集团公司 Communication method and device of Internet of things
CN104322023A (en) * 2013-05-24 2015-01-28 华为技术有限公司 Stream forwarding method, device and system
CN104702468A (en) * 2015-03-05 2015-06-10 华为技术有限公司 Transmission path determining method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665218A (en) * 2022-12-28 2023-01-31 南方电网数字电网研究院有限公司 Remote control method and system for Internet of things equipment and related equipment
CN115665218B (en) * 2022-12-28 2023-04-25 南方电网数字电网研究院有限公司 Remote control method and system for Internet of things equipment and related equipment

Also Published As

Publication number Publication date
CN107404434A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN105634956B (en) A kind of message forwarding method, device and system
CN109246017B (en) Method and device for inquiring multicast forwarding path
US9419878B2 (en) Network controller for delay measurement in SDN and related delay measurement system and delay measurement method
US10476795B2 (en) Data packet forwarding
CN104780066B (en) Determined for the physical pathway of virtual network stream of packets
CN105490884B (en) A kind of VXLAN tunnel detection method and device
EP3720075B1 (en) Data transmission method and virtual switch
US9900238B2 (en) Overlay network-based original packet flow mapping apparatus and method therefor
CN105723657A (en) Switch, controller, system and link quality detection method
CN108270686A (en) Update the method and system of the dialogue distribution in link aggregation
CN104022953A (en) Message forwarding method and device based on Open Flow
CN107547242B (en) The acquisition methods and device of VM configuration information
CN104378299B (en) Flow table item processing method and device
CN107342925B (en) Message transmission method and device
CN104702479A (en) Tunnel building method and device in Software Defined Network (SDN)
US11139995B2 (en) Methods and router devices for verifying a multicast datapath
US10856202B2 (en) Creation of a wireless mesh network among proximately located wireless devices
CN108206753A (en) A kind of method, apparatus and system for detecting time delay
CN104301230A (en) Message forwarding method and device
CN105009529B (en) A kind of method and transponder handling message
WO2018232910A1 (en) Method and system for determining data transmission routes between internet of things devices
CN104468371A (en) Multicast service message processing method and device
CN108882305A (en) A kind of shunt method and device of data packet
CN106341333B (en) Applied to the packet loss position method and apparatus in VXLAN
WO2016091156A1 (en) Node fault judgement method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17914190

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 23/06/2020 )

122 Ep: pct application non-entry in european phase

Ref document number: 17914190

Country of ref document: EP

Kind code of ref document: A1