CN109862530A - Automatic maintenance method and device for sensor nodes - Google Patents

Automatic maintenance method and device for sensor nodes Download PDF

Info

Publication number
CN109862530A
CN109862530A CN201910078217.7A CN201910078217A CN109862530A CN 109862530 A CN109862530 A CN 109862530A CN 201910078217 A CN201910078217 A CN 201910078217A CN 109862530 A CN109862530 A CN 109862530A
Authority
CN
China
Prior art keywords
data
sensor node
sensor
data acquisition
acquisition module
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.)
Withdrawn
Application number
CN201910078217.7A
Other languages
Chinese (zh)
Inventor
郭海雯
刘詟
王明聪
张海飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Uniteddata Holding Group Co ltd
Original Assignee
Guangdong Uniteddata Holding Group 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 Guangdong Uniteddata Holding Group Co ltd filed Critical Guangdong Uniteddata Holding Group Co ltd
Priority to CN201910078217.7A priority Critical patent/CN109862530A/en
Publication of CN109862530A publication Critical patent/CN109862530A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention is suitable for the technical field of sensors and provides an automatic sensor overhauling method and a device, wherein the automatic sensor overhauling method comprises the following steps: detecting whether a sensor node is powered on; if the sensor node is powered on, data acquisition is carried out through a data acquisition module in the sensor node; judging whether the data is missing; if the data is not missing, judging whether the data is in a preset range; if the data is not in the preset range, automatically repairing the sensor node; the sensor node is electrified and then detected, data analysis is carried out according to collected data, different modes are adopted to repair the sensor node according to different analysis results, physical faults are repaired through manual on-site overhaul, other faults can be automatically overhauled, the working intensity of maintenance personnel is greatly reduced, the labor cost and the time cost are saved, and the working efficiency is effectively improved.

Description

