CN112770310B - Concurrent double-module gateway wireless fire alarm system and implementation method - Google Patents

Concurrent double-module gateway wireless fire alarm system and implementation method Download PDF

Info

Publication number
CN112770310B
CN112770310B CN202011639729.5A CN202011639729A CN112770310B CN 112770310 B CN112770310 B CN 112770310B CN 202011639729 A CN202011639729 A CN 202011639729A CN 112770310 B CN112770310 B CN 112770310B
Authority
CN
China
Prior art keywords
module
networking
end equipment
frequency band
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011639729.5A
Other languages
Chinese (zh)
Other versions
CN112770310A (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.)
Tanda Technology Co ltd
Original Assignee
Tanda 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 Tanda Technology Co ltd filed Critical Tanda Technology Co ltd
Priority to CN202011639729.5A priority Critical patent/CN112770310B/en
Publication of CN112770310A publication Critical patent/CN112770310A/en
Application granted granted Critical
Publication of CN112770310B publication Critical patent/CN112770310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/51Allocation or scheduling criteria for wireless resources based on terminal or device properties

Landscapes

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

Abstract

The embodiment of the invention provides a realization method of a concurrent double-module gateway wireless fire alarm system, which comprises the following steps: the A module starts a networking frequency band, and the B module starts a normal frequency band; the A module issues a command for entering a rapid CAD mode, and wakes up front-end equipment which is not networked; traversing the equipment table; when no front-end equipment which is not connected with the network exists, the A module is switched to a normal frequency band, and the B module is switched to an emergency frequency band; traversing and refreshing the device table; when the front-end equipment with networking failure does not exist, the A module issues a command for exiting the quick CAD mode; and (5) exiting the networking mode and ending networking. The networking of the double modules is not affected by the normal operation of the A module and the B module; after networking is completed, the A module is a normal frequency band, and the B module is an emergency frequency band, so that the problem that the frequency band is occupied and alarm reporting information cannot be received during networking is solved, and the problem that the reporting information is lost or not timely reported when one frequency band is occupied is solved.

Description

