CN108494856A - A kind of management method and system of space service condition - Google Patents

A kind of management method and system of space service condition Download PDF

Info

Publication number
CN108494856A
CN108494856A CN201810251976.4A CN201810251976A CN108494856A CN 108494856 A CN108494856 A CN 108494856A CN 201810251976 A CN201810251976 A CN 201810251976A CN 108494856 A CN108494856 A CN 108494856A
Authority
CN
China
Prior art keywords
sensor
signal
processor
space
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810251976.4A
Other languages
Chinese (zh)
Other versions
CN108494856B (en
Inventor
任传贇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yun Shen Information Technology (shanghai) Co Ltd
Original Assignee
Yun Shen Information Technology (shanghai) 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 Yun Shen Information Technology (shanghai) Co Ltd filed Critical Yun Shen Information Technology (shanghai) Co Ltd
Priority to CN201810251976.4A priority Critical patent/CN108494856B/en
Publication of CN108494856A publication Critical patent/CN108494856A/en
Application granted granted Critical
Publication of CN108494856B publication Critical patent/CN108494856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V9/00Prospecting or detecting by methods not provided for in groups G01V1/00 - G01V8/00
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

The present invention provides a kind of management method and system of space service condition, method includes:S1 first sensors are detected whether in a first direction with the presence of human body, and send first state signal to processor;The status signal includes the first seizure condition signal, the first release conditions signal;Processor described in S2 identifies the currently used state in the space according to the first state signal;The currently used state includes seizure condition and release conditions;Processor described in S3 uploads the currently used state in the space.The present invention can accurately detect the service condition of current spatial, and report server, user that can inquire the service condition in current a certain space by internet service condition.

Description

A kind of management method and system of space service condition
Technical field
The present invention relates to space exploration field, the espespecially a kind of management method and system of space service condition.
Background technology
With the popularization of technology of Internet of things, technology of Internet of things, room for promotion utilization rate how to be used to improve user to space Perception, management and optimization, have urgent need.
The seat of current many public places, which uses, has many unreasonable places, and libraries of the universities, room for individual study often go out Existing " seat is waste " phenomenon, after students often reach library, room for individual study, but learns that position has occupied, and reduces student's Learning initiative.The relaxing area being arranged in many business circles is same, and user is difficult to prejudge public relaxing area to be No to have vacant rest seat, for many large-scale dining rooms, when having dinner, user is difficult to prejudge whether dining room has been sat It is full, when users being waited to reach dining room, just find, without seat, bad experience to be brought to user.
Therefore, the present invention to solve the above-mentioned problems, provides a kind of management method and system of space service condition, will End, pipe, cloud integration are realized in detector and high in the clouds interconnection.
Invention content
The object of the present invention is to provide a kind of management methods and system of space service condition, can accurately detect current sky Between service condition, and service condition is reported server by timing, and user can inquire current a certain space by internet Service condition.
Technical solution provided by the invention is as follows:
The present invention provides a kind of management methods of space service condition, including step:S1 first sensors are in first party It detects whether upwards with the presence of human body, and first state signal is sent to processor;The status signal includes the first occupancy shape State signal, the first release conditions signal;Processor described in S2 identifies the current of the space according to the first state signal Use state;The currently used state includes seizure condition and release conditions;Processor described in S3 uploads working as the space Preceding use state.
Preferably, include step before step S1:S01 second sensors are detected in a second direction with the presence of human body When, send the second seizure condition signal to the processor;The first direction and the second direction are incorgruous;Described in S02 After reason device receives the second seizure condition signal, the first sensor is opened.
Preferably, include step before step S02:Processor described in S021 receives the second seizure condition signal, After the first preset time meter is full, the first sensor is opened.
Preferably, step S1 specifically includes step:First sensor described in S11 detects first in the second preset time In the presence of there is human body in direction, then the first seizure condition signal is sent to the processor;First sensor described in S12 is In the presence of first direction is not detected in two preset times having human body, then the first release conditions letter is sent to the processor Number;Step S2 specifically includes step:If processor described in S21 receives the first seizure condition signal, identify described The currently used state in space is seizure condition, and closes the second sensor, return to step S1;S22 is at the space When idle state, if the processor receives the first release conditions signal, the first sensor is closed, is returned Step S01.
Preferably, step S1 specifically includes step:First sensor described in S13 is according to default detection cycle, in first party It whether is periodically detected upwards with the presence of human body, and the first state signal is sent to the processor.
Preferably, step S2 further includes specifically step:S23 is when the space is in seizure condition, if the processor The first release conditions signal is received, then opens the second sensor;Second sensor described in S24 is when third is preset In, it whether detects in second direction with the presence of human body;If the S25 second sensors have detected in this second direction Human body exists, and the processor closes the second sensor, and return to step S1;Otherwise, the second sensor is to institute by S26 It states processor and sends the second release conditions signal;Processor described in S27 identifies the space according to second release signal Currently used state be release conditions.
The present invention also provides a kind of management system of space service condition, including first sensor, processor, described One sensor is electrically connected with processor;First sensor detects whether in a first direction with the presence of human body, and to the processing Device sends first state signal;The status signal includes the first seizure condition signal, the first release conditions signal;The processing Device includes:State recognition module, for according to the first state signal, identifying the currently used state in the space;Institute It includes seizure condition and release conditions to state currently used state;Information uploading module is electrically connected with the state recognition module, is used In the currently used state for uploading the space.
Preferably, further include second sensor:In the presence of the second sensor has detected human body in a second direction, The second seizure condition signal is sent to the processor;The first direction and the second direction are incorgruous;The processor is also Including:Control module opens the first sensor after receiving the second seizure condition signal.
Preferably, the control module is additionally operable to receive the second seizure condition signal, in the first preset time meter Man Hou opens the first sensor.
Preferably, in the presence of the first sensor detects that first direction has human body in the second preset time, then to The processor sends the first seizure condition signal;The first sensor is not detected first in the second preset time In the presence of there is human body in direction, then the first release conditions signal is sent to the processor;The state recognition module, is used for If receiving the first seizure condition signal, identify that the currently used state in the space is seizure condition;The control Molding block is additionally operable to when the space is in idle condition, if receiving the first seizure condition signal, closes described Two sensors;If receiving the first release conditions signal, the first sensor is closed.
Preferably, the first sensor is according to default detection cycle, be periodically detected in a first direction whether someone Body exists, and sends the first state signal to the processor.
Preferably, the control module is additionally operable to when the space is in seizure condition, discharges shape according to described first State signal opens the second sensor;Whether in third preset time, detect has in second direction the second sensor Human body exists;The control module is closed if being detected in this second direction with the presence of human body for the second sensor Close the second sensor;The second sensor, if being not detected in this second direction for the second sensor With the presence of human body, then the second release conditions signal is sent to the processor;The identification module, for being released according to described second Discharge signal identifies that the currently used state in the space is release conditions.
The management method and system of a kind of space service condition provided through the invention, can bring following at least one Advantageous effect:
1, it in the present invention, can accurately detect whether current spatial uses, and the use state of current spatial is uploaded To server, realizes test side, high in the clouds and synchronize, the use that user passes through Internet of Things login service device, that is, a certain space of can be known Situation optimizes the use management in space.
2, by two sensors, the behaviour in service in space is detected from two different directions, it can be more accurate Ground detects the use state of current spatial.Meanwhile increase second sensor can do a detection anticipation, when in second direction In the presence of having detected human body, it is then turned on the detection that first sensor carries out first direction, while improving accuracy in detection, Reduce power consumption.
3, in the case where two sensors detect jointly, if when detecting that space is occupied, processor can close Second sensor is only opened first sensor and is detected, further reduced system power dissipation;In addition to this, first sensor When detecting, it can also periodically be detected, further reduced system power dissipation.
4, it detects that processor can open second sensor when not having human body on first direction in first sensor, detects Whether in second direction with the presence of human body the precision of detection is improved by detecting twice.Meanwhile second sensor is not Always all in open state, only first sensor detect there is no human body on first direction when, can just open, such energy Enough further decrease system power dissipation.
Description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, to a kind of space service condition Above-mentioned characteristic, technical characteristic, advantage and its realization method of management method and system are further described.
Fig. 1 is a kind of flow chart of one embodiment of the management method of space service condition of the present invention;
Fig. 2 is a kind of flow chart of another embodiment of the management method of space service condition of the present invention;
Fig. 3 is a kind of flow chart of another embodiment of the management method of space service condition of the present invention;
Fig. 4 is a kind of structural schematic diagram of one embodiment of the management system of space service condition of the present invention;
Fig. 5 is a kind of structural schematic diagram of another embodiment of the management system of space service condition of the present invention;
Fig. 6 is the circuit diagram of MCU in a kind of one embodiment of the management system of space service condition of the present invention;
Fig. 7 is the circuit of information uploading module in a kind of one embodiment of the management system of space service condition of the present invention Figure;
Fig. 8 is the circuit of power-switching circuit in a kind of one embodiment of the management system of space service condition of the present invention Figure.
Drawing reference numeral explanation:
1- first sensors, 2- second sensors, 3- processors, 31- state recognitions module, 32- information uploading module, 33- control modules.
Specific implementation mode
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, control is illustrated below The specific implementation mode of the present invention.It should be evident that drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, so that simplified form is easy to understand, there is identical structure or function in some figures Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated " only this ", can also indicate the situation of " more than one ".
As shown in Figure 1, the present invention provides a kind of one embodiment of the management method of space service condition, including:
S1 first sensors are detected whether in a first direction with the presence of human body, and send first state to the processor Signal;The status signal includes the first seizure condition signal, the first release conditions signal;
Processor described in S2 identifies the currently used state in the space according to the first state signal;It is described to work as Preceding use state includes seizure condition and release conditions;
Processor described in S3 uploads the currently used state in the space.
Specifically, the present embodiment can specifically be used in office's seat management, library seats management, dining room seat tubes Reason etc. scene.Below each seat, a first sensor, use state of the detection when front seats can be installed.First Sensor can be infrared sensor, and point active and passive type, passive sensor includes pyroelectric infrared sensor, actively Formula infrared sensor includes infrared temperature sensor;
In the present embodiment, the first direction is vertical direction, in the case where power consumption requirements are not particularly harsh, as long as The first sensor of vertical direction is opened, whether is detected on seat vertical direction with the presence of human body, if existing without human body, is sent out The signal gone out keeps low level state, the present embodiment that this signal is named as the first release signal;If having detected human body shifting It is dynamic, then high level signal is will produce, this high level signal is named as the first seizure condition signal by the present embodiment;Described first Seizure condition signal, the first release conditions signal are referred to as first state signal.
The first sensor is electrically connected with processor, and processor can receive the first state of first sensor transmission Signal, and go out according to first state signal identification the currently used state at seat, and by current use state and/or the first shape State signal is uploaded onto the server or high in the clouds, can show that the service condition being currently used as, user pass through on server or high in the clouds Internet login service device or high in the clouds, you can know the service condition being currently used as.
The present invention also provides a kind of one embodiment of the management method of space service condition, including:
For first sensor described in S13 whether according to default detection cycle, be periodically detected has human body to deposit in a first direction , and send the first state signal to the processor.
Processor described in S2 identifies the currently used state in the space according to the first state signal;It is described to work as Preceding use state includes seizure condition and release conditions;
Processor described in S3 uploads the currently used state in the space.
Specifically, in the present embodiment, first sensor does not have to carry out lasting detection, it is only necessary to according to default detection week Phase, it is periodically detected whether first direction with the presence of human body is greatly reduced work(while ensureing accuracy in detection Consumption.
As shown in Fig. 2, the present invention also provides a kind of one embodiment of the management method of space service condition, including:
In the presence of S01 second sensors have detected human body in a second direction, sends second to the processor and occupy Status signal;The first direction and the second direction are incorgruous;
Processor described in S02 identifies the currently used state in the space according to the first state signal.
Preferably, step S02 specifically includes step:Processor described in S021 receives the second seizure condition signal Afterwards, after the first preset time meter is full, the first sensor is opened.
For first sensor described in S13 whether according to default detection cycle, be periodically detected has human body to deposit in a first direction , and send the first state signal to the processor;
Processor described in S2 identifies the currently used state in the space according to the first state signal;It is described to work as Preceding use state includes seizure condition and release conditions;
Processor described in S3 uploads the currently used state in the space.
In the present embodiment, since the power consumption of infrared temperature sensor is much higher relative to pyroelectric infrared sensor, because This can be released before first sensor work by a heat if first sensor can use infrared temperature sensor Electric infrared sensor (second sensor i.e. in the present embodiment) does an anticipation, achievees the purpose that reduce power consumption.
First direction described in the present embodiment is vertical direction, and the second direction is horizontal direction.As step S01, Described in S021, second sensor does a pre- deterministic process first, and whether detection level direction is with the presence of human body, if there is human body In the presence of processor opens the detection in first sensor progress vertical direction after the first preset time meter is full.Relative to upper one It is intermediate when the present embodiment is seated on the seat when human body to people in view of second sensor detects in embodiment described in step S02 Interval of time is had, therefore, for the present embodiment in order to more save energy consumption, processor receives the second seizure condition signal Afterwards, the first sensor can be then turned on after the first preset time meter is full.
As shown in figure 3, the present invention provides a kind of one embodiment of the management method of space service condition, including:
In the presence of S01 second sensors have detected human body in a second direction, sends second to the processor and occupy Status signal;The first direction and the second direction are incorgruous;
After processor described in S021 receives the second seizure condition signal, after the first preset time meter is full, open The first sensor.
S1 first sensors are detected whether in a first direction with the presence of human body, and send first state to the processor Signal;
Preferably, step S1 includes step:First sensor described in S11 detects first direction in the second preset time In the presence of having human body, then the first seizure condition signal is sent to the processor;First sensor described in S12 is pre- second If in the presence of first direction is not detected in the time having human body, then sending the first release conditions signal to the processor;
If processor described in S21 receives the first seizure condition signal, the currently used of the space is identified State is seizure condition, and closes the second sensor;Return to step S1;
S22 is when the space is in idle condition, if the processor receives the first release conditions signal, Close the first sensor, return to step S01.
S23 is when the space is in seizure condition, if the processor receives the first release conditions signal, Open the second sensor;
Whether second sensor described in S24 detects in second direction in third preset time with the presence of human body;
If the S25 second sensors are detected in this second direction with the presence of human body, the processor closes institute State second sensor, and return to step S1;
Otherwise, the second sensor sends the second release conditions signal to S26 to the processor;
Processor described in S27 identifies that the currently used state in the space is release according to second release signal State.
Processor described in S3 uploads the currently used state in the space.
Specifically, in the present embodiment, a second sensor being electrically connected with processor, the second sensor are increased It is the same with first sensor, can also be infrared sensor, point active and passive type, passive sensor includes that pyroelectricity is red Outer sensor, active infra-red sensor include infrared temperature sensor;For whether detecting in second direction with the presence of human body, The second direction is horizontal direction, and the first direction is vertical direction;
At work, first sensor beginning only opens second sensor, second sensor in closed state Whether with the presence of human body on detection level direction, if having detected human body, sending out a high level signal, (i.e. second occupies shape State signal), processor is waken up by the signal by interrupting detection mode, then opens first sensor, examined by first sensor Vertical direction is surveyed whether with the presence of human body.
If be not detected on vertical direction (only has human body in the horizontal direction, but does not sit on the presence of human body Seat gets on, therefore can't detect with the presence of human body on vertical direction), then the first release conditions signal can be sent to processor, Processor identifies that the currently used state in the space is release conditions.Meanwhile closing the first sensor, return to step Whether S01 continues by second sensor detection level direction with the presence of human body.
If detecting on vertical direction with the presence of human body, the first seizure condition signal, processor can be sent to processor Identify that the currently used state in the space is seizure condition.Meanwhile processor can close the second sensor, by first Whether sensor detects on vertical direction with the presence of human body.Once first sensor detects that human body is not present on vertical direction , the first release conditions signal can be sent to processor, after the processor receives the first release conditions signal, opened The second sensor, human body whether there is on further detection level direction, that is, detect whether user really has left seat. Whether the second sensor is in third preset time, with the presence of human body on detection level direction.
If the second sensor is not detected in the horizontal direction with the presence of human body, i.e. user has been moved off seat Position, the second sensor then can send the second release conditions signal to the processor;The processor is according to described second Release signal identifies that the currently used state in the space is release conditions.
If the second sensor detects that with the presence of human body, i.e. user does not leave seat in the horizontal direction Position, the processor close the second sensor, and return to step S1, and continuing to monitor on vertical direction by first sensor is It is no with the presence of human body.
It preferably, can also be according to preset number when the processor uploads the currently used state in the space It is uploaded according to report method, step S3 is specifically included:
S31 obtains the current sample data of the currently used state in space and each history unit time period space uses shape The historical sample data of state;
S32 calculates space and reports week using the data of data according to the current sample data, each historical sample data Phase;The space includes space use state using data;
If the timing time of S33 timers is greater than or equal to the data report cycle, the use in the space is uploaded State and/or current sample data, and reset the initial value of the timer;
Otherwise S34, then abandons the use state for uploading the space and/or current sample data.
If space use state is to have used in the currently used state in the spaces S11 or each history unit time period, It is the first parameter to define the current sample data or historical sample data;Otherwise, the current sample data or history are defined Sample data is the second parameter.
Preferably, step S32 is specifically included:
S321 calculates characteristic parameter according to the current sample data, each historical sample data;
S322 calculates the data report cycle that the space uses data according to the characteristic parameter.
Preferably, step S321 is specifically included:
If the S3211 current sample datas are the first parameter, the characteristic parameter is 1;
If the S3212 current sample datas are the second parameter, according to the historical sample data and each go through The corresponding historical sample coefficient of history sample data, calculates the characteristic parameter.
Preferably, the calculation formula of characteristic parameter described in the step S3212 is:
Wherein, Y is the characteristic parameter;Xi is i-th of historical sample data, and X0~Xn-2 indicates each history list respectively The historical sample data of position period space use state;Ai be the corresponding historical sample coefficient of i-th of historical sample data, A0~ An-2 indicates the corresponding historical sample coefficient of each historical sample data, and An-2≤An-3 ≧ ...≤A0 respectively.
Preferably, the calculation formula of data report cycle described in the step S22 is:
Wherein, T is the data report cycle;Y is the characteristic parameter.
It can be assumed for instance that drawing window window period n=7, historical sample coefficient is set to A0=1;A1=2;A2=3; A3=5;A4=8;A5=13.
If historical sample data is X0=1, X1=1, X2=0, X3=1, X4=0, X5=0, and t=4 at this time, then After Xn confirms, the characteristic parameter on the same day is:
If Xn=1, according to formula, then Y=1, T=1/Y=1, t>=T, all same day want reported result at night;
If Xn=0, Y=(1*X0+2*X1+3*X2+5*X3+8*X4+13*X5)/32=8/32=0.25,
So report cycle T=1/Y=4.Obvious t=T, all same day need to report statistical result at night.T is resetted at this time =1, X0~Xn displacement updates, waits for next time decision to arrive.
As shown in figure 4, the present invention also provides a kind of embodiment of the management system of space service condition, system includes the One sensor 1, processor 3, the first sensor 1 are electrically connected with processor 3;
First sensor 1 is detected whether in a first direction with the presence of human body, and sends first state to the processor 3 Signal;The status signal includes the first seizure condition signal, the first release conditions signal;
The processor 3 includes:
State recognition module 31, for according to the first state signal, identifying the currently used state in the space; The currently used state includes seizure condition and release conditions;
Information uploading module 32 is electrically connected with the state recognition module 31, for uploading the currently used of the space State.
Specifically, first sensor 1 includes infrared sensor, the present embodiment uses S16-L201D, processor 3MCU can be with Using microcontroller MSP430G2553, in addition, processor 3 is also electrically connected with wireless module, the wireless module can using peace letter RA-01LORA modules are connected by SPI interface with processor 3MCU;Power unit checks circuit group by battery and external power supply At LDO completes the conversion of 5V to 3.3V using SPX3829.Infrared sensor generates one high electricity after detecting human body infrared Flat pulse, the signal are connected with the IO of MCU.The IO is set as rising edge down trigger, and processor 3 receives high level pulse letter After number, that is, current spatial is judged for seizure condition, otherwise judge current spatial for release conditions.
As shown in figure 5, the present invention also provides a kind of embodiment of the management system of space service condition, system includes the One sensor 1, second sensor 2, processor 3, the first sensor 1, second sensor 2 are electrically connected with processor 3 respectively;
In the presence of the second sensor 2 has detected human body in a second direction, sends second to the processor 3 and account for Use status signal;The first direction and the second direction are incorgruous;
The processor 3 includes:Control module 33, after receiving the second seizure condition signal, described in unlatching First sensor 1.
Preferably, the control module 33 is additionally operable to after receiving the second seizure condition signal, when first is default Between count it is full after, open the first sensor 1.
First sensor 1 is detected whether in a first direction with the presence of human body, and sends first state to the processor 3 Signal;The status signal includes the first seizure condition signal, the first release conditions signal;
Preferably, in the presence of the first sensor 1 detects that first direction has human body in the second preset time, then to The processor 3 sends the first seizure condition signal;The first sensor 1 is not detected in the second preset time In the presence of there is human body in one direction, then the first release conditions signal is sent to the processor 3;
The processor 3 includes:State recognition module 31, for according to the first state signal, identifying the sky Between currently used state;The currently used state includes seizure condition and release conditions;
Preferably, if the state recognition module 31 identifies institute for receiving the first seizure condition signal The currently used state for stating space is seizure condition;The control module 33, if receiving the first seizure condition signal, Close the second sensor 2;If receiving the first release conditions signal, the first sensor 1 is closed.
Preferably, the control module 33 is additionally operable to, according to the first release conditions signal, open second sensing Device 2;Whether the second sensor 2 detects in second direction in third preset time with the presence of human body;The control module 33, if being detected in this second direction with the presence of human body for the second sensor 2, close the second sensor 2; The second sensor 2, if being not detected in this second direction with the presence of human body for the second sensor 2, to The processor 3 sends the second release conditions signal;The identification module, for according to second release signal, identifying The currently used state in the space.
Information uploading module 32 is electrically connected with the state recognition module 31, for uploading the currently used of the space State.
In the present embodiment, the first sensor 1 uses infrared temperature sensor, the second sensor 2 to be released using heat Electric infrared sensor, pyroelectric infrared sensor use S16-L201D, infrared temperature sensor to use MLX90614BAA, processing Device 3 includes MCU, as shown in fig. 6, MCU uses MSP430G2553.
Information uploading module 32 as shown in fig. 7, using peace letter can RA-01LORA modules, be connected with MCU by SPI, RA- First interface 1, second interface 2, third interface 3, the 4th interface 4, the 11st interface of communication chip M2 in 01LORA modules 11, the 12nd interface 12, the 19th interface 19, the 20th interface 20, the 22nd interface 22 are grounded respectively, power end the (the tenth Three interfaces 13) it is connect with power supply, the power end also passes through inductance C16, inductance C17 ground connection respectively;The communication chip M2's 14th interface 14 is electrically connected with the 7th interface 7 of MCU;The 14th of the 15th interface 15 and MCU of the communication chip M2 Interface 14 is electrically connected;The 16th interface 16 of the communication chip M2 is electrically connected with the 15th interface 15 of MCU;The communication core The 17th interface 17 of piece M2 is electrically connected with the 6th interface 6 of MCU;The 18th interface 18 and MCU's of the communication chip M2 13rd interface 13 is electrically connected.The 21st interface 21 of the communication chip M2 is connected to antennal interface by a resistance R5 J2;The 21st interface 21 of the communication chip M2 is also grounded by capacitance C21;The 21st of the communication chip M2 connects Mouth 21 also passes through capacitance, capacitance C22 ground connection.In addition to this, WIFI, bluetooth, the realizations such as ZigBee communication can also be passed through.
Power unit in processor 3 checks that circuit forms by battery and external power supply, as shown in figure 8, LDO is used SPX3829 completes the conversion of 5V to 3.3V.Specifically, the first interface 1 of chip SPX3829 is grounded by capacitance C18, chip The third interface 3 of SPX3829 is electrically connected with first interface 1, and the second interface 2 of chip SPX3829 is grounded, chip SPX3829's 4th interface 4 is grounded by capacitance C20, and the 5th interface 5 of chip SPX3829 is connected to the second interface 2 of the second wire jumper P7, the The first interface 1 of two wire jumper P7 is electrically connected with the first interface 1 of the first wire jumper P6;The first interface 1 and power supply of first wire jumper P6 VCC connections are also grounded by capacitance C16, C10, C15 respectively.The second interface 2 of the first wire jumper P6 is also connected to battery Anode;The second interface 2 of the first wire jumper P6 also passes through capacitance C11, capacitance C12 ground connection respectively.
Specific embodiment can be found in a kind of embodiment of the management method of above-mentioned space service condition, no longer superfluous herein It states.
In addition, processor 3 when uploading currently used state, all the time all lasting need not upload, it can be according to one Fixed rule uploads onto the server currently used state, can more reduce the power consumption of system in this way, it is energy saving to reach low-power consumption Purpose.
For example, the present embodiment also provides a kind of reporting management method, including step:
If A. the space use state is to have used in current spatial or each history unit time period, work as described in definition Preceding sample data or historical sample data are the first parameter;Otherwise, it is defined as the second parameter.
B. according to the current sample data, each historical sample data, characteristic parameter is calculated;
Preferably, step B is specifically included:If the b1 current sample datas are the first parameter, the characteristic parameter It is 1;If the b2 current sample datas are the second parameter, according to the historical sample data and each historical sample The corresponding historical sample coefficient of data, calculates the characteristic parameter, calculation formula is:
Wherein, Y is the characteristic parameter;XiFor historical sample data, X0~Xn-2Indicate every in the preset window period respectively The historical sample data of space use state described in one history unit time period;AiFor the corresponding historical sample system of historical sample data Number, A0~An-2The corresponding historical sample coefficient of each historical sample data and An-2≤An-3 ≧ ...≤A0 are indicated respectively.
C. according to the characteristic parameter, the data report cycle that the space uses data is calculated, calculation formula is:
Wherein, T is the data report cycle;Y is the characteristic parameter.
If D. the timing time of timer is greater than or equal to the data report cycle, upload the space uses shape State and/or current sample data, and reset the initial value of the timer;
E. otherwise, abandon uploading the use state in the space and/or current sample data.
Specifically, specifically describing the computational methods of the data report cycle, wherein calculation of characteristic parameters uses the period Window mode is drawn, due to following rule:
It draws window window period and is defined as n.Unit time period is defined as day, and daily feature samples data definition is X, window first Its sample data is X0, and second day is X1, until Xn-1, Xn then indicate current sample data.The value rule of X is:The same day The space, which has, to be used, then is 1;Otherwise it is 0.X0~Xn-1 initialization values are 1.
The computational methods of characteristic parameter Y are as shown in step S211, S212:
If Xn=1, Y=1;
If Xn=0,
When the method works, it is additionally provided with there are one timer t, initial value 1, unit is day.When daily morning 0, T values are calculated according to formula, then if t>=T, then report statistical data.Obviously, if same day Xn=1, according to formula, Y= 1, T=1, then when day data is bound to report.If Xn=0, need to decide whether to report according to judgement.If judgement It connects the result is that reporting, then after reporting, relevant parameter is initialised again, t=1, T=1.X sample datas then send displacement, That is Xn-1=Xn, Xn-2=Xn-1 ... .., X0=X1.Daily 0 point moment of morning all calculates T, is made decisions with t comparisons.
It can be assumed for instance that drawing window window period n=7, A0=1;A1=2;A2=3;A3=6;A4=12;A5=24.
If historical sample data is X0=0, X1=0, X2=0, X3=1, X4=1, X5=0, and t=3 at this time, then After Xn confirms, the characteristic parameter on the same day is:
If Xn=1, according to formula, then Y=1, T=1/Y=1, t>=T, all same day want reported result at night;
If Xn=0, Y=(1*X0+2*X1+3*X2+6*X3+12*X4+24*X5)/48=18/48=0.375,
So report cycle T=1/Y=2.6667.Obvious t>T, all same day need to report the use knot in space at night Fruit.T=1 is resetted at this time, and next time decision is waited for arrive.
By above-mentioned reporting schemes, described information reporting module is reduced when reporting the data such as currently used state The frequency that data upload, reduces the power consumption of system.Meanwhile data report cycle is according to current sample data and history sample Notebook data calculates, and is more in line with the demand reported.
It should be noted that above-described embodiment can be freely combined as needed.The above is only the preferred of the present invention Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (12)

1. a kind of management method of space service condition, which is characterized in that including step:
S1 first sensors are detected whether in a first direction with the presence of human body, and send first state signal to processor;Institute It includes the first seizure condition signal, the first release conditions signal to state status signal;
Processor described in S2 identifies the currently used state in space according to the first state signal;The currently used shape State includes seizure condition and release conditions;
Processor described in S3 uploads the currently used state in the space.
2. a kind of management method of space service condition according to claim 1, which is characterized in that include before step S1 Step:
In the presence of S01 second sensors have detected human body in a second direction, the second seizure condition is sent to the processor Signal;The first direction and the second direction are incorgruous;
After processor described in S02 receives the second seizure condition signal, the first sensor is opened.
3. a kind of management method of space service condition according to claim 2, which is characterized in that wrapped before step S02 Include step:
Processor described in S021 receives the second seizure condition signal, after the first preset time meter is full, opens described the One sensor.
4. a kind of management method of space service condition according to claim 2, which is characterized in that step S1 is specifically included Step:
In the presence of first sensor described in S11 detects that first direction has human body in the second preset time, then to the processing Device sends the first seizure condition signal;
In the presence of first sensor described in S12 is not detected first direction in the second preset time and has human body, then to the place It manages device and sends the first release conditions signal;
Step S2 specifically includes step:
If processor described in S21 receives the first seizure condition signal, the currently used state in the space is identified For seizure condition, and the second sensor is closed, return to step S1;
S22, if the processor receives the first release conditions signal, is closed when the space is in idle condition The first sensor, return to step S01.
5. a kind of management method of space service condition according to any one of claim 2~4, which is characterized in that step Rapid S1 specifically includes step:
Whether first sensor described in S13 is periodically detected in a first direction according to default detection cycle with the presence of human body, and The first state signal is sent to the processor.
6. a kind of management method of space service condition according to any one of claim 2~4, which is characterized in that step Rapid S2 further includes specifically step:
S23, if the processor receives the first release conditions signal, is opened when the space is in seizure condition The second sensor;
Whether second sensor described in S24 detects in second direction in third preset time with the presence of human body;
If the S25 second sensors are detected in this second direction with the presence of human body, the processor closes described the Two sensors, and return to step S1;
Otherwise, the second sensor sends the second release conditions signal to S26 to the processor;
Processor described in S27 identifies that the currently used state in the space is release conditions according to second release signal.
7. a kind of management system of space service condition, it is characterised in that:
Including first sensor, processor, the first sensor is electrically connected with processor;
First sensor is detected whether in a first direction with the presence of human body, and sends first state signal to the processor; The status signal includes the first seizure condition signal, the first release conditions signal;
The processor includes:
State recognition module, for according to the first state signal, identifying the currently used state in space;It is described currently to make Include seizure condition and release conditions with state;
Information uploading module is electrically connected with the state recognition module, the currently used state for uploading the space.
8. a kind of management system of space service condition according to claim 7, which is characterized in that further include the second sensing Device:
In the presence of the second sensor has detected human body in a second direction, the second seizure condition is sent to the processor Signal;The first direction and the second direction are incorgruous;
The processor further includes:
Control module opens the first sensor after receiving the second seizure condition signal.
9. a kind of management system of space service condition according to claim 8, it is characterised in that:
The control module is additionally operable to receive the second seizure condition signal, after the first preset time meter is full, opens institute State first sensor.
10. a kind of management system of space service condition according to claim 8, it is characterised in that:
In the presence of the first sensor detects that first direction has human body in the second preset time, then sent out to the processor Send the first seizure condition signal;
In the presence of the first sensor is not detected first direction in the second preset time and has human body, then to the processor Send the first release conditions signal;
If the state recognition module identifies the current of the space for receiving the first seizure condition signal Use state is seizure condition;
The control module is additionally operable to when the space is in idle condition, if receiving the first seizure condition signal, Then close the second sensor;If receiving the first release conditions signal, the first sensor is closed.
11. a kind of management system of space service condition according to any one of claims 8 to 10, it is characterised in that:
Whether the first sensor is periodically detected in a first direction according to default detection cycle with the presence of human body, and to The processor sends the first state signal.
12. a kind of management system of space service condition according to any one of claims 8 to 10, it is characterised in that:
The control module is additionally operable to, when the space is in seizure condition, according to the first release conditions signal, then open Open the second sensor;
Whether the second sensor detects in second direction in third preset time with the presence of human body;
The control module closes institute if being detected in this second direction with the presence of human body for the second sensor State second sensor;
The second sensor, if being not detected in this second direction with the presence of human body for the second sensor, The second release conditions signal is sent to the processor;
The state recognition module, for according to second release signal, identifying that the currently used state in the space is Release conditions.
CN201810251976.4A 2018-03-21 2018-03-21 Space use condition management method and system Active CN108494856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810251976.4A CN108494856B (en) 2018-03-21 2018-03-21 Space use condition management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810251976.4A CN108494856B (en) 2018-03-21 2018-03-21 Space use condition management method and system

Publications (2)

Publication Number Publication Date
CN108494856A true CN108494856A (en) 2018-09-04
CN108494856B CN108494856B (en) 2022-03-11

Family

ID=63337705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810251976.4A Active CN108494856B (en) 2018-03-21 2018-03-21 Space use condition management method and system

Country Status (1)

Country Link
CN (1) CN108494856B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140108479A (en) * 2013-02-28 2014-09-11 주식회사 이젠파워 Taxi riding and alight Information Offer system using NFC Tag.
CN104951907A (en) * 2015-07-21 2015-09-30 上海斐讯数据通信技术有限公司 Seat management device, system and method
CN105142303A (en) * 2015-09-25 2015-12-09 杭州玄同电子有限公司 Quasi-static human body induction ceiling lamp
CN105469329A (en) * 2015-11-30 2016-04-06 上海斐讯数据通信技术有限公司 Seat management method and system
CN205880712U (en) * 2016-06-21 2017-01-11 杭州鸿雁电器有限公司 System for change indoor scene
CN106597946A (en) * 2016-12-23 2017-04-26 上海正苒智能科技有限公司 Indoor personnel state monitoring method and system
CN106919892A (en) * 2015-12-25 2017-07-04 ***通信集团公司 Behavior monitoring method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140108479A (en) * 2013-02-28 2014-09-11 주식회사 이젠파워 Taxi riding and alight Information Offer system using NFC Tag.
CN104951907A (en) * 2015-07-21 2015-09-30 上海斐讯数据通信技术有限公司 Seat management device, system and method
CN105142303A (en) * 2015-09-25 2015-12-09 杭州玄同电子有限公司 Quasi-static human body induction ceiling lamp
CN105469329A (en) * 2015-11-30 2016-04-06 上海斐讯数据通信技术有限公司 Seat management method and system
CN106919892A (en) * 2015-12-25 2017-07-04 ***通信集团公司 Behavior monitoring method and device
CN205880712U (en) * 2016-06-21 2017-01-11 杭州鸿雁电器有限公司 System for change indoor scene
CN106597946A (en) * 2016-12-23 2017-04-26 上海正苒智能科技有限公司 Indoor personnel state monitoring method and system

Also Published As

Publication number Publication date
CN108494856B (en) 2022-03-11

Similar Documents

Publication Publication Date Title
Bai et al. Design and implementation of a home embedded surveillance system with ultra-low alert power
Sukode et al. Vehicle traffic congestion control & monitoring system in IoT
CN107424381B (en) A kind of indoor monitoring system for Empty nest elderly
CN102325155A (en) Vital sign monitoring method and system based on wireless sensor network
CN204759670U (en) Forest fire prevention system based on cloud calculates
CN115469627B (en) Intelligent factory operation management system based on Internet of things
CN103824118A (en) Real-time management system of library seats
CN116626238A (en) Dual-channel detection compass system for sensing air flow and air combination, air leakage detection method, data fusion and tracking method
Paci et al. 0, 1, 2, many—A classroom occupancy monitoring system for smart public buildings
CN206585590U (en) A kind of intelligent domestic environmental monitoring system
CN109600758B (en) RSS-based people flow monitoring method
CN202472764U (en) Automatic staff station state sensing and concentratively-displaying system
CN202196326U (en) Classroom building integrated management control system
CN108494856A (en) A kind of management method and system of space service condition
CN107833626A (en) Method and system for drawing activity curve by sensing human body activity
Rojek et al. Iot-based real-time monitoring system for a smart energy house
CN109218420A (en) Wireless displacement sensor and system based on NB-IoT
CN210721728U (en) Library seat light management system based on ZigBee
CN210724874U (en) Intelligent article mobile monitoring system
CN107547664A (en) A kind of children based on technology of Internet of things program toy
CN113450580A (en) Radar for monitoring traffic flow
CN107481464A (en) A kind of building Automatic Antitheft System based on ZIGBEE
CN109951866B (en) People flow monitoring method based on hidden Markov model
CN102722125A (en) Data detecting system
CN207799414U (en) A kind of site construction monitoring system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant