CN104318708A - Embedded intelligent security protection system of ARM-based Linux operating system - Google Patents

Embedded intelligent security protection system of ARM-based Linux operating system Download PDF

Info

Publication number
CN104318708A
CN104318708A CN201410515943.8A CN201410515943A CN104318708A CN 104318708 A CN104318708 A CN 104318708A CN 201410515943 A CN201410515943 A CN 201410515943A CN 104318708 A CN104318708 A CN 104318708A
Authority
CN
China
Prior art keywords
module
file
linux
kernel
camera
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.)
Pending
Application number
CN201410515943.8A
Other languages
Chinese (zh)
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.)
Beijing University of Technology
Original Assignee
Beijing University of Technology
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 Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN201410515943.8A priority Critical patent/CN104318708A/en
Publication of CN104318708A publication Critical patent/CN104318708A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B19/00Alarms responsive to two or more different undesired or abnormal conditions, e.g. burglary and fire, abnormal temperature and abnormal rate of flow
    • G08B19/005Alarms responsive to two or more different undesired or abnormal conditions, e.g. burglary and fire, abnormal temperature and abnormal rate of flow combined burglary and fire alarm systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems

Abstract

The invention provides a technical scheme of an embedded intelligent security protection system of an ARM-based Linux operating system. The embedded intelligent security protection system comprises a hardware circuit and the ARM-based Linux operating system. A Linux system Ubuntu is a software control center of the whole system. An initial code is Boot, and a core is Kernel. The core Kernel is a core portion of the operating system, the core runs processes and provides communication among the processes. A monitoring module comprises an MQ-2 smog sensor, a DS18B20 temperature sensor and an HC-SR501 human body induction module. The whole embedded intelligent security protection system provided by the invention has the advantages of simple structure, low cost and low power, and can monitor the security status of user environment in real time. The major innovative points of the system include low power, rapid alarm response and short time.

Description

Based on the (SuSE) Linux OS embedded intelligence safety-protection system of ARM
Technical field
The present invention relates to a kind of intelligent safety and defence system, particularly relate to a kind of (SuSE) Linux OS embedded intelligence safety-protection system based on ARM, belong to intelligent security-protecting and monitoring technical field.
Background technology
For intelligent safety defense monitoring system, all expand positive research both at home and abroad, it is an advanced subject of research both at home and abroad.Although also there is the product of many intelligent security-protecting and monitoring aspects in the market, these products are generally suitable only for the research unit such as larger enterprise and school and use, and can enter common people house and also need long time with lower cost.
Intelligent safety defense monitoring system is a kind of integrated use multiple technologies, and such as network technology, Industry Control and computer technology etc. carry out the system of monitoring in real time to required monitored object.
Make a general survey of the history of safety defense monitoring system development, be broadly divided into three phases.
First stage, local simulated monitoring system.The generation of original video supervisory system comes from the appearance of video camera, televisor, and analog video supervisory system usually shows recording unit three parts by the front-end equipments such as video camera, transmission system and master control and forms.
Subordinate phase, the multimedia monitor system of Based PC.The main working method of this system is the various information of process and the various functions completing local required monitoring.
Phase III, based on the safety-protection system of embedded technology.This system adopts embedded technology the signal of the collection of monitor terminal to be carried out corresponding judgement to make corresponding process.
Along with China IC designs and the further developing of electronic communication, and the improving constantly of expanding economy and people's living standard, everybody is to the requirement of living environment, and also turn to target towards pursuing safety and comfort, intelligence more, intelligent safety and defence system also enjoys the concern of people gradually.
The existing intelligent safety and defence system cabling workload of tradition is large, not easily maintenance and maintenance, situation about may misrepresent deliberately, and whole system cost intensive.Embedded intelligence safety-protection system based on ARM can add real time operating system, such as Linux, wince, ucos, android etc.
Summary of the invention
The object of the invention is to propose the embedded intelligence safety-protection system of Linux series ubuntu operating system based on ARM and the GPRS network communication technology, this system may be used on the intelligent security guard of small-sized storage place and family, can overcome that prior art is expensive, the feature of complex structure, not easily true-time operation simultaneously.
For achieving the above object, the technical solution used in the present invention is the operating system embedded intelligence safety-protection system of the Linux based on ARM, and this system comprises hardware circuit, (SuSE) Linux OS based on ARM.
Described hardware circuit comprises MCU module, monitoring module, camera module, GPRS communication module, display module, and wherein, monitoring module comprises MQ-2 smoke transducer, DS18B20 temperature sensor, HC-SR501 human body induction module.
Described MCU module is the S3C2440 chip of ARM9 series, is the control center of system, makes corresponding process after the input signal of MCU receiving sensor, and MCU controls the transmission of corresponding circuit realiration sound and light alarm and GPRS module implementation note; Described MQ-2 smoke transducer is used for the smokescope in testing environment; DS18B20 temperature sensor is used for the temperature in testing environment; HC-SR501 human body induction module, for breaking in testing environment; Described camera module is OV9650 camera head monitor module, for taking pictures in system; Described GPRS communication module is SIM900 communication module, for short message sending; Described display module is that LCD display module is in order to show current temperature, date, time and current picture.
Described (SuSE) Linux OS Ubuntu is the software control center of whole system.Initial code Boot, described initial code Boot are the one section of programs run when operating system is initial.Kernel Kernel, described kernel Kernel are the cores of operating system, and kernel runs process, and provides the communication between process.Graphic user interface Qt, described graphic user interface Qt are the Development Framework of system application.File management Roofs, described file management Roofs are system root file management files.
(SuSE) Linux OS, described (SuSE) Linux OS Ubuntu comprises part driver, can direct developing application on its basis.
Initial code Boot, be u-boot in described initial code Boot, corresponding research method compiles source code on a virtual machine, amendment Makefile configuration file generates the u-boot file of corresponding development board, perform Linux instruction again, generate u-boot.bin, and binary file is downloaded in development board.
Kernel Kernel, in described kernel Kernel, the scheduling comprising event and communicating between synchronous, process, memory management.The step of the present invention's exploitation is decompress(ion) kernel compressed package on a virtual machine, then Linux instruction cleaning kernel file is used, again certain amendment is carried out to Makefile file, and configuration file is configured accordingly, finally obtain kernel file uImage with Linux instruction again, it is downloaded in development board by USB.
Graphic user interface Qt, in described graphic user interface Qt, the method for building Qt environment is as follows, is first the corresponding environment of configuration compiling Qt on host, completes the compiling of touch-screen control program; Secondly the corresponding embedded device environment of configuration compiling, compiles corresponding control program; Finally, dynamic base and touch screen program compiled after be transplanted to the corresponding document catalogue of MCU again under, so far having built of Qt environment.
File management Roofs, in described file management Roofs, decompress roofs source code in virtual machine, and next in cross compilation environment, compiling generates image file, and image file is downloaded to development board.
Based on the flow process of the (SuSE) Linux OS control hardware circuit of ARM, the back operation system control hardware driver of system electrification, and then control hardware module completes corresponding operation; Process is that operating system controls smokescope, temperature in sensor assembly monitoring of environmental, breaks in, when there being abnormal generation, operating system judges input information, and the collection that operating system controls corresponding circuit sound and light alarm simultaneously, control camera module completes image, control GPRS module complete the transmission of note.
Compared with prior art, the present invention has following beneficial effect.
Embedded intelligence safety-protection system of the present invention, whole system has that structure is simple, cost is low, the feature of low-power consumption, and system can be monitored in real time to the safety case of user environment; The main innovate point of system be low-power consumption establish fast with alarm response, the time is short.
Accompanying drawing explanation
Fig. 1 is whole system hardware block diagram.
Fig. 2 is whole system software flow pattern.
Fig. 3 is present system structural drawing.
Embodiment
The present invention is directed to the deficiency of traditional intelligence safety-protection system, propose the Linux series ubuntu operating system based on ARM and the embedded intelligence Design of Safeguard System scheme of the GPRS network communication technology, to be applied to family and small-sized storage place.
For making object of the present invention, technical scheme and advantage clearly understand, below with reference to accompanying drawing, the present invention is further described.
Fig. 1 is whole system hardware block diagram, and system hardware circuit comprises ARM9 control module, power supply and reseting module, GPRS module, sensor assembly, CMOS camera module, LCD touch screen display module, alarm module, associated peripheral circuits.
MCU acp chip adopts the S3C2440 of Samsung, it is based on ARM920T core, and dominant frequency reaches 400MHz, the CMOS standard macroelement of 0.13 μm and memory cell, power consumption is lower, and full Static Design is particularly suitable for the application to cost and power sensitive.Adopt MQ_2 smoke transducer, the smokescope in monitoring of environmental; Direct current 5V is operating voltage, and have the signal exporting instruction, output low level is useful signal, analog output 0 ~ 5V voltage, and the higher relevant voltage of concentration is higher; Cigarette sense is to liquefied gas, and rock gas, town gas has good sensitivity, and longer and reliable stability, was responded recovery characteristics rapidly, be connected by A/D interface with ARM development board serviceable life.Adopt the temperature of DS18B20 temperature sensor monitors environment; DS18B20 provides 9 (scale-of-two) temperature reading instructions, the temperature information of device is sent into DS18B20 through single digital interface or sends from DS18B20, so only need a line (and ground wire) from host CPU to DS18B20, the power supply of DS18B20 can be provided by data line itself and not need external power source, the measurement range from-55 to+125 of DS18B20, increment size is 0.5, in ls (representative value), temperature inversion can be become numeral.People in HC_SR501 human body induction module monitoring of environmental, HC-SR501 is the automatic control module based on infrared technology, adopts German imported with original packaging LHI778 probe designs, highly sensitive, and reliability is strong, extra low voltage mode of operation.What GPRS represented is general packet radio service, and it is a kind of packet-switched data carrying and transmission mode that grow up on GSM basis, applies very general in embedded systems.The communication that native system selects SIM900GPRS module to realize between ARM9 controller and user, when SIM900 module normally works, need installation one SIM card, guarantee that antenna connects correct, also need network support during work, SIM900 module adopts AT command set to be communicated by serial ports UATR and S3C2440.SIM900A module is the GSM/GPRS module of a compact dimensions, adopts SMT encapsulation, based on the single-chip case of STE, adopts ARM926EJ-S framework, powerful, low in energy consumption, the communication of supported data, note, voice.The monitoring of OV9650CMOS camera and the personnel's situation recorded in environment, 1,300,000 pixels, imaging clearly, is suitable for monitoring camera-shooting aspect.Camera is connected with ARM development board by the pin of 20pin, convenient operation and maintenance.LCD display module, shows the real-time pictures of current temperature, date and time and camera record; Display panel module is connected by FPC45pin and ARM development board.Sound and light alarm module, BUZZER completes audible alarm, is connected with development board by GPIO, and LED completes light and reports to the police, and is connected with development board by GPIO.
Fig. 2 is whole system software flow pattern.
System software comprises the cutting of (SuSE) Linux OS ubuntu and transplanting, system application design, the writing of the corresponding hardware module driver of system.System is divided into several corresponding task, both sensor trace routine, camera monitoring facilities, LCD display routine, and the process after occurring extremely, and GPRS controls the program sending SMS module and system sound and light alarm module.
The transplanting of (SuSE) Linux OS and compiling, comprise amendment and the transplanting of the source codes such as initial code Boot, kernel Kernel, graphical interfaces Qt, file management Roofs, and the binary file after compiling downloads to corresponding target developing plate.ARM9 development board runs corresponding (SuSE) Linux OS, and this just means needs linux system to be transplanted on development board.First need to build cross compilation environment, the operating system that this programme host adopts is Ubuntu, that cross-compiler is selected is arm-linux-gcc, target machine is ARM9 development board, and the process of establishing of cross compilation environment is exactly the process utilizing Linux instruction to unpack cross-compiler compressed package.Boot is exactly the one section of program run when operating system is initial, setting up, getting out correct environment for calling kernel comprising the preliminary examination of hardware device, the mapping graph of memory headroom.The Boot adopted in native system is u-boot; Corresponding research method compiles source code on a virtual machine, and amendment Makefile configuration file generates the u-boot file of corresponding development board, then performs linux order, generates u-boot.bin, and binary file is downloaded in development board.Operating system nucleus is Kernel, just knows it is the core of operating system from name.The liunx kernel version that native system adopts is 2.6.28, the step of exploitation is decompress(ion) kernel compressed package on a virtual machine, then linux order cleaning kernel file is used, again certain amendment is carried out to makefile file, and configuration file is configured accordingly, finally obtain kernel file uImage with linux order again, it is downloaded in development board by USB.Graphic user interface Qt is an application development frameworks.The method of building Qt environment in this research is as follows, is first the corresponding environment of configuration compiling Qt on host, completes the compiling of touch-screen control program; Secondly the corresponding embedded device environment of configuration compiling, compiles corresponding control program; Finally, dynamic base and touch screen program compiled after be transplanted to the corresponding document catalogue of MCU again under.Root file system Roofs, decompress in this research roofs source code in virtual machine, and next in cross compilation environment, compiling generates image file, and image file is downloaded to development board, and so far operating system ubuntu has transplanted.
The design of system module driver, Sensor monitoring module comprises the temperature sensor of detected temperatures, detects the smoke transducer of smog and gas, the infrared sensor of testing staff; The wherein temperature of temperature sensor testing environment, connected by GPIO and MCU, so driver defines corresponding pin exactly, input and output are digital signal.The smokescope of smoke transducer testing environment, is connected with MCU by A/D interface, and driver comprises analog quantity and converts digital quantity to, then converts the corresponding low and high level of pin to.Whether steal in infrared sensor monitoring of environmental, connected by GPIO and MCU, driver defines corresponding pin exactly, is defined as input quantity, converts corresponding low and high level to.LCD display mainly shows date and time, Current Temperatures, current real-time pictures; So driver comprises the initialization of LCD module, the initialization of pin; Undertaken controlling and operating by operation LCD drived control register pair LCD, the mode of operation of LCD can be set, the content of display on LCD is completed by read-write LCDRAM, structure and other RAM of LCDRAM are different, it is a twoport structure, an interface is the read-write interface of CPU, another as with driver read interface.That camera module is selected is CMOS class OV9650, and the driver of its correspondence comprises for obtaining the data of image from interface and the data obtained being transferred to the process space; Also comprise the register reading and configure OV9650, then pass through the function of IIC interface transmission data, carry out the function of module initialization in addition; Also define the concrete grammar reading OV9650 register, the function calling corresponding read-write removes function reading and writing OV9650 register etc. simultaneously.
System application exploitation and design, the exploitation of system master routine and design comprise the collection of sensor die block message, the collection of camera module information, the display of LCD display real-time information, the transmission of GPRS module short message, the control of sound light alarming circuit.Modules initialization after system electrification, first to judge sensor assembly detects whether there is wherein any one generation extremely, if wherein there are one or more generation abnormal conditions, then MCU control camera module is taken pictures, simultaneously circuit completes sound and light alarm, warning message and picture is sent to pre-set cellphone subscriber by GPRS module simultaneously; Occur if not abnormal, then judge whether sensor has abnormal generation always.Finished writing by CMOS camera driver above, present operation is exactly the exploitation of camera application programs; First be open camera, complete camera initialization, camera File Mapping in correspondence memory, what the position in file was corresponding is exactly memory address, and read-write operation is convenient and simple; When there being abnormal generation in master routine, MCU controls camera and carries out collection image of taking pictures, and calls corresponding function simultaneously and carries out reading data, image procossing is carried out again by respective function, under again picture being saved in corresponding catalogue, closing camera afterwards, complete the collection of image.The picture MCU collected is sent to GPRS module by serial ports, controls GPRS module sent by picture by corresponding AT instruction.The MCU of system adopts corresponding AT instruction to realize sending the function of note or multimedia message by controlling GPRS module, when system needs to send GPRS information, first be send corresponding AT instruction, after device initialize completes, being send CMGF instruction to be used for selecting Text Mode or multimedia message pattern subsequently, is finally send AMGS to equal: phone number+information content order sends note or sends CMMSSEND and equals: telephone number+multimedia message order sends multimedia message.
Table 1 is present system test result.
The present invention is directed to conventional P C safety-protection system and be not suitable for family or the application of little place, and propose the embedded intelligence safety-protection system with convenient operation, low cost, low-power consumption and real-time high.The performance such as operability, stability, real-time of the whole embedded system of test has been carried out in practical application place.
Table 1 system test result
Test result shows, by each sensor assembly, can fire in real time accurately in monitoring of environmental and illegally entering, and this system accurately and timely can also send warning message simultaneously, shows that system has good reliability, stability and real-time.The integrated testability of system carries out on the basis of specific product research and development and enterprise demand joint test.
Fig. 3 is present system structural drawing.Whole system material object comprises S3C2440 master control board, sensor assembly, CMOS camera module, LCD display, sound and light alarm module, GPRS communication module.
The above is embodiments of the present invention, all any amendments done within the spirit and principles in the present invention, and equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (2)