Concurrent double-module gateway wireless fire alarm system and implementation method
Technical Field
The invention relates to the technical field of fire control networks, in particular to a concurrent double-module gateway wireless fire control alarm system and an implementation method.
Background
The automatic fire alarm system consists of trigger unit, fire alarm unit, linkage output unit and other auxiliary units, and has the functions of converting the physical quantities of smoke, heat, flame, etc. produced by combustion into electric signal via fire detector, transmitting the electric signal to fire alarm controller, informing the whole floor to disperse in sound or light mode, and the controller records the position, time, etc. of fire to make people find fire timely and take effective measures to extinguish the fire in initial stage.
The fire alarm system performs networking communication in a wired mode for a long time, and in recent years, along with the expiration of the fire alarm system in early 80 s, unnecessary loss and trouble are caused for avoiding refitting; and the current fire-fighting schemes in cultural histories all require that the original building cannot be destroyed in a large area, and the adoption of a wireless fire alarm system is a good choice.
The current wireless fire alarm system cannot receive alarm information during networking, and can only receive the alarm information after networking is completed, so that the alarm reporting information is lost or delayed, and when two pieces of alarm information appear simultaneously, the alarm information cannot be received simultaneously due to the adoption of a single frequency band.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are provided to provide a concurrent dual-module gateway wireless fire alarm system and implementation method that overcomes or at least partially solves the foregoing problems.
In order to solve the problems, the embodiment of the invention discloses a realization method of a concurrent double-module gateway wireless fire alarm system, which comprises the following steps:
the A module starts a networking frequency band, and the B module starts a normal frequency band;
the A module issues a command for entering a rapid CAD mode, and wakes up front-end equipment which is not networked;
traversing the equipment table once to inquire whether front-end equipment for network access exists;
when the front-end equipment which is not connected with the network does not exist, the A module is switched to a normal frequency band, and the B module is switched to an emergency frequency band;
traversing and refreshing an equipment table for the second time, and inquiring whether the front-end equipment with networking failure exists;
when the front-end equipment with networking failure does not exist, the A module issues a command for exiting a quick CAD mode;
and (5) exiting the networking mode and ending networking.
Preferably, the module a enters the networking frequency band, and before the module B enters the normal frequency band, the module B includes:
front-end equipment is added through an upper computer.
Preferably, the adding the front-end device through the upper computer includes:
and adding front-end equipment by the upper computer in a code scanning or manual input mode.
Preferably, after the device table is traversed once and whether the front-end device for network access exists is queried, the method further includes:
when the front-end equipment which is not connected with the network exists, the following steps are executed:
the A module sends a first networking frame to the front-end equipment in a networking frequency band;
the A module and the B module wait for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S;
detecting a value of a first retransmission counter when no acknowledgement or acknowledgement timeout of the front-end device is received;
and when the value of the first retransmission counter is smaller than or equal to 1, adding 1 to the value of the first retransmission counter, and jumping to the step that the A module transmits a first networking frame to the front-end equipment in the networking frequency band for execution, otherwise, marking that the front-end equipment fails to be networking, resetting the value of the first retransmission counter, jumping to the one-time traversal equipment table, and inquiring whether the front-end equipment which is networking exists.
Preferably, the a module and the B module wait for receiving the response of the front-end device, where after the response timeout time is 2.8S, the method further includes:
when receiving the response of the front-end equipment, the method comprises the following steps:
storing the related network information of the front-end equipment to Flash;
continuing to detect and wait for a subsequent data packet, wherein the waiting time is 2S;
resetting the 2S first timer when the subsequent data packet exists, calculating whether the waiting time is overtime, and detecting whether the waiting time is overtime when the subsequent data packet does not exist;
and when the time is not over, jumping to the step of continuously detecting and waiting for the subsequent data packet, wherein the waiting time is 2S, otherwise, ending and jumping to the step of traversing the equipment table once and inquiring whether the front-end equipment accessing the network exists or not.
Preferably, after the second traversing the device table and refreshing the front-end device in the device table and querying whether the front-end device with networking failure exists, the method further includes:
when the front-end equipment with networking failure exists, the following steps are executed:
the A module sends a second networking frame to the front-end equipment in a normal frequency band;
the A module waits for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S;
detecting a value of a second retransmission counter when no response or response timeout of the front-end device is received;
and when the value of the second retransmission counter is smaller than or equal to 1, adding 1 to the value of the second retransmission counter, and jumping to the step that the A module transmits a second networking frame to the front-end equipment in a normal frequency band for execution, otherwise, marking that the networking of the front-end equipment fails, resetting the value of the second retransmission counter, jumping to the equipment table for secondary traversal, refreshing the front-end equipment in the equipment table, and inquiring whether the networking failure exists or not.
Preferably, the a module waits for receiving the response of the front-end device, where after the response timeout time is 2.8S, the method further includes:
when receiving the response of the front-end equipment, the method comprises the following steps:
storing the related network information of the front-end equipment to Flash;
continuing to detect and wait for a subsequent data packet, wherein the waiting time is 2S;
when a subsequent data packet exists, resetting the 1.6S second timer, and detecting whether waiting is overtime; otherwise, detecting whether waiting is overtime or not when no subsequent data packet exists;
and when the waiting time is not overtime, jumping to the step of continuously detecting and waiting for the subsequent data packet, wherein the waiting time is 2S, otherwise, when the waiting time is overtime, ending and jumping to the step of secondarily traversing the equipment table, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists or not.
The embodiment of the invention discloses a concurrent double-module gateway wireless fire alarm system, which comprises:
the initialization module is used for enabling the networking frequency band by the A module and enabling the normal frequency band by the B module;
the first instruction issuing module is used for issuing a command for entering a rapid CAD mode by the A module and waking up front-end equipment which is not networked;
the traversing module is used for traversing the equipment table once and inquiring whether the front-end equipment for network access exists or not;
the mode control module is used for switching the A module into a normal frequency band and switching the B module into an emergency frequency band when the front-end equipment which is not connected with the network does not exist;
the traversing module is further used for traversing and refreshing the device table for the second time and inquiring whether the front-end device with the networking failure exists;
the mode control module is also used for issuing a command for exiting a quick CAD mode when the front-end equipment with networking failure does not exist;
and the completion module is used for exiting the networking mode and ending the networking.
The embodiment of the invention discloses electronic equipment, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the realization method of the concurrent double-module gateway wireless fire alarm system when being executed by the processor.
The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the realization method of the concurrent dual-module gateway wireless fire alarm system when being executed by a processor.
The embodiment of the invention has the following advantages: networking is carried out through the networking of the double modules, the networking frequency band of the A module is networking, the B module is normal frequency band, and at the moment, the networking frequency band of the A module and the normal operation of the B module are not affected; when the A module networking is completed, the A module is switched to a normal frequency band, the B module is switched to an emergency frequency band, at the moment, alarm information is preferentially reported from the emergency frequency band, and if the emergency frequency band is in a non-idle state, the alarm information is reported from the normal frequency band; therefore, the problem that the frequency band is occupied and the alarm reporting information cannot be received during networking is solved, and the problem that the reporting information is lost or not timely when a certain frequency band is occupied is also solved.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a method for implementing a concurrent dual-module gateway wireless fire alarm system of the present invention;
FIG. 2 is a flow chart of sub-steps of the steps in FIG. 1;
FIG. 3 is a sub-step flow chart of the steps in FIG. 2;
FIG. 4 is another sub-step flow of the steps in FIG. 1;
fig. 5 is a flow chart of sub-steps of the steps in fig. 4.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
One of the core ideas of the embodiment of the invention is that when networking, the gateway works the A module in the networking frequency band, the B module works in the normal frequency band, then the device which is not networking in the device table is searched, then a networking frame is issued in the networking frequency band, the device which is not networking at the front end gives any data packet as a response in the normal frequency band after receiving the networking frame, and after receiving the response, the gateway updates the relevant information of the device and stores the relevant information into Flash (Flash memory) to prevent the loss. Networking is carried out through a double-module networking, networking frequency bands of the A module are networking, the B module is a normal frequency band, and networking of the A module and normal operation of the B module are not affected; when the networking of the A module is completed, the A module is switched to a normal frequency band, the B module is switched to an emergency frequency band, alarm information is reported from the emergency frequency band preferentially, and if the emergency frequency band is in a non-idle state, the alarm information is reported from the normal frequency band; therefore, the problem that the frequency band is occupied and the alarm reporting information cannot be received during networking is solved, and the problem that the reporting information is lost or not timely when a certain frequency band is occupied is also solved.
Referring to fig. 1, a step flow chart of an implementation method embodiment of a dual-mode gateway wireless fire alarm system of the present invention is shown, which specifically may include the following steps:
s1, enabling a networking frequency band by a module A, and enabling a normal frequency band by a module B;
s2, the A module issues a command for entering a rapid CAD (Channel Activity Detection ) mode, and wakes up front-end equipment which is not networked;
s3, traversing the device table once, and inquiring whether front-end devices accessing the network exist or not;
s4, when the front-end equipment which is not connected with the network does not exist, the A module is switched to a normal frequency band, and the B module is switched to an emergency frequency band;
s5, traversing and refreshing the device table for the second time, and inquiring whether the front-end device with the networking failure exists;
s6, when the front-end equipment with networking failure does not exist, the A module issues a command for exiting the quick CAD mode;
s7, exiting the networking mode and ending networking.
The embodiment shows an implementation side of a dual-mode gateway wireless fire alarm system of the invention, which comprises the following steps: adding front-end equipment through an upper computer, specifically adding the front-end equipment through the upper computer in a code scanning or manual input mode; the A module starts a networking frequency band, and the B module starts a normal frequency band; the A module issues a command for entering a rapid CAD mode, and wakes up front-end equipment which is not networked; traversing the equipment table once to inquire whether front-end equipment for network access exists; when the front-end equipment which is not connected with the network does not exist, the A module is switched to a normal frequency band, and the B module is switched to an emergency frequency band; when there is the head-end equipment that is not networked, the following steps are performed as shown in fig. 2: the A module sends a first networking frame to the front-end equipment in a networking frequency band; the A module and the B module wait for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S; detecting a value of a first retransmission counter when no acknowledgement or acknowledgement timeout of the front-end device is received;
when receiving the reply of the front-end equipment, the following steps are executed as shown in fig. 3: storing the related network information of the front-end equipment to Flash; continuing to detect and wait for a subsequent data packet, wherein the waiting time is 2S; resetting the 2S first timer when the subsequent data packet exists, calculating whether the waiting time is overtime, and detecting whether the waiting time is overtime when the subsequent data packet does not exist; when the time is not overtime, jumping to the step of continuously detecting and waiting for the subsequent data packet, wherein the waiting time is 2S, otherwise, ending and jumping to the primary traversal equipment table, and inquiring whether the front-end equipment accessing the network exists or not;
and when the value of the first retransmission counter is smaller than or equal to 1, adding 1 to the value of the first retransmission counter, and jumping to the step that the A module transmits a first networking frame to the front-end equipment in the networking frequency band for execution, otherwise, marking that the front-end equipment fails to be networking, resetting the value of the first retransmission counter, jumping to the one-time traversal equipment table, and inquiring whether the front-end equipment which is networking exists.
In this embodiment, the device table is traversed and refreshed twice, and whether the front-end device with the networking failure exists is queried; when the front-end equipment with networking failure exists, the following steps are executed as shown in fig. 4:
the A module sends a second networking frame to the front-end equipment in a normal frequency band; the A module waits for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S; detecting a value of a second retransmission counter when no response or response timeout of the front-end device is received; the following steps are performed when a response from the head-end equipment is received, as shown in fig. 5:
storing the related network information of the front-end equipment to Flash; continuing to detect and wait for a subsequent data packet, wherein the waiting time is 2S; when a subsequent data packet exists, resetting the 1.6S second timer, and detecting whether waiting is overtime; otherwise, detecting whether waiting is overtime or not when no subsequent data packet exists; when waiting is not overtime, jumping to the step of continuously detecting and waiting for a subsequent data packet, wherein the waiting time is 2S, otherwise, when waiting is overtime, ending and jumping to the step of secondarily traversing the equipment table, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists;
when the value of the second retransmission counter is smaller than or equal to 1, adding 1 to the value of the second retransmission counter, and jumping to the step that the A module transmits a second networking frame to the front-end equipment in a normal frequency band for execution, otherwise, marking that the networking of the front-end equipment fails, resetting the value of the second retransmission counter, jumping to the equipment table for traversing the equipment for the second time, refreshing the front-end equipment in the equipment table, and inquiring whether the networking failure exists or not;
when the front-end equipment with networking failure does not exist, the A module issues a command for exiting a quick CAD mode; and (5) exiting the networking mode and ending networking.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
In another embodiment, a concurrent dual-module gateway wireless fire alarm system is disclosed, comprising: the initialization module is used for enabling the networking frequency band by the A module and enabling the normal frequency band by the B module; the first instruction issuing module is used for issuing a command for entering a rapid CAD mode by the A module and waking up front-end equipment which is not networked; the traversing module is used for traversing the equipment table once and inquiring whether the front-end equipment for network access exists or not; the mode control module is used for switching the A module into a normal frequency band and switching the B module into an emergency frequency band when the front-end equipment which is not connected with the network does not exist; the traversing module is further used for traversing and refreshing the device table for the second time and inquiring whether the front-end device with the networking failure exists; the mode control module is also used for issuing a command for exiting a quick CAD mode when the front-end equipment with networking failure does not exist; and the completion module is used for exiting the networking mode and ending the networking.
The beneficial effects of the invention include: networking is carried out through a double-module networking, networking frequency bands of the A module are networking, the B module is a normal frequency band, and networking of the A module and normal operation of the B module are not affected; when the networking of the A module is completed, the A module is switched to a normal frequency band, the B module is switched to an emergency frequency band, alarm information is reported from the emergency frequency band preferentially, and if the emergency frequency band is in a non-idle state, the alarm information is reported from the normal frequency band; therefore, the problem that the frequency band is occupied and the alarm reporting information cannot be received during networking is solved, and the problem that the reporting information is lost or not timely when a certain frequency band is occupied is also solved.
In another embodiment, an electronic device is also disclosed, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program implementing the steps of the concurrent dual-module gateway wireless fire alarm system when executed by the processor.
In an embodiment, a computer readable storage medium is also disclosed, wherein the computer readable storage medium stores a computer program, and the computer program when executed by a processor implements the steps of the concurrent dual-module gateway wireless fire alarm system.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The invention provides a concurrent double-module gateway wireless fire alarm system and an implementation method thereof, which are described in detail, wherein specific examples are applied to illustrate the principle and the implementation mode of the invention, and the description of the above examples is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (8)

