CN114337719A - Digital antenna, wireless communication device, polling communication method, and notification communication method - Google Patents

Digital antenna, wireless communication device, polling communication method, and notification communication method Download PDF

Info

Publication number
CN114337719A
CN114337719A CN202111667038.0A CN202111667038A CN114337719A CN 114337719 A CN114337719 A CN 114337719A CN 202111667038 A CN202111667038 A CN 202111667038A CN 114337719 A CN114337719 A CN 114337719A
Authority
CN
China
Prior art keywords
converter
received
message
gateway
response
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
Application number
CN202111667038.0A
Other languages
Chinese (zh)
Other versions
CN114337719B (en
Inventor
寇立康
黄玲
王宾
马景辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hollysys Automation Co Ltd
Original Assignee
Hangzhou Hollysys Automation 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 Hangzhou Hollysys Automation Co Ltd filed Critical Hangzhou Hollysys Automation Co Ltd
Priority to CN202111667038.0A priority Critical patent/CN114337719B/en
Publication of CN114337719A publication Critical patent/CN114337719A/en
Application granted granted Critical
Publication of CN114337719B publication Critical patent/CN114337719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a digital antenna, a wireless communication device, a polling communication and notification communication method, comprising the following steps: the digital feeder line 1, the converter 2 and the wireless AP3 are connected in sequence; wherein, the converter 2 is a half-duplex to full-duplex converter; the digital feeder line 1 is used for establishing remote communication connection between the gateway 4 and the converter 2; full-duplex communication is performed between the converter 2 and the wireless AP3, and half-duplex communication is performed between the converter 2 and the gateway 4. This application sets up digital feeder 1 and prolongs the distance that sets up of gateway 4 and digital antenna for the optional installation scope of digital antenna is bigger, has solved the restriction of digital antenna installation site selection, and the signal coverage who designs digital antenna that can be better reduces digital antenna's use quantity, reduces communication delay, reduces the hardware cost.

Description

Digital antenna, wireless communication device, polling communication method, and notification communication method
Technical Field
The present invention relates to the field of industrial control, and more particularly, to a digital antenna, a wireless communication device, a polling communication method, and a notification communication method.
Background
In the field of industrial control, the real-time and certainty of communication is decisive for the availability of the system. Therefore, the field networks currently used for control use wired communication, such as Profibus-DP, PowerLink, HART, etc. The wired link is dominant in the control field at present due to the advantages of strong anti-interference capability, definite circuit delay and the like. However, the most important problem of wired communication is that the deployment cost of field cables is extremely high, and even though the traditional IO deployment mode is developed to the bus deployment mode, the deployment cost of wired cables still is a main contribution factor of the total cost of the control system, so that the technology called Industrial Wireless Sensor Network (IWSN) is operated. Currently, a low-power wireless sensor network suitable for an industrial scene mainly has two international standards: IEC62591 and IEC 62734.
In the traditional centralized gateway 4 scheme, a network manager and a wireless access point are both concentrated on an integrated hardware carrier, the reliability of communication between the access point and the gateway 4 is ensured by the method, particularly under the condition of serial port communication, but the problem of the method is that the gateway 4, namely the access point, is subjected to the problems of wireless coverage, power supply and power supply, gateway 4 uplink communication link integration and the like, and the selection of the deployment position of the gateway 4 is very limited.
In a traditional wireless network, a gateway 4 adopts a single-AP scheme, and a Mesh networking form is applied in order to extend the coverage of the single AP. However, the Mesh network extends the network range in a hop-by-hop manner, the increase of the hop count introduces irreconcilable hop-by-hop transmission delay, and the more the hop count, the larger the delay.
For this reason, there is a need for a digital antenna with less delay and more freedom in the installation location of the AP.
Disclosure of Invention
In view of the above, the present invention is directed to a digital antenna, a wireless communication device, a polling communication method, and a notification communication method, which allow an AP to be installed more freely and with less delay. The specific scheme is as follows:
a digital antenna, comprising: the digital feeder line 1, the converter 2 and the wireless AP3 are connected in sequence; wherein, the converter 2 is a half-duplex to full-duplex converter;
the digital feeder line 1 is used for establishing a remote communication connection between the gateway 4 and the converter 2;
full-duplex communication is performed between the converter 2 and the wireless AP3, and half-duplex communication is performed between the converter 2 and the gateway 4.
Optionally, the digital feeder 1 includes RS 485;
and the gateway 4 and the converter 2 are in communication connection through RS 485.
The invention also discloses a wireless communication device, which comprises a gateway 4 and the digital antenna which are connected with each other.
The invention also discloses a polling communication method, which is applied to the converter and comprises the following steps:
s11: judging whether the idle time exceeds a preset idle time threshold value or not;
s12: if yes, sending a heartbeat message to the gateway;
s13: judging whether a feedback message corresponding to the heartbeat message fed back by the gateway is received within a preset feedback time threshold value;
s14: if the feedback message is received within the feedback time threshold, judging whether the feedback message comprises a Host request or not if the feedback message is received;
s15: if the feedback message does not include the Host request, returning to S11;
s16: and if the feedback message comprises the Host request, responding to the Host request, sending a response message corresponding to the Host request to the gateway, and returning to the step S11.
Optionally, after determining whether a feedback packet corresponding to the heartbeat packet and fed back by the gateway 4 is received within a preset feedback time threshold, the method further includes:
and if the feedback message is not received within the feedback time threshold, entering an overtime processing flow.
The invention also discloses a polling communication method, which is applied to the gateway and comprises the following steps:
s21: judging whether a heartbeat message sent by a converter is received within preset receiving time or not;
s22: if the heartbeat message is received within the receiving time, judging whether a Host request is to be sent or not;
s23: if the Host request to be sent does not exist, sending a heartbeat response message corresponding to the heartbeat message to the converter as a feedback message;
s24: if the Host request is to be sent, packaging the heartbeat response message and the Host request to obtain the feedback message, and sending the feedback message to the converter;
s25: judging whether a response message is received within preset response time or not;
s26: if the response message is received within the response time, returning to S21.
Optionally, the determining whether to receive the heartbeat packet sent by the converter within the preset receiving time or to determine whether to receive the response packet within the preset response time further includes:
and if the heartbeat message sent by the converter is not received in the receiving time or the response message is not received in the response time, entering an overtime processing flow.
The invention also discloses a notification communication method, which is applied to the converter and comprises the following steps:
s31: judging whether uplink data in a network is received or not;
s32: if the uplink data is received, sending the uplink data to the gateway;
s33: judging whether a feedback message corresponding to the uplink data is received within a preset receiving time threshold value;
s34: if so, judging whether the feedback message comprises a Host request or not;
s35: if yes, processing the Host request to obtain a response message corresponding to the Host request;
s36: judging whether new uplink data in the network is received or not;
s37: if so, packaging and sending the new uplink data and the response message to the gateway, and returning to the step S33;
s38: if not, the response message is sent to the gateway, and the step returns to S31.
Optionally, after determining whether uplink data in the network is received, the method further includes:
if the uplink data is not received, judging whether the idle time exceeds a preset idle time threshold value;
and if so, sending a heartbeat message to the gateway.
The invention also discloses a notification communication method, which is applied to the gateway and comprises the following steps:
s41: judging whether uplink data sent by the converter is received within preset uplink receiving time or not;
s42: if so, processing the uplink data to obtain uplink response data;
s43: judging whether a Host request is received or not;
s44: if not, the uplink response data is sent to the converter as a feedback message;
s45: if so, packaging the Host request and the uplink response data to obtain the feedback message and sending the feedback message to the converter;
s46: judging whether response data are received within preset response time or not;
s47: if yes, judging whether the response data comprises new uplink data;
s48: if not, return to S41;
s49: if so, return to S42.
In the present invention, a digital antenna includes: the digital feeder line 1, the converter 2 and the wireless AP3 are connected in sequence; wherein, the converter 2 is a half-duplex to full-duplex converter; the digital feeder line 1 is used for establishing remote communication connection between the gateway 4 and the converter 2; full-duplex communication is performed between the converter 2 and the wireless AP3, and half-duplex communication is performed between the converter 2 and the gateway 4.
The digital feeder 1 is arranged to prolong the arrangement distance between the gateway 4 and the digital antenna, so that the selectable installation range of the digital antenna is larger, the limitation of digital antenna installation and site selection is solved, the signal coverage range of the digital antenna can be better designed, the use number of the digital antenna is reduced, the communication delay is reduced, and the hardware cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a digital antenna according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a polling communication method applied to a converter according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a polling communication timing sequence according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a polling communication flow according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a polling communication method applied to a gateway according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a notification communication method applied to a converter according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating a notification communication timing sequence according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a notification communication flow according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating a notification communication method applied to a gateway according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a digital antenna, which is shown in figure 1 and comprises: a digital feeder 1, a converter 2 and a wireless AP (Access Point) 3 which are connected in sequence; wherein, the converter 2 is a half-duplex to full-duplex converter;
the digital feeder line 1 is used for establishing remote communication connection between the gateway 4 and the converter 2;
full-duplex communication is performed between the converter 2 and the wireless AP3, and half-duplex communication is performed between the converter 2 and the gateway 4.
Specifically, make gateway 4 and wireless AP3 keep away from through setting up digital feeder 1, make wireless AP3 and gateway 4 distributed installation, but increased wireless AP 3's arrangement scope through digital feeder 1, and need not be next to gateway 4 setting again, simultaneously, also include the power supply line in the digital feeder 1, therefore, the problem that intelligent antenna site selection received the power supply, communication link is integrated has been solved, great increase wireless AP 3's installation flexibility, after the optional mounted position grow of wireless AP3, help improving signal coverage, and then also reduced communication delay, the region that originally probably need three wireless AP3 to cover simultaneously, because of the mounted position is variable, only need two wireless AP3 just can cover, hardware cost has been reduced.
Specifically, the digital feeder 1 is selected to increase the range of the wireless AP3, but the advantage of communication link integration cannot be used, so that the communication process becomes a half-duplex mode, but in order to improve the communication mode and ensure the requirement that the communication efficiency is not reduced, a half-duplex to full-duplex converter is provided, half-duplex communication is performed between the converter 2 and the gateway 4, but full-duplex 232 communication is performed between the converter 2 and the wireless AP3, and the expansion control of the wireless AP3 by an upper layer application is facilitated by an IO interface. Meanwhile, the half-duplex communication with the gateway 4 can be performed by using a subsequent communication method without affecting the communication efficiency.
Therefore, the digital feeder 1 is arranged to prolong the arrangement distance between the gateway 4 and the digital antenna, so that the selectable installation range of the digital antenna is larger, the limitation of digital antenna installation and address selection is solved, the signal coverage range of the digital antenna can be better designed, the use number of the digital antenna is reduced, the communication delay is reduced, and the hardware cost is reduced.
Further, the digital feeder 1 comprises RS 485; the gateway 4 and the converter 2 are connected in communication via bidirectional RS485(485(+) and 485 (-)). In addition, the digital feeder 1 also comprises power supply lines (PWR (+) and PWR (-), the power supply lines provide power supply, RS485 has the longest communication distance of 1.2km, and the signal anti-interference capability is improved by adopting a differential transmission mode.
The embodiment of the invention also discloses a wireless communication device, which comprises a gateway 4 and the digital antenna which are connected with each other, as shown in fig. 1.
Therefore, the digital feeder 1 is arranged to prolong the arrangement distance between the gateway 4 and the digital antenna, so that the selectable installation range of the digital antenna is larger, the limitation of digital antenna installation and address selection is solved, the signal coverage range of the digital antenna can be better designed, the use number of the digital antenna is reduced, the communication delay is reduced, and the hardware cost is reduced.
Correspondingly, the embodiment of the present invention also discloses a polling communication method, which is shown in fig. 2, fig. 3 and fig. 4 and applied to the converter 2 as described above, and includes:
specifically, the gateway 4 and the converter 2 at two ends of the digital feeder 1 communicate with each other in a 485 mode, the gateway 4 serves as a slave end, and the converter 2 serves as a master end. The master-slave communication role is arranged in order to match that the wireless network allocates a large amount of links to the uplink data, i.e. the AP is in the state of actively delivering data to the gateway 4 most of the time.
The polling mode is that the master end sends a Keepalive request message (heartbeat message) after a certain time (T _ Keepalive) in a state that no data needs to be delivered to the gateway 4, so as to achieve two purposes: one is to ensure that the opposite end is online, and the other is to inquire whether the slave end has a request message to be transmitted. If the slave end does not have the upper computer request of the cache, the slave end directly replies a keep-alive response to the master end, which indicates that the communication is normal; if the slave end has a cached Host end request before replying the keep-alive response, constructing an aggregation message of the keep-alive response and the Host request, and sending the aggregation message to the master end, so that the slave end waits for the request response of the master end; if the master end does not receive the response message of the slave end within the specified time (T _ ack _ timeout), the master end considers that the communication is abnormal and enters a timeout processing flow; if the slave end does not receive any message of the master end within the specified time (T _ window), the AP is considered to be disconnected, and a disconnection abnormal flow is triggered.
S11: and judging whether the idle time exceeds a preset idle time threshold value.
Specifically, the converter 2 and the gateway 4 determine whether both sides are online by sending heartbeat messages (keep messages) at regular time, the converter 2 serves as a master end and can serve as an initiator of the heartbeat messages, and the gateway 4 replies the heartbeat messages of the converter 2.
Specifically, an idle time threshold is preset, the idle time is determined as the idle time under the condition that no communication is carried out between the converter 2 and the gateway 4, and when the idle time reaches the idle time threshold, for example, 500ms, a heartbeat message can be sent so as to confirm whether the opposite side is online or not and no fault occurs. Certainly, if there is message communication between the gateway 4 and the converter 2 within the idle time threshold, the heartbeat message is not sent, and other message information plays a role of the heartbeat message, and the idle time threshold can be reset and the timer can be restarted each time the message is received and sent.
S12: if yes, sending heartbeat message to the gateway 4.
Specifically, if the idle time threshold is exceeded, a heartbeat message is sent to the gateway 4, so as to determine whether the gateway 4 is online.
S13: and judging whether a feedback message corresponding to the heartbeat message fed back by the gateway 4 is received within a preset feedback time threshold value.
Specifically, whether a feedback message corresponding to the heartbeat message is received within a preset feedback time threshold is judged, if so, the gateway 4 may be considered to be online and may perform subsequent operations, and if not, an overtime processing flow is entered.
S14: and if the feedback message is received within the feedback time threshold, judging whether the feedback message comprises a Host request.
Specifically, the messages fed back by the gateway 4 may only include heartbeat response messages corresponding to the heartbeat messages, or may also include a Host request, so that the content in the feedback messages needs to be determined and processed in a targeted manner.
S15: if the request of Host is not included in the feedback message, the process returns to S11.
Specifically, if the request of the Host is not included, the feedback message does not include the content that the converter 2 needs to process, so that the process may return to S11 to continue the idle, i.e., heartbeat, determination.
S16: and if the feedback message includes the Host request, responding to the Host request, sending a response message corresponding to the Host request to the gateway 4, and returning to the step S11.
Specifically, if the feedback message includes the Host request, the request is responded to the Host request, a corresponding operation is performed, a response result, that is, a response message, is sent to the gateway 4, a response request processing is completed, and finally, the process returns to S11 to perform heartbeat judgment.
Therefore, when heartbeat connection is carried out, the embodiment of the invention combines the heartbeat connection with Host request processing, realizes half-duplex and full-duplex conversion under the condition of not influencing the communication effect, and provides technical support for prolonging the data feeder line.
Correspondingly, the embodiment of the present invention also discloses a polling communication method, as shown in fig. 3, fig. 4 and fig. 5, which is applied to the gateway 4 as described above, and includes:
in the embodiment of the invention, the converter 2 is a master end, and the gateway 4 is a slave end.
S21: and judging whether the heartbeat message sent by the converter 2 is received within the preset receiving time.
Specifically, the gateway 4, as a slave, determines whether a heartbeat packet sent by the converter 2 is received within a preset receiving time, and if not, indicates that the converter 2 may malfunction or drop, and may enter a timeout processing flow.
S22: and if the heartbeat message is received within the receiving time, judging whether a Host request is to be sent or not.
Specifically, since the half-duplex communication mode is adopted, in order to save the number of times of communication, the Host request is sent together with the heartbeat response message, and therefore, before the heartbeat response message is sent, whether the Host request is to be sent or not is judged, so that the Host request and the heartbeat response message can be sent together later.
S23: and if the Host request to be sent does not exist, sending the heartbeat response message corresponding to the heartbeat message as a feedback message to the converter 2.
Specifically, if there is no Host request to be sent, only the heartbeat response packet corresponding to the heartbeat packet is sent to the converter 2 as the feedback packet.
S24: and if the Host request is to be sent, packaging the heartbeat response message and the Host request to obtain a feedback message, and sending the feedback message to the converter 2.
Specifically, if the Host request is to be sent, the heartbeat response message and the Host request are packaged to obtain the feedback message, and the feedback message is sent to the converter 2, so that the sending times are reduced, and each detection is performed together with the heartbeat response, so that the delay is not too long.
S25: and judging whether the response message is received within the preset response time.
Specifically, it is also determined whether the response message is received within the preset response time when the response message is received, and if the response time is exceeded, it may also indicate that the converter 2 has a fault during the response period and needs to enter an overtime processing procedure.
S26: if a response message is received within the response time, return is made to S21.
Specifically, if the response message is successfully received within the response time, the request of the Host is completed, and the process may continue to return to S21 to wait for the next heartbeat message sent by the converter 2.
Therefore, when heartbeat connection is carried out, the embodiment of the invention combines the heartbeat connection with Host request processing, realizes half-duplex and full-duplex conversion under the condition of not influencing the communication effect, and provides technical support for prolonging the data feeder line.
In addition, an embodiment of the present invention further discloses a notification communication method, as shown in fig. 6, fig. 7, and fig. 8, which is applied to the converter 2 as described above, and includes:
specifically, the notification communication mode is a timely communication mode, and the converter 2 receives the uplink data of the AP at the time of arrival and then processes the received uplink data. In the embodiment of the present invention, the converter 2 is still the master, and the gateway 4 is the slave.
S31: judging whether uplink data in a network is received or not;
s32: if the uplink data is received, the uplink data is sent to the gateway 4.
Specifically, if the uplink data is not received, whether the idle time exceeds a preset idle time threshold value is judged; if yes, sending a heartbeat message to the gateway 4, namely executing the heartbeat communication process described above.
S33: and judging whether a feedback message corresponding to the uplink data is received within a preset receiving time threshold value.
Specifically, the determination of whether the feedback message is received within the preset receiving time threshold is also to determine whether the opposite end is still online, if so, S34 is executed, and if not, an overtime processing flow is entered.
S34: and if so, judging whether the feedback message comprises a Host request.
Specifically, when feeding back a feedback message corresponding to uplink data, the gateway 4 may also receive a new Host request at the same time, and in order to reduce the number of communications and improve the communications efficiency, the Host request and the uplink response data are packed together to be sent to the converter 2 as a feedback message, so that the converter 2 needs to determine whether to perform subsequent Host request processing or not, where the feedback message includes the Host request.
S35: and if so, processing the Host request to obtain a response message corresponding to the Host request.
Specifically, if the feedback message includes a Host request, the Host request is processed to obtain a response message corresponding to the Host request for subsequent transmission.
S35: and judging whether new uplink data in the network is received or not.
Specifically, before the response message is obtained and ready to be sent to the gateway 4, it is determined whether new uplink data in the network is received again, and if the new uplink data is received, the new uplink data can be sent together, so that the single communication efficiency is improved.
S36: if so, packaging and sending the new uplink data and the response message to the gateway 4, and returning to the step S33;
s37: if not, a response message is sent to the gateway 4 and returns to S31.
Specifically, if the uplink data is received, the uplink data is packaged and sent together, and the step returns to S33 to wait for the feedback message fed back by the gateway 4, and if the uplink data is not received, the step returns to S31 to wait for the next uplink data.
Therefore, the embodiment of the invention combines the response and the sending of the uplink data into the response and the sending of the heartbeat message and the Host request as much as possible, improves the single sending efficiency, and reduces the sending times, thereby orderly maintaining the communication and converting the full-duplex communication into the half-duplex communication.
In addition, an embodiment of the present invention further discloses a notification communication method, as shown in fig. 7, fig. 8, and fig. 9, which is applied to the gateway 4, and includes:
in the embodiment of the invention, the converter 2 is a master end, and the gateway 4 is a slave end.
S41: judging whether uplink data sent by the converter 2 is received within preset uplink receiving time;
s42: and if so, processing the uplink data to obtain uplink response data.
Specifically, if the uplink data is not received within the uplink reception time, the converter 2 may fail to be connected, and enter the disconnection processing flow of the wireless AP 3.
Specifically, after receiving the uplink data, the corresponding processing flow is executed to obtain the corresponding uplink response data.
S43: judging whether a Host request is received or not;
s44: if not, sending the uplink response data as a feedback message to the converter 2;
s45: and if so, packaging the Host request and the uplink response data to obtain a feedback message and sending the feedback message to the converter 2.
Specifically, if the Host request is received, the Host request and the uplink response data are packed together to obtain a feedback message, so that the single communication efficiency is improved, and the communication frequency is reduced.
S46: judging whether response data are received within preset response time or not;
s47: if yes, judging whether the response data comprises new uplink data.
Specifically, if response data are received within a preset response time, whether new uplink data are included in the response data is judged; if the response data is not received in the preset response time, the converter 2 is considered to be in a fault disconnection state, and the overtime processing flow is entered.
S48: if not, return to S41;
s49: if so, return to S42.
Therefore, the embodiment of the invention combines the response and the sending of the uplink data into the response and the sending of the heartbeat message and the Host request as much as possible, improves the single sending efficiency, and reduces the sending times, thereby orderly maintaining the communication and converting the full-duplex communication into the half-duplex communication.
Specifically, the idle time threshold, the feedback time threshold, the receiving time, the response time, the receiving time threshold, the uplink receiving time, and other waiting times may be the same or different, and may all be set independently according to the actual application situation; the embodiments of the invention can be applied to the wireless instrument communication scene.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The technical content provided by the present invention is described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the above description of the examples is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A digital antenna, comprising: the system comprises a digital feeder line (1), a converter (2) and a wireless AP (3) which are connected in sequence; wherein the converter (2) is a half-duplex to full-duplex converter;
the digital feeder (1) is used for establishing remote communication connection between the gateway (4) and the converter (2);
full-duplex communication is performed between the converter (2) and the wireless AP (3), and half-duplex communication is performed between the converter (2) and the gateway (4).
2. The digital antenna according to claim 1, characterized in that the digital feed line (1) comprises RS 485;
and the gateway (4) and the converter (2) are in communication connection through RS 485.
3. A wireless communication device, characterized in that it comprises a gateway (4) and a digital antenna according to claim 1 or 2, connected to each other.
4. A polling communication method, applied to the converter as claimed in claim 1 or 2, comprising:
s11: judging whether the idle time exceeds a preset idle time threshold value or not;
s12: if yes, sending a heartbeat message to the gateway;
s13: judging whether a feedback message corresponding to the heartbeat message fed back by the gateway is received within a preset feedback time threshold value;
s14: if the feedback message is received within the feedback time threshold, judging whether the feedback message comprises a Host request or not if the feedback message is received;
s15: if the feedback message does not include the Host request, returning to S11;
s16: and if the feedback message comprises the Host request, responding to the Host request, sending a response message corresponding to the Host request to the gateway, and returning to the step S11.
5. The polling communication method according to claim 4, wherein after determining whether the feedback packet corresponding to the heartbeat packet and fed back by the gateway is received within a preset feedback time threshold, the method further comprises:
and if the feedback message is not received within the feedback time threshold, entering an overtime processing flow.
6. A polling communication method, applied to the gateway as claimed in claim 2, comprising:
s21: judging whether a heartbeat message sent by a converter is received within preset receiving time or not;
s22: if the heartbeat message is received within the receiving time, judging whether a Host request is to be sent or not;
s23: if the Host request to be sent does not exist, sending a heartbeat response message corresponding to the heartbeat message to the converter as a feedback message;
s24: if the Host request is to be sent, packaging the heartbeat response message and the Host request to obtain the feedback message, and sending the feedback message to the converter;
s25: judging whether a response message is received within preset response time or not;
s26: if the response message is received within the response time, returning to S21.
7. The polling communication method according to claim 6, wherein the determining whether the heartbeat message sent by the converter is received within a preset receiving time or the determining whether the response message is received within a preset response time further comprises:
and if the heartbeat message sent by the converter is not received in the receiving time or the response message is not received in the response time, entering an overtime processing flow.
8. A notification communication method applied to the converter according to claim 1 or 2, comprising:
s31: judging whether uplink data in a network is received or not;
s32: if the uplink data is received, sending the uplink data to the gateway;
s33: judging whether a feedback message corresponding to the uplink data is received within a preset receiving time threshold value;
s34: if so, judging whether the feedback message comprises a Host request or not;
s35: if yes, processing the Host request to obtain a response message corresponding to the Host request;
s36: judging whether new uplink data in the network is received or not;
s37: if so, packaging and sending the new uplink data and the response message to the gateway, and returning to the step S33;
s38: if not, the response message is sent to the gateway, and the step returns to S31.
9. The notification communication method according to claim 8, wherein after determining whether the uplink data in the network is received, the method further comprises:
if the uplink data is not received, judging whether the idle time exceeds a preset idle time threshold value;
and if so, sending a heartbeat message to the gateway.
10. A notification communication method applied to the gateway as claimed in claim 2, comprising:
s41: judging whether uplink data sent by the converter is received within preset uplink receiving time or not;
s42: if so, processing the uplink data to obtain uplink response data;
s43: judging whether a Host request is received or not;
s44: if not, the uplink response data is sent to the converter as a feedback message;
s45: if so, packaging the Host request and the uplink response data to obtain the feedback message and sending the feedback message to the converter;
s46: judging whether response data are received within preset response time or not;
s47: if yes, judging whether the response data comprises new uplink data;
s48: if not, return to S41;
s49: if so, return to S42.
CN202111667038.0A 2021-12-30 2021-12-30 Digital antenna, wireless communication device, polling communication method, and notification communication method Active CN114337719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111667038.0A CN114337719B (en) 2021-12-30 2021-12-30 Digital antenna, wireless communication device, polling communication method, and notification communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111667038.0A CN114337719B (en) 2021-12-30 2021-12-30 Digital antenna, wireless communication device, polling communication method, and notification communication method

Publications (2)

Publication Number Publication Date
CN114337719A true CN114337719A (en) 2022-04-12
CN114337719B CN114337719B (en) 2024-04-16

Family

ID=81020834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111667038.0A Active CN114337719B (en) 2021-12-30 2021-12-30 Digital antenna, wireless communication device, polling communication method, and notification communication method

Country Status (1)

Country Link
CN (1) CN114337719B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468380A (en) * 2014-11-14 2015-03-25 上海斐讯数据通信技术有限公司 Interface communication method of access point device and server interaction
CN207742565U (en) * 2018-01-29 2018-08-17 黄山学院 A kind of intelligent home control system of optimization
CN110830346A (en) * 2019-11-03 2020-02-21 杭州图软科技有限公司 Vehicle-mounted gateway
CN111343218A (en) * 2018-12-18 2020-06-26 杭州光启人工智能研究院 Data sending and receiving method based on heartbeat message, storage medium and processor
CN112994586A (en) * 2021-04-29 2021-06-18 广东电网有限责任公司 Power supply maintenance system suitable for valley area
WO2021136175A1 (en) * 2019-12-30 2021-07-08 京信网络系统股份有限公司 Device management method, apparatus, communication device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468380A (en) * 2014-11-14 2015-03-25 上海斐讯数据通信技术有限公司 Interface communication method of access point device and server interaction
CN207742565U (en) * 2018-01-29 2018-08-17 黄山学院 A kind of intelligent home control system of optimization
CN111343218A (en) * 2018-12-18 2020-06-26 杭州光启人工智能研究院 Data sending and receiving method based on heartbeat message, storage medium and processor
CN110830346A (en) * 2019-11-03 2020-02-21 杭州图软科技有限公司 Vehicle-mounted gateway
WO2021136175A1 (en) * 2019-12-30 2021-07-08 京信网络系统股份有限公司 Device management method, apparatus, communication device, and storage medium
CN112994586A (en) * 2021-04-29 2021-06-18 广东电网有限责任公司 Power supply maintenance system suitable for valley area

Also Published As

Publication number Publication date
CN114337719B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
US7522563B2 (en) Network protocol
CN101449525B (en) Control the method and device of energy consumption of sensor network nodes
CN101827378B (en) Blending MAC protocol design method suitable for wireless sensor network
US7065391B2 (en) Communication system, communication apparatus, and communication control method
CN102065000B (en) Network congestion control method, device and system
CN101489294B (en) Method, router and network appliance for regulating power
CN107548103B (en) Data forwarding method and device
US7889710B2 (en) Wireless mesh network with locally activated fast active scheduling of wireless messages
JP2013021689A (en) Control device and control method
CN103906207A (en) Wireless sensor network data transmission method based on self-adaptation required awakening technology
CN111836332A (en) Lora chain network communication method, Lora gateway and Lora chain network communication system
CN113068142B (en) Wireless communication method based on LoRa and smoke collection and exhaust machine system
JP6675422B2 (en) Random access repeater, relay system and relay method thereof
CN114650612A (en) LoRa networking method based on carrier sensing technology
CN102811451B (en) Method and device for controlling connection of control and provisioning of wireless access points (Capwap) tunnel
EP2096893B1 (en) Intermittent operative communication apparatus adaptively controlling the timing of waiting data reception and a method therefor
US6229807B1 (en) Process of monitoring the activity status of terminals in a digital communication system
CN107172692A (en) Low time delay ensures slot allocation method
CN101345749B (en) Multi-hop wireless network congestion control method based on RTS/CTS mechanism
CN114337719B (en) Digital antenna, wireless communication device, polling communication method, and notification communication method
KR101667248B1 (en) method for operating mesh network in VHF frequency band
CN109788499B (en) LoRa transmission method for backbone N-node M redundancy transmission
CN103763764A (en) Data transmission method for electric transmission line wireless communication based on automatic power increasing retransmission mechanism
WO2015096432A1 (en) Method and system for controlling network topology structure
CN102457980B (en) Data transmission method and system in sensor network

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