Summary of the invention
The present invention in order to overcome the above problem, propose it is a kind of using wireless exploration equipment for its service, make full use of
A kind of USB network alarm system based on PON device of Internet resources and its method locally controlled.
In order to realize the above functions, USB network alarm system of the invention based on PON device and its side locally controlled
Method is specific as follows:
USB network alarm system of this kind based on PON device, including wireless exploration equipment, PON device and cloud of receiving a crime report are flat
Platform is mainly characterized by, and the USB network alarm system further includes a USB network warning device, and the wireless exploration is set
Standby to connect with the USB network warning device to code, the wireless exploration equipment is sent out to the USB network warning device
Probe message is sent, the USB network warning device is equipped with the MCU chip of processing routine built in one, to realize corresponding control
System operation, the USB network warning device also pass through the PON device connection cloud platform of receiving a crime report, the PON device
A built-in middleware software, user's receive a crime report cloud platform described by the user terminal connection.
Preferably, the detection information includes event information, type information and address code information, the event information
It can be warning message, heartbeat message or status information, the USB network warning device receives the detection information and passes through
The MCU chip and its built-in processing routine analysis obtain the type of the event information in the detection information and carry out corresponding
Processing, and
Offline condition of the heartbeat message to judge the wireless exploration equipment, the USB network warning device
The de- of the time interval of heartbeat message and the size multilevel iudge of the time threshold wireless exploration equipment twice is received by it
Machine situation, and the time threshold is arranged in the processing routine;
The status information low electric shape that the wireless exploration equipment is determined for the USB network warning device
State;
The warning message carries out alert process according to the warning message with for the USB network warning device;
The type information equipment class that the wireless exploration equipment is obtained for the USB network warning device
Type;
The address code information address that the wireless exploration equipment is obtained for the USB network warning device
Code.
More preferably, the alert process includes locally alarm and remote alarms, and the USB network warning device root
The cloth disarming state being set by the user according to one determines whether to carry out remote alarms, and the cloth disarming state is passed through described by user
The remote control that is configured or matches by one with the USB network warning device of the user terminal connection cloud platform of receiving a crime report
Device directly controls the USB network warning device and is configured, and the local alarm passes through one and the MCU chip
The acoustic-optic alarm being connected realizes that the acoustic-optic alarm includes indicator lamp groups and buzzer, and the remote alarms are
The USB network warning device sends alarm letter to the user terminal by the PON device and cloud platform of receiving a crime report
Breath.
It is particularly preferred that the acoustic-optic alarm is also used to indicate operation of the user to the USB network warning device,
The indicator lamp groups include police instruction lamp group and cloth is withdrawn a garrison indicator light, wherein the police instruction lamp group is used to indicate report
Alert information, the USB network warning device carry out corresponding light alarm according to the warning message control police instruction lamp group,
And include an alarm condition indicator light in the police instruction lamp group, for showing whether the current USB network warning device receives
Warning message, cloth indicator light of withdrawing a garrison is used to indicate the current cloth disarming state of the USB network warning device, described
Indicator lamp groups be light emitting diode, and the USB network warning device passes through the bright of the control light emitting diode
State, light on and off time or the bright light color of going out carry out light alarm to the event information and light prompts.
More preferably, the USB network warning device is carried out with the wireless exploration equipment to code under to code state
Connection, the USB network warning device further includes standby mode and deletion state, the USB network under the standby mode
Warning device waits the detection information of the wireless exploration equipment transmission and carries out respective handling, uses under the deletion state
Family can delete the wireless exploration equipment connected thereon.
It is particularly preferred that the USB network warning device includes protecting shell and to be mounted on the protective shell intracorporal
PCBA board, wherein
The protection shell is made of upper cover and lower cover, and the upper cover and lower cover pass through catching groove and button column snapping,
And the button column passes through the PCBA board, which is fixed, and the upper cover is provided with and the finger
Show that the aperture that lamp group matches is passed through for the indicator lamp groups;
The MCU chip is installed, the MCU chip also passes through the PCBA board and is connected with one in the PCBA board
EPROM chip and a USB serial ports conversion chip, the USB serial ports conversion chip connect a USB interface, USB interface setting
In the protective shell side;
The USB network warning device is additionally provided with a radio frequency signal receiving module, which connects
It receives module to be set in the PCBA board, and is connected by the PCBA board with the MCU chip, to receive and parse through
The event information that the wireless exploration equipment issues, the radio frequency signal receiving module also pass through the PCBA board
It is connected with a wireless signal receiving antenna, and the wireless signal receiving antenna one end passes through the protection shell;
The USB network warning device is additionally provided with a key, which passes through the PCBA board and the MCU
Chip is connected, and the key be pierced by by one on the protective shell with the aperture that the key size shape is adapted it is described
Protective shell, user by the key carry out operation make the USB network warning device to code state, deletion state and
It is switched between standby mode.
It is still further preferred that the MCU chip is N79E815A chip, the N79E815A chip exterior connects a crystal,
And the crystal oscillator of the crystal is 12MHz, and the N79E815A chip is connected by serial ports with the USB serial ports conversion chip
It connects, the EPROM chip of N79E815A chip connection is 24C02 chip, and 1 pin of the N79E815A chip is connected with described
Buzzer, 17 pins, 20 pins, 19 pins, 18 pins, 16 pins, 14 pins and 13 pins of the N79E815A chip are used for
The connection indicator lamp groups.
The method locally controlled is realized based on system as described above, is mainly characterized by, and the USB network, which is alarmed, to be filled
It sets including acoustic-optic alarm, and the acoustic-optic alarm is connected with the MCU chip, the local control packet
It includes the USB network warning device to control the management of locality connection and detection information, and the setting to oneself state,
In, the USB network warning device to the management of locality connection and detection information control the following steps are included:
(1) the wireless exploration equipment described in connect code with the USB network warning device;
(2) the wireless exploration equipment described in sends detection information, the USB net to the USB network warning device
Network warning device receives the detection information, and according to judging that the content in the detection information makes respective handling.
Preferably, when the USB network warning device connect code with the wireless exploration equipment enter pair
Code state, the USB network warning device to locally-attached management control further include to be connected to the USB network alarm fill
The deletion for the wireless exploration equipment set, and to the wireless exploration being connected on the USB network warning device
Equipment, which delete, to be needed to carry out under deletion state, and the USB network warning device is provided with one and the MCU chip
The key being connected, user is by carrying out the operation switching USB network warning device to code state and deletion to the key
State, to realize the setting to the USB network warning device oneself state, and nothing described in the step (1)
Line detecting devices connect code with the USB network warning device specifically:
User is described to code state by be operated into the key, and according to will access the USB net
The type of the wireless exploration equipment of network warning device is to the key further operating to enter the wireless exploration device type
It is corresponding to code state, the corresponding information on the code of transmission from the wireless exploration equipment to the USB network warning device, it is described
USB network warning device receive the information on the code, complete to connect code with the wireless exploration equipment.
More preferably, user deletes the wireless exploration equipment connected thereon specifically:
User is set by entering the deletion state to the button operation according to the wireless exploration that will be deleted
Standby type carries out corresponding delete operation to the key further operating.
More preferably, the USB network warning device control acoustic-optic alarm is to indicate user to described
The operation of USB network warning device, specifically:
The USB network warning device is by the MCU chip control acoustic-optic alarm to described
USB network warning device and the wireless exploration equipment to code connection procedure and delete the corresponding acousto-optic hint of process progress.
Preferably, the detection information includes event information, type information and address code information, the event information
It can be warning message, heartbeat message or status information, and the step (2) specifically:
The USB network warning device receives the detection information and judges the event information in the detection information
Classification continues step (2.1) if the event information is warning message;If the event information is heartbeat letter
Breath, then continue step (2.2);If the event information is status information, continue step (2.3);
(2.1) USB network warning device described according to the type information in the warning message and the detection information,
Corresponding sound-light alarm is carried out by the MCU chip control acoustic-optic alarm;
(2.2) the USB network warning device record described in receives the system time of heartbeat message, to obtain the wireless spy
The connection of measurement equipment;
(2.3) status information is successively passed through the PON device and described connect by USB network warning device described in
Alert cloud platform is sent to the user terminal.
More preferably, further include following in the step (2.1):
The USB network warning device obtains the cloth disarming state of its own, if current cloth disarming state is cloth
Anti-, then the USB network warning device also generates a warning information, and passes through the PON device and the cloud of receiving a crime report
The warning information is sent to the user terminal by platform.
More preferably, the step (2.2) specifically:
The USB network warning device obtains the connection feelings of presently described wireless exploration equipment by a time threshold
Condition, if the time difference that the USB network warning device receives adjacent heartbeat message twice is less than the time threshold, described in
USB network warning device is without any control, and otherwise the USB network warning device generates an off line warning message, and
The user terminal is successively sent to by the PON device and the cloud platform of receiving a crime report.
Preferably, the USB network warning device to the setting of oneself state further include user by one with it is described
The remote controler that USB network warning device matches sends cloth to the USB network warning device and withdraws a garrison setting information, to this
The cloth disarming state of USB network warning device is controlled or user passes through user terminal to the USB network warning device
It sends cloth to withdraw a garrison setting information, passes sequentially through receive a crime report cloud platform and the PON device, until the USB network is alarmed
Device controls the cloth disarming state of the USB network warning device.
USB network alarm system and its local control method using this kind based on PON device, since it is based on PON
Device realizes the connection of the USB network warning device and network, efficient and convenient, need to only alarm and fill in the USB network
That sets reports the IP address that the cloud platform of receiving a crime report is added in information, and the PON device can will report information to be sent to
The cloud platform of receiving a crime report, and system that employs USB network warning devices, to the wireless exploration equipment connected to code
The detection information of sending is handled, and is reduced the workload for cloud platform of entirely receiving a crime report, is mitigated the burden for cloud platform of receiving a crime report.And it should
Alarm cloud platform can connect more USB network warning devices simultaneously, to handle a large amount of warning message, realize high efficiency
While, warning reminding is sent to user, reminds consumer attention correlation circumstance in time, prevents accident, very simple is convenient
It is easy.It is worth promoting with the biggish scope of application and use value with more powerful economic benefit.
Specific embodiment
In order to preferably carry out clearer elaboration to the invention, some specific embodiments are enumerated below to carry out further
Explanation.
USB network alarm system of this kind based on PON device, including wireless exploration equipment, PON device and cloud of receiving a crime report are flat
Platform is mainly characterized by, and the USB network alarm system further includes a USB network warning device, and the wireless exploration is set
Standby to connect with the USB network warning device to code, the wireless exploration equipment is sent out to the USB network warning device
Probe message is sent, the USB network warning device is equipped with the MCU chip of processing routine built in one, to realize corresponding control
System operation, the USB network warning device also pass through the PON device connection cloud platform of receiving a crime report, the PON device
A built-in middleware software, user's receive a crime report cloud platform described by the user terminal connection.
The detection information includes event information, type information and address code information, and the event information can be report
Alert information, heartbeat message or status information, the USB network warning device receive the detection information and by described
MCU chip and its analysis of built-in processing routine obtain the type of the event information in the detection information and carry out respective handling,
And offline condition of the heartbeat message to judge the wireless exploration equipment, the USB network warning device pass through it
The offline condition of the time interval of heartbeat message Yu the size multilevel iudge of a time threshold wireless exploration equipment twice is received,
And the time threshold is arranged in the processing routine;
The status information low electric shape that the wireless exploration equipment is determined for the USB network warning device
State;
The warning message carries out alert process according to the warning message with for the USB network warning device;
The type information equipment class that the wireless exploration equipment is obtained for the USB network warning device
Type;
The address code information address that the wireless exploration equipment is obtained for the USB network warning device
Code.
The alert process includes local alarm and remote alarms, and the USB network warning device according to one by
Cloth disarming state set by user determines whether to carry out remote alarms, and the cloth disarming state passes through the user by user
The remote controler that the terminal connection cloud platform of receiving a crime report is configured or matches by one with the USB network warning device is direct
The control USB network warning device is configured, and the local alarm is connected by one with the MCU chip
Acoustic-optic alarm realize that the acoustic-optic alarm includes indicator lamp groups 2 and buzzer, the remote alarms are described
USB network warning device is sent a warning message by the PON device and cloud platform of receiving a crime report to the user terminal.
The acoustic-optic alarm is also used to indicate operation of the user to the USB network warning device, described
Indicator lamp groups 2 include that police instruction lamp group 2 and cloth are withdrawn a garrison indicator light, wherein the police instruction lamp group 2 is used to indicate alarm
Information, the USB network warning device carry out corresponding light alarm according to the warning message control police instruction lamp group 2,
And include an alarm condition indicator light in the police instruction lamp group 2, for showing whether the current USB network warning device receives
Warning message, cloth indicator light of withdrawing a garrison is used to indicate the current cloth disarming state of the USB network warning device, described
Indicator lamp groups 2 be light emitting diode, and the USB network warning device passes through the bright of the control light emitting diode
State, light on and off time or the bright light color of going out carry out light alarm to the event information and light prompts.
The USB network warning device connect code with the wireless exploration equipment under to code state, institute
The USB network warning device stated further includes standby mode and deletion state, the USB network warning device under the standby mode
It waits the detection information of the wireless exploration equipment transmission and carries out respective handling, user can be to it under the deletion state
The wireless exploration equipment of upper connection is deleted.
The USB network warning device includes protecting shell and being mounted on the intracorporal PCBA board 4 of protective shell,
In,
The protection shell is made of upper cover 1 and lower cover 5, and the upper cover 1 and lower cover 5 passes through catching groove and button column button
It connects, and the button column passes through the PCBA board 4, which is fixed, and the upper cover 1 is provided with and institute
The aperture that the indicator lamp groups 2 stated match is passed through for the indicator lamp groups 2;
The MCU chip is installed, the MCU chip also passes through the PCBA board 4 and is connected in the PCBA board 4
One EPROM chip and a USB serial ports conversion chip, the USB serial ports conversion chip connect a USB interface 7, the USB interface 7
It is set to the protective shell side;
The USB network warning device is additionally provided with a radio frequency signal receiving module, which connects
It receives module to be set in the PCBA board 4, and is connected by the PCBA board 4 with the MCU chip, to receive and solve
The event information that the analysis wireless exploration equipment issues, the radio frequency signal receiving module also pass through the PCBA
Plate 4 is connected with a wireless signal receiving antenna 6, and 6 one end of wireless signal receiving antenna passes through the protection shell;
The USB network warning device is additionally provided with a key 3, which passes through the PCBA board 4 and described
MCU chip is connected, and the key 3 is worn by the aperture being adapted with 3 size shape of key on the protective shell
The protective shell out, user by the key 3 carry out operation make the USB network warning device to code state, delete
Except being switched between state and standby mode.
The MCU chip is N79E815A chip, and the N79E815A chip exterior connects a crystal, and described
The crystal oscillator of crystal is 12MHz, and the N79E815A chip is connected by serial ports with the USB serial ports conversion chip, should
The EPROM chip of N79E815A chip connection is 24C02 chip, and 1 pin of the N79E815A chip is connected with the buzzing
Device, 17 pins, 20 pins, 19 pins, 18 pins, 16 pins, 14 pins and 13 pins of the N79E815A chip are for connecting
The indicator lamp groups 2.
The method locally controlled is realized based on system as described above, is mainly characterized by, and the USB network, which is alarmed, to be filled
It sets including acoustic-optic alarm, and the acoustic-optic alarm is connected with the MCU chip, the local control packet
It includes the USB network warning device to control the management of locality connection and detection information, and the setting to oneself state,
In, the USB network warning device to the management of locality connection and detection information control the following steps are included:
(1) the wireless exploration equipment described in connect code with the USB network warning device;
(2) the wireless exploration equipment described in sends detection information, the USB net to the USB network warning device
Network warning device receives the detection information, and according to judging that the content in the detection information makes respective handling.
Enter when the USB network warning device connect code with the wireless exploration equipment to code state,
The USB network warning device further includes to being connected on the USB network warning device to locally-attached management control
The deletion of the wireless exploration equipment, and to the wireless exploration equipment being connected on the USB network warning device into
Row, which is deleted, to need to carry out under deletion state, and the USB network warning device is provided with one and is connected with the MCU chip
Key, user by carrying out the operation switching USB network warning device to code state and deletion state to the key, from
And realize the setting to the USB network warning device oneself state, and wireless exploration described in the step (1) is set
It is standby connect code with the USB network warning device specifically:
User is described to code state by be operated into the key, and according to will access the USB net
The type of the wireless exploration equipment of network warning device is to the key further operating to enter the wireless exploration device type
It is corresponding to code state, the corresponding information on the code of transmission from the wireless exploration equipment to the USB network warning device, it is described
USB network warning device receive the information on the code, complete to connect code with the wireless exploration equipment.
User deletes the wireless exploration equipment connected thereon specifically:
User is by being operated into the deletion state to the key 3, and according to the wireless exploration that will be deleted
The type of equipment carries out corresponding delete operation to 3 further operating of key.
The USB network warning device control acoustic-optic alarm is to indicate user to the USB network
The operation of warning device, specifically:
The USB network warning device is by the MCU chip control acoustic-optic alarm to described
USB network warning device and the wireless exploration equipment to code connection procedure and delete the corresponding acousto-optic hint of process progress.
The detection information includes event information, type information and address code information, and the event information can be report
Alert information, heartbeat message or status information, and the step (2) specifically:
The USB network warning device receives the detection information and judges the event information in the detection information
Classification continues step (2.1) if the event information is warning message;If the event information is heartbeat letter
Breath, then continue step (2.2);If the event information is status information, continue step (2.3);
(2.1) USB network warning device described according to the type information in the warning message and the detection information,
Corresponding sound-light alarm is carried out by the MCU chip control acoustic-optic alarm;
(2.2) the USB network warning device record described in receives the system time of heartbeat message, to obtain the wireless spy
The connection of measurement equipment;
(2.3) status information is successively passed through the PON device and described connect by USB network warning device described in
Alert cloud platform is sent to the user terminal.
Further include following in the step (2.1):
The USB network warning device obtains the cloth disarming state of its own, if current cloth disarming state is cloth
Anti-, then the USB network warning device also generates a warning information, and passes through the PON device and the cloud of receiving a crime report
The warning information is sent to the user terminal by platform.
The step (2.2) specifically:
The USB network warning device obtains the connection feelings of presently described wireless exploration equipment by a time threshold
Condition, if the time difference that the USB network warning device receives adjacent heartbeat message twice is less than the time threshold, described in
USB network warning device is without any control, and otherwise the USB network warning device generates an off line warning message, and
The user terminal is successively sent to by the PON device and the cloud platform of receiving a crime report.
The USB network warning device further includes that user passes through one and the USB network to the setting of oneself state
The remote controler that warning device matches sends cloth to the USB network warning device and withdraws a garrison setting information, to the USB network report
The cloth disarming state of alarm device is controlled or user sends cloth to the USB network warning device by user terminal and removes
Anti- setting information passes sequentially through receive a crime report cloud platform and the PON device, until the USB network warning device, to this
The cloth disarming state of USB network warning device is controlled.
The detection information that the USB network warning device sends the received wireless exploration equipment carries out
Type of alarm identification, the type of alarm include the alarm of door sensor type, the alarm of cigarette sense type, the alarm of combustion gas type, infrared class
Type alarm and relief type alarm, and the USB network warning device is also to show the current USB network alarm system
Cloth disarming state, the indicator lamp groups that the USB network warning device is connected by one with the MCU chip realize light report
It is alert.
The indicator lamp groups pass through the alarm signal that USB network warning device detects described in its working status indication
Breath, the indicator lamp groups are provided with door sensor type indicator light, cigarette sense type indicator light, combustion gas class according to the type of alarm
Type indicator light, infrared type indicator light, relief type indicator light, alarm lamp and cloth are withdrawn a garrison indicator light, actually can basis
More indicator lights are arranged in the type of external wireless exploration equipment, are used to indicate the USB network warning device and detect institute
The detection information of door sensor equipment, smoke sensing equipment, gas-fired equipment, infrared equipment and the salvage device stated, due to being wrapped in detectable signal
The address code information for including event information, type information and the wireless exploration equipment, when the above equipment is alarmed i.e. to institute
The USB network warning device stated sends detection information, and the USB network warning device is believed according to the event in detection information
Breath, type information control that the bright and described indicator lamp groups of corresponding indicator light further include alarm lamp and cloth is withdrawn a garrison indicator light, point
It is not used to indicate the current alarm condition of the USB network warning device and cloth disarming state.
Further include buzzer in acoustic-optic alarm, as long as the USB network warning device detects event information, that is, carries out
Buzzing makes a sound alarm.
The acoustic-optic alarm is also used to the acousto-optic hint of operating process of the user to the USB network warning device,
User to the operation of the USB network warning device include with wireless exploration equipment code is connect, delete the nothing being connected thereto
Line detecting devices etc..
The indicator lamp groups are light emitting diode, and in a specific embodiment, indicator lamp groups jump into row by dodging
Alarm or acousto-optic hint, it is primary dodge to slip a line refers to that the light emitting diode occurs a bright light and once turns off the light, when alarm, institute
The light emitting diode bright light 500ms stated is the magnetic type indicator light, cigarette sense type indicator light, combustion gas type indicator light, infrared
The type indicator light time of turning off the light corresponding with relief type indicator light is 500ms.
The police instruction lamp group has a light emitting diode any warning message occur in the USB network warning device
When equal bright light, otherwise turn off the light;The cloth is withdrawn a garrison indicator light bright light when the USB network alarm system is in deployment state, otherwise
It turns off the light.
In a specific embodiment, user by key carry out the operation control USB network warning device into
Enter to code state, deletion state or standby mode, specifically: user enters pair by function key 5s described in long-pressing
Code state, by continuously entering the deletion state by described function key 5 times in 5s, user is described to code state
Into the standby mode when continuously pressing 5 times down or continue 60s without any operation, and user is under the deletion state
Also enter the standby mode when key 6 times described in connection pressing.
It is wirelessly connected, and uses referring to Fig. 4, the wireless exploration equipment and the USB network warning device pass through
Family can realize connecting to code for the wireless exploration equipment and the USB network warning device by key, in this kind tool
It is described that code is connected in body embodiment specifically:
Key 5s described in user's long-pressing, and entrance is described to code state, the relief type indicator light is with certain
Flashing mode is flashed, salvage device described in user's control send to code signal and the USB network warning device into
Row connects code;
User's pressing key is primary, and the door sensor type indicator light, which carries out flashing with certain flashing mode, to be made,
The triggering door sensor equipment transmission carries out matching code connection to code signal with the USB network warning device;
For the second time, the infrared type indicator light is flashed user's pressing key with certain flashing mode,
The triggering infrared detector transmission carries out matching code connection to code signal with the USB network warning device;
User is flashed by the key third time, the combustion gas type indicator light with certain flashing mode, and
The triggering gas-fired equipment transmission carries out matching code connection to code signal with the USB network warning device;
Key the 4th time described in user's pressing, the cigarette sense type indicator light is flashed with certain flashing mode,
And smoke sensing equipment transmission described in triggering carries out matching code connection to code signal with the USB network warning device;
Key the 5th time described in user's pressing, the USB network warning device enters the standby mode, or
User keeps in 60s without any operation, then the USB network warning device enters the standby mode and connects
It connects.
Referring to Fig. 5, it includes to all wireless that USB network warning device, which delete to the wireless exploration equipment,
Detecting devices deleted, deleted the salvage device, being deleted the door sensor equipment, to described red
External equipment is deleted, delete and delete the smoke sensing equipment, the deletion to the gas-fired equipment
Specifically:
User continuously presses described key 5 times in 5s, the door sensor type indicator light, cigarette sense type indicator light,
Combustion gas type indicator light, infrared type indicator light, relief type indicator light all light, the USB network warning device enter institute
The deletion state stated, key 3s described in user's long-pressing, and the salvage device, the door of USB network warning device connection
Magnetic machine, infrared equipment, gas-fired equipment and smoke sensing equipment are deleted, and the USB network warning device returns to standby shape
State;
If user is not carried out the operation of key 3s described in long-pressing, and presses described key 1 time, the relief class
Type indicator light is lighted, key 3s described in user's long-pressing, the relief to being connected on the USB network warning device
Equipment is deleted;
Key 3s described in user's long-pressing deletes the salvage device on the USB network warning device, or
Described key the 2nd time of person's pressing, the door sensor type indicator light is lighted, key 3s described in user's long-pressing, to being connected to
The door sensor equipment on the USB network warning device is deleted;
Key 3s described in user's long-pressing deletes the door sensor equipment on the USB network warning device, or
Described key the 3rd time of person's pressing, the infrared type indicator light is lighted, key 3s described in user's long-pressing, to being connected to
The infrared equipment on the USB network warning device is deleted;
Key 3s described in user's long-pressing deletes the infrared equipment on the USB network warning device, or
Described key the 4th of person's pressing, the combustion gas type indicator light are lighted, key 3s described in user's long-pressing, to being connected to
The gas-fired equipment on the USB network warning device is deleted;
Key 3s described in user's long-pressing deletes the gas-fired equipment on the USB network warning device, or
Described key the 5th of person's pressing, the cigarette sense type indicator light are lighted, key 3s described in user's long-pressing, to being connected to
The smoke sensing equipment on the USB network warning device is deleted;The relief indicator light, door sensor indicator light, combustion gas
Indicator light, cigarette sense indicator light and infrared indicator light are once flashed, and the USB network warning device exits deletion state,
And enter the standby mode.
Or key the 6th time that user's pressing is described, the relief indicator light, door sensor indicator light, combustion gas indicator light, cigarette
Sense indicator light and infrared indicator light are once flashed, and the USB network warning device exits deletion state, and described in entrance
Standby mode.
Flashing mode is guide lamp group bright light 500ms in primary flashing, and turn off the light 500ms.
And USB network warning device is operated every time, the buzzer carries out sound according to user's operation state
Prompt, wherein the user's operation state includes user's operation success status, user's operation status of fail and waiting operation shape
State.
In a specific embodiment, the indicator lamp groups 2 further include an alarm condition lamp, USB network warning device
When detecting received detection information, the alarm condition lamp is lighted, and otherwise the alarm condition lamp, which is in, extinguishes
State.
In a kind of specific embodiment, the major function of the USB network warning device is as follows:
It is responsible for receiving Radio infrared detector, wireless door and window magnetic, wireless smoke alarm, wireless gas detector, wireless
The wireless alarm signal that the various wireless exploration equipment such as glass break detection device, radio alarming key, remote controler issue.Management is each
Kind of detector to code access, delete, local police instruction and whistle control, cloth withdraw a garrison control, alarm signal is analyzed and management
And USB network warning device ID and access platform address configuration and management etc..
The USB network warning device can be connected to the USB interface of PON device by data line.Pass through PON device
USB interface give USB network warning device power supply, and by data line realize with PON device communicate physical connection.
The USB network warning device interior design has wireless Receiver Module, for receiving various radio alarming detections
The wireless signal that device is issued is parsed and is determined again after being decoded to wireless signal, then executes corresponding workflow.
Design has several LED lights, respectively indicates " alarm, cloth are withdrawn a garrison " and various type photodetectors;And it sets
In respect of a key 3, by a variety of different operation settings such as " long-pressing, short-press, multiple short-press, waiting " under different conditions,
May be implemented various detectors to basic operations such as code and deletions.
USB network warning device of the invention is not the independent network equipment, and without independent network address, therefore it is not
It can directly be communicated with cloud platform of receiving a crime report, therefore in a kind of specific embodiment, the USB network warning device is logical
Cross the middleware software independently operated, for alarming and managing and data forwarding in PON device.There are two logical for the middleware
The both-way communication with USB network warning device and cloud platform of receiving a crime report may be implemented, according to business demand in USB network in communication interface
Data Format Transform and forwarding, and the management to alert service logic are carried out between warning device and cloud platform of receiving a crime report, thus
Realize that alarm detector arrives PON device to USB network warning device, again, arrives cloud platform of receiving a crime report again, arrives user again and receive a crime report mobile phone
Complete warning function is realized and complete alert service management.
The cloth disarming state can carry out self-setting by user terminal, and be sent by the cloud platform of receiving a crime report
The USB network warning device, to realize that the cloth of whole system is withdrawn a garrison setting.
The PON device is the PON device based on (SuSE) Linux OS.
In the above specific embodiment, the MCU chip be a N79E815A, and its connection external crystal crystal oscillator
For 12MHz, and the serial ports of the MCU chip is connect with USB serial ports conversion chip.The MCU chip buzzing described by the connection of 1 pin
Device, the working frequency 271Hz of buzzer, and the MCU chip receive wireless data by 9 pins, which also passes through 8 companies
The key is connect, saves as a 24C02 chip in MCU chip connection, the indicator lamp groups are defined as follows table:
The buzzer issues very brief drop drop sound twice in user's operation success, and the buzzer is in user's operation
Long 2000ms is issued when failure, for the system when waiting operation, the buzzer issues continuous very brief drop drop sound.
USB network alarm system and its local control method using this kind based on PON device, since it is based on PON
Device realizes the connection of the USB network warning device and network, efficient and convenient, need to only alarm and fill in the USB network
That sets reports the IP address that the cloud platform of receiving a crime report is added in information, and the PON device can will report information to be sent to
The cloud platform of receiving a crime report, and system that employs USB network warning devices, to the wireless exploration equipment connected to code
The detection information of sending is handled, and is reduced the workload for cloud platform of entirely receiving a crime report, is mitigated the burden for cloud platform of receiving a crime report.And it should
Alarm cloud platform can connect more USB network warning devices simultaneously, to handle a large amount of warning message, realize high efficiency
While, warning reminding is sent to user, reminds consumer attention correlation circumstance in time, prevents accident, very simple is convenient
It is easy.It is worth promoting with the biggish scope of application and use value with more powerful economic benefit.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that can still make
Various modifications and alterations are without departing from the spirit and scope of the invention.Therefore, the description and the appended drawings should be considered as illustrative
And not restrictive.