CN112770310A - Wireless fire alarm system of concurrent dual-mode networking gateway and implementation method - Google Patents

Wireless fire alarm system of concurrent dual-mode networking gateway and implementation method Download PDF

Info

Publication number
CN112770310A
CN112770310A CN202011639729.5A CN202011639729A CN112770310A CN 112770310 A CN112770310 A CN 112770310A CN 202011639729 A CN202011639729 A CN 202011639729A CN 112770310 A CN112770310 A CN 112770310A
Authority
CN
China
Prior art keywords
module
end equipment
networking
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.)
Granted
Application number
CN202011639729.5A
Other languages
Chinese (zh)
Other versions
CN112770310B (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

Images

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 method for realizing a concurrent dual-module gateway wireless fire alarm system, which comprises the following steps: the module A starts a networking frequency band, and the module B starts a normal frequency band; the module A issues a command for entering a rapid CAD mode and awakens non-networked front-end equipment; traversing the equipment table; when no front-end equipment which is not connected to 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 no front-end equipment with networking failure exists, the module A issues a command for exiting the rapid CAD mode; and exiting the networking mode and ending the networking. Networking of the A module and normal operation of the B module are not affected mutually; after networking is finished, the module A is a normal working frequency band, the module B is an emergency frequency band, and the problems that alarm report information cannot be received when the frequency band is occupied and report information is lost or not reported timely when a certain frequency band is occupied are solved.

Description

Wireless fire alarm system of concurrent dual-mode networking gateway and implementation method
Technical Field
The invention relates to the technical field of fire-fighting networks, in particular to a wireless fire-fighting alarm system with a concurrent dual-mode networking gateway and an implementation method.
Background
The automatic fire alarm system consists of trigger, fire alarm, linkage output unit and other auxiliary functional units, and it can convert the physical quantities of smoke, heat and flame produced by burning into electric signal through fire detector and transmit the electric signal to fire alarm controller in the initial stage of fire and inform the evacuation of the whole floor in the form of sound or light.
The fire alarm system is in networking communication in a wired mode for a long time, and unnecessary loss and trouble caused by refitting are avoided along with the expiration of the fire alarm system in the early 80 s in recent years; and the fire-fighting scheme of the current cultural tradition requires that the original building can not be destroyed in a large area, and a wireless fire alarm system is a good choice.
The existing wireless fire alarm system cannot receive alarm information during networking, and can only receive the alarm information after the networking is finished, so that the alarm reported information is lost or delayed, and when two pieces of reported information appear simultaneously, the alarm system cannot receive the two pieces of reported information simultaneously due to the adoption of a single frequency band.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a concurrent dual-mode networking gateway wireless fire alarm system and an implementation method that overcome or at least partially solve the above problems.
In order to solve the above problems, the embodiment of the present invention discloses a method for implementing a wireless fire alarm system with a concurrent dual-module gateway, comprising the following steps:
the module A starts a networking frequency band, and the module B starts a normal frequency band;
the module A issues a command for entering a rapid CAD mode, and wakes up non-networked front-end equipment;
traversing the equipment table for one time, and inquiring whether the network-accessed front-end equipment exists;
when the front-end equipment which is not connected to 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 the device table for the second time, and inquiring whether the front-end device with networking failure exists;
when the front-end equipment with networking failure does not exist, the module A issues a command for exiting the rapid CAD mode;
and exiting the networking mode and ending the networking.
Preferably, the module A enters the network deployment frequency band, and before the module B enters the normal frequency band, the method includes:
and adding front-end equipment through an upper computer.
Preferably, add the front end equipment through the host computer, include:
and adding front-end equipment in a code scanning or manual input mode through the upper computer.
Preferably, the traversing the device table once, after querying whether there is a front-end device accessing to the network, further includes:
when the front-end equipment which is not accessed to the network exists, the following steps are executed:
the A module sends a first group of frame to the front-end equipment in a networking frequency band;
the module A and the module B wait for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S;
when the response of the front-end equipment is not received or the response is overtime, detecting the value of a first retransmission counter;
and when the value of the first retransmission counter is less than or equal to 1, adding 1 to the value of the first retransmission counter, and jumping to the step that the A module sends a first group of frame to the front-end equipment in the networking frequency band for execution, otherwise, marking the networking failure of the front-end equipment, clearing the value of the first retransmission counter, jumping to the one-time traversal equipment table, and inquiring whether the front-end equipment which is accessed to the network exists.
Preferably, the module a and the module B 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, executing the following steps:
storing the related network information of the front-end equipment to Flash;
detecting and waiting for a subsequent data packet by a relay, wherein the waiting time is 2S;
when a subsequent data packet exists, resetting the 2S first timer, calculating whether the waiting time is overtime, and when no subsequent data packet exists, detecting whether the waiting time is overtime;
and when the time is not overtime, jumping to the step of detecting the relay and waiting for a 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 for network access exists.
Preferably, after traversing the device table twice, refreshing the front-end device in the device table, and querying whether there is a networking failure of the front-end device, the method further includes:
when the front-end equipment with networking failure does not exist, executing the following steps:
the module A sends a second group of frame to the front-end equipment in a normal frequency band;
the module A waits for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S;
when the response of the front-end equipment is not received or the response is overtime, detecting the value of a second retransmission counter;
and when the value of a second retransmission counter is less than or equal to 1, adding 1 to the value of the second retransmission counter, and jumping to the step of sending a second group of frame to the front-end equipment by the A module in a normal frequency band for execution, otherwise, marking the networking failure of the front-end equipment, resetting the value of the second retransmission counter, jumping to the secondary traversal equipment table, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists.
Preferably, the module a waits for receiving a response from 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, executing the following steps:
storing the related network information of the front-end equipment to Flash;
detecting and waiting for a subsequent data packet by a relay, wherein the waiting time is 2S;
when a subsequent data packet exists, resetting the 1.6S second timer, and detecting whether the waiting time is overtime; otherwise, when no subsequent data packet exists, detecting whether the waiting time is overtime;
and when the waiting time is not overtime, skipping to the step of detecting the relay and waiting for a subsequent data packet, wherein the waiting time is 2S, otherwise, when the waiting time is overtime, ending and skipping to the step of traversing the equipment table twice, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists.
The embodiment of the invention discloses a concurrent dual-module gateway wireless fire alarm system, which comprises:
the initialization module is used for enabling the networking frequency band by the module A and enabling the normal frequency band by the module B;
the first instruction issuing module is used for issuing a command for entering a rapid CAD mode by the module A and awakening non-networked front-end equipment;
the traversing module is used for traversing the equipment table once to inquire whether the network-connected front-end equipment exists;
the mode control module is used for switching the module A into a normal frequency band and switching the module B into an emergency frequency band when the front-end equipment which is not connected to the network does not exist;
the traversal module is further configured to traverse and refresh an equipment table for a second time, and query whether the front-end equipment with networking failure exists;
the mode control module is also used for issuing a command of exiting the rapid CAD mode by the module A when the front-end equipment with networking failure does not exist;
and the completion module is used for exiting the networking mode and finishing networking.
The embodiment of the invention discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the method for realizing the wireless fire alarm system of the concurrent dual-mode network gateway 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 is executed by a processor to realize the steps of the method for realizing the wireless fire-fighting alarm system of the concurrent dual-mode network gateway.
The embodiment of the invention has the following advantages: networking is carried out through a dual-mode networking, the networking frequency band of the module A is networked, the module B is a normal working frequency band, and the networking frequency band of the module A and the normal working of the module B are not affected by each other; after the A module is networked, the A module is switched to a normal working frequency band, the B module is switched to an emergency frequency band, at the moment, the 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 working frequency band; therefore, the problem that the alarm report information cannot be received when the frequency band is occupied in networking is solved, and the problem that the report information is lost or not reported timely when a certain frequency band is occupied can be solved.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a method for implementing a concurrent dual-mode networking gateway wireless fire alarm system of the present invention;
FIG. 2 is a flow diagram of sub-steps of the steps in FIG. 1;
FIG. 3 is a flow diagram of sub-steps of the steps in FIG. 2;
FIG. 4 is another flow of sub-steps of the steps in FIG. 1;
fig. 5 is a flow diagram of sub-steps of the steps in fig. 4.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
One of the core concepts of the embodiments of the present invention is that, during networking, a gateway will work a module in a networking frequency band, a module B will work in a normal frequency band, then traverse search is started for non-networked devices in a device table, then networking frames are issued one by one in the networking frequency band, a device whose front end is not networked will give out any data packet as a response in the normal frequency band after receiving the networking frames, and after receiving the response, the gateway updates related information of the device and stores the information in Flash (fast memory) to prevent loss. Networking is carried out through a dual-mode networking, the networking frequency band of the module A is networked, the module B is a normal working frequency band, and at the moment, the networking of the module A and the normal working of the module B are not affected; after the A module is networked, the A module is switched to a normal working frequency band, the B module is switched to an emergency frequency band, the 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 working frequency band; therefore, the problem that the alarm report information cannot be received when the frequency band is occupied in networking is solved, and the problem that the report information is lost or not reported timely when a certain frequency band is occupied can be solved.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for implementing a wireless fire alarm system for a dual-mode gateway of the present invention is shown, which may specifically include the following steps:
s1, enabling a networking frequency band by the module A, and enabling a normal frequency band by the module B;
s2, the module A issues a command of entering a rapid CAD (Channel Activity Detection) mode, and wakes up the front-end equipment which is not networked;
s3, traversing the device table once, and inquiring whether the front-end device of the network exists;
s4, when the front-end equipment which is not connected to the network does not exist, the module A is switched to a normal frequency band, and the module B is switched to an emergency frequency band;
s5, traversing twice and refreshing an equipment table, and inquiring whether the front-end equipment with networking failure exists;
s6, when the front-end equipment with networking failure does not exist, the module A issues a command of exiting the rapid CAD mode;
and S7, exiting the networking mode and ending the networking.
The embodiment shows an implementation method of a wireless fire alarm system for a dual-mode network gateway, 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 module A starts a networking frequency band, and the module B starts a normal frequency band; the module A issues a command for entering a rapid CAD mode, and wakes up non-networked front-end equipment; traversing the equipment table for one time, and inquiring whether the network-accessed front-end equipment exists; when the front-end equipment which is not connected to 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 the front-end device which is not accessed to the network exists, the following steps are executed as shown in FIG. 2: the A module sends a first group of frame to the front-end equipment in a networking frequency band; the module A and the module B wait for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S; when the response of the front-end equipment is not received or the response is overtime, detecting the value of a first retransmission counter;
when receiving the response of the front-end equipment, executing the following steps as shown in figure 3: storing the related network information of the front-end equipment to Flash; detecting and waiting for a subsequent data packet by a relay, wherein the waiting time is 2S; when a subsequent data packet exists, resetting the 2S first timer, calculating whether the waiting time is overtime, and when no subsequent data packet exists, detecting whether the waiting time is overtime; when the time is not overtime, jumping to the step of the relay detection and waiting for the subsequent data packet, wherein the waiting time is 2S, otherwise, ending and jumping to the step of the one-time traversal device table, and inquiring whether the front-end device for network access exists;
and when the value of the first retransmission counter is less than or equal to 1, adding 1 to the value of the first retransmission counter, and jumping to the step that the A module sends a first group of frame to the front-end equipment in the networking frequency band for execution, otherwise, marking the networking failure of the front-end equipment, clearing the value of the first retransmission counter, jumping to the one-time traversal equipment table, and inquiring whether the front-end equipment which is accessed to the network exists.
In this embodiment, the device table is traversed and refreshed twice, and whether the front-end device with networking failure exists is queried; when the front-end equipment with networking failure does not exist, executing the following steps as shown in FIG. 4:
the module A sends a second group of frame to the front-end equipment in a normal frequency band; the module A waits for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S; when the response of the front-end equipment is not received or the response is overtime, detecting the value of a second retransmission counter; when receiving the response of the front-end equipment, executing the following steps as shown in figure 5:
storing the related network information of the front-end equipment to Flash; detecting and waiting for a subsequent data packet by a relay, wherein the waiting time is 2S; when a subsequent data packet exists, resetting the 1.6S second timer, and detecting whether the waiting time is overtime; otherwise, when no subsequent data packet exists, detecting whether the waiting time is overtime; when the waiting time is not overtime, skipping to the step of the relay detection and waiting for the subsequent data packet, wherein the waiting time is 2S, otherwise, when the waiting time is overtime, ending and skipping to the step of traversing the equipment table twice, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists;
when the value of a second retransmission counter is less than or equal to 1, adding 1 to the value of the second retransmission counter, and jumping to the step of sending a second group of frame to the front-end equipment by the A module in a normal frequency band for execution, otherwise, marking the networking failure of the front-end equipment, resetting the value of the second retransmission counter, jumping to the secondary traversal equipment table, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists;
when the front-end equipment with networking failure does not exist, the module A issues a command for exiting the rapid CAD mode; and exiting the networking mode and ending the networking.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement 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 module A and enabling the normal frequency band by the module B; the first instruction issuing module is used for issuing a command for entering a rapid CAD mode by the module A and awakening non-networked front-end equipment; the traversing module is used for traversing the equipment table once to inquire whether the network-connected front-end equipment exists; the mode control module is used for switching the module A into a normal frequency band and switching the module B into an emergency frequency band when the front-end equipment which is not connected to the network does not exist; the traversal module is further configured to traverse and refresh an equipment table for a second time, and query whether the front-end equipment with networking failure exists; the mode control module is also used for issuing a command of exiting the rapid CAD mode by the module A when the front-end equipment with networking failure does not exist; and the completion module is used for exiting the networking mode and finishing networking.
The beneficial effects of the invention include: networking is carried out through a dual-mode networking, the networking frequency band of the module A is networked, the module B is a normal working frequency band, and at the moment, the networking of the module A and the normal working of the module B are not affected; after the A module is networked, the A module is switched to a normal working frequency band, the B module is switched to an emergency frequency band, the 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 working frequency band; therefore, the problem that the alarm report information cannot be received when the frequency band is occupied in networking is solved, and the problem that the report information is lost or not reported timely when a certain frequency band is occupied can be solved.
In another embodiment, an electronic device is also disclosed, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the concurrent dual-mode network switch wireless fire alarm system.
In an embodiment, a computer-readable storage medium is further disclosed, 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 switching off the wireless fire alarm system by the concurrent dual-mode network.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, 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 present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal 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 of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
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 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 an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The concurrent dual-module gateway wireless fire alarm system and the implementation method provided by the invention are introduced in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; 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 method for realizing a wireless fire alarm system of a concurrent dual-mode gateway is characterized by comprising the following steps:
the module A starts a networking frequency band, and the module B starts a normal frequency band;
the module A issues a command for entering a rapid CAD mode, and wakes up non-networked front-end equipment;
traversing the equipment table for one time, and inquiring whether the network-accessed front-end equipment exists;
when the front-end equipment which is not connected to the network does not exist, the module A is switched to a normal frequency band, and the module B is switched to an emergency frequency band;
traversing and refreshing the device table for the second time, and inquiring whether the front-end device with networking failure exists;
when the front-end equipment with networking failure does not exist, the module A issues a command for exiting the rapid CAD mode;
and exiting the networking mode and ending the networking.
2. The method of claim 1, wherein the step of entering the networking band by the module A and entering the normal band by the module B comprises:
and adding front-end equipment through an upper computer.
3. The implementation method of claim 2, wherein adding the front-end device by the upper computer comprises:
and adding front-end equipment in a code scanning or manual input mode through the upper computer.
4. The method according to claim 1, wherein traversing the device table once, after querying whether there is a front-end device accessing the network, further comprises:
when the front-end equipment which is not accessed to the network exists, the following steps are executed:
the A module sends a first group of frame to the front-end equipment in a networking frequency band;
the module A and the module B wait for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S;
when the response of the front-end equipment is not received or the response is overtime, detecting the value of a first retransmission counter;
and when the value of the first retransmission counter is less than or equal to 1, adding 1 to the value of the first retransmission counter, and jumping to the step that the A module sends a first group of frame to the front-end equipment in the networking frequency band for execution, otherwise, marking the networking failure of the front-end equipment, clearing the value of the first retransmission counter, jumping to the one-time traversal equipment table, and inquiring whether the front-end equipment which is accessed to the network exists.
5. The method according to claim 4, wherein the a module and the B module wait for receiving the response from the front-end device, and wherein after a response timeout time of 2.8S, the method further comprises:
when receiving the response of the front-end equipment, executing the following steps:
storing the related network information of the front-end equipment to Flash;
detecting and waiting for a subsequent data packet by a relay, wherein the waiting time is 2S;
when a subsequent data packet exists, resetting the 2S first timer, calculating whether the waiting time is overtime, and when no subsequent data packet exists, detecting whether the waiting time is overtime;
and when the time is not overtime, jumping to the step of detecting the relay and waiting for a 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 for network access exists.
6. The method of claim 1, wherein the traversing the device table twice, refreshing the front-end device in the device table, and querying whether there is a networking failure of the front-end device, further comprises:
when the front-end equipment with networking failure does not exist, executing the following steps:
the module A sends a second group of frame to the front-end equipment in a normal frequency band;
the module A waits for receiving the response of the front-end equipment, wherein the response timeout time is 2.8S;
when the response of the front-end equipment is not received or the response is overtime, detecting the value of a second retransmission counter;
and when the value of a second retransmission counter is less than or equal to 1, adding 1 to the value of the second retransmission counter, and jumping to the step of sending a second group of frame to the front-end equipment by the A module in a normal frequency band for execution, otherwise, marking the networking failure of the front-end equipment, resetting the value of the second retransmission counter, jumping to the secondary traversal equipment table, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists.
7. The method according to claim 6, wherein the module a waits for receiving the response from the front-end device, and wherein after a response timeout time of 2.8S, the method further includes:
when receiving the response of the front-end equipment, executing the following steps:
storing the related network information of the front-end equipment to Flash;
detecting and waiting for a subsequent data packet by a relay, wherein the waiting time is 2S;
when a subsequent data packet exists, resetting the 1.6S second timer, and detecting whether the waiting time is overtime; otherwise, when no subsequent data packet exists, detecting whether the waiting time is overtime;
and when the waiting time is not overtime, skipping to the step of detecting the relay and waiting for a subsequent data packet, wherein the waiting time is 2S, otherwise, when the waiting time is overtime, ending and skipping to the step of traversing the equipment table twice, refreshing the front-end equipment in the equipment table, and inquiring whether the front-end equipment with networking failure exists.
8. A wireless fire alarm system of concurrent dual-mode networking gateway is characterized by comprising:
the initialization module is used for enabling the networking frequency band by the module A and enabling the normal frequency band by the module B;
the first instruction issuing module is used for issuing a command for entering a rapid CAD mode by the module A and awakening non-networked front-end equipment;
the traversing module is used for traversing the equipment table once to inquire whether the network-connected front-end equipment exists;
the mode control module is used for switching the module A into a normal frequency band and switching the module B into an emergency frequency band when the front-end equipment which is not connected to the network does not exist;
the traversal module is further configured to traverse and refresh an equipment table for a second time, and query whether the front-end equipment with networking failure exists;
the mode control module is also used for issuing a command of exiting the rapid CAD mode by the module A when the front-end equipment with networking failure does not exist;
and the completion module is used for exiting the networking mode and finishing networking.
9. Electronic device, characterized in that it comprises a processor, a memory and a computer program stored on said memory and capable of running on said processor, said computer program, when executed by said processor, implementing the steps of the method of implementing a concurrent dual-module gateway wireless fire alarm system according to any one of claims 1 to 7.
10. Computer-readable storage medium, characterized in that it stores thereon a computer program which, when executed by a processor, implements the steps of the method of implementing a concurrent dual-module gateway wireless fire alarm system according to any one of claims 1 to 7.
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 true CN112770310A (en) 2021-05-07
CN112770310B 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)