1. The realization method of the concurrent double-module gateway wireless fire alarm system is characterized by comprising the following steps of:
the A module starts a networking frequency band, and the B module starts a normal frequency band;
the A module issues a command for entering a rapid CAD mode, and wakes up front-end equipment which is not networked;
traversing the equipment table once to inquire whether front-end equipment for network access exists;
when the front-end equipment which is not connected with the network exists, the A module sends a first networking frame to the front-end equipment in a networking frequency band; the A module and the B module wait for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S; detecting a value of a first retransmission counter when no acknowledgement or acknowledgement timeout of the front-end device is received; when the value of the first retransmission counter is smaller than or equal to 1, adding 1 to the value of the first retransmission counter, and jumping to the step that the A module transmits a first networking frame to the front-end equipment in a networking frequency band for execution, otherwise, marking that the front-end equipment fails to be networking, resetting the value of the first retransmission counter, jumping to the one-time traversal equipment table, and inquiring whether the front-end equipment which is networking exists;
when the front-end equipment which is not connected with the network does not exist, the A module is switched to a normal frequency band, and the B module is switched to an emergency frequency band; the alarm information is preferentially reported from the emergency frequency band; when the emergency frequency band is in a non-idle state, reporting the alarm information from the normal frequency band;
traversing and refreshing an equipment table for the second time, and inquiring whether the front-end equipment with networking failure exists;
when the front-end equipment with networking failure exists, the A module sends a second networking frame to the front-end equipment in a normal frequency band; the A module waits for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S; detecting a value of a second retransmission counter when no response or response timeout of the front-end device is received; when the value of the second retransmission counter is smaller than or equal to 1, adding 1 to the value of the second retransmission counter, and jumping to the step that the A module transmits a second networking frame to the front-end equipment in a normal frequency band for execution, otherwise, marking that the networking of the front-end equipment fails, resetting the value of the second retransmission counter, jumping to the equipment table for traversing the equipment for the second time, refreshing the front-end equipment in the equipment table, and inquiring whether the networking failure exists or not;
when the front-end equipment with networking failure does not exist, the A module issues a command for exiting a quick CAD mode;
and (5) exiting the networking mode and ending networking.
2. The implementation method according to claim 1, wherein before the a module enters the networking frequency band and the B module enters the normal frequency band, the implementation method includes:
front-end equipment is added through an upper computer.
3. The implementation method according to claim 2, wherein the adding, by the upper computer, the front-end device includes:
and adding front-end equipment by the upper computer in a code scanning or manual input mode.
4. The implementation method according to claim 1, wherein the a-module and the B-module wait to receive the response of the front-end device, and further comprising, after a response timeout time of 2.8S:
when receiving the response of the front-end equipment, the method comprises the following steps:
storing the related network information of the front-end equipment to Flash;
continuing to detect and wait for a subsequent data packet, wherein the waiting time is 2S;
resetting the 2S first timer when the subsequent data packet exists, calculating whether the waiting time is overtime, and detecting whether the waiting time is overtime when the subsequent data packet does not exist;
and when the time is not over, jumping to the step of continuously detecting and waiting for the subsequent data packet, wherein the waiting time is 2S, otherwise, ending and jumping to the step of traversing the equipment table once and inquiring whether the front-end equipment accessing the network exists or not.
5. The implementation method according to claim 1, wherein the a module waits to receive a response from the front-end device, and after a response timeout time is 2.8S, further includes:
when receiving the response of the front-end equipment, the method comprises the following steps:
storing the related network information of the front-end equipment to Flash;
continuing to detect and wait for a subsequent data packet, wherein the waiting time is 2S;
when a subsequent data packet exists, resetting the 1.6S second timer, and detecting whether waiting is overtime; otherwise, detecting whether waiting is overtime or not when no subsequent data packet exists;
and when the waiting time is not overtime, jumping to the step of continuously detecting and waiting for the subsequent data packet, wherein the waiting time is 2S, otherwise, when the waiting time is overtime, ending and jumping to the step of secondarily traversing the equipment table, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists or not.
6. The utility model provides a wireless fire alarm system of concurrency double module gateway which characterized in that includes:
the initialization module is used for enabling the networking frequency band by the A module and enabling the normal frequency band by the B module;
the first instruction issuing module is used for issuing a command for entering a rapid CAD mode by the A module and waking up front-end equipment which is not networked;
the traversing module is used for traversing the equipment table once and inquiring whether the front-end equipment for network access exists or not;
the equipment network access module is used for sending a first networking frame to the front-end equipment in a networking frequency band when the front-end equipment which is not connected with the network exists; the A module and the B module wait for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S; detecting a value of a first retransmission counter when no acknowledgement or acknowledgement timeout of the front-end device is received; when the value of the first retransmission counter is smaller than or equal to 1, adding 1 to the value of the first retransmission counter, and jumping to the step that the A module transmits a first networking frame to the front-end equipment in a networking frequency band for execution, otherwise, marking that the front-end equipment fails to be networking, resetting the value of the first retransmission counter, jumping to the one-time traversal equipment table, and inquiring whether the front-end equipment which is networking exists;
the mode control module is used for switching the A module into a normal frequency band and switching the B module into an emergency frequency band when the front-end equipment which is not connected with the network does not exist; the alarm information is preferentially reported from the emergency frequency band; when the emergency frequency band is in a non-idle state, reporting the alarm information from the normal frequency band;
the traversing module is further used for traversing and refreshing the device table for the second time and inquiring whether the front-end device with the networking failure exists;
the equipment network access module is further used for sending a second networking frame to the front-end equipment in a normal frequency band when the front-end equipment with networking failure exists; the A module waits for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S; detecting a value of a second retransmission counter when no response or response timeout of the front-end device is received; when the value of the second retransmission counter is smaller than or equal to 1, adding 1 to the value of the second retransmission counter, and jumping to the step that the A module transmits a second networking frame to the front-end equipment in a normal frequency band for execution, otherwise, marking that the networking of the front-end equipment fails, resetting the value of the second retransmission counter, jumping to the equipment table for traversing the equipment for the second time, refreshing the front-end equipment in the equipment table, and inquiring whether the networking failure exists or not;
the mode control module is also used for issuing a command for exiting a quick CAD mode when the front-end equipment with networking failure does not exist;
and the completion module is used for exiting the networking mode and ending the networking.
7. An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program implementing the steps of the method for implementing a concurrent dual-module gateway wireless fire alarm system according to any one of claims 1 to 5 when executed by the processor.
8. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when executed by a processor, the computer program implements the steps of the implementation method of the concurrent dual-module gateway wireless fire alarm system according to any one of claims 1 to 5.
CN202011639729.5A 2020-12-31 2020-12-31 Concurrent double-module gateway wireless fire alarm system and implementation method Active CN112770310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011639729.5A CN112770310B (en) 2020-12-31 2020-12-31 Concurrent double-module gateway wireless fire alarm system and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011639729.5A CN112770310B (en) 2020-12-31 2020-12-31 Concurrent double-module gateway wireless fire alarm system and implementation method

Publications (2)

Publication Number Publication Date
CN112770310A CN112770310A (en) 2021-05-07
CN112770310B true CN112770310B (en) 2023-09-22

Family

ID=75698325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011639729.5A Active CN112770310B (en) 2020-12-31 2020-12-31 Concurrent double-module gateway wireless fire alarm system and implementation method

Country Status (1)

Country Link
CN (1) CN112770310B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170171822A1 (en) * 2015-12-10 2017-06-15 Wireless Input Technology, Inc. Power Saving Method for Battery-powered Zigbee Devices
CN106128084A (en) * 2016-09-05 2016-11-16 湖南农业大学 Wireless meter reading method and system
US10231282B1 (en) * 2017-09-13 2019-03-12 Qualcomm, Incorporated Techniques and apparatuses for tune-away management
CN110677895B (en) * 2019-09-29 2021-11-26 武汉长光科技有限公司 Stable and safe lora networking and communication method
CN111935278B (en) * 2020-08-07 2022-02-25 深圳市地质局 Data acquisition system and method based on LoRa dual-band gateway and nodes

Also Published As

Publication number Publication date
CN112770310A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
JP6130081B2 (en) Signal transmission control method, apparatus, electronic device, program, and recording medium
JP5770386B2 (en) Method and system for cooperative processing of northbound data setting and self-organizing network setting
CN107016056B (en) Distributed storage system and method for large-volume heterogeneous sensing data in Internet of things
CN112130881A (en) Firmware remote upgrading method and device
KR100309803B1 (en) Database Synchronization System and Method between Network Management System and Managed Equipment
CN104469451A (en) Method and device for awakening terminal equipment
US20090249002A1 (en) Information collection apparatus, method, and program
CN111064552B (en) Intelligent device control method and device, electronic device and storage medium
CN111491277B (en) Wireless Internet of things exception handling method, intelligent gateway and related device
CN112566155B (en) Networking method, device and system
CN111613221A (en) Nearby awakening method, device and system
CN104065526A (en) Server fault alarming method and device thereof
EP4092529A1 (en) Service scheduling method and apparatus, electronic device, and storage medium
CN108933692A (en) The data transmission method of things-internet gateway, the first gateway and Dual-Computer Hot-Standby System
CN105099839A (en) Intelligent socket and networking method and system, wireless gateway and pairing method
Ballarini et al. Model checking medium access control for sensor networks
CN111245677A (en) Communication abnormity reporting method and device, electronic equipment and storage medium
CN112770310B (en) Concurrent double-module gateway wireless fire alarm system and implementation method
KR102626524B1 (en) System and method for collecting and analyzing the state of the system
CN111600758A (en) Message reporting method and platform, intelligent gateway and storage medium
CN112888052B (en) Wireless fire alarm system with terminal awakening function and implementation method
WO2015015562A1 (en) Wireless data collection system, and wireless data collection method
KR20220027496A (en) Apparatus for providing standalone automatic execution service and standalone simultaneous execution service, and method thereof
TWI681685B (en) Connection method of wireless system
CN112995571B (en) Communication management method and communication management device for wireless conference 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
GR01 Patent grant
GR01 Patent grant