CN112350942A - Wireless data transmission method, device and system, collector, repeater and gateway - Google Patents

Wireless data transmission method, device and system, collector, repeater and gateway Download PDF

Info

Publication number
CN112350942A
CN112350942A CN202011048732.XA CN202011048732A CN112350942A CN 112350942 A CN112350942 A CN 112350942A CN 202011048732 A CN202011048732 A CN 202011048732A CN 112350942 A CN112350942 A CN 112350942A
Authority
CN
China
Prior art keywords
data packet
transmission
address
transmission data
data
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.)
Pending
Application number
CN202011048732.XA
Other languages
Chinese (zh)
Inventor
毛祖宾
袁振宇
张民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Ake Technology Co ltd
Original Assignee
Guangdong Ake 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 Guangdong Ake Technology Co ltd filed Critical Guangdong Ake Technology Co ltd
Priority to CN202011048732.XA priority Critical patent/CN112350942A/en
Publication of CN112350942A publication Critical patent/CN112350942A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/122Shortest path evaluation by minimising distances, e.g. by selecting a route with minimum of number of hops
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/20Hop count for routing purposes, e.g. TTL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a wireless data transmission method, a device and a system, a collector, a repeater and a gateway. The method comprises the following steps: acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the skip protocol data comprises the current skip stage number and an address pool; matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number; if the forwarding of the transmission data packet is confirmed, forwarding the transmission data packet to the next-level equipment; if the transmission data packet is confirmed not to be forwarded, the communication protocol data is analyzed, and the service data is obtained, so that the repeater and the collector can transmit data by adopting the same wireless data transmission method, and the repeater and the collector share one set of program codes, thereby improving the convenience of maintenance and upgrading, reducing errors, facilitating management and reducing the maintenance cost.

Description

