CN104580523B - Self-aided terminal supervising data storage method and self-aided terminal monitoring server - Google Patents
Self-aided terminal supervising data storage method and self-aided terminal monitoring server Download PDFInfo
- Publication number
- CN104580523B CN104580523B CN201510052221.8A CN201510052221A CN104580523B CN 104580523 B CN104580523 B CN 104580523B CN 201510052221 A CN201510052221 A CN 201510052221A CN 104580523 B CN104580523 B CN 104580523B
- Authority
- CN
- China
- Prior art keywords
- state
- time
- self
- end time
- aided terminal
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the present invention provides a kind of self-aided terminal supervising data storage method and self-aided terminal monitoring server, for saving memory space.A kind of technical solution of self-aided terminal supervising data storage method of the embodiment of the present invention includes: the first state message for receiving self-aided terminal, and the first state message includes at least the corresponding number of the self-aided terminal, the first sending time and first state;The second state, the second state time started and the second state end time of the number last time are obtained according to preset condition table;Judge whether the first state is consistent with the second state, if so, the second state end time is updated to first sending time.
Description
Technical field
The present embodiments relate to finance self-help field of terminal, more particularly, to a kind of self-aided terminal supervising data storage side
Method and self-aided terminal monitoring server.
Background technique
Self-aided terminal monitoring technology under the prior art, each self-aided terminal are instant at regular intervals (generally 3 minutes)
The state for obtaining each component of self-aided terminal is then packaged as a state message by network and is sent to self-aided terminal prison
Server is controlled, self-aided terminal monitoring server receives the state message, stored after parsing into a state table, each state report
Text is exactly one of state table record, content representation self-aided terminal sometime each component status information such as
What.
In the prior art, it is assumed that have the self-aided terminal monitoring server of 4000 self-aided terminals of a connection, each shape
State message information length is 256 bytes, and one state message of generation in every self-aided terminal every 2 minutes, then the self-aided terminal monitors
The memory space of the annual storage state message of server at least needs 250G, this does not also include the number of other messages such as transaction message
Accordingly and the hour of state message and transaction message day week month season year statistical information data the space occupied.Self-service end
End is in normal operating condition in most times, and normal operating condition can be in a quite long period, such as
2014-09-09 08:42:38-2014-09-11 08:42:38 self-aided terminal is constantly in normal operating condition, each
Component operates normally, then the state recording item number generated is 1440, occupies memory space 360K, and this 1440 bar state is remembered
The content of record be it is identical, cause a large amount of information and repeat, cause the significant wastage of memory space.
The defect of the prior art is that self-aided terminal monitoring server one state message of every reception just stores a state report
Text, there are a large amount of data redundancies, cause the significant wastage of memory space.
Summary of the invention
The embodiment of the present invention provides a kind of self-aided terminal supervising data storage method and self-aided terminal monitoring server, is used for
Save memory space.
A kind of technical solution of self-aided terminal supervising data storage method of the embodiment of the present invention includes:
The first state message of self-aided terminal is received, it is corresponding that the first state message includes at least the self-aided terminal
Number, the first sending time and first state;
The second state, the second state time started and the second shape of the number last time are obtained according to preset condition table
The state end time;
Judge whether the first state is consistent with the second state, if so, the second state end time is updated
For first sending time.
Preferably,
Judge whether the first state is consistent with the second state, if so, the second state end time is updated
It is specifically included for first sending time:
Judge whether the first state is consistent with the second state,
If so, the second state end time is updated to first sending time;
If it is not, then further judge first sending time and the difference of the second state end time whether be less than it is default between
Every three times;
If so, the second state end time is updated to first sending time, and in the preset condition
The first state is increased in table newly, when the first state corresponding starting and end time is set as the described first transmission
Between;
If it is not, then executing the first default step.
Preferably,
The first default step of the execution includes:
Judge whether the first state and the second state are equipped with corresponding sequence number;
If it is not, then the second state end time is updated to preset described in the second state end time and three times
The sum of interval, and increase the first state newly in the preset condition table, at the beginning of the first state is corresponding and tie
The beam time is set as first sending time;
If so, executing the second default step.
Preferably,
The second default step of the execution includes:
Judge whether the corresponding sequence number of the first state and the difference of the corresponding sequence number of second state are greater than three;
If so, the second state end time is updated to preset described in the second state end time and three times
The sum of interval, and increase the first state newly in the preset condition table, at the beginning of the first state is corresponding and tie
The beam time is set as first sending time;
If it is not, the second state end time is then updated to first sending time, and in the preset condition
The first state is increased in table newly, when the first state corresponding starting and end time is set as the described first transmission
Between.
Preferably,
Record has the corresponding information of several self-aided terminals in the preset condition table.
The embodiment of the present invention also provides a kind of self-aided terminal monitoring server, comprising:
Receiving module, for receiving the first state message of self-aided terminal, the first state message includes at least described
The corresponding number of self-aided terminal, the first sending time, first state;
Module is obtained, for obtaining the second state of the number last time from preset condition table, the second state is opened
Begin time and the second state end time;
First judgment module, for judging whether the first state is consistent with the second state;
First execution module is used for when the first state and the second state consistency, at the end of second state
Between be updated to first sending time.
Preferably,
The self-aided terminal monitoring server further includes the second judgment module, the second execution module and third execution module;
When the first state and inconsistent the second state, second judgment module is for judging that described first sends
Whether the difference of time and the second state end time are less than three times of preset interval;
If so, the second state end time was updated to the first sending time by second execution module, and described pre-
It sets and increases the first state in state table newly, the first state corresponding starting and end time is set as described first
Sending time;
If it is not, then the third execution module executes the first default step.
Preferably,
The third execution module includes: the first judging unit, the first execution unit and the second execution unit;
First judging unit is for judging whether the first state and the second state are equipped with corresponding sequence number;
If it is not, at the end of then the second state end time is updated to second state by first execution unit
Between with the sum of preset interval described in three times, and increase the first state, the first state pair newly in the preset condition table
At the beginning of answering and the end time is set as first sending time;
If so, second execution unit executes the second default step.
Preferably,
Second execution unit includes: the first judgment sub-unit, the first execution subelement and the second execution subelement;
First judgment sub-unit is for judging that the corresponding sequence number of the first state is corresponding with second state
The difference of sequence number whether be greater than three;
If so, the second state end time is updated to second state and terminated by the first execution subelement
The sum of preset interval described in time and three times, and increase the first state, the first state newly in the preset condition table
Corresponding starting and end time is set as first sending time;
If it is not, when then the second state end time is updated to the described first transmission by the second execution subelement
Between, and increase the first state newly in the preset condition table, the first state corresponding starting and end time
It is set as first sending time.
Preferably,
Record has the corresponding information of several self-aided terminals in the preset condition table.
The beneficial effect of the embodiment of the present invention is: by comparing first state and the second state, working as first state
When with the second state consistency, the second state corresponding second state end time in preset condition table is updated, is updated to the
One sending time shows state consistency in the second state time started and this period of the first sending time, passes through one one
The state of a period indicates, and is no longer the status information note of the direct storage constantly duplicate all parts of one another item
Record, can greatly save memory space in this way.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of process signal of one embodiment of self-aided terminal supervising data storage method in the embodiment of the present invention
Figure;
Fig. 2 is that a kind of process of another embodiment of self-aided terminal supervising data storage method is shown in the embodiment of the present invention
It is intended to;
Fig. 3 is a kind of one embodiment structural schematic diagram of self-aided terminal monitoring server in the embodiment of the present invention;
Fig. 4 is a kind of another example structure schematic diagram of self-aided terminal monitoring server in the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of self-aided terminal supervising data storage method and self-aided terminal monitoring server, is used for
Save memory space.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, a kind of one embodiment of self-aided terminal supervising data storage method includes: in the embodiment of the present invention
101, the first state message of self-aided terminal is received;
In the present embodiment, self-aided terminal monitoring server receives the first state message of self-aided terminal, first state message
It also may include other including at least the corresponding number of self-aided terminal, the first sending time and first state, first state message
Content, specifically herein without limitation.
102, the second state, the second state time started and the second shape of number last time are obtained according to preset condition table
The state end time;
In the present embodiment, self-aided terminal is equipped with corresponding number, numbers according to self-aided terminal is corresponding from preset condition table
The middle last time record for obtaining the number, that is, the last time of the self-aided terminal record, and include that this is self-service in the record
Second state of terminal, the second state time started and the second state end time, first and second mentioned herein only rise
To the effect distinguished one another, without essence meaning.
103, it is whether consistent with the second state to judge first state, if so, thening follow the steps 104;
In the present embodiment, first state, the second state indicate the state of each component of self-aided terminal, self-aided terminal monitoring
Whether server judges first state consistent with the second state, if so, thening follow the steps 104.
104, the second state end time was updated to the first sending time;
In the present embodiment, when first state and the second state consistency, at the end of the second state in preset condition table
Between be updated to the first sending time, then state consistency is indicated in the second state time started and the period of the first sending time.
In the present embodiment, by comparing first state and the second state, when first state and the second state consistency
When, the second state corresponding second state end time in preset condition table is updated, the first sending time is updated to, shown
State consistency in second state time started and this period of the first sending time, passes through the state of period one by one
It indicates, and is no longer the status information record of the direct storage constantly duplicate all parts of one another item, can save significantly in this way
About memory space.
Referring to Fig. 2, a kind of another embodiment of self-aided terminal supervising data storage method in the another embodiment of the present invention
Include:
201, the first state message of self-aided terminal is received;
In the present embodiment, self-aided terminal monitoring server receives the first state message of self-aided terminal, it should be noted that
Self-aided terminal sends message to self-aided terminal monitoring server, can directly be led to self-aided terminal monitoring server by self-aided terminal
Letter is sent, and can also be sent by the preposition ATMP of self-service dealing system to self-aided terminal monitoring server.
First state message includes at least the corresponding number of self-aided terminal, the first sending time, first state, first state
In include each unit information of self-aided terminal, first state message also may include other content, specifically herein without limitation.
202, the second state, the second state time started and the second shape of number last time are obtained according to preset condition table
The state end time;
In the present embodiment, self-aided terminal is equipped with corresponding number, and the volume is obtained from preset condition table according to reference numeral
Number last time record, include the second state, the second state time started and the second state end time in the record.This is most
Primary record is the record for being separated by recent message with the first sending time, the second state time started and second afterwards
The state end time can be set as being separated by the sending time of recent message with the first sending time.
It should be noted that when the field of preset condition table may include: that terminal number, state start in the present embodiment
Between, state end time, SOT state of termination code;Second state, the second state time started, the second state end time can be by such as
Lower format is recorded in preset condition table,
In the present embodiment, SOT state of termination code in preset condition table, according to all kinds of shapes under the general operating condition of self-aided terminal
State is counted, and is ranked up in state ratio, and the corresponding status code priority of the high SOT state of termination of time scale is high, transmission quantity
It should reduce;The corresponding status code priority of the low SOT state of termination of reverse time ratio is low, and transmission quantity can be increased slightly.
SOT state of termination code generates, and in the present embodiment, is ranked up according to state ratio.Due to self-aided terminal actual motion
Middle normal condition is to account for the overwhelming majority, so its corresponding status code highest priority, then it is 0 that state, which is arranged,.Secondly, scarce paper,
It lacks the states such as paper money, machine core failure, card reader failure and accounts for the overwhelming majority in residual state, lack paper if it is only appearance, lack
The one of which state such as paper money, machine core failure, card reader failure, then self-aided terminal can be according to the corresponding number of self-aided terminal, transmission
Time, SOT state of termination code are sent to self-aided terminal monitoring server.Otherwise it is assumed that self-service device has generated various faults, can press
Self-aided terminal monitoring server is sent to according to by original format;
By reality it was found that self-aided terminal most of the time section is in normal condition, part-time, which is in, to be lacked paper, lacks
A certain state in paper money, unit failure state, less time section generates simultaneously to be lacked paper, lacks paper money, two kinds in each unit failure state,
Few period generates simultaneously to be lacked paper, lacks paper money, three kinds or three or more of state in each unit failure state, and this patent can be with
Normal condition is completely covered, is in the case where a certain state, certain two states, if self-aided terminal generates three kinds or three kinds
Above state can take original message to send since probability of happening is very low.
In the present embodiment, if first state includes three kinds or more unit failure states, it can be sent by original message, if being less than
The state of self-aided terminal can be generated table according to following status code, be converted into the SOT state of termination by three kinds or more unit failure states
Code is sent.
If should be noted that the multiple components of self-aided terminal are led to the problem of, status code can successively splice, such as some time
It carves the SOT state of termination to be flowing water printer paper-out and deposit machine core failure, then SOT state of termination code are as follows: 0616;And so on.
203, it is whether consistent with the second state to judge first state, if so, 204 are thened follow the steps, if it is not, thening follow the steps
205;
In the present embodiment, whether self-aided terminal monitoring server judges first state consistent with the second state, if so, holding
Row step 204, if it is not, thening follow the steps 205.
204, the second state end time was updated to the first sending time;
In the present embodiment, when first state and the second state consistency, then the self-aided terminal is defaulted at two message intervals
It is constantly in identical state in this time, the second state end time was updated to the first sending time, then the second state
State consistency is indicated in time started and the period of the first sending time.
205, judge whether the first sending time and the difference of the second state end time are less than three times of preset interval, if
It is to then follow the steps 206, if it is not, thening follow the steps 207;
In the present embodiment, when first state and inconsistent the second state, then the self-aided terminal is defaulted at two message intervals
The midpoint of this time state change has occurred, further judge the first sending time and the difference of the second state end time is
No three times less than preset interval, if so, 206 are thened follow the steps, if it is not, thening follow the steps 207.
206, the second state end time is updated to the first sending time, and increases the first shape newly in preset condition table
State, first state corresponding starting and end time are set as the first sending time;
In the present embodiment, when first state and the second state are inconsistent, and at the end of the first sending time and the second state
Between difference be less than preset interval three times when, then the second state end time was updated to the first sending time, and in preset shape
Increase first state in state table newly, first state corresponding starting and end time is set as the first sending time.
207, judge whether first state and the second state are equipped with corresponding sequence number, if it is not, 208 are thened follow the steps, if
It is to then follow the steps 209;
In the present embodiment, when first state and the second state are inconsistent, and at the end of the first sending time and the second state
Between difference when being greater than or equal to the three times of preset interval, then further to judge whether first state and the second state are equipped with corresponding
Sequence number, if it is not, 208 are thened follow the steps, if so, thening follow the steps 209.
208, the second state end time was updated to the sum of second state end time and three times preset interval, and pre-
It sets and increases first state in state table newly, when first state corresponding starting and end time is set as the described first transmission
Between;
In the present embodiment, when first state and the second state is inconsistent and the first sending time and the second state end time
Difference is when being greater than or equal to the three times of preset interval and first state and the second state are when being not provided with corresponding sequence number, by second
The state end time is updated to the sum of the second state end time and three times preset interval, and increases first newly in preset condition table
State, first state corresponding starting and end time are set as first sending time.
209, judge whether the corresponding sequence number of first state and the difference of the corresponding sequence number of the second state are greater than three, if
It is to then follow the steps 210, if it is not, thening follow the steps 211;
In the present embodiment, when first state and the second state is inconsistent and the first sending time and the second state end time
Difference be greater than or equal to the three times of preset interval and when first state and the second state are equipped with corresponding sequence number, further judge
Whether the difference of sequence number is greater than three, if more than three, thens follow the steps 210, if being less than or equal to three, thens follow the steps 211.It needs
Illustrate, sequence number is successively ranked up.
210, the second state end time was updated to the sum of second state end time and three times preset interval, and pre-
It sets and increases first state in state table newly, first state corresponding starting and end time is set as the first sending time;
In the present embodiment, when first state and the second state is inconsistent and the first sending time and the second state end time
Difference be greater than or equal to the three times of preset interval and when first state and the second state are equipped with corresponding sequence number, when sequence number it
When difference is greater than transmission times three times, then it can be defaulted as system and be lost in the process because network or other reasons generate message
Packet, then be updated to the sum of the second state end time and three times preset interval for the second state end time, and in preset condition
Increase first state in table newly, first state corresponding starting and end time is set as the first sending time.
211, the second state end time is updated to the first sending time, and increases the first shape newly in preset condition table
State, first state corresponding starting and end time are set as first sending time;
In the present embodiment, when first state and the second state is inconsistent and the first sending time and the second state end time
Difference be greater than or equal to the three times of preset interval and when first state and the second state are equipped with corresponding sequence number, when sequence number it
When difference is less than or equal to transmission times three times, then it is defaulted as system and is in certain equipment state for not generating monitoring message for a long time
Second state end time was then updated to the first sending time by (such as service mode), and increased first newly in preset condition table
State, first state corresponding starting and end time are set as first sending time.
In the present embodiment, firstly, by the way that first state and the second state are compared, when first state and the second state
When consistent, the second state corresponding second state end time in preset condition table is updated, the first sending time is updated to,
Show state consistency in the second state time started and this period of the first sending time, passes through the period one by one
State indicates, and is no longer the status information record of the direct storage constantly duplicate all parts of one another item, in this way can be big
Big to save memory space, such as in such a month, and on such a day some time divides certain second, until in such a month, and on such a day certain second in some time point, this very long time
Section, self-aided terminal are constantly in normal operating condition, it is only necessary to as soon as it is recorded in preset condition table with, instead of existing skill
The thousands of items record of the specifying information of each component of the related self-aided terminal of one every few minutes of art.This pole
Big solves memory space, and the record strip number of preset condition table is also greatly reduced, and inquires and handle time of the table also greatly
Shorten;
Secondly, when first state and inconsistent the second state, by further judging the first sending time and the second shape
Whether the difference of state end time is greater than the three times of preset interval and another step judges whether to be equipped with sequence number and more further
Judge that sequence number whether less than three, improves the flexibility of operating process.
Referring to Fig. 3, a kind of one embodiment of self-aided terminal monitoring server of the embodiment of the present invention includes:
Receiving module 301, for receiving the first state message of self-aided terminal, first state message includes at least self-service end
Hold corresponding number, the first sending time, first state;
Module 302 is obtained, for the second state of acquisition number last time, the second state since preset condition table
Time and the second state end time;
First judgment module 303, for judging whether first state is consistent with the second state;
First execution module 304 is used for when first judgment module 303 judges first state and the second state consistency, will
Second state end time was updated to the first sending time.
In the present embodiment, receiving module 301 receives the first message comprising number, the first sending time, first state
Afterwards, the record for the last time of the corresponding self-aided terminal of the number being obtained from preset condition table by obtaining module 302, the note
Record includes that the second state, the second state time started and the second state end time, first judgment module 303 judge first state
It is whether consistent with the second state, when consistent, when the second state end time was updated to the first transmission by the first execution module 304
Between, using the self-aided terminal monitoring server, the preset condition table in the server is no longer the record of a rule, but one
Consistent state is indicated in period, has saved memory space.
Referring to Fig. 4, a kind of another embodiment of self-aided terminal monitoring server of the embodiment of the present invention includes:
Receiving module 401, for receiving the first state message of self-aided terminal, first state message includes at least self-service end
Hold corresponding number, the first sending time, first state;
Module 402 is obtained, for the second state of acquisition number last time, the second state since preset condition table
Time and the second state end time;
First judgment module 403, for judging whether first state is consistent with the second state;
First execution module 404 is used for when first judgment module 403 judges first state and the second state consistency, will
Second state end time was updated to the first sending time.
When first judgment module 403 judges first state and the second state is inconsistent, self-aided terminal monitoring server is also
Including the second judgment module 405, the second execution module 406 and third execution module 407, the second judgment module 405 is used for into one
Step judges whether the first sending time and the difference of the second state end time are less than three times of preset interval;If being less than, second
Second state end time was updated to the first sending time by execution module 406, and increased first state newly in preset condition table,
First state corresponding starting and end time is set as the first sending time;If more than or be equal to, then third execute mould
Block 407 executes the first default step.
Further, third execution module 407 may include the first judging unit 4071, the first execution unit 4072 and
Two execution units 4073;First judging unit 4071 judges whether first state and the second state are equipped with corresponding sequence number;If
It is no, then the first execution unit 4072 by the second state end time be updated to the second state end time and three times preset interval it
With, and increasing first state newly in preset condition table, first state corresponding starting and end time is set as the first hair
Send the time;If so, the second execution unit 4073 executes the second default step.
Further, the second execution unit 4073 includes: that the first judgment sub-unit 40731, first executes subelement 40732
Subelement 40733 is executed with second;First judgment sub-unit 40731 judges the corresponding sequence number of first state and the second state pair
Whether the difference for the sequence number answered is greater than three;If more than three, then the first execution subelement 40732 updated for the second state end time
For the sum of the second state end time and three times preset interval, and increase first state, first state pair newly in preset condition table
At the beginning of answering and the end time is set as the first sending time;If being less than or equal to three, second executes subelement 40733
Second state end time was updated to the first sending time, and increases first state, first state pair newly in preset condition table
At the beginning of answering and the end time is set as the first sending time.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (4)
1. a kind of self-aided terminal supervising data storage method characterized by comprising
The first state message of self-aided terminal is received, the first state message includes at least the corresponding volume of the self-aided terminal
Number, the first sending time and first state;
The second state, the second state time started and the second state knot of the number last time are obtained according to preset condition table
The beam time;
Judge whether the first state is consistent with the second state, if so, the second state end time is updated to institute
The first sending time is stated, if it is not, then further judging whether first sending time and the difference of the second state end time are small
In three times of preset interval;
If so, the second state end time is updated to first sending time, and in the preset condition table
Increase the first state newly, the first state corresponding starting and end time is set as first sending time;
If it is not, then executing the first default step;
The first default step of the execution includes:
Judge whether the first state and the second state are equipped with corresponding sequence number;
If it is not, the second state end time is then updated to preset interval described in the second state end time and three times
The sum of, and increase the first state newly in the preset condition table, at the beginning of the first state is corresponding at the end of
Between be set as first sending time;
If so, executing the second default step;
The second default step of the execution includes:
Judge whether the corresponding sequence number of the first state and the difference of the corresponding sequence number of second state are greater than three;
If so, the second state end time is updated to preset interval described in the second state end time and three times
The sum of, and increase the first state newly in the preset condition table, at the beginning of the first state is corresponding at the end of
Between be set as first sending time;
If it is not, the second state end time is then updated to first sending time, and in the preset condition table
Increase the first state newly, the first state corresponding starting and end time is set as first sending time.
2. a kind of self-aided terminal supervising data storage method according to claim 1, which is characterized in that the preset shape
Record has the corresponding information of several self-aided terminals in state table.
3. a kind of self-aided terminal monitoring server characterized by comprising
Receiving module, for receiving the first state message of self-aided terminal, the first state message includes at least described self-service
The corresponding number of terminal, the first sending time, first state;
Module is obtained, when for obtaining the second state of the number last time, the second state since preset condition table
Between and the second state end time;
First judgment module, for judging whether the first state is consistent with the second state;
First execution module is used for when the first state and the second state consistency, more by the second state end time
It is newly first sending time;
The self-aided terminal monitoring server further includes the second judgment module, the second execution module and third execution module;
When the first state and inconsistent the second state, second judgment module is for judging first sending time
And whether the difference of the second state end time is less than three times of preset interval;
If so, the second state end time was updated to the first sending time by second execution module, and in the preset shape
Increase the first state in state table newly, the first state corresponding starting and end time is set as described first and sends
Time;
If it is not, then the third execution module executes the first default step;
The third execution module includes: the first judging unit, the first execution unit and the second execution unit;
First judging unit is for judging whether the first state and the second state are equipped with corresponding sequence number;
If it is not, then first execution unit by the second state end time be updated to the second state end time with
The sum of preset interval described in three times, and increase the first state newly in the preset condition table, the first state is corresponding
Starting and end time is set as first sending time;
If so, second execution unit executes the second default step;
Second execution unit includes: the first judgment sub-unit, the first execution subelement and the second execution subelement;
First judgment sub-unit is for judging the corresponding sequence number of first state sequence corresponding with second state
Whether the difference of row number is greater than three;
If so, the second state end time is updated to the second state end time by the first execution subelement
With the sum of preset interval described in three times, and the first state is increased newly in the preset condition table, the first state is corresponding
At the beginning of and the end time be set as first sending time;
If it is not, then the second state end time is updated to first sending time by the second execution subelement, and
Increase the first state newly in the preset condition table, the first state corresponding starting and end time is set as
First sending time.
4. self-aided terminal monitoring server according to claim 3, which is characterized in that recorded in the preset condition table
There is the corresponding information of several self-aided terminals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510052221.8A CN104580523B (en) | 2015-01-30 | 2015-01-30 | Self-aided terminal supervising data storage method and self-aided terminal monitoring server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510052221.8A CN104580523B (en) | 2015-01-30 | 2015-01-30 | Self-aided terminal supervising data storage method and self-aided terminal monitoring server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104580523A CN104580523A (en) | 2015-04-29 |
CN104580523B true CN104580523B (en) | 2019-04-16 |
Family
ID=53095680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510052221.8A Active CN104580523B (en) | 2015-01-30 | 2015-01-30 | Self-aided terminal supervising data storage method and self-aided terminal monitoring server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104580523B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105741172B (en) * | 2015-07-02 | 2020-03-27 | 深圳怡化电脑股份有限公司 | Transaction message generation method and device, and transaction equipment component monitoring method and system |
CN106411636B (en) * | 2016-09-08 | 2019-09-20 | 深圳怡化电脑股份有限公司 | Monitoring method, system and the monitoring server of self-aided terminal state |
CN106408791B (en) * | 2016-09-08 | 2019-04-12 | 深圳怡化电脑股份有限公司 | A kind of monitoring method and system of self-aided terminal state |
CN106357763B (en) * | 2016-09-14 | 2019-12-10 | 深圳怡化电脑股份有限公司 | Self-service terminal state monitoring method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103001809A (en) * | 2012-12-25 | 2013-03-27 | 曙光信息产业(北京)有限公司 | Service node state monitoring method for cloud storage system |
CN103595569A (en) * | 2013-11-15 | 2014-02-19 | 南京云川信息技术有限公司 | Method for handling database storage of alarm information of network management system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008065638A2 (en) * | 2006-11-30 | 2008-06-05 | Processpedia Ltd | Method and apparatus for analyzing time-related event |
-
2015
- 2015-01-30 CN CN201510052221.8A patent/CN104580523B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103001809A (en) * | 2012-12-25 | 2013-03-27 | 曙光信息产业(北京)有限公司 | Service node state monitoring method for cloud storage system |
CN103595569A (en) * | 2013-11-15 | 2014-02-19 | 南京云川信息技术有限公司 | Method for handling database storage of alarm information of network management system |
Also Published As
Publication number | Publication date |
---|---|
CN104580523A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104580523B (en) | Self-aided terminal supervising data storage method and self-aided terminal monitoring server | |
CN104899106B (en) | Treating method and apparatus when interface service is abnormal | |
CN111555963A (en) | Message pushing method and device, electronic equipment and storage medium | |
CN108667719A (en) | A kind of real-time Message Passing method and system | |
CN109582335A (en) | It is a kind of without interrupt storage cluster node online upgrading method, device and equipment | |
CN109582655B (en) | Method and device for positioning system log and computer readable storage medium | |
CN101192332A (en) | Warning system and method | |
CN109947585A (en) | The processing method and processing device of PCIE device failure | |
CN104579765A (en) | Disaster tolerance method and device for cluster system | |
CN104901828A (en) | Equipment end fault removing method | |
CN103078791A (en) | Method, device and system for processing operation, administration and maintenance (OAM) message | |
CN110705893A (en) | Service node management method, device, equipment and storage medium | |
CN105306348A (en) | Solving method for delayed and leaked messages in group chat and instant messaging tool | |
CN109857765A (en) | Client's power failure data analysing method and device | |
CN110191022A (en) | A kind of quality of service detection method and device | |
CN111522672B (en) | Method and system for repeated consumption of fusing data | |
CN109413166A (en) | A kind of industrial gateway and its data managing method | |
CN110445658B (en) | Message processing method and system | |
CN110457133A (en) | A kind of processing method and system of operating-system resources exception | |
CN109062758A (en) | A kind of server system delay machine processing method, system, medium and equipment | |
CN109005122A (en) | File transmitting method, device and the network equipment | |
CN110058810A (en) | Disk Cleanup method and apparatus, the distributed system of distributed system | |
CN109361620B (en) | Data sending method, device, equipment and storage medium | |
CN112134764B (en) | Method and device for determining connectivity of test environment | |
CN107707590A (en) | System, the method and device of data transfer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |