CN109413641B - Network system, communication method, device, equipment and storage medium based on MESH - Google Patents

Network system, communication method, device, equipment and storage medium based on MESH Download PDF

Info

Publication number
CN109413641B
CN109413641B CN201811560584.2A CN201811560584A CN109413641B CN 109413641 B CN109413641 B CN 109413641B CN 201811560584 A CN201811560584 A CN 201811560584A CN 109413641 B CN109413641 B CN 109413641B
Authority
CN
China
Prior art keywords
high byte
byte
mesh
wireless
wired
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
CN201811560584.2A
Other languages
Chinese (zh)
Other versions
CN109413641A (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.)
Guangzhou Hedong Technology Co ltd
Original Assignee
Guangzhou Hedong Technology Co ltd
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 Guangzhou Hedong Technology Co ltd filed Critical Guangzhou Hedong Technology Co ltd
Priority to CN201811560584.2A priority Critical patent/CN109413641B/en
Publication of CN109413641A publication Critical patent/CN109413641A/en
Application granted granted Critical
Publication of CN109413641B publication Critical patent/CN109413641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a MESH-based network system, a communication method, a device, equipment and a storage medium, wherein the MESH-based network system is respectively connected with wired node equipment and wireless node equipment in a network through an RS485 port and an RF port in a MESH-based wireless gateway, a certain number of the same type of node equipment form a subnet, all the node equipment confirms the belonged subnet and the specific address of the node equipment according to high and low bytes, the node equipment in one subnet corresponds to the same MESH-based wireless gateway, and the wireless node equipment and the wired node equipment can realize the rapid layout of the network system under the comprehensive scheduling of a wired port and a wireless port of the MESH-based wireless gateway, so that the MESH-based network system is suitable for convenient construction under various and more constrained environments.

Description