Wireless data transmission method, device and system, collector, repeater and gateway
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a wireless data transmission method, apparatus, system, collector, repeater, and gateway.
Background
In the field of central air-conditioning billing, when some old buildings (such as hospitals or old houses) are modified, the modification is limited by the indestructibility of the buildings, for example, the walls cannot be damaged or the decoration cannot be damaged, and the system wiring cannot be performed in the buildings to collect relevant data and realize billing, so a wireless system must be used.
Wireless systems typically involve a wireless collector, typically located in a room, and a wireless repeater, typically located in a hallway or in a low current well on a floor. The wireless collector is used for collecting the state and the data of the central air-conditioning fan coil in the room and sending the state and the data to the repeater through the wireless communication module in the wireless collector. The repeater is used for realizing communication with the collector through the downlink wireless communication module so as to read the state and data sent by the collector, and sending the read information to the gateway through the uplink wired RS485 communication module, and the gateway uploads the information to the platform. Because the repeater only has the function of signal transfer and does not store the data or the state of the collector, one repeater can theoretically cover an infinite number of collectors as long as the wireless signal strength allows the range. However, since the gateways need to manage and store the state and data of the collectors, a gateway carries 192 collectors at most, and therefore a repeater also carries 192 collectors at most.
In the conventional technology, the repeater and the collector are limited by the difference in protocol and function, and are often implemented by two independent programs. When the two independent programs are maintained, because the two programs have common codes, the error repairing situation and BUG generation are easy to occur, a large amount of labor cost is wasted, and the problem of high maintenance cost exists.
Disclosure of Invention
Therefore, in order to solve the above technical problems, it is necessary to provide a wireless data transmission method, device, system, collector, repeater, and gateway that can reduce maintenance cost.
A method of wireless data transmission, the method comprising:
acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the skip protocol data comprises the current skip stage number and an address pool;
matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number;
if the forwarding of the transmission data packet is confirmed, forwarding the transmission data packet to the next-level equipment; and if the transmission data packet is confirmed not to be forwarded, analyzing the communication protocol data and obtaining the service data.
In one embodiment, the step of determining whether to forward the transmission data packet according to the matching result and the current hop progression includes:
under the condition that the address of the equipment is the same as any address in the address pool, whether a transmission data packet is forwarded or not is confirmed according to the final stage number and the current skip stage number; the final stage number is used for indicating the equipment to confirm whether the equipment is the target equipment for processing the service data.
In one embodiment, the step of determining whether to forward the transmission data packet according to the current hop stage number and the last stage number comprises:
determining the difference value between the current jump stage number and a preset numerical value as the updated jump stage number;
if the updated hop progression is equal to the final progression, confirming not to forward the transmission data packet; and if the updated hop progression is greater than the final progression, confirming to forward the transmission data packet.
In one embodiment, the step of forwarding the transmission data packet to the next-level device includes:
and adjusting the current hop progression in the hop protocol data into the updated hop progression, and forwarding the adjusted transmission data packet to the next-stage equipment.
In one embodiment, the method further comprises the steps of:
and under the condition that the address of the equipment is different from any address in the address pool, discarding the transmission data packet.
In one embodiment, the hopping protocol data further includes a check code;
the step of matching the address of the device with the address in the address pool comprises the following steps:
resolving the skip protocol data to obtain a check code, a current skip stage number and an address pool, checking the current skip stage number and the address pool through the check code, and matching the address of the equipment with the address in the address pool under the condition of successful checking;
the step of forwarding the transmission data packet to the next level device includes:
and broadcasting the transmission data packet.
In one embodiment, the jump protocol data packet is located at the head of the transmission data packet; the communication protocol data is located at the tail of the transmission data packet.
In one embodiment, the skip protocol data further comprises a protocol header, a communication direction and a total number of stages;
and/or
The communication protocol data is Modbus protocol data.
A wireless data transmission apparatus, the apparatus comprising:
the data packet acquisition module is used for acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the skip protocol data comprises the current skip stage number and an address pool;
the forwarding confirmation module is used for matching the address of the equipment with the address in the address pool and confirming whether to forward the transmission data packet or not according to the matching result and the current skip stage number;
the data packet forwarding module is used for forwarding the transmission data packet to the next-level equipment under the condition of confirming the forwarding of the transmission data packet; and analyzing the communication protocol data and obtaining service data under the condition of confirming that the transmission data packet is not forwarded.
A collector realizes the steps of the method when executing a computer program.
In one embodiment, the collector is further configured to collect coil pipe state data of the central air conditioning fan, determine the coil pipe state data as service data, and generate a transmission data packet according to the service data.
A gateway implementing the steps of the above method when executing a computer program.
In one embodiment, the gateway is further configured to determine the acquired control data as service data, and generate a transmission data packet according to the service data.
A repeater, which when executing a computer program realizes the steps of the above method.
A wireless data transmission system comprises the collector and the gateway; the gateway is connected with the collector.
In one embodiment, the system further comprises a repeater as described above; the repeater is connected between the gateway and the collector.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the wireless data transmission method, the wireless data transmission device, the wireless data transmission system, the collector, the repeater and the gateway, the transmission data packet is obtained; the transmission data packet comprises jump protocol data and communication protocol data; the skip protocol data comprises the current skip stage number and an address pool; matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number; if the forwarding of the transmission data packet is confirmed, forwarding the transmission data packet to the next-level equipment; if the transmission data packet is confirmed not to be forwarded, the communication protocol data is analyzed, and the service data is obtained, so that the repeater and the collector can transmit data by adopting the same wireless data transmission method, and the repeater and the collector share one set of program codes, thereby improving the convenience of maintenance and upgrading, reducing errors, facilitating management and reducing the maintenance cost.
Drawings
FIG. 1 is a diagram of an exemplary wireless data transmission method;
FIG. 2 is a first flowchart of a wireless data transmission method according to an embodiment;
FIG. 3 is a flowchart illustrating the step of determining whether to forward a transmission packet according to one embodiment;
FIG. 4 is a diagram of a packet format for transmitting a packet in one embodiment;
FIG. 5 is a second flowchart of a wireless data transmission method according to an embodiment;
FIG. 6 is a block diagram showing the structure of a wireless data transmission device according to an embodiment;
FIG. 7 is a first schematic block diagram of a wireless data transmission system in accordance with one embodiment;
fig. 8 is a second schematic block diagram of a wireless data transmission system in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
As described in the background art, the conventional art has a problem of high maintenance cost. In addition, because the wireless protocol adopted by the conventional technology cannot directly support the international standard Modbus protocol, the register in the Modbus protocol needs to be repackaged into a new protocol format, repackaging and unpacking are needed during encoding and decoding, a check bit part of the protocol also needs to be specially defined, the complexity of data transmission is increased, and the packet length after protocol encapsulation is increased.
In the case where the radio protocol length becomes long, the radio signal is more likely to be interfered and communication failure is caused. Therefore, the number of transmissions can only be increased continuously in exchange for the success rate of communication, resulting in an increase in the overall power consumption of the device and a reduction in the lifetime of the device. Meanwhile, the collectors applied to the central air-conditioning charging system have the temperature measuring function, so that the increase of the overall power consumption of the equipment can increase the heat productivity of the equipment and reduce the temperature measuring accuracy of the equipment during long-term operation.
In addition, as the number of times of communication failure increases, the number of times of data packet transmission increases, so that the average duration of successful wireless communication becomes very long, the practicability of the central air-conditioning charging system is reduced, and poor user experience is brought. Based on this, it is necessary to provide a wireless data transmission method, apparatus, system, collector, repeater, and gateway capable of reducing maintenance cost and improving communication success rate.
The wireless data transmission method provided by the present application can be applied to the application environment shown in fig. 1, where the control device 110 is respectively connected to the relay device 120 and the processing device 130 in a communication manner, and the relay device 120 is connected to the processing device 130 in a communication manner. When data interaction is needed, the control device 110 and the processing device 130 may directly transmit data, or may transmit data by forwarding through the relay device 120. The control device 110 may be, but is not limited to, a gateway, a server, and the like, the processing device 130 may be, but is not limited to, various collectors, wireless access points, terminals, and the like, and the terminals may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. Further, the relay device 120 may be operated by the processing device 130, i.e., the control device 110 may be communicatively coupled to a first processing device that is communicatively coupled to a second processing device, the first processing device acting as a relay device between the control device 110 and the second processing device.
In an embodiment, as shown in fig. 2, a wireless data transmission method is provided, which is applied to the central air-conditioning billing field, and is described by taking the control device 110 (e.g., gateway), the relay device 120 (e.g., repeater), or the processing device 130 (e.g., collector) in fig. 1 as an example to complete wireless skip transmission or transparent transmission. The wireless data transmission method comprises the following steps:
step 210, acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the jump protocol data includes a current jump stage number and an address pool.
The transmission data packet is data transmitted when the gateway and the collector perform data interaction, and can be obtained after the protocol encapsulates the service data. The service data may include, but is not limited to, control data sent by the gateway to the collector, collected data uploaded by the collector, and the like. Specifically, the transmission data packet includes jump protocol data and communication protocol data, where the communication protocol data may be data obtained by performing communication protocol encapsulation on service data, and may be Modbus protocol data, inter bus protocol data, PROFInet protocol data, and the like. The skip protocol data includes a current skip stage number and an address pool, where the current skip stage number may be a current stage number of a device that receives and analyzes a transmission data packet, that is, when the transmission data packet is transmitted, a transmission stage number corresponding to the device may be used to indicate a stage position of the device in a transmission link, and further, the device may help determine whether the device is a final-stage device in the transmission link. The address pool may include one or more repeater addresses and/or one or more collector addresses, and devices corresponding to the addresses in the address pool together form a transmission link for transmitting the data packet.
For example, the address pool includes address 1 and address 2, address 1 corresponds to device 1, and address 2 corresponds to device 2, and the transmission link for transmitting the data packet may be any one of the following cases: (1) device 1 — device 2, i.e., a transmission data packet may be sent to device 1 first and forwarded to device 2 via device 1, and device 2 is a final device in a transmission link; (2) device 2 — device 1, i.e., the transmission packet may be sent to device 2 first, and forwarded to device 1 via device 2, and device 1 is the last device in the transmission link.
Specifically, the transmission data packet can be obtained by the content generated by the device or forwarded by other devices. When the collector needs to upload the collected data, such as the coil pipe state data of the central air-conditioning fan, the collector can package the collected data according to the corresponding communication protocol and generate a transmission data packet. Or, when the gateway needs to issue the control instruction to the corresponding collector, the control instruction may be encapsulated according to the corresponding communication protocol, and a transmission data packet is generated.
And step 220, matching the address of the device with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current hop progression.
The device is a device currently acquiring a transmission data packet. The address of the device may be used to uniquely identify the device, and may be a device number or a corresponding communication address, such as a Media Access Control (MAC) address.
Specifically, the method and the device can confirm whether the communication is communicated with the device or only needs to complete one-time transfer and forwarding through the skip protocol data. Specifically, the address of the device may be matched with each address in the address pool to determine whether the device is a device constituting a transmission link, and whether to forward a transmission data packet is determined according to a matching result and a current hop level. Furthermore, the current jump stage number in the transmission data packet can be updated after each jump, if the matching result is that the equipment is the component equipment of the transmission link, whether the current jump stage number is a preset value or not is judged, and whether the transmission data packet is forwarded or not is confirmed according to the judged result. Or, the corresponding hop progression may be set for each gateway and collector in advance, and if the matching result indicates that the device is a component device of a transmission link, it is determined whether the current hop progression is the same as the hop progression corresponding to the device, and it is determined whether to forward the transmission data packet according to the determined result.
Step 230, if the forwarding of the transmission data packet is confirmed, forwarding the transmission data packet to the next-level device; and if the transmission data packet is confirmed not to be forwarded, analyzing the communication protocol data and obtaining the service data.
Specifically, if the forwarding of the transmission packet is confirmed, the transmission packet is forwarded to the next-stage device, where the next-stage device may be, but is not limited to, a gateway, a repeater, and a collector. Further, the device may first determine a target receiving device corresponding to the next-stage device, and then forward the transmission packet to the target receiving device, thereby completing one-to-one data communication. Or, the device may also perform group sending on the transmission data packet, and complete forwarding of the transmission data packet through one-to-many communication. The device receiving the transmission data packet executes steps 210 to 230 to determine whether the device is a device in the transmission link. When the forwarding of the transmission data packet is confirmed, the equipment does not need to analyze the communication protocol data, namely the equipment does not know the service data. When the transmission data packet is confirmed not to be forwarded, the equipment can be confirmed to be the final-stage equipment in the transmission link, and the equipment acquires the service data in the communication protocol data, so that the service data can be responded.
Therefore, the data transmission method and the data transmission device can be directly compatible with communication protocol data, the format of a data register and the check bit field of a protocol do not need to be redefined, the length of a transmission data packet is shortened on the basis of being compatible with the corresponding communication protocol, the communication success rate is improved, the transmission times of the transmission data packet are reduced, meanwhile, the power consumption and the heat productivity of equipment can be reduced, the temperature measurement accuracy is improved, and the service life of the equipment is prolonged.
In the wireless data transmission method, the transmission data packet is acquired; the transmission data packet comprises jump protocol data and communication protocol data; the skip protocol data comprises the current skip stage number and an address pool; matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number; if the forwarding of the transmission data packet is confirmed, forwarding the transmission data packet to the next-level equipment; if the transmission data packet is confirmed not to be forwarded, the communication protocol data is analyzed, and the service data is obtained, so that the repeater and the collector can transmit data by adopting the same wireless data transmission method, and the repeater and the collector share one set of program codes, thereby improving the convenience of maintenance and upgrading, reducing errors, facilitating management and reducing the maintenance cost.
In one embodiment, the step of determining whether to forward the transmission data packet according to the matching result and the current hop progression includes: under the condition that the address of the equipment is the same as any address in the address pool, whether a transmission data packet is forwarded or not is confirmed according to the final stage number and the current skip stage number; the final stage number is used for indicating the equipment to confirm whether the equipment is the target equipment for processing the service data.
Specifically, the final stage number is a number corresponding to a final device in the transmission link, and a value thereof may be preset. The total number of transmission links can be infinitely expanded theoretically, but in practical application, the communication time and failure rate are multiplied due to excessive hop times, and the total number of transmission links is limited within an allowable range to ensure the communication time and the communication success rate. In this case, the final stage number may be a minimum value or a maximum value within an allowable range.
If the address pool includes the address of the device, the last stage number and the current jump stage number are compared. The equipment can confirm whether the equipment is the final-stage equipment or not according to the size relation between the final-stage and the current jump stage, namely whether the equipment is an acquisition terminal corresponding to the service data or not. If the device is the final-stage device, the transmission data packet is confirmed not to be forwarded, and if the device is not the final-stage device, the transmission data packet is forwarded. Or, when the address pool includes the address of the device, the last stage and the current hop stage can be substituted into a preset stage judgment formula, and whether to forward the transmission data packet is determined according to the calculation result of the formula. The level judgment formula can be determined according to the communication condition, and only the calculation result can accurately reflect whether the equipment is the final-stage equipment in the transmission link.
In this embodiment, when the address of the device is the same as any address in the address pool, whether to forward the transmission packet is determined according to the comparison relationship between the last stage and the current hop stage, and it is not necessary to set the corresponding stage in the relay, the gateway, and the collector in advance, which is helpful for system expansion, reduces maintenance caused by setting errors, and further reduces maintenance cost.
In one embodiment, as shown in fig. 3, the step of determining whether to forward the transmission data packet according to the current hop stage number and the last stage number includes:
step 310, determining the difference value between the current jump progression and a preset numerical value as the updated jump progression;
step 320, if the updated hop progression is equal to the final progression, determining not to forward the transmission data packet; and if the updated hop progression is greater than the final progression, confirming to forward the transmission data packet.
Wherein the final stage number may be the minimum value within the allowable range, and in one example, the final stage number may be 1. Specifically, the device may update the current skip stage number by using a preset value, and determine a difference between the current skip stage number and the preset value as the updated skip stage number. If the updated skip stage number is equal to the final stage number, the equipment is confirmed to be the final stage equipment, and the transmission data packet is not forwarded; and if the updated jump technology is larger than the last stage, confirming that the equipment is not the last stage equipment, and forwarding the transmission data packet. Furthermore, the preset value can be determined according to the communication situation, the application scene and the like, and only the preset value can accurately reflect the level position of the equipment in the transmission link.
In the embodiment, the difference value between the current jump stage number and the preset numerical value is determined as the updated jump stage number, and whether to forward the transmission data packet is determined according to the comparison result of the updated jump stage number and the final stage number, so that the expansion is facilitated, the maintenance cost is reduced, the transmission stage number of the equipment in a transmission link can be accurately obtained, and the reliability of data transmission is improved.
In one embodiment, the step of forwarding the transmission data packet to the next level device includes: and adjusting the current hop progression in the hop protocol data into the updated hop progression, and forwarding the adjusted transmission data packet to the next-stage equipment.
Specifically, if the transmission data packet needs to be forwarded to the next-stage device, the current hop progression in the transmission data packet is adjusted to the updated hop progression, so that the current hop progression is reduced by a preset value every time of forwarding until the transmission data packet is received by the last-stage device.
For example, when the wireless data transmission system performs downlink communication, that is, when the gateway sends data to the collector, in the process of reading the collector data only through one repeater, the gateway, the repeater and the collector form a transmission link with a total number of 3. And when the gateway sends out the transmission data packet, the current hop level is 3. When the transmission data packet reaches the repeater, the repeater directly subtracts 1 from the current hop progression after the analysis is correct, and the updated hop progression is 2. Because the updated hop progression is not 1 but 2, the device can determine that the communication command is not sent to the device, so that the current hop progression in the transmission data packet is adjusted to 2 and is continuously sent downwards, at this moment, the total progression is 3, and the current hop progression is 2. And finally, when the appointed collector receives the transmission data packet and checks and analyzes the transmission data packet correctly, directly subtracting 1 from the current jump stage number, and then updating the jump stage number to be 1. At this time, the updated hop stage number is 1, which is equal to the last stage number, so that the application can confirm that the system is the final end device which needs to be acquired finally, and the transmission data packet is not forwarded any more.
In the embodiment, the current skip protocol in the transmission data packet is adjusted to be the updated skip protocol during forwarding, so that the current skip protocol can be matched with each level of equipment, the expansion is facilitated, the maintenance cost is reduced, the equipment can accurately obtain the transmission level number in the transmission link, and the reliability of data transmission is improved.
In one embodiment, the method further comprises the steps of: and under the condition that the address of the equipment is different from any address in the address pool, discarding the transmission data packet. At this time, the address pool does not contain the address of the device, which indicates that the device is not a component device of the transmission link, and the device can discard the transmission data packet, that is, the transmission data packet is not forwarded, and the communication protocol data is not acquired.
In one embodiment, the hopping protocol data further includes a check code; the step of matching the address of the device with the address in the address pool comprises the following steps:
resolving the skip protocol data to obtain a check code, a current skip stage number and an address pool, checking the current skip stage number and the address pool through the check code, and matching the address of the equipment with the address in the address pool under the condition of successful checking; and/or
The step of forwarding the transmission data packet to the next level device includes: and broadcasting the transmission data packet.
The check code can be any check code, and only the check code needs to be capable of checking the residual data in the skip protocol to determine whether the error code occurs in the residual data in the transmission process. In one example, the Check code may be a CRC (Cyclic Redundancy Check) Check code.
Specifically, when the device receives a transmission data packet, the device can firstly analyze the skip protocol data, acquire a check code, a current skip stage number and an address pool in the skip protocol data, and check the current skip stage number and the address pool by adopting the check code to judge whether the data is in error, so as to ensure the accuracy of the current skip stage number and the address pool, thereby improving the reliability of wireless data transmission. After the verification is successful, the address of the device is matched with the address in the address pool, and the process of matching the address may be as described in any of the above embodiments, which is not described herein again.
In the process of forwarding the transmission data packet, the equipment can broadcast the transmission data packet so as to send the transmission data packet in a group. Therefore, the equipment does not need to know the specific equipment for receiving and transmitting the data packet at the next stage, so that the data transmission rate can be improved.
In one embodiment, referring to fig. 4, the skip protocol packet is located at the head of the transport packet; the communication protocol data is located at the tail of the transmission data packet. Further, the communication protocol data is located at the very end of the transmission data packet. Therefore, service data can be acquired through two times of verification (skip protocol data verification and communication protocol data verification), and the data transmission rate is improved.
In one embodiment, the skip protocol data further includes a protocol header, a communication direction, and a total number of stages; and/or the communication protocol data is Modbus protocol data. Referring to fig. 4, fig. 4 shows a packet format for transmitting a packet. The length of the protocol header may be a fixed byte, and in one example, the protocol header may be 1 to 2 bytes, such as 0xAA or 0 xBB. The communication direction may include an uplink communication direction and a downlink communication direction, where the uplink and downlink communication directions may be determined according to actual situations, for example, the direction from the gateway to the collector may be determined as the downlink communication direction, and the direction from the collector to the gateway may be determined as the uplink communication direction. The length of the communication direction can be determined according to actual conditions, and in one example, the length can be 1 to 2 bytes, for example, the uplink communication direction can be 0x01 and 0x10, and the downlink communication direction can be 0x02 and 0x 20.
The total number of stages is the total number of stages that need to be transferred wirelessly to the end devices, i.e. the number of device stages in the transmission link. The total number of stages can be expanded in a wireless mode theoretically, and in practical application, the upper limit value of the total number of stages can be determined according to communication time length and communication success rate. For example, when the total number of stages is 3, the transmission link is a gateway/platform (stage 1) -repeater (stage 2) -collector (stage 3). For another example, after the total number of stages is expanded to support more wireless hops, the total number of stages is 5, and at this time, the transmission link is a gateway/platform (stage 1) -a repeater 1 (stage 2) -a repeater 2 (stage 3) -a repeater 3 (stage 4) -a collector (stage 5). Further, each address in the address pool may be represented by 1 to 2 bytes, for example, using 0x00 and 0x01 to represent the collector with address 1. The CRC check code may be expressed in terms of 2 bytes to check all protocol bytes (including the direction of passage, total number of stages, current number of stages, and address pool) preceding the check code in the jumped protocol data.
The Modbus communication protocol data can be arranged behind a CRC check code of the jump protocol data, so that the jump protocol data is positioned at the head of a transmission data packet, and the Modbus communication protocol data is positioned at the tail of the transmission data packet. When wireless data transmission is carried out, after a final-stage device (which can be a collector, a gateway or a platform) receives a transmission data packet and successfully analyzes a jump protocol, jump protocol data can be abandoned, and Modbus communication protocol data is directly analyzed according to an international standard Modbus protocol format. For example, when communicating downstream, the collector at the end.
So, but this application direct compatibility international standard's Modbus protocol, can directly resolve according to standard Modbus protocol format during the use, need not to redefine the format of data register (like defining special packing bale breaking field), also need not carry out special definition to the check bit field of agreement, make the encapsulation protocol of transmission data package on the basis of compatible Modbus protocol, length shortens, communication success rate has been improved and transmission times of transmission data package has been reduced, and simultaneously, still can reduce equipment consumption and calorific capacity, and improve the temperature measurement precision, the life-span of equipment has been increased.
To facilitate understanding of the scheme of the present application, the following describes a wireless data transmission method of the present application by way of a specific example, as shown in fig. 5, including the following steps:
step 510, receiving a transmission data packet. The packet format for transmitting the data packet may be as shown in fig. 4.
Step 520, resolving the skip protocol data, checking the protocol header, the communication direction, the total number of stages, the current number of stages and the address pool through the CRC check code, and executing step 530 after the check is successful.
Step 530, determine whether the address of the device is the same as any address in the address pool, if yes, execute step 540, otherwise execute step 580.
And 540, acquiring the current jump stage number in the jump protocol data, and subtracting 1 from the current jump stage number to obtain an updated jump stage number.
And step 550, judging whether the updated jump stage number is 1, if so, jumping to step 560, and if not, jumping to step 570.
And step 560, discarding the jump protocol data, analyzing the Modbus protocol data to obtain service data, and responding to the service data.
Step 570, adjusting the current hop technology in the hop protocol data to the updated hop progression, and broadcasting the adjusted transmission data packet.
At step 580, the transmission packet is discarded.
It should be understood that although the various steps in the flow charts of fig. 1-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 6, there is provided a wireless data transmission apparatus including:
the data packet acquisition module is used for acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the skip protocol data comprises the current skip stage number and an address pool;
the forwarding confirmation module is used for matching the address of the equipment with the address in the address pool and confirming whether to forward the transmission data packet or not according to the matching result and the current skip stage number;
the data packet forwarding module is used for forwarding the transmission data packet to the next-level equipment under the condition of confirming the forwarding of the transmission data packet; and analyzing the communication protocol data and obtaining service data under the condition of confirming that the transmission data packet is not forwarded.
In an embodiment, the forwarding confirmation module is further configured to, when the address of the device is the same as any address in the address pool, confirm whether to forward the transmission data packet according to the last stage number and the current hop stage number; the final stage number is used for indicating the equipment to confirm whether the equipment is the target equipment for processing the service data.
In one embodiment, the forwarding confirmation module is further configured to determine a difference between the current hop progression and a preset value as the updated hop progression; if the updated hop progression is equal to the final progression, confirming not to forward the transmission data packet; and if the updated hop progression is greater than the final progression, confirming to forward the transmission data packet.
In one embodiment, the packet forwarding module includes: and the skip level adjusting unit is used for adjusting the current skip level in the skip protocol data into an updated skip level and forwarding the adjusted transmission data packet to the next-stage equipment.
In one embodiment, the wireless data transmission apparatus further includes a packet discarding module, configured to discard a transmission packet if the address of the device is different from any address in the address pool.
In one embodiment, the hopping protocol data further includes a check code; the forwarding confirmation module comprises a check unit used for analyzing the skip protocol data to obtain a check code, the current skip stage number and an address pool, checking the current skip stage number and the address pool through the check code, and matching the address of the equipment with the address in the address pool under the condition of successful checking;
the data packet forwarding module further comprises a broadcasting unit for broadcasting the transmission data packet.
In one embodiment, the skip protocol packet is located at the head of the transport packet; the communication protocol data is located at the tail of the transmission data packet.
In one embodiment, the skip protocol data further includes a protocol header, a communication direction, and a total number of stages; and/or the communication protocol data is Modbus protocol data.
For specific limitations of the wireless data transmission apparatus, reference may be made to the above limitations of the wireless data transmission method, which is not described herein again. The modules in the wireless data transmission device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a collector is provided, which can be applied to a wireless data transmission system in the field of central air-conditioning charging, and is used for receiving control data sent by a gateway and performing corresponding response. The following steps can be realized when the collector executes the computer program:
acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the jump protocol data comprises a current jump stage number and an address pool;
matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number;
if the transmission data packet is confirmed to be forwarded, forwarding the transmission data packet to next-level equipment; and if the transmission data packet is confirmed not to be forwarded, analyzing the communication protocol data and obtaining service data.
In one embodiment, the collector, when executing the computer program, may further implement the steps of: collecting the coil pipe state data of the central air-conditioning fan, confirming the coil pipe state data as the service data, and generating the transmission data packet according to the service data. Specifically, after the collector collects the coil pipe state data of the central air-conditioning fan, the coil pipe state data can be packaged according to a communication protocol to obtain communication protocol data, a transmission data packet is generated according to the communication protocol data, the transmission data packet is broadcasted, and therefore the transmission data packet can be sent to a gateway through wireless skipping to finish data interaction in an uplink communication direction.
In one embodiment, the following steps are also implemented when the computer program is executed by the collector: according to the matching result and the current hop progression, confirming whether to forward the transmission data packet, comprising: confirming whether to forward the transmission data packet or not according to the last stage number and the current jump stage number under the condition that the address of the equipment is the same as any address in the address pool; and the final stage number is used for indicating the equipment to confirm whether the equipment is the target equipment for processing the service data.
In one embodiment, the following steps are also implemented when the computer program is executed by the collector: confirming whether to forward the transmission data packet according to the current skip stage number and the last stage number, wherein the step comprises the following steps: determining the difference value between the current jump stage number and a preset numerical value as an updated jump stage number; if the updated hop progression is equal to the final progression, determining not to forward the transmission data packet; and if the updated hop progression is greater than the final progression, confirming to forward the transmission data packet.
In one embodiment, the following steps are also implemented when the computer program is executed by the collector: the step of forwarding the transmission data packet to the next level device includes: and adjusting the current hop progression in the hop protocol data to the updated hop progression, and forwarding the adjusted transmission data packet to the next-stage device.
In one embodiment, the following steps are also implemented when the computer program is executed by the collector: and under the condition that the address of the equipment is different from any address in the address pool, discarding the transmission data packet.
In one embodiment, the following steps are also implemented when the computer program is executed by the collector: the skip protocol data also comprises a check code; the step of matching the address of the device with the address in the address pool comprises the following steps: analyzing the jump protocol data to obtain the check code, the current jump stage number and the address pool, checking the current jump stage number and the address pool through the check code, and matching the address of the equipment with the address in the address pool under the condition of successful checking; the step of forwarding the transmission data packet to the next level device includes: and broadcasting the transmission data packet.
In one embodiment, the following steps are also implemented when the computer program is executed by the collector: the jump protocol data packet is positioned at the head of the transmission data packet; the communication protocol data is positioned at the tail part of the transmission data packet.
In one embodiment, the following steps are also implemented when the computer program is executed by the collector: the skip protocol data also comprises a protocol head, a communication direction and a total stage number; and/or the communication protocol data is Modbus protocol data.
In one embodiment, a gateway is provided, which can be applied to a wireless data transmission system in the field of central air-conditioning billing, and is used for receiving collected data sent by a collector and sending control data to the collector. The following steps can be realized when the gateway executes the computer program:
acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the jump protocol data comprises a current jump stage number and an address pool;
matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number;
if the transmission data packet is confirmed to be forwarded, forwarding the transmission data packet to next-level equipment; and if the transmission data packet is confirmed not to be forwarded, analyzing the communication protocol data and obtaining service data.
In one embodiment, the gateway, when executing the computer program, may further perform the steps of: and confirming the acquired control data as the service data, and generating the transmission data packet according to the service data. Specifically, when the gateway issues the control data to the collector, the control data can be encapsulated according to the communication protocol to obtain communication protocol data, a transmission data packet is generated according to the communication protocol data, and the transmission data packet is broadcasted, so that the transmission data packet can be sent to the collector through wireless skipping, and data interaction in the downlink communication direction is completed.
In one embodiment, the gateway, when executing the computer program, further performs the steps of: according to the matching result and the current hop progression, confirming whether to forward the transmission data packet, comprising: confirming whether to forward the transmission data packet or not according to the last stage number and the current jump stage number under the condition that the address of the equipment is the same as any address in the address pool; and the final stage number is used for indicating the equipment to confirm whether the equipment is the target equipment for processing the service data.
In one embodiment, the gateway, when executing the computer program, further performs the steps of: confirming whether to forward the transmission data packet according to the current skip stage number and the last stage number, wherein the step comprises the following steps: determining the difference value between the current jump stage number and a preset numerical value as an updated jump stage number; if the updated hop progression is equal to the final progression, determining not to forward the transmission data packet; and if the updated hop progression is greater than the final progression, confirming to forward the transmission data packet.
In one embodiment, the gateway, when executing the computer program, further performs the steps of: the step of forwarding the transmission data packet to the next level device includes: and adjusting the current hop progression in the hop protocol data to the updated hop progression, and forwarding the adjusted transmission data packet to the next-stage device.
In one embodiment, the gateway, when executing the computer program, further performs the steps of: and under the condition that the address of the equipment is different from any address in the address pool, discarding the transmission data packet.
In one embodiment, the gateway, when executing the computer program, further performs the steps of: the skip protocol data also comprises a check code; the step of matching the address of the device with the address in the address pool comprises the following steps: analyzing the jump protocol data to obtain the check code, the current jump stage number and the address pool, checking the current jump stage number and the address pool through the check code, and matching the address of the equipment with the address in the address pool under the condition of successful checking; the step of forwarding the transmission data packet to the next level device includes: and broadcasting the transmission data packet.
In one embodiment, the gateway, when executing the computer program, further performs the steps of: the jump protocol data packet is positioned at the head of the transmission data packet; the communication protocol data is positioned at the tail part of the transmission data packet.
In one embodiment, the gateway, when executing the computer program, further performs the steps of: the skip protocol data also comprises a protocol head, a communication direction and a total stage number; and/or the communication protocol data is Modbus protocol data.
In one embodiment, a repeater is provided, which can be applied in a wireless data transmission system in the field of central air-conditioning billing, and is used for receiving and forwarding received transmission data packets to the next stage. The repeater when executing the computer program may implement the steps of:
acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the jump protocol data comprises a current jump stage number and an address pool;
matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number;
if the transmission data packet is confirmed to be forwarded, forwarding the transmission data packet to next-level equipment; and if the transmission data packet is confirmed not to be forwarded, analyzing the communication protocol data and obtaining service data.
In one embodiment, the repeater, when executing the computer program, further performs the steps of: according to the matching result and the current hop progression, confirming whether to forward the transmission data packet, comprising: confirming whether to forward the transmission data packet or not according to the last stage number and the current jump stage number under the condition that the address of the equipment is the same as any address in the address pool; and the final stage number is used for indicating the equipment to confirm whether the equipment is the target equipment for processing the service data.
In one embodiment, the repeater, when executing the computer program, further performs the steps of: confirming whether to forward the transmission data packet according to the current skip stage number and the last stage number, wherein the step comprises the following steps: determining the difference value between the current jump stage number and a preset numerical value as an updated jump stage number; if the updated hop progression is equal to the final progression, determining not to forward the transmission data packet; and if the updated hop progression is greater than the final progression, confirming to forward the transmission data packet.
In one embodiment, the repeater, when executing the computer program, further performs the steps of: the step of forwarding the transmission data packet to the next level device includes: and adjusting the current hop progression in the hop protocol data to the updated hop progression, and forwarding the adjusted transmission data packet to the next-stage device.
In one embodiment, the repeater, when executing the computer program, further performs the steps of: and under the condition that the address of the equipment is different from any address in the address pool, discarding the transmission data packet.
In one embodiment, the repeater, when executing the computer program, further performs the steps of: the skip protocol data also comprises a check code; the step of matching the address of the device with the address in the address pool comprises the following steps: analyzing the jump protocol data to obtain the check code, the current jump stage number and the address pool, checking the current jump stage number and the address pool through the check code, and matching the address of the equipment with the address in the address pool under the condition of successful checking; the step of forwarding the transmission data packet to the next level device includes: and broadcasting the transmission data packet.
In one embodiment, the repeater, when executing the computer program, further performs the steps of: the jump protocol data packet is positioned at the head of the transmission data packet; the communication protocol data is positioned at the tail part of the transmission data packet.
In one embodiment, the repeater, when executing the computer program, further performs the steps of: the skip protocol data also comprises a protocol head, a communication direction and a total stage number; and/or the communication protocol data is Modbus protocol data.
In one embodiment, as shown in fig. 7, a wireless data transmission system is provided for implementing central air conditioning billing. The wireless data transmission system comprises the collector 710 in any of the above embodiments, and the gateway 720 in any of the above embodiments; gateway 720 connects collector 710. The number of the collectors 710 may be one or more, and when the wireless data transmission system includes a plurality of collectors 710, the gateway 720 may be in direct communication connection with one collector 710, or may be connected to the collector 710 through another collector 710. A collector 710 of the second level as in fig. 7 may be connected to a gateway 720 through a collector 710 of the first level.
Thus, when the wireless data transmission system performs wireless hopping, the collector 710 can be used as the virtual relay device 120 to forward the transmission data packet, so that the convenience of wireless hopping is improved, and an additional relay 730 is not required to be installed, thereby reducing the system cost. For example, when the transmission link is a gateway 720/platform (level 1) -relay device 1 (level 2) -relay device 2 (level 3) -relay device 3 (level 4) -collector (level 5), the relay device 1, relay device 2, and relay device 3 may be real repeaters or collectors. In a specific example, when the repeater 730 installed in the corridor or the outside corridor cannot read the collected data of the main horizontal collector 710, the collector 710 in the living room may serve as a virtual relay device, the data packet is directly forwarded through the collector 710, and the data packet is transmitted to the repeater 730 after one hop, so that the repeater 730 in the corridor or the corridor can obtain the collected data of the main horizontal collector 710 without installing an additional repeater in the living room.
In one embodiment, as shown in fig. 8, the wireless data transmission system may further include a repeater 730 in any of the above embodiments; a repeater 730 is connected between the collector 710 and the gateway 720. The collector 710 and the repeater 730 can directly use the same set of protocol, and implement the steps of the wireless data communication method in any of the above embodiments. Since the repeater 730 and the collector 710 use the same protocol, when the minimum system of the core processor module (such as the MCU chipset module) of the repeater 730 and the collector 710 is the same in hardware design, the program sharing between the repeater 730 and the collector 710 can be realized by directly programming the same program. Therefore, the probability of the BUG during later maintenance can be avoided, and the maintenance cost of the system is reduced.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the skip protocol data comprises the current skip stage number and an address pool;
matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number;
if the forwarding of the transmission data packet is confirmed, forwarding the transmission data packet to the next-level equipment; and if the transmission data packet is confirmed not to be forwarded, analyzing the communication protocol data and obtaining the service data.
In one embodiment, the computer program when executed by the processor further performs the steps of: the step of confirming whether to forward the transmission data packet or not according to the matching result and the current hop progression comprises the following steps: under the condition that the address of the equipment is the same as any address in the address pool, whether a transmission data packet is forwarded or not is confirmed according to the final stage number and the current skip stage number; the final stage number is used for indicating the equipment to confirm whether the equipment is the target equipment for processing the service data.
In one embodiment, the computer program when executed by the processor further performs the steps of: the step of confirming whether to forward the transmission data packet or not according to the current jump stage number and the last stage number comprises the following steps: determining the difference value between the current jump stage number and a preset numerical value as the updated jump stage number; if the updated hop progression is equal to the final progression, confirming not to forward the transmission data packet; and if the updated hop progression is greater than the final progression, confirming to forward the transmission data packet.
In one embodiment, the computer program when executed by the processor further performs the steps of: the step of forwarding the transmission data packet to the next level device includes: and adjusting the current hop progression in the hop protocol data into the updated hop progression, and forwarding the adjusted transmission data packet to the next-stage equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of: and under the condition that the address of the equipment is different from any address in the address pool, discarding the transmission data packet.
In one embodiment, the computer program when executed by the processor further performs the steps of: the skip protocol data also comprises a check code; the step of matching the address of the device with the address in the address pool comprises the following steps: resolving the skip protocol data to obtain a check code, a current skip stage number and an address pool, checking the current skip stage number and the address pool through the check code, and matching the address of the equipment with the address in the address pool under the condition of successful checking; the step of forwarding the transmission data packet to the next level device includes: and broadcasting the transmission data packet.
In one embodiment, the computer program when executed by the processor further performs the steps of: the skip protocol data packet is positioned at the head of the transmission data packet; the communication protocol data is located at the tail of the transmission data packet.
In one embodiment, the computer program when executed by the processor further performs the steps of: the skip protocol data also comprises a protocol head, a communication direction and a total stage number; and/or the communication protocol data is Modbus protocol data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (17)

1. A method of wireless data transmission, the method comprising:
acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the jump protocol data comprises a current jump stage number and an address pool;
matching the address of the equipment with the address in the address pool, and determining whether to forward the transmission data packet or not according to the matching result and the current skip stage number;
if the transmission data packet is confirmed to be forwarded, forwarding the transmission data packet to next-level equipment; and if the transmission data packet is confirmed not to be forwarded, analyzing the communication protocol data and obtaining service data.
2. The method of claim 1, wherein the step of determining whether to forward the transmission data packet according to the matching result and the current hop count comprises:
confirming whether to forward the transmission data packet or not according to the last stage number and the current jump stage number under the condition that the address of the equipment is the same as any address in the address pool; and the final stage number is used for indicating the equipment to confirm whether the equipment is the target equipment for processing the service data.
3. The method of claim 2, wherein the step of determining whether to forward the transmission packet according to the current hop stage number and the final stage number comprises:
determining the difference value between the current jump stage number and a preset numerical value as an updated jump stage number;
if the updated hop progression is equal to the final progression, determining not to forward the transmission data packet; and if the updated hop progression is greater than the final progression, confirming to forward the transmission data packet.
4. The method of claim 3, wherein the step of forwarding the transmission data packet to a next device comprises:
and adjusting the current hop progression in the hop protocol data to the updated hop progression, and forwarding the adjusted transmission data packet to the next-stage device.
5. The method for wireless data transmission according to claim 1, wherein the method further comprises the steps of:
and under the condition that the address of the equipment is different from any address in the address pool, discarding the transmission data packet.
6. The wireless data transmission method according to any one of claims 1 to 5, wherein the hopping protocol data further includes a check code;
the step of matching the address of the device with the address in the address pool comprises the following steps:
analyzing the jump protocol data to obtain the check code, the current jump stage number and the address pool, checking the current jump stage number and the address pool through the check code, and matching the address of the equipment with the address in the address pool under the condition of successful checking;
the step of forwarding the transmission data packet to the next level device includes:
and broadcasting the transmission data packet.
7. The wireless data transmission method according to any one of claims 1 to 5, wherein the skip protocol data packet is located at a header of the transmission data packet; the communication protocol data is positioned at the tail part of the transmission data packet.
8. The wireless data transmission method according to claim 7, wherein the hopping protocol data further includes a protocol header, a communication direction, and a total number of stages;
and/or
The communication protocol data is Modbus protocol data.
9. A wireless data transmission apparatus, the apparatus comprising:
the data packet acquisition module is used for acquiring a transmission data packet; the transmission data packet comprises jump protocol data and communication protocol data; the jump protocol data comprises a current jump stage number and an address pool;
a forwarding confirmation module, configured to match an address of the device with an address in the address pool, and confirm whether to forward the transmission data packet according to the matching result and the current hop progression;
the data packet forwarding module is used for forwarding the transmission data packet to next-level equipment under the condition of confirming the forwarding of the transmission data packet; and analyzing the communication protocol data and obtaining service data under the condition of confirming that the transmission data packet is not forwarded.
10. A collector, characterized in that it implements the steps of the method of any of claims 1 to 8 when executing a computer program.
11. The collector of claim 10, further configured to collect coil status data of a central air conditioning fan, confirm the coil status data as the service data, and generate the transmission data packet according to the service data.
12. A gateway, characterized in that the steps of the method of any one of claims 1 to 8 are implemented when the gateway executes a computer program.
13. The gateway according to claim 12, wherein the gateway is further configured to confirm the acquired control data as the service data, and generate the transmission data packet according to the service data.
14. A repeater, characterized in that the repeater, when executing a computer program, implements the steps of the method of any one of claims 1 to 8.
15. A wireless data transmission system, comprising a collector according to claim 10 or 11, and a gateway according to claim 12 or 13; the gateway is connected with the collector.
16. The wireless data transmission system of claim 15, further comprising the repeater of claim 14; the repeater is connected between the gateway and the collector.
17. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202011048732.XA 2020-09-29 2020-09-29 Wireless data transmission method, device and system, collector, repeater and gateway Pending CN112350942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011048732.XA CN112350942A (en) 2020-09-29 2020-09-29 Wireless data transmission method, device and system, collector, repeater and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011048732.XA CN112350942A (en) 2020-09-29 2020-09-29 Wireless data transmission method, device and system, collector, repeater and gateway

