CN109413641A - 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 PDFInfo
- Publication number
- CN109413641A CN109413641A CN201811560584.2A CN201811560584A CN109413641A CN 109413641 A CN109413641 A CN 109413641A CN 201811560584 A CN201811560584 A CN 201811560584A CN 109413641 A CN109413641 A CN 109413641A
- Authority
- CN
- China
- Prior art keywords
- byte
- high byte
- radio network
- mesh
- network gateway
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000006854 communication Effects 0.000 title claims abstract description 53
- 238000004891 communication Methods 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 title abstract description 7
- 230000015654 memory Effects 0.000 claims description 20
- 230000005540 biological transmission Effects 0.000 claims description 18
- 238000012790 confirmation Methods 0.000 claims description 7
- 238000010276 construction Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-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
Technical field
The invention relates to internet of things field, more particularly to the network system based on MESH, communication means, device,
Equipment and storage medium.
Background technique
With the development of computer network and electronic technology, the theory of digital home gradually puts into practical application
In, and smart home is that wherein investment applies earliest one of technical field.The network establishment of smart home be usually indoors,
Environmental factor in need of consideration is relatively more, design early period of existing network system wiring and inconvenient, the effect of Specific construction
Rate is all relatively low.
Summary of the invention
This application provides network system, communication means, device, equipment and storage mediums based on MESH, to provide one
Kind constructing operation is convenient, the network system scheme improved efficiency.
In a first aspect, providing a kind of network system based on MESH, comprising: MESH radio network gateway, a radio node are set
Standby and line node equipment;
The MESH radio network gateway includes the port RS485 and the port RF, and the address of the MESH radio network gateway includes high word
Section and low byte two bytes in total;
The wireless node apparatus forms a wireless sub network, and the address of the wireless node apparatus includes high byte and low
Byte two bytes in total, the high byte of each wireless node apparatus is identical as the high byte of the MESH radio network gateway,
The low byte of each wireless node apparatus is different and different from the low byte of the MESH radio network gateway;It is described wireless
Node device and the MESH radio network gateway pass through the port RF progress communication connection;
The line node equipment forms a wired sub-network, and the address of the line node equipment includes high byte and low
Byte two bytes in total, the high byte of each line node equipment is identical, the low word of each line node equipment
Save different, the high byte of the line node equipment and the high byte difference of the wireless node apparatus, wired section
Point device and the MESH radio network gateway pass through the port RS485 progress communication connection.
Wherein, the low-byte portion of the address of the MESH radio network gateway is 0.
Wherein, the application layer of the network system is HDL-Bus agreement.
Second aspect provides a kind of network system based on MESH, comprising: at least two MESH radio network gateways, at least one
A wireless node apparatus and at least one line node equipment;
The MESH radio network gateway includes the port RS485 and the port RF, and the port id of each port RS485 is different;
The address of the MESH radio network gateway includes high byte and low byte two bytes in total, the height of each MESH radio network gateway
Byte and the port id are different, are communicatively coupled between the MESH radio network gateway by the port RF;Each institute
It states MESH radio network gateway and respectively corresponds an at least wireless node apparatus and/or at least one line node equipment;
The address of the wireless node apparatus includes high byte and low byte two bytes in total;The single MESH is wireless
The corresponding wireless node apparatus of gateway forms a wireless sub network, each wireless node apparatus in the single wireless sub network
The high byte of high byte MESH radio network gateway corresponding with the wireless sub network is identical, and each of single described wireless sub network is wireless
The low byte of node device is different;Wireless node apparatus MESH radio network gateway corresponding with place wireless sub network passes through
The port RF carries out communication connection;
The address of the line node equipment includes high byte and low byte two bytes in total;The single MESH is wireless
The corresponding line node equipment of gateway forms a wired sub-network, each line node equipment in the single wired sub-network
The port id of high byte MESH radio network gateway corresponding with the wired sub-network is identical, and each of single described wired sub-network has
The low byte of line node device is different;Line node equipment MESH radio network gateway corresponding with place wired sub-network is logical
It crosses the port RS485 and carries out communication connection.
Wherein, the low-byte portion of the address of the MESH radio network gateway is 0.
Wherein, the application layer of the network system is HDL-Bus agreement.
The third aspect provides a kind of communication means, is used for first aspect and the described in any item network systems of second aspect,
Include:
Confirm that the corresponding starting high byte of data packet to be received and target high byte, the starting high byte are described in transmission
The high byte of the address of the sending device of data packet to be received;The target high byte is the mesh for receiving the data packet to be received
The high byte of the address of marking device;
Judge whether the starting high byte and target high byte are identical;
If the starting high byte is identical with target high byte, by the subnet where the sending device directly to institute
It states target device and sends the data packet to be received;
If the starting high byte and target high byte be not identical, pass through the corresponding MESH wireless network of the sending device
It closes MESH radio network gateway corresponding with the target device and sends the data packet to be received to the target device.
Fourth aspect provides a kind of communication device, is used for first aspect and the described in any item network systems of second aspect,
Include:
Byte confirmation unit, for confirming the corresponding starting high byte of data packet to be received and target high byte, described
Beginning high byte is to send the high byte of the address of sending device of the data packet to be received;The target high byte is reception institute
State the high byte of the address of the target device of data packet to be received;
Byte judging unit, for judging whether the starting high byte and target high byte are identical;
First transmission unit passes through the sending device if identical with target high byte for the starting high byte
The subnet at place directly sends the data packet to be received to the target device;
Second transmission unit is set if not identical for the starting high byte and target high byte by the transmission
Standby corresponding MESH radio network gateway and the corresponding MESH radio network gateway of the target device to the target device send it is described to
Received data packet.
5th aspect, provides a kind of equipment, comprising: one or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the communication means as described in the third aspect.
6th aspect, provides a kind of storage medium comprising computer executable instructions, the computer executable instructions
When being executed as computer processor for executing the communication means as described in the third aspect.
The embodiment of the present application is by being separately connected in network based on the port RS485 and the port RF in MESH radio network gateway
Line node equipment and wireless node apparatus, wherein a certain number of same class node devices form a subnet, it is all
Node device confirms that affiliated subnet and the specific address of itself, the node device in a subnet are corresponding same according to high low byte
The cable port and radio port of one MESH radio network gateway, wireless node apparatus and line node equipment in MESH radio network gateway
Integrated dispatch under be able to achieve the fast layout of network system, adapt to multiplicity and constrain the convenient construction under more environment.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of system architecture diagram of network system based on MESH provided by the embodiments of the present application;
Fig. 2 is the system architecture diagram of another network system based on MESH provided by the embodiments of the present application;
Fig. 3 is a kind of method flow diagram of communication means provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of communication device provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of equipment provided by the embodiments of the present application.
Specific embodiment
It is specifically real to the application with reference to the accompanying drawing in order to keep the purposes, technical schemes and advantages of the application clearer
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the application,
Rather than the restriction to the application.It also should be noted that illustrating only for ease of description, in attached drawing related to the application
Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail
It applies example and is described as the processing or method described as flow chart.Although operations (or step) are described as sequence by flow chart
Processing, but many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations
It can be rearranged.The processing can be terminated when its operations are completed, be not included in attached drawing it is also possible to have
Additional step.The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Referring to FIG. 1, it is a kind of system architecture diagram of network system based on MESH provided by the embodiments of the present application, such as
Shown in figure, it is somebody's turn to do the network system based on MESH, comprising: a MESH radio network gateway 10, wireless node apparatus and line node are set
It is standby;
The MESH radio network gateway 10 includes the port RS485 and the port RF, and the address of the MESH radio network gateway 10 includes
High byte and low byte two bytes in total;
The wireless node apparatus forms a wireless sub network 20, the address of the wireless node apparatus include high byte and
Low byte two bytes in total, the high byte phase of the high byte of each wireless node apparatus and the MESH radio network gateway 10
Together, the low byte of each wireless node apparatus is different and different from the low byte of the MESH radio network gateway 10;Institute
It states wireless node apparatus and the MESH radio network gateway 10 and communication connection is carried out by the port RF;
The line node equipment forms a wired sub-network 30, the address of the line node equipment include high byte and
Low byte two bytes in total, the high byte of each line node equipment is identical, each line node equipment it is low
Byte is different, and the high byte of the line node equipment and the high byte of the wireless node apparatus are different, described wired
Node device and the MESH radio network gateway 10 pass through the port RS485 progress communication connection.
In the present solution, being based on ATMEL vendor A T86RF212B chip, the mechanics of communication of whole network system meets
802.15.4, and then the simple netted wireless network of MESH is formed, in the wireless network, network layer is MESH structure, application
Layer is HDL-Bus agreement, and the protocol stack of HDL-Bus agreement compares ZIGBEE protocol stack, portable and smart, convenient consistent, because
HDL-Bus agreement is equally applicable to the wired network communication based on RS485, therefore wireless sub network 20 in the present embodiment and wired
Subnet 30 has the primary condition to communicate with each other.
In the present solution, node device in wireless sub network 20 and wired sub-network 30 all by short address classification method come real
Existing, specifically, wireless node apparatus and line node equipment have 2 byte short addresses, in the present embodiment, claim high byte
For subnet address, low address is device address, for the identification of extension and equipment convenient for network system scale, the subnet of gateway
Location is X, and device address 0, corresponding to the length of 2 byte short addresses, X can be any address in 1~254, wireless son
The subnet address of wireless node apparatus in net 20 and the subnet address of gateway are identical, and device address is 1~254 (with gateway
Device address is different) but it is different.For wired sub-network 30, the subnet address of line node equipment therein is Y, Y
It can be any address different from X in 1~254, the device address of line node equipment is 1~254 but different, reality
On, indoors in the network system of smart home, the node device in a subnet is generally all not up to 254, common
Wireless node apparatus is for example wireless panel 21, wireless curtain 22, common are line node device such as relay 31, light modulator
32。
In conclusion being separately connected having in network by based on the port RS485 and the port RF in MESH radio network gateway
Line node device and wireless node apparatus, wherein a certain number of same class node devices form a subnet, all nodes
Equipment confirms that affiliated subnet and the specific address of itself, the node device in a subnet correspond to same according to high low byte
MESH radio network gateway, wireless node apparatus and line node equipment MESH radio network gateway cable port and radio port it is comprehensive
The fast layout for being able to achieve network system under scheduling is closed, multiplicity is adapted to and constrains the convenient construction under more environment
Referring to FIG. 2, it is the system architecture diagram of another network system based on MESH provided by the embodiments of the present application,
As shown, being somebody's turn to do the network system based on MESH, comprising: at least two MESH radio network gateways 10, at least one radio node are set
Standby and at least one line node equipment;
The MESH radio network gateway 10 includes the port RS485 and the port RF, and the port id of each port RS485 is not
Together;The address of the MESH radio network gateway 10 includes high byte and low byte two bytes in total, each MESH wireless network
The high byte of pass 10 and the port id are different, carry out communication link by the port RF between the MESH radio network gateway 10
It connects;Each MESH radio network gateway 10 respectively corresponds at least a wireless node apparatus and/or at least one line node and sets
It is standby;
The address of the wireless node apparatus includes high byte and low byte two bytes in total;The single MESH is wireless
The corresponding wireless node apparatus of gateway 10 forms a wireless sub network 20, each radio node in the single wireless sub network 20
The high byte of equipment is identical as the high byte of the corresponding MESH radio network gateway 10 of wireless sub network 20, the single wireless sub network 20
In each wireless node apparatus low byte it is different;The wireless node apparatus is corresponding with place wireless sub network 20
MESH radio network gateway 10 carries out communication connection by the port RF;
The address of the line node equipment includes high byte and low byte two bytes in total;The single MESH is wireless
The corresponding line node equipment of gateway 10 forms a wired sub-network 30, each line node in the single wired sub-network 30
The high byte of equipment is identical as the port id of the corresponding MESH radio network gateway 10 of wired sub-network 30, the single wired sub-network
The low byte of each line node equipment in 30 is different;The line node equipment is corresponding with place wired sub-network 30
MESH radio network gateway 10 carries out communication connection by the port RS485.
In the present embodiment, the popularization of network system in previous embodiment can be considered as, for single MESH wireless network
For closing 10, relevant wireless node apparatus and line node equipment are identical as the implementation in previous embodiment, but at this
In scheme, more massive network system layout requirements are adapted to, while the popularization of network system, to remain every
The normal communication of a node device, in addition to the device address for controlling the node device in each subnet is different, single MESH is wireless
The corresponding wireless sub network 20 of gateway 10 is different with the subnet address of wired sub-network 30, it is also necessary to whole to control all MESH wireless networks
The subnet address for closing 10 corresponding all-ones subnets is different, such as in network system shown in Fig. 2, MESH radio network gateway 101 is right
The subnet address of the wireless sub network 20 and wired sub-network 30 answered is respectively X1 and Y1, the corresponding wireless son of MESH radio network gateway 102
The subnet address of net 20 is X2, and the subnet address of the corresponding wired sub-network 30 of MESH radio network gateway 103 is Y2.Certainly, each
The subnet address of MESH radio network gateway is usually identical as the subnet address of corresponding wireless sub network 20, such as MESH radio network gateway
101 subnet address is X1, the although not shown wireless node apparatus of MESH radio network gateway 103, but can still define it
The subnet address of wireless sub network, such as X3.Other device addresses about MESH radio network gateway can be set to 0, whole network
Systematic difference layer is HDL-Bus agreement, and the efficient communication between wireless sub network 20 and wired sub-network 30 may be implemented.It is other for example
Specific node device is similar with previous embodiment, such as wireless panel 21, wireless curtain 22, relay 31, light modulator 32 etc..
In conclusion being separately connected having in network by based on the port RS485 and the port RF in MESH radio network gateway
Line node device and wireless node apparatus, wherein a certain number of same class node devices form a subnet, all nodes
Equipment confirms that affiliated subnet and the specific address of itself, the node device in a subnet correspond to same according to high low byte
MESH radio network gateway, wireless node apparatus and line node equipment MESH radio network gateway cable port and radio port it is comprehensive
The fast layout for being able to achieve network system under scheduling is closed, multiplicity is adapted to and constrains the convenient construction under more environment.It is more simultaneously
The comprehensive of a MESH radio network gateway uses the network construction requirement that can adapt to various areas, the rule of the flexible choice network equipment
Mould.
Fig. 3 is a kind of flow chart of communication means provided by the embodiments of the present application, and communication means provided in this embodiment can
To be executed by communication device, which can be realized by way of hardware and/or software, and be integrated in a device.Ginseng
Fig. 3 is examined, which specifically includes:
Step S310: confirm the corresponding starting high byte of data packet to be received and target high byte, the starting high byte
For the high byte of the address of the sending device of the transmission data packet to be received;The target high byte is that reception is described to be received
The high byte of the address of the target device of data packet.
Step S320: judge whether the starting high byte and target high byte are identical.
Step S330: if the starting high byte is identical with target high byte, pass through the son where the sending device
Net directly sends the data packet to be received to the target device.
Step S340: corresponding by the sending device if the starting high byte and target high byte be not identical
MESH radio network gateway and the corresponding MESH radio network gateway of the target device send the data to be received to the target device
Packet.
The description of further communication process can be specifically carried out in conjunction with Fig. 2.Such as the wireless panel 21 that address is X1001 needs
Instruction is sent to the light modulator 32 that address is Y2064 be dimmed, it is necessary first to the high byte both confirmed be respectively X1 and
Y2, the two is different, i.e., the wireless panel 21 and the light modulator 32 are not belonging to the same subnet, needs the finger first by X1001 at this time
Order is sent to its corresponding MESH radio network gateway 101, then by MESH radio network gateway 101 be sent to the corresponding MESH of Y2064 without
Gauze closes 103, then is sent to the response instruction of light modulator 32 that address is Y2064 by MESH radio network gateway 103.In another example address is
The wireless panel 21 of X2001 needs to send the instruction for closing curtain to the wireless curtain 22 that address is X2064, it is necessary first to confirm
The high byte of the two is X2, that is, the two is in same subnet, can directly carry out data transmission without any MESH
The forwarding of radio network gateway then directly sends an instruction to the wireless curtain 22 that address is X2064, this is wireless after curtain 22 receives
Close curtain.
In conclusion the embodiment of the present application is by connecting respectively based on the port RS485 and the port RF in MESH radio network gateway
Line node equipment and the wireless node apparatus in network are connect, wherein a certain number of same class node devices form a son
Net, all node devices confirm affiliated subnet and the specific address of itself, the node in a subnet according to high low byte
Equipment corresponds to the same MESH radio network gateway, wireless node apparatus and line node equipment in the cable port of MESH radio network gateway
With the fast layout for being able to achieve network system under the integrated dispatch of radio port, adapts to multiplicity and constrain under more environment just
The precise and high efficiency transmission of signal is realized in victory construction on this basis.
On the basis of the above embodiments, Fig. 4 is a kind of structural schematic diagram of communication device provided by the embodiments of the present application.
With reference to Fig. 4, communication device provided in this embodiment, comprising: byte confirmation unit 410, byte judging unit 420, first are sent
Unit 430 and the second transmission unit 440.Wherein:
Byte confirmation unit 410, it is described for confirming the corresponding starting high byte of data packet to be received and target high byte
Originating high byte is to send the high byte of the address of sending device of the data packet to be received;The target high byte is to receive
The high byte of the address of the target device of the data packet to be received;
Byte judging unit 420, for judging whether the starting high byte and target high byte are identical;
First transmission unit 430 is set if identical with target high byte for the starting high byte by the transmission
The subnet at standby place directly sends the data packet to be received to the target device;
Second transmission unit 440 passes through the transmission if not identical for the starting high byte and target high byte
The corresponding MESH radio network gateway of equipment and the corresponding MESH radio network gateway of the target device are to described in target device transmission
Data packet to be received.
In conclusion above-mentioned each unit cooperates, by based on the port RS485 and the end RF in MESH radio network gateway
Mouthful, line node equipment and the wireless node apparatus being separately connected in network, wherein a certain number of same class node device groups
At a subnet, all node devices are according to subnet belonging to the confirmation of high low byte and the specific address of itself, a subnet
In node device correspond to the same MESH radio network gateway, wireless node apparatus and line node equipment are in MESH radio network gateway
It is able to achieve the fast layout of network system under the integrated dispatch of cable port and radio port, adapts to multiplicity and constrains more ring
The precise and high efficiency transmission of signal is realized in convenient construction under border on this basis.
The embodiment of the present application provides a kind of equipment, and communication device provided by the embodiments of the present application can be integrated in the equipment.
Fig. 5 is a kind of structural schematic diagram of equipment provided by the embodiments of the present application.With reference to Fig. 5, which includes: processor 540, storage
Device 520, input unit 530, output device 540 and communication device 550.The quantity of processor 540 can be one in the equipment
It is a or multiple, in Fig. 5 by taking a processor 540 as an example.The quantity of memory 520 can be one or more in the equipment
It is a, in Fig. 5 by taking a memory 520 as an example.Processor 540, memory 520, the input unit 530, output device of the equipment
540 and communication device 550 can be connected by bus or other modes, in Fig. 5 for through bus connection.
Memory 520 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, the corresponding program instruction/module of communication means as described in the application any embodiment is (for example, communication device
In byte confirmation unit 410, byte judging unit 420, the first transmission unit 430 and the second transmission unit 440).Memory
520 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one function
Application program needed for energy;Storage data area, which can be stored, uses created data etc. according to equipment.In addition, memory 520
May include high-speed random access memory, can also include nonvolatile memory, a for example, at least disk memory,
Flush memory device or other non-volatile solid state memory parts.In some instances, memory 520 can further comprise relative to
The remotely located memory of processor 540, these remote memories can pass through network connection to equipment.The example of above-mentioned network
Including but not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Communication device 550 mainly carries out network connection sum number by the port RS485 or the port RF and other equipment node
According to transmission.
Input unit 530 can be used for receiving the number of input perhaps character information or operational order, in the present solution,
It especially include carrying out the operation module and the audio collection module for carrying out sound collection that user manually controls.Output device 540 can
To include loudspeaker, display screen etc..It should be noted that the concrete composition of input unit 530 and output device 540 can basis
Actual conditions setting, such as it is respectively set to keyboard and display screen, or be wholely set as touch display screen.It is understood that
It is that in practical application, the equipment is there are also conventional components needed for other realization normal functions, such as power module etc..
Software program, instruction and the module that processor 540 is stored in memory 520 by operation, thereby executing setting
Standby various function application and data processing, that is, realize above-mentioned communication means.
The equipment of above-mentioned offer can be used for executing communication means provided by the above embodiment, have corresponding function and beneficial
Effect.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
When being executed by computer processor for executing a kind of communication means, which includes: confirmation data to be received for instruction
Corresponding starting high byte and target high byte are wrapped, the starting high byte is to send the sending device of the data packet to be received
Address high byte;The target high byte is to receive the high byte of the address of target device of the data packet to be received;
Judge whether the starting high byte and target high byte are identical;If the starting high byte is identical with target high byte, lead to
Subnet where crossing the sending device directly sends the data packet to be received to the target device;If the high word of starting
Section and target high byte be not identical, then corresponding by the corresponding MESH radio network gateway of the sending device and the target device
MESH radio network gateway sends the data packet to be received to the target device.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap
It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term
Matter " may include may reside in different location (such as by network connection different computer systems in) two or
More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
Communication means provided by the application any embodiment can also be performed in the communication means that executable instruction is not limited to the described above
In relevant operation.
Communication device, storage medium and the equipment provided in above-described embodiment can be performed the application any embodiment and be provided
Communication means, the not technical detail of detailed description in the above-described embodiments, reference can be made to provided by the application any embodiment
Communication means.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. the network system based on MESH characterized by comprising a MESH radio network gateway, wireless node apparatus and wired
Node device;
The MESH radio network gateway includes the port RS485 and the port RF, the address of the MESH radio network gateway include high byte and
Low byte two bytes in total;
The wireless node apparatus forms a wireless sub network, and the address of the wireless node apparatus includes high byte and low byte
Two bytes in total, the high byte of each wireless node apparatus is identical as the high byte of the MESH radio network gateway, each
The low byte of the wireless node apparatus is different and different from the low byte of the MESH radio network gateway;The radio node
Equipment and the MESH radio network gateway pass through the port RF progress communication connection;
The line node equipment forms a wired sub-network, and the address of the line node equipment includes high byte and low byte
The high byte of two bytes in total, each line node equipment is identical, and the low byte of each line node equipment is each
Not identical, the high byte of the line node equipment and the high byte of the wireless node apparatus are different, and the line node is set
It is standby that communication connection is carried out by the port RS485 with the MESH radio network gateway.
2. network system according to claim 1, which is characterized in that the low byte portion of the address of the MESH radio network gateway
It is divided into 0.
3. network system according to claim 1, which is characterized in that the application layer of the network system is HDL-Bus association
View.
4. the network system based on MESH characterized by comprising at least two MESH radio network gateways, at least one is wireless saves
Point device and at least one line node equipment;
The MESH radio network gateway includes the port RS485 and the port RF, and the port id of each port RS485 is different;It is described
The address of MESH radio network gateway includes high byte and low byte two bytes in total, the high byte of each MESH radio network gateway
And the port id is different, is communicatively coupled between the MESH radio network gateway by the port RF;It is each described
MESH radio network gateway respectively corresponds an at least wireless node apparatus and/or at least one line node equipment;
The address of the wireless node apparatus includes high byte and low byte two bytes in total;The single MESH radio network gateway
Corresponding wireless node apparatus forms a wireless sub network, the high word of each wireless node apparatus in the single wireless sub network
The high byte for saving MESH radio network gateway corresponding with the wireless sub network is identical, each radio node in the single wireless sub network
The low byte of equipment is different;Wireless node apparatus MESH radio network gateway corresponding with place wireless sub network passes through described
The port RF carries out communication connection;
The address of the line node equipment includes high byte and low byte two bytes in total;The single MESH radio network gateway
Corresponding line node equipment forms a wired sub-network, the high word of each line node equipment in the single wired sub-network
The port id for saving MESH radio network gateway corresponding with the wired sub-network is identical, the wired section of each of single described wired sub-network
The low byte of point device is different;Line node equipment MESH radio network gateway corresponding with place wired sub-network passes through institute
It states the port RS485 and carries out communication connection.
5. network system according to claim 4, which is characterized in that the low byte portion of the address of the MESH radio network gateway
It is divided into 0.
6. network system according to claim 4, which is characterized in that the application layer of the network system is HDL-Bus association
View.
7. a kind of communication means is used for network system described in any one of claims 1-6 characterized by comprising
Confirm that the corresponding starting high byte of data packet to be received and target high byte, the starting high byte are that transmission is described waiting
Receive the high byte of the address of the sending device of data packet;The target high byte is to receive the target of the data packet to be received to set
The high byte of standby address;
Judge whether the starting high byte and target high byte are identical;
If the starting high byte is identical with target high byte, by the subnet where the sending device directly to the mesh
Marking device sends the data packet to be received;
If the starting high byte and target high byte be not identical, by the corresponding MESH radio network gateway of the sending device and
The corresponding MESH radio network gateway of the target device sends the data packet to be received to the target device.
8. a kind of communication device is used for network system described in any one of claims 1-6 characterized by comprising
Byte confirmation unit, for confirming the corresponding starting high byte of data packet to be received and target high byte, the starting is high
Byte is to send the high byte of the address of sending device of the data packet to be received;The target high byte be receive it is described to
The high byte of the address of the target device of received data packet;
Byte judging unit, for judging whether the starting high byte and target high byte are identical;
First transmission unit, if identical with target high byte for the starting high byte, by where the sending device
Subnet directly send the data packet to be received to the target device;
Second transmission unit passes through the sending device pair if not identical for the starting high byte and target high byte
The corresponding MESH radio network gateway of MESH radio network gateway and the target device answered sends described to be received to the target device
Data packet.
9. a kind of equipment characterized by comprising one or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now communication means as claimed in claim 6.
10. a kind of storage medium comprising computer executable instructions, which is characterized in that the computer executable instructions by
For executing communication means as claimed in claim 6 when computer processor executes.
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 true CN109413641A (en) | 2019-03-01 |
CN109413641B 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) |
Cited By (1)
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 (9)
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 |
US20090066789A1 (en) * | 2005-03-16 | 2009-03-12 | Marc Baum | Device for Data Routing in Networks |
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 |
-
2018
- 2018-12-20 CN CN201811560584.2A patent/CN109413641B/en active Active
Patent Citations (9)
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 |
US20090066789A1 (en) * | 2005-03-16 | 2009-03-12 | Marc Baum | Device for Data Routing in Networks |
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)
Title |
---|
河东企业HDL: "HDL-Bus智能照明控制***", 《HDL-BUS设计手册》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110234115A (en) * | 2019-05-23 | 2019-09-13 | 深圳和而泰家居在线网络科技有限公司 | More facility communication systems and data communications method |
Also Published As
Publication number | Publication date |
---|---|
CN109413641B (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1271824C (en) | Portable information system and access equipment, home network system and access method | |
JP3922817B2 (en) | Communication node and communication terminal | |
TWI226180B (en) | Wireless communications device and method for operating the device, signal-bearing medium, logic circuit of interconnected electrically conductive elements, and wireless telephony module | |
CN101527665B (en) | Network apparatus, method for assigning installation position of network apparatus and notification apparatus | |
JP2005085280A (en) | System and method for automatic conversion from wap client provisioning xml represented object to oma dm tree structure represented object | |
JP2009510811A5 (en) | ||
CA2236569A1 (en) | Method for installing a wireless network | |
CN103856961A (en) | Communications network, computer architecture, computer-implemented method and computer program product for development and management of femtocell-based applications | |
CN208258096U (en) | Receiving device and wireless screen transmission system | |
CN101350813A (en) | Method and apparatus for providing WiFi access internet for digital household electrical appliance | |
CN103477590B (en) | Method and device for configuring on the basis of management rules | |
CN106297228A (en) | The control method of ZigBee-network and control system | |
CN110290187A (en) | Transmission method and device, storage medium, the electronic device of data information | |
CN105281957B (en) | A kind of method and server of the access device in Internet of Things | |
CN109413641A (en) | Network system, communication method, device, equipment and storage medium based on MESH | |
JPH03123232A (en) | Data transmission control processing method | |
CN101242412A (en) | A transmission method, device and system for multi-dimension data instance | |
CN107889285A (en) | A kind of construction method for merging isomery gateway and merging isomery gateway | |
KR101697568B1 (en) | System for providing main contoller based on Internet of Things network | |
WO2015143709A1 (en) | Network access method, rfid tag, electronic device, and control system | |
JP5285461B2 (en) | Wireless network structure | |
CN109324731A (en) | Information display method and device | |
CN103886730A (en) | Communication method based on wireless Hart adapter terminal | |
CN107463524A (en) | A kind of method and relevant device for accessing data | |
US6457072B1 (en) | System and method for effectively performing physical direct memory access operations |
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 |