1. based on the operating system embedded intelligence safety-protection system of the Linux of ARM, it is characterized in that: this system comprises hardware circuit, (SuSE) Linux OS based on ARM;
Described hardware circuit comprises MCU module, monitoring module, camera module, GPRS communication module, display module, and wherein, monitoring module comprises MQ-2 smoke transducer, DS18B20 temperature sensor, HC-SR501 human body induction module;
Described MCU module is the S3C2440 chip of ARM9 series, is the control center of system, makes corresponding process after the input signal of MCU receiving sensor, and MCU controls the transmission of corresponding circuit realiration sound and light alarm and GPRS module implementation note; Described MQ-2 smoke transducer is used for the smokescope in testing environment; DS18B20 temperature sensor is used for the temperature in testing environment; HC-SR501 human body induction module, for breaking in testing environment; Described camera module is OV9650 camera head monitor module, for taking pictures in system; Described GPRS communication module is SIM900 communication module, for short message sending; Described display module is that LCD display module is in order to show current temperature, date, time and current picture;
Described (SuSE) Linux OS Ubuntu is the software control center of whole system; Initial code Boot, described initial code Boot are the one section of programs run when operating system is initial; Kernel Kernel, described kernel Kernel are the cores of operating system, and kernel runs process, and provides the communication between process; Graphic user interface Qt, described graphic user interface Qt are the Development Framework of system application; File management Roofs, described file management Roofs are system root file management files;
(SuSE) Linux OS, described (SuSE) Linux OS Ubuntu comprises part driver, can direct developing application on its basis;
Initial code Boot, be u-boot in described initial code Boot, corresponding research method compiles source code on a virtual machine, amendment Makefile configuration file generates the u-boot file of corresponding development board, perform Linux instruction again, generate u-boot.bin, and binary file is downloaded in development board;
Kernel Kernel, in described kernel Kernel, the scheduling comprising event and communicating between synchronous, process, memory management; The step of the present invention's exploitation is decompress(ion) kernel compressed package on a virtual machine, then Linux instruction cleaning kernel file is used, again certain amendment is carried out to Makefile file, and configuration file is configured accordingly, finally obtain kernel file uImage with Linux instruction again, it is downloaded in development board by USB;
Graphic user interface Qt, in described graphic user interface Qt, the method for building Qt environment is as follows, is first the corresponding environment of configuration compiling Qt on host, completes the compiling of touch-screen control program; Secondly the corresponding embedded device environment of configuration compiling, compiles corresponding control program; Finally, dynamic base and touch screen program compiled after be transplanted to the corresponding document catalogue of MCU again under, so far having built of Qt environment;
File management Roofs, in described file management Roofs, decompress roofs source code in virtual machine, and next in cross compilation environment, compiling generates image file, and image file is downloaded to development board;
Based on the flow process of the (SuSE) Linux OS control hardware circuit of ARM, the back operation system control hardware driver of system electrification, and then control hardware module completes corresponding operation; Process is that operating system controls smokescope, temperature in sensor assembly monitoring of environmental, breaks in, when there being abnormal generation, operating system judges input information, and the collection that operating system controls corresponding circuit sound and light alarm simultaneously, control camera module completes image, control GPRS module complete the transmission of note.
2. the operating system embedded intelligence safety-protection system of the Linux based on ARM according to claim 1, is characterized in that:
Based on the Linux series ubuntu operating system of ARM and the embedded intelligence Design of Safeguard System scheme of the GPRS network communication technology, be applied to family and small-sized storage place,
System hardware circuit comprises ARM9 control module, power supply and reseting module, GPRS module, sensor assembly, CMOS camera module, LCD touch screen display module, alarm module, associated peripheral circuits;
MCU acp chip adopts the S3C2440 of Samsung; Adopt MQ_2 smoke transducer, the smokescope in monitoring of environmental; Direct current 5V is operating voltage, and have the signal exporting instruction, output low level is useful signal, analog output 0 ~ 5V voltage, and the higher relevant voltage of concentration is higher; Cigarette sense to liquefied gas, rock gas, town gas has good sensitivity, and longer and reliable stability, was responded recovery characteristics rapidly, be connected by A/D interface with ARM development board serviceable life; Adopt the temperature of DS18B20 temperature sensor monitors environment; DS18B20 provides 9 temperature reading instructions, the temperature information of device is sent into DS18B20 through single digital interface or sends from DS18B20, so only need a line from host CPU to DS18B20, the power supply of DS18B20 can be provided by data line itself and not need external power source, the measurement range from-55 to+125 of DS18B20, increment size is 0.5, in ls, temperature inversion can be become numeral; People in HC_SR501 human body induction module monitoring of environmental, HC-SR501 is the automatic control module based on infrared technology, adopts German imported with original packaging LHI778 probe designs, highly sensitive, and reliability is strong, extra low voltage mode of operation; What GPRS represented is general packet radio service, and it is a kind of packet-switched data carrying and transmission mode that grow up on GSM basis, applies very general in embedded systems; The communication that native system selects SIM900GPRS module to realize between ARM9 controller and user, when SIM900 module normally works, need installation one SIM card, guarantee that antenna connects correct, also need network support during work, SIM900 module adopts AT command set to be communicated by serial ports UATR and S3C2440; SIM900A module is the GSM/GPRS module of a compact dimensions, adopts SMT encapsulation, based on the single-chip case of STE, adopts ARM926EJ-S framework, powerful, low in energy consumption, the communication of supported data, note, voice; The monitoring of OV9650CMOS camera and the personnel's situation recorded in environment, 1,300,000 pixels, imaging clearly, is suitable for monitoring camera-shooting aspect; Camera is connected with ARM development board by the pin of 20pin, convenient operation and maintenance; LCD display module, shows the real-time pictures of current temperature, date and time and camera record; Display panel module is connected by FPC45pin and ARM development board; Sound and light alarm module, BUZZER completes audible alarm, is connected with development board by GPIO, and LED completes light and reports to the police, and is connected with development board by GPIO;
System software comprises the cutting of (SuSE) Linux OS ubuntu and transplanting, system application design, the writing of the corresponding hardware module driver of system; System is divided into several corresponding task, both sensor trace routine, camera monitoring facilities, LCD display routine, and the process after occurring extremely, and GPRS controls the program sending SMS module and system sound and light alarm module;
The transplanting of (SuSE) Linux OS and compiling, comprise amendment and the transplanting of the source codes such as initial code Boot, kernel Kernel, graphical interfaces Qt, file management Roofs, and the binary file after compiling downloads to corresponding target developing plate; ARM9 development board runs corresponding (SuSE) Linux OS, and this just means needs linux system to be transplanted on development board; First need to build cross compilation environment, the operating system that this programme host adopts is Ubuntu, that cross-compiler is selected is arm-linux-gcc, target machine is ARM9 development board, and the process of establishing of cross compilation environment is exactly the process utilizing Linux instruction to unpack cross-compiler compressed package; Boot is exactly the one section of program run when operating system is initial, setting up, getting out correct environment for calling kernel comprising the preliminary examination of hardware device, the mapping graph of memory headroom; The Boot adopted in native system is u-boot; Corresponding research method compiles source code on a virtual machine, and amendment Makefile configuration file generates the u-boot file of corresponding development board, then performs linux order, generates u-boot.bin, and downloads in development board by binary file; Operating system nucleus is Kernel, just knows it is the core of operating system from name; The liunx kernel version that native system adopts is 2.6.28, the step of exploitation is decompress(ion) kernel compressed package on a virtual machine, then linux order cleaning kernel file is used, again certain amendment is carried out to makefile file, and configuration file is configured accordingly, finally obtain kernel file uImage with linux order again, it is downloaded in development board by USB; Graphic user interface Qt is an application development frameworks; The method of building Qt environment in this research is as follows, is first the corresponding environment of configuration compiling Qt on host, completes the compiling of touch-screen control program; Secondly the corresponding embedded device environment of configuration compiling, compiles corresponding control program; Finally, dynamic base and touch screen program compiled after be transplanted to the corresponding document catalogue of MCU again under; Root file system Roofs, decompress in this research roofs source code in virtual machine, and next in cross compilation environment, compiling generates image file, and image file is downloaded to development board, and so far operating system ubuntu has transplanted;
The design of system module driver, Sensor monitoring module comprises the temperature sensor of detected temperatures, detects the smoke transducer of smog and gas, the infrared sensor of testing staff; The wherein temperature of temperature sensor testing environment, connected by GPIO and MCU, so driver defines corresponding pin exactly, input and output are digital signal; The smokescope of smoke transducer testing environment, is connected with MCU by A/D interface, and driver comprises analog quantity and converts digital quantity to, then converts the corresponding low and high level of pin to; Whether steal in infrared sensor monitoring of environmental, connected by GPIO and MCU, driver defines corresponding pin exactly, is defined as input quantity, converts corresponding low and high level to; LCD display mainly shows date and time, Current Temperatures, current real-time pictures; So driver comprises the initialization of LCD module, the initialization of pin; Undertaken controlling and operating by operation LCD drived control register pair LCD, the mode of operation of LCD can be set, the content of display on LCD is completed by read-write LCDRAM, structure and other RAM of LCDRAM are different, it is a twoport structure, an interface is the read-write interface of CPU, another as with driver read interface; That camera module is selected is CMOS class OV9650, and the driver of its correspondence comprises for obtaining the data of image from interface and the data obtained being transferred to the process space; Also comprise the register reading and configure OV9650, then pass through the function of IIC interface transmission data, carry out the function of module initialization in addition; Also define the concrete grammar reading OV9650 register, the function calling corresponding read-write removes the function reading and writing OV9650 register simultaneously;
System application exploitation and design, the exploitation of system master routine and design comprise the collection of sensor die block message, the collection of camera module information, the display of LCD display real-time information, the transmission of GPRS module short message, the control of sound light alarming circuit; Modules initialization after system electrification, first to judge sensor assembly detects whether there is wherein any one generation extremely, if wherein there are one or more generation abnormal conditions, then MCU control camera module is taken pictures, simultaneously circuit completes sound and light alarm, warning message and picture is sent to pre-set cellphone subscriber by GPRS module simultaneously; Occur if not abnormal, then judge whether sensor has abnormal generation always; Finished writing by CMOS camera driver above, present operation is exactly the exploitation of camera application programs; First be open camera, complete camera initialization, camera File Mapping in correspondence memory, what the position in file was corresponding is exactly memory address, and read-write operation is convenient and simple; When there being abnormal generation in master routine, MCU controls camera and carries out collection image of taking pictures, and calls corresponding function simultaneously and carries out reading data, image procossing is carried out again by respective function, under again picture being saved in corresponding catalogue, closing camera afterwards, complete the collection of image; The picture MCU collected is sent to GPRS module by serial ports, controls GPRS module sent by picture by corresponding AT instruction; The MCU of system adopts corresponding AT instruction to realize sending the function of note or multimedia message by controlling GPRS module, when system needs to send GPRS information, first be send corresponding AT instruction, after device initialize completes, being send CMGF instruction to be used for selecting Text Mode or multimedia message pattern subsequently, is finally send AMGS to equal: phone number+information content order sends note or sends CMMSSEND and equals: telephone number+multimedia message order sends multimedia message;
The present invention is directed to conventional P C safety-protection system and be not suitable for family or the application of little place, and propose the embedded intelligence safety-protection system with convenient operation, low cost, low-power consumption and real-time high; The performance such as operability, stability, real-time of the whole embedded system of test has been carried out in practical application place;
Whole system material object comprises S3C2440 master control board, sensor assembly, CMOS camera module, LCD display, sound and light alarm module, GPRS communication module.
CN201410515943.8A 2014-09-29 2014-09-29 Embedded intelligent security protection system of ARM-based Linux operating system Pending CN104318708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410515943.8A CN104318708A (en) 2014-09-29 2014-09-29 Embedded intelligent security protection system of ARM-based Linux operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410515943.8A CN104318708A (en) 2014-09-29 2014-09-29 Embedded intelligent security protection system of ARM-based Linux operating system

Publications (1)

Publication Number Publication Date
CN104318708A true CN104318708A (en) 2015-01-28

Family

ID=52373932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410515943.8A Pending CN104318708A (en) 2014-09-29 2014-09-29 Embedded intelligent security protection system of ARM-based Linux operating system

Country Status (1)

Country Link
CN (1) CN104318708A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898601A (en) * 2015-04-03 2015-09-09 江苏惠通集团有限责任公司 Method for carrying out communication control through interaction equipment, interaction equipment and interaction system
CN105227910A (en) * 2015-09-22 2016-01-06 中国石油天然气集团公司 A kind of wireless monitor warning system based on Internet of Things
CN105391985A (en) * 2015-12-07 2016-03-09 哈尔滨工业大学深圳研究生院 Embedded Linux based video monitoring system and method
CN105791770A (en) * 2016-03-14 2016-07-20 路亮 ARM9-based embedded video acquisition system
CN106127615A (en) * 2016-08-31 2016-11-16 桂林创研科技有限公司 A kind of wisdom water affairs management system based on cloud computing
CN106205021A (en) * 2016-08-31 2016-12-07 桂林创研科技有限公司 A kind of Household security system
CN106200537A (en) * 2016-08-31 2016-12-07 桂林创研科技有限公司 A kind of Intelligent building control system
CN106249716A (en) * 2016-08-28 2016-12-21 姜俊 A kind of transformer station unattended integral monitoring system
CN106292599A (en) * 2016-08-31 2017-01-04 桂林创研科技有限公司 A kind of warehouse environment control intelligent system
CN106331634A (en) * 2016-08-31 2017-01-11 桂林创研科技有限公司 Peripheral security and protection system for unattended substation
CN106371391A (en) * 2016-08-31 2017-02-01 桂林创研科技有限公司 Control system of integration of SCADA system and safety system
CN106373226A (en) * 2016-08-28 2017-02-01 姜俊 Security and protection system based on barrier-free automatic unlocking technology
CN106408698A (en) * 2016-08-31 2017-02-15 桂林创研科技有限公司 Intelligent housekeeping system
CN106657928A (en) * 2017-02-10 2017-05-10 太仓鼎诚电子科技有限公司 Household wireless remote monitoring system of embedded Linux
CN109142868A (en) * 2018-08-10 2019-01-04 上海电机学院 Electric harmonic detector
CN109639508A (en) * 2019-01-15 2019-04-16 安徽大尺度网络传媒有限公司 A kind of Intelligent data center voice sound-light alarm monitoring system
CN110069368A (en) * 2019-03-21 2019-07-30 深圳同兴达科技股份有限公司 A kind of LCD test file and LCD test method
CN113192277A (en) * 2021-04-29 2021-07-30 重庆天智慧启科技有限公司 Automatic alarm system and method for community security
CN115220728A (en) * 2022-07-01 2022-10-21 广州汽车集团股份有限公司 Embedded Linux system software interactive compiling management method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593397A (en) * 2009-07-03 2009-12-02 北京工业大学 Intelligent home burglar alarm system based on GSM and GPRS
CN201464897U (en) * 2009-04-29 2010-05-12 湖南省第四工程有限公司 BACnet-based intelligent home security protection system
CN102214102A (en) * 2011-07-06 2011-10-12 上海智翔信息科技股份有限公司 System for transplanting C++ graphical user interface library (QT) to advanced RISC machine (ARM)
KR20110125014A (en) * 2010-05-12 2011-11-18 파이어컨트롤(주) System for fire monitering inner the coal pulverizer
CN203055077U (en) * 2013-01-11 2013-07-10 天广消防股份有限公司 Video fire hazard detector
CN103839371A (en) * 2014-03-31 2014-06-04 内蒙古科技大学 Indoor unattended safety inspection system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201464897U (en) * 2009-04-29 2010-05-12 湖南省第四工程有限公司 BACnet-based intelligent home security protection system
CN101593397A (en) * 2009-07-03 2009-12-02 北京工业大学 Intelligent home burglar alarm system based on GSM and GPRS
KR20110125014A (en) * 2010-05-12 2011-11-18 파이어컨트롤(주) System for fire monitering inner the coal pulverizer
CN102214102A (en) * 2011-07-06 2011-10-12 上海智翔信息科技股份有限公司 System for transplanting C++ graphical user interface library (QT) to advanced RISC machine (ARM)
CN203055077U (en) * 2013-01-11 2013-07-10 天广消防股份有限公司 Video fire hazard detector
CN103839371A (en) * 2014-03-31 2014-06-04 内蒙古科技大学 Indoor unattended safety inspection system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
刘国秀等: "基于ARM的嵌入式linux内核的裁剪与移植", 《电子元器件应用》 *
文台玉: "Linux内核编译和移植", 《百度文库》 *
李亚峰等: "《ARM嵌入式Linux系统开发从入门到精通》", 31 August 2007 *
王志良: "《物联网终端技术》", 30 September 2013 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898601A (en) * 2015-04-03 2015-09-09 江苏惠通集团有限责任公司 Method for carrying out communication control through interaction equipment, interaction equipment and interaction system
CN105227910A (en) * 2015-09-22 2016-01-06 中国石油天然气集团公司 A kind of wireless monitor warning system based on Internet of Things
CN105391985A (en) * 2015-12-07 2016-03-09 哈尔滨工业大学深圳研究生院 Embedded Linux based video monitoring system and method
CN105391985B (en) * 2015-12-07 2019-08-27 哈尔滨工业大学深圳研究生院 A kind of video monitoring system and method based on built-in Linux
CN105791770A (en) * 2016-03-14 2016-07-20 路亮 ARM9-based embedded video acquisition system
CN106249716A (en) * 2016-08-28 2016-12-21 姜俊 A kind of transformer station unattended integral monitoring system
CN106373226A (en) * 2016-08-28 2017-02-01 姜俊 Security and protection system based on barrier-free automatic unlocking technology
CN106371391A (en) * 2016-08-31 2017-02-01 桂林创研科技有限公司 Control system of integration of SCADA system and safety system
CN106127615A (en) * 2016-08-31 2016-11-16 桂林创研科技有限公司 A kind of wisdom water affairs management system based on cloud computing
CN106331634A (en) * 2016-08-31 2017-01-11 桂林创研科技有限公司 Peripheral security and protection system for unattended substation
CN106200537A (en) * 2016-08-31 2016-12-07 桂林创研科技有限公司 A kind of Intelligent building control system
CN106205021A (en) * 2016-08-31 2016-12-07 桂林创研科技有限公司 A kind of Household security system
CN106408698A (en) * 2016-08-31 2017-02-15 桂林创研科技有限公司 Intelligent housekeeping system
CN106292599A (en) * 2016-08-31 2017-01-04 桂林创研科技有限公司 A kind of warehouse environment control intelligent system
CN106657928A (en) * 2017-02-10 2017-05-10 太仓鼎诚电子科技有限公司 Household wireless remote monitoring system of embedded Linux
CN109142868A (en) * 2018-08-10 2019-01-04 上海电机学院 Electric harmonic detector
CN109639508A (en) * 2019-01-15 2019-04-16 安徽大尺度网络传媒有限公司 A kind of Intelligent data center voice sound-light alarm monitoring system
CN110069368A (en) * 2019-03-21 2019-07-30 深圳同兴达科技股份有限公司 A kind of LCD test file and LCD test method
CN110069368B (en) * 2019-03-21 2023-06-16 深圳同兴达科技股份有限公司 LCD test file and LCD test method
CN113192277A (en) * 2021-04-29 2021-07-30 重庆天智慧启科技有限公司 Automatic alarm system and method for community security
CN115220728A (en) * 2022-07-01 2022-10-21 广州汽车集团股份有限公司 Embedded Linux system software interactive compiling management method and device
CN115220728B (en) * 2022-07-01 2023-12-01 广州汽车集团股份有限公司 Interactive compiling management method and device for embedded Linux system software

