CN109817345A - The detection method and system of abnormal behaviour, storage medium and processor - Google Patents

The detection method and system of abnormal behaviour, storage medium and processor Download PDF

Info

Publication number
CN109817345A
CN109817345A CN201811446214.6A CN201811446214A CN109817345A CN 109817345 A CN109817345 A CN 109817345A CN 201811446214 A CN201811446214 A CN 201811446214A CN 109817345 A CN109817345 A CN 109817345A
Authority
CN
China
Prior art keywords
inductive signal
object space
photoelectric sensor
target
abnormality
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
CN201811446214.6A
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 Bai Ren Technology Co Ltd
Original Assignee
Beijing Bai Ren Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Bai Ren Technology Co Ltd filed Critical Beijing Bai Ren Technology Co Ltd
Priority to CN201811446214.6A priority Critical patent/CN109817345A/en
Publication of CN109817345A publication Critical patent/CN109817345A/en
Pending legal-status Critical Current

Links

Landscapes

  • Alarm Systems (AREA)

Abstract

This application discloses a kind of detection methods of abnormal behaviour and system, storage medium and processor.This method comprises: obtaining the inductive signal that the photoelectric sensor being arranged in object space is sent;According to inductive signal, judge whether object space is in abnormality;In the case where judging that object space is in abnormality, then the warning information that object space is in abnormality is sent.It by the application, solves in the related technology that unusual checking higher cost, convenience are poor, and can not apply the private higher place the technical issues of.

Description

The detection method and system of abnormal behaviour, storage medium and processor
Technical field
This application involves detection technique field, detection methods and system in particular to a kind of abnormal behaviour, storage Medium and processor.
Background technique
In recent years user's unusual checking technology rapidly develop, be broadly divided into be view-based access control model unusual checking, And the unusual checking based on wearable device.
Wherein, the anomaly detection method of view-based access control model mostly uses camera to capture the behavior act of user, will act Video is cut into several picture segments, extracts the characteristic information of every width picture in current clip, passes through deep learning or collection At learning method, it is compared with the movement of normal user behavior, if movement is not found in the database, movement will be labeled For abnormal operation.If being detected as illness behavior, reported to doctor;If being detected as illegal act, mentioned to security department It reports out.
But the unusual checking of view-based access control model has the disadvantage in that camera cost of layout is higher, transmission wire rod must High-speed transmission line must be used, arrangement route will receive such environmental effects.The chip performance that data processing uses is more demanding, greatly The overall cost of system is increased greatly.Camera acquires user image data, is easy the individual privacy of leakage user.Especially needle When being carried out abnormality detection to the higher place of privacy such as toilet, it is not available camera completely and carries out data acquisition.
Wherein, the unusual checking device based on wearable device is by portable sensor, microprocessor and battery pack At by portable sensor acquisition data, user needs to wear portable sensor.Sensor can acquire the heart of wearer It jumps, the body physicals information such as temperature, the action behaviors information such as acceleration.Wearable device can collect these information, using wireless Network is sent to server.When wearer generates abnormal physical condition, or when abnormal behavior act, server is by Xiang Xiangguan Personnel give a warning.
But the unusual checking based on wearable device has the disadvantage in that the exception based on wearable device is examined It surveys, detected person needs Portable device, is not suitable for a fairly large number of public place of crowd and uses.Wearable device needs to arrange in pairs or groups Battery could work, and when electricity exhausts, charging process is that abnormality detection work is made troubles.Wearable device needs to be equipped with nothing Line radio circuit, the electromagnetic radiation that radio circuit generates, long-time service may damage health.
It is poor for unusual checking higher cost, convenience in the related technology, and can not apply higher in privacy Place the technical issues of, currently no effective solution has been proposed.
Summary of the invention
The application provides the detection method and system, storage medium and processor of a kind of abnormal behaviour, to solve related skill Unusual checking higher cost, convenience are poor in art, and can not apply the private higher place the technical issues of.
According to the one aspect of the application, a kind of detection method of abnormal behaviour is provided.This method comprises: obtaining target The inductive signal that the photoelectric sensor being arranged in space is sent;According to the inductive signal, judge whether object space is in different Normal state;In the case where judging that object space is in abnormality, then the alarm that object space is in abnormality is sent Information.
Optionally, according to the inductive signal, judge whether object space is in abnormality further include: in the induction Signal indicates that there are in the case where target object, determine that the photoelectric sensor persistently sends target induction in the object space The duration of signal, wherein the target inductive signal is to indicate that there are the inductive signals of target object in the object space;Sentence Whether the duration that the photoelectric sensor that breaks persistently sends the target inductive signal is greater than first threshold;In the photoelectric sensing In the case that the duration that device persistently sends the target inductive signal is greater than first threshold, it is determined where the photoelectric sensor Object space be in abnormality.
Optionally, there are described in the case where target object, determining in the inductive signal indicates the object space Photoelectric sensor persistently sends the duration of target inductive signal further include: indicates the object space memory in the inductive signal In the case where target object, the inductive signal is converted into significant level signal;The mesh is indicated in the inductive signal It marks in space there is no in the case where target object, the inductive signal is converted into inactive level signal;According to described effective Level signal determines that the photoelectric sensor persistently sends the duration of target inductive signal, wherein the target inductive signal is The inductive signal of significant level signal can be converted to.
Optionally, after judging that object space is in abnormality, the method also includes: it marks in the database The object space is in abnormality;Data and in the case where receiving inquiry instruction, according to databases storage Send feedback information, wherein the feedback information includes the information in the space in abnormality.
According to the another aspect of the application, a kind of detection system of abnormal behaviour is provided.The system includes: photoelectric sensing Device, wherein at least provided with a photoelectric sensor in each object space, the photoelectric sensor is for detecting the photoelectricity It whether there is target object in object space locating for sensor, and send inductive signal according to testing result;Data processor, It is connected with the photoelectric sensor, the inductive signal sent for receiving the photoelectric sensor, and believe according to the induction Number judge whether object space locating for the photoelectric sensor is in abnormality, and is judging that object space is in abnormal In the case where state, the warning information that object space is in abnormality is sent.
Optionally, the data processor further include: the first determination unit, for indicating the mesh in the inductive signal There are in the case where target object, determining that the photoelectric sensor persistently sends the duration of target inductive signal in mark space, In, the target inductive signal is to indicate that there are the inductive signals of target object in the object space;Judging unit, for sentencing Whether the duration that the photoelectric sensor that breaks persistently sends the target inductive signal is greater than first threshold;Second determination unit, In the case that duration for persistently sending the target inductive signal in the photoelectric sensor is greater than first threshold, it is determined that Object space where the photoelectric sensor is in abnormality.
Optionally, the system also includes: data collector, the data processor are obtained by the data collector The inductive signal that the photoelectric sensor is sent, wherein indicate that there are targets pair in the object space in the inductive signal As in the case where, the inductive signal is converted to significant level signal by the data collector, is indicated in the inductive signal There is no in the case where target object in the object space, the inductive signal is converted to invalid electricity by the data collector Ordinary mail number;Wherein, the system also includes data collector, the determination unit is for determining at the data Reason device persistently receives the duration of the significant level signal.
Optionally, the system also includes destination servers, communication connection are carried out with the data processor, for connecing It receives the data processor to send a warning message, and the warning information is stored in database profession, and receiving inquiry In the case where instruction, the information data according to databases storage sends feedback information, wherein the feedback information includes to be in The information in the space of abnormality.
Optionally, the system also includes: send processor, the data processor is by the transmission processor to institute It states destination server to send a warning message, wherein the transmission processor will send a warning message using Transmission Control Protocol and be sent to mesh It marks in server.
According to the another aspect of the application, a kind of storage medium is provided, the storage medium includes the program of storage, In, described program executes the detection method of abnormal behaviour described in above-mentioned any one.
According to the another aspect of the application, a kind of processor is provided, the processor is for running program, wherein institute State the detection system that abnormal behaviour described in above-mentioned any one is executed when program operation.
By the application, using following steps: obtaining the inductive signal that the photoelectric sensor being arranged in object space is sent; According to the inductive signal, judge whether object space is in abnormality;Judging that object space is in abnormality In the case of, then the warning information that object space is in abnormality is sent, solves unusual checking cost in the related technology It is higher, convenience is poor, and can not apply the private higher place the technical issues of.And then reach even in secret Property higher place, still can high convenient high safety carry out detection processing technical effect.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application Example and its explanation are applied for explaining the application, is not constituted an undue limitation on the present application.In the accompanying drawings:
Fig. 1 is the flow chart according to the detection method of abnormal behaviour provided by the embodiments of the present application;
Fig. 2 is according to a kind of schematic diagram of the detection method of optional abnormal behaviour provided by the embodiments of the present application;
Fig. 3 is the schematic diagram according to the detection system of abnormal behaviour provided by the embodiments of the present application;
Fig. 4 is according to a kind of schematic diagram of the detection system of optional abnormal behaviour provided by the embodiments of the present application.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
According to an embodiment of the present application, a kind of detection method of abnormal behaviour is provided.
Fig. 1 is the flow chart according to the detection method of the abnormal behaviour of the embodiment of the present application.As shown in Figure 1, this method packet Include following steps:
Step S102 obtains the inductive signal that the photoelectric sensor being arranged in object space is sent.
It should be understood that the photoelectric sensor provided in the embodiment of the present application be whether be blocked by detection light/ Reflection, and then determine that whether there is or not the devices of detected material.
In an optional example, above-mentioned object space can be public private space, for example, public restroom, public affairs Between changing one's clothes altogether etc..Further, above-mentioned photoelectric sensor can be to be set to public health compartment/public compartment of changing one's clothes On wall or at ceiling, (used for detecting in public health compartment/public compartment of changing one's clothes with the presence or absence of target object Family).
It is worth emphasizing that: the detection method of abnormal behaviour provided by the embodiments of the present application passes through, and photoelectric sensor uses Low power optical beam whether there is target object to detect in object space, reached under the premise of guaranteeing privacy of user, passed through Harmless detection means, the interior technical effect that whether there is target object of efficient detection object space.
Step S104 judges whether object space is in abnormality according to inductive signal.
Optionally, in the detection method of abnormal behaviour provided by the embodiments of the present application, target is judged according to inductive signal Whether space is in abnormality can be achieved by following steps: step A1, be indicated in object space in inductive signal There are in the case where target object, determine that photoelectric sensor persistently sends the duration of target inductive signal, wherein target induction letter Number for indicate object space in there are the inductive signals of target object;Step A2 judges that photoelectric sensor persistently sends target sense Whether the duration of induction signal is greater than first threshold;Step A3 grows up when photoelectric sensor persistently sends target inductive signal In the case where first threshold, it is determined that the object space where photoelectric sensor is in abnormality.
It should be understood that the photoelectric sensor provided in the embodiment of the present application can be sent simply according to testing result Logic level signal (inductive signal), wherein there are in the case where target object in logic level signal indicates object space, Logic level signal is high level signal, in the case where target object is not present in logic level signal indicates object space, Logic level signal is low level signal.
At this point, sending target induction letter because detecting in object space there are target object judging photoelectric sensor In the case where number, determine that photoelectric sensor persistently sends the duration of target inductive signal, and then there are targets in object space In the case that the duration of object is greater than first threshold, judge that object space is in abnormality.
For example: first threshold can be 15 minutes, at this point, if the toileting person of public health compartment (object space) When the time that the compartment is used continuously in member is more than 15 minutes, then it is abnormal to illustrate that the compartment uses.
Optionally, in the detection method of abnormal behaviour provided by the embodiments of the present application, target empty is indicated in inductive signal In there are in the case where target object, determine that photoelectric sensor persistently sends the duration of target inductive signal can be by following Step is realized: step A11, and there are in the case where target object in inductive signal indicates object space, inductive signal is converted For significant level signal;Step A12 will incude in the case where target object is not present in inductive signal indicates object space Signal is converted to inactive level signal;Step A13 determines that photoelectric sensor persistently sends target sense according to significant level signal The duration of induction signal, wherein target inductive signal is the inductive signal that can be converted to significant level signal.
It should be noted that if the voltage value for the inductive signal (logic level signal) that photoelectric sensor is sent is excessively high, lead The case where causing the processor for executing " according to inductive signal, judging whether object space is in abnormality " to be unable to operate stably Under, it will can first indicate that there are the inductive signals of target object to be converted to significant level signal in object space, and will indicate Inductive signal in object space there is no target object is converted to inactive level signal;And then it is determined according to significant level signal Photoelectric sensor persistently sends the duration of target inductive signal.
For example: level conversion is carried out to the inductive signal that photoelectric sensor is sent using TLP521-4XSM optocoupler, it will It indicates that there are the 12V level of target object for object space, is converted to the significant level signal for the 3.3V that processor is capable of handling.
Step S106 then sends object space and is in abnormal in the case where judging that object space is in abnormality The warning information of state.
For example: if discovery object space is in abnormality, alarm prompt is sent to staff, to work Personnel can know that object space is in abnormality in time, and then perform corresponding processing.
Optionally, in the detection method of abnormal behaviour provided by the embodiments of the present application, judging that object space is in After abnormality, method further include: step S108 marks object space to be in abnormality in the database;Step S110, In the case where receiving inquiry instruction, the data according to databases storage send feedback information, wherein feedback information includes The information in the space in abnormality.
That is, judging object space in different in the detection method of abnormal behaviour provided by the embodiments of the present application After normal state, not only sends object space and be in the warning information of abnormality, while can also mark this in the database Object space is in abnormality, and then in the case where user sends inquiry instruction, can remember according to the data in database Record sends feedback information to user.
Wherein, the content in above-mentioned feedback information can flexibly be changed according to inquiry instruction, for example, working as inquiry instruction are as follows: In the case that whether inquiry room a is in abnormality, feedback information is then fed back according to the concrete condition of room a instantly; Work as inquiry instruction are as follows: in the case where room of the inquiry in abnormality, feedback information then believes the room in abnormality Breath is fed back.
In another optional example, in the master of execution " marking object space to be in abnormality in database " step In the case that body is server, server needs to receive the warning information that processor is sent by internet, so that determination is in The specific space of abnormality.At this point, user can then access server, and then query warning information by client, or, into And successively determine whether each object space is in abnormality.
It should be understood that above-mentioned server is in abnormal shape for storing warning information, and according to warning information label The object space of state.And client can be the operation of the forms such as webpage, APP.
It should be understood that warning information can be only sent in server, Ke Yitong in above-mentioned optional example When be sent to server and warning information reception device, wherein the warning information reception device can be display, sound equipment, use Mobile terminal entrained by family etc..
Finally, the detection method for abnormal behaviour provided by the embodiments of the present application is illustrated:
On the software of the detection method of application abnormal behaviour provided by the embodiments of the present application, as shown in Fig. 2, specific execute Following steps are to realize alarm purpose:
Step 1: reading photoelectric sensor S1-Sn in the level Li of current time t0.
Wherein, n photoelectric sensor is respectively arranged in n object space, and n photoelectric sensor is all connected at data Manage device.
Wherein, the acquisition time of Li is set as Ti, and unit is millisecond, and when the inductive signal that photoelectric sensor is sent is In the case where high level signal, then it is assumed that there are target object in object space locating for the photoelectric sensor, at this point, Li=1, Otherwise Li=0.
Step 2: in current time t1, for i=1,2 ..., n, if Li=1, and Ti-t1 > 900000 millisecond, then Ai =1, otherwise Ai=0;
Wherein, it is equal to 15 minutes for above-mentioned 900000 milliseconds, and above-mentioned " Li=1, and Ti-t1 > 900000 millisecond, then Ai= 1, otherwise Ai=0 " is indicated are as follows: in the case where differing 15 minutes with the t1 moment at the Ti moment, if Ti moment corresponding Li=1, Ai=1 is set, if Ti moment corresponding Li ≠ 1, sets Ai=0.
Step 3: the level LLi in current time t2 for reading optoelectronic switch S1~Sn enables Li=if LLi ≠ Li LLi, Ti=t;
Wherein, above-mentioned " if LLi ≠ Li, to enable Li=LLi, Ti=t " indicate are as follows: real-time judge optoelectronic switch S1~Sn The level LLi at current time it is whether identical as the level Li at t1 moment, if not identical, the t1 moment is set as current Moment, and t1 moment corresponding level is set as to the level LLi at current time.
That is, the different feelings of level Li of the level LLi and t1 moment at current time in optoelectronic switch S1~Sn Under condition, the corresponding initial level Li of initial time t1 and initial time t1 is reset.
Step 4: for i=1,2 ..., n, if Ai=1, (squatting to the corresponding compartment of server push optoelectronic switch Si Position) warning information.Go to step 2.
That is, occurring the case where Ai=1 in every case, then the announcement of the corresponding compartment (squatting position) of optoelectronic switch Si is sent to server Alert information.
The detection method of abnormal behaviour provided by the embodiments of the present application, by obtaining the photoelectric sensing being arranged in object space The inductive signal that device is sent;According to inductive signal, judge whether object space is in abnormality;Judging at object space In the case where abnormality, then the warning information that object space is in abnormality is sent, solved abnormal in the related technology Behavioral value higher cost, convenience are poor, and can not apply the private higher place the technical issues of.And then reach Even in the higher place of privacy, still can high convenient high safety carry out detection processing technical effect.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
The embodiment of the present application also provides a kind of detection systems of abnormal behaviour, it should be noted that the embodiment of the present application The detection system of abnormal behaviour can be used for executing the detection system side that abnormal behaviour is used for provided by the embodiment of the present application Method.The detection system of abnormal behaviour provided by the embodiments of the present application is introduced below.
Fig. 3 is the schematic diagram according to the detection system of the abnormal behaviour of the embodiment of the present application.As shown in figure 3, the system packet It includes: photoelectric sensor 31, data processor 33.
Photoelectric sensor 31, wherein at least provided with a photoelectric sensor in each object space, photoelectric sensor is used It whether there is target object in the object space locating for detection photoelectric sensor, and send inductive signal according to testing result.
In an optional example, photoelectric sensor only generates simple logic level signal, and then reaches reduction pair The performance requirement of the processing chip of data processor, to reduce the overall cost of the detection system of abnormal behaviour.
In an optional example, photoelectric sensor uses scattered reflection type optoelectronic switch, wherein the scattered reflection type photoelectricity The detecting distance of switch is 1 meter, and signal type is NPN open type, signal level 12V.
Data processor 33, is connected with photoelectric sensor, the inductive signal sent for receiving photoelectric sensor, and according to Judge whether object space locating for photoelectric sensor is in abnormality according to inductive signal, and is judging that object space is in In the case where abnormality, the warning information that object space is in abnormality is sent.
Specifically, in the detection system of abnormal behaviour provided by the embodiments of the present application, data processor can by with Lower module, which is realized, " to be judged whether object space locating for photoelectric sensor is in abnormality according to inductive signal, and is judging In the case that object space is in abnormality out, sends object space and be in the warning information of abnormality " technology contents, That is: the first determination unit, for, there are in the case where target object, determining photoelectric sensing in inductive signal indicates object space Device persistently sends the duration of target inductive signal, wherein target inductive signal is to indicate that there are target objects in object space Inductive signal;Whether judging unit is greater than the first threshold for judging that photoelectric sensor persistently sends the duration of target inductive signal Value;The case where second determination unit, the duration for persistently sending target inductive signal in photoelectric sensor is greater than first threshold Under, it is determined that the object space where photoelectric sensor is in abnormality.
In an optional example, data processor uses STM32F407 single-chip microcontroller, at this point, each data processor The upper limit of the number of the photoelectric sensor of connection preferably 16.
Optionally, in the detection system of abnormal behaviour provided by the embodiments of the present application, the system further include: data acquisition Device, data processor obtain the inductive signal that photoelectric sensor is sent by data collector, wherein indicate mesh in inductive signal It marks in space there are in the case where target object, data collector converts induction signals into significant level signal, believes in induction Number indicate that data collector converts induction signals into inactive level letter there is no in the case where target object in object space Number;Wherein, in the case where system further includes data collector, determination unit is for determining that data processor has persistently received Imitate the duration of level signal.
It should be noted that if the voltage value for the inductive signal (logic level signal) that photoelectric sensor is sent is excessively high, lead In the case where causing data processor to be unable to operate stably, it can will first indicate that there are the inductive signals of target object in object space Significant level signal is converted to, and will indicate that the inductive signal in object space there is no target object is converted to inactive level Signal;And then determine that photoelectric sensor persistently sends the duration of target inductive signal according to significant level signal.
In an optional example: the sense that data collector uses TLP521-4XSM optocoupler to send photoelectric sensor Induction signal carries out level conversion, will indicate that object space there are the 12V level of target object, is converted to what processor was capable of handling The significant level signal of 3.3V, wherein low level information is inactive level signal, i.e. target object is not present in expression object space Inductive signal.
Optionally, as shown in figure 4, in the detection system of abnormal behaviour provided by the embodiments of the present application, which is also wrapped Include: destination server carries out communication connection with data processor, and processor sends a warning message for receiving data, and will accuse Alert information is stored in database profession, and the information data in the case where receiving inquiry instruction, according to databases storage Send feedback information, wherein feedback information includes the information in the space in abnormality.
Optionally, in the detection system of abnormal behaviour provided by the embodiments of the present application, the system further include: transmission processing Device, data processor are sent a warning message by sending processor to destination server, wherein are sent processor and assisted using TCP View, which will send a warning message, to be sent in destination server.
In an optional example: sending processor using W5500 chip as core chips, wherein W5500 chip Ethernet interface and ICP/IP protocol stack are provided to send processor, so that warning information is sent to target clothes using Transmission Control Protocol It is engaged in device.
Optionally, in the detection system of abnormal behaviour provided by the embodiments of the present application, warning information includes at least following Content: the type of the code identification of data processor, the code identification of object space, object space.
For example: warning information can select json format, and concrete form is as follows:
{
id:1,
type:2,
location:3,
}
Wherein, id is the code identification of data processor, and type is the type of object space, and such as 0 is men's lavatory, and 1 is women's lavatory, 2 be accessible lavatory (disabled person toilet), and location is the code identification of object space.
The detection system of abnormal behaviour provided by the embodiments of the present application, passes through photoelectric sensor, wherein each object space It is interior at least provided with a photoelectric sensor, whether photoelectric sensor is deposited for detecting in object space locating for photoelectric sensor Inductive signal is sent in target object, and according to testing result;Data processor is connected with photoelectric sensor, for receiving The inductive signal that photoelectric sensor is sent, and judge whether object space locating for photoelectric sensor is in different according to inductive signal Normal state, and in the case where judging that object space is in abnormality, send the alarm that object space is in abnormality Information, solves in the related technology that unusual checking higher cost, convenience are poor, and can not apply higher in privacy The technical issues of place.And then reached even in the higher place of privacy, still can high convenient high safety examine Survey the technical effect of processing.
The detection system of abnormal behaviour includes processor and memory, and above-mentioned photoelectric sensor and data processor etc. are made In memory for program unit storage, above procedure unit stored in memory is executed by processor to realize accordingly Function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, realize by adjusting kernel parameter even in the higher place of privacy, still can high convenient high safety into The technical purpose of row detection processing.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor The detection method of existing abnormal behaviour.
The embodiment of the invention provides a kind of processor, processor is for running program, wherein program executes different when running The detection method of Chang Hangwei.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor perform the steps of the photoelectric transfer for obtaining and being arranged in object space when executing program The inductive signal that sensor is sent;According to inductive signal, judge whether object space is in abnormality;Judging object space In the case where abnormality, then the warning information that object space is in abnormality is sent.
Optionally, according to inductive signal, judge whether object space is in abnormality further include: indicate in inductive signal There are in the case where target object, determine that photoelectric sensor persistently sends the duration of target inductive signal in object space, wherein Target inductive signal is to indicate that there are the inductive signals of target object in object space;Judge that photoelectric sensor persistently sends target Whether the duration of inductive signal is greater than first threshold;It is greater than first in the duration that photoelectric sensor persistently sends target inductive signal In the case where threshold value, it is determined that the object space where photoelectric sensor is in abnormality.
Optionally, determine that photoelectric sensor is held there are in the case where target object in inductive signal indicates object space Supervention send the duration of target inductive signal further include: there are in the case where target object in inductive signal indicates object space, Convert induction signals into significant level signal;In the case where target object is not present in inductive signal indicates object space, Convert induction signals into inactive level signal;According to significant level signal, determine that photoelectric sensor persistently sends target induction The duration of signal, wherein target inductive signal is the inductive signal that can be converted to significant level signal.
Optionally, after judging that object space is in abnormality, method further include: mark target in the database Space is in abnormality;And in the case where receiving inquiry instruction, the data according to databases storage send feedback Information, wherein feedback information includes the information in the space in abnormality.Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step: the inductive signal that the photoelectric sensor being arranged in object space is sent is obtained;According to sense Induction signal, judges whether object space is in abnormality;In the case where judging that object space is in abnormality, then send out The warning information for sending object space to be in abnormality.
Optionally, according to inductive signal, judge whether object space is in abnormality further include: indicate in inductive signal There are in the case where target object, determine that photoelectric sensor persistently sends the duration of target inductive signal in object space, wherein Target inductive signal is to indicate that there are the inductive signals of target object in object space;Judge that photoelectric sensor persistently sends target Whether the duration of inductive signal is greater than first threshold;It is greater than first in the duration that photoelectric sensor persistently sends target inductive signal In the case where threshold value, it is determined that the object space where photoelectric sensor is in abnormality.
Optionally, determine that photoelectric sensor is held there are in the case where target object in inductive signal indicates object space Supervention send the duration of target inductive signal further include: there are in the case where target object in inductive signal indicates object space, Convert induction signals into significant level signal;In the case where target object is not present in inductive signal indicates object space, Convert induction signals into inactive level signal;According to significant level signal, determine that photoelectric sensor persistently sends target induction The duration of signal, wherein target inductive signal is the inductive signal that can be converted to significant level signal.
Optionally, after judging that object space is in abnormality, method further include: mark target in the database Space is in abnormality;And in the case where receiving inquiry instruction, the data according to databases storage send feedback Information, wherein feedback information includes the information in the space in abnormality.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (11)

1. a kind of detection method of abnormal behaviour, which is characterized in that the described method includes:
Obtain the inductive signal that the photoelectric sensor being arranged in object space is sent;
According to the inductive signal, judge whether object space is in abnormality;
In the case where judging that object space is in abnormality, then the alarm letter that object space is in abnormality is sent Breath.
2. the method according to claim 1, wherein judging whether object space is located according to the inductive signal In abnormality further include:
There are in the case where target object, determine that the photoelectric sensor is held in the inductive signal indicates the object space Supervention send the duration of target inductive signal, wherein the target inductive signal is to indicate that there are targets pair in the object space The inductive signal of elephant;
Judge that the photoelectric sensor persistently sends the duration of the target inductive signal and whether is greater than first threshold;
In the case where the duration that the photoelectric sensor persistently sends the target inductive signal is greater than first threshold, it is determined that Object space where the photoelectric sensor is in abnormality.
3. according to the method described in claim 2, it is characterized in that, indicating exist in the object space in the inductive signal In the case where target object, determine that the photoelectric sensor persistently sends the duration of target inductive signal further include:
There are in the case where target object in the inductive signal indicates the object space, the inductive signal is converted to Significant level signal;
In the case where target object is not present in the inductive signal indicates the object space, the inductive signal is converted For inactive level signal;
According to the significant level signal, determine that the photoelectric sensor persistently sends the duration of target inductive signal, wherein institute Stating target inductive signal is the inductive signal that can be converted to significant level signal.
4. the method according to claim 1, wherein after judging that object space is in abnormality, institute State method further include:
The object space is marked to be in abnormality in the database;And
In the case where receiving inquiry instruction, the data according to databases storage send feedback information, wherein the feedback Information includes the information in the space in abnormality.
5. a kind of detection system of abnormal behaviour, which is characterized in that the system comprises:
Photoelectric sensor, wherein at least provided with a photoelectric sensor in each object space, the photoelectric sensor is used for It detects with the presence or absence of target object in object space locating for the photoelectric sensor, and sends induction letter according to testing result Number;
Data processor is connected with the photoelectric sensor, the inductive signal sent for receiving the photoelectric sensor, and Judge whether object space locating for the photoelectric sensor is in abnormality according to the inductive signal, and is judging mesh In the case that mark space is in abnormality, the warning information that object space is in abnormality is sent.
6. system according to claim 5, which is characterized in that the data processor further include:
First determination unit, in the inductive signal indicates the object space there are in the case where target object, really The fixed photoelectric sensor persistently sends the duration of target inductive signal, wherein the target inductive signal is to indicate the mesh There are the inductive signals of target object in mark space;
Whether judging unit is greater than first for judging that the photoelectric sensor persistently sends the duration of the target inductive signal Threshold value;
Second determination unit, the duration for persistently sending the target inductive signal in the photoelectric sensor are greater than the first threshold In the case where value, it is determined that the object space where the photoelectric sensor is in abnormality.
7. system according to claim 6, which is characterized in that the system also includes:
Data collector, the data processor, which obtains the induction that the photoelectric sensor is sent by the data collector, to be believed Number, wherein there are in the case where target object in the inductive signal indicates the object space, the data collector will The inductive signal is converted to significant level signal, indicates that target object is not present in the object space in the inductive signal In the case where, the inductive signal is converted to inactive level signal by the data collector;
Wherein, the system also includes data collector, the determination unit is for determining the data processing Device persistently receives the duration of the significant level signal.
8. system according to claim 5, which is characterized in that the system also includes:
Destination server carries out communication connection with the data processor, sends alarm letter for receiving the data processor Breath, and the warning information is stored in database profession, and in the case where receiving inquiry instruction, according to databases The information data of storage sends feedback information, wherein the feedback information includes the information in the space in abnormality.
9. system according to claim 8, which is characterized in that the system also includes:
Processor is sent, the data processor is sent a warning message by the transmission processor to the destination server, Wherein, the transmission processor will be sent a warning message using Transmission Control Protocol and will be sent in destination server.
10. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Benefit require any one of 1 to 4 described in abnormal behaviour detection method.
11. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 4 described in abnormal behaviour detection method.
CN201811446214.6A 2018-11-29 2018-11-29 The detection method and system of abnormal behaviour, storage medium and processor Pending CN109817345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811446214.6A CN109817345A (en) 2018-11-29 2018-11-29 The detection method and system of abnormal behaviour, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811446214.6A CN109817345A (en) 2018-11-29 2018-11-29 The detection method and system of abnormal behaviour, storage medium and processor

Publications (1)

Publication Number Publication Date
CN109817345A true CN109817345A (en) 2019-05-28

Family

ID=66601588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811446214.6A Pending CN109817345A (en) 2018-11-29 2018-11-29 The detection method and system of abnormal behaviour, storage medium and processor

Country Status (1)

Country Link
CN (1) CN109817345A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209106A (en) * 2011-05-10 2011-10-05 苏州两江科技有限公司 Housebound elderly monitoring system based on wireless sensing network
CN104484980A (en) * 2014-12-06 2015-04-01 西北工业大学 Indoor safety monitoring terminal and system based on infrared geminate transistor sensor
CN206863831U (en) * 2017-04-11 2018-01-09 厦门丝柏科技有限公司 A kind of gate control system based on internet
CN108242127A (en) * 2016-12-26 2018-07-03 中国移动通信有限公司研究院 A kind of safety monitoring method, apparatus and system
CN207833665U (en) * 2018-01-25 2018-09-07 浙江联建工程设计有限公司 A kind of intelligence home for destitute

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209106A (en) * 2011-05-10 2011-10-05 苏州两江科技有限公司 Housebound elderly monitoring system based on wireless sensing network
CN104484980A (en) * 2014-12-06 2015-04-01 西北工业大学 Indoor safety monitoring terminal and system based on infrared geminate transistor sensor
CN108242127A (en) * 2016-12-26 2018-07-03 中国移动通信有限公司研究院 A kind of safety monitoring method, apparatus and system
CN206863831U (en) * 2017-04-11 2018-01-09 厦门丝柏科技有限公司 A kind of gate control system based on internet
CN207833665U (en) * 2018-01-25 2018-09-07 浙江联建工程设计有限公司 A kind of intelligence home for destitute

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
覃朝东: "《嵌入式系统设计从入门到精通 基于S3C2410和Linux》", 31 March 2009 *

Similar Documents

Publication Publication Date Title
CN107566498A (en) A kind of method for monitoring numerical control machine and system based on Internet of Things
CN206250848U (en) Power distribution network monitoring running state device
CN106600177B (en) Method for identifying distribution information and spatial position
CN102539911A (en) Intelligent electric energy metering system under internet-of-things architecture
CN107454172A (en) Environmental monitoring system based on Internet of Things
CN204595942U (en) Patrol device
CN108764437A (en) Electronic tag assembly and the showing stand that electronic tag assembly can be accommodated
CN107733712A (en) The monitoring method and device of Service Source in cloud computing system
CN207408782U (en) A kind of state monitoring device of Internet of Things SIM card
CN108053627A (en) A kind of fire alarm method, device and equipment
CN108762212A (en) Substation equipment intelligent monitor system based on Internet of Things
CN103258027A (en) Context awareness service platform based on intelligent terminal
CN102682318B (en) A kind of RFID sensing tag system for monitoring storing unit state
CN108770079A (en) A kind of water environment monitoring system based on underwater robot
CN106650213A (en) Remote medical system
CN110223093A (en) A kind of method and apparatus of commodity promotion
CN110192398A (en) The transmission of sensing data
CN115134682A (en) Energy monitoring data acquisition method and system based on Internet of things
CN107666398B (en) Group notification method, system and storage medium based on user behavior
CN106443130B (en) A kind of voltage monitoring system
CN109817345A (en) The detection method and system of abnormal behaviour, storage medium and processor
CN109064038A (en) A kind of food safety trace back management system
CN107643102A (en) A kind of environmental improvement monitoring and managing method and device based on Internet of Things
CN208589047U (en) The showing stand of electronic tag assembly, the showing stand that electronic tag assembly can be accommodated and electronic label component
CN106292612B (en) A kind of ladle baking facility on-line fault diagnosis system

Legal Events

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

Application publication date: 20190528