Publications (1)

Publication Number Publication Date
CN112350942A true CN112350942A (en) 2021-02-09

Family

ID=74361284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011048732.XA Pending CN112350942A (en) 2020-09-29 2020-09-29 Wireless data transmission method, device and system, collector, repeater and gateway

Country Status (1)

Country Link
CN (1) CN112350942A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794732A (en) * 2005-12-26 2006-06-28 北京交通大学 IPv6 micro sensing routing appliance protocol stack system structure and implementing method
CN101437293A (en) * 2008-12-05 2009-05-20 浙江大学 Method for polling long distance wireless multi-hop data facing transparent transmission equipment
CN103841016A (en) * 2014-03-19 2014-06-04 重庆邮电大学 Programmable virtualization router multi-protocol type data package parallel processing method and device
EP2827542A1 (en) * 2012-02-21 2015-01-21 Huawei Technologies Co., Ltd. Packet sending method and network device
CN105721451A (en) * 2016-01-27 2016-06-29 深圳市盛弘电气股份有限公司 Extensible Modbus protocol analyzing method and device
US20180124101A1 (en) * 2013-05-03 2018-05-03 Centurylink Intellectual Property Llc Combination of Remote Triggered Source and Destination Blackhole Filtering
CN207528367U (en) * 2017-12-11 2018-06-22 广东艾科技术股份有限公司 Resistance to movement temperature measuring equipment
CN109787900A (en) * 2017-11-15 2019-05-21 阿里巴巴集团控股有限公司 Transmission method, device, equipment and machine readable media
CN111049857A (en) * 2019-12-26 2020-04-21 山东方寸微电子科技有限公司 Network storage system and method based on UDP protocol

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794732A (en) * 2005-12-26 2006-06-28 北京交通大学 IPv6 micro sensing routing appliance protocol stack system structure and implementing method
CN101437293A (en) * 2008-12-05 2009-05-20 浙江大学 Method for polling long distance wireless multi-hop data facing transparent transmission equipment
EP2827542A1 (en) * 2012-02-21 2015-01-21 Huawei Technologies Co., Ltd. Packet sending method and network device
US20180124101A1 (en) * 2013-05-03 2018-05-03 Centurylink Intellectual Property Llc Combination of Remote Triggered Source and Destination Blackhole Filtering
CN103841016A (en) * 2014-03-19 2014-06-04 重庆邮电大学 Programmable virtualization router multi-protocol type data package parallel processing method and device
CN105721451A (en) * 2016-01-27 2016-06-29 深圳市盛弘电气股份有限公司 Extensible Modbus protocol analyzing method and device
CN109787900A (en) * 2017-11-15 2019-05-21 阿里巴巴集团控股有限公司 Transmission method, device, equipment and machine readable media
CN207528367U (en) * 2017-12-11 2018-06-22 广东艾科技术股份有限公司 Resistance to movement temperature measuring equipment
CN111049857A (en) * 2019-12-26 2020-04-21 山东方寸微电子科技有限公司 Network storage system and method based on UDP protocol

