CN113920678A - Remote smoke alarm system on M5311 chip based on middle moving object - Google Patents

Remote smoke alarm system on M5311 chip based on middle moving object Download PDF

Info

Publication number
CN113920678A
CN113920678A CN202111213672.7A CN202111213672A CN113920678A CN 113920678 A CN113920678 A CN 113920678A CN 202111213672 A CN202111213672 A CN 202111213672A CN 113920678 A CN113920678 A CN 113920678A
Authority
CN
China
Prior art keywords
information
module
smoke
unit
alarm
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
CN202111213672.7A
Other languages
Chinese (zh)
Other versions
CN113920678B (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.)
Shenzhen Cenbong Communication Co ltd
Original Assignee
Shenzhen Cenbong Communication 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 Shenzhen Cenbong Communication Co ltd filed Critical Shenzhen Cenbong Communication Co ltd
Priority to CN202111213672.7A priority Critical patent/CN113920678B/en
Publication of CN113920678A publication Critical patent/CN113920678A/en
Application granted granted Critical
Publication of CN113920678B publication Critical patent/CN113920678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • G08B17/10Actuation by presence of smoke or gases, e.g. automatic alarm devices for analysing flowing fluid materials by the use of optical means
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/10Information sensed or collected by the things relating to the environment, e.g. temperature; relating to location
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a remote smoke alarm system based on a middle moving object connection M5311 chip, which comprises: the smoke alarm module is used for acquiring a smoke concentration value and awakening the middle moving object connection M5311 module when the smoke concentration value reaches a preset threshold value; the middle moving physical connection M5311 module is used for determining alarm and warning information according to the level state of an input/output port after being awakened, and uploading the alarm and warning information to the TPC server; according to the invention, the remote smoke alarm is realized through the middle transfer Internet of things M5311 module, and under the condition that the smoke concentration is not enough to alarm, the middle transfer Internet of things M5311 module is kept in a dormant state, so that the power consumption is reduced, the cost is reduced, the alarm and warning information is uploaded to the TPC server, the communication efficiency is improved, and the timeliness of the alarm information is ensured.

Description