Network system, communication method, device, equipment and storage medium based on MESH
Technical Field
The embodiment of the application relates to the field of internet of things, in particular to a network system, a communication method, a device, equipment and a storage medium based on MESH.
Background
With the development of computer networks and electronic technologies, the concept of digital home has been gradually put into practical use, and smart home is one of the earliest technical fields in which the digital home is put into use. The network building of the intelligent home is usually indoors, more environmental factors need to be considered, the prior design of the wiring of the existing network system and the operation of specific construction are inconvenient, and the efficiency is low.
Disclosure of Invention
The application provides a network system, a communication method, a communication device, equipment and a storage medium based on MESH, so as to provide a network system scheme which is convenient for construction operation and improves efficiency.
In a first aspect, a MESH-based network system is provided, including: a MESH wireless gateway, wireless node equipment and wired node equipment;
the MESH wireless gateway comprises an RS485 port and an RF port, and the address of the MESH wireless gateway comprises two bytes in total, namely a high byte and a low byte;
the wireless node devices form a wireless sub-network, the address of the wireless node device comprises two bytes in total, namely a high byte and a low byte, the high byte of each wireless node device is the same as the high byte of the MESH wireless gateway, and the low byte of each wireless node device is different from the low byte of the MESH wireless gateway; the wireless node equipment is in communication connection with the MESH wireless gateway through the RF port;
the wired node equipment forms a wired subnet, the address of the wired node equipment comprises two bytes in total including a high byte and a low byte, the high byte of each wired node equipment is the same, the low byte of each wired node equipment is different, the high byte of the wired node equipment is different from the high byte of the wireless node equipment, and the wired node equipment and the MESH wireless gateway are in communication connection through the RS485 port.
Wherein, the low byte part of the address of the MESH wireless gateway is 0.
Wherein, the application layer of the network system is HDL-Bus protocol.
In a second aspect, a MESH-based network system is provided, including: at least two MESH wireless gateways, at least one wireless node device and at least one wired node device;
the MESH wireless gateway comprises an RS485 port and an RF port, and the port ID of each RS485 port is different; the address of the MESH wireless gateway comprises two bytes in total, namely a high byte and a low byte, the high byte and the port ID of each MESH wireless gateway are different, and the MESH wireless gateways are in communication connection through an RF port; each MESH wireless gateway corresponds to at least one wireless node device and/or at least one wired node device respectively;
the address of the wireless node device comprises a total of two bytes, a high byte and a low byte; the wireless node devices corresponding to the single MESH wireless gateway form a wireless sub-network, the high byte of each wireless node device in the single wireless sub-network is the same as the high byte of the MESH wireless gateway corresponding to the wireless sub-network, and the low byte of each wireless node device in the single wireless sub-network is different from the low byte of each wireless node device in the single wireless sub-network; the wireless node equipment is in communication connection with the MESH wireless gateway corresponding to the wireless subnet through the RF port;
the address of the wired node device includes a high byte and a low byte for a total of two bytes; the wired node devices corresponding to the single MESH wireless gateway form a wired subnet, the high byte of each wired node device in the single wired subnet is the same as the port ID of the MESH wireless gateway corresponding to the wired subnet, and the low byte of each wired node device in the single wired subnet is different from each other; and the wired node equipment is in communication connection with the MESH wireless gateway corresponding to the wired subnet through the RS485 port.
Wherein, the low byte part of the address of the MESH wireless gateway is 0.
Wherein, the application layer of the network system is HDL-Bus protocol.
In a third aspect, a communication method is provided, which is used in the network system according to any one of the first aspect and the second aspect, and includes:
confirming a starting high byte and a target high byte corresponding to a data packet to be received, wherein the starting high byte is a high byte of an address of a sending device sending the data packet to be received; the target high byte is the high byte of the address of the target equipment for receiving the data packet to be received;
judging whether the starting high byte is the same as the target high byte;
if the starting high byte is the same as the target high byte, the data packet to be received is directly sent to the target equipment through the subnet where the sending equipment is located;
and if the starting high byte is different from the target high byte, sending the data packet to be received to the target equipment through the MESH wireless gateway corresponding to the sending equipment and the MESH wireless gateway corresponding to the target equipment.
In a fourth aspect, there is provided a communication apparatus for use in the network system according to any one of the first and second aspects, including:
the byte confirmation unit is used for confirming a starting high byte and a target high byte corresponding to a data packet to be received, wherein the starting high byte is a high byte of an address of sending equipment for sending the data packet to be received; the target high byte is the high byte of the address of the target equipment for receiving the data packet to be received;
a byte judging unit for judging whether the starting high byte and the target high byte are the same;
a first sending unit, configured to send the data packet to be received directly to the target device through a subnet where the sending device is located if the starting high byte is the same as the target high byte;
and a second sending unit, configured to send the data packet to be received to the target device through the MESH wireless gateway corresponding to the sending device and the MESH wireless gateway corresponding to the target device if the starting high byte is different from the target high byte.
In a fifth aspect, there is provided an apparatus comprising: one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the communication method of the third aspect.
In a sixth aspect, there is provided a storage medium containing computer executable instructions for performing the communication method according to the third aspect when executed by a computer processor.
According to the embodiment of the application, the wired node equipment and the wireless node equipment in the network are respectively connected through the RS485 port and the RF port in the MESH wireless gateway, wherein a certain number of the same type of node equipment form a subnet, all the node equipment confirm the belonged subnet and the specific address of the node equipment according to high and low bytes, the node equipment in one subnet corresponds to the same MESH wireless gateway, the wireless node equipment and the wired node equipment can realize the rapid layout of a network system under the comprehensive scheduling of the wired port and the wireless port of the MESH wireless gateway, and the method and the device are suitable for convenient construction in various and more constrained environments.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a system architecture diagram of a MESH-based network system according to an embodiment of the present application;
fig. 2 is a system architecture diagram of another MESH-based network system according to an embodiment of the present application;
fig. 3 is a flowchart of a method of communication according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Please refer to fig. 1, which is a system architecture diagram of a MESH-based network system according to an embodiment of the present application, and as shown in the figure, the MESH-based network system includes: a MESH wireless gateway 10, wireless node devices and wired node devices;
the MESH wireless gateway 10 comprises an RS485 port and an RF port, and the address of the MESH wireless gateway 10 comprises a high byte and a low byte for a total of two bytes;
the wireless node devices form a wireless sub-network 20, the address of the wireless node device comprises two bytes in total, namely a high byte and a low byte, the high byte of each wireless node device is the same as the high byte of the MESH wireless gateway 10, and the low byte of each wireless node device is different from the low byte of the MESH wireless gateway 10; the wireless node equipment is in communication connection with the MESH wireless gateway 10 through the RF port;
the wired node devices form a wired subnet 30, the address of the wired node device includes two total bytes of high byte and low byte, the high byte of each wired node device is the same, the low byte of each wired node device is different, the high byte of the wired node device is different from the high byte of the wireless node device, and the wired node device and the MESH wireless gateway 10 are in communication connection through the RS485 port.
In the scheme, based on an AT86RF212B chip of ATMEL manufacturer, the communication technology of the whole network system conforms to 802.15.4, and further forms a MESH simple MESH wireless network, in the wireless network, a network layer is a MESH structure, an application layer is an HDL-Bus protocol, compared with a ZIGBEE protocol stack, the protocol stack of the HDL-Bus protocol is light, flexible and convenient, and the HDL-Bus protocol is also suitable for wired network communication based on RS485, so that the wireless subnet 20 and the wired subnet 30 in the embodiment have basic conditions for mutual communication.
In this scheme, the node devices in the wireless subnetwork 20 and the wired subnetwork 30 are all realized by a short address classification method, specifically, the wireless node device and the wired node device both have 2-byte short addresses, in this embodiment, the high byte is called a subnetwork address, and the low address is called a device address, so as to facilitate expansion of the scale of the network system and identification of the device, the subnetwork address of the gateway is X, the device address is 0, and corresponds to the length of the 2-byte short address, X may be any one address from 1 to 254, the subnetwork address of the wireless node device in the wireless subnetwork 20 is the same as the subnetwork address of the gateway, and the device addresses are 1 to 254 (different from the device address of the gateway) but are different. For the wired sub-network 30, the sub-network address of the wired node device therein is Y, Y may be any address different from X in 1-254, the device address of the wired node device is 1-254 but different, actually, in the network system of the indoor smart home, the number of the node devices in one sub-network generally does not reach 254, common wireless node devices such as the wireless panel 21 and the wireless curtain 22, and common wired node devices such as the relay 31 and the light modulator 32.
In summary, based on the RS485 port and the RF port in the MESH wireless gateway, the wired node device and the wireless node device in the network are connected respectively, wherein a certain number of the same type of node devices form a subnet, all the node devices confirm the belonging subnet and their specific addresses according to the high and low bytes, the node devices in one subnet correspond to the same MESH wireless gateway, and the wireless node device and the wired node device can realize the fast layout of the network system under the comprehensive scheduling of the wired port and the wireless port of the MESH wireless gateway, thereby adapting to the convenient construction under various and more constrained environments
Please refer to fig. 2, which is a system architecture diagram of another MESH-based network system according to an embodiment of the present application, and as shown in the figure, the MESH-based network system includes: at least two MESH wireless gateways 10, at least one wireless node device and at least one wired node device;
the MESH wireless gateway 10 comprises an RS485 port and an RF port, and the port ID of each RS485 port is different; the address of the MESH wireless gateway 10 includes two bytes in total, a high byte and a low byte, the high byte and the port ID of each MESH wireless gateway 10 are different, and the MESH wireless gateways 10 are in communication connection through RF ports; each MESH wireless gateway 10 corresponds to at least one wireless node device and/or at least one wired node device respectively;
the address of the wireless node device comprises a total of two bytes, a high byte and a low byte; the wireless node devices corresponding to the single MESH wireless gateway 10 form a wireless subnetwork 20, the high byte of each wireless node device in the single wireless subnetwork 20 is the same as the high byte of the MESH wireless gateway 10 corresponding to the wireless subnetwork 20, and the low byte of each wireless node device in the single wireless subnetwork 20 is different from each other; the wireless node equipment is in communication connection with the MESH wireless gateway 10 corresponding to the wireless subnet 20 through the RF port;
the address of the wired node device includes a high byte and a low byte for a total of two bytes; the wired node devices corresponding to the single MESH wireless gateway 10 form a wired subnet 30, the high byte of each wired node device in the single wired subnet 30 is the same as the port ID of the MESH wireless gateway 10 corresponding to the wired subnet 30, and the low byte of each wired node device in the single wired subnet 30 is different from each other; the wired node device is in communication connection with the MESH wireless gateway 10 corresponding to the wired subnet 30 through the RS485 port.
In this embodiment, it can be regarded as the scale-up of the network system in the previous embodiment, regarding a single MESH wireless gateway 10, the related wireless node device and wired node device are the same as the implementation in the previous embodiment, but in this solution, it can adapt to the requirement of larger scale network system layout, and in order to maintain the normal communication of each node device while the scale-up of the network system, except that the device addresses of the node devices in each subnet are controlled to be different, the subnet addresses of the wireless subnet 20 and the wired subnet 30 corresponding to the single MESH wireless gateway 10 are different, and it is also necessary to integrally control the subnet addresses of all subnets corresponding to all MESH wireless gateways 10 to be different, for example, in the network system shown in fig. 2, the subnet addresses of the wireless subnet 20 and the wired subnet 30 corresponding to the MESH wireless gateway 101 are X1 and Y1, the subnet address of the wireless subnet 20 corresponding to the MESH wireless gateway 102 is X2, the subnet address of the wired subnet 30 corresponding to the MESH wireless gateway 103 is Y2. Of course, the subnet address of each MESH wireless gateway is usually the same as the subnet address of the corresponding wireless subnet 20, for example, the subnet address of MESH wireless gateway 101 is X1, and MESH wireless gateway 103, although not shown, can still define the subnet address of its wireless subnet, for example, X3. Other device addresses related to the MESH wireless gateway can be set to 0, and the application layer of the whole network system is the HDL-Bus protocol, so that effective communication between the wireless subnet 20 and the wired subnet 30 can be realized. Other, e.g., specific, node devices are similar to the previous embodiment, e.g., wireless panel 21, wireless window covering 22, relay 31, dimmer 32, etc.
In summary, based on the RS485 port and the RF port in the MESH wireless gateway, the wired node device and the wireless node device in the network are connected respectively, wherein a certain number of the same type of node devices form a subnet, all the node devices confirm the belonging subnet and their own specific addresses according to the high and low bytes, the node devices in one subnet correspond to the same MESH wireless gateway, and the wireless node device and the wired node device can realize the fast layout of the network system under the comprehensive scheduling of the wired port and the wireless port of the MESH wireless gateway, thereby adapting to the convenient construction under various and more constrained environments. Meanwhile, the comprehensive use of a plurality of MESH wireless gateways can adapt to the network construction requirements of various areas, and the scale of network equipment can be flexibly selected.
Fig. 3 is a flowchart of a communication method provided in an embodiment of the present application, where the communication method provided in this embodiment may be executed by a communication apparatus, and the communication apparatus may be implemented by hardware and/or software and integrated in a device. Referring to fig. 3, the communication method specifically includes:
step S310: confirming a starting high byte and a target high byte corresponding to a data packet to be received, wherein the starting high byte is a high byte of an address of a sending device sending the data packet to be received; the target high byte is the high byte of the address of the target equipment for receiving the data packet to be received.
Step S320: and judging whether the starting high byte and the target high byte are the same.
Step S330: and if the starting high byte is the same as the target high byte, directly sending the data packet to be received to the target equipment through the subnet where the sending equipment is located.
Step S340: and if the starting high byte is different from the target high byte, sending the data packet to be received to the target equipment through the MESH wireless gateway corresponding to the sending equipment and the MESH wireless gateway corresponding to the target equipment.
Further description of the communication process may be made in particular in connection with fig. 2. For example, the wireless panel 21 with the address X1001 needs to transmit a command to the dimmer 32 with the address Y2064 for dimming, and first, it needs to confirm that the high bytes of the two are X1 and Y2, respectively, and the two are different, that is, the wireless panel 21 and the dimmer 32 do not belong to the same subnet, at this time, the command X1001 needs to be transmitted to the corresponding MESH wireless gateway 101, then the MESH wireless gateway 101 transmits to the MESH wireless gateway 103 corresponding to Y2064, and then the MESH wireless gateway 103 transmits to the dimmer 32 with the address Y2064 to respond to the command. For another example, the wireless panel 21 with the address of X2001 needs to send a command for closing the curtain to the wireless curtain 22 with the address of X2064, and first needs to confirm that the high bytes of both are X2, that is, both are in the same subnet, and can directly transmit data without any forwarding of MESH wireless gateway, and then directly send the command to the wireless curtain 22 with the address of X2064, and the wireless curtain 22 can close the curtain after receiving the command.
To sum up, the embodiments of the present application connect wired node devices and wireless node devices in a network respectively through RS485 ports and RF ports in MESH wireless gateways, where a certain number of the same type of node devices form a subnet, all the node devices confirm the belonging subnet and their specific addresses according to high and low bytes, the node devices in a subnet correspond to the same MESH wireless gateway, and the wireless node devices and the wired node devices can implement fast layout of a network system under the comprehensive scheduling of the wired ports and the wireless ports of the MESH wireless gateway, adapt to convenient construction in various and more constrained environments, and implement accurate and efficient transmission of signals on this basis.
On the basis of the foregoing embodiments, fig. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application. Referring to fig. 4, the communication apparatus provided in this embodiment includes: a byte confirmation unit 410, a byte judgment unit 420, a first transmission unit 430 and a second transmission unit 440. Wherein:
a byte confirmation unit 410, configured to confirm a starting high byte and a target high byte corresponding to a data packet to be received, where the starting high byte is a high byte of an address of a sending device that sends the data packet to be received; the target high byte is the high byte of the address of the target equipment for receiving the data packet to be received;
a byte judgment unit 420 for judging whether the starting high byte and the target high byte are the same;
a first sending unit 430, configured to send the data packet to be received directly to the target device through a subnet where the sending device is located if the starting high byte is the same as the target high byte;
a second sending unit 440, configured to send the to-be-received data packet to the target device through the MESH wireless gateway corresponding to the sending device and the MESH wireless gateway corresponding to the target device if the starting high byte is different from the target high byte.
In summary, the above units work cooperatively, and are connected to wired node devices and wireless node devices in the network respectively through RS485 ports and RF ports in MESH wireless gateways, where a certain number of the same type of node devices form a subnet, all the node devices confirm the belonging subnet and their specific addresses according to high and low bytes, the node devices in a subnet correspond to the same MESH wireless gateway, and the wireless node devices and the wired node devices can implement fast layout of the network system under the comprehensive scheduling of the wired ports and the wireless ports of the MESH wireless gateway, thereby adapting to convenient construction in various and more constrained environments, and implementing accurate and efficient transmission of signals on this basis.
The embodiment of the application provides equipment, and the communication device provided by the embodiment of the application can be integrated in the equipment. Fig. 5 is a schematic structural diagram of an apparatus provided in an embodiment of the present application. Referring to fig. 5, the apparatus includes: a processor 540, a memory 520, an input device 530, an output device 540, and a communication device 550. The number of the processors 540 in the device may be one or more, and one processor 540 is taken as an example in fig. 5. The number of the memories 520 in the device may be one or more, and one memory 520 is taken as an example in fig. 5. The processor 540, the memory 520, the input device 530, the output device 540, and the communication device 550 of the apparatus may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The memory 520 may be used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the communication method according to any embodiment of the present application (for example, the byte confirmation unit 410, the byte judgment unit 420, the first transmission unit 430, and the second transmission unit 440 in the communication device). The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 540, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication device 550 is mainly used for network connection and data transmission with other device nodes through an RS485 port or an RF port.
The input device 530 may be used to receive input numeric or character information or operation commands, and in this embodiment, includes an operation module for performing user manual control and an audio acquisition module for performing sound acquisition, among others. The output device 540 may include a speaker, a display screen, and the like. It should be noted that the specific components of the input device 530 and the output device 540 may be set according to actual situations, for example, the input device and the display are respectively set as a keyboard and a display, or the input device and the display are integrally set as a touch display. It will be appreciated that in practice the device will have other conventional components required for proper functioning, such as a power supply module, etc.
The processor 540 executes various functional applications of the device and data processing by executing software programs, instructions, and modules stored in the memory 520, that is, implements the above-described communication method.
The device provided by the above can be used for executing the communication method provided by the above embodiment, and has corresponding functions and advantages.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a communication method, the communication method comprising: confirming a starting high byte and a target high byte corresponding to a data packet to be received, wherein the starting high byte is a high byte of an address of a sending device sending the data packet to be received; the target high byte is the high byte of the address of the target equipment for receiving the data packet to be received; judging whether the starting high byte is the same as the target high byte; if the starting high byte is the same as the target high byte, the data packet to be received is directly sent to the target equipment through the subnet where the sending equipment is located; and if the starting high byte is different from the target high byte, sending the data packet to be received to the target equipment through the MESH wireless gateway corresponding to the sending equipment and the MESH wireless gateway corresponding to the target equipment.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the communication method described above, and may also perform related operations in the communication method provided in any embodiments of the present application.
The communication apparatus, the storage medium, and the device provided in the foregoing embodiments may perform the communication method provided in any embodiment of the present application, and reference may be made to the communication method provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. The MESH-based network system, comprising: a MESH wireless gateway, wireless node equipment and wired node equipment;
the MESH wireless gateway comprises an RS485 port and an RF port, and the address of the MESH wireless gateway comprises two bytes in total, namely a high byte and a low byte;
the wireless node devices form a wireless sub-network, the address of the wireless node device comprises two bytes in total, namely a high byte and a low byte, the high byte of each wireless node device is the same as the high byte of the MESH wireless gateway, and the low byte of each wireless node device is different from the low byte of the MESH wireless gateway; the wireless node equipment is in communication connection with the MESH wireless gateway through the RF port;
the wired node equipment forms a wired subnet, the address of the wired node equipment comprises two bytes in total including a high byte and a low byte, the high byte of each wired node equipment is the same, the low byte of each wired node equipment is different, the high byte of the wired node equipment is different from the high byte of the wireless node equipment, and the wired node equipment and the MESH wireless gateway are in communication connection through the RS485 port.
2. The networking system of claim 1, wherein the low byte portion of the address of the MESH wireless gateway is 0.
3. The network system of claim 1, wherein the application layer of the network system is an HDL-Bus protocol.
4. The MESH-based network system, comprising: at least two MESH wireless gateways, at least one wireless node device and at least one wired node device;
the MESH wireless gateway comprises an RS485 port and an RF port, and the port ID of each RS485 port is different; the address of the MESH wireless gateway comprises two bytes in total, namely a high byte and a low byte, the high byte and the port ID of each MESH wireless gateway are different, and the MESH wireless gateways are in communication connection through an RF port; each MESH wireless gateway corresponds to at least one wireless node device and/or at least one wired node device respectively;
the address of the wireless node device comprises a total of two bytes, a high byte and a low byte; the wireless node devices corresponding to the single MESH wireless gateway form a wireless sub-network, the high byte of each wireless node device in the single wireless sub-network is the same as the high byte of the MESH wireless gateway corresponding to the wireless sub-network, and the low byte of each wireless node device in the single wireless sub-network is different from the low byte of each wireless node device in the single wireless sub-network; the wireless node equipment is in communication connection with the MESH wireless gateway corresponding to the wireless subnet through the RF port;
the address of the wired node device includes a high byte and a low byte for a total of two bytes; the wired node devices corresponding to the single MESH wireless gateway form a wired subnet, the high byte of each wired node device in the single wired subnet is the same as the port ID of the MESH wireless gateway corresponding to the wired subnet, and the low byte of each wired node device in the single wired subnet is different from each other; and the wired node equipment is in communication connection with the MESH wireless gateway corresponding to the wired subnet through the RS485 port.
5. The networking system of claim 4, wherein the low byte portion of the address of the MESH wireless gateway is 0.
6. The networking system of claim 4, wherein the application layer of the networking system is the HDL-Bus protocol.
7. A communication method used in the network system according to any one of claims 1 to 6, comprising:
confirming a starting high byte and a target high byte corresponding to a data packet to be received, wherein the starting high byte is a high byte of an address of a sending device sending the data packet to be received; the target high byte is the high byte of the address of the target equipment for receiving the data packet to be received;
judging whether the starting high byte is the same as the target high byte;
if the starting high byte is the same as the target high byte, the data packet to be received is directly sent to the target equipment through the subnet where the sending equipment is located;
and if the starting high byte is different from the target high byte, sending the data packet to be received to the target equipment through the MESH wireless gateway corresponding to the sending equipment and the MESH wireless gateway corresponding to the target equipment.
8. A communication apparatus used in the network system according to any one of claims 1 to 6, comprising:
the byte confirmation unit is used for confirming a starting high byte and a target high byte corresponding to a data packet to be received, wherein the starting high byte is a high byte of an address of sending equipment for sending the data packet to be received; the target high byte is the high byte of the address of the target equipment for receiving the data packet to be received;
a byte judging unit for judging whether the starting high byte and the target high byte are the same;
a first sending unit, configured to send the data packet to be received directly to the target device through a subnet where the sending device is located if the starting high byte is the same as the target high byte;
and a second sending unit, configured to send the data packet to be received to the target device through the MESH wireless gateway corresponding to the sending device and the MESH wireless gateway corresponding to the target device if the starting high byte is different from the target high byte.
9. A communication device, comprising: one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the communication method of claim 7.
10. A storage medium storing computer-executable instructions for performing the communication method of claim 7 when executed by a computer processor.
CN201811560584.2A 2018-12-20 2018-12-20 Network system, communication method, device, equipment and storage medium based on MESH Active CN109413641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811560584.2A CN109413641B (en) 2018-12-20 2018-12-20 Network system, communication method, device, equipment and storage medium based on MESH

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811560584.2A CN109413641B (en) 2018-12-20 2018-12-20 Network system, communication method, device, equipment and storage medium based on MESH