Similar Documents

Publication Publication Date Title
CN104318708A (en) Embedded intelligent security protection system of ARM-based Linux operating system
CN103123485B (en) Intelligent data acquisition and control terminal and Internet of Things system with same
CN103744824B (en) One is dispatched from the factory method of testing and test system
CN203414451U (en) Portable air quality detection instrument
CN202794497U (en) On-site comprehensive detection equipment for electric energy information acquisition terminal
CN103338290A (en) A method for automatically testing performance of an Android handset
CN104360650A (en) Crane moving safety monitoring and management system based on mobile network
CN203658776U (en) Intelligent data-collecting processor
CN108387310A (en) It is a kind of based on solar powered noise level monitor
CN101984644A (en) Android operating system mobile phone-based temperature alarm method
CN203338545U (en) A household environment wireless monitoring system
CN203069733U (en) A vibration-detection-based partial discharging point positioning device used for GIS tests
CN202068431U (en) Embedded Internet of Things server
CN107390590A (en) Intelligent gate system based on Internet of Things control
CN205121238U (en) Environment monitoring device with sleet and noise monitoring function
Ru et al. Design of Raindrop detector based on Arduino
CN108731793A (en) A kind of hand-held noise level monitor
CN104731027A (en) Water conservancy regulation and management system
CN104637173A (en) Water meter management system based on wireless network
CN105739576A (en) Museum cultural relic monitoring system based on ZigBee and Android
CN205016101U (en) Low -power consumption wireless sensor network tests platform
CN204680165U (en) A kind of fuel gas leak alarm systems
CN109559249A (en) A kind of agriculture informatization system design method Internet-based
CN204575122U (en) Based on the forest environment monitoring system of wireless network
CN203288010U (en) Large span communication chamber alarming device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150128