Similar Documents

Publication Publication Date Title
US7941530B2 (en) Thermostat status notification through a network
CN112492537B (en) Micropower wireless access method and device for power transmission and transformation equipment internet of things
CN106603506B (en) Data communication method, device and system based on multi-field bus
CN103973421A (en) File transmitting method and device
CN112367643B (en) Wireless sensor connection and remote upgrading method and monitoring system thereof
JP5982515B1 (en) Sensor device, management system, and wireless communication method
CN110213756A (en) A kind of data transmission method, device and its relevant device
US9801235B2 (en) Gateway device, communication system, and communication method
JP5328250B2 (en) Communication device and electronic device
CN111786941A (en) Automatic identification method and communication method for communication protocol
CN112866646A (en) Smart community data acquisition method and system based on Bluetooth Mesh
KR20150063072A (en) Data packet transport and delivery system and method
US20080109093A1 (en) Control Device, Device Control System, Device Control Program, Computer-Readable Recording Medium Containing the Device Control Program, and Setting Check Data Creation Method
CN113259273B (en) Switch control method, switch, computer device, and storage medium
JP5193162B2 (en) Wireless communication state acquisition method and wireless station
US20220224995A1 (en) Method for reading fluid meters
CN112350942A (en) Wireless data transmission method, device and system, collector, repeater and gateway
JP4428099B2 (en) Relay master device and remote monitoring system
CN111459517A (en) Master-slave equipment online program upgrading method under optical fiber ring network architecture
CN110493338A (en) A kind of equipment mutual control method, system and computer readable storage medium
CN113660286A (en) Communication protocol fusion method combined with Kalman filtering data fusion and related equipment
US9952575B2 (en) Energy management systems and methods
JP6965290B2 (en) Wireless communication equipment, wireless communication methods, and wireless communication systems
CN115314864A (en) Communication system, method and device
CN110531646B (en) FPGA-based power component system fault data acquisition method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210209

RJ01 Rejection of invention patent application after publication