CN110312983A - Information collecting method, system and storage medium - Google Patents
Information collecting method, system and storage medium Download PDFInfo
- Publication number
- CN110312983A CN110312983A CN201880008621.0A CN201880008621A CN110312983A CN 110312983 A CN110312983 A CN 110312983A CN 201880008621 A CN201880008621 A CN 201880008621A CN 110312983 A CN110312983 A CN 110312983A
- Authority
- CN
- China
- Prior art keywords
- collection period
- information collecting
- collecting device
- state
- target object
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses a kind of information collecting method, system and storage mediums, the described method includes: control information collecting device judges whether the use state of target object changes by the information collecting device according to the use state of default collection period acquisition target object;The current state that the information collecting device is sent when target object use state changes is received, records the current state corresponding time point and time interval, and save using the time point and time interval as one group of parameter association;When record to N group parameter, one-variable linear regression algorithm is based on according to the N group parameter and calculates collection period TI;By the collection period TIIt is sent to the information collecting device.The present invention is by information collecting method, the new collection period of cycle calculations, and according to the use state of new collection period acquisition target object, reduces the energy consumption of information collecting device.
Description
Technical field
The present invention relates to information acquiring technology field more particularly to a kind of information collecting methods, system and storage medium.
Background technique
Currently, infrared sensor is widely used in information collecting device, to acquire the parameter of target object.However currently very
Infrared sensor in the information collecting device of multiple target object is all the mode of continued power, is held so infrared sensor is in
Continuous detecting state, power consumption are larger.
For the general method for reducing power consumption, isoperimetric phase information collecting device is mostly used to be joined by predetermined period greatly
Number acquisition, but because some target objects, such as toilet, the frequency of usage of toilet is different in the different periods, if
It then will lead to high power wastage using equal periods information collecting device in this class target object.
Summary of the invention
The present invention provides a kind of information collecting method, system and storage medium, it is intended to reduce the power consumption of information collecting device.
To achieve the above object, the present invention provides a kind of information collecting method, and the method is applied to information acquisition system,
The information acquisition system and information collecting device network communication, which comprises
Information collecting device is controlled according to the use state of default collection period acquisition target object, by the information collection
Equipment judges whether the use state of target object changes;The information collecting device is received to change in target object use state
When the current state that sends, record the current state corresponding time point and time interval, and by the time point and time
Interval is saved as one group of parameter association;
When record to N group parameter, one-variable linear regression algorithm is based on according to the N group parameter and calculates collection period TI,
Wherein, the N is preset group number, the collection period TIThe collection period of I current state corresponding to the N group parameter;
By the collection period TIIt is sent to the information collecting device.
Optionally, described by the collection period TIAfter the step of being sent to the information collecting device further include:
The information collecting device is controlled according to the collection period TIThe use state for continuing acquisition target object, works as mesh
When marking the use state change of object ,+1 current state of I is sent to information acquisition system by the information collecting device;
+ 1 current state of I corresponding+1 time point of I and+1 time interval of I are recorded, as+1 group ginseng of I
Number;
According to time point, the N group parameter adjacent with the time point of+1 group parameter of I is based on one-variable linear regression algorithm
Calculate the corresponding collection period T of+1 current state of II+1, so recycle, I+X calculated based on one-variable linear regression algorithm
The corresponding collection period T of current stateI+X。
Optionally, the information collecting device acquires the use state of target object, by described according to default collection period
Information collecting device judged after the step of whether use state of target object changes further include:
If the use state of the target object does not change, by the information collecting device according to default collection period
Continue the use state of acquisition target object, the information collecting device is in suspend mode within the time of the default collection period
State.
Optionally, described that one-variable linear regression algorithm calculating collection period T is based on according to the N group parameterIThe step of wrap
It includes:
The information acquisition system saves the N group parameter are as follows: (ti-N+1, Ti-N+1)、(ti-N+2, Ti-N+2)……(ti-1,
Ti-1)、(ti, Ti), wherein t indicate state change time point, T indicate state change time interval, T can be expressed as about
The function T=f (t) of t;
The function T=f (t) is expressed as a linear equation, then T=At+B, A and B are related coefficient;Wherein
Wherein
Wherein, TkIndicate Ti-N+1To TiIn any one, tkIndicate ti-N+1To tiIn any one.
Optionally, preset the corresponding absolute value of A | A | first threshold A1 and second threshold A2, wherein A1 < A2;
It is described that collection period T is calculated according to N group parameter one-variable linear regression algorithmIThe step of further include:
According to the calculated result | A |, and | A | the interval range at place calculates corresponding collection period TI。
Optionally, the control information collecting device is according to the collection period TI, continue to acquire target object
The step of use state further include:
According to the collection period TICalculate next acquisition time ti+1, current point in time tiWith collection period TIThe sum of
As next acquisition time ti+1, i.e. ti+1=ti+TI;
If acquisition time ti+1The use state of acquisition and the use state of last time acquisition do not change, then continue to count
Calculate acquisition time ti+1Next acquisition time ti+2, such cycle calculations, until use state change optionally, it is described
Information acquisition system is the step of receiving N group parameter further include:
The N group parameter is veritified by preset condition, anomaly parameter is screened, tracks the corresponding mesh of the anomaly parameter
Object is marked, so that the maintenance personnel of the target object in time safeguards the target object.
The embodiment of the present invention also provides a kind of information acquisition system, and information acquisition system includes memory, processor, and
The information acquisition program of storage in the memory, the information acquisition program realize institute as above when being run by the processor
The step of stating information collecting method.
The embodiment of the present invention also provides a kind of storage medium, and information acquisition program is stored on the storage medium, described
The step of information collecting method as described above is realized when information acquisition program is run by processor.
Compared with prior art, information collecting method proposed by the present invention, system and storage medium control information collecting device
The use state of target object is acquired according to default collection period, control information collecting device acquires mesh according to default collection period
The use state for marking object is sent current state by the information collecting device when the use state of target object changes
To information acquisition system;The current state that the information collecting device is sent is received, the current state corresponding time is recorded
Point and time interval, and saved using the time point and time interval as one group of parameter association;When record to N group parameter,
One-variable linear regression algorithm, which is based on, according to the N group parameter calculates collection period TI, wherein the N is preset group number, described to adopt
Collect cycle TIThe collection period of I current state corresponding to the N group parameter;By the collection period TIIt is sent to the letter
Breath acquisition equipment.The present invention is by information collecting method as a result, the new collection period of cycle calculations, and according to new acquisition week
Phase acquires the use state of target object, reduces the energy consumption of information collecting device.
Detailed description of the invention
Fig. 1 is the flow diagram of information collecting method first embodiment of the present invention;
Fig. 2 is the schematic diagram of a scenario of one embodiment of information collecting method of the present invention;
Fig. 3 is the flow diagram of information collecting method second embodiment of the present invention;
Fig. 4 is the flow diagram of information collecting method 3rd embodiment of the present invention;
Fig. 5 is the schematic diagram of a scenario of another embodiment of information collecting method of the present invention;
Fig. 6 is the information collecting device structural schematic diagram that the embodiment of the present invention is related to.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: control information collecting device acquires target according to default collection period
The use state of object, control information collecting device acquires the use state of target object according to default collection period, by described
Information collecting device judges whether the use state of target object changes;The information collecting device is received to use in target object
The current state that sends when state changes, records the current state corresponding time point and time interval, and by the time
Point and time interval are saved as one group of parameter association;When record to N group parameter, unitary line is based on according to the N group parameter
Property regression algorithm calculate collection period TI, wherein the N is preset group number, the collection period TICorresponding to the N group parameter
I current state collection period;By the collection period TIIt is sent to the information collecting device.The present invention is logical as a result,
Cross information collecting method, the new collection period of cycle calculations, and according to the use state of new collection period acquisition target object,
Reduce the energy consumption of information collecting device.
It should be noted that information collecting device according to the present invention is suitable for shared toilet, shares parking stall, is total
Enjoying lobby etc. can need to reduce the facility for being applicable in state acquisition power consumption.Wherein, toilet is shared, the frequency of usage of toilet exists
The different periods is different, such as the toilet of office space may almost no one use at night, if using existing
Equal period distances method acquires the use state of shared toilet, will cause the power wastage for acquiring use state at night.
It should be noted that information collecting device according to the present invention has infrared sensor, the infrared ray sensing
Device is a kind of sensor that parameter processing is carried out using infrared ray, the sensing measured using the physical property of infrared ray
The properties such as device, infrared ray are also known as infrared light, it has reflection, refraction, scatters, interferes, absorbs.Any substance, as long as itself
It, can infrared radiation with certain temperature (being higher than absolute zero).Infrared sensor has high sensitivity, reacts fast etc.
Advantage.
Since the infrared sensor in the information collecting device of current many target objects is all the mode of continued power, institute
It is in infrared sensor and continues detecting state, power consumption is larger.And for the existing method for reducing power consumption, isoperimetric is mostly used greatly
Phase information collecting device reduces power consumption by predetermined period to carry out parameter acquisition, but because some target objects, such as wash
Between hand, the frequency of usage of toilet is different in the different periods, if the periods information collection such as using in this class target object
Equipment then will lead to high power wastage.
The embodiment of the present invention proposes a solution, can reduce the power consumption of information collecting device.
Specifically, Fig. 1 is please referred to, Fig. 1 is the flow diagram of information collecting method first embodiment proposed by the present invention.
As shown in Figure 1, first embodiment of the invention proposes that a kind of information collecting method the method is applied to information collection
System, the information acquisition system and information collecting device network communication, which comprises
Step S101, control information collecting device acquires the use state of target object according to default collection period, by institute
It states information collecting device and judges whether the use state of target object changes;
In the present embodiment, the information collecting device for having infrared sensor, the information are installed on target object in advance
Acquisition equipment is used to acquire the use state of target object, presets the collection period of the information collecting device, such as can
The initial acquisition period be may be configured as into 10s, the initial acquisition period may be configured as 5-60s in other embodiments.Work as information
It acquires the infrared sensor in equipment and presses default collection period sending infrared sensing signal, when infrared sensing signal encounters barrier
When (such as human body), according to the principle that the difference of obstacle distance, reflected intensity is also different, and can determine whether target object uses shape
State.
In the present embodiment, after the information collecting device collects the use state of target object by infrared sensor,
Judge whether the use state of the target object changes.Specifically, the change state of target object is through the information collection
Equipment is adopted determined by result difference according to the adjacent use state twice of default collection period acquisition.The target object
Use state is included in state and idle state, and the information collecting device available digital signal of the use state corresponds to institute
Use state is stated, such as 1 indicates indicating idle state with state, 0.It is settable for specifically target object for use
State, such as sharing toilet, then use state can be divided into someone's state and unmanned state.
Step S102 receives the current state that the information collecting device is sent when target object use state changes,
The current state corresponding time point and time interval are recorded, and is closed using the time point and time interval as one group of parameter
UNPROFOR is deposited;
In the present embodiment, the information acquisition system is after receiving the current state that the information collecting device is sent,
The current state corresponding time point and time interval are then recorded as (ti, Ti), wherein t indicates the time point that state changes,
T indicates the time interval that state changes.
Step S103 is based on the calculating of one-variable linear regression algorithm according to the N group parameter and adopts when record to N group parameter
Collect cycle TI, wherein the N is preset group number, the collection period TII current state corresponding to the N group parameter is adopted
Collect the period;
Further, the information acquisition system saves the N group parameter are as follows: (ti-N+1, Ti-N+1)、(ti-N+2,
Ti-N+2)……(ti-1, Ti-1)、(ti, Ti), wherein t indicates the time point that state changes, and T indicates the time interval that state changes,
T can be expressed as the function T=f (t) about t;
The function T=f (t) is expressed as a linear equation, then T=At+B, A and B are related coefficient;Wherein
Wherein
Wherein, TkIndicate Ti-N+1To TiIn any one, tkIndicate ti-N+1To tiIn any one.
In the present embodiment, calculating collection period if it is first time can be calculated then in i=N.Assuming that N=
4, then after saving 4 groups of parameters, the corresponding collection period T of the 4th group of parameter can be calculated for the first time4.It is counted if not first time
The corresponding collection period T of I current state can be calculated then in i > N by calculating collection periodI.If i < N, without meter
It calculates, i.e. its corresponding collection period of i < N is default collection period, when i=N, carries out first time calculating.
Further, preset the corresponding absolute value of A | A | first threshold A1 and second threshold A2, wherein A1 < A2;
It is described that collection period T is calculated according to N group parameter one-variable linear regression algorithmIThe step of further include:
According to the calculated result | A |, and | A | the interval range at place calculates corresponding collection period TI.Specifically
Ground,
Wherein β indicates related coefficient, 0 < β < 1, TmaxIt is preset threshold.
In the present embodiment, A1, which can be set to 0.5, A2, can be set to 2, A1 < A2 in same group of threshold value.TmaxIt can be with
It is set as 3600s, 4800s, 7200s etc..A1, A2 and TmaxValue can specifically be arranged according to actual needs.
Specifically, if the information collecting device is just started to work, changed according to preset collection period in state
When to information acquisition system send current state.Such as when presetting N=4, then the information acquisition system is saving 4 groups of parameters
Afterwards, this 4 groups of parameters are respectively (t1, T1)、(t2, T2)、(t3, T3)、(t4, T4), the 4th group is calculated for the first time according to this four groups of parameters
The corresponding collection period T of parameter4.Corresponding coefficient A, B are calculated first, thus the value of A, B and current point in time t4T can be obtained, then
According to A4The range intervals at place calculate corresponding collection period TI。
Further, in the record to N group parameter after the step of further include:
The N group parameter is veritified by preset condition, anomaly parameter is screened, tracks the corresponding mesh of the anomaly parameter
Object is marked, so that the maintenance personnel of the target object in time safeguards the target object.
In the present embodiment, the preset condition includes veritifying period, checking method, such as will veritify the period to be set as two small
When, the checking method includes the average value for calculating the corresponding multiple time intervals in adjacent multiple shared toilets, if wherein
Some time interval and the difference of the average value are more than threshold value, then it is assumed that the anomaly parameter when time interval.If the information
Acquisition equipment is installed on shared toilet, and multiple shared toilets can be generally installed in the same test, therefore, if some
The difference of the time-interval averaging value of the time interval and adjacent multiple shared toilets of shared toilet is more than threshold value, then may be used
The parameter for determining this shared toilet is anomaly parameter.The information of the corresponding shared toilet of the anomaly parameter is sent to
Management terminal, so that maintenance personnel in time safeguards the shared toilet.
Step S104, by the collection period TIIt is sent to the information collecting device.
Specifically, the collection period TIBe sent to the information collecting device, for the information collecting device according to
The use state of new collection period acquisition target object.
Further, the method also includes:
The N group parameter of preservation is grouped by preset condition, by the one-variable linear regression algorithm meter of the parameter after grouping
Calculate collection period.
In the present embodiment, if the information collecting device is installed on shared toilet, the parameter can be divided into first
State change group, the second state change group and third state change group, the use state of the shared toilet includes someone
State and unmanned state, wherein the first state change group refers to that currently used state is different from last use state, packet
It includes to change from someone's state and changes again to unmanned state to the circulation of next someone's state or change from unmanned state to having
People's state changes the circulation to next unmanned state again, and the second state change group, which refers to, to be changed from someone's state to nobody
State, the third state change group, which refers to, to be changed from unmanned state to someone's state.After parameter is grouped, what reselection needed
State change group is based on one-variable linear regression algorithm to the parameter of the state change group and calculates corresponding collection period.
In another optional embodiment, can hurry situation according to the spare time that toilet different time sections use, and be joined using the time
Number is grouped, and is such as divided into 7:00-12:30,12:30-14:00,14:00-19:00,19:00- next day for one day 24 hours
Tetra- periods of 7:00 use one-variable linear regression algorithm in each period respectively, obtain the different sampling periods.
Further, the information acquisition system is also with user terminal communication connection, the target that information collecting device is sent
The currently used state of object is sent to the user terminal.
Specifically, referring to Fig. 2, Fig. 2 is the schematic diagram of a scenario of one embodiment of information collecting method of the present invention.
In the present embodiment, the information acquisition system can connect multiple information collecting devices simultaneously, as information collection is set
Standby 1, information collecting device 2, information collecting device m etc..The information collecting device saves what multiple information collecting devices were sent
The use state of target object, when user terminal is by the use state of default APP or web page interrogation target object, by the letter
The currently used state of target object is sent to the user terminal by breath acquisition system.If the information collecting device is installed on shared
Toilet, then by the way that the currently used state of shared toilet is sent to user terminal, unmanned state is washed for selection by the user
Between hand, user experience is improved.And parameter can also be sent to the management end of the shared toilet, for administrative staff's root
According to the service condition of shared toilet, toilet is shared in each region flexible configuration, improves the utilization rate and warp of shared toilet
Ji benefit.
Through the above scheme, control information collecting device makes the present embodiment according to default collection period acquisition target object
With state, information collecting device is controlled according to the use state of default collection period acquisition target object, by the information collection
Equipment judges whether the use state of target object changes;The information collecting device is received to change in target object use state
When the current state that sends, record the current state corresponding time point and time interval, and by the time point and time
Interval is saved as one group of parameter association;When record to N group parameter, calculated according to the N group parameter based on one-variable linear regression
Method calculates collection period TI, wherein the N is preset group number, the collection period TII corresponding to the N group parameter is current
The collection period of state;By the collection period TIIt is sent to the information collecting device.The present invention passes through information collection as a result,
Method, the new collection period of cycle calculations, and according to the use state of new collection period acquisition target object, reduce information
Acquire the energy consumption of equipment.
As shown in figure 3, second embodiment of the invention proposes a kind of information collecting method, the method is applied to information collection
Equipment, it is described by the collection period TIAfter the step of being sent to the information collecting device further include:
Step S105 controls the information collecting device according to the collection period TIContinue the use of acquisition target object
State, when the use state of target object changes ,+1 current state of I is sent to information collection by the information collecting device
System;
In the present embodiment, the information collecting device is according to calculated collection period TIAcquire target object uses shape
State.The information acquisition system continues to+1 current state of I.
Step S106 records+1 current state of I corresponding+1 time point of I and+1 time interval of I, as
I+1 group parameter;
Specifically, the information acquisition system is after receiving+1 current state of I that the information collecting device is sent, then
The current state corresponding+1 time point of I and+1 time interval of I are recorded as (ti+1, Ti+1), wherein t indicates that state changes
The time point of change, T indicate the time interval that state changes.
Further, the control information collecting device is according to the collection period TI, continue to acquire target object
Use state the step of further include:
According to the collection period TICalculate next acquisition time ti+1, current point in time tiWith collection period TIThe sum of
As next acquisition time ti+1, i.e. ti+1=ti+TI;
If in acquisition time ti+1The use state of acquisition and the use state of last time acquisition do not change, then continue
Calculate acquisition time ti+1Next acquisition time ti+2If acquisition time ti+1The use state of acquisition is worked as with described
Preceding time point tiUse state do not change, then continue calculate acquisition time ti+1Next acquisition time ti+2, such as
This cycle calculations, until use state changes.In the present embodiment, acquisition time ti+1With collection period TIThe sum of be acquire
Time point ti+1Next acquisition time ti+2, i.e. ti+2=ti+1+TI。
It is linear to be based on unitary according to the time point N group parameter adjacent with the time point of+1 group parameter of I by step S107
Regression algorithm calculates the corresponding collection period T of+1 current state of II+1, so recycle, be based on one-variable linear regression algorithm
Calculate the corresponding collection period T of I+X current stateI+X。
Specifically, it is calculated based on one-variable linear regression algorithm according to the corresponding collection period of newest+1 current state of I
TI+1, and by the collection period TI+1It is sent to information collecting device.It is acquired use state-calculating acquisition week repeatedly
The operation of phase calculates corresponding collection period T when record to I+X current stateI+X, wherein the I or X is specific number,
Such as the 5th corresponding collection period T of current state5, the corresponding collection period T of 5+3 current state5+3That is collection period T8。
The present embodiment calculates new collection period by information collecting method, and the information collecting device is adopted according to new
The use state for collecting period acquisition target object, reduces the energy consumption of information collecting device.
As shown in figure 4, second embodiment of the invention proposes a kind of information collecting method, the method is applied to information collection
Equipment, the information collecting device acquire the use state of target object according to default collection period, are set by the information collection
It is standby judge the step of whether use state of target object changes after further include:
Step S1011, if the use state of the target object does not change, by the information collecting device according to pre-
If collection period continues to acquire the use state of target object, the information collection is set within the time of the default collection period
For in a dormant state.
In the present embodiment, if the use state of the target object does not change, do not sent out to the information acquisition system
Send parameter;
When the information collecting device reaches next acquisition time according to the default collection period, continue to acquire
The use state of target object, the information collecting device is in a dormant state within the time of the default collection period.
In the present embodiment, it if the information collecting device is installed on shared toilet, is in the shared of Administrative Area and washes
Use state between hand at night may be constantly in unmanned state.If the time interval that use state does not change is greater than default
Maximum time interval, then collection period is adjusted to preset maximum time interval.
It specifically, is the schematic diagram of a scenario of another embodiment of information collecting method of the present invention, the information with reference to Fig. 5, Fig. 5
Equipment is acquired when reaching next acquisition time, continues the use state for acquiring target object.And in default collection period
Time in, it is described in a dormant state, the infrared sensor of dormant state is in off-position, generally, by the information
The power supply for acquiring the power control unit cutting infrared sensor of equipment, when reaching acquisition time, the power supply control is single
Member recloses the power supply of the infrared sensor, and infrared sensor is in energized state to lead to infrared collection target object
Use state.
The present embodiment is not when the use state of the target object changes, by the information collecting device according to default
Collection period continues to acquire the use state of target object, the information collecting device within the time of the default collection period
In a dormant state, the energy consumption of information collecting device is thus reduced.
Furthermore the embodiment of the present invention also provides a kind of information acquisition system, and information acquisition system includes memory, processor,
And the information acquisition program of storage in the memory, it is realized such as when the information acquisition program is run by the processor
Lower operation:
Information collecting device is controlled according to the use state of default collection period acquisition target object, when making for target object
When being changed with state, current state is sent to information acquisition system by the information collecting device;
The current state that the information collecting device is sent is received, the current state corresponding time point and time are recorded
Interval, and saved using the time point and time interval as one group of parameter association;
The number when record to N group ginseng, is based on one-variable linear regression algorithm according to the N group parameter and calculates collection period TI,
Wherein, the N is preset group number, the collection period TIThe collection period of I current state corresponding to the N group parameter;
By the collection period TIIt is sent to the information collecting device.
Specifically, as shown in fig. 6, the information acquisition system includes processor 1001, memory 1005, communication bus
1002, user interface 1003, network interface 1004.Wherein, communication bus 1002 is logical for realizing the connection between these components
Letter.User interface 1003 acquires equipment for link information.Network interface 1004 optionally may include standard wireline interface,
Wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-
Volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001
Storage device.
It will be understood by those skilled in the art that the restriction of system structure shown in Fig. 6 not structure paired systems, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in fig. 6, as may include that operating device, network are logical in a kind of memory 1005 of computer storage medium
Believe module, Subscriber Interface Module SIM and information acquisition program.
In system shown in Fig. 6, network interface 1004 is mainly used for connecting network server, carries out with network server
Parameter communication;User interface 1003 is mainly used for interacting with user terminal and information collecting device;And processor 1001 can be used
The information acquisition program stored in calling memory 1005, and execute following operation:
Information collecting device is controlled according to the use state of default collection period acquisition target object, by the information collection
Equipment judges whether the use state of target object changes;The information collecting device is received to change in target object use state
When the current state that sends, record the current state corresponding time point and time interval, and by the time point and time
Interval is saved as one group of parameter association;
When record to N group parameter, one-variable linear regression algorithm is based on according to the N group parameter and calculates collection period TI,
Wherein, the N is preset group number, the collection period TIThe collection period of I current state corresponding to the N group parameter;
By the collection period TIIt is sent to the information collecting device.
Further, processor 1001 can be also used for calling the information acquisition program stored in memory 1005, and hold
The following operation of row:
The information collecting device is controlled according to the collection period TIThe use state for continuing acquisition target object, works as mesh
When marking the use state change of object ,+1 current state of I is sent to information acquisition system by the information collecting device;
+ 1 current state of I corresponding+1 time point of I and+1 time interval of I are recorded, as+1 group ginseng of I
Number;
According to time point, the N group parameter adjacent with the time point of+1 group parameter of I is based on one-variable linear regression algorithm
Calculate the corresponding collection period T of+1 current state of II+1, so recycle, I+X calculated based on one-variable linear regression algorithm
The corresponding collection period T of current stateI+X。
Further, processor 1001 can be also used for calling the information acquisition program stored in memory 1005, and hold
The following operation of row:
If the use state of the target object does not change, by the information collecting device according to default collection period
Continue the use state of acquisition target object, the information collecting device is in suspend mode within the time of the default collection period
State.
Further, processor 1001 can be also used for calling the information acquisition program stored in memory 1005, and hold
The following operation of row:
The information acquisition system saves the N group parameter are as follows: (ti-N+1, Ti-N+1)、(ti-N+2, Ti-N+2)……(ti-1,
Ti-1)、(ti, Ti), wherein t indicate state change time point, T indicate state change time interval, T can be expressed as about
The function T=f (t) of t;
The function T=f (t) is expressed as a linear equation, then T=At+B, A and B are related coefficient;Wherein
Wherein
Wherein, TkIndicate Ti-N+1To TiIn any one, tkIndicate ti-N+1To tiIn any one.
Further, processor 1001 can be also used for calling the information acquisition program stored in memory 1005, and hold
The following operation of row:
According to the calculated result | A |, and | A | the interval range at place calculates corresponding collection period TI。
Further, processor 1001 can be also used for calling the information acquisition program stored in memory 1005, and hold
The following operation of row:
According to the collection period TICalculate next acquisition time ti+1, current point in time tiWith collection period TIThe sum of
As next acquisition time ti+1, i.e. ti+1=ti+TI;
If in acquisition time ti+1The use state of acquisition and the use state of last time acquisition do not change, then continue
Calculate acquisition time ti+1Next acquisition time ti+2, such cycle calculations, until use state changes.
Further, processor 1001 can be also used for calling the information acquisition program stored in memory 1005, and hold
The following operation of row:
The N group parameter is veritified by preset condition, anomaly parameter is screened, tracks the corresponding mesh of the anomaly parameter
Object is marked, so that the maintenance personnel of the target object in time safeguards the target object.
The embodiment of the present invention also provides a kind of computer readable storage medium, including memory, processor and is stored in
Information acquisition program in the memory realizes letter as described above when the information acquisition program is run by the processor
The step of ceasing acquisition method, details are not described herein.
Compared with prior art, a kind of information collecting method, system and storage medium proposed by the present invention control information collection
Equipment controls information collecting device and is adopted according to default collection period according to the use state of default collection period acquisition target object
The use state for collecting target object, judges whether the use state of target object changes by the information collecting device;Receive institute
State information collecting device current state for sending when target object use state changes, record the current state it is corresponding when
Between put and time interval, and saved using the time point and time interval as one group of parameter association;When record to N group parameter
When, one-variable linear regression algorithm is based on according to the N group parameter and calculates collection period TI, wherein the N is preset group number, institute
State collection period TIThe collection period of I current state corresponding to the N group parameter;By the collection period TIIt is sent to institute
State information collecting device.The present invention is by information collecting method, the new collection period of cycle calculations as a result, and is adopted according to new
The use state for collecting period acquisition target object, reduces the energy consumption of information collecting device.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations
Equivalent structure made by description of the invention and accompanying drawing content or process transformation, are applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (15)
1. a kind of information collecting method, the method is applied to information acquisition system, the information acquisition system and information collection
Device network communication, which comprises
Information collecting device is controlled according to the use state of default collection period acquisition target object, by the information collecting device
Judge whether the use state of target object changes;
The current state that the information collecting device is sent when target object use state changes is received, the current shape is recorded
State corresponding time point and time interval, and saved using the time point and time interval as one group of parameter association;
When record to N group parameter, one-variable linear regression algorithm is based on according to the N group parameter and calculates collection period TI, wherein
The N is preset group number, the collection period TIThe collection period of I current state corresponding to the N group parameter;
By the collection period TIIt is sent to the information collecting device.
2. the method according to claim 1, wherein described by the collection period TIThe information is sent to adopt
After the step of collecting equipment further include:
The information collecting device is controlled according to the collection period TIThe use state for continuing acquisition target object, when target pair
When the use state of elephant changes ,+1 current state of I is sent to information acquisition system by the information collecting device;
+ 1 current state of I corresponding+1 time point of I and+1 time interval of I are recorded, as+1 group parameter of I;
According to time point, the N group parameter adjacent with the time point of+1 group parameter of I is calculated based on one-variable linear regression algorithm
The corresponding collection period T of+1 current state of II+1, so recycle, it is current to calculate I+X based on one-variable linear regression algorithm
The corresponding collection period T of stateI+X。
3. the method according to claim 1, wherein the information collecting device is adopted according to default collection period
The use state for collecting target object, by the information collecting device judge the step of whether use state of target object changes it
Afterwards further include:
If the use state of the target object does not change, continued by the information collecting device according to default collection period
The use state of target object is acquired, the information collecting device is in suspend mode shape within the time of the default collection period
State.
4. the method according to claim 1, wherein described be based on one-variable linear regression according to the N group parameter
Algorithm calculates collection period TIThe step of include:
The information acquisition system saves the N group parameter are as follows: (ti-N+1, Ti-N+1)、(ti-N+2, Ti-N+2)……(ti-1,
Ti-1)、(ti, Ti), wherein t indicate state change time point, T indicate state change time interval, T can be expressed as about
The function T=f (t) of t;
The function T=f (t) is expressed as a linear equation, then T=At+B, A and B are related coefficient;Wherein
Wherein
Wherein, TkIndicate Ti-N+1To TiIn any one, tkIndicate ti-N+1To tiIn any one.
5. according to the method described in claim 4, it is characterized in that, presetting the corresponding absolute value of A | A | first threshold A1
With second threshold A2, wherein A1 < A2;
It is described that collection period T is calculated according to N group parameter one-variable linear regression algorithmIThe step of further include:
According to the calculated result | A |, and | A | the interval range at place calculates corresponding collection period TI。
6. according to the method described in claim 2, it is characterized in that, the control information collecting device is according to the acquisition
Cycle TI, continue the step of acquiring the use state of target object further include:
According to the collection period TICalculate next acquisition time ti+1, current point in time tiWith collection period TIThe sum of be
Next acquisition time ti+1, i.e. ti+1=ti+TI;
If acquisition time ti+1The use state of acquisition and the current point in time tiUse state do not change, then continue to count
Calculate acquisition time ti+1Next acquisition time ti+2, such cycle calculations, until use state changes.
7. method according to claim 1-6, which is characterized in that the N group parametric technique further include:
The N group parameter is veritified by preset condition, anomaly parameter is screened, tracks the corresponding target pair of the anomaly parameter
As so that the maintenance personnel of the target object in time safeguards the target object.
8. a kind of information acquisition system, information acquisition system includes memory, processor, and is stored in the memory
Information acquisition program realizes following operation when the information acquisition program is run by the processor:
Information collecting device is controlled according to the use state of default collection period acquisition target object, by the information collecting device
Judge whether the use state of target object changes;;
The current state that the information collecting device is sent when target object use state changes is received, the current shape is recorded
State corresponding time point and time interval, and saved using the time point and time interval as one group of parameter association;
When record to N group parameter, one-variable linear regression algorithm is based on according to the N group parameter and calculates collection period TI, wherein
The N is preset group number, the collection period TIThe collection period of I current state corresponding to the N group parameter;
By the collection period TIIt is sent to the information collecting device.
9. system according to claim 8, which is characterized in that when the information acquisition program is run by the processor also
Realize following operation:
The information collecting device is controlled according to the collection period TIThe use state for continuing acquisition target object, when target pair
When the use state of elephant changes ,+1 current state of I is sent to information acquisition system by the information collecting device;
+ 1 current state of I corresponding+1 time point of I and+1 time interval of I are recorded, as+1 group parameter of I;
According to time point, the N group parameter adjacent with the time point of+1 group parameter of I is calculated based on one-variable linear regression algorithm
The corresponding collection period T of+1 current state of II+1, so recycle, it is current to calculate I+X based on one-variable linear regression algorithm
The corresponding collection period T of stateI+X。
10. system according to claim 8, which is characterized in that when the information acquisition program is run by the processor
Also realize following operation:
If the use state of target object does not change, continue to acquire according to default collection period by the information collecting device
The use state of target object, the information collecting device is in a dormant state within the time of the default collection period.
11. system according to claim 8, which is characterized in that when the information acquisition program is run by the processor
Also realize following operation:
The information acquisition system saves the N group parameter are as follows: (ti-N+1, Ti-N+1)、(ti-N+2, Ti-N+2)……(ti-1,
Ti-1)、(ti, Ti), wherein t indicate state change time point, T indicate state change time interval, T can be expressed as about
The function T=f (t) of t;
The function T=f (t) is expressed as a linear equation, then T=At+B, A and B are related coefficient;Wherein
Wherein
Wherein, TkIndicate Ti-N+1To TiIn any one, tkIndicate ti-N+1To tiIn any one.
Wherein, TkIndicate Ti-N+1To TiIn any one, tkIndicate ti-N+1To tiIn any one.
12. system according to claim 8, which is characterized in that when the information acquisition program is run by the processor
Also realize following operation:
According to the calculated result | A |, and | A | the interval range at place calculates corresponding collection period TI。
13. system according to claim 8, which is characterized in that when the information acquisition program is run by the processor
Also realize following operation:
According to the collection period TICalculate next acquisition time ti+1, current point in time tiWith collection period TIThe sum of be
Next acquisition time ti+1, i.e. ti+1=ti+TI;
If acquisition time ti+1The use state of acquisition and the use state of last time acquisition do not change, then continue to calculate and adopt
Collect time point ti+1Next acquisition time ti+2, such cycle calculations, until use state changes.
14. according to the described in any item systems of claim 8-13, which is characterized in that the information acquisition program is by the processing
Following operation is also realized when device is run:
The N group parameter is veritified by preset condition, anomaly parameter is screened, tracks the corresponding target pair of the anomaly parameter
As so that the maintenance personnel of the target object in time safeguards the target object.
15. a kind of computer readable storage medium, which is characterized in that including memory, processor and be stored in the storage
Information acquisition program in device is realized when the information acquisition program is run by the processor as any in claim 1 to 7
The step of information collecting method described in item.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/093827 WO2020000426A1 (en) | 2018-06-29 | 2018-06-29 | Method, system, storage medium for collecting information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110312983A true CN110312983A (en) | 2019-10-08 |
CN110312983B CN110312983B (en) | 2023-05-09 |
Family
ID=68074283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880008621.0A Active CN110312983B (en) | 2018-06-29 | 2018-06-29 | Information acquisition method, system and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110312983B (en) |
WO (1) | WO2020000426A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112102604A (en) * | 2020-09-21 | 2020-12-18 | 安徽银通物联有限公司 | Water meter data self-adaptive periodic uploading method and system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112380065B (en) * | 2020-11-18 | 2023-08-29 | 北京百度网讯科技有限公司 | Data restoration method and device, electronic equipment and storage medium |
CN114698071A (en) * | 2020-12-31 | 2022-07-01 | 维沃移动通信有限公司 | Energy supply method and device and communication equipment |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100259406A1 (en) * | 2009-04-10 | 2010-10-14 | Tenacore Holdings, Inc. | System and method for measuring fluid pressure |
CN102147614A (en) * | 2011-04-26 | 2011-08-10 | 航天科工深圳(集团)有限公司 | Method for monitoring operating condition of monitoring terminal, monitoring terminal and monitoring system |
CN102231070A (en) * | 2011-05-09 | 2011-11-02 | 深圳中兴力维技术有限公司 | Oil engine remote monitoring system and method |
CN102929773A (en) * | 2012-11-07 | 2013-02-13 | 曙光云计算技术有限公司 | Information collection method and device |
CN103177602A (en) * | 2011-12-26 | 2013-06-26 | 上海邮电设计咨询研究院有限公司 | Outdoor parking space remote management device |
CN203027500U (en) * | 2012-11-27 | 2013-06-26 | 深圳中兴力维技术有限公司 | Intelligent device data collecting system achieved on the basis of Zigbee |
CN103294158A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104113691A (en) * | 2014-07-18 | 2014-10-22 | 小米科技有限责任公司 | Shooting method and shooting device |
CN104754710A (en) * | 2015-03-04 | 2015-07-01 | 广东欧珀移动通信有限公司 | Power saving method for device and device |
US20160091954A1 (en) * | 2014-09-29 | 2016-03-31 | Apple Inc. | Low energy processor for controlling operating states of a computer system |
CN105607724A (en) * | 2015-12-22 | 2016-05-25 | 深圳市金立通信设备有限公司 | Terminal control method and terminal |
CN105810194A (en) * | 2016-05-11 | 2016-07-27 | 北京奇虎科技有限公司 | Voice control information acquisition method under standby state and intelligent terminal |
CN105828430A (en) * | 2015-01-08 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Information acquisition and processing method, client and server |
CN106535253A (en) * | 2016-11-23 | 2017-03-22 | 北京必创科技股份有限公司 | Method for dynamic acquisition and transmission of wireless data |
CN107358175A (en) * | 2017-06-26 | 2017-11-17 | 广东欧珀移动通信有限公司 | Method for collecting iris and electronic installation |
CN107466095A (en) * | 2017-08-07 | 2017-12-12 | 上海中信信息发展股份有限公司 | Collecting device power-economizing method and collecting device |
CN107577332A (en) * | 2017-08-09 | 2018-01-12 | 努比亚技术有限公司 | A kind of power consumption control method, mobile terminal and computer-readable recording medium |
CN107734259A (en) * | 2017-10-27 | 2018-02-23 | 努比亚技术有限公司 | It is continuously shot method, mobile terminal and computer-readable recording medium |
CN107817760A (en) * | 2016-09-14 | 2018-03-20 | 大隈株式会社 | Lathe |
CN107832157A (en) * | 2017-12-13 | 2018-03-23 | 深圳天珑无线科技有限公司 | Dynamic power supply management method, mobile terminal and storage medium |
CN107861609A (en) * | 2017-11-22 | 2018-03-30 | 中国南方电网有限责任公司超高压输电公司 | A kind of power supply managing devices and methods therefor for reducing monitoring terminal power consumption |
-
2018
- 2018-06-29 CN CN201880008621.0A patent/CN110312983B/en active Active
- 2018-06-29 WO PCT/CN2018/093827 patent/WO2020000426A1/en active Application Filing
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100259406A1 (en) * | 2009-04-10 | 2010-10-14 | Tenacore Holdings, Inc. | System and method for measuring fluid pressure |
CN102147614A (en) * | 2011-04-26 | 2011-08-10 | 航天科工深圳(集团)有限公司 | Method for monitoring operating condition of monitoring terminal, monitoring terminal and monitoring system |
CN102231070A (en) * | 2011-05-09 | 2011-11-02 | 深圳中兴力维技术有限公司 | Oil engine remote monitoring system and method |
CN103177602A (en) * | 2011-12-26 | 2013-06-26 | 上海邮电设计咨询研究院有限公司 | Outdoor parking space remote management device |
CN103294158A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN102929773A (en) * | 2012-11-07 | 2013-02-13 | 曙光云计算技术有限公司 | Information collection method and device |
CN203027500U (en) * | 2012-11-27 | 2013-06-26 | 深圳中兴力维技术有限公司 | Intelligent device data collecting system achieved on the basis of Zigbee |
CN104113691A (en) * | 2014-07-18 | 2014-10-22 | 小米科技有限责任公司 | Shooting method and shooting device |
US20160091954A1 (en) * | 2014-09-29 | 2016-03-31 | Apple Inc. | Low energy processor for controlling operating states of a computer system |
CN105828430A (en) * | 2015-01-08 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Information acquisition and processing method, client and server |
CN104754710A (en) * | 2015-03-04 | 2015-07-01 | 广东欧珀移动通信有限公司 | Power saving method for device and device |
CN105607724A (en) * | 2015-12-22 | 2016-05-25 | 深圳市金立通信设备有限公司 | Terminal control method and terminal |
CN105810194A (en) * | 2016-05-11 | 2016-07-27 | 北京奇虎科技有限公司 | Voice control information acquisition method under standby state and intelligent terminal |
CN107817760A (en) * | 2016-09-14 | 2018-03-20 | 大隈株式会社 | Lathe |
CN106535253A (en) * | 2016-11-23 | 2017-03-22 | 北京必创科技股份有限公司 | Method for dynamic acquisition and transmission of wireless data |
CN107358175A (en) * | 2017-06-26 | 2017-11-17 | 广东欧珀移动通信有限公司 | Method for collecting iris and electronic installation |
CN107466095A (en) * | 2017-08-07 | 2017-12-12 | 上海中信信息发展股份有限公司 | Collecting device power-economizing method and collecting device |
CN107577332A (en) * | 2017-08-09 | 2018-01-12 | 努比亚技术有限公司 | A kind of power consumption control method, mobile terminal and computer-readable recording medium |
CN107734259A (en) * | 2017-10-27 | 2018-02-23 | 努比亚技术有限公司 | It is continuously shot method, mobile terminal and computer-readable recording medium |
CN107861609A (en) * | 2017-11-22 | 2018-03-30 | 中国南方电网有限责任公司超高压输电公司 | A kind of power supply managing devices and methods therefor for reducing monitoring terminal power consumption |
CN107832157A (en) * | 2017-12-13 | 2018-03-23 | 深圳天珑无线科技有限公司 | Dynamic power supply management method, mobile terminal and storage medium |
Non-Patent Citations (1)
Title |
---|
马小铁等: "周期性数据采集无线传感器网络的设计", 《北京服装学院学报(自然科学版)》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112102604A (en) * | 2020-09-21 | 2020-12-18 | 安徽银通物联有限公司 | Water meter data self-adaptive periodic uploading method and system |
Also Published As
Publication number | Publication date |
---|---|
CN110312983B (en) | 2023-05-09 |
WO2020000426A1 (en) | 2020-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110312983A (en) | Information collecting method, system and storage medium | |
AU2006304756B2 (en) | Automatic detection of unusual consumption by a utility meter | |
CN107957357A (en) | A kind of automatic method of sampling of drainage pipeline water quality and device | |
CN104040942B (en) | For carrying the server end speed limit algorithm that mobile device social activity updates | |
CN103983304A (en) | Watercourse water quality monitoring system and method | |
CN102667665A (en) | Controlling performance state by tracking probe activity level | |
US20190320602A1 (en) | Low power data transmission for sprinkler systems | |
CN104122508B (en) | Online monitoring method for backup power supply system of intelligent power distribution terminal | |
CN106557407A (en) | A kind of monitoring method and device of apparatus of load | |
CN105160519A (en) | Conference room state updating method and updating system | |
US11685281B2 (en) | Demand flexibility optimizing scheduler for EV charging and controlling appliances | |
CN103582093A (en) | Apparatus and method for energy efficient location sensing | |
CN106959386A (en) | A kind of creepage detection method and mobile terminal | |
CN110022529B (en) | Method and device for counting number of people in target area based on two sensing modes | |
WO2019109582A1 (en) | Non-intrusive energy consumption detection method and system | |
AU2021380736A1 (en) | Adaptive polling system and method | |
KR102040070B1 (en) | Advanced metering system, metering device and electirc conduction monitoring method using thereof | |
JP2018055512A (en) | Automatic inspection system, object reading device for automatic inspection system, and control method of automatic inspection system | |
Utomo et al. | Low-energy smart trash bin architecture for dynamic waste collection system | |
US10419832B2 (en) | Detecting an error condition by monitoring a resource flow at a premises | |
JP6325429B2 (en) | ENVIRONMENTAL CHANGE DETECTION SYSTEM, ENVIRONMENTAL CHANGE DETECTION DEVICE, AND ENVIRONMENTAL CHANGE DETECTION METHOD | |
KR100954775B1 (en) | Music recommendation system and method for public places based on sensor network | |
CN205919821U (en) | Road regimen automatic monitoring system based on GPRS | |
US10965403B2 (en) | Gap data collection for low energy devices | |
CN117456709A (en) | Concentrator device, control method, system and medium for carbon metering and multiple-meter integration |
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 |