Citations (5)

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

Patent Citations (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
US20190082478A1 (en) * 2017-09-13 2019-03-14 Qualcomm Incorporated Techniques and apparatuses for tune-away management
CN110677895A (en) * 2019-09-29 2020-01-10 武汉长光科技有限公司 Stable and safe lora networking and communication method
CN111935278A (en) * 2020-08-07 2020-11-13 深圳市地质局 Data acquisition system and method based on LoRa dual-band gateway and nodes

Also Published As

Publication number Publication date
CN112770310B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
TW202017350A (en) Method, device, and system for controlling a bluetooth device over a bluetooth mesh network
US20160278086A1 (en) Method and device for anchor master selection
EP2555468B1 (en) Device control method, network device and network system
CN104735814A (en) Access method, system and related device for automatically getting access to WiFi network
CN103249075B (en) Access point (AP) fault detecting and recovering method and device
CN112202654B (en) Control instruction processing method, device, equipment and storage medium
CN104469451A (en) Method and device for awakening terminal equipment
CN108919657B (en) Automatic configuration method and device of panel and panel
CN105392181A (en) Intelligent equipment networking method and device, and system
CN111064552B (en) Intelligent device control method and device, electronic device and storage medium
JP2003304262A5 (en)
CN113905050A (en) Method, device and system for detecting internet access information
CN110505127B (en) Instruction processing method and device
CN112770310A (en) Wireless fire alarm system of concurrent dual-mode networking gateway and implementation method
KR20070097793A (en) Apparatus, method and system for managing event information
CN113381916A (en) CAN bus intelligent household management method, device, equipment and storage medium
CN111274319A (en) State information query method and device
CN112728772B (en) Control method of water heater
CN111901210A (en) Voice equipment awakening method, device, medium and equipment based on equipment network
CN105159168A (en) Group control method of broadcast equipment and user terminal
CN107517236B (en) Event processing method, device and equipment for Internet of things
CN112839090A (en) Time slot-based data link layer communication control method and device
TWI681685B (en) Connection method of wireless system
CN111510336A (en) Network equipment state management method and device
JPS60246148A (en) Data transmission control 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