A kind of automatic repair method of sensor node and device
Technical field
The invention belongs to sensor technical field more particularly to a kind of automatic repair methods of sensor and device.
Background technique
Sensor is a kind of very widely used component, and type is very diversified.With the hair of technology of Internet of things Also there is a possibility that more potential in the application of exhibition, sensor.Such as under scenes of internet of things, it can be adopted by sensor Collect information (such as temperature, humidity, air index, illumination, pyrotechnics of environment etc.), and carries out telecommunication and supervise by network Control.When deployment in the scene, often by multiple sensors together with micro-control unit (Microcontroller Unit, abbreviation MCU), circuit board be encapsulated in a module together, constitute a sensor node.Various sensor acquisitions Corresponding data, and data processing and communication are uniformly carried out by micro-control unit.And according to demand, it may be arranged in the scene Thousands of similar sensor nodes.
Sensor node may generate all kinds of failures during the work time, such as certain sensor failures in node, or The data of acquisition have apparent error etc..In the prior art when finding such failure, maintenance personal can only be assigned to carry out live inspection Repair operation.However, the mode manually overhauled then needs to expend huge human cost and time when the enormous amount of sensor Cost, inefficiency.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of automatic repair method of sensor node and device, to solve The technical problem low using artificial overhaul efficiency in the prior art.
The first aspect of the embodiment of the present invention provides a kind of automatic repair method of sensor node, comprising:
Whether detection sensor node powers on;
If the sensor node powers on, data are carried out by the data acquisition module in the sensor node and are adopted Collection;
Judge whether data lack;
If the data do not lack, judge the data whether in preset range;
If the data in the preset range, are not automatically repaired the sensor node.
The second aspect of the embodiment of the present invention provides a kind of sensor node automatic inspection device, comprising:
Whether first detection module powers on for detection sensor node;
Data acquisition module, for carrying out data acquisition;
First judgment module, for judging whether data lack;
Second judgment module, for judging the data whether in preset range;
Automatic repairing module, for being automatically repaired to the sensor node.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the above method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage The step of media storage has computer program, and the above method is realized when the computer program is executed by processor.
The embodiment of the present invention compared with prior art existing beneficial effect at least that: powered in sensor node laggard Row detection, carries out data analysis according to the collected data, and difference based on the analysis results and take different modes to come to biography Sensor node is repaired, and wherein physical fault is completed by artificial site examining and repairing, and other failures can then overhaul automatically At, the working strength of maintenance personal is greatly reduced, human cost and time cost are saved, effectively increases working efficiency, And then is conducive to scenes of internet of things and realizes unmanned and automation comprehensively.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the structural schematic diagram of sensor node provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram that sensor node provided in an embodiment of the present invention is interacted with background system;
Fig. 3 is the implementation process schematic diagram one of the automatic repair method of sensor provided in an embodiment of the present invention;
Fig. 4 is the implementation process schematic diagram two of the automatic repair method of sensor provided in an embodiment of the present invention;
Fig. 5 is the exemplary diagram one of sensor automatic inspection device provided in an embodiment of the present invention;
Fig. 6 is the exemplary diagram two of sensor automatic inspection device provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 is the structural schematic diagram of the first sensor node 10 provided in an embodiment of the present invention.Sensor node is used for It is arranged in environment to be monitored, such as can be set in data center machine room, for is monitored to data center machine room.Number It can according to need setting multiple sensor nodes 10 (in order to which each position to data center machine room is played according to central machine room Good monitoring effect, the quantity of sensor node 10 can generally achieve thousands of).Sensor node 10 includes data The modules such as acquisition module 11, micro-control unit 12 and circuit board 13, data acquisition module 11 and micro-control unit 12 are respectively provided with On circuit board 13, and data acquisition module 11 and micro-control unit 12 connect.Wherein data acquisition module 11 includes at least one A sensor, for acquiring environmental data, such as data acquisition module 11 may include temperature sensor, humidity sensor and At least one of light sensor, the quantity of every kind of sensor can be one, or multiple.
Referring to Fig. 1, in one embodiment, micro-control unit 12 has enough data-handling capacities, therefore can be with The data that acquisition module 11 acquires for receiving data, and data analysis is carried out, so that subsequent can based on the analysis results next pair Sensor node 10 carries out corresponding operating, realizes automatic detection and maintenance to sensor node 10.
Referring to Fig. 2, in one embodiment, micro-control unit 12 also has wireless communication function, can be with backstage System carries out wireless communication.The data-handling capacity of micro-control unit 12 is limited at this time, can not acquire to data acquisition module 11 Data are analyzed, it is therefore desirable to received data are sent in background system 20, background system 30 then can be to received Data carry out data analysis, so as to come to carry out corresponding operating to sensor node 10 based on the analysis results, realize to sensing The automatic detection and maintenance of device node 10.
Fig. 3 is the implementation process schematic diagram of the automatic repair method of the first sensor node provided in this embodiment, the party Method can be executed by sensor node automatic inspection device, and sensor node automatic inspection device is configured in terminal device, can By software realization, can also can also be realized jointly by software and hardware by hardware realization.As shown in figure 3, sensor node is certainly Dynamic repair method may include following steps:
Step S11: whether detection sensor node powers on.
Herein sensor node 10 power on can be for the first time starting when power on, be also possible to restarting when again on Electricity.Due to being failure high-incidence period when sensor node 10 powers on, it is carried out after sensor node 10 powers on certainly Dynamic detection and reparation, facilitate the normal work for ensuring detector node 10, and can solve a problem promptly after the failure that generates electricity, Be conducive to carry out data acquisition.
If illustrating that sensor node 10 does not work, there is no need to carry out when sensor node 10 is not detected powering on Subsequent step.
If detect that sensor node 10 powers on, it is intended to acquire data by sensor node 10, therefore It can proceed with following steps:
Step S12: data acquisition is carried out by the data acquisition module in sensor node.
Data acquisition module is used to be acquired the data of environment where sensor node, different according to demand, data The difference of sensor type in acquisition module, the data type of acquisition are also different.For example, when needing to supervise the temperature of environment When survey, data acquisition module then includes temperature sensor, and the data type acquired at this time is then temperature data;When needing to environment Humidity when being monitored, data acquisition module then includes humidity sensor, and the data type acquired at this time is then humidity data; When needing the intensity of illumination to environment to be monitored, data acquisition module then includes light sensor, the data acquired at this time Type is then intensity of illumination data.For another example, when needing temperature, humidity and intensity of illumination to environment to be all monitored, number It then simultaneously include temperature sensor, humidity sensor and light sensor according to acquisition module, so as to temperature collection simultaneously Data, humidity data and intensity of illumination data.Certainly, data acquisition module can also include other kinds of sensor, and It is not limited only to above-mentioned situation, herein with no restrictions.
After the monitoring data for obtaining environment by data acquisition module, need to carry out data analysis.
In one embodiment, when the micro-control unit 12 in sensor node 10 has enough data-handling capacities When, then the data of acquisition can be sent to micro-control unit 12 and carry out data analysis.
In one embodiment, the data-handling capacity of the micro-control unit 12 in sensor node 10 is insufficient, can not be right Data are analyzed and processed, therefore received data are wirelessly sent in background system 20 by micro-control unit 12, System 20 will then be analyzed received data the day after tomorrow, and corresponding control instruction is postbacked into sensor node 10, so that Sensor node 10 executes command adapted thereto, realizes automaticly inspecting and repairing to sensor node 10.
Step S13: judge whether data lack.
When carrying out data analysis, can first determine whether data acquisition module whether can normal acquisition data, to sentence Whether link sensor node 10 can only could be completed by manually overhauling.This is because if the failure of sensor node 10 be by It is caused in physical problem (such as electric connection disconnection of sensor, sensor hardware failure lamp in data acquisition module) , it, can only could be to sensor node by way of manually overhauling then can not then be completed by way of being automatically repaired 10 are repaired, so as to avoid subsequent invalid operation.And judge whether the failure of sensor node 10 is that physical problem is made At an important way be exactly to see whether data acquisition module being capable of normal acquisition data.
If the received shortage of data of micro-control unit 12, mean data acquisition module can not normal acquisition data, The failure for being so assured that sensor node 10 is that physical problem causes, it is therefore desirable to be followed the steps below:
Step S14: information of giving notice manually is overhauled with instruction.Notification information herein can be written form (such as pass through micro-control unit 12 and send text information to background system) is also possible to speech form and (such as passes through microcontroller Unit 12 sends voice messaging to background system), be also possible to sound an alarm (such as can be the sensor node 10 and issue police Sound is reported, is also possible to through transmission audio warning of micro-control unit 12 to background system etc.) etc., herein with no restrictions.Work as dimension After the personnel of repairing receive the notification information, then know that physical fault occurs in sensor node 10, needs to carry out field maintenance.
It should be understood that the shortage of data caused by herein can be the shortage of data of entire data acquisition module, it can also To be the shortage of data of some sensor in data acquisition module.For example, when lacking temperature data in data collected, then Mean that physical fault occurs in temperature sensor in data acquisition module, needs manually to repair temperature sensor;When When lacking humidity data in data collected, then mean that physical fault occurs in humidity sensor in data acquisition module, It needs manually to repair humidity sensor;When lacking intensity of illumination data in data collected, then mean data There is physical fault in light sensor in acquisition module, needs manually to repair light sensor;Work as data acquisition module When the data of all the sensors lack in block, then mean that physical fault occurs in the sensor of data acquisition module, needs All the sensors are manually repaired.
If data do not lack, mean that respective sensor can work in data acquisition module, then follow the steps below:
Step S15: judge data whether in preset range.
Preset range herein is pre-set numberical range, and preset range is corresponding with data type.Such as when When data type is temperature data, preset range is then preset temperature range;When data type is humidity data, model is preset It encloses, is preset humidity range;When data type is intensity of illumination data, preset range is then preset intensity of illumination model It encloses.Preset range can reflect the data area that respective sensor acquires in normal work, if data are within a preset range, Then:
Step S17: determine that sensor node is working properly, it is meant that respective sensor can be normal in data acquisition module Data are acquired, at this time return step S12, continues data acquisition.
If data within a preset range, can not determine that sensor node can not work normally, then:
Step S16: sensor node is automatically repaired.Referring to Fig. 4, the process being automatically repaired can be as follows:
Step S161: judge whether the power supply of data acquisition module is normal.
According to the difference of data type, the type of sensor is also different in data acquisition module.For example, when there is exception When data are temperature data, then mean that temperature sensor can not work normally, and need to repair temperature sensor at this time, Therefore when whether the power supply for judging data acquisition module is normal, it is only necessary to whether normally i.e. to judge the power supply of temperature sensor Can, without judging the electric power thus supplied of other sensors in data acquisition module.It similarly, is humidity number when there are abnormal data According to when, then mean that humidity sensor or light sensor can not work normally, and need to repair humidity sensor at this time, Therefore when whether the power supply for judging data acquisition module is normal, it is only necessary to whether normally i.e. to judge the power supply of humidity sensor Can, without judging the electric power thus supplied of other sensors in data acquisition module.It is intensity of illumination number when there are abnormal data According to when, then mean that light sensor can not work normally, and need to repair light sensor at this time, therefore judging number When whether normal according to the power supply of acquisition module, it is only necessary to judge whether the power supply of light sensor is normal, without judgement The electric power thus supplied of other sensors in data acquisition module.Certainly, it when numerous types of data occurs abnormal, then needs to detect The electric power thus supplied of corresponding multiple sensors.
In the electric power thus supplied for judging data acquisition module, it is only necessary to corresponding sensor be allowed to read input voltage automatically Numerical value, and the voltage value is compared with preset voltage data, you can learn that whether its power supply is normal.
If the abnormal electrical power supply of respective sensor in data acquisition module means that data acquisition module can not normal acquisition Caused by data are abnormal electrical power supply, therefore the failure can be repaired by following steps:
Step S162: the power supply of data acquisition module is resetted.I.e. to respective sensor in data acquisition module into Row is powered again, so that sensor is reset to initial setting up.
If the power supply of respective sensor is normal in data acquisition module, mean that data acquisition module can not normal acquisition Caused by data are likely to be software fault, the failure can be repaired by following steps at this time:
Step S163: control sensor node is restarted, and is back to step S11, to re-start automatic maintenance.
It should be understood that sensor node 10 can generate a large amount of data during normal work, generate every time Data can also be overhauled automatically with S12 through the above steps to step S17, so as to carry out troubleshooting in time.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
The beneficial effect of the automatic repair method of sensor node provided in an embodiment of the present invention at least that: in sensor section Point 10 is detected after powering on, and carries out data analysis according to the collected data, and difference based on the analysis results and take difference Mode sensor node 10 is repaired, wherein physical fault is completed by artificial site examining and repairing, and other failures are then Completion can be overhauled automatically, greatly reduces the working strength of maintenance personal, saved human cost and time cost, effectively mentioned High working efficiency, and then be conducive to scenes of internet of things and realize unmanned and automation comprehensively.
Referring to Fig. 5, the purpose of the embodiment of the present invention, which also resides in, provides a kind of sensor node automatic inspection device 30, packet Include first detection module 31, data acquisition module 32, first judgment module 33, the second judgment module 34 and automatic repairing module 35, wherein whether first judgment module 33 powers on for detection sensor node, and data acquisition module 32 is adopted for carrying out data Collection, first judgment module 33 is for judging whether data lack, and whether the second judgment module 34 is for judging data in default model It encloses, automatic repairing module 35 is for being automatically repaired sensor node.
When detection powers on, powering on for sensor node 10 powers on first detection module 31 when can be starting for the first time, It is re-powered when can be restarting.Due to being failure high-incidence period when sensor node 10 powers on, in sensor section Point 10 carries out automatic detection and rehabilitation after powering on to it, facilitates the normal work for ensuring detector node 10, and generating electricity It can solve a problem promptly after failure, be conducive to carry out data acquisition.
If first detection module 31 detects that sensor node 10 powers on, it is intended to adopt by sensor node 10 Collect data, therefore data acquisition module 32 can be continued through and carry out data acquisition.Data acquisition module 32 is used for sensor section The data of 10 place environment of point are acquired, different according to demand, the difference of sensor type in data acquisition module 32, acquisition Data type it is also different.For example, data acquisition module 32 then includes that temperature passes when needing the temperature to environment to be monitored Sensor, the data type acquired at this time are then temperature data;When needing the humidity to environment to be monitored, data acquisition module 32 include humidity sensor, and the data type acquired at this time is then humidity data;When needing to carry out to the intensity of illumination of environment When monitoring, data acquisition module 32 includes then light sensor, and the data type acquired at this time is then intensity of illumination data.Again Such as, when needing temperature, humidity and intensity of illumination to environment to be all monitored, data acquisition module 32 then includes temperature simultaneously Sensor, humidity sensor and light sensor are spent, it is strong so as to temperature collection data, humidity data and illumination simultaneously Degree evidence.Certainly, data acquisition module 32 can also include other kinds of sensor, be not limited in above-mentioned situation, this Place is with no restrictions.
After the monitoring data for obtaining environment by data acquisition module, need to carry out data analysis.
When carrying out data analysis, it can judge that data acquisition module 32 whether can by first judgment module 33 first Normal acquisition data, to judge whether sensor node 10 can only could be completed by manually overhauling.This is because if passing The failure of sensor node 10 is due to physical problem (such as the electric connection disconnection of sensor, sensor in data acquisition module Hardware failure lamp) caused by, it, can only be by the side manually overhauled then can not then be completed by way of being automatically repaired Formula could repair sensor node 10, so as to avoid subsequent invalid operation.And judge the event of sensor node 10 Whether barrier is an important way caused by physical problem is exactly to see whether data acquisition module 32 being capable of normal acquisition data.
If shortage of data occurs in the judgement of first judgment module 33, mean that data acquisition module 32 can not normal acquisition Data, then being assured that the failure of sensor node 10 is that physical problem causes, it is therefore desirable to be sent out by notification module 36 It puts up a notice information, is manually overhauled with instruction.Notification information herein can be written form, be also possible to speech form, It is also possible to sound an alarm, herein with no restrictions.After maintenance personal receives the notification information, then sensor node 10 is known There is physical fault, needs to carry out field maintenance.It should be understood that the shortage of data caused by herein can be entire data The shortage of data of acquisition module is also possible to the shortage of data of some sensor in data acquisition module.
If first judgment module 33 judges that data do not lack, mean that respective sensor can in data acquisition module 32 Whether work, then need to judge data in preset range by the second judgment module 34.Preset range herein is to preset Numberical range, and preset range is corresponding with data type.Such as when data type is temperature data, preset range is then Preset temperature range;When data type is humidity data, preset range is then preset humidity range;When data type is When intensity of illumination data, preset range is then preset intensity of illumination range.Preset range can reflect respective sensor just The data area often acquired when work, if data are within a preset range, it is determined that sensor node is working properly, it is meant that data Respective sensor being capable of normal acquisition data in acquisition module.
If the second judgment module 34 judges that data within a preset range, can not determine that sensor node 10 can not be normal Work, needs to be automatically repaired sensor node 10 by automatic repairing module at this time.
Referring to Fig. 6, in one embodiment, automatic repairing module 35 include judging unit 351, reset unit 352 with And restart unit 353, wherein judging unit 351 is for judging whether the power supply of data acquisition module 32 is normal, reset unit 352 It is resetted for the power supply to data acquisition module, restarts unit 353 for restarting to sensor node 10.
According to the difference of data type, the type of sensor is also different in data acquisition module 32.For example, abnormal when occurring Data be temperature data when, then mean that temperature sensor can not work normally, and need to repair temperature sensor at this time It is multiple, therefore when whether the power supply for judging data acquisition module normal, judging unit 351 only needs to judge the confession of temperature sensor Whether electricity is normal, without judging the electric power thus supplied of other sensors in data acquisition module.Similarly, when appearance exception When data are humidity data, then mean that humidity sensor or light sensor can not work normally at this time, needs to pass humidity Sensor is repaired, therefore when whether the power supply for judging data acquisition module is normal, judging unit 351 only needs to judge humidity Whether the power supply of sensor is normal, without judging the electric power thus supplied of other sensors in data acquisition module.Work as appearance When abnormal data are intensity of illumination data, then mean that light sensor can not work normally, and need to light level at this time Device is repaired, therefore when whether the power supply for judging data acquisition module is normal, and judging unit 351 only needs to judge that light passes Whether the power supply of sensor is normal, without judging the electric power thus supplied of other sensors in data acquisition module.Certainly, when more When kind data type occurs abnormal, then need to detect the electric power thus supplied of corresponding multiple sensors, while needing judging unit 351 pairs of respective sensors understand a little whether be normally carried out judgement.
Judging unit 351 is when judging the electric power thus supplied of data acquisition module 32, it is only necessary to make corresponding sensor automatic The numerical value of input voltage is read, and the voltage value is compared with preset voltage data, you can learn that whether it powers Normally.
If judging unit 351 judges the abnormal electrical power supply of respective sensor in data acquisition module 32, mean that data obtain Modulus block 32 can not normal acquisition data be caused by abnormal electrical power supply, therefore can be by reset unit 352 to data acquisition module The power supply of respective sensor is resetted in 32, so that sensor is reset to initial setting up.
If judging unit 351 judges that the power supply of respective sensor in data acquisition module 32 is normal, mean that data obtain Modulus block 32 can not be controlled caused by normal acquisition data are likely to be software fault by restarting unit 353 at this time Sensor node 10 is restarted, and re-starts automatic maintenance.
It should be understood that sensor node 10 can generate a large amount of data during normal work, generate every time Data can also be overhauled automatically by the sensor node automatic inspection device, so as to carry out failure in time It excludes.
The beneficial effect of sensor node automatic inspection device provided in an embodiment of the present invention at least that: in sensor section Point 10 is detected after powering on by first detection module 31, carries out data analysis according to the collected data, and tie according to analysis The difference of fruit and take different modes to repair to sensor node 10, wherein physical fault is logical by notification module 36 Know that maintenance personal's site examining and repairing is completed, and other failures can then have been overhauled automatically by sensor node automatic inspection device 30 At, the working strength of maintenance personal is greatly reduced, human cost and time cost are saved, effectively increases working efficiency, And then is conducive to scenes of internet of things and realizes unmanned and automation comprehensively.
Fig. 7 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in fig. 7, the terminal of the embodiment is set Standby 6 include: processor 60, memory 61 and are stored in the computer that can be run in the memory 61 and on processor 60 Program 62, such as the automatic overhaul procedure of sensor node.The processor 60 is realized above-mentioned when executing the computer program 62 Step in each automatic repair method embodiment of sensor node, such as step S11 to S17 shown in Fig. 3.Alternatively, described Processor 60 realizes the function of each module/unit in above-mentioned each Installation practice, such as Fig. 5 when executing the computer program 62 The function of shown module 31 to 36.
Illustratively, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 62 in the terminal device 6 is described.For example, the computer program 62 can be divided Be cut into synchronization module, summarizing module, obtain module, return module (module in virtual bench) etc..
The terminal device 6 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 The only example of terminal device 6 does not constitute the restriction to terminal device 6, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 61 can be the internal storage unit of the terminal device 6, such as the hard disk or interior of terminal device 6 It deposits.The memory 61 is also possible to the External memory equipment of the terminal device 6, such as be equipped on the terminal device 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6 Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the terminal device Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of automatic repair method of sensor node characterized by comprising
Whether detection sensor node powers on;
If the sensor node powers on, data acquisition is carried out by the data acquisition module in the sensor node;
Judge whether data lack;
If the data do not lack, judge the data whether in preset range;
If the data in the preset range, are not automatically repaired the sensor node.
2. the automatic repair method of sensor node as described in claim 1, which is characterized in that described to pass through the sensor section Sensor in point carries out data acquisition, judges whether after obtaining data step further include:
If the shortage of data, information of giving notice manually is overhauled with instruction;
It is described to judge the data whether after preset range step further include:
If the data are in the preset range, it is determined that the sensor node is working properly, and is back to through the biography Sensor in sensor node carries out data collection steps.
3. the automatic repair method of sensor node as described in claim 1, which is characterized in that described to the sensor node Carry out being automatically repaired step include:
Judge whether the power supply of the data acquisition module is normal;
If the abnormal electrical power supply of the data acquisition module resets the power supply of the data acquisition module;
If the power supply of the data acquisition module is normal, controls the sensor node and restart, and is back to the detection and passes Whether sensor node powers on step.
4. the automatic repair method of sensor node as described in claim 1, which is characterized in that described to pass through the sensor section Whether data acquisition module in point carries out data collection steps and described judges data between deletion procedure further include:
The data are sent to the micro-control unit of the sensor node;
Alternatively, the data are sent to background system.
5. such as the automatic repair method of the described in any item sensor nodes of Claims 1 to 4, which is characterized in that the data packet Include temperature data and/or humidity data and/or intensity of illumination data.
6. a kind of sensor node automatic inspection device characterized by comprising
Whether first detection module powers on for detection sensor node;
Data acquisition module, for carrying out data acquisition;
First judgment module, for judging whether data lack;
Second judgment module, for judging the data whether in preset range;
Automatic repairing module, for being automatically repaired to the sensor node.
7. sensor node automatic inspection device as claimed in claim 6, which is characterized in that the data acquisition module includes Temperature sensor and/or humidity sensor and/or light sensor.
8. sensor node automatic inspection device as claimed in claims 6 or 7, which is characterized in that the automatic repairing module Include:
Whether judging unit, the power supply for judging the data acquisition module are normal;
Reset unit is resetted for the power supply to the data acquisition module;
Unit is restarted, for restarting to the sensor node.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201910078217.7A 2019-01-28 2019-01-28 Automatic maintenance method and device for sensor nodes Withdrawn CN109862530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910078217.7A CN109862530A (en) 2019-01-28 2019-01-28 Automatic maintenance method and device for sensor nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910078217.7A CN109862530A (en) 2019-01-28 2019-01-28 Automatic maintenance method and device for sensor nodes

