CN107995255A - A kind of method and its system of remote monitoring intelligent cabinet - Google Patents

A kind of method and its system of remote monitoring intelligent cabinet Download PDF

Info

Publication number
CN107995255A
CN107995255A CN201711011903.XA CN201711011903A CN107995255A CN 107995255 A CN107995255 A CN 107995255A CN 201711011903 A CN201711011903 A CN 201711011903A CN 107995255 A CN107995255 A CN 107995255A
Authority
CN
China
Prior art keywords
time
intelligent cabinet
background server
cabinet
call duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711011903.XA
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.)
Shenzhen Hive Box Technology Co Ltd
Original Assignee
Shenzhen Hive Box Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hive Box Technology Co Ltd filed Critical Shenzhen Hive Box Technology Co Ltd
Priority to CN201711011903.XA priority Critical patent/CN107995255A/en
Publication of CN107995255A publication Critical patent/CN107995255A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Cardiology (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention discloses a kind of method and its system of remote monitoring intelligent cabinet, and method includes step:Intelligent cabinet sends heartbeat request every first scheduled time to background server, and the unique mark of intelligent cabinet is carried in the heartbeat request;After background server receives the heartbeat request, the last time call duration time of corresponding intelligent cabinet is updated to by current time according to the unique mark;Background server obtains the last time call duration time of intelligent cabinet every second scheduled time, and calculates the time difference of current time and last time call duration time;When the time difference is less than or equal to time threshold, then judge that signal is normal;When the time difference is more than time threshold, then judges abnormal signal and corresponding intelligent cabinet is labeled as malfunction, and send alarm.By means of the invention it is possible to effective real-time monitoring intelligent cabinet, monitored results are with a high credibility, not error-prone and notify maintenance personnel in time.Personnel's timely processing failure is maintained easily, improves efficiency.

Description

A kind of method and its system of remote monitoring intelligent cabinet
Technical field
The present invention relates to intelligent cabinet field, more particularly to a kind of method and its system of remote monitoring intelligent cabinet.
Background technology
With the development of science and technology, intelligent cabinet is throughout industry-by-industry.Such as accessing the intelligent express delivery of express delivery Cabinet, for storing and heating the intelligent dresser of user's box lunch, for selling the intelligent selling cabinet of beverage or food, for depositing The intelligent storage cabinet of goods putting thing, for the intelligence self-carry cabinet of supermarket's client's picking, it is fresh cold to access fresh intelligence for user Cabinet, the intelligence lease cabinet for rented goods etc..
The quantity of above-mentioned intelligent cabinet can be more and more with the demand of people, and the normal operation of intelligent cabinet is, it is necessary to which backstage takes Business device monitors it in real time.But the monitored results of existing method are unstable, and easily occur the normal mistiming of intelligent cabinet respond with and Situation about being failed to report during intelligent cabinet failure.
Therefore, the prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of remote monitoring intelligent cabinet method and Its system, it is intended to solve that intelligent cabinet monitored results are unstable in the prior art and the normal mistiming of intelligent cabinet easily occur and respond with And the problem of being failed to report during intelligent cabinet failure.
Technical scheme is as follows:
A kind of method of remote monitoring intelligent cabinet, wherein, including step:
A, intelligent cabinet sends heartbeat request every first scheduled time to background server, is carried in the heartbeat request The unique mark of intelligent cabinet;
B, after background server receives the heartbeat request, according to the unique mark by corresponding intelligent cabinet last Secondary call duration time is updated to current time;
C, background server obtains the last time call duration time of intelligent cabinet every second scheduled time, and when calculating current Between time difference with last time call duration time;
D, when the time difference is less than or equal to time threshold, then judge that signal is normal;When the time difference is big When time threshold, then judge abnormal signal and corresponding intelligent cabinet is labeled as malfunction, and send alarm.
Preferably, abnormal signal is then judged, and send when the time difference is more than time threshold in the step D Alarm specifically includes:
D1, when the time difference is more than time threshold, then judge abnormal signal, and the number of abnormal signal is added 1;
D2, judge whether the number of abnormal signal exceedes frequency threshold value, if then being alerted, return to step C if not.
Preferably, in the step D when the time difference is less than or equal to time threshold, then judge signal just often with Body includes:
D1 ', when the time difference is less than or equal to time threshold, then judge that corresponding intelligent cabinet signal is normal;
D2 ', according to unique mark inquire about whether corresponding intelligent cabinet is malfunction;
D3 ' if, corresponding intelligent cabinet be malfunction, correspondence intelligent cabinet is changed to recovery state, and it is extensive to send signal Multiple notice.
Preferably, the step B is specifically included:
After B1, background server receive the heartbeat request, corresponding cabinet-type air conditioner list is inquired about according to the unique mark, with And obtain current time;
B2, by the last time call duration time that intelligent cabinet is corresponded in cabinet-type air conditioner list be updated to current time.
Preferably, the step C is specifically included:
C1, background server start a monitor task every second scheduled time;
After C2, monitor task start, cabinet-type air conditioner list is traveled through;
C3, the current time for calculating each intelligent cabinet and the time difference of last time call duration time.
Preferably, in the step B, when background server receives other requests in addition to heartbeat request, according to institute State unique mark and the last time call duration time of corresponding intelligent cabinet is updated to current time.
Preferably, in the step B2, the mode of renewal last time call duration time is asynchronous execution.
Preferably, further included after the step D:
Background server establish monitoring visual page, and it is described monitoring visual page on show heartbeat loss and it is extensive Multiple record.
The present invention also provides a kind of system of remote monitoring intelligent cabinet, wherein, including intelligent cabinet and background server;It is described Intelligent cabinet includes heartbeat module, and the background server includes update module, computing module and judgment module;Wherein,
Heartbeat module, for sending heartbeat request to background server every first scheduled time, in the heartbeat request Carry the unique mark of intelligent cabinet;
Update module, after receiving the heartbeat request, the last of intelligent cabinet will be corresponded to according to the unique mark One time call duration time is updated to current time;
Computing module, for obtaining the last time call duration time of intelligent cabinet every second scheduled time, and calculates last The time difference of call duration time and current time;
Judgment module, for when the time difference is less than or equal to time threshold, then judging that signal is normal;When described When time difference is more than time threshold, then judges abnormal signal and corresponding intelligent cabinet is labeled as malfunction, and send alarm.
Preferably, will according to the unique mark when background server receives other requests in addition to heartbeat request The last time call duration time of corresponding intelligent cabinet is updated to current time.
Beneficial effect:, can effectively and real-time monitoring intelligent cabinet by method provided by the invention and system, monitoring Credible result degree is high, not error-prone and can notify maintenance personnel in time.Personnel's timely processing failure is maintained easily, improves effect Rate.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method preferred embodiment of remote monitoring intelligent cabinet of the present invention.
Fig. 2 is a kind of flow chart of the method specific embodiment of remote monitoring intelligent cabinet of the present invention.
Fig. 3 is a kind of remote monitoring intelligent cabinet system concrete structure block diagram of the present invention.
Embodiment
The present invention provides a kind of method and its system of remote monitoring intelligent cabinet, to make the purpose of the present invention, technical solution And effect is clearer, clear and definite, the present invention is described in more detail below.It should be appreciated that specific implementation described herein Example is not intended to limit the present invention only to explain the present invention.
Fig. 1 is refer to, Fig. 1 is a kind of preferable flow chart of the method for remote monitoring intelligent cabinet of the present invention, it includes step:
S1, intelligent cabinet send heartbeat request every first scheduled time to background server, are carried in the heartbeat request There is the unique mark of intelligent cabinet;
After S2, background server receive the heartbeat request, the last of intelligent cabinet will be corresponded to according to the unique mark One time call duration time is updated to current time;
S3, background server obtain the last time call duration time of intelligent cabinet every second scheduled time, and calculate current Time and the time difference of last time call duration time;
S4, when the time difference is less than or equal to time threshold, then judge signal it is normal;When the time difference is big When time threshold, then judge abnormal signal and corresponding intelligent cabinet is labeled as malfunction, and send alarm.
Method provided by the invention, is capable of the operating status of simple, effective and real-time monitoring intelligent cabinet, monitored results can Reliability is high, not error-prone.According to monitoring as a result, it is possible to timely understand the state of intelligent cabinet, when breaking down, backstage takes Business device can send alarm automatically, and maintenance personnel can timely safeguard according to fault condition, improve efficiency.
In the step S1, the unique mark of the intelligent cabinet is preferably the ID of intelligent cabinet.Needed before step S1 is performed Intelligent cabinet is encoded, the purpose of coding is to allow intelligent cabinet to have an ID of itself, can facilitate follow-up management And safeguard.Coding mode can use digital coding, such as 00 grade or use alpha code, such as AA etc., also may be used Be numeral with letter mixing, such as 0A, A0 etc..
In the step S1, first scheduled time can be system default or user is set in advance. For example, set for first scheduled time as 3 minutes, then, intelligent cabinet just sent a heartbeat at interval of 3 minutes to background server Request;Set for first scheduled time as 7 minutes, then, intelligent cabinet just sent a heartbeat at interval of 7 minutes to background server Request.Preferred embodiments of the present invention are that first scheduled time was set as 5 minutes, that is, intelligent cabinet at interval of 5 minutes just to Background server sends a heartbeat request.
Intelligent cabinet can be together sent the ID of itself to background server when sending heartbeat request, that is to say, that backstage For server after the heartbeat request of intelligent cabinet transmission is received, background server can distinguish different intelligence according to intelligent cabinet ID Cabinet, can make different judgements according to different ID.
The intelligent cabinet can be intelligent express delivery cabinet, intelligent dresser, intelligent selling cabinet, intelligent storage cabinet, intelligence lease Cabinet, the fresh refrigerator of intelligence and intelligence self-carry cabinet etc..
In the step S2, background server is after the heartbeat request of intelligent cabinet transmission is received, by the last of intelligent cabinet One time call duration time is changed to current time.For example, first scheduled time was 5 minutes, intelligent cabinet is 09:It has sent once when 25 Heartbeat request, and entrained ID is 00, then after background server receives the heartbeat request of intelligent cabinet transmission, be by ID The last time call duration time of 00 intelligent cabinet is changed to 09:25;Then intelligent cabinet is 09:It has sent when 30 to background server Heartbeat request, and entrained ID be 00, then background server receive intelligent cabinet transmission heartbeat request after, The last time call duration time for the intelligent cabinet that ID is 00 is changed to 09:30.
And so on, for different intelligent cabinet, it is only necessary to during according to unique mark to communicate to the last time of intelligent cabinet Between be updated.
Preferably, the step S2 is specifically included:
After S21, background server receive the heartbeat request, corresponding cabinet-type air conditioner list is inquired about according to the unique mark, And obtain current time;
S22, by the last time call duration time that intelligent cabinet is corresponded in cabinet-type air conditioner list be updated to current time.
In the step S21, background server, which is safeguarded, a cabinet-type air conditioner list, and intelligent cabinet is contained in cabinet-type air conditioner list The last time call duration time of id information and corresponding intelligent cabinet, such as an ID for being classified as intelligent cabinet, another intelligent cabinet that is classified as Last time call duration time.Or more column informations can also be increased, such as increase by one is classified as the number of abnormal signal, can also increase One is classified as the state of intelligent cabinet (abnormal signal or signal recover).
After background server receives heartbeat request, the unique mark (such as ID) entrained by it is obtained, it is unique according to this Mark can inquire corresponding intelligent cabinet, and the last time call duration time of the intelligent cabinet in cabinet-type air conditioner list.Connect at the same time After receiving heartbeat request, current time is also obtained, to be subsequently updated operation.
In the step S22, after finding corresponding intelligent cabinet according to foregoing unique mark, by last of intelligent cabinet Secondary call duration time is updated to the current time obtained in step S21.After so intelligent cabinet sends heartbeat request every time, its last Secondary call duration time can be all updated, it is ensured that the accuracy and promptness of last time call duration time.
Preferably, in the step S22, the mode of renewal last time call duration time is asynchronous execution.
The present invention by the way of asynchronous execution be in order to increase the handling capacity of system because for WEB systems, Request is all an independent thread every time, so there is no the problem of single thread renewal.System performs speed to each request It is faster, discharge that the frequency of thread is also higher, the handling capacity of system is also stronger.Asynchronous execution can tackle intelligent cabinet end magnanimity Background server is asked, if background server is performed according to sequence of steps is performed, because renewal last time call duration time Belong to database manipulation, usually processing is time-consuming system processing may be caused not come, rung without unnecessary thread more long Answer the request at cabinet-type air conditioner end, influence regular traffic request processing (renewal last time call duration time operation be not core industry Business logic, a little later 1 point of execution influence also little, it should give way in service request).And asynchronous execution, held equivalent to originally secondary Capable message is first put into the queue of a queuing, and after being put into queue, just discharging thread, (being put into the time-consuming of queue can be much smaller than operation Data take, and from the influence of database loads), it is disappearing inside order consumption queue then specifically to perform logic Breath, slowly performs.Accordingly even when relatively more in intelligent cabinet quantity, when the peak traffic phase, will not be asked because of intelligent cabinet More, it is necessary to update last time call duration time often, and cause very serious system burden.
Preferably, in the step S2, when background server receives other requests in addition to heartbeat request, according to institute State unique mark and the last time call duration time of corresponding intelligent cabinet is updated to current time.
When intelligent cabinet sends other requests to background server, such as send part, post part, enabling, shutdown and heating etc., after Platform server sends corresponding order, intelligent cabinet can perform corresponding action according to request.In above process, background service Device upon receiving a request, can inquire about corresponding intelligent cabinet according to its unique mark according to intelligent cabinet in cabinet-type air conditioner list, and The last time call duration time of intelligent cabinet is updated, such as intelligent cabinet is 09:It has sent once to background server when 32 Open the door and ask, and entrained ID is 00, then background server is after the enabling request of intelligent cabinet transmission is received, by ID Last time call duration time for 00 intelligent cabinet is changed to 09:32.That is, the request of this step can be except heartbeat Any request outside request, and the time for sending request can be random time, so as to ensure to get intelligent cabinet most accurate True last time call duration time.
In the step S3, background server starts a monitor task at interval of second scheduled time, is embodied in, Cabinet-type air conditioner list is traveled through, obtains intelligent cabinet ID and last time call duration time, current time is last with each intelligent cabinet respectively Call duration time asks poor respectively, and acquired results are time difference, and time difference and time threshold are compared, and is tied according to comparing The difference of fruit, performs different subsequent operations.Further, the present invention is that the last time that current time is subtracted to intelligent cabinet is led to Believe the time, and because current time when performing monitor task from the background is necessarily more late than the last time call duration time of each intelligent cabinet, I.e. time difference is positive number forever.
Preferably, the step S3 is specifically included:
S31, background server start a monitor task every second scheduled time;
After S32, monitor task start, cabinet-type air conditioner list is traveled through;
S33, calculate current time and the time difference of the last time call duration time of each intelligent cabinet.
The setting means that second scheduled time in the step S31 sends heartbeat request with intelligent cabinet is identical, Ke Yishi System default needs to set different values according to user, such as sets for second scheduled time as 3 minutes, then background service Device started a monitor task at interval of 3 minutes;Set for second scheduled time as 6 minutes, then background server is at interval of 6 points Clock starts a monitor task.Preferred embodiments of the present invention are that second scheduled time and first scheduled time are arranged to identical, Such as be disposed as 5 minutes, that is, background server started a monitor task at interval of 5 minutes.
In the step S32, after background server starts monitor task, background server performs traversal and (refers to along certain Bar search pattern, each data are done once successively and only do once access) cabinet-type air conditioner list, get intelligent cabinet ID and Last time call duration time.Traversal, which can be realized, is monitored each intelligent cabinet, avoids the occurrence of some intelligent cabinet exception, does not have There is the situation of timely processing.
In the step S33, after the completion of traversal, the ID and last time call duration time of each intelligent cabinet are obtained, when current Between last time call duration time respectively with each intelligent cabinet subtract each other, subtract each other the time difference that result is each intelligent cabinet.
For example, current time is 09:58, and a monitor task is started, ID is that the last time of 00 intelligent cabinet is led to It is 09 to believe the time:55, ID be that the last time call duration time of 01 intelligent cabinet is 09:50, ID lead to for the last time of 02 intelligent cabinet It is 09 to believe the time:54, then the time difference of intelligent cabinet 00 is 09:58-09:55=00:03 (i.e. 3 minutes, follow-up class according to this Push away);The time difference of intelligent cabinet 01 is 09:58-09:50=00:08;The time difference of intelligent cabinet 02 is 09:58-09:54= 00:04。
After being spaced second scheduled time (such as second scheduled time was 4 minutes), then background server can be 10:02 Start a monitor task, and the last time call duration time for the intelligent cabinet that ID is 00 under normal circumstances is 10:00 (first is predetermined Time is 5 minutes), ID is that the last time call duration time of 01 intelligent cabinet will be 10:00 (first scheduled time was 5 minutes), ID Last time call duration time for 02 intelligent cabinet will be 09:59 (first scheduled time was 5 minutes);So time of intelligent cabinet 00 Difference is 10:02-10:00=00:02;So the time difference of intelligent cabinet 01 is 10:02-10:00=00:02;Intelligent cabinet 02 Time difference be 10:02-09:59=00:03.
In another example current time 09:58, and a monitor task is started, ID is the last time of 00 intelligent cabinet Call duration time is 09:55, ID be that the last time call duration time of 01 intelligent cabinet is 09:50, ID be the last time of 02 intelligent cabinet Call duration time is 09:54, then the time difference of intelligent cabinet 00 is 09:58-09:55=00:03;The time difference of intelligent cabinet 01 For 09:58-09:50=00:08;The time difference of intelligent cabinet 02 is 09:58-09:54=00:04.
After being spaced second scheduled time (such as second scheduled time was 5 minutes), then background server can be 10:03 Start a monitor task, and the last time call duration time for the intelligent cabinet that ID is 00 under normal circumstances is 10:00 (first is predetermined Time is 5 minutes), ID is that the last time call duration time of 01 intelligent cabinet will be 10:00 (first scheduled time was 5 minutes), ID Last time call duration time for 02 intelligent cabinet will be 09:59 (first scheduled time was 5 minutes);So time of intelligent cabinet 00 Difference is 10:03-10:00=00:03;So the time difference of intelligent cabinet 01 is 10:03-10:00=00:03;Intelligent cabinet 03 Time difference be 10:03-09:59=00:04.
In the step S4, by each time difference being calculated in the step S33 and time threshold set in advance Compare, when time difference is less than or equal to time threshold, then judge that signal is normal;Such as the time difference for the intelligent cabinet that ID is 00 It is worth for 4 minutes, time threshold is 5 minutes, then the signal of intelligent cabinet 00 is normal;When the time difference is more than time threshold, Then judge abnormal signal.Such as the time difference of intelligent cabinet that ID is 01 is 6 minutes, time threshold is 5 minutes, then intelligent cabinet 01 Abnormal signal, and intelligent cabinet 01 is labeled as malfunction (i.e. the signal condition of the intelligent cabinet is malfunction), sends and accuse It is alert, while also recordable time of failure, and it is recorded as current time.
Assuming that first scheduled time is identical with second scheduled time, such as it is 5 minutes, time threshold is 5 minutes, then Intelligent cabinet can every 5 minutes send a heartbeat request, background server also can synchronized update intelligent cabinet last time communication Time.Background server also can start a monitor task every 5 minutes, calculate time difference, if intelligent cabinet signal is normal, This time difference will necessarily be less than or equal to 5 minutes, i.e., less than or equal to time threshold, whereas if intelligent cabinet abnormal signal, Such as intelligent cabinet does not send heartbeat request yet after 5 minutes, then its time difference can be more than 5 minutes, i.e., more than time threshold.
The time threshold needs to be arranged to identical with first scheduled time and second scheduled time, can so improve Detection accuracy, avoids the occurrence of the situation of flase drop or missing inspection.
Preferably, abnormal signal is then judged, and send when the time difference is more than time threshold in the step S4 Alarm specifically includes:
S41, when the time difference is more than time threshold, then judge abnormal signal, and the number of abnormal signal is added 1;
S42, judge whether the number of abnormal signal is more than frequency threshold value, if then being alerted, return to step S3 if not.
In step S41, S42, in order to preferably manage intelligent cabinet, situation about frequently alarming is avoided the occurrence of, the present invention By setting frequency threshold value (can need to set by system default or according to user itself), perform monitoring in background server and appoint During business, when monitoring some intelligent cabinet abnormal signal, the number of the abnormal signal of the intelligent cabinet is increased by 1, then by abnormal signal Number compared with frequency threshold value, if the number of abnormal signal is more than frequency threshold value, alarm, if the number of abnormal signal Less than or equal to frequency threshold value then return to step S3, monitor task is continued to execute by background server.For example, setting frequency threshold value Former frequency of abnormity for 11, the ID intelligent cabinets for being A0 is 11, and in step s3, the differential time being calculated is more than the time Threshold value.So in this step, the frequency of abnormity of intelligent cabinet A0 is increased by 1, that is, 11+1=12, at this time, it is found that signal is different Normal number is more than frequency threshold value, and background server is alerted.
Preferably, when setting frequency threshold value as 11, when the number of abnormal signal is less than or equal to 11 or is not 12 Integral multiple, then continue circulation next time (i.e. return to step S3);If the number of abnormal signal is more than frequency threshold value and is 12 Integral multiple (such as 12,24,36 etc.), then send the alarm of dropout., will not so when the continuous lossing signal of intelligent cabinet The situation that appearance is frequently alarmed, but at regular intervals (such as when first scheduled time, second scheduled time, time threshold When being 5 minutes, then when 1 is small) alarm once, by this mode, administrator have the more sufficient time to intelligent cabinet into Row is safeguarded.
For example, the abnormal signal number of intelligent cabinet A1 is obviously more than 11 for 14,14, but due to not being 12 integral multiple, this When, background server will not send alarm, but abnormal signal number is increased by 1, that is, 14+1=15, when frequency of abnormity is tired out Meter to 24 when, 24 be more than 11 and for 12 integral multiple, at this time by send alert.
Preferably, in the step S4 when the time difference is less than or equal to time threshold, then judge that signal is normal Specifically include:
S41 ', when the time difference is less than or equal to time threshold, then judge that corresponding intelligent cabinet signal is normal;
S42 ', according to unique mark inquire about whether corresponding intelligent cabinet is malfunction;
S43 ' if, corresponding intelligent cabinet be malfunction, correspondence intelligent cabinet is changed to recovery state, and it is extensive to send signal Multiple notice.
According to foregoing teachings, when time difference is less than time threshold, judge that the signal of corresponding intelligent cabinet is normal.Work as judgement When the signal of intelligent cabinet is normal, it is understood that there may be intelligent cabinet is malfunction when monitoring last time, and background server performs monitoring Recovered signal, normal operation during task, need the signal condition of intelligent cabinet being changed to recovery state, concurrently deliver letters at this time Number notice recovered is to maintenance personnel or related management personnel.For example, ID be B1 intelligent cabinet 09:By background service when 30 Device monitors lossing signal, and at this time, intelligent cabinet B1 can be labeled as malfunction by background server, and notifies relevant personnel to tie up Shield.10:It is normal to monitor the intelligent cabinet signal for background server when 30, that is to say, that staff this period of time Through completing the maintenance work to intelligent cabinet B1, at this time, corresponding intelligent cabinet is changed to recovery state by background server, is concurrently delivered letters Number notice recovered, such maintenance personnel can recognize the signal condition of corresponding intelligent cabinet in time.
Preferably, further included after the step S4:
Background server establish monitoring visual page, and it is described monitoring visual page on show heartbeat loss and it is extensive Multiple record.
Background server is established according to monitored results and monitors the visual page, for example, an analysis of results table is formulated, knot The content of fruit analytical table includes the unique mark of intelligent cabinet, time of failure (i.e. record is lost in heartbeat), failure recovery time (i.e. heartbeating recovery records) etc..Maintenance personnel can be according to analysis of results table reasonable arrangement maintenance work, and timely processing failure, carries The efficiency of high maintenance.Also, administrative staff can be according to analysis of results table, and whether analyze has intelligent cabinet the feelings such as to occur damaging Condition.For example, after finding that exception continuously occurs in intelligent cabinet AA, and maintenance personnel safeguards according to analytical table, it is abnormal not release, that The intelligent cabinet has been likely to occur damage, should timely replace intelligent cabinet.
Fig. 2 is refer to, Fig. 2 is a kind of flow chart of the method specific embodiment of remote monitoring intelligent cabinet of the present invention, it is wrapped Include step
T1, beginning;
T2, intelligent cabinet send heartbeat request to background server, and intelligent cabinet is at interval of first scheduled time to background service Device sends heartbeat request, or not timing sends other requests to background server, such as opens the door, closes the door, pickup and posting part etc.;
T3, renewal last time call duration time, background server update last time according to intelligent cabinet unique mark and communicate Time is current time;
T4, start monitor task, and background server starts monitor task at interval of second scheduled time;
T5, calculate time difference;
T6, the magnitude relationship for judging time difference and time threshold, when time difference is more than time threshold, perform step T7, when time difference is less than or equal to time threshold, performs step T10;
T7, abnormal signal number increase by 1;
T8, the magnitude relationship for judging abnormal signal number and frequency threshold value, when abnormal signal number is more than frequency threshold value, Perform step T9, when abnormal signal number is less than or equal to frequency threshold value, return to step T3;
T9, send to administrator and alert, and performs step T13;
T10, by the signal condition of intelligent cabinet labeled as normal;
T11, according to unique mark inquire about whether corresponding intelligent cabinet is malfunction, when judging intelligent cabinet for malfunction When, perform step T12, when it is not malfunction to judge intelligent cabinet, return to step T3;
T12, by corresponding intelligent cabinet be changed to recovery state, and sends the notice of signal recovery, and return to step T3;
T13, end.
The present invention also provides a kind of system of remote monitoring intelligent cabinet, refer to Fig. 3, and Fig. 3 is a kind of long-range prison of the present invention Control intelligent cabinet system concrete structure block diagram.
Wherein, including intelligent cabinet 100 and background server 100;The intelligent cabinet 100 includes heartbeat module 101, after described Platform server 200 includes update module 201, computing module 202 and judgment module 203;Wherein,
Heartbeat module 101, for sending heartbeat request, the heartbeat to background server 200 every first scheduled time The unique mark of intelligent cabinet 100 is carried in request;
Update module 201, will corresponding intelligent cabinet 100 according to the unique mark after receiving the heartbeat request Last time call duration time be updated to current time;
Computing module 202, for obtaining the last time call duration time of intelligent cabinet 100 every second scheduled time, and is counted Calculate last time call duration time and the time difference of current time;
Judgment module 203, for when the time difference is less than or equal to time threshold, then judging that signal is normal;When When the time difference is more than time threshold, then judges abnormal signal and corresponding intelligent cabinet 100 is labeled as malfunction, concurrently Send alarm.
Preferably, when background server 200 receives other requests in addition to heartbeat request, according to the unique mark The last time call duration time of corresponding intelligent cabinet 100 is updated to current time.
Particular technique details on said system module has been described in detail in method above, and so it will not be repeated.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (10)

  1. A kind of 1. method of remote monitoring intelligent cabinet, it is characterised in that including step:
    A, intelligent cabinet sends heartbeat request every first scheduled time to background server, and intelligence is carried in the heartbeat request The unique mark of cabinet;
    B, after background server receives the heartbeat request, the last time of corresponding intelligent cabinet is led to according to the unique mark The letter time is updated to current time;
    C, background server every second scheduled time obtain intelligent cabinet last time call duration time, and calculate current time with The time difference of last time call duration time;
    D, when the time difference is less than or equal to time threshold, then judge that signal is normal;When the time difference is more than Between threshold value when, then judge abnormal signal and corresponding intelligent cabinet be labeled as malfunction, and send alarm.
  2. 2. the method for remote monitoring intelligent cabinet according to claim 1, it is characterised in that in the step D when described Between difference when being more than time threshold, then judge abnormal signal, and send alarm and specifically include:
    D1, when the time difference is more than time threshold, then judge abnormal signal, and the number of abnormal signal is added 1;
    D2, judge whether the number of abnormal signal exceedes frequency threshold value, if then being alerted, return to step C if not.
  3. 3. the method for remote monitoring intelligent cabinet according to claim 1, it is characterised in that in the step D when described Between difference when being less than or equal to time threshold, then judge that signal normally specifically includes:
    D1 ', when the time difference is less than or equal to time threshold, then judge that corresponding intelligent cabinet signal is normal;
    D2 ', according to unique mark inquire about whether corresponding intelligent cabinet is malfunction;
    D3 ' if, corresponding intelligent cabinet be malfunction, corresponding intelligent cabinet is changed to recovery state, and send what signal recovered Notice.
  4. 4. the method for remote monitoring intelligent cabinet according to claim 1, it is characterised in that the step B is specifically included:
    After B1, background server receive the heartbeat request, corresponding cabinet-type air conditioner list is inquired about according to the unique mark, and obtain Take current time;
    B2, by the last time call duration time that intelligent cabinet is corresponded in cabinet-type air conditioner list be updated to current time.
  5. 5. the method for remote monitoring intelligent cabinet according to claim 1, it is characterised in that the step C is specifically included:
    C1, background server start a monitor task every second scheduled time;
    After C2, monitor task start, cabinet-type air conditioner list is traveled through;
    C3, the current time for calculating each intelligent cabinet and the time difference of last time call duration time.
  6. 6. the method for remote monitoring intelligent cabinet according to claim 1, it is characterised in that in the step B, when backstage takes When business device receives other requests in addition to heartbeat request, the last time of corresponding intelligent cabinet is communicated according to the unique mark Time is updated to current time.
  7. 7. the method for remote monitoring intelligent cabinet according to claim 4, it is characterised in that in the step B2, renewal is most The mode of a call duration time is asynchronous execution afterwards.
  8. 8. the method for remote monitoring intelligent cabinet according to claim 1, it is characterised in that further included after the step D:
    Background server establishes monitoring visual page, and shows that note is lost and recovered in heartbeat on the monitoring visual page Record.
  9. 9. a kind of system of remote monitoring intelligent cabinet, it is characterised in that including intelligent cabinet and background server;The intelligent cabinet bag Heartbeat module is included, the background server includes update module, computing module and judgment module;Wherein,
    Heartbeat module, for sending heartbeat request to background server every first scheduled time, carries in the heartbeat request There is the unique mark of intelligent cabinet;
    Update module, after receiving the heartbeat request, the last time of intelligent cabinet will be corresponded to according to the unique mark Call duration time is updated to current time;
    Computing module, for obtaining the last time call duration time of intelligent cabinet every second scheduled time, and calculates last time The time difference of call duration time and current time;
    Judgment module, for when the time difference is less than or equal to time threshold, then judging that signal is normal;When the time When difference is more than time threshold, then judges abnormal signal and corresponding intelligent cabinet is labeled as malfunction, and send alarm.
  10. 10. the system of remote monitoring intelligent cabinet according to claim 9, it is characterised in that when background server receives During other requests in addition to heartbeat request, the last time call duration time of corresponding intelligent cabinet is updated to according to the unique mark Current time.
CN201711011903.XA 2017-10-26 2017-10-26 A kind of method and its system of remote monitoring intelligent cabinet Pending CN107995255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711011903.XA CN107995255A (en) 2017-10-26 2017-10-26 A kind of method and its system of remote monitoring intelligent cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711011903.XA CN107995255A (en) 2017-10-26 2017-10-26 A kind of method and its system of remote monitoring intelligent cabinet

Publications (1)

Publication Number Publication Date
CN107995255A true CN107995255A (en) 2018-05-04

Family

ID=62030090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711011903.XA Pending CN107995255A (en) 2017-10-26 2017-10-26 A kind of method and its system of remote monitoring intelligent cabinet

Country Status (1)

Country Link
CN (1) CN107995255A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134419A (en) * 2019-05-20 2019-08-16 深圳市丰巢科技有限公司 A kind of method for upgrading system, device, equipment and the storage medium of two-sided cabinet
CN111341009A (en) * 2018-11-30 2020-06-26 蒙牛高科鲜乳制品有限公司 Intelligent locker remote alarm detection method and system
CN111340152A (en) * 2018-11-30 2020-06-26 蒙牛高科鲜乳制品有限公司 Intelligent storage cabinet and control system and control method thereof
CN111787314A (en) * 2020-07-30 2020-10-16 重庆盛泰光电有限公司 Camera module power-on time sequence test system based on turntable
CN112672301A (en) * 2020-12-21 2021-04-16 兰州工业学院 Network data aggregation method for wireless sensor
CN113160500A (en) * 2021-02-24 2021-07-23 滕州京腾鑫汇新材料科技有限公司 Visual intelligent cabinet
CN114202859A (en) * 2021-12-08 2022-03-18 无锡玖千工品供应链管理有限公司 Alarm monitoring system and method for intelligent cabinet
CN114399868A (en) * 2022-01-17 2022-04-26 拉扎斯网络科技(上海)有限公司 Storage and pickup container detection system, method and device and electronic equipment
CN114710428A (en) * 2022-04-26 2022-07-05 广州智光储能科技有限公司 Communication protection method, device and system applied to energy storage system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103854344A (en) * 2014-02-14 2014-06-11 南京盈放科技有限公司 Intelligent storage cabinet capable of refrigerating for fresh food delivery, and monitoring method thereof
CN104656531A (en) * 2015-01-16 2015-05-27 张泽 Monitoring method and device for intelligent equipment
US20160043914A1 (en) * 2014-08-11 2016-02-11 Honeywell International Inc. Remotely monitoring network diagnostics
CN105959375A (en) * 2016-05-20 2016-09-21 黄忠青 Remote pressure monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103854344A (en) * 2014-02-14 2014-06-11 南京盈放科技有限公司 Intelligent storage cabinet capable of refrigerating for fresh food delivery, and monitoring method thereof
US20160043914A1 (en) * 2014-08-11 2016-02-11 Honeywell International Inc. Remotely monitoring network diagnostics
CN104656531A (en) * 2015-01-16 2015-05-27 张泽 Monitoring method and device for intelligent equipment
CN105959375A (en) * 2016-05-20 2016-09-21 黄忠青 Remote pressure monitoring system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111341009A (en) * 2018-11-30 2020-06-26 蒙牛高科鲜乳制品有限公司 Intelligent locker remote alarm detection method and system
CN111340152A (en) * 2018-11-30 2020-06-26 蒙牛高科鲜乳制品有限公司 Intelligent storage cabinet and control system and control method thereof
CN110134419A (en) * 2019-05-20 2019-08-16 深圳市丰巢科技有限公司 A kind of method for upgrading system, device, equipment and the storage medium of two-sided cabinet
CN111787314A (en) * 2020-07-30 2020-10-16 重庆盛泰光电有限公司 Camera module power-on time sequence test system based on turntable
CN112672301A (en) * 2020-12-21 2021-04-16 兰州工业学院 Network data aggregation method for wireless sensor
CN112672301B (en) * 2020-12-21 2022-05-17 兰州工业学院 Network data aggregation method for wireless sensor
CN113160500A (en) * 2021-02-24 2021-07-23 滕州京腾鑫汇新材料科技有限公司 Visual intelligent cabinet
CN114202859A (en) * 2021-12-08 2022-03-18 无锡玖千工品供应链管理有限公司 Alarm monitoring system and method for intelligent cabinet
CN114399868A (en) * 2022-01-17 2022-04-26 拉扎斯网络科技(上海)有限公司 Storage and pickup container detection system, method and device and electronic equipment
CN114710428A (en) * 2022-04-26 2022-07-05 广州智光储能科技有限公司 Communication protection method, device and system applied to energy storage system
CN114710428B (en) * 2022-04-26 2024-03-29 广州智光储能科技有限公司 Communication protection method, device and system applied to energy storage system

Similar Documents

Publication Publication Date Title
CN107995255A (en) A kind of method and its system of remote monitoring intelligent cabinet
CN109615213B (en) Intelligent distribution method and system for operation and maintenance service tasks
CN106130786B (en) A kind of detection method and device of network failure
CN109861878B (en) Method for monitoring topic data of kafka cluster and related equipment
CN111080968B (en) Linkage control early warning method and system for accidental occurrence of solitary old people
CN107797896B (en) A kind of data on flows self- recoverage processing method and server
CN108576933A (en) A kind of control device, electronic cigarette and control method with prompting function
CN101656013A (en) Vehicle-mounted monitoring alarm terminal, system and alarm method
CN108234150A (en) For the data acquisition and processing (DAP) method and system of data center's monitoring system
CN105446875B (en) The monitoring method and monitoring system of interface and system based on SAP platforms
CN103390933B (en) The centralized detecting method of dispatch automated system distributed data acquisition mode
CN102857371A (en) Dynamic allocation management method for cluster system
CN108776625A (en) A kind of restorative procedure of service fault, device and storage medium
CN107509119A (en) A kind of monitoring alarm method and device
CN109040277A (en) A kind of long-distance monitoring method and device of server
CN112346924A (en) Server monitoring method and system
CN104408654A (en) Financial monitoring management system
CN103826108A (en) Post-loan monitoring method and system based on video image
CN111625418A (en) Process monitoring method and device
CN107566172A (en) A kind of Active Management method and system based on storage system
CN112291266A (en) Data processing method and device
CN106487597A (en) A kind of service monitoring system and method based on Zookeeper
CN104579737A (en) Method and system for operating maintenance of distributed web system
CN110659898B (en) Data control method, device and storage medium
US20220335347A1 (en) Time-series anomaly prediction and alert

Legal Events

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

Application publication date: 20180504

RJ01 Rejection of invention patent application after publication