Remote smoke alarm system on M5311 chip based on middle moving object
Technical Field
The invention relates to the technical field of smoke alarm, in particular to a remote smoke alarm system based on a middle moving object link M5311 chip.
Background
With the continuous development of society, the amount of fire and electricity used in public places such as families and office buildings is increasing, and the frequency of fire is higher and higher. The main cause of fire is paralysis, and no preventive measures are taken in time. If the fire is just started, the fire can be well controlled, and tragedies can be completely avoided.
When the indoor smoke concentration value exceeds the smoke concentration alarm threshold value preset by a user, the traditional indoor smoke intelligent monitoring system cannot automatically complete remote alarm work, so that the intelligence of the traditional indoor smoke intelligent monitoring system is low, the existing remote alarm system has the problems of high power consumption, low communication efficiency and the like, the smoke alarm cost is high, and alarm information is not received timely.
Disclosure of Invention
The invention provides a remote smoke alarm system based on a middle moving object connection M5311 chip, which is used for reducing power consumption in a remote alarm process, reducing cost, improving communication efficiency and ensuring timeliness of alarm information.
A remote smoke alarm system on M5311 chip based on a middle moving object link comprises:
the smoke alarm module is used for acquiring a smoke concentration value and awakening the middle moving object connection M5311 module when the smoke concentration value reaches a preset threshold value;
and the middle moving physical connection M5311 module is used for determining alarm and warning information according to the level state of the input and output port after being awakened, and uploading the alarm and warning information to the TPC server.
In one possible way of realisation,
the smoke alarm module comprises:
the smoke concentration acquisition circuit is used for acquiring the concentration voltage value of indoor smoke at preset time intervals;
the judgment submodule is used for converting the concentration voltage value into a smoke concentration value and judging whether the smoke concentration value is larger than the preset threshold value or not;
if yes, triggering external interruption of the middle moving object connection M5311 module, and awakening the middle moving object connection M5311 module;
otherwise, the low power consumption mode of the middle shift physical link M5311 is kept.
In one possible way of realisation,
the middle shift thing allies oneself with M5311 module includes:
the awakening unit is used for starting monitoring the level state of the input/output port when receiving the awakening request from the smoke alarm module;
the monitoring unit is used for monitoring the level state of the input/output port, and specifically comprises:
acquiring the level state of the input/output port at preset time intervals, and generating alarm information if the level state is a low level;
when the level state is monitored to be converted from a low level to a high level, judging whether alarm information of a camera is received;
if so, generating the warning information,
otherwise, generating state information;
and the uploading unit is used for uploading the generated alarm information, the generated alarm information and the generated state information to the information receiving unit.
In one possible way of realisation,
the middle moving object connection M5311 module further comprises:
the information receiving unit is used for waiting for receiving information and generating an information queue according to the information in a time sequence;
the connection establishing unit is used for establishing connection with the TPC server after the information queue is obtained;
and the control unit is used for emptying the message queue after the message queue is sent to the TPC server, detecting whether the information receiving unit has unsent information again, and controlling the middle-shift Internet of things M5311 module to recover to a low power consumption mode if the unsent information does not exist in the information receiving unit.
In one possible way of realisation,
the middle moving object connection M5311 module further comprises:
the setting unit is used for initializing and restarting the NB module after receiving the sending request and acquiring local configuration;
and the sending unit is used for determining a sending task according to the local configuration after the NB module is started, and sending the sending task to the TPC server.
In one possible way of realisation,
the judgment sub-module further includes:
the first judgment unit is used for acquiring a first average smoke concentration value in a first time period, triggering the external interruption of the M5311 module of the middle transfer link if the first average smoke concentration value is greater than a first preset threshold value, and awakening the M5311 module of the middle transfer link;
a second judging unit, configured to judge whether the first average smoke concentration value is greater than a second preset threshold value if the first average smoke concentration value is not greater than the first preset threshold value;
if yes, based on the difference value between the first average smoke concentration value and a second preset threshold value, shortening the preset interval time for collecting indoor smoke, collecting the indoor smoke for multiple times according to the shortened interval time to obtain the average smoke concentration value of each time, triggering the external interruption of the middle transfer Internet of things M5311 module when the average smoke concentration value is larger than the first preset threshold value, and awakening the middle transfer Internet of things M5311 module;
if the second average smoke concentration values acquired in n times of continuous acquisition are smaller than a first preset threshold and larger than a second preset threshold based on the preset interval duration, enabling the smoke concentration acquisition circuit to be in a dormant state, starting a standby smoke acquisition circuit, acquiring a third average smoke concentration value in a second time period, calculating a final smoke concentration value based on the second average smoke concentration value and the third average smoke concentration value, and judging whether the final smoke concentration value is larger than the first preset threshold;
if so, awakening the middle moving object connection M5311 module; otherwise, stopping the work of the standby smoke acquisition circuit, and awakening the smoke concentration acquisition circuit again to start the next acquisition work at the preset time interval;
a third judging unit, configured to judge whether the first average smoke concentration value is smaller than a third preset threshold value, if so, increase a preset interval duration for collecting indoor smoke based on a difference between the first average smoke concentration value and the third preset threshold value, and control the smoke concentration collecting circuit to perform next collection operation based on the increased preset interval duration;
otherwise, keeping the original preset interval to carry out the next acquisition work.
In one possible way of realisation,
the judgment sub-module further includes:
the calculating unit is used for determining a specific value for shortening the preset interval duration of the collected indoor smoke, and specifically comprises the following steps:
and acquiring the grade of the difference value between the first average smoke concentration value and a second preset threshold value in a time length shortening comparison table, and setting a weighted value based on the grade, wherein the product of the preset interval time length and the weighted value is the shortened interval time length.
In one possible way of realisation,
further comprising: the transmission module is used for transmitting the alarm and warning information from the mobile internet of things M5311 module to the TPC server, and comprises:
the extraction unit is used for identifying and extracting first parameter information and second parameter information of smoke detection related to the smoke alarm module in the alarm and alarm information;
the encoding unit is used for encoding the first parameter information to a front encoding position of the encoding information according to the standard encoding mode of the Midamble physical connection M5311 module, and encoding the second parameter information to a rear encoding position of the encoding information according to the standard encoding mode of the Midamble physical connection M5311 module;
an obtaining unit, configured to obtain an intermediate transmission node between the middle mobile physical connection M5311 module and the TPC server;
the detection unit is used for estimating transmission state information between the intermediate transfer Internet of things M5311 module and the intermediate transmission node based on the parameter information of the intermediate transmission node and selecting a first intermediate transmission node capable of successfully decoding the coding information based on the transmission state information;
the distribution unit is used for packing the coding information into a plurality of data packets according to the channel capacity of the first intermediate transmission node and distributing the data packets to different first intermediate transmission nodes;
a sending unit, configured to transmit a data packet obtained by a first intermediate transmission node to the TPC server, and merge the data packet into information to be decoded;
the decoding unit is used for dividing the information to be decoded to obtain a pre-decoding bit and a post-decoding bit and judging whether the pre-decoding bit is consistent with a historical pre-decoding bit in a recent history record or not;
if yes, determining first parameter information corresponding to the preposed decoding position based on a historical decoding record of the history preposed decoding position, searching a decoding rule corresponding to the Middling physical connection M5311 module, and decoding the postposed decoding position to obtain second parameter information.
Otherwise, directly searching the decoding rule, and decoding the pre-decoding bit and the post-decoding bit to obtain first parameter information and second parameter information.
In one possible way of realisation,
further comprising: the task scheduling module is used for scheduling various tasks, and comprises:
the task receiving unit is used for acquiring a smoke signal receiving task, a TPC server connecting task and an information receiving task in the same time period;
the task analysis unit is used for analyzing each task and determining the priority level corresponding to each task and whether the task can be interrupted;
the task scheduling unit determines a plurality of scheduling methods based on the priority level of each task and whether the interrupt can be performed;
the power consumption calculation unit is used for calculating the power consumption of each scheduling method and selecting the scheduling method with the least power consumption as a target scheduling method;
and the task execution unit is used for executing various tasks according to the target scheduling method.
In one possible way of realisation,
the power consumption calculation unit includes:
the time calculation subunit is used for determining a driving processor of each task according to the scheduling method and determining the execution time of each task according to the performance parameters of the driving processor;
and the power consumption calculation subunit is used for determining the power consumption required under the scheduling method based on the execution time of each task.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a structural diagram of an on-chip remote smoke alarm system based on a middle moving object link M5311 in the embodiment of the present invention;
FIG. 2 is a block diagram of the smoke alarm module according to an embodiment of the present invention;
fig. 3 is a structural diagram of a transmission module in the embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1
The embodiment of the invention provides a remote smoke alarm system based on a middle moving object link M5311 on chip, as shown in figure 1, comprising:
the smoke alarm module is used for acquiring a smoke concentration value and awakening the middle moving object connection M5311 module when the smoke concentration value reaches a preset threshold value;
and the middle moving physical connection M5311 module is used for determining alarm and warning information according to the level state of the input and output port after being awakened, and uploading the alarm and warning information to the TPC server.
In this embodiment, the middle transfer internet of things M5311 module is in a sleep state before being awakened.
In this embodiment, when the input/output port is at a low level, the alarm information is output; and when the level is high, the alarm information is output.
In this embodiment, the specific operation of waking up the middle moving physical association M5311 module is to trigger an external interrupt of the middle moving physical association M5311 module.
The beneficial effect of above-mentioned design is: the smoke remote alarm is realized through the middle moving object connection M5311 module, the middle moving object connection M5311 module is kept in a dormant state under the condition that the smoke concentration is not enough to alarm, the power consumption is reduced, the cost is reduced, alarm and alarm elimination information is uploaded to the TPC server, the communication efficiency is improved, and the timeliness of the alarm information is guaranteed.
Example 2
Based on embodiment 1, an embodiment of the present invention provides a remote smoke alarm system based on a middle-moving physical connection M5311 chip, as shown in fig. 2, where the smoke alarm module includes:
the smoke concentration acquisition circuit is used for acquiring the concentration voltage value of indoor smoke at preset time intervals;
the judgment submodule is used for converting the concentration voltage value into a smoke concentration value and judging whether the smoke concentration value is larger than the preset threshold value or not;
if yes, triggering external interruption of the middle moving object connection M5311 module, and awakening the middle moving object connection M5311 module;
otherwise, the low power consumption mode of the middle shift physical link M5311 is kept.
In this embodiment, the conversion of the concentration voltage value into a smoke concentration value may be realized, for example, with HT46R 065.
In this embodiment, after the external interrupt of the middle moving object connection M5311 module is triggered, the middle moving object connection M5311 module stops sleeping, and further processes the smoke alarm related event.
The beneficial effect of above-mentioned design is: when the smoke concentration is detected to be higher than the preset concentration, the middle moving object connection M5311 module is switched from the dormant state to the working state, the power consumption of the middle moving object connection M5311 module during operation is reduced, and the alarm cost is saved.
Example 3
On the basis of embodiment 1, the embodiment of the invention provides an on-chip remote smoke alarm system based on a middle moving object joint M5311, wherein a middle moving object joint M5311 module comprises:
the awakening unit is used for starting monitoring the level state of the input/output port when receiving the awakening request from the smoke alarm module;
the monitoring unit is used for monitoring the level state of the input/output port, and specifically comprises:
acquiring the level state of the input/output port at preset time intervals, and generating alarm information if the level state is a low level;
when the level state is monitored to be converted from a low level to a high level, judging whether alarm information of a camera is received;
if so, generating the warning information,
otherwise, generating state information;
and the uploading unit is used for uploading the generated alarm information, the generated alarm information and the generated state information to the information receiving unit.
In this embodiment, when the level state of the input/output port is a low level, it indicates that the smoke concentration value is greater than a preset threshold, at this time, an alarm message is generated, when the level state of the input/output port is a high level, it indicates that the smoke concentration value is not greater than the preset threshold, at this time, it is determined whether an alarm message of the camera is received, if so, it indicates that the smoke fire is controlled, and an alarm message needs to be generated, otherwise, it indicates that the smoke fire is not controlled, and state information needs to be generated, so that the smoke fire information can be remotely checked.
The beneficial effect of above-mentioned design is: the high and low levels of the input and output ports are controlled according to the smoke concentration, so that alarm, warning and state information is generated for remote checking, and the accuracy of alarm information is ensured.
Example 4
On the basis of embodiment 4, the embodiment of the present invention provides an on-chip remote smoke alarm system based on a middle moving physical association M5311, where the middle moving physical association M5311 module further includes:
the information receiving unit is used for waiting for receiving information and generating an information queue according to the information in a time sequence;
the connection establishing unit is used for establishing connection with the TPC server after the information queue is obtained;
and the control unit is used for emptying the message queue after the message queue is sent to the TPC server, detecting whether the message receiving unit has unsent information again, and controlling the intermediate mobile Internet of things M5311 module to recover to a low power consumption mode if the unsent information does not exist in the message receiving unit.
In this embodiment, the message queue includes alarm information, status information, and warning information.
The beneficial effect of above-mentioned design is: after all the information in the message queue is detected to be sent to the TPC server, the intermediate transfer Internet of things M5311 module is controlled to be restored to the low power consumption mode, so that the information can be timely transmitted to a remote terminal, the intermediate transfer Internet of things M5311 module is guaranteed to be timely restored to the low power consumption mode, and cost is reduced.
Example 5
On the basis of embodiment 1, the embodiment of the invention provides an on-chip remote smoke alarm system based on a middle moving object joint M5311, wherein the middle moving object joint M5311 module further comprises:
the setting unit is used for initializing and restarting the NB module after receiving the sending request and acquiring local configuration;
and the sending unit is used for determining a sending task according to the local configuration after the NB module is started, and sending the sending task to the TPC server.
In this embodiment, the NB module is a wireless communication module using a narrow bandwidth, which can reduce power consumption, initialize and restart the NB module, and prepare for information transmission.
In this embodiment, the local configuration includes an address parameter of the M5311 module, and the address parameter is used as a part of the sending task.
The beneficial effect of above-mentioned design is: through utilizing the NB module to carry out radio communication, reduced the consumption among the communication process to utilize local configuration to confirm accuracy and the comprehensiveness of sending the task assurance sending the task, provide accurate remote alarm information.
Example 6
On the basis of the embodiment 2, the embodiment of the invention provides a remote smoke alarm system based on a middle-moving physical association M5311 chip, which is characterized in that the judgment sub-module further comprises:
the first judgment unit is used for acquiring a first average smoke concentration value in a first time period, triggering the external interruption of the M5311 module of the middle transfer link if the first average smoke concentration value is greater than a first preset threshold value, and awakening the M5311 module of the middle transfer link;
a second judging unit, configured to judge whether the first average smoke concentration value is greater than a second preset threshold value if the first average smoke concentration value is not greater than the first preset threshold value;
if yes, based on the difference value between the first average smoke concentration value and a second preset threshold value, shortening the preset interval time for collecting indoor smoke, collecting the indoor smoke for multiple times according to the shortened interval time to obtain the average smoke concentration value of each time, triggering the external interruption of the middle transfer Internet of things M5311 module when the average smoke concentration value is larger than the first preset threshold value, and awakening the middle transfer Internet of things M5311 module;
if the second average smoke concentration values acquired in n times of continuous acquisition are smaller than a first preset threshold and larger than a second preset threshold based on the preset interval duration, enabling the smoke concentration acquisition circuit to be in a dormant state, starting a standby smoke acquisition circuit, acquiring a third average smoke concentration value in a second time period, calculating a final smoke concentration value based on the second average smoke concentration value and the third average smoke concentration value, and judging whether the final smoke concentration value is larger than the first preset threshold;
if so, awakening the middle moving object connection M5311 module; otherwise, stopping the work of the standby smoke acquisition circuit, and awakening the smoke concentration acquisition circuit again to start the next acquisition work at the preset time interval;
a third judging unit, configured to judge whether the first average smoke concentration value is smaller than a third preset threshold value, if so, increase a preset interval duration for collecting indoor smoke based on a difference between the first average smoke concentration value and the third preset threshold value, and control the smoke concentration collecting circuit to perform next collection operation based on the increased preset interval duration;
otherwise, keeping the original preset interval to carry out the next acquisition work.
In this embodiment, the first preset threshold > the second preset threshold > the third preset threshold.
In this embodiment, if the second average smoke concentration values obtained by continuous n-time collection are smaller than the first preset threshold and larger than the second preset threshold based on the preset interval duration, it indicates that the smoke concentration is continuously close to the edge of alarm but does not reach the alarm standard, the standby smoke collection circuit is started to collect smoke at the moment, the smoke collection position of the standby smoke collection circuit is different from the smoke concentration collection circuit, the final smoke concentration value can be obtained more comprehensively and comprehensively by combining the smoke concentration values obtained by the smoke concentration collection circuit, the smoke concentration collection precision is improved, the accuracy of the smoke concentration values is ensured, and the false alarm rate of remote alarm is reduced.
The beneficial effect of above-mentioned design is: according to the average smoke concentration value obtained by multiple times of collection, when the smoke concentration value is too large but not more than an alarm threshold value, the collection interval time is shortened, when the smoke concentration value is very small, the collection interval time is prolonged, so that the collection work of a smoke concentration collection circuit can find that the smoke concentration is too high and alarm in time, and the work energy consumption of the smoke concentration collection circuit can be reduced.
Example 7
Based on the embodiment 6, the embodiment of the present invention provides a remote smoke alarm system based on a middle-shift physical association M5311 chip, where the determination sub-module further includes:
the calculating unit is used for determining a specific value for shortening the preset interval duration of the collected indoor smoke, and specifically comprises the following steps:
and acquiring the grade of the difference value between the first average smoke concentration value and a second preset threshold value in a time length shortening comparison table, and setting a weighted value based on the grade, wherein the product of the preset interval time length and the weighted value is the shortened interval time length.
In this embodiment, the higher the level is, the larger the corresponding weight value is, and the value range of the weight value is [0.50, 0.95 ].
The beneficial effect of above-mentioned design is: and setting a proper interval duration for the first average smoke concentration value according to the specific size of the first average smoke concentration value, and reducing the working energy consumption of the smoke concentration acquisition circuit.
Example 8
Based on embodiment 1, the invention provides a remote smoke alarm system based on a middle-moving internet of things M5311 on-chip, as shown in fig. 3, further comprising: the transmission module is used for transmitting the alarm and warning information from the mobile internet of things M5311 module to the TPC server, and comprises:
the extraction unit is used for identifying and extracting first parameter information and second parameter information of smoke detection related to the smoke alarm module in the alarm and alarm information;
the encoding unit is used for encoding the first parameter information to a front encoding position of the encoding information according to the standard encoding mode of the Midamble physical connection M5311 module, and encoding the second parameter information to a rear encoding position of the encoding information according to the standard encoding mode of the Midamble physical connection M5311 module;
an obtaining unit, configured to obtain an intermediate transmission node between the middle mobile physical connection M5311 module and the TPC server;
the detection unit is used for estimating transmission state information between the intermediate transfer Internet of things M5311 module and the intermediate transmission node based on the parameter information of the intermediate transmission node and selecting a first intermediate transmission node capable of successfully decoding the coding information based on the transmission state information;
the distribution unit is used for packing the coding information into a plurality of data packets according to the channel capacity of the first intermediate transmission node and distributing the data packets to different first intermediate transmission nodes;
a sending unit, configured to transmit a data packet obtained by a first intermediate transmission node to the TPC server, and merge the data packet into information to be decoded;
the decoding unit is used for dividing the information to be decoded to obtain a pre-decoding bit and a post-decoding bit and judging whether the pre-decoding bit is consistent with a historical pre-decoding bit in a recent history record or not;
if yes, determining first parameter information corresponding to the preposed decoding position based on a historical decoding record of the history preposed decoding position, searching a decoding rule corresponding to the Middling physical connection M5311 module, and decoding the postposed decoding position to obtain second parameter information.
Otherwise, directly searching the decoding rule, and decoding the pre-decoding bit and the post-decoding bit to obtain first parameter information and second parameter information.
In this embodiment, the first parameter information is address information of the smoke alarm module and monitoring smoke location information.
In this embodiment, the second parameter information is a value of the smoke concentration and a collection time.
In this embodiment, the first parameter information is used to indicate the location of smoke generation and the location of the device monitoring smoke, and the second parameter information is used to indicate the specific value of smoke and the specific time at which smoke is collected.
In this embodiment, the standard encoding mode of the M5311 module is a specific encoding mode of the M5311 module.
In this embodiment, the transmission state information is a feedback signal, and it is determined that a node satisfying the transmission requirement in the intermediate transmission nodes is the first intermediate transmission node according to the feedback signal.
In this embodiment, it is determined whether the pre-decode bit is consistent with a historical pre-decode bit in a recent history, where the recent history is the most recently received alarm information that violates an empty file, and if the recent history is consistent with the historical pre-decode bit, it indicates that the alarm information is from the same smoke alarm module and the smoke positions are consistent, so that the information included in the pre-decode bit can be obtained without decoding the pre-encode bit.
In this embodiment, the information to be decoded is decoded by the decoding rule corresponding to the middle-shift physical connection M5311 module to obtain the first parameter information corresponding to the front decoding position and the second parameter information corresponding to the rear decoding position, so that all the information for alarming can be obtained without searching and matching the smoke occurrence position again.
The beneficial effect of above-mentioned design is: the first parameter information of the smoke alarm module and the second parameter information of the smoke detection are respectively coded to the front coding position and the rear coding position, all alarming information can be obtained by decoding the TPC server, the smoke detection position does not need to be searched and matched again, the timeliness of the smoke alarm information is guaranteed, the transmission state information and the channel capacity of the middle transmission node are used, the proper transmission node is selected to transmit the alarm information, the interruption probability in the transmission process is reduced, the transmission efficiency is guaranteed, and the timeliness of the smoke alarm information transmission is guaranteed.
Example 9
Based on the embodiment 1, the embodiment of the present invention provides a remote smoke alarm system on a M5311 chip based on a middle moving object, further comprising: the task scheduling module is used for scheduling various tasks, and comprises:
the task receiving unit is used for acquiring a smoke signal receiving task, a TPC server connecting task and an information receiving task in the same time period;
the task analysis unit is used for analyzing each task and determining the priority level corresponding to each task and whether the task can be interrupted;
the task scheduling unit determines a plurality of scheduling methods based on the priority level of each task and whether the interrupt can be performed;
the power consumption calculation unit is used for calculating the power consumption of each scheduling method and selecting the scheduling method with the least power consumption as a target scheduling method;
and the task execution unit is used for executing various tasks according to the target scheduling method.
In this embodiment, the priority level and the interruptible condition of each task may be, for example, the priority level is TPC server connection task > smoke signal reception task > information reception task, and the interruptible condition is that TPC server connection task is not interruptible, smoke signal reception task is not interruptible, and information reception task is interruptible.
In this embodiment, the scheduling method may be, for example, after the TPC server connection task is divided into a plurality of processors on average, one of the processors is selected to process an information receiving task, and when the information receiving task is executed, if a smoke signal receiving task occurs, the information receiving task is interrupted, the smoke signal receiving task is preferentially executed, and the information receiving task is executed after the smoke signal receiving task is completed.
The beneficial effect of above-mentioned design is: the optimal task scheduling method is selected through the task scheduling module, so that the power consumption is minimized, the power consumption is reduced, and the cost is reduced under the condition that the remote alarm is ensured to be timely.
Example 10
On the basis of embodiment 9, an embodiment of the present invention provides a remote smoke alarm system on a M5311 chip based on a middle-shift physical association, where the power consumption calculation unit includes:
the time calculation subunit is used for determining a driving processor of each task according to the scheduling method and determining the execution time of each task according to the performance parameters of the driving processor;
the execution time is calculated as follows:
Figure BDA0003309855790000151
wherein, TpRepresents the execution time of the current task, n represents the number of subtasks allocated to the current task,
Figure BDA0003309855790000152
represents the maximum operating voltage of the driving processor corresponding to the execution of the ith sub-task,
Figure BDA0003309855790000153
indicating the threshold voltage of the driving processor corresponding to the execution of the ith sub-task,
Figure BDA0003309855790000154
indicates the voltage, T, allocated to the driving processor corresponding to the ith sub-taskOiDenotes an execution time, T, for executing the ith sub-task at the maximum operating voltage of the corresponding driving processorrRepresenting the task execution time before the current task;
the power consumption calculating subunit is used for determining the power consumption required by the scheduling method based on the execution time of each task;
the calculation formula of the power consumption required under the scheduling method is as follows:
Figure BDA0003309855790000155
wherein W represents the power consumption required under the present scheduling method,
Figure BDA0003309855790000156
represents the execution time of the jth task under the scheduling method, m represents the number of tasks under the scheduling method,
Figure BDA0003309855790000157
represents the average maximum processing power of the jth task,
Figure BDA0003309855790000158
represents the maximum average operating voltage used in the j-th task to drive the processor,
Figure BDA0003309855790000159
indicating the average allocated voltage used in the j-th task to drive the processor.
In this embodiment, the average maximum processing power is an average of maximum powers of the driving processors used by the jth task.
In this embodiment, for
Figure BDA00033098557900001510
For example it may be that n-5,
Figure BDA00033098557900001511
TOi=100ms,Tr200ms, then TpApproximately 980 ms.
In this embodiment, the pair
Figure BDA00033098557900001512
For example it may be that m-3,
Figure BDA00033098557900001513
respectively 1000ms, 800ms and 1500ms,
Figure BDA00033098557900001514
are respectively 100w、90w、110w,
Figure BDA00033098557900001515
W was 0.064 watt-hour when the amounts of W were 0.5, 0.7 and 0.8, respectively.
In this embodiment, when the execution time of the current task is calculated, the execution time of the current task is adjusted by taking the task execution time before the current task as a reference, so that the accuracy of the execution time of the current task is improved.
The beneficial effect of above-mentioned design is: by calculating the power consumption under the task scheduling method and selecting the scheduling method with the lowest power consumption, the power consumption is minimized, the power consumption is reduced, and the cost is reduced under the condition that the remote alarm is ensured to be timely.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A long-range smoke alarm system on M5311 piece based on moving thing allies oneself with, its characterized in that includes:
the smoke alarm module is used for acquiring a smoke concentration value and awakening the middle moving object connection M5311 module when the smoke concentration value reaches a preset threshold value;
and the middle moving physical connection M5311 module is used for determining alarm and warning information according to the level state of the input and output port after being awakened, and uploading the alarm and warning information to the TPC server.
2. The system according to claim 1, wherein the smoke alarm module comprises:
the smoke concentration acquisition circuit is used for acquiring the concentration voltage value of indoor smoke at preset time intervals;
the judgment submodule is used for converting the concentration voltage value into a smoke concentration value and judging whether the smoke concentration value is larger than the preset threshold value or not;
if yes, triggering external interruption of the middle moving object connection M5311 module, and awakening the middle moving object connection M5311 module;
otherwise, the low power consumption mode of the middle shift physical link M5311 is kept.
3. The remote smoke alarm system based on the middle moving object M5311 chip as claimed in claim 1, wherein the middle moving object M5311 module comprises:
the awakening unit is used for starting monitoring the level state of the input/output port when receiving the awakening request from the smoke alarm module;
the monitoring unit is used for monitoring the level state of the input/output port, and specifically comprises:
acquiring the level state of the input/output port at preset time intervals, and generating alarm information if the level state is a low level;
when the level state is monitored to be converted from a low level to a high level, judging whether alarm information of a camera is received;
if so, generating the warning information,
otherwise, generating state information;
and the uploading unit is used for uploading the generated alarm information, the generated alarm information and the generated state information to the information receiving unit.
4. The remote smoke alarm system based on the middle moving object M5311 chip as claimed in claim 1, wherein the middle moving object M5311 module further comprises:
the information receiving unit is used for waiting for receiving information and generating an information queue according to the information in a time sequence;
the connection establishing unit is used for establishing connection with the TPC server after the information queue is obtained;
and the control unit is used for emptying the message queue after the message queue is sent to the TPC server, detecting whether the information receiving unit has unsent information again, and controlling the middle-shift Internet of things M5311 module to recover to a low power consumption mode if the unsent information does not exist in the information receiving unit.
5. The remote smoke alarm system based on the middle moving object M5311 chip as claimed in claim 1, wherein the middle moving object M5311 module further comprises:
the setting unit is used for initializing and restarting the NB module after receiving the sending request and acquiring local configuration;
and the sending unit is used for determining a sending task according to the local configuration after the NB module is started, and sending the sending task to the TPC server.
6. The system according to claim 2, wherein the determination submodule further comprises:
the first judgment unit is used for acquiring a first average smoke concentration value in a first time period, triggering the external interruption of the M5311 module of the middle transfer link if the first average smoke concentration value is greater than a first preset threshold value, and awakening the M5311 module of the middle transfer link;
a second judging unit, configured to judge whether the first average smoke concentration value is greater than a second preset threshold value if the first average smoke concentration value is not greater than the first preset threshold value;
if yes, based on the difference value between the first average smoke concentration value and a second preset threshold value, shortening the preset interval time for collecting indoor smoke, collecting the indoor smoke for multiple times according to the shortened interval time to obtain the average smoke concentration value of each time, triggering the external interruption of the middle transfer Internet of things M5311 module when the average smoke concentration value is larger than the first preset threshold value, and awakening the middle transfer Internet of things M5311 module;
if the second average smoke concentration values acquired in n times of continuous acquisition are smaller than a first preset threshold and larger than a second preset threshold based on the preset interval duration, enabling the smoke concentration acquisition circuit to be in a dormant state, starting a standby smoke acquisition circuit, acquiring a third average smoke concentration value in a second time period, calculating a final smoke concentration value based on the second average smoke concentration value and the third average smoke concentration value, and judging whether the final smoke concentration value is larger than the first preset threshold;
if so, awakening the middle moving object connection M5311 module; otherwise, stopping the work of the standby smoke acquisition circuit, and awakening the smoke concentration acquisition circuit again to start the next acquisition work at the preset time interval;
a third judging unit, configured to judge whether the first average smoke concentration value is smaller than a third preset threshold value, if so, increase a preset interval duration for collecting indoor smoke based on a difference between the first average smoke concentration value and the third preset threshold value, and control the smoke concentration collecting circuit to perform next collection operation based on the increased preset interval duration;
otherwise, keeping the original preset interval to carry out the next acquisition work.
7. The system according to claim 6, wherein the determination submodule further comprises:
the calculating unit is used for determining a specific value for shortening the preset interval duration of the collected indoor smoke, and specifically comprises the following steps:
and acquiring the grade of the difference value between the first average smoke concentration value and a second preset threshold value in a time length shortening comparison table, and setting a weighted value based on the grade, wherein the product of the preset interval time length and the weighted value is the shortened interval time length.
8. The remote smoke alarm system based on the middle-moving internet of things M5311 on the chip as claimed in claim 1, further comprising: the transmission module is used for transmitting the alarm and warning information from the mobile internet of things M5311 module to the TPC server, and comprises:
the extraction unit is used for identifying and extracting first parameter information and second parameter information of smoke detection related to the smoke alarm module in the alarm and alarm information;
the encoding unit is used for encoding the first parameter information to a front encoding position of the encoding information according to the standard encoding mode of the Midamble physical connection M5311 module, and encoding the second parameter information to a rear encoding position of the encoding information according to the standard encoding mode of the Midamble physical connection M5311 module;
an obtaining unit, configured to obtain an intermediate transmission node between the middle mobile physical connection M5311 module and the TPC server;
the detection unit is used for estimating transmission state information between the intermediate transfer Internet of things M5311 module and the intermediate transmission node based on the parameter information of the intermediate transmission node and selecting a first intermediate transmission node capable of successfully decoding the coding information based on the transmission state information;
the distribution unit is used for packing the coding information into a plurality of data packets according to the channel capacity of the first intermediate transmission node and distributing the data packets to different first intermediate transmission nodes;
a sending unit, configured to transmit a data packet obtained by a first intermediate transmission node to the TPC server, and merge the data packet into information to be decoded;
the decoding unit is used for dividing the information to be decoded to obtain a pre-decoding bit and a post-decoding bit and judging whether the pre-decoding bit is consistent with a historical pre-decoding bit in a recent history record or not;
if so, determining first parameter information corresponding to the preposed decoding position based on a historical decoding record of the history preposed decoding position, searching a decoding rule corresponding to the Middling physical connection M5311 module, and decoding the postposed decoding position to obtain second parameter information;
otherwise, directly searching the decoding rule, and decoding the pre-decoding bit and the post-decoding bit to obtain first parameter information and second parameter information.
9. The remote smoke alarm system based on the middle-moving internet of things M5311 on the chip as claimed in claim 1, further comprising: the task scheduling module is used for scheduling various tasks, and comprises:
the task receiving unit is used for acquiring a smoke signal receiving task, a TPC server connecting task and an information receiving task in the same time period;
the task analysis unit is used for analyzing each task and determining the priority level corresponding to each task and whether the task can be interrupted;
the task scheduling unit determines a plurality of scheduling methods based on the priority level of each task and whether the interrupt can be performed;
the power consumption calculation unit is used for calculating the power consumption of each scheduling method and selecting the scheduling method with the least power consumption as a target scheduling method;
and the task execution unit is used for executing various tasks according to the target scheduling method.
10. The system according to claim 9, wherein the power consumption calculation unit comprises:
the time calculation subunit is used for determining a driving processor of each task according to the scheduling method and determining the execution time of each task according to the performance parameters of the driving processor;
and the power consumption calculation subunit is used for determining the power consumption required under the scheduling method based on the execution time of each task.
CN202111213672.7A 2021-10-19 2021-10-19 Remote smoke alarm system on M5311 chip based on middle moving object Active CN113920678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111213672.7A CN113920678B (en) 2021-10-19 2021-10-19 Remote smoke alarm system on M5311 chip based on middle moving object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111213672.7A CN113920678B (en) 2021-10-19 2021-10-19 Remote smoke alarm system on M5311 chip based on middle moving object

