CN105451165B - near field communication method and device based on multiple protocols - Google Patents

near field communication method and device based on multiple protocols Download PDF

Info

Publication number
CN105451165B
CN105451165B CN201510867297.6A CN201510867297A CN105451165B CN 105451165 B CN105451165 B CN 105451165B CN 201510867297 A CN201510867297 A CN 201510867297A CN 105451165 B CN105451165 B CN 105451165B
Authority
CN
China
Prior art keywords
node
protocol
neighbor
message
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510867297.6A
Other languages
Chinese (zh)
Other versions
CN105451165A (en
Inventor
乐利锋
王超
张宇航
韩鹏
梁麦先
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHINA INTERNATIONAL TELECOMMUNICATION CONSTRUCTION GROUP DESIGN INSTITUTE Co Ltd
China International Telecommunication Construction Corp
Original Assignee
CHINA INTERNATIONAL TELECOMMUNICATION CONSTRUCTION GROUP DESIGN INSTITUTE Co Ltd
China International Telecommunication Construction Corp
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 CHINA INTERNATIONAL TELECOMMUNICATION CONSTRUCTION GROUP DESIGN INSTITUTE Co Ltd, China International Telecommunication Construction Corp filed Critical CHINA INTERNATIONAL TELECOMMUNICATION CONSTRUCTION GROUP DESIGN INSTITUTE Co Ltd
Priority to CN201510867297.6A priority Critical patent/CN105451165B/en
Publication of CN105451165A publication Critical patent/CN105451165A/en
Application granted granted Critical
Publication of CN105451165B publication Critical patent/CN105451165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

The invention provides a near field communication method and a device based on multiple protocols, which comprises the following steps: a first node receives a message; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the message comes from a second node or a controller and carries the address of the target equipment of the message; converting the message into a protocol supported by the target device; and sending the message after the protocol conversion to the target equipment. Determining a first node according to the neighbor node list of the second node; sending a message to the first node; alternatively, a message is received that is translated by the first node to a protocol type supported by the second node. By adopting the technical scheme of the invention, the problem that the existing multi-protocol gateway and the terminal have communication faults or cannot communicate beyond the communication distance can be solved, the nodes which support the multi-protocol and have the multi-protocol conversion function are effectively utilized to forward the messages between the nodes and the controllers thereof, and the near field communication efficiency is improved.

Description

near field communication method and device based on multiple protocols
Technical Field
The present invention relates to the field of near field communication technologies, and in particular, to a method and an apparatus for near field communication based on multiple protocols.
background
with the diversification of applications, the terminal capability is continuously improved, and various applications for short-distance wireless communication are in the coming stage, and devices (such as terminals and gateways) supporting various protocols appear. For example, most mobile terminals support bluetooth and WiFi (Wireless-Fidelity); many terminals of the internet of things also support the combination of WiFi and ZigBee. Fig. 1 is a schematic structural diagram of a communication system in the prior art, which converts a multi-protocol into a ZigBee protocol based on a multi-protocol gateway, and as shown in fig. 1, a user can send a corresponding WiFi command signal, a bluetooth command signal, or a ZigBee command signal to the multi-protocol gateway through a WiFi controller, a bluetooth controller, or a ZigBee controller, and the multi-protocol gateway receives a related command signal and converts the related command signal into a ZigBee signal to control each corresponding ZigBee terminal device.
in the current near field communication scheme, once communication fault occurs between the multi-protocol gateway and the terminal or the terminal exceeds the coverage area of the multi-protocol gateway, communication cannot be performed.
disclosure of Invention
The embodiment of the invention provides a near field communication method and a near field communication device based on multiple protocols, which are used for overcoming the defects in the existing near field communication scheme for performing protocol conversion through a multiple protocol gateway.
the embodiment of the invention provides a near field communication method based on multiple protocols, which comprises the following steps:
A first node receives a message; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the message comes from a second node or a controller and carries the address of the target equipment of the message; the target device is the second node or the controller;
converting the message into a protocol supported by the target device;
and sending the message after the protocol conversion to the target equipment.
The embodiment of the invention provides a near field communication device based on multiple protocols, which comprises:
a receiving unit for receiving a message; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the message comes from a second node or a controller and carries the address of the target equipment of the message; the target device is the second node or the controller;
a conversion unit, configured to convert the message into a protocol supported by the target device;
and the forwarding unit is used for sending the message after the protocol conversion to the target equipment.
the embodiment of the invention provides a near field communication method based on multiple protocols, which comprises the following steps:
determining a first node according to a neighbor node list of a second node; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the neighbor node list stores information of M-N nodes adjacent to the second node, and the M-N nodes support multiple protocols and have a function of mutual conversion among multiple protocols;
Sending a message to the first node; alternatively, a message is received that is translated by the first node to a protocol type supported by the second node.
the embodiment of the invention provides a near field communication device based on multiple protocols, which comprises:
the determining unit is used for determining the first node according to the neighbor node list of the second node; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the neighbor node list stores information of M-N nodes adjacent to the second node, and the M-N nodes support multiple protocols and have a function of mutual conversion among multiple protocols;
A communication unit for sending a message to the first node; alternatively, a message is received that is translated by the first node to a protocol type supported by the second node.
the invention has the following beneficial effects:
in the method and the device for near field communication based on multiple protocols provided by the embodiment of the invention, a first node supporting multiple protocols and having a function of interconversion among the multiple protocols receives a message from a second node or a controller, wherein the message carries an address of a target device of the message, and the target device is the second node or the controller; after the first node converts the message into the protocol supported by the target device, the message after the protocol conversion is sent to the target device, so that the problem that the existing multi-protocol gateway and the terminal have communication faults or cannot communicate beyond the communication distance can be solved, the first node is effectively utilized to forward the message between the node and the controller of the node, and the near field communication efficiency is improved.
In the near field communication method and apparatus based on multiprotocol provided by the embodiment of the present invention, after a first node supporting multiprotocol and having a function of interconversion between multiple protocols is determined from a neighbor node list of a second node, a message is sent to the first node, so that the first node converts the message into a protocol supported by a controller corresponding to the second node and forwards the protocol to the controller corresponding to the second node; or receiving the message converted into the protocol supported by the second node by the first node, the problem that the existing multi-protocol gateway and the terminal have communication faults or cannot communicate beyond the communication distance can be solved, the multi-protocol-supporting nodes with the multi-protocol conversion function are effectively utilized to forward the message between the nodes and the controller thereof, and the near field communication efficiency is improved.
drawings
Specific embodiments of the present invention will be described below with reference to the accompanying drawings.
fig. 1 is a schematic structural diagram of a communication system based on a multi-protocol gateway to convert multi-protocols into zigbee protocols in the prior art;
FIG. 2 is a first flowchart illustrating a method for near field communication based on multiple protocols according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a near field communication system based on multiple protocols in an embodiment of the present invention:
FIG. 4 is a functional structure diagram of M-N nodes in the embodiment of the present invention;
FIG. 5 is a diagram illustrating an embodiment of forwarding using a long-range protocol;
FIG. 6 is a diagram illustrating a forwarding using a high rate protocol according to an embodiment of the present invention;
FIG. 7 is a first exemplary embodiment of a multi-protocol based near field communication device;
FIG. 8 is a flowchart illustrating a second method for near field communication based on multiple protocols according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating obtaining M-N nodes according to an embodiment of the present invention;
FIG. 10 is a second exemplary embodiment of a multi-protocol-based near field communication device.
Detailed Description
in order to make the technical solutions and advantages of the present invention more apparent, the following further detailed description of exemplary embodiments of the present invention is provided with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and are not exhaustive of all embodiments. And the embodiments and features of the embodiments in the present specification may be combined with each other without conflict.
Fig. 2 is a first flowchart of a near field communication method based on multiple protocols according to an embodiment of the present invention, where the near field communication method based on multiple protocols may be applied to a relay node or a forwarding node in a near field communication network, that is, a first node, where the first node is an M-N node that supports multiple protocols and has a function of interconversion between multiple protocols. As shown in fig. 2, the method for near field communication based on multiple protocols may include the following steps:
Step 201: a first node receives a message; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the message comes from a second node or a controller and carries the address of the target equipment of the message; the target device is the second node or the controller;
Step 202: converting the message into a protocol supported by the target device;
Step 203: and sending the message after the protocol conversion to the target equipment.
In a specific implementation, the multi-protocol in the embodiment of the present invention may include: existing short-range Communication protocols such as bluetooth protocol, WiFi protocol, IrDA (Infrared Data Association) protocol, NFC (Near Field Communication), ZigBee protocol, UWB (Ultra Wide Band) protocol, Z-wave Alliance (Z-wave Alliance) protocol, and Near Field Communication protocols that may appear in the future.
The second node can be an M-N node supporting multiple protocols or an S-N node supporting a single protocol; the M-N nodes can have the function of mutual conversion among a plurality of protocols;
with the landing and the implementation of the internet of things, the types and the number of the terminals of the internet of things will grow explosively and may become the main form of the terminals in the future. Protocols supported by the internet of things terminal are diversified, and the ZigBee protocol is not the only choice for different application scenes.
the embodiment of the invention provides a near field communication method based on multiple protocols based on a near field multi-protocol cooperative communication system. Fig. 3 is a schematic structural diagram of a near field communication system based on multiple protocols in an embodiment of the present invention, as shown in fig. 3, in the near field multi-protocol cooperative communication system, the system includes a Controller and a Node, where the Controller may further include controllers (M-C) supporting multiple protocols and controllers (S-C) supporting a single protocol. The nodes may include nodes (M-N) that support multiple protocols and nodes (S-N) that support a single protocol. Each node can communicate with the corresponding controller through one or more M-N node relays, or can directly communicate with the corresponding controller without passing through the relay node. Similarly, each controller may relay communications with its corresponding node through one or some M to N nodes, or may directly communicate with its corresponding node without passing through a relay node. The controllers, nodes in the close range multi-protocol cooperative communication system may support one or more of the above-mentioned multi-protocols.
the embodiment of the invention provides an M-N node, which not only supports multiple protocols, but also has the function of mutual conversion among multiple protocols. Fig. 4 is a schematic diagram of a functional structure of M-N nodes in the embodiment of the present invention, and as shown in fig. 4, the M-N nodes may have a node protocol selection module to select which protocol to convert a received message into according to protocol conditions supported by a source node and a sink node in a communication process; and the protocol conversion module is used for carrying out protocol conversion on the received message according to the selection result of the protocol selection module. Therefore, the M-N nodes can act as relay nodes for protocol mapping and forwarding between different protocol nodes.
because the M-N nodes supporting conversion among various protocols are provided for relaying, the defect that the multi-protocol gateway cannot communicate when a problem occurs in the multi-protocol gateway when a multi-protocol gateway scheme is adopted in the prior art can be effectively avoided.
In the method and the device for near field communication based on multiple protocols provided by the embodiment of the invention, a first node supporting multiple protocols and having a function of interconversion among the multiple protocols receives a message from a second node or a controller, wherein the message carries an address of a target device of the message, and the target device is the second node or the controller; after the first node converts the message into the protocol supported by the target device, the message after the protocol conversion is sent to the target device, so that the problem that the existing multi-protocol gateway and the terminal have communication faults or cannot communicate beyond the communication distance can be solved, the first node is effectively utilized to forward the message between the node and the controller of the node, and the near field communication efficiency is improved.
in implementation, the converting the message into the protocol supported by the target device may specifically include:
determining a protocol supported by both the first node and the target device;
if the protocol supported by the first node and the target device is one, converting the message into the protocol type;
if the protocols supported by the first node and the target device are multiple, comparing the transmission distances of the messages of the protocol types, and determining the protocol with the maximum transmission distance of the messages;
and converting the message into the protocol type with the maximum transmission distance.
In the implementation, in the short-range communication, some protocols have a longer transmission distance, such as: wifi, Zwave, zigBee are about 100 meters or so, and some protocols have a short transmission distance, such as: bluetooth is within about 10 meters.
when the protocol supported by both the first node and the target device is only one, the protocol type of the received message is converted into the protocol type supported by both the first node and the target device.
when there are multiple protocols supported by the first node and the target device, the transmission distances of messages of the multiple protocols supported by the first node and the target device may be compared, and in order to reduce the number of relay nodes as much as possible, the protocol with the largest transmission distance of the message may be determined and the received message may be converted into the protocol type with the largest transmission distance.
Fig. 5 is a schematic diagram of forwarding by using a long-distance protocol in the embodiment of the present invention, as shown in fig. 5, when an S-N node supporting only a bluetooth protocol leaves its controller S-C beyond an effective coverage, the S-N node and the controller S-C are interrupted in communication, and the S-N node may select one M-N node from a local selection neighbor node list to be relayed to the controller S-C. And if one M-N node relay is not selected to be connected to the controllers S-C, selecting the M-N node closest to the S-N node to be connected to the controllers S-C through the Bluetooth protocol relay. In order to avoid excessive M-N nodes from being selected into the relay link, the M-N nodes capable of supporting protocols such as a long-distance protocol ZigBee and the like are selected as much as possible. The protocol which can be remotely transmitted is selected among the selected M-N nodes through the protocol selection module, once the relay link is established through the relay transmission module, the command message between the S-N nodes and the controllers S-C is relayed through the M-N nodes, so that the remote communication between the nodes and the controllers can be ensured, and the complementation among different distance transmission protocols is realized.
in implementation, the converting the message into the protocol supported by the target device may specifically include:
When messages of a plurality of second nodes are received and carry the address of the same target device, determining the protocols supported by the first node and the target device;
If the protocol supported by the first node and the target device is one, converting the message into the protocol type;
If the protocols supported by the first node and the target device are multiple, comparing the communication rates of the messages of the protocol types, and determining the protocol with the maximum communication rate;
Converting the message into a protocol type with the maximum communication rate; alternatively, the first and second electrodes may be,
when messages of a plurality of controllers are received and carry the address of the same target device, determining the protocol supported by both the first node and the target device;
If the protocol supported by the first node and the target device is one, converting the message into the protocol type;
If the protocols supported by the first node and the target device are multiple, comparing the communication rates of the messages of the protocol types, and determining the protocol with the maximum communication rate;
And converting the message into the protocol type with the maximum communication rate.
in the implementation, the wireless link may have unstable communication link quality due to environment (e.g., interference, coverage), such as jitter, delay, rate reduction, or even interruption. Close range communication protocols also face the problem of instability of these wireless links. In the near field communication, some protocols have high transmission rate, such as: WiFi and Bluetooth are about 1Mbps or above, and some protocols have lower transmission rates, such as: ZigBee, Zwave, is within about 250 Kbps.
When a first node receives a plurality of messages of a plurality of nodes or a plurality of messages to be controlled and a target device of the plurality of messages is the same, in order to improve the efficiency of the first node in relaying the plurality of messages, when the protocol type of the messages is converted, a protocol with the maximum communication rate supported by both the first node and the target device may be selected as much as possible.
fig. 6 is a schematic diagram of forwarding by using a high-rate protocol in the embodiment of the present invention, and as shown in fig. 6, when link quality deteriorates in an M-N node supporting a low-rate protocol ZigBee and an S-N node supporting a low-rate protocol Zwave, the M-N node and the S-N node may select an M-N node in a locally cached neighbor node list to assist in relaying a message to a controller M-C. As shown in fig. 4, when the second node is poor or abnormal in communication with the controller of the second node and a plurality of second nodes determine that the same first node forwards a message to the controller of the same second node, the M-N nodes may further include a convergence judgment module, configured to establish communication with the controllers M-C by using a high-speed protocol bluetooth (or WiFi) to assist in relaying the message when finding that there are messages from different nodes M-N and S-N that are sent to the same controller M-C. Similarly, when the communication between the node and the controller is abnormal and a plurality of controllers select the same M-N node to forward the message to the same node, the M-N node can also forward the messages of the plurality of controllers to the node by adopting a high-rate protocol Bluetooth (or WiFi) to assist in relaying the message, so that the communication quality can be ensured and the complementation between different transmission rate protocols can be realized.
Based on the same inventive concept, the embodiment of the invention also provides a near field communication device based on multiple protocols, and as the principle of solving the problems of the device is similar to that of a near field communication method based on multiple protocols, the implementation of the device can refer to the implementation of the method, and repeated parts are not described again.
Fig. 7 is a schematic structural diagram of a near field communication apparatus based on multiple protocols according to an embodiment of the present invention, as shown in fig. 7, the near field communication apparatus based on multiple protocols may include:
A receiving unit 701, configured to receive a message; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the message comes from a second node or a controller and carries the address of the target equipment of the message; the target device is the second node or the controller;
A conversion unit 702, configured to convert the message into a protocol supported by the target device;
a forwarding unit 703, configured to send the message after the protocol conversion to the target device.
In an implementation, the conversion unit may be specifically configured to determine a protocol supported by both the first node and the target device;
if the protocol supported by the first node and the target device is one, converting the message into the protocol type;
If the protocols supported by the first node and the target device are multiple, comparing the transmission distances of the messages of the protocol types, and determining the protocol with the maximum transmission distance of the messages;
and converting the message into the protocol type with the maximum transmission distance.
In an implementation, the forwarding unit may be specifically configured to determine, when receiving messages of a plurality of the second nodes and the messages carry addresses of the same target device, protocols supported by both the first node and the target device;
if the protocol supported by the first node and the target device is one, converting the message into the protocol type;
if the protocols supported by the first node and the target device are multiple, comparing the communication rates of the messages of the protocol types, and determining the protocol with the maximum communication rate;
converting the message into a protocol type with the maximum communication rate; alternatively, the first and second electrodes may be,
when messages of a plurality of controllers are received and carry the address of the same target device, determining the protocol supported by both the first node and the target device;
If the protocol supported by the first node and the target device is one, converting the message into the protocol type;
If the protocols supported by the first node and the target device are multiple, comparing the communication rates of the messages of the protocol types, and determining the protocol with the maximum communication rate;
and converting the message into the protocol type with the maximum communication rate.
For convenience of description, each part of the above-described apparatus is separately described as being functionally divided into various modules or units. Of course, the functionality of the various modules or units may be implemented in the same one or more pieces of software or hardware in practicing the invention.
fig. 8 is a second flowchart illustrating a near field communication method based on multiple protocols according to an embodiment of the present invention, where the near field communication method based on multiple protocols is applicable to a node that needs to relay a message or information in a near field communication network. As shown in fig. 8, the method for near field communication based on multiple protocols may include the following steps:
Step 801: determining a first node according to a neighbor node list of a second node; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the neighbor node list stores information of M-N nodes adjacent to the second node, and the M-N nodes support multiple protocols and have a function of mutual conversion among multiple protocols;
step 802: sending a message to the first node; alternatively, a message is received that is translated by the first node to a protocol type supported by the second node.
in the specific implementation, the descriptions of the multi-protocol and M-N nodes are as above, and are not described here again. As shown in fig. 4, when the M-N nodes are second nodes, the M-N nodes may further include: the node discovery module is used for discovering the neighbor nodes M to N; the node selection module is used for selecting one or more M-N neighbor nodes from the neighbor node list as a first node for message relay. Similarly, the S-N node may also include: a node discovery module and a node selection module.
in the near field communication method and apparatus based on multiprotocol provided by the embodiment of the present invention, after a first node supporting multiprotocol and having a function of interconversion between multiple protocols is determined from a neighbor node list of a second node, a message is sent to the first node, so that the first node converts the message into a protocol supported by a controller corresponding to the second node and forwards the protocol to the controller corresponding to the second node; or receiving the message converted into the protocol supported by the second node by the first node, the problem that the existing multi-protocol gateway and the terminal have communication faults or cannot communicate beyond the communication distance can be solved, the multi-protocol-supporting nodes with the multi-protocol conversion function are effectively utilized to forward the message between the nodes and the controller thereof, and the near field communication efficiency is improved.
in implementation, before determining the first node according to the neighbor node list of the second node, the method may further include:
Acquiring information of M-N neighbor nodes of the second node;
And caching the acquired information of the M-N neighbor nodes into a neighbor node list of the second node.
In specific implementation, fig. 9 is a schematic diagram of acquiring M to N nodes in the embodiment of the present invention, and as shown in fig. 9, an S-N node or an M-N node may acquire information of M to N neighbor nodes by sending a periodic or aperiodic discovery request through a node discovery module. The S-N node or the M-N node may have a transmission radius R equal to b2a (where b is a constant determined by the node power and the power consumption capability, and a is a level of the transmission radius, and may take any natural number). After the S-N node or the M-N node acquires the information of the M-N neighbor node, the M-N neighbor node list can be cached at a local or server side, and when the M-N node is needed to assist the relay command message, a proper M-N node can be selected from the locally cached neighbor node list through the node selection module for relaying.
in implementation, determining the first node according to the neighbor node list of the second node may specifically include:
determining information of M-N neighbor nodes of the second node according to the neighbor node list;
determining transmission attribute information of M-N neighbor nodes of the second node according to the information of the M-N neighbor nodes of the second node, wherein the transmission attribute information comprises: information of transmission load, transmission delay or support protocol;
And determining the first node from M-N neighbor nodes of the second node according to the transmission attribute information.
in a specific implementation, the information of the M-N neighbor nodes acquired by the second node may include transmission attribute information of the M-N neighbor nodes, and when the M-N neighbor nodes are selected for relaying, appropriate M-N nodes such as a load, a delay, a transmission distance, a transmission rate, and a compatible protocol may be selected as relay nodes according to actual needs.
In implementation, determining the first node according to the neighbor node list of the second node may specifically include:
And determining M-N nodes closest to the second node as the first node.
In specific implementation, the M-N node closest to the second node is determined as the first node, so as to ensure that the corresponding M-N node performs relaying and maintains communication.
based on the same inventive concept, the embodiment of the invention also provides a near field communication device based on multiple protocols, and as the principle of solving the problems of the device is similar to that of a near field communication method based on multiple protocols, the implementation of the device can refer to the implementation of the method, and repeated parts are not described again.
Fig. 10 is a second schematic structural diagram of a near field communication device based on multiple protocols according to an embodiment of the present invention, as shown in fig. 10, the near field communication device based on multiple protocols may include:
a determining unit 1001, configured to determine a first node according to a neighbor node list of a second node; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the neighbor node list stores information of M-N nodes adjacent to the second node, and the M-N nodes support multiple protocols and have a function of mutual conversion among multiple protocols;
a communication unit 1002, configured to send a message to the first node; alternatively, a message is received that is converted by the first node into a protocol type supported by the second node
In an implementation, the multi-protocol-based near field communication apparatus may further include:
The device comprises an acquisition unit, a first node and a second node, wherein the acquisition unit is used for acquiring the information of M-N neighbor nodes of the second node before determining the first node according to a neighbor node list of the second node;
And the cache unit is used for caching the acquired information of the M-N neighbor nodes into a neighbor node list of the second node.
In an implementation, the determining unit may be specifically configured to determine, according to the neighbor node list, information of M to N neighbor nodes of the second node; determining transmission attribute information of M-N neighbor nodes of the second node according to the information of the M-N neighbor nodes of the second node, wherein the transmission attribute information comprises: information of transmission load, transmission delay or support protocol; and determining the first node from M-N neighbor nodes of the second node according to the transmission attribute information.
in an implementation, the determining unit may be further configured to determine, as the first node, M to N nodes closest to the second node
For convenience of description, each part of the above-described apparatus is separately described as being functionally divided into various modules or units. Of course, the functionality of the various modules or units may be implemented in the same one or more pieces of software or hardware in practicing the invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. a near field communication method based on multiple protocols is characterized by comprising the following steps:
When the multi-protocol gateway and the second node have communication faults or cannot communicate beyond the communication distance, determining a first node according to a neighbor node list of the second node; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the neighbor node list stores information of M-N nodes adjacent to the second node, and the M-N nodes support multiple protocols and have a function of mutual conversion among multiple protocols;
and the second node or a controller corresponding to the second node sends a message to the first node, wherein the message carries the address of the target equipment of the message, and the first node converts the message into a protocol supported by the target equipment and forwards the protocol to the target equipment.
2. the method of claim 1, wherein prior to determining the first node from the neighbor node list of the second node, further comprising:
acquiring information of M-N neighbor nodes of the second node;
And caching the acquired information of the M-N neighbor nodes into a neighbor node list of the second node.
3. the method of claim 1, wherein determining the first node based on the neighbor node list of the second node specifically comprises:
Determining information of M-N neighbor nodes of the second node according to the neighbor node list;
Determining transmission attribute information of M-N neighbor nodes of the second node according to the information of the M-N neighbor nodes of the second node, wherein the transmission attribute information comprises: information of transmission load, transmission delay or support protocol;
And determining the first node from M-N neighbor nodes of the second node according to the transmission attribute information.
4. The method of claim 1, wherein determining the first node based on the neighbor node list of the second node specifically comprises:
and determining M-N nodes closest to the second node as the first node.
5. A multi-protocol based near field communication device, comprising:
The determining unit is used for determining the first node according to the neighbor node list of the second node when the multi-protocol gateway and the second node have communication faults or cannot communicate beyond the communication distance; the first node supports multiple protocols and has a function of interconversion among multiple protocols; the neighbor node list stores information of M-N nodes adjacent to the second node, and the M-N nodes support multiple protocols and have a function of mutual conversion among multiple protocols;
and the communication unit is used for transmitting a message to the first node by the second node or the controller corresponding to the second node, wherein the message carries the address of the target equipment of the message, and the first node converts the message into a protocol supported by the target equipment and forwards the protocol to the target equipment.
6. the apparatus of claim 5, further comprising:
the device comprises an acquisition unit, a first node and a second node, wherein the acquisition unit is used for acquiring the information of M-N neighbor nodes of the second node before determining the first node according to a neighbor node list of the second node;
And the cache unit is used for caching the acquired information of the M-N neighbor nodes into a neighbor node list of the second node.
7. the apparatus according to claim 5, wherein the determining unit is specifically configured to determine information of M-N neighbor nodes of the second node according to the neighbor node list; determining transmission attribute information of M-N neighbor nodes of the second node according to the information of the M-N neighbor nodes of the second node, wherein the transmission attribute information comprises: information of transmission load, transmission delay or support protocol; and determining the first node from M-N neighbor nodes of the second node according to the transmission attribute information.
8. the apparatus of claim 5, wherein the determining unit is further configured to determine a M-N node closest to the second node as the first node.
CN201510867297.6A 2015-12-01 2015-12-01 near field communication method and device based on multiple protocols Active CN105451165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510867297.6A CN105451165B (en) 2015-12-01 2015-12-01 near field communication method and device based on multiple protocols

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510867297.6A CN105451165B (en) 2015-12-01 2015-12-01 near field communication method and device based on multiple protocols

Publications (2)

Publication Number Publication Date
CN105451165A CN105451165A (en) 2016-03-30
CN105451165B true CN105451165B (en) 2019-12-06

Family

ID=55560867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510867297.6A Active CN105451165B (en) 2015-12-01 2015-12-01 near field communication method and device based on multiple protocols

Country Status (1)

Country Link
CN (1) CN105451165B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255169B (en) * 2016-07-20 2020-09-01 南京矽力微电子技术有限公司 Node equipment, data packet forwarding method and grid network system applying same
CN112147905A (en) * 2019-06-27 2020-12-29 广东美的制冷设备有限公司 Information transmission method and device and household appliance
CN112152885B (en) * 2019-06-27 2023-04-07 广东美的制冷设备有限公司 Equipment control method and device, household appliance and remote control equipment
CN112152884B (en) * 2019-06-27 2022-09-27 广东美的制冷设备有限公司 Equipment control method and device and household appliance
CN111510321B (en) * 2019-10-16 2023-05-16 中国南方电网有限责任公司 Network fault processing method, device, computer equipment and storage medium
CN111064716B (en) * 2019-12-05 2022-03-11 深圳猛犸电动科技有限公司 Message conversion method, device, storage medium and server
CN113329359B (en) * 2021-06-07 2023-03-24 杭州涂鸦信息技术有限公司 Communication method, communication device, electronic equipment and readable storage medium
CN116614565B (en) * 2023-07-18 2023-10-10 河北六联通信科技有限公司 Multi-protocol fusion communication method, platform, system and medium for scene law enforcement

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854736A (en) * 2010-05-18 2010-10-06 北京交通大学 Method for converting wireless sensor network protocols
CN102892215A (en) * 2012-09-10 2013-01-23 南京邮电大学 Wireless heterogeneous network and communication method for same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1733528A1 (en) * 2004-04-05 2006-12-20 TELEFONAKTIEBOLAGET LM ERICSSON (publ) Method, communication device and system for address resolution mapping in a wireless multihop ad hoc network.
US9730078B2 (en) * 2007-08-31 2017-08-08 Fisher-Rosemount Systems, Inc. Configuring and optimizing a wireless mesh network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854736A (en) * 2010-05-18 2010-10-06 北京交通大学 Method for converting wireless sensor network protocols
CN102892215A (en) * 2012-09-10 2013-01-23 南京邮电大学 Wireless heterogeneous network and communication method for same

Also Published As

Publication number Publication date
CN105451165A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105451165B (en) near field communication method and device based on multiple protocols
US20120106394A1 (en) System and method for mixed-mesh wireless networking
KR20120052092A (en) Method for tethering network, method for connecting network and wirelessly communication system thereof
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
CN105873169A (en) Wireless ad-hoc network communication method
TWI679914B (en) Node device, packet forwarding method and grid network system using same
CN102761493A (en) Multicast routing item updating method and device of multilink transparent internet
CN103023773A (en) Method, device and system for forwarding message in multi-topology network
EP2856704A1 (en) Relaying messages in a heterogeneous network
JP2015037208A (en) Communication device, communication system, communication control method, and communication control program
JP2016208513A (en) Repeating method and corresponding communication network device, system, computer program and computer readable storage medium
WO2017024853A1 (en) Frequency-based online auto-defined multi-frequency power line carrier communication network
JP5339654B1 (en) Wireless relay system for IEEE802.11 standard communication and IEEE802.15.4 standard communication
CN105681225A (en) Network resource acquisition method and device
US20160087814A1 (en) Wireless-communication quality-information processing device and communication system
CN103929491B (en) Method of data synchronization and system and mobile terminal
CN104270320A (en) Active flow control method of distributed communication system
TWI689183B (en) Repeater for mesh networks
JP2016225837A (en) Multi-hop communication system, communication device and communication method
JP2017005463A (en) Radio apparatus and radio communication system
CN104486191A (en) Mobile terminal access method
JP2014068286A (en) Communication network system, communication medium switchover method, and network implementation support method
JP6417493B1 (en) Control device, relay device, and communication system
CN104410723A (en) LSDB (LinkState Database) synchronization method and system in OSPF (Open Shortest Path First)
JP2019176361A (en) Mesh network

Legal Events

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