Remote temperature monitoring platform for machine room and method thereof
Technical Field
The invention relates to the technical field of temperature monitoring, in particular to a remote temperature monitoring platform for a machine room and a method thereof.
Background
At present, server rooms are more and more important, more and more devices are placed inside the server rooms, the server rooms are highly centralized, the temperature in the traditional server rooms, particularly the temperature in each rack for storing the servers, is an extremely important index, the stable operation and the service life of the servers stored in the server rooms are extremely important, uninterrupted monitoring and maintenance are needed, once problems occur, the servers need to be timely processed, loss can be caused when the servers are not timely processed, and suitable multipoint temperature monitoring devices are not provided at present.
Therefore, the remote temperature monitoring system of the machine room is obtained, as shown in fig. 1, and comprises a temperature detector 1, a singlechip 2 and a management server 3; the number of the single-chip microcomputers 2 is multiple, and one single-chip microcomputer is arranged in each machine room; the temperature detector 1 is provided with a plurality of temperature detectors 1, one temperature detector 1 is arranged on a rack for storing the servers, and the temperature detectors 1 in the same machine room are connected with a single chip microcomputer 2 in the machine room; the management server 3 is one and is arranged in the master control room, and the singlechip 2 is connected with the management server 3 through a network.
The temperature detector 1 is connected with a temperature acquisition card of the singlechip 2.
The temperature detector 1 monitors the temperature in the rack in real time and automatically sends signals to the single chip microcomputer 2, the single chip microcomputer 2 sends events to the management server 3 through a network after receiving the signals through the temperature acquisition card, the management server 3 displays the temperature conditions of all monitoring points on a screen in real time, and once abnormity is found, the temperature conditions can be processed in time.
The single chip microcomputer independently encapsulates each event into an information message, and then sends the information message to the management server, wherein the purpose of sending the information message to the management server is to ensure high speed, high efficiency and correctness, and the mode of sending the general information message to the management server to ensure correctness is to send the information message again if the information message is lost; however, when the information link is accidentally lost or blocked for a short period of time due to the mode of retransmitting the information message if the information message is lost, the information link for transmitting the information message cannot be quickly changed, so that the rapidness, the efficiency and the correctness of the information message transmission cannot be better ensured.
The management server is arranged in the server case, the server case is usually arranged outdoors, and along with the gradual pollution of outdoor environments in many places in recent years, the outdoor environments have a lot of particulate impurities, the server case is usually damaged under the action of outdoor airflow, a large number of particulate impurities are sent into the server case, and the particulate impurities are attached to the wall surface of the management server, so that the temperature of the management server is not smoothly reduced, and even a fault of the management server under overheat is formed; in addition, under the action of the outdoor airflow with particulate impurities, the damage to the outer wall of the server case is also severe, so that the service life of the server case is not high.
Disclosure of Invention
In order to solve the problems, the invention provides a remote temperature monitoring platform for a machine room and a method thereof, which effectively avoid the defects that in the prior art, an information link which cannot be quickly transferred by information messages cannot be changed, the information message transfer cannot be ensured to be quick, efficient and correct better, particulate matter impurities are attached to the wall surface of a management server, so that the management server is not smoothly cooled, the fault of the management server under overheating is formed, the damage to the outer wall of a server case is severe under the action of outdoor airflow with the particulate matter impurities, and the working life of the server case is not long.
In order to overcome the defects in the prior art, the invention provides a solution for a remote temperature monitoring platform for a machine room and a method thereof, which comprises the following steps:
a remote temperature monitoring platform for a machine room comprises a single chip microcomputer 2 and a management server 3; the single chip microcomputer 2 is connected with the management server 3 through a network;
the single chip microcomputer sends the events to the management server in a mode that the single chip microcomputer independently encapsulates each event into an information message and then sends the information message to the management server;
the single chip microcomputer comprises a transmission program and a control program;
here:
the transfer program is used for transferring the information message to the management server;
the control program is used for adding a transmission guide sign in the information message if the transmission program does not obtain the response message of the management server to the information message within a set time length, wherein the transmission guide sign is used for indicating the transmission mode of the information message;
the transmission program is also used for performing retransmission on the information message by virtue of the transmission guide mark additionally arranged in the control program;
the management server is arranged in an outdoor server case and comprises a first case body 201 and a second case body 204, the second case body 204 is arranged in the first case body 201, the corners of two side walls of the first case body 201 are provided with wall surfaces 202 for preventing particles and impurities, the radian between the wall surfaces 202 for preventing particles and impurities and the horizontal plane is pi/6-pi/3, the wall surfaces 202 for preventing particles and impurities are equidistantly provided with a plurality of exhaust ports 203, the radian between the exhaust ports 203 and the horizontal plane is pi/3, the front wall of the first case body 201 is provided with a first cover plate, the first cover plate is provided with a first handle, the second case body 204 is arranged at the position of the middle position in the first case body 201, the two side walls of the second case body 204 are provided with a plurality of strip-shaped connecting strips 205 in a mirror image mode, the second case body 204 is welded on the surface of the inner part of the first case body 201 through the strip-shaped connecting strips 205, the front wall of the second box body 204 is pivoted with a second cover plate 241, the second cover plate 241 is provided with a second handrail 243, the second box body 204 is inserted with a plurality of cooling fins 242 at equal intervals, the cooling fins penetrate through the top wall and the bottom wall of the second box body 204, the lower wall of the first box body 201 penetrates through a cavity 209 with two through ends, the cavity 209 with two through ends is communicated with the inside of the first box body 201, the particle-proof impurity-free wall surface 202 of the lower part of the first box body 201 is provided with a plurality of supporting rods 206, the lower wall of each supporting rod 206 is welded with a cylindrical positioning sheet 207, and the periphery of each cylindrical positioning sheet 207 is provided with a plurality of positioning holes 208 at equal intervals.
And a management server is arranged in the second box body.
Here, the set time length can be determined by a tolerance threshold of a longest time length from when the single chip microcomputer first transmits the information message to the management server until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer.
The manipulation program can be used to:
determining that the information message is not required to be retransmitted by means of a tolerance threshold value of the longest duration from the time when the single chip microcomputer transmits the information message to the management server for the first time until the single chip microcomputer obtains a response message which is transmitted by the management server to the single chip microcomputer and obtains the information message:
if the final time of the time length required by the advance estimation for transmitting the information message to the management server again is lower than the tolerance threshold value of the longest time length, a transmission guide mark is additionally arranged in the information message;
selecting a corresponding information link which can transmit the information message to the management server again and has the estimated time required in advance and the final time lower than the tolerance threshold value of the longest time to perform retransmission by means of the tolerance threshold value of the longest time;
and if the final time of the time length required by the advance estimation for retransmitting the information message to the management server is not lower than the tolerance threshold value of the longest time length, the task of retransmitting the information message is not executed any more.
The transfer guide token is a re-transfer token, the transfer program operable to:
and selecting one information link or transmitting the information message again on a plurality of information links by means of the retransmission mark.
The transfer guide token is a quantity flag of how many times the transfer is performed, and the transfer program is operable to:
and executing re-transmission on the information message by means of the number of times of transmission in the number mark of times of transmission.
The delivery program is operable to:
if the number of times of transmission is one, transmitting the information link transmitted before the information message again;
if the number of times of transmission is less than three and more than one, one information link is selected again or the information message is transmitted again on a plurality of information links;
and if the number of times of transmission is more than or equal to three, transmitting the information message again on a plurality of information links.
The structure of the single chip microcomputer for sending the information message to the management server is divided into three stages: an encapsulation stage, a transport stage, and a link stage, where,
and (3) packaging stage: independently encapsulating each event into an information message;
a transmission stage: the management server identifies the information message obtained by the singlechip, namely transmits a response message to the singlechip; the single chip microcomputer executes sequencing on the transmitted information messages in a serial number marking mode, starts timing when transmitting the information messages and executes retransmission on the information messages when the information messages need to be retransmitted;
and (3) link level: one or several information links are selected to transmit the information message delivered by the transmission stage to the management server.
During the transmission of the information message, if the single chip microcomputer transmits the information message to the management server through an information link for the first time and does not obtain the response message of the management server to the information message within the set time length for the first time, the transmission level of the single chip microcomputer adds a transmission guide mark for indicating the transmission mode of the information message in the information message and transmits the transmission guide mark to the link level; after obtaining the transfer guide mark, the link level can perform re-transfer on the information packet by means of the transfer guide mark.
It is also possible to integrate the encapsulation stage with the delivery stage, only to ensure that the link stage can obtain information messages, whether they need to be delivered again.
The method for the remote temperature monitoring platform of the machine room comprises the following steps: the single chip microcomputer 2 receives the signals through the temperature acquisition card and then sends the events to the management server 3 through the network;
the single chip microcomputer sends the events to the management server in a mode that the single chip microcomputer independently encapsulates each event into an information message and then sends the information message to the management server;
the method for sending the information message to the management server comprises the following steps:
s1: the single chip microcomputer transmits an information message to the management server;
s2: if the response message of the management server to the information message is not obtained within the set duration, adding a transmission guide sign in the information message, wherein the transmission guide sign is used for indicating the transmission mode of the information message;
here, the set time length can be determined by a tolerance threshold of the longest time length from the time when the single chip microcomputer first transmits the information message to the management server until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer; the tolerance threshold value is the time which can be reached after the longest time length from the first time when the single chip microcomputer transmits the information message to the management server until the single chip microcomputer obtains the response message which is transmitted by the management server to the single chip microcomputer and obtains the information message is added with 5 seconds. The final time of the set duration is lower than the time;
just like this, setting a tolerance threshold as K, wherein the time that can be reached after the longest time that the single chip microcomputer starts to transmit the information message to the management server for the first time until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer and 5 seconds is added is the longest time, and the last time that the single chip microcomputer starts to transmit the information message to the management server for the first time until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer is L, wherein K is greater than L, and then retransmitting the information message when the time for waiting for the response message is greater than L;
s3: and performing retransmission on the information message by means of the transmission guide mark.
Executing retransmission of the information message by means of a mode of activating the singlechip, if the singlechip does not obtain a response message of the management server to the information message within a set time length, executing retransmission of the information message by additionally arranging a transmission guide mark for indicating a transmission mode of the information message in the information message transmitted to the management server;
the wall surface 202 for preventing particles from being free of impurities, which is arranged on the first box body 201, can weaken the impact of airflow with particle impurities on the first box body 201; the air outlet 203 is beneficial to airflow reaching the inside of the first box body 201 and can reduce particulate impurities reaching the inside of the first box body 201; the second box 204 is a sealed management server capable of protecting the second box, and the introduction of the cooling fins 242 can reduce the temperature in the second box 204.
The transfer guide token can be a number indicator of how many times the token is transferred again.
The delivery guidance token may be a re-delivery token, and the re-delivering the information packet by the delivery guidance token in S3 may include:
and selecting one information link or transmitting the information message again on a plurality of information links by means of the retransmission mark.
If the response message of the management server to the information message is not obtained within a set time length for the first time, one information link can be selected from other information links to transmit the information message again; if the response message of the management server to the information message is not obtained in the set duration after the information message is transmitted again on one information link selected from other information links, the information message can be transmitted again on a plurality of information links later; when the information message is transmitted again on a plurality of information links later, the information message can be transmitted again on the plurality of information links simultaneously, or the information message can be transmitted again on the plurality of information links one by one.
The transfer guide mark may be a number flag indicating how many times the information packet is transferred, and the re-transferring the information packet by using the transfer guide mark in S3 may include:
and executing re-transmission on the information message by means of the number of times of transmission in the number mark of times of transmission.
The performing, by the number of times in the number of times transmitted flag, a corresponding retransmission of the information packet may include:
if the number of times of transmission is one, transmitting the information link transmitted before the information message again;
if the number of times of transmission is less than three and more than one, one information link is selected again or the information message is transmitted again on a plurality of information links;
and if the number of times of transmission is more than or equal to three, transmitting the information message again on a plurality of information links.
The number of times in the number mark of the number of times of transmission can be used for transmitting the information message again by using another mode;
the performing retransmission of the information packet by the number of times in the number of times transmitted flag may further include:
if the number of times of transmission is one, selecting an information link to transmit the information message again;
if the number of times of transmission is more than one, the information message is transmitted again on a plurality of information links.
The method for information message transmission can further comprise:
determining that the information message is not required to be retransmitted by means of a tolerance threshold value of the longest duration from the time when the single chip microcomputer transmits the information message to the management server for the first time until the single chip microcomputer obtains a response message which is transmitted by the management server to the single chip microcomputer and obtains the information message:
if the final time of the time length required by the advance estimation for transmitting the information message to the management server again is lower than the tolerance threshold value of the longest time length, a transmission guide mark is additionally arranged in the information message;
selecting a corresponding information link which can transmit the information message to the management server again and has the estimated time required in advance and the final time lower than the tolerance threshold value of the longest time to perform retransmission by means of the tolerance threshold value of the longest time;
and if the final time of the time length required by the advance estimation for retransmitting the information message to the management server is not lower than the tolerance threshold value of the longest time length, the task of retransmitting the information message is not executed any more.
During the transmission of the information message, if the single chip microcomputer transmits the information message to the management server through an information link for the first time and does not obtain the response message of the management server to the information message within the set time length for the first time, the transmission level of the single chip microcomputer adds a transmission guide mark for indicating the transmission mode of the information message in the information message and transmits the transmission guide mark to the link level; after obtaining the transfer guide mark, the link level can perform re-transfer on the information packet by means of the transfer guide mark.
It is also possible to integrate the encapsulation stage with the delivery stage, only to ensure that the link stage can obtain information messages, whether they need to be delivered again.
Here, the tolerance threshold is set to be K, which is the time that can be reached after the longest time that the single chip microcomputer starts to transmit the information message to the management server for the first time until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer and 5 seconds later, and the final time that the single chip microcomputer starts to transmit the information message to the management server for the first time until the single chip microcomputer obtains the longest time that the single chip microcomputer obtains the response message that the management server transmits the information message to the single chip microcomputer is L, where K is greater than L, then retransmission is performed on the information message when the time of waiting for the response message is greater than L, and thus the retransmission time is limited to be between 0 and the value obtained by subtracting L from K.
The invention has the beneficial effects that:
and executing retransmission of the information message by means of a mode of activating the singlechip, and if the transmission program does not obtain a response message of the management server to the information message within a set time length, executing retransmission of the information message by adding a transmission guide mark for indicating the transmission mode of the information message in the information message transmitted to the management server. Thus, when the sporadic information message of a short period of time is lost and blocked on an information link, the information link for information message transmission can be quickly changed by the transmission guide mark, so that the message transmission can be fast, efficient and correct.
The wall surface 202 for preventing particles from being free of impurities, which is arranged on the first box body 201, can weaken the impact of airflow with particle impurities on the first box body 201, so that the working life of the first box body 201 is greatly prolonged, and the maintenance cost is reduced; the special structure of the air outlet 203 is beneficial to the air flow to reach the inside of the first box body 201, and can reduce the particulate impurities to reach the inside of the first box body 201; the second box 204 is sealed, particulate impurities can be comprehensively resisted, the management server in the second box can be protected with high efficiency, the temperature in the second box 204 can be effectively reduced due to the introduction of the cooling fins 242, and the long-period continuous operation of the management server is ensured.
Drawings
Fig. 1 is a schematic diagram of a remote temperature monitoring system of a machine room in the prior art.
Fig. 2 is an overall structural view of the server casing of the present invention.
FIG. 3 is a schematic diagram of a second case according to the present invention.
Detailed Description
The invention will be further described with reference to the following figures and examples.
As shown in fig. 1-3, the remote temperature monitoring platform for a machine room includes a temperature detector 1, a single chip microcomputer 2, and a management server 3; the number of the single-chip microcomputers 2 is multiple, and one single-chip microcomputer is arranged in each machine room; the temperature detector 1 is provided with a plurality of temperature detectors 1, one temperature detector 1 is arranged on a rack for storing the servers, and the temperature detectors 1 in the same machine room are connected with a single chip microcomputer 2 in the machine room; the management server 3 is arranged in the master control room, and the singlechip 2 is connected with the management server 3 through a network;
the temperature detector 1 is connected with a temperature acquisition card of the singlechip 2.
The single chip microcomputer sends the events to the management server in a mode that the single chip microcomputer independently encapsulates each event into an information message and then sends the information message to the management server;
the single chip microcomputer comprises a transmission program and a control program;
here:
the transfer program is used for transferring the information message to the management server;
the control program is used for adding a transmission guide sign in the information message if the transmission program does not obtain the response message of the management server to the information message within a set time length, wherein the transmission guide sign is used for indicating the transmission mode of the information message;
the transfer program is also used for performing re-transfer on the information message by means of the transfer guide mark additionally arranged in the control program.
Here, the set time length can be determined by a tolerance threshold of a longest time length from when the single chip microcomputer first transmits the information message to the management server until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer. The tolerance threshold value is the time which can be reached after the longest time length from the first time when the single chip microcomputer transmits the information message to the management server until the single chip microcomputer obtains the response message which is transmitted by the management server to the single chip microcomputer and obtains the information message is added with 5 seconds. The final time of the set duration is below that time.
The manipulation program can be used to:
determining that the information message is not required to be retransmitted by means of a tolerance threshold value of the longest duration from the time when the single chip microcomputer transmits the information message to the management server for the first time until the single chip microcomputer obtains a response message which is transmitted by the management server to the single chip microcomputer and obtains the information message:
if the final time of the time length required by the advance estimation for transmitting the information message to the management server again is lower than the tolerance threshold value of the longest time length, a transmission guide mark is additionally arranged in the information message;
selecting a corresponding information link which can transmit the information message to the management server again and has the estimated time required in advance and the final time lower than the tolerance threshold value of the longest time to perform retransmission by means of the tolerance threshold value of the longest time;
and if the final time of the time length required by the advance estimation for retransmitting the information message to the management server is not lower than the tolerance threshold value of the longest time length, the task of retransmitting the information message is not executed any more.
The single chip microcomputer executes retransmission of the information message by means of a mode for activating the single chip microcomputer, and if the transmission program does not obtain a response message of the management server to the information message within a set time length, the single chip microcomputer executes retransmission of the information message by adding a transmission guide mark for indicating the transmission mode of the information message in the information message transmitted to the management server. Thus, when the sporadic information message of a short period of time is lost and blocked on an information link, the information link for information message transmission can be quickly changed by the transmission guide mark, so that the message transmission can be fast, efficient and correct.
The transfer guide token is a re-transfer token, the transfer program operable to:
and selecting one information link or transmitting the information message again on a plurality of information links by means of the retransmission mark.
The transfer guide token is a quantity flag of how many times the transfer is performed, and the transfer program is operable to:
and executing re-transmission on the information message by means of the number of times of transmission in the number mark of times of transmission.
The delivery program is operable to:
if the number of times of transmission is one, transmitting the information link transmitted before the information message again;
if the number of times of transmission is less than three and more than one, one information link is selected again or the information message is transmitted again on a plurality of information links;
and if the number of times of transmission is more than or equal to three, transmitting the information message again on a plurality of information links.
Thus, the performance of fast, efficient and correct message transmission can be obtained when occasional message loss and blocking occurs in a short period of time on an information link.
And the single chip microcomputer has little benefit in the aspect of utilizing the efficiency of the information links compared with the performance of improving the correctness of transmission by only transmitting the information message through one information link and combining a plurality of information links.
Also, in contrast to the way in which test messages for testing the information link are transmitted between the single-chip and the management server when packaged as an information message, the single-chip has better adaptability in this way (no test messages have to be used between the single-chip and the management server).
The method for the remote temperature monitoring platform of the machine room comprises the following specific steps:
the temperature detector 1 monitors the temperature in the rack in real time and automatically sends a signal to the singlechip 2, the singlechip 2 sends an event to the management server 3 through a network after receiving the signal through the temperature acquisition card, and the management server 3 displays the temperature condition of each monitoring point on a screen in real time and can process the temperature condition in time once abnormity is found;
the single chip microcomputer sends the events to the management server in a mode that the single chip microcomputer independently encapsulates each event into an information message and then sends the information message to the management server;
the method for sending the information message to the management server comprises the following steps:
s1: the single chip microcomputer transmits an information message to the management server;
s2: if the response message of the management server to the information message is not obtained within the set duration, adding a transmission guide sign in the information message, wherein the transmission guide sign is used for indicating the transmission mode of the information message;
here, the set time length can be determined by a tolerance threshold of the longest time length from the time when the single chip microcomputer first transmits the information message to the management server until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer; the tolerance threshold value is the time which can be reached after the longest time length from the first time when the single chip microcomputer transmits the information message to the management server until the single chip microcomputer obtains the response message which is transmitted by the management server to the single chip microcomputer and obtains the information message is added with 5 seconds. The final time of the set duration is lower than the time;
just as, setting a tolerance threshold as K, where the time that can be reached after the maximum time that the single chip microcomputer starts to transmit the information message to the management server for the first time until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer and 5 seconds later is added, and the final time that the single chip microcomputer starts to transmit the information message to the management server for the first time until the single chip microcomputer obtains the maximum time that the single chip microcomputer obtains the response message that the management server transmits the information message to the single chip microcomputer is L, where K is greater than L, then re-transmitting the information message when the time of waiting for the response message is greater than L is performed, so that the re-transmitting time is limited between 0 and the value obtained by subtracting L from K, and the information message obtained by the management server is still fast and efficient after re-transmitting.
S3: and performing retransmission on the information message by means of the transmission guide mark.
And executing retransmission of the information message by means of a mode for activating the singlechip, and if the singlechip does not obtain a response message of the management server to the information message within a set time length, executing retransmission of the information message by adding a transmission guide mark for indicating the transmission mode of the information message in the information message transmitted to the management server. Thus, when the sporadic information message of a short period of time is lost and blocked on an information link, the information link for information message transmission can be quickly changed by the transmission guide mark, so that the message transmission can be fast, efficient and correct.
The transfer guide token can be a number indicator of how many times the token is transferred again.
The delivery guidance token may be a re-delivery token, and the re-delivering the information packet by the delivery guidance token in S3 may include:
and selecting one information link or transmitting the information message again on a plurality of information links by means of the retransmission mark.
If the response message of the management server to the information message is not obtained within a set time length for the first time, one information link can be selected from other information links to transmit the information message again; if the response message of the management server to the information message is not obtained in the set duration after the information message is transmitted again on one information link selected from other information links, the information message can be transmitted again on a plurality of information links later; when the information message is transmitted again on a plurality of information links later, the information message can be transmitted again on the plurality of information links simultaneously, or the information message can be transmitted again on the plurality of information links one by one.
The transfer guide mark may be a number flag indicating how many times the information packet is transferred, and the re-transferring the information packet by using the transfer guide mark in S3 may include:
and executing re-transmission on the information message by means of the number of times of transmission in the number mark of times of transmission.
The performing, by the number of times in the number of times transmitted flag, a corresponding retransmission of the information packet may include:
if the number of times of transmission is one, transmitting the information link transmitted before the information message again;
if the number of times of transmission is less than three and more than one, one information link is selected again or the information message is transmitted again on a plurality of information links;
and if the number of times of transmission is more than or equal to three, transmitting the information message again on a plurality of information links.
The number of times in the number mark of the number of times of transmission can be used for transmitting the information message again by using another mode;
the performing retransmission of the information packet by the number of times in the number of times transmitted flag may further include:
if the number of times of transmission is one, selecting an information link to transmit the information message again;
if the number of times of transmission is more than one, the information message is transmitted again on a plurality of information links.
The method for information message transmission can further comprise:
determining that the information message is not required to be retransmitted by means of a tolerance threshold value of the longest duration from the time when the single chip microcomputer transmits the information message to the management server for the first time until the single chip microcomputer obtains a response message which is transmitted by the management server to the single chip microcomputer and obtains the information message:
if the final time of the time length required by the advance estimation for transmitting the information message to the management server again is lower than the tolerance threshold value of the longest time length, a transmission guide mark is additionally arranged in the information message;
selecting a corresponding information link which can transmit the information message to the management server again and has the estimated time required in advance and the final time lower than the tolerance threshold value of the longest time to perform retransmission by means of the tolerance threshold value of the longest time;
and if the final time of the time length required by the advance estimation for retransmitting the information message to the management server is not lower than the tolerance threshold value of the longest time length, the task of retransmitting the information message is not executed any more.
The structure of the single chip microcomputer for sending the information message to the management server is divided into three stages: an encapsulation stage, a transport stage, and a link stage, where,
and (3) packaging stage: independently encapsulating each event into an information message;
a transmission stage: the management server identifies the information message obtained by the singlechip, namely transmits a response message to the singlechip; the single chip microcomputer executes sequencing on the transmitted information messages in a serial number marking mode, starts timing when transmitting the information messages and executes retransmission on the information messages when the information messages need to be retransmitted;
and (3) link level: one or several information links are selected to transmit the information message delivered by the transmission stage to the management server.
During the transmission of the information message, if the single chip microcomputer transmits the information message to the management server through an information link for the first time and does not obtain the response message of the management server to the information message within the set time length for the first time, the transmission level of the single chip microcomputer adds a transmission guide mark for indicating the transmission mode of the information message in the information message and transmits the transmission guide mark to the link level; after obtaining the transfer guide mark, the link level can perform re-transfer on the information packet by means of the transfer guide mark.
It is also possible to integrate the encapsulation stage with the delivery stage, only to ensure that the link stage can obtain information messages, whether they need to be delivered again.
Here, the tolerance threshold is set to be K, which is the time that can be reached after the longest time that the single chip microcomputer transmits the information message to the management server for the first time until the single chip microcomputer obtains a response message that the management server transmits the information message to the single chip microcomputer and 5 seconds later, and the final time that the single chip microcomputer transmits the information message to the management server for the first time until the single chip microcomputer obtains the longest time that the single chip microcomputer obtains the response message that the management server transmits the information message to the single chip microcomputer is L, where K is greater than L, then retransmission is performed on the information message when the time of waiting for the response message is greater than L, and thus the retransmission time is limited between 0 and the value obtained by subtracting L from K, so as to ensure that the information message obtained by the management server is still fast and efficient after retransmission.
Thus, the performance of fast, efficient and correct message transmission can be obtained when occasional message loss and blocking occurs in a short period of time on an information link.
And the single chip microcomputer has little benefit in the aspect of utilizing the efficiency of the information links compared with the performance of improving the correctness of transmission by only transmitting the information message through one information link and combining a plurality of information links.
Also, in contrast to the way in which test messages for testing the information link are transmitted between the single-chip and the management server when packaged as an information message, the single-chip has better adaptability in this way (no test messages have to be used between the single-chip and the management server).
The invention has the beneficial effects that:
and executing retransmission of the information message by means of a mode of activating the singlechip, and if the transmission program does not obtain a response message of the management server to the information message within a set time length, executing retransmission of the information message by adding a transmission guide mark for indicating the transmission mode of the information message in the information message transmitted to the management server. Thus, when the sporadic information message of a short period of time is lost and blocked on an information link, the information link for information message transmission can be quickly changed by the transmission guide mark, so that the message transmission can be fast, efficient and correct.
The management server is arranged in an outdoor server case and comprises a first case body 201 and a second case body 204, the second case body 204 is arranged in the first case body 201, the corners of two side walls of the first case body 201 are provided with wall surfaces 202 for preventing particles and impurities, the radian between the wall surfaces 202 for preventing particles and impurities and the horizontal plane is pi/6-pi/3, the wall surfaces 202 for preventing particles and impurities are equidistantly provided with a plurality of exhaust ports 203, the radian between the exhaust ports 203 and the horizontal plane is pi/3, the front wall of the first case body 201 is provided with a first cover plate, the first cover plate is provided with a first handle, the second case body 204 is arranged at the position of the middle position in the first case body 201, the two side walls of the second case body 204 are provided with a plurality of strip-shaped connecting strips 205 in a mirror image mode, the second case body 204 is welded on the surface of the inner part of the first case body 201 through the strip-shaped connecting strips 205, the front wall of the second box body 204 is pivoted with a second cover plate 241, the second cover plate 241 is provided with a second handrail 243, the second box body 204 is inserted with a plurality of cooling fins 242 at equal intervals, the cooling fins penetrate through the top wall and the bottom wall of the second box body 204, the lower wall of the first box body 201 penetrates through a cavity 209 with two through ends, the cavity 209 with two through ends is communicated with the inside of the first box body 201, the particle-proof impurity-free wall surface 202 of the lower part of the first box body 201 is provided with a plurality of supporting rods 206, the lower wall of each supporting rod 206 is welded with a cylindrical positioning sheet 207, and the periphery of each cylindrical positioning sheet 207 is provided with a plurality of positioning holes 208 at equal intervals.
And a management server is arranged in the second box body.
The wall surface 202 for preventing particles from being free of impurities, which is arranged on the first box body 201, can weaken the impact of airflow with particle impurities on the first box body 201; the air outlet 203 is beneficial to airflow reaching the inside of the first box body 201 and can reduce particulate impurities reaching the inside of the first box body 201; the second box 204 is a sealed management server capable of protecting the second box, and the introduction of the cooling fins 242 can reduce the temperature in the second box 204.
The wall surface 202 which is arranged on the first box body 201 and used for preventing particles from being free of impurities can weaken the impact of airflow with particle impurities on the first box body 201, so that the working life of the first box body 201 is greatly prolonged, and the maintenance cost is reduced; the special structure of the air outlet 203 is beneficial to the air flow to reach the inside of the first box body 201, and can reduce the particulate impurities to reach the inside of the first box body 201; the second box 204 is sealed, particulate impurities can be comprehensively resisted, the management server in the second box can be protected with high efficiency, the temperature in the second box 204 can be effectively reduced due to the introduction of the cooling fins 242, and the long-period continuous operation of the management server is ensured.
The present invention has been described in an illustrative manner by the embodiments, and it should be understood by those skilled in the art that the present disclosure is not limited to the embodiments described above, but is capable of various changes, modifications and substitutions without departing from the scope of the present invention.