Publications (2)

Publication Number Publication Date
CN113920678A true CN113920678A (en) 2022-01-11
CN113920678B CN113920678B (en) 2023-01-17

Family

ID=79241156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111213672.7A Active CN113920678B (en) 2021-10-19 2021-10-19 Remote smoke alarm system on M5311 chip based on middle moving object

Country Status (1)

Country Link
CN (1) CN113920678B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422881A (en) * 2022-01-18 2022-04-29 宁波东海集团有限公司 Low-power communication method, system, storage medium and intelligent terminal

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4656463A (en) * 1983-04-21 1987-04-07 Intelli-Tech Corporation LIMIS systems, devices and methods
US4783654A (en) * 1985-01-14 1988-11-08 Nec Corporation Radio paging system capable of transmitting common information and receiver therefor
EP0317230A2 (en) * 1987-11-13 1989-05-24 Nec Corporation Paging receiver with a message selecting circuit
US5564285A (en) * 1994-09-22 1996-10-15 Thermo King Corporation Method of converting a time based data logger to a time and random event based data logger
CN102508714A (en) * 2011-11-03 2012-06-20 南京邮电大学 Green-computer-based virtual machine scheduling method for cloud computing
US20140233379A1 (en) * 2011-10-28 2014-08-21 Huawei Technologies Co., Ltd. User screening method and base station for user screening
US20150347726A1 (en) * 2014-02-14 2015-12-03 So System Service Co., Ltd. Manipulator authentication operating system
CN106469323A (en) * 2016-09-26 2017-03-01 立德高科(北京)数码科技有限责任公司 Rescue information examination based on Quick Response Code and alarm method
CN106535253A (en) * 2016-11-23 2017-03-22 北京必创科技股份有限公司 Method for dynamic acquisition and transmission of wireless data
CN207558152U (en) * 2017-09-25 2018-06-29 上海七弦智能科技有限公司 A kind of wireless smoke detector
US20200014925A1 (en) * 2017-03-28 2020-01-09 Panasonic Intellectual Property Corporation Of America Encoding apparatus, decoding apparatus, encoding method, and decoding method
CN214376842U (en) * 2021-02-05 2021-10-08 浙江魔豆科技有限公司 Independent networking type fire detection alarm

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4656463A (en) * 1983-04-21 1987-04-07 Intelli-Tech Corporation LIMIS systems, devices and methods
US4783654A (en) * 1985-01-14 1988-11-08 Nec Corporation Radio paging system capable of transmitting common information and receiver therefor
EP0317230A2 (en) * 1987-11-13 1989-05-24 Nec Corporation Paging receiver with a message selecting circuit
US5564285A (en) * 1994-09-22 1996-10-15 Thermo King Corporation Method of converting a time based data logger to a time and random event based data logger
US20140233379A1 (en) * 2011-10-28 2014-08-21 Huawei Technologies Co., Ltd. User screening method and base station for user screening
CN102508714A (en) * 2011-11-03 2012-06-20 南京邮电大学 Green-computer-based virtual machine scheduling method for cloud computing
US20150347726A1 (en) * 2014-02-14 2015-12-03 So System Service Co., Ltd. Manipulator authentication operating system
CN106469323A (en) * 2016-09-26 2017-03-01 立德高科(北京)数码科技有限责任公司 Rescue information examination based on Quick Response Code and alarm method
CN106535253A (en) * 2016-11-23 2017-03-22 北京必创科技股份有限公司 Method for dynamic acquisition and transmission of wireless data
US20200014925A1 (en) * 2017-03-28 2020-01-09 Panasonic Intellectual Property Corporation Of America Encoding apparatus, decoding apparatus, encoding method, and decoding method
CN207558152U (en) * 2017-09-25 2018-06-29 上海七弦智能科技有限公司 A kind of wireless smoke detector
CN214376842U (en) * 2021-02-05 2021-10-08 浙江魔豆科技有限公司 Independent networking type fire detection alarm

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422881A (en) * 2022-01-18 2022-04-29 宁波东海集团有限公司 Low-power communication method, system, storage medium and intelligent terminal
CN114422881B (en) * 2022-01-18 2023-08-25 宁波东海集团有限公司 Low-power communication method, system, storage medium and intelligent terminal