Publications (1)

Publication Number Publication Date
CN109862530A true CN109862530A (en) 2019-06-07

Family

ID=66896355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910078217.7A Withdrawn CN109862530A (en) 2019-01-28 2019-01-28 Automatic maintenance method and device for sensor nodes

Country Status (1)

Country Link
CN (1) CN109862530A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114689113A (en) * 2020-12-30 2022-07-01 河北省应急管理科学研究院(河北省危险化学品登记注册中心) Diagnosis method of gas tank
CN115361321A (en) * 2022-08-17 2022-11-18 中国工商银行股份有限公司 Message alarm system, message alarm processing method, device and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114689113A (en) * 2020-12-30 2022-07-01 河北省应急管理科学研究院(河北省危险化学品登记注册中心) Diagnosis method of gas tank
CN115361321A (en) * 2022-08-17 2022-11-18 中国工商银行股份有限公司 Message alarm system, message alarm processing method, device and medium

Similar Documents

Publication Publication Date Title
US20090179662A1 (en) System for Monitoring Individual Photovoltaic Modules
CN110456725A (en) A kind of monitoring method of PLC device, device and intelligent terminal
CN104796273A (en) Method and device for diagnosing root of network faults
CN116980958B (en) Radio equipment electric fault monitoring method and system based on data identification
CN115865649B (en) Intelligent operation and maintenance management control method, system and storage medium
CN109862530A (en) Automatic maintenance method and device for sensor nodes
CN104461820A (en) Equipment monitoring method and device
CN112234707B (en) High-energy synchrotron radiation light source magnet power failure recognition system
CN111341063A (en) Intelligent control system, method and device for safety early warning and monitoring of electric equipment and terminal equipment
CN109412902A (en) A kind of intelligent monitoring method of power dispatch data network system, storage equipment, terminal and system
CN108667652A (en) A kind of telecontrol communication machine standby machine handoff-security module and its switching method
CN205941032U (en) Commodity inspection system for split inner unit of air conditioner
CN104504537B (en) A kind of transformer station's AC power monitoring system and method
CN117077594B (en) Method, system, computer equipment and medium for monitoring simulation accelerator
CN113487182A (en) Equipment health state evaluation method and device, computer equipment and medium
CN114189506A (en) Equipment inspection method, device and system
CN113740666A (en) Method for positioning storm source fault of data center power system alarm
CN109597389A (en) A kind of test macro of embedded control system
CN107645387A (en) A kind of Internet of Things faulty equipment detecting system
CN113946465A (en) Big data fault processing method and related equipment thereof
CN104579745A (en) Mobile terminal and network inspection system
CN110733037B (en) Signal processing method and device, storage medium and processor
CN111274089B (en) Server abnormal behavior perception system based on bypass technology
CN113300918A (en) Fault detection method of intelligent lamp pole, terminal device and storage medium
CN115544202A (en) Alarm processing method, device and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190607

WW01 Invention patent application withdrawn after publication