CN110213364A - Express delivery cabinet monitoring method, system, storage medium and equipment - Google Patents

Express delivery cabinet monitoring method, system, storage medium and equipment Download PDF

Info

Publication number
CN110213364A
CN110213364A CN201910465648.9A CN201910465648A CN110213364A CN 110213364 A CN110213364 A CN 110213364A CN 201910465648 A CN201910465648 A CN 201910465648A CN 110213364 A CN110213364 A CN 110213364A
Authority
CN
China
Prior art keywords
air conditioner
cabinet
type air
target
express delivery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910465648.9A
Other languages
Chinese (zh)
Other versions
CN110213364B (en
Inventor
张睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910465648.9A priority Critical patent/CN110213364B/en
Publication of CN110213364A publication Critical patent/CN110213364A/en
Application granted granted Critical
Publication of CN110213364B publication Critical patent/CN110213364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/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
    • 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

Abstract

The embodiment of the invention discloses a kind of express delivery cabinet monitoring method, system, storage medium and equipment.This method comprises: determining that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of the target are corresponding respectively from cabinet-type air conditioner from each express delivery cabinet-type air conditioner of state to be monitored;The main cabinet-type air conditioner of the target will be sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner described in each;The main cabinet-type air conditioner of target by the main cabinet-type air conditioner monitoring data of target and it is each it is described be sent to express delivery cabinet monitoring server from cabinet-type air conditioner monitoring data so that the express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.Multiple express delivery cabinet states are more efficiently monitored through the above technical solutions, realizing, and improve the communication efficiency between express delivery cabinet.

Description

Express delivery cabinet monitoring method, system, storage medium and equipment
Technical field
The present embodiments relate to the communication technology more particularly to a kind of express delivery cabinet monitoring method, system, storage medium and set It is standby.
Background technique
Express delivery cabinet on the market is mostly the express delivery cabinet (abbreviation single side express delivery cabinet) of single cabinet machine side, have in one control machine and One screen.For the express delivery cabinet monitoring scheme (abbreviation single-point monitoring scheme) of the single cabinet machine side are as follows: middle control machine and express delivery cabinet are supervised Server communication connection is controlled, the business datum of the express delivery cabinet and condition monitoring data are periodically packaged by middle control machine, and are sent To express delivery cabinet monitoring server.This single-point monitoring scheme need the middle control machine of each express delivery cabinet with express delivery cabinet monitoring server Communication connection is established, to realize that one-to-one monitoring data reports.
Multi-panel express delivery cabinet is had already appeared at present, i.e. an express delivery cabinet has multiple cabinet-type air conditioner faces, multiple middle control machines and multiple screens Express delivery is launched for courier in curtain, one of cabinet-type air conditioner face, other cabinet-type air conditioner faces take express delivery for user.For multi-panel express delivery cabinet Condition monitoring, if still using traditional single-point monitoring scheme, each middle control machine is required to and express delivery cabinet monitoring service Device establishes communication connection, so that the network connection quantity of express delivery cabinet monitoring server increases in geometrical relationship, express delivery cabinet is caused to supervise The monitoring load of control server is multiplied, and easily causes server overload.In addition, not led to directly between each middle control machine Letter, but via express delivery cabinet monitoring server transfer communication, such that controlling machine in one can not know in time and accurately The state of machine is controlled in other, if controlled in other machine failure and this in control and machine and be not known by the information, will cause this The state recording of each middle control machine is chaotic in middle control machine, to the wastings of resources such as cause to communicate in vain and what flow excessively consumed asks Topic.
Summary of the invention
The embodiment of the present invention provides a kind of express delivery cabinet monitoring method, system, storage medium and equipment, more efficient to realize Ground monitors multiple express delivery cabinet states, and improves the communication efficiency between express delivery cabinet.
In a first aspect, the embodiment of the invention provides a kind of express delivery cabinet monitoring methods, comprising:
Determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of the target are corresponding respectively from cabinet from each express delivery cabinet-type air conditioner of state to be monitored Machine;
The main cabinet-type air conditioner of the target will be sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner described in each;
The main cabinet-type air conditioner of target is by the main cabinet-type air conditioner monitoring data of target and each described is sent to express delivery cabinet from cabinet-type air conditioner monitoring data Monitoring server, so that the express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
Second aspect, the embodiment of the invention also provides a kind of express delivery cabinet monitoring system, which includes:
The main cabinet-type air conditioner of target, the main cabinet-type air conditioner of the target are corresponding respectively from cabinet-type air conditioner and express delivery cabinet monitoring server;
It is described to establish and communicate to connect with the main cabinet-type air conditioner of the target from cabinet-type air conditioner, for sending to the main cabinet-type air conditioner of the target from cabinet Machine monitoring data;
The main cabinet-type air conditioner of target is established with the express delivery cabinet monitoring server and is communicated to connect, each described from cabinet for receiving The slave cabinet-type air conditioner monitoring data that machine is sent, and by main cabinet-type air conditioner monitoring data and it is each it is described be sent to from cabinet-type air conditioner monitoring data it is described fast Pass cabinet monitoring server;
The express delivery cabinet monitoring server, for according to the main cabinet-type air conditioner monitoring data and each described from cabinet-type air conditioner monitoring data Complete the condition monitoring of each express delivery cabinet-type air conditioner.
The third aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program, the computer program realize express delivery cabinet monitoring method provided by any embodiment of the invention when being executed by processor.
Fourth aspect, the embodiment of the invention also provides a kind of electronic equipment, which includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes a kind of express delivery cabinet monitoring method, this method comprises:
Determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of the target are corresponding respectively from cabinet from each express delivery cabinet-type air conditioner of state to be monitored Machine;
The main cabinet-type air conditioner of the target will be sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner described in control is each;
The main cabinet-type air conditioner of the target is controlled by the main cabinet-type air conditioner monitoring data of target and each described is sent to fastly from cabinet-type air conditioner monitoring data Cabinet monitoring server is passed, so that the express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
The embodiment of the present invention from each express delivery cabinet-type air conditioner of state to be monitored by determining the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of target It is corresponding and the main cabinet-type air conditioner of target to be each sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner respectively from cabinet-type air conditioner, realize local cabinet-type air conditioner collection The establishment of group, communicates the main cabinet-type air conditioner of target directly with respectively from cabinet-type air conditioner, improves state intercommunication between local cabinet-type air conditioner Efficiency.Express delivery cabinet monitoring clothes are sent to by the main cabinet-type air conditioner monitoring data of target and respectively from cabinet-type air conditioner monitoring data by the main cabinet-type air conditioner of target Business device realizes so that express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner by original one-to-one express delivery Cabinet monitoring is improved to one-to-many express delivery cabinet monitoring, reduces the monitoring load of express delivery cabinet monitoring server, improves express delivery cabinet Monitoring efficiency.By the design of the multiple concentrating type monitor modes from cabinet-type air conditioner of the main cabinet-type air conditioner-of server-target, so that monitored It can be changed at any time from cabinet-type air conditioner quantity, improve the flexibility and scalability of the monitoring of express delivery cabinet.
Detailed description of the invention
Fig. 1 is the flow chart of one of embodiment of the present invention one express delivery cabinet monitoring method;
Fig. 2 is the flow chart of one of embodiment of the present invention two express delivery cabinet monitoring method;
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention three express delivery cabinet monitoring system;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four electronic equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Express delivery cabinet monitoring method provided in this embodiment is applicable to the condition monitoring of multiple express delivery cabinets, such as the same area The condition monitoring of interior multiple single side express delivery cabinets, is particularly suitable for the condition monitoring in each cabinet-type air conditioner face in multi-panel express delivery cabinet.The party Method can be executed by express delivery cabinet monitoring device, which can be realized by way of hardware and/or software, which can be with It is integrated in the middle control machine of cabinet-type air conditioner, also can integrate in individually control equipment.Referring to Fig. 1, the method for the present embodiment is specific Include the following steps:
S110, determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of target are corresponding respectively from cabinet from each express delivery cabinet-type air conditioner of state to be monitored Machine.
Wherein, the main cabinet-type air conditioner of target is a cabinet-type air conditioner in each express delivery cabinet-type air conditioner, monitors each express delivery cabinet as Server remote The intermediate hub of state, for being communicated with other cabinet-type air conditioners in express delivery cabinet monitoring server and each express delivery cabinet-type air conditioner.From cabinet-type air conditioner and master Cabinet-type air conditioner is corresponding, is other cabinet-type air conditioners in each express delivery cabinet in addition to the main cabinet-type air conditioner of target.
Specifically, it for single side express delivery cabinet, is selected from each express delivery cabinet-type air conditioner for needing condition monitoring in a region One single side express delivery cabinet is as the main cabinet-type air conditioner of target, such as selects best one express delivery cabinet of main controller performance as the main cabinet of target Machine, using each single side express delivery cabinet remaining in the region as from cabinet-type air conditioner.For multi-panel express delivery cabinet, a multi-panel express delivery cabinet is selected In the cabinet-type air conditioner face towards courier as the main cabinet-type air conditioner of target, using each cabinet-type air conditioner face of residue in the multi-panel express delivery cabinet as the target Main cabinet-type air conditioner is corresponding respectively from cabinet-type air conditioner.If there is multiple multi-panel express delivery cabinets need to carry out condition monitoring, then just that each multi-panel is fast The cabinet-type air conditioner face in cabinet towards courier is passed as the main cabinet-type air conditioner of target, can determine the main cabinet-type air conditioner of multiple targets and each target master in this way Cabinet-type air conditioner is corresponding respectively from cabinet-type air conditioner.Each main cabinet-type air conditioner of target is corresponding with its respectively to may make up a local cabinet-type air conditioner monitoring collection from cabinet-type air conditioner Group.
S120, each from cabinet-type air conditioner the main cabinet-type air conditioner of target will be sent to from cabinet-type air conditioner monitoring data.
Wherein, refer to that monitoring data corresponding from cabinet-type air conditioner, monitoring data are monitoring cabinet-type air conditioner operation shapes from cabinet-type air conditioner monitoring data The data of state.
Specifically, before being monitored data and reporting, need first to establish the main cabinet-type air conditioner of target and respectively from the communication between cabinet-type air conditioner Connection, the communication connection can be wireless connection, be also possible to wired connection, and the agreement of communication connection can be http agreement, It is also possible to tcp agreement.Subsequent explanation is by taking multi-panel express delivery cabinet as an example, then can be by logical between each express delivery cabinet-type air conditioner face Letter line is communicatively coupled.Later, each to be just packaged from cabinet-type air conditioner according to communication protocol from cabinet-type air conditioner monitoring data, and according to communication protocols The slave cabinet-type air conditioner monitoring data of packing is sent to the main cabinet-type air conditioner of target, carries out this cabinet by the main cabinet-type air conditioner of target by the communication mode in view Monitoring data summarizes in machine monitoring cluster.The load reduction of multiple one-to-one monitoring originally is turned using monitoring clustering design It moves on to cluster internal and carries out condition monitoring, reduce the load that more cabinet machines directly report express delivery cabinet monitoring server to monitor.
In addition, by the main cabinet-type air conditioner of target and respectively from the communication connection between cabinet-type air conditioner, the main cabinet-type air conditioner of target can be directly by from cabinet Machine monitoring data know each operating status from cabinet-type air conditioner, without improving each cabinet using express delivery cabinet monitoring server Communication efficiency between machine reduces on local cabinet-type air conditioner to a certain extent and the probability of cabinet-type air conditioner state confusion occurs.
The main cabinet-type air conditioner of S130, target is sent to the monitoring of express delivery cabinet by the main cabinet-type air conditioner monitoring data of target and respectively from cabinet-type air conditioner monitoring data Server, so that express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
Wherein, the main cabinet-type air conditioner monitoring data of target refers to the corresponding monitoring data of the main cabinet-type air conditioner of target.
Specifically, it after the main cabinet-type air conditioner of target summarizes the monitoring data that local cabinet-type air conditioner monitors cluster, just needs to summarize Data are reported to express delivery cabinet monitoring server, therefore the main cabinet-type air conditioner of target needs first to connect with express delivery cabinet monitoring server management telecommunication It connects.Later, each main cabinet-type air conditioner monitoring data one of slave cabinet-type air conditioner monitoring data and target from cabinet-type air conditioner that the main cabinet-type air conditioner of target just will receive And it transmits to express delivery cabinet monitoring server.Express delivery cabinet monitoring server will be moved in real time in a manner of UI page data State shows the state that machine is controlled in current multi-panel express delivery cabinet and more.Operation maintenance personnel can by monitoring system, in real time, Monitor to various dimensions local cabinet-type air conditioner monitoring cluster.When there is cabinet-type air conditioner to break down with dropout, operation maintenance personnel can be obtained quickly Know and is handled in time.
The technical solution of the present embodiment, by determining the main cabinet-type air conditioner of target and target from each express delivery cabinet-type air conditioner of state to be monitored Main cabinet-type air conditioner is corresponding respectively from cabinet-type air conditioner, and the main cabinet-type air conditioner of target each will be sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner, realizes local The establishment of cabinet-type air conditioner cluster communicates the main cabinet-type air conditioner of target directly with respectively from cabinet-type air conditioner, improves shape between local cabinet-type air conditioner The efficiency of state intercommunication.Express delivery cabinet is sent to from cabinet-type air conditioner monitoring data by the main cabinet-type air conditioner monitoring data of target and respectively by the main cabinet-type air conditioner of target Monitoring server, so that express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner, realizing will be original one-to-one The monitoring of express delivery cabinet be improved to one-to-many express delivery cabinet monitoring, reduce the monitoring load of express delivery cabinet monitoring server, improve Express delivery cabinet monitoring efficiency.By the design of the multiple concentrating type monitor modes from cabinet-type air conditioner of the main cabinet-type air conditioner-of server-target, so that by The slave cabinet-type air conditioner of monitoring can change at any time, improve the flexibility and scalability of the monitoring of express delivery cabinet.
Based on the above technical solution, it is each from cabinet-type air conditioner will be sent to from cabinet-type air conditioner monitoring data the main cabinet-type air conditioner of target it Before, further includes: judge the main cabinet-type air conditioner of target and respectively whether is in idle condition from cabinet-type air conditioner;If so, triggering executes each from cabinet-type air conditioner The step of main cabinet-type air conditioner of target will be sent to from cabinet-type air conditioner monitoring data.When it is implemented, if the main cabinet-type air conditioner of target and respectively having from cabinet-type air conditioner One cabinet-type air conditioner is carrying out business operation, such as launch express delivery, take express delivery, upgrade or repair etc., just suspend monitoring data and reports Operation, i.e., do not execute S120.Only when all cabinet-type air conditioners are without business operation, data request operation, i.e. target master are not read and write Cabinet-type air conditioner and when respectively from cabinet-type air conditioner being in idle state, is just monitored data and reports operation, is i.e. triggering executes S120.It is arranged in this way It is advantageous in that, by the setting of idle monitoring mechanism, can reasonably utilize cabinet-type air conditioner resource, avoid the occurrence of condition monitoring and industry The case where business operates while carrying out and causing traffic congestion, to largely reduce because cabinet-type air conditioner monitoring normally makes user With the influence of cabinet-type air conditioner.
Based on the above technical solution, the main cabinet-type air conditioner of target and mesh are determined in each express delivery cabinet-type air conditioner from state to be monitored It is corresponding respectively after cabinet-type air conditioner to mark main cabinet-type air conditioner, further includes: if any generate business datum from cabinet-type air conditioner, from cabinet-type air conditioner by business datum It is sent to the main cabinet-type air conditioner of target in real time.Specifically, according to the above description, the main cabinet-type air conditioner of target and the data respectively reported from cabinet-type air conditioner are prisons Data are controlled, and do not include business operation and the business datum that generates.In traditional monitoring scheme, it will usually by business datum and Monitoring data is packaged is reported together, will cause two aspect problems in this way, be on the one hand either obtain business datum or Monitoring data is required to parse entire data packet just available corresponding data, causes server state monitoring and business diagnosis double The wasting of resources of side.On the other hand, the total amount of data of a data packet is limited, and the data volume of business datum is greater than monitoring The data volume of data, then will exist in order to guarantee the integrality of business datum and the case where reduce monitoring data.Exactly base Monitoring data and business datum are subjected to transmission of unpacking, i.e. monitoring data and business number in the above problem, the embodiment of the present invention It is sent according to the data packet for being split as different.Again since business datum is not periodical generation, therefore business datum is designed as Just real-time report when data generate.The advantages of this arrangement are as follows the mutual not shadow of the parsing of one side business datum and monitoring data It rings, improves data analyzing efficiency;More cabinet-type air conditioner information and running state information can be carried in another aspect supervision packet, More convenient for express delivery cabinet monitoring server remotely carries out O&M monitoring.
Embodiment two
The present embodiment on the basis of the above embodiment 1, increases the monitoring step from cabinet-type air conditioner to the main cabinet-type air conditioner of target.? On the basis of this, monitoring step when the main cabinet-type air conditioner failure of target can also be further increased.It on the basis of the above, can also be further Monitoring step after increasing the main cabinet-type air conditioner fault restoration of target.Wherein the explanation of term identical or corresponding with the various embodiments described above exists This is repeated no more.Referring to fig. 2, express delivery cabinet monitoring method provided in this embodiment includes:
S201, determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of target are corresponding respectively from cabinet from each express delivery cabinet-type air conditioner of state to be monitored Machine.
Establish http long connection between the main cabinet-type air conditioner of S202, target and express delivery cabinet monitoring server, the main cabinet-type air conditioner of target with respectively from Socket long connection is established between cabinet-type air conditioner.
Specifically, it can only be communicated by express delivery cabinet monitoring server between cabinet-type air conditioner in single-point monitoring scheme, thus be will cause Status information is synchronous not in time between cabinet-type air conditioner, therefore establishes between the main cabinet-type air conditioner of target and each cabinet-type air conditioner altogether in the embodiment of the present invention logical Letter connection, so as to can be with direct communication between cabinet-type air conditioner.The communication protocol of communication connection is then further used based on socket's TCP long connection, this is because socket long connection allows two-way communication, and communication connection is more stable, each so as to guarantee Monitoring communication between a cabinet-type air conditioner can be more stable, much sooner.And between the main cabinet-type air conditioner of target and express delivery cabinet monitoring server Communication, it is only necessary to periodically one-way communication, thus still use http long connection.Default each cabinet-type air conditioner one in the present embodiment to transport Row is switched on the express delivery cabinet monitoring scheme of the embodiment of the present invention.
S203, each from cabinet-type air conditioner at interval of first time interval, the main cabinet-type air conditioner of target will be sent to from cabinet-type air conditioner monitoring data.
Wherein, first time interval is the heart beat cycle that communication is monitored between cabinet-type air conditioner and the main cabinet-type air conditioner of target, such as can be with It is 30s.
Specifically, each from cabinet-type air conditioner by socket long connection, according to heart beat cycle as defined in communication protocol, i.e., first It is sent to the main cabinet-type air conditioner of target from cabinet-type air conditioner monitoring data by time interval.
The main cabinet-type air conditioner of S204, target at interval of first time interval, by the main cabinet-type air conditioner monitoring data of target be respectively sent to respectively from Cabinet-type air conditioner.
Wherein, monitoring data include the system version number of cabinet-type air conditioner, the network information, cpu performance information, disk use information, Memory usage information and bin status information.Here system version number refers to the version number that machine system mounted is controlled in cabinet-type air conditioner, It can be used for other business services such as upgrading.The network information refers to the whether normal network connection of cabinet-type air conditioner, bandwidth and net Network flow whether abundance etc..Bin status information refer to whole bins of entire cabinet-type air conditioner with the presence or absence of the globalities such as can not opening therefore Barrier.According to the content of monitoring data, the heartbeat packet in traditional scheme is carried out in the present embodiment to split design, every second periodicity The data packet that heartbeat is sent includes only monitoring data, and does not include the business datum of the business operations such as access express delivery and upgrading. The analyzing efficiency that monitoring data not only can be improved can also be improved the data volume of monitoring data.
Specifically, the present embodiment devises in the scheme that express delivery cabinet monitors respectively sends monitoring from cabinet-type air conditioner to the main cabinet-type air conditioner of target While data, the main cabinet-type air conditioner of target is also to " two-way heartbeat " mechanism, i.e. mesh for respectively sending the main cabinet-type air conditioner monitoring data of target from cabinet-type air conditioner The heart beat cycle (first time interval) that main cabinet-type air conditioner is marked also according to socket long connection sends the main cabinet of target from cabinet-type air conditioner to each Machine monitoring data, to realize the main cabinet-type air conditioner of target and respectively from the monitoring logic of the two-way intercommunication of cabinet-type air conditioner.This is because: first, it is local The main cabinet-type air conditioner of target that is designed as of cabinet-type air conditioner monitoring cluster summarizes the monitoring data of each cabinet-type air conditioner, and is uniformly uploaded to express delivery cabinet monitoring service Device, but the case where the main cabinet-type air conditioner of target is also likely to be present failure, so being protected to improve the fault-tolerance of whole system and stability The case where monitoring data for demonstrate,proving each cabinet-type air conditioner can be reported normally, and avoiding host from breaking down influences monitor state, needs to design mesh Interim monitoring scheme when main cabinet-type air conditioner failure is marked, the basis of the interim monitoring scheme is that monitoring objective master simultaneously is needed from cabinet-type air conditioner Cabinet-type air conditioner, particular content illustrate in subsequent step.Second, in order to guarantee can directly to know the shape of the main cabinet-type air conditioner of target from cabinet-type air conditioner State.It needs exist for illustrating the main cabinet-type air conditioner of target and respectively needs the case where knowing partner state each other from cabinet-type air conditioner, by taking two-sided cabinet as an example, lead to It is often all jam plates and upgrading process that the main cabinet-type air conditioner (one end towards courier) in front controls two-sided cabinet-type air conditioner, so reverse side is from cabinet Machine (one end of user oriented pickup) carry out pickup operation when be also required to the main cabinet-type air conditioner state of real-time awareness, such as whether have courier or Administrator is operating, if so, reverse side may then be needed to carry out interface prompt from cabinet-type air conditioner or close specified function;And When main cabinet-type air conditioner carries out updating operation when front, needs to lock positive and negative two pieces of screens, at this moment just need to monitor shape of the reverse side from cabinet-type air conditioner State, to ensure to be upgraded under all unattended idle state in front and back sides.
It should be noted that do not limit S203 and S204 herein executes sequence.
The main cabinet-type air conditioner of S205, target is monitored at interval of the second time interval by the main cabinet-type air conditioner monitoring data of target and respectively from cabinet-type air conditioner Data are sent to express delivery cabinet monitoring server, so that express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
Wherein, the second time interval is that the heartbeat week of communication is monitored between the main cabinet-type air conditioner of target and express delivery cabinet monitoring server Phase, such as can be 1min.Illustratively, the second time interval is greater than or equal to twice of first time interval.This is because Local cabinet-type air conditioner monitoring cluster interaction is more, needs more timely to be monitored, so the palmic rate between cabinet-type air conditioner is (when i.e. first Between be spaced) be twice of the palmic rate (i.e. the second time interval) remotely monitored between cabinet-type air conditioner and server.
Specifically, the main cabinet-type air conditioner of target will periodically converge according to the heart beat cycle (the second time interval) of http long connection Total each cabinet-type air conditioner monitoring data is sent to express delivery cabinet monitoring server.
The main cabinet-type air conditioner of S206, target is according to each corresponding currently from the network information in cabinet-type air conditioner monitoring data, CPU from cabinet-type air conditioner Performance information, disk use information, memory usage information and each parameter preset weight and are weighted summation, determine each from cabinet-type air conditioner Current election weight.
Wherein, the default weight of parameter refers to that parameters (include at least the network information, cpu performance information, disk and use letter Breath and memory usage information) specific gravity shared by preset parameter when being weighted.Election weight refers to can from cabinet-type air conditioner To be elected as the weight of new main cabinet-type air conditioner, recommend weight bigger, it is better from the overall performance of cabinet-type air conditioner to illustrate.It is current to elect weight Refer to election weight of the current time from cabinet-type air conditioner, can be preset numerical value, be also possible to be calculated according to real time data. Because there is the case where changing from the monitoring data of cabinet-type air conditioner, therefore need to be updated periodically the election weight from cabinet-type air conditioner, to ensure It is each newest from the election weight of cabinet-type air conditioner.
Specifically, when interim monitoring scheme is target main cabinet-type air conditioner failure in the present embodiment, just from respectively temporarily being pushed away from cabinet-type air conditioner One is lifted from cabinet-type air conditioner as new main cabinet-type air conditioner (i.e. alternative main cabinet-type air conditioner), the function of the main cabinet-type air conditioner of target of acting for sb, and is respectively elected from cabinet-type air conditioner Foundation be that it current elects weight.It is each that the main cabinet-type air conditioner of target is received from cabinet-type air conditioner monitoring number from the current election weight of cabinet-type air conditioner According to rear, according to from the network information in cabinet-type air conditioner monitoring data, cpu performance information, disk use information, memory usage information and each Parameter presets weight and is weighted summation to calculate, this is because the main cabinet-type air conditioner of target can obtain the respectively monitoring number from cabinet-type air conditioner According to, can obtain it is all from cabinet-type air conditioner according to the current ranking results for electing weight, and determine it is current elect weight it is maximum from Alternative main cabinet-type air conditioner when cabinet-type air conditioner is target main cabinet-type air conditioner failure.In this way, the main cabinet-type air conditioner of target can notify respectively from cabinet-type air conditioner, so as to respectively from Cabinet-type air conditioner still orderly function in the main cabinet-type air conditioner failure of target.
The main cabinet-type air conditioner of S207, target at interval of first time interval, by the main cabinet-type air conditioner monitoring data of target be respectively sent to respectively from When cabinet-type air conditioner, it is respectively sent to respectively from the current election weight of cabinet-type air conditioner each from cabinet-type air conditioner.
Specifically, the main cabinet-type air conditioner of target is determined while to respectively cabinet-type air conditioner monitoring data main from cabinet-type air conditioner transmission target (as elected, weight is maximum to be processing strategie when the main cabinet-type air conditioner failure of all current election weights and target from cabinet-type air conditioner from cabinet-type air conditioner Alternative main cabinet-type air conditioner) be sent respectively to it is each from cabinet-type air conditioner.In this way, each just having from cabinet-type air conditioner all from the current election of cabinet-type air conditioner power Weight.
If S208, monitoring the main cabinet-type air conditioner failure of target from cabinet-type air conditioner, respectively from cabinet-type air conditioner according to respectively from the current election of cabinet-type air conditioner power Alternative main cabinet-type air conditioner is determined again.
Specifically, when there is at least one to monitor the main cabinet-type air conditioner failure of target, such as the main cabinet-type air conditioner of target not with first from cabinet-type air conditioner Time interval is to send the main cabinet-type air conditioner monitoring data of target in the period, can trigger the interim monitoring scheme of starting.At this point, each from cabinet-type air conditioner According to its newest received all current election weight from cabinet-type air conditioner, determine it is current elect weight it is maximum from cabinet-type air conditioner alternately Main cabinet-type air conditioner.
S209, respectively from cabinet-type air conditioner other than alternative main cabinet-type air conditioner it is each remaining established from cabinet-type air conditioner with alternative main cabinet-type air conditioner Socket long connection, and alternative main cabinet-type air conditioner and express delivery cabinet monitoring server establish http long connection.
Specifically, each it corresponds to IP address from cabinet-type air conditioner, therefore after alternative main cabinet-type air conditioner has been determined, it is all from cabinet-type air conditioner Remaining can establish socket long with it according to the IP address of alternative main cabinet-type air conditioner from cabinet-type air conditioner each of other than alternative main cabinet-type air conditioner Connection, so that alternative main cabinet-type air conditioner collects remaining monitoring data from cabinet-type air conditioner.Subsequent alternative main cabinet-type air conditioner can also be monitored to express delivery cabinet to be taken Device of being engaged in initiates http long connection request, so as to reporting for the monitoring data that is summarized.
S210, it is each remaining from cabinet-type air conditioner at interval of first time interval, alternative main cabinet will be sent to from cabinet-type air conditioner monitoring data Machine.
Specifically, it is each remaining from cabinet-type air conditioner according to the period of first time interval, by the slave cabinet-type air conditioner monitoring data of its own It is sent to alternative main cabinet-type air conditioner.
Remaining sends from the slave cabinet-type air conditioner monitoring data of cabinet-type air conditioner by alternative main cabinet-type air conditioner monitoring data and respectively for S211, alternative main cabinet-type air conditioner To express delivery cabinet monitoring server, so that express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
Specifically, alternative main cabinet-type air conditioner initiates http connection request to express delivery cabinet monitoring server according to the second time interval, And send alternative main cabinet-type air conditioner monitoring data and it is each remaining from the slave cabinet-type air conditioner monitoring data of cabinet-type air conditioner to express delivery cabinet monitoring server.Together When, alternative main cabinet-type air conditioner also needs the fault message that the main cabinet-type air conditioner of target is sent to express delivery cabinet monitoring server when sending data for the first time, So that operation maintenance personnel carries out the troubleshooting of the main cabinet-type air conditioner of target in time.
S212, after the fault restoration of the main cabinet-type air conditioner of target, the main cabinet-type air conditioner of target is again and comprising each including alternative main cabinet-type air conditioner Socket long connection is established from cabinet-type air conditioner, and the main cabinet-type air conditioner of target establishes http long connection with express delivery cabinet monitoring server again, so that The main cabinet-type air conditioner of target monitors the respectively slave cabinet-type air conditioner monitoring data from cabinet-type air conditioner again.
Specifically, after the main cabinet-type air conditioner fault restoration of target, need to restore original principal and subordinate's monitoring, i.e. the recovery main cabinet-type air conditioner of target Data summarization and reporting functions, it is all then to restore to send from cabinet-type air conditioner monitoring data to the main cabinet-type air conditioner of target from cabinet-type air conditioner.At this moment, target Main cabinet-type air conditioner can re-establish socket long connection from cabinet-type air conditioner with all, and restore http long with express delivery cabinet monitoring server and connect It connects.When alternative main cabinet-type air conditioner and the main cabinet-type air conditioner of target establish socket long connection, alternative main cabinet-type air conditioner just restores it from cabinet-type air conditioner function automatically Can, respectively remaining is also retransmitted from cabinet-type air conditioner from cabinet-type air conditioner monitoring data to the main cabinet-type air conditioner of target, without retransmiting to alternative main cabinet-type air conditioner.
It should be noted that the monitoring data that the main cabinet-type air conditioner of target does not report before the failure needs after its functional rehabilitation Continue to report to express delivery cabinet monitoring server, to reduce the loss of monitoring data as far as possible.
The technical solution of the present embodiment can by the main cabinet-type air conditioner of target and respectively from socket long connection is established between cabinet-type air conditioner Improve the monitoring efficiency and monitoring stability of local cabinet-type air conditioner monitoring cluster.By the main cabinet-type air conditioner of target at interval of first time interval, The main cabinet-type air conditioner monitoring data of target is respectively sent to respectively to realize the main cabinet-type air conditioner of target and respectively from two-way mutual between cabinet-type air conditioner from cabinet-type air conditioner Logical monitoring, so that the main cabinet-type air conditioner of target and respectively state synchronized efficiency can be further increased with direct communication between cabinet-type air conditioner.Double To on the basis of intercommunication monitoring, if by monitoring the main cabinet-type air conditioner failure of target from cabinet-type air conditioner, according to respectively from the current election of cabinet-type air conditioner Weight determines alternative main cabinet-type air conditioner, and the alternative main cabinet-type air conditioner for being most suitable for the substitution main cabinet-type air conditioner of target can be put forward within the shortest time, Reducing caused by the main cabinet-type air conditioner monitoring signal of target is lost for a long time influences.Further by being acted for sb the main cabinet of target by alternative main cabinet-type air conditioner The data summarization and reporting functions of machine are continued to execute the prison of each express delivery cabinet by alternative main cabinet-type air conditioner when realizing the main cabinet-type air conditioner failure of target Function is controlled, the risk of entire cabinet-type air conditioner cluster lost contact is reduced, improves the stability and fault-tolerance of the monitoring of express delivery cabinet.
Embodiment three
The present embodiment provides a kind of express delivery cabinet monitoring systems, and referring to Fig. 3, which is specifically included:
It from cabinet-type air conditioner 310, establishes and communicates to connect with the main cabinet-type air conditioner of target, monitor number for sending to the main cabinet-type air conditioner of target from cabinet-type air conditioner According to;
The main cabinet-type air conditioner 320 of target is established with express delivery cabinet monitoring server 330 and is communicated to connect, and is respectively sent out from cabinet-type air conditioner 310 for receiving The slave cabinet-type air conditioner monitoring data sent, and by main cabinet-type air conditioner monitoring data and respectively express delivery cabinet monitoring service is sent to from cabinet-type air conditioner monitoring data Device 310;
Express delivery cabinet monitoring server 330, it is each fast for being completed according to main cabinet-type air conditioner monitoring data and respectively from cabinet-type air conditioner monitoring data Pass the condition monitoring of cabinet-type air conditioner.
Optionally, http long connection, the main cabinet of target are established between the main cabinet-type air conditioner 320 of target and express delivery cabinet monitoring server 330 Machine 320 and respectively from establishing socket long connection between cabinet-type air conditioner 310;
Correspondingly, the main cabinet-type air conditioner 320 of target is specifically used for:
At interval of first time interval, the main cabinet-type air conditioner monitoring data of target is respectively sent to respectively from cabinet-type air conditioner 310, wherein prison Control data include system version number, the network information, cpu performance information, disk use information, memory usage information and the lattice of cabinet-type air conditioner Mouth status information;
At interval of the second time interval, express delivery cabinet by the main cabinet-type air conditioner monitoring data of target and respectively is sent to from cabinet-type air conditioner monitoring data Monitoring server 330, wherein the second time interval is greater than or equal to twice of first time interval;
Correspondingly, it is specifically used for from cabinet-type air conditioner 310:
At interval of first time interval, the main cabinet-type air conditioner 320 of target will be sent to from cabinet-type air conditioner monitoring data.
Further, from cabinet-type air conditioner 310 also particularly useful for:
If monitoring main 320 failure of cabinet-type air conditioner of target, according to respectively from the determining alternative main cabinet of the current election weight of cabinet-type air conditioner 310 Machine;
From cabinet-type air conditioner 310 include alternative main cabinet-type air conditioner and remaining from cabinet-type air conditioner;
Wherein, remaining is used for from cabinet-type air conditioner:
Socket long connection is established with alternative main cabinet-type air conditioner;
At interval of first time interval, alternative main cabinet-type air conditioner will be sent to from cabinet-type air conditioner monitoring data;
Alternative main cabinet-type air conditioner is used for:
Http long connection is established with express delivery cabinet monitoring server 330;
At interval of the second time interval, by alternative main cabinet-type air conditioner monitoring data and it is each remaining from the slave cabinet-type air conditioner monitoring data of cabinet-type air conditioner It is sent to express delivery cabinet monitoring server 330, so that express delivery cabinet monitoring server 330 completes the condition monitoring of each express delivery cabinet-type air conditioner.
Further, the main cabinet-type air conditioner 320 of target also particularly useful for:
If monitoring main 320 failure of cabinet-type air conditioner of target from cabinet-type air conditioner 310, respectively from cabinet-type air conditioner 310 according to respectively working as from cabinet-type air conditioner 310 Before preceding election weight determines alternative main cabinet-type air conditioner, according to each corresponding currently from the net in cabinet-type air conditioner monitoring data from cabinet-type air conditioner 310 Network information, cpu performance information, disk use information, memory usage information and each parameter preset weight and are weighted summation, determine Each from the current election weight of cabinet-type air conditioner 310;
At interval of first time interval, when the main cabinet-type air conditioner monitoring data of target is respectively sent to respectively from cabinet-type air conditioner 310, will respectively from The current election weight of cabinet-type air conditioner 310 is respectively sent to each from cabinet-type air conditioner 310.
Optionally, the main cabinet-type air conditioner 320 of target also particularly useful for:
After fault restoration, socket long connection is established from cabinet-type air conditioner 310 with comprising each including alternative main cabinet-type air conditioner again, and Again http long connection is established with express delivery cabinet monitoring server 330, respectively monitors number from the slave cabinet-type air conditioner of cabinet-type air conditioner 310 to monitor again According to.
Optionally, on the basis of above system, which further includes idle state judgment means, is used for:
It is each the main cabinet-type air conditioner 320 of target will be sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner 310 before, judge the main cabinet-type air conditioner of target 320 and respectively whether it is in idle condition from cabinet-type air conditioner 310;
If so, triggering executes the step of being each sent to the main cabinet-type air conditioner of target from cabinet-type air conditioner monitoring data from cabinet-type air conditioner.
Optionally, from cabinet-type air conditioner 310 also particularly useful for:
Determine that the main cabinet-type air conditioner 320 of target is corresponding with the main cabinet-type air conditioner of target respectively from cabinet in each express delivery cabinet-type air conditioner from state to be monitored After machine 310, if generating business datum, business datum is sent to the main cabinet-type air conditioner 320 of target in real time.
Three a kind of express delivery cabinet monitoring system through the embodiment of the present invention, realizes and more efficiently monitors multiple express delivery cabinets State, and improve the communication efficiency between express delivery cabinet.
Express delivery provided by any embodiment of the invention can be performed in express delivery cabinet monitoring system provided by the embodiment of the present invention Cabinet monitoring method has the corresponding functional module of execution method and beneficial effect.
Example IV
Referring to fig. 4, a kind of electronic equipment 400 is present embodiments provided comprising: one or more processors 420;Storage Device 410, for storing one or more programs, when one or more programs are executed by one or more processors 420, so that One or more processors 420 realize a kind of express delivery cabinet monitoring method provided by the embodiment of the present invention, comprising:
Determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of target are corresponding respectively from cabinet-type air conditioner from each express delivery cabinet-type air conditioner of state to be monitored;
Control each will be sent to the main cabinet-type air conditioner of target from cabinet-type air conditioner from cabinet-type air conditioner monitoring data;
It controls the main cabinet-type air conditioner of target and is sent to the monitoring of express delivery cabinet by the main cabinet-type air conditioner monitoring data of target and respectively from cabinet-type air conditioner monitoring data Server, so that express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
Certainly, it will be understood by those skilled in the art that processor 420 can also realize that any embodiment of that present invention is provided Express delivery cabinet monitoring method technical solution.
The electronic equipment 400 that Fig. 4 is shown is only an example, should not function and use scope to the embodiment of the present invention Bring any restrictions.
As shown in figure 4, the electronic equipment 400 includes processor 420 and storage device 410;Processor 420 in electronic equipment Quantity can be one or more, in Fig. 4 by taking a processor 420 as an example;Processor 420 and storage dress in electronic equipment Setting 410 can be connected by bus or other modes, in Fig. 4 for being connected by bus 450.
Storage device 410 is used as a kind of computer readable storage medium, and it is executable to can be used for storing software program, computer Program and module, such as the corresponding program instruction/module of express delivery cabinet monitoring method in the embodiment of the present invention.
Storage device 410 can mainly include storing program area and storage data area, wherein storing program area can store operation Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal. In addition, storage device 410 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, storage device 410 It can further comprise the memory remotely located relative to processor 420, these remote memories can be by being connected to the network extremely Electronic equipment.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and its group It closes.
Embodiment five
The present embodiment provides a kind of storage mediums comprising computer executable instructions, and computer executable instructions are by counting For executing a kind of express delivery cabinet monitoring method when calculation machine processor executes, this method comprises:
Determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of target are corresponding respectively from cabinet-type air conditioner from each express delivery cabinet-type air conditioner of state to be monitored;
The main cabinet-type air conditioner of target each will be sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner;
The main cabinet-type air conditioner of target is sent to express delivery cabinet monitoring service from cabinet-type air conditioner monitoring data by the main cabinet-type air conditioner monitoring data of target and respectively Device, so that express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention Executable instruction is not limited to method operation as above, and express delivery cabinet monitoring side provided by any embodiment of the invention can also be performed Relevant operation in method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions use so that an electronic equipment (can be personal computer, server or the network equipment etc.) executes express delivery cabinet prison provided by each embodiment of the present invention Prosecutor method.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of express delivery cabinet monitoring method characterized by comprising
Determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of the target are corresponding respectively from cabinet-type air conditioner from each express delivery cabinet-type air conditioner of state to be monitored;
The main cabinet-type air conditioner of the target will be sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner described in each;
The main cabinet-type air conditioner of target by the main cabinet-type air conditioner monitoring data of target and it is each it is described from cabinet-type air conditioner monitoring data be sent to express delivery cabinet monitoring Server, so that the express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
2. the method according to claim 1, wherein the main cabinet-type air conditioner of the target and the express delivery cabinet monitoring server Between establish http long connection, the main cabinet-type air conditioner of the target and each described from establishing socket long connection between cabinet-type air conditioner;
Correspondingly, determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of the target are corresponding each in each express delivery cabinet-type air conditioner from state to be monitored After cabinet-type air conditioner, further includes:
The main cabinet-type air conditioner monitoring data of the target is respectively sent to each described by the main cabinet-type air conditioner of target at interval of first time interval From cabinet-type air conditioner, wherein monitoring data includes the system version number of cabinet-type air conditioner, the network information, cpu performance information, disk use information, interior Deposit use information and bin status information;
Correspondingly, each described to be sent to the main cabinet-type air conditioner of the target from cabinet-type air conditioner monitoring data from cabinet-type air conditioner and include:
The target master is sent to from cabinet-type air conditioner monitoring data by described at interval of the first time interval from cabinet-type air conditioner described in each Cabinet-type air conditioner;
Correspondingly, the main cabinet-type air conditioner of the target by the main cabinet-type air conditioner monitoring data of target and each described is sent to express delivery from cabinet-type air conditioner monitoring data Cabinet monitoring server includes:
The main cabinet-type air conditioner of target each described is supervised the main cabinet-type air conditioner monitoring data of the target and from cabinet-type air conditioner at interval of the second time interval Control data are sent to express delivery cabinet monitoring server, wherein second time interval is greater than or equal to the first time interval Twice.
3. according to the method described in claim 2, it is characterized by further comprising:
If described monitor the main cabinet-type air conditioner failure of the target from cabinet-type air conditioner, it is each it is described from cabinet-type air conditioner according to each described from the current of cabinet-type air conditioner It elects weight and determines alternative main cabinet-type air conditioner;
It is each it is described from cabinet-type air conditioner other than the alternative main cabinet-type air conditioner it is each remaining established from cabinet-type air conditioner with the alternative main cabinet-type air conditioner Socket long connection, and the alternative main cabinet-type air conditioner and the express delivery cabinet monitoring server establish http long connection;
It is each described remaining from cabinet-type air conditioner at interval of the first time interval, by it is described be sent to from cabinet-type air conditioner monitoring data it is described standby Select main cabinet-type air conditioner;
The alternative main cabinet-type air conditioner at interval of second time interval, will alternative main cabinet-type air conditioner monitoring data and it is each it is described remaining from cabinet The slave cabinet-type air conditioner monitoring data of machine is sent to the express delivery cabinet monitoring server, so that the express delivery cabinet monitoring server completes each institute State the condition monitoring of express delivery cabinet-type air conditioner.
4. if according to the method described in claim 3, it is characterized in that, monitor the main cabinet-type air conditioner event of the target from cabinet-type air conditioner described Barrier, then it is each it is described from cabinet-type air conditioner according to it is each it is described determine alternative main cabinet-type air conditioner from the current election weight of cabinet-type air conditioner before, further includes:
The main cabinet-type air conditioner of target is according to each described corresponding currently from the network information in cabinet-type air conditioner monitoring data, CPU from cabinet-type air conditioner Performance information, disk use information, memory usage information and each parameter preset weight and are weighted summation, determine it is each described in from The current election weight of cabinet-type air conditioner;
The main cabinet-type air conditioner monitoring data of the target is respectively sent to each described by the main cabinet-type air conditioner of target at interval of first time interval When from cabinet-type air conditioner, by it is each it is described be respectively sent to from the current election weight of cabinet-type air conditioner it is each described from cabinet-type air conditioner.
5. according to the method described in claim 3, it is characterized by further comprising:
After the fault restoration of the main cabinet-type air conditioner of the target, the main cabinet-type air conditioner of target again with comprising the alternative main cabinet-type air conditioner including Socket long connection is established from cabinet-type air conditioner described in each, and the main cabinet-type air conditioner of the target is established with the express delivery cabinet monitoring server again Http long connection, so that the main cabinet-type air conditioner of the target monitors each slave cabinet-type air conditioner monitoring data from cabinet-type air conditioner again.
6. the method according to claim 1, wherein described will be sent from cabinet-type air conditioner from cabinet-type air conditioner monitoring data each Before to the main cabinet-type air conditioner of the target, further includes:
Judge the main cabinet-type air conditioner of the target and each described whether is in idle condition from cabinet-type air conditioner;
If so, triggering executes each step that will be sent to the main cabinet-type air conditioner of the target from cabinet-type air conditioner monitoring data from cabinet-type air conditioner Suddenly.
7. the method according to claim 1, wherein determining target in each express delivery cabinet-type air conditioner from state to be monitored Main cabinet-type air conditioner and the main cabinet-type air conditioner of the target are corresponding respectively after cabinet-type air conditioner, further includes:
It is described to be sent to the target in real time from cabinet-type air conditioner by the business datum if any described from cabinet-type air conditioner generation business datum Main cabinet-type air conditioner.
8. a kind of express delivery cabinet monitoring system characterized by comprising the main cabinet-type air conditioner of target, the main cabinet-type air conditioner of the target it is corresponding respectively from Cabinet-type air conditioner and express delivery cabinet monitoring server;
It is described to establish and communicate to connect with the main cabinet-type air conditioner of the target from cabinet-type air conditioner, it is supervised for sending to the main cabinet-type air conditioner of the target from cabinet-type air conditioner Control data;
The main cabinet-type air conditioner of target is established with the express delivery cabinet monitoring server and is communicated to connect, each described from cabinet-type air conditioner hair for receiving The slave cabinet-type air conditioner monitoring data sent, and by main cabinet-type air conditioner monitoring data and each described the express delivery cabinet is sent to from cabinet-type air conditioner monitoring data Monitoring server;
The express delivery cabinet monitoring server, for according to the main cabinet-type air conditioner monitoring data and it is each it is described from cabinet-type air conditioner monitoring data complete The condition monitoring of each express delivery cabinet-type air conditioner.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The express delivery cabinet monitoring method as described in any in claim 1-7 is realized when processor executes.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real A kind of existing express delivery cabinet monitoring method, this method comprises:
Determine that the main cabinet-type air conditioner of target and the main cabinet-type air conditioner of the target are corresponding respectively from cabinet-type air conditioner from each express delivery cabinet-type air conditioner of state to be monitored;
The main cabinet-type air conditioner of the target will be sent to from cabinet-type air conditioner monitoring data from cabinet-type air conditioner described in control is each;
The main cabinet-type air conditioner of the target is controlled by the main cabinet-type air conditioner monitoring data of target and each described is sent to express delivery cabinet from cabinet-type air conditioner monitoring data Monitoring server, so that the express delivery cabinet monitoring server completes the condition monitoring of each express delivery cabinet-type air conditioner.
CN201910465648.9A 2019-05-30 2019-05-30 Express cabinet monitoring method, system, storage medium and equipment Active CN110213364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465648.9A CN110213364B (en) 2019-05-30 2019-05-30 Express cabinet monitoring method, system, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465648.9A CN110213364B (en) 2019-05-30 2019-05-30 Express cabinet monitoring method, system, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN110213364A true CN110213364A (en) 2019-09-06
CN110213364B CN110213364B (en) 2022-05-10

Family

ID=67789681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465648.9A Active CN110213364B (en) 2019-05-30 2019-05-30 Express cabinet monitoring method, system, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN110213364B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114399868A (en) * 2022-01-17 2022-04-26 拉扎斯网络科技(上海)有限公司 Storage and pickup container detection system, method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977124A (en) * 2010-11-05 2011-02-16 山东中创软件工程股份有限公司 Service clustering method and system based on ZooKeeper technology
CN102955458A (en) * 2011-08-30 2013-03-06 王正伟 Storage cabinet controlling system
CN104134292A (en) * 2014-07-30 2014-11-05 济南新吉纳远程测控股份有限公司 Intelligent terminal cabinet for fresh vegetable sale, internet sale system and method
US20150179006A1 (en) * 2013-11-16 2015-06-25 American Locker Group, Inc. Electronic locker system
US20150371468A1 (en) * 2014-06-23 2015-12-24 Parcelhome Limited Delivery and collection apparatus, method and system
CN107621812A (en) * 2017-08-31 2018-01-23 深圳市丰巢科技有限公司 A kind of Intelligent hardware control method and system based on Internet of Things
CN107657362A (en) * 2017-08-31 2018-02-02 深圳市丰巢科技有限公司 A kind of data processing method of intelligent cabinet, storage medium and electronic equipment
CN108806110A (en) * 2018-05-28 2018-11-13 广东乐心医疗电子股份有限公司 Public locker management method and system
US20190088060A1 (en) * 2017-09-21 2019-03-21 Universal City Studios Llc Locker management techniques

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977124A (en) * 2010-11-05 2011-02-16 山东中创软件工程股份有限公司 Service clustering method and system based on ZooKeeper technology
CN102955458A (en) * 2011-08-30 2013-03-06 王正伟 Storage cabinet controlling system
US20150179006A1 (en) * 2013-11-16 2015-06-25 American Locker Group, Inc. Electronic locker system
US20150371468A1 (en) * 2014-06-23 2015-12-24 Parcelhome Limited Delivery and collection apparatus, method and system
CN104134292A (en) * 2014-07-30 2014-11-05 济南新吉纳远程测控股份有限公司 Intelligent terminal cabinet for fresh vegetable sale, internet sale system and method
CN107621812A (en) * 2017-08-31 2018-01-23 深圳市丰巢科技有限公司 A kind of Intelligent hardware control method and system based on Internet of Things
CN107657362A (en) * 2017-08-31 2018-02-02 深圳市丰巢科技有限公司 A kind of data processing method of intelligent cabinet, storage medium and electronic equipment
US20190088060A1 (en) * 2017-09-21 2019-03-21 Universal City Studios Llc Locker management techniques
CN108806110A (en) * 2018-05-28 2018-11-13 广东乐心医疗电子股份有限公司 Public locker management method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘雄波: ""Cortex-A8的自动存取件冷藏快递柜系统设计"", 《单片机与嵌入式系统应用》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114399868A (en) * 2022-01-17 2022-04-26 拉扎斯网络科技(上海)有限公司 Storage and pickup container detection system, method and device and electronic equipment

Also Published As

Publication number Publication date
CN110213364B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
US7231455B2 (en) System monitoring service using throttle mechanisms to manage data loads and timing
EP1697843B1 (en) System and method for managing protocol network failures in a cluster system
CN107547589A (en) A kind of data acquisition treatment method and device
CN107786681B (en) Method, device and system for scheduling IP address resources
JP2017531370A (en) Energy saving control method, management server, and network device
CN100521603C (en) Method for realizing high-usability of network security equipment under cluster mode
CN109960634A (en) A kind of method for monitoring application program, apparatus and system
CN110705893B (en) Service node management method, device, equipment and storage medium
CN104243259B (en) Collaboration method and system in distributed elastic network interconnection system
CN110809262B (en) COAP protocol-based operation and maintenance management method for Internet of things equipment
CN106537840A (en) System and method for network apparatus management
CN112653569B (en) Equipment management method, device and system
CN105912280A (en) Storage terminal capable of performing data classification
CN109412890B (en) DDS-based joint test platform middleware node state detection method
WO2020088351A1 (en) Method for sending device information, computer device and distributed computer device system
CN110213364A (en) Express delivery cabinet monitoring method, system, storage medium and equipment
CN107547301A (en) A kind of master/slave device switching method and device
CN113489149B (en) Power grid monitoring system service master node selection method based on real-time state sensing
CN106789913A (en) User account management method and device
CN108289041B (en) Server information processing method and related device
CN109428745B (en) JMS message forwarding method, device, electronic equipment and storage medium
CN106411574B (en) Management control method and device
CN112231123A (en) Message processing method, message processing device, storage medium and electronic device
JP5598362B2 (en) Traffic data monitoring system and server-to-server data matching method
JP2015230674A (en) Management object device, management device, and network management system

Legal Events

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