Also Published As

Publication number Publication date
CN113920678B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN103401804B (en) Wireless sensor network node data buffer storage transmission control system and method
CN109982417B (en) Sensor control method, sensor control device, sensor, and storage medium
CN110958676B (en) Low-power consumption dormancy equipment awakening method and system
US10045097B2 (en) Method for uploading data of cell panel monitoring system and cell panel monitoring system
CN109272728B (en) Electric quantity management method and device
CN113920678B (en) Remote smoke alarm system on M5311 chip based on middle moving object
CN106557033A (en) A kind of intelligent home equipment control method, apparatus and system
EP2551683A1 (en) Data transmission device
CN110621086B (en) Communication system, gateway, terminal and communication method
WO2019019285A1 (en) Resource control method and apparatus
CN114338778B (en) Gateway equipment control method and device, storage medium and electronic device
CN107612705B (en) Method for saving power for terminal equipment for managing Internet of things in batches and relay equipment
JPH1194334A (en) Wireless dwelling equipment system
CN112968783B (en) Low-power-consumption processing method and device based on transmitted data
CN108076086A (en) A kind of long-distance monitoring method and equipment
CN111504452A (en) Monitoring apparatus and vibration abnormality determination method
CN113570808A (en) Wireless smoke detector based on ZYNQ7020
CN107566501B (en) Water regime monitoring and management system for water conservancy
CN112104997A (en) Internet of things meter and control method thereof
CN110691135A (en) Equipment data uploading method and system, Internet of things module and storage medium
CN110601914A (en) Method and system for monitoring survival state of server
CN212007515U (en) Monitoring device
US20240053733A1 (en) Lubricator control system
CN210183093U (en) Intelligent microcomputer protection device based on Internet of things technology
US20240053732A1 (en) Lubricator 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