Publications (2)

Publication Number Publication Date
CN109413641A CN109413641A (en) 2019-03-01
CN109413641B true CN109413641B (en) 2021-06-01

Family

ID=65460300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811560584.2A Active CN109413641B (en) 2018-12-20 2018-12-20 Network system, communication method, device, equipment and storage medium based on MESH

Country Status (1)

Country Link
CN (1) CN109413641B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110234115A (en) * 2019-05-23 2019-09-13 深圳和而泰家居在线网络科技有限公司 More facility communication systems and data communications method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020014185A (en) * 2000-08-16 2002-02-25 고대식 Intelligent Home-server and Wireless Device for Monitoring and Control of Intelligent Home-server
CN101068198A (en) * 2007-01-29 2007-11-07 当代天启技术(北京)有限公司 Method, device and system for transmitting information in building system
CN101163073A (en) * 2007-11-14 2008-04-16 当代天启技术(北京)有限公司 Networking method of intelligent domestic system, data transmission method and intelligent domestic system
CN101682546A (en) * 2007-04-13 2010-03-24 Hart通信基金会 Under process control environment with the wired and wireless mixed communication of field apparatus
CN103179752A (en) * 2013-03-07 2013-06-26 杨彤 On-scene communication method and on-scene communication system for streetlamps
CN103442025A (en) * 2013-07-03 2013-12-11 华清科盛(北京)信息技术有限公司 Wireless network cloud platform system based on lighting nodes
CN203982157U (en) * 2014-06-16 2014-12-03 重庆瑞坤科技发展有限公司 Intelligent domestic system and intelligent gateway thereof
CN106161220A (en) * 2016-06-08 2016-11-23 山东普奥智能软件科技有限公司 Things-internet gateway equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8713132B2 (en) * 2005-03-16 2014-04-29 Icontrol Networks, Inc. Device for data routing in networks

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020014185A (en) * 2000-08-16 2002-02-25 고대식 Intelligent Home-server and Wireless Device for Monitoring and Control of Intelligent Home-server
CN101068198A (en) * 2007-01-29 2007-11-07 当代天启技术(北京)有限公司 Method, device and system for transmitting information in building system
CN101682546A (en) * 2007-04-13 2010-03-24 Hart通信基金会 Under process control environment with the wired and wireless mixed communication of field apparatus
CN101163073A (en) * 2007-11-14 2008-04-16 当代天启技术(北京)有限公司 Networking method of intelligent domestic system, data transmission method and intelligent domestic system
CN103179752A (en) * 2013-03-07 2013-06-26 杨彤 On-scene communication method and on-scene communication system for streetlamps
CN103442025A (en) * 2013-07-03 2013-12-11 华清科盛(北京)信息技术有限公司 Wireless network cloud platform system based on lighting nodes
CN203982157U (en) * 2014-06-16 2014-12-03 重庆瑞坤科技发展有限公司 Intelligent domestic system and intelligent gateway thereof
CN106161220A (en) * 2016-06-08 2016-11-23 山东普奥智能软件科技有限公司 Things-internet gateway equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HDL-Bus智能照明控制系统;河东企业HDL;《HDL-Bus设计手册》;20080820;第10、78-79页 *

Also Published As

Publication number Publication date
CN109413641A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN101820435B (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
EP1569419B1 (en) Method of assigning addresses to a plurality of devices on a network and a network system therefor
CN107566229A (en) The packet control process of intelligent domestic system
US20130086195A1 (en) DEVICE AND METHOD FOR ENABLING BACnet COMMUNICATION FOR WIRED AND WIRELESS DEVICES OPERABLE WITHIN A BUILDING AUTOMATION SYSTEM
CN103581816A (en) Wireless multi-room music system synchronization mechanism based on UPnP protocol
JP2006527560A (en) Method of constructing wireless network for selective broadcast
CN104426680A (en) Data transmission method, device and system
CN107852344B (en) Storage network element discovery method and device
CN113115346A (en) Gateway multi-protocol conversion device based on 5G and method thereof
CN109413641B (en) Network system, communication method, device, equipment and storage medium based on MESH
KR101846965B1 (en) Air conditioner and communication method of the same
CN111866856B (en) Mesh device control method and system, storage medium and electronic device
CN110493338B (en) Equipment mutual control method, system and computer readable storage medium
Farej et al. Extended Range Evaluation of a BLE Mesh Network for Control Application
WO2021196963A1 (en) Information synchronization method, terminal, and information synchronization system
CN101217446B (en) A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel
CN102833139A (en) Communication protocol of bus control system
KR101629148B1 (en) Organizing MODBUS wire communication devices to be wireless communication and a method based on a wireless sensor network
TWI795619B (en) Gateway device with built-in server module and communication system thereof
JP7475387B2 (en) Wireless Mesh Network System
WO2014020667A1 (en) Programmable logic controller
US20070286116A1 (en) Wireless bridging method for wireless IEEE 1394 network environment and wireless bridge apparatus thereof
CN113741210B (en) Household equipment control method based on 5G technology, controller and household system
CN111970748B (en) Data transmission method and device, AP device and storage medium
JP7129663B2 (en) Communication system and communication method

Legal Events

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