[0001] This application claims priority to Chinese Patent Application No.
201510789025.9, titled "SELF-SERVICE EQUIPMENT ENERGY SAVING CONTROL METHOD AND DEVICE", and filed
with the Chinese State Intellectual Property Office on November 16, 2015, which is
incorporated herein by reference in its entirety.
FIELD
[0002] The present disclosure relates to the technical field of a self-service device, and
particularly to an energy-saving control method and an energy-saving control device
for the self-service device.
BACKGROUND
[0003] With the rapid development of the society, science and technology is applied to all
trades and professions, including the financial field. The ATM is an important application
of the science and technology. The ATM refers to small machines deployed at different
locations by the bank. Through the ATM, the user uses a bank card to enjoy counter
services such as self-service deposit, self-service withdrawal and self-service transfer.
With the application of the ATM, cumbersome operations including taking a number and
going to the counter are unnecessary for the user when handling the above counter
services, thereby reducing the stress of counter staffs, saving the time and improving
the efficiency.
[0004] However, energy consumption caused by a large number of ATMs becomes a heavy burden
for the bank. The existing ATMs have a fixed sleep interval, and the length of the
sleep interval is set by the bank or the manufactures of the ATMs. In a case where
the ATM is set to enter a sleep state after the ATM is not used for a short time,
the ATM enters the sleep state or a start state frequently in a time period of heavy
business, resulting in great damage for the ATM, a high fault rate and high maintenance
cost of the ATM. In a case where the ATM is set to enter a sleep state after the ATM
is not used for a long time, the ATM does not enter the sleep state after a long time
in a time period (such as early morning) of less business, resulting in the high electricity
consumption.
SUMMARY
[0005] An Energy-saving control method and an energy-saving control device for a self-service
device are provided according to the embodiments of the present disclosure, to solve
problems that the self-service device enters a sleep state or a start state repeatedly
in a case of a large number of users due to a too-short sleep interval, and that resources
are wasted in a case of a small number of users due to a too-long sleep interval.
[0006] An energy-saving control method for a self-service device is provided according to
an embodiment of the present disclosure. The method includes: acquiring to-be-learned
sample information from historical usage data of users of the self-service device,
where the sample information indicates the number of users which use the self-service
device in each of different sub-periods of a period of time; learning the to-be-learned
sample information by using a preset Bayesian prior probability model, to obtain a
learning result; updating the Bayesian prior probability model based on the learning
result; predicting the number of users in each of sub-periods of a preset period of
time by using the updated Bayesian prior probability model, to obtain the predicted
number of users at the self-service device; and modifying a sleep interval of the
self-service device in each of the sub-periods based on the predicted number of users.
[0007] Optionally, the Bayesian prior probability model is obtained by the following preprocessing
steps: preprocessing the historical usage data of the users of the self-service device,
to acquire the number of users which use the self-service device in each of the different
sub-periods of the period of time as sample information; collating the sample information
based on division for the period of time, to obtain prior sample information; and
obtaining the Bayesian prior probability model based on Bayes rules and the prior
sample information.
[0008] Optionally, the to-be-learned sample information is updated into the prior sample
information once the to-be-learned sample information is acquired.
[0009] Optionally, the Bayesian prior probability model
P(
xs) is represented as:

where
Dir(
α1,
α2, ··· ,
αs) denotes a dirichlet distribution, s denotes the number of the sub-periods of the
period of time,
Xs denotes the number of users in the sample information in an s-th sub-period,
αs denotes the number of pieces of the sample information in the s-th s sub-period,
and

[0010] Optionally, the updated Bayesian prior probability model
P'(
xs) is represented as:

and
the number of pieces of the updated sample information is represented as:

where

denotes the number of users in the to-be-learned sample information in each of the
sub-periods, and
Xs denotes the number of users in the sample information in the s-th sub-period.
[0011] Optionally, a sleep state corresponding to the sleep interval of the self-service
device is modified when the sleep interval of the self-service device in each of the
sub-periods is modified based on the predicted number of users.
[0012] Optionally, the modifying the sleep interval and the sleep state corresponding to
the sleep interval of the self-service device in each of the sub-periods based on
the predicted number of users includes: acquiring the sum of durations of all of the
users using the self-service device; calculating an average duration of the user using
the self-service device based on the sum of durations; acquiring a predicted total
usage duration based on the predicted number of users and the average duration; calculating
an average idle interval between two adjacent usage for the self-service device within
the preset period of time based on the predicted total usage duration; and modifying,
based on the average idle interval, the sleep interval and the sleep state corresponding
to the sleep interval of the self-service device in each of the sub-periods of the
self-service device.
[0013] Optionally, the modifying, based on the average idle interval, the sleep interval
and the sleep state corresponding to the sleep interval of the self-service device
in each of the sub-periods includes: in a case where the average idle interval is
less than a first preset time threshold, controlling the self-service device not to
enter a sleep state; in a case where the average idle interval is greater than or
equal to the first preset time threshold and is less than a second preset time threshold,
and the self-service device is not used within a first preset sleep interval, controlling
the self-service device to enter a light sleep state, where in the light sleep state,
a screen of the self-service device is turned off, and a main device of the self-service
device is maintained operating normally; and in a case where the average idle interval
is greater than the second preset time threshold, controlling the self-service device
to enter the light sleep state in a case where the self-service device is not used
within the first preset sleep interval, and controlling the self-service device to
enter a deep sleep state in a case where a duration in which the self-service device
is in the light sleep state is greater than a second preset sleep interval, where
in the deep sleep state, the screen of the self-service device is turned off and the
main device of the self-service device enters a lowest power consumption operation
state.
[0014] Optionally, the modifying, based on the average idle interval, the sleep interval
and the sleep state corresponding to the sleep interval of the self-service device
in each of the sub-periods further includes: controlling the self-service device to
enter the deep sleep state in a case where a current time is in a range of the preset
period of time and the self-service device is not used within a third preset sleep
interval.
[0015] An energy-saving control device for a self-service device is provided according to
an embodiment of the present disclosure, which includes: a sample information acquiring
module configured to acquire to-be-learned sample information from historical usage
data of users of the self-service device, where the sample information indicates the
number of users which use the self-service device in each of different sub-periods
of a period of time; a learning module configured to learn the to-be-learned sample
information by using a preset Bayesian prior probability model, to obtain a learning
result; an updating module configured to update the Bayesian prior probability model
based on the learning result; a predicting module for the number of users configured
to predict the number of users in each of sub-periods of a preset period of time by
using the updated Bayesian prior probability model, to obtain the predicted number
of users at the self-service device; and a sleep modifying module configured to modify
a sleep interval in each of the sub-periods of the self-service device based on the
predicted number of users.
[0016] It can be seen from the above technical solutions that the embodiments of the present
disclosure have the following advantages.
[0017] In the embodiments of the present disclosure, firstly, to-be-learned sample information
is acquired from historical usage data of users of the self-service device. The sample
information indicates the number of users which use the self-service device in each
of different sub-periods of a period of time. Secondly, the to-be-learned sample information
is learned using a preset Bayesian prior probability model to obtain a learning result.
Thirdly, the Bayesian prior probability model is updated based on the learning result.
Fourthly, the number of users in each of sub-periods of a preset period of time is
predicted using the updated Bayesian prior probability model, to obtain the predicted
number of users at the self-service device. Finally, a sleep interval of the self-service
device in each of the sub-periods is modified based on the predicted number of users.
In the embodiments of the present disclosure, the number of users are predicted using
the Bayesian prior probability model obtained by self-learning, and the sleep interval
of the self-service device in each of the sub-periods is modified based on the predicted
number of users. The sleep interval of the self-service device in each of the sub-periods
may be set properly as required, thereby avoiding the problems that the self-service
device enters a sleep state or a start state repeatedly in a case of a large number
of users due to a too-short sleep interval, and that resources are wasted in a case
of a small number of users due to a too-long sleep interval.
BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate technical solutions of the present disclosure
or the conventional technology, the drawings required in description of the embodiments
and the conventional technology are briefly described below. Apparently, the drawings
in the following description are only some embodiments of the present disclosure,
and other drawings may be obtained by those skilled in the art based on these drawings
without any creative work.
Figure 1 is a flowchart of an energy-saving control method for a self-service device
according to an embodiment of the present disclosure;
Figure 2 is a flowchart of an energy-saving control method for a self-service device
according to another embodiment of the present disclosure;
Figure 3 is a structural diagram of an energy-saving control device for a self-service
device according to an embodiment of the present disclosure; and
Figure 4 is a structural diagram of an energy-saving control device for a self-service
device according to another embodiment of the present disclosure.
DETAILED DESCRIPTION OF EMBODIMENTS
[0019] An energy saving control method and an energy saving control device for a self-service
device are provided according to the embodiments of the present disclosure, to solve
the problems that the self-service device enters a sleep state or a start state repeatedly
in a case of a large number of users due to a too-short sleep interval, and that resources
are wasted in a case of a small number of users due to a too-long sleep interval.
[0020] In order to make the objectives, features and advantages of the present disclosure
more apparent and easier to be understood, the technical solutions according to the
embodiments of the present disclosure are described clearly and completely as follows
in conjunction with the drawings in the embodiments of the present disclosure. Apparently,
the described embodiments below are only a part rather than all of the embodiments
of the present disclosure. Any other embodiments obtained by those skilled in the
art based on the embodiments of the present disclosure without any creative work fall
within the protection scope of the present disclosure.
[0021] With reference to Figure 1, an energy-saving control method for a self-service device
according to an embodiment of the present disclosure includes steps 101 to 105.
[0022] In step 101, to-be-learned sample information is acquired from historical usage data
of users of the self-service device.
[0023] Firstly, the to-be-learned sample information is acquired from the historical usage
data of the users of the self-service device. The sample information indicates the
number of users which use the self-service device in each of different sub-periods
of a period of time.
[0024] In step 102, the to-be-learned sample information is learned using a preset Bayesian
prior probability model, to obtain a learning result.
[0025] After the to-be-learned sample information is acquired from the historical usage
data of the users of the self-service device, the to-be-learned sample information
may be learned using the preset Bayesian prior probability model to obtain the learning
result.
[0026] In step 103, the Bayesian prior probability model is updated based on the learning
result.
[0027] After the to-be-learned sample information is learned using the preset Bayesian prior
probability model to obtain the learning result, the Bayesian prior probability model
may be updated based on the learning result.
[0028] In step 104, the number of users in each of sub-periods of a preset period of time
is predicted using the updated Bayesian prior probability model, to obtain the predicted
number of users at the self-service device.
[0029] After the Bayesian prior probability model is updated based on the learning result,
the number of users in each of the sub-periods of the preset period of time may be
predicted using the updated Bayesian prior probability model, to obtain the predicted
number of users at the self-service device.
[0030] In step 105, a sleep interval of the self-service device in each of the sub-periods
is modified based on the predicted number of users.
[0031] After the number of users in each of the sub-periods of the preset period of time
is predicted using the updated Bayesian prior probability model to obtain the predicted
number of users at the self-service device, the sleep interval of the self-service
device in each of the sub-periods may be modified based on the predicted number of
users.
[0032] In the embodiment, firstly, to-be-learned sample information is acquired from historical
usage data of users of the self-service device. The sample information indicates the
number of users which use the self-service device in each of different sub-periods
of a period of time. Secondly, the to-be-learned sample information is learned using
a preset Bayesian prior probability model to obtain a learning result. Thirdly, the
Bayesian prior probability model is updated based on the learning result. Fourthly,
the number of users in each of sub-periods of a preset period of time is predicted
using the updated Bayesian prior probability model, to obtain the predicted number
of users at the self-service device. Finally, a sleep interval of the self-service
device in each of the sub-periods is modified based on the predicted number of users.
In the embodiment, the number of users is predicted using the Bayesian prior probability
model obtained by self-learning, and the sleep interval of the self-service device
in each of the sub-periods is modified based on the predicted number of users. The
sleep interval of the self-service device in each of the sub-periods may be set properly
as required, thereby avoiding the problems that the self-service device enters a sleep
state or a start state repeatedly in a case of a large number of users due to a too-short
sleep interval, and that resources are wasted in a case of a small number of users
due to a too-long sleep interval.
[0033] For ease of understanding, the energy-saving control method for the self-service
device according to the embodiment of the present disclosure is described in detail
below. With reference to Figure 2, an energy-saving control method for a self-service
device according to another embodiment of the present disclosure includes steps 201
to 209.
[0034] In step 201, to-be-learned sample information is acquired from historical usage data
of users of the self-service device.
[0035] Firstly, the to-be-learned sample information may be acquired from the historical
usage data of the users of the self-service device. The sample information indicates
the number of users which use the self-service device in each of different sub-periods
of a period of time. That is, it can be understood that a user from a time when the
user starts using the self-service device to a time when the user finishes using the
self-service device in a period of time (an integer multiple of 24 hours) may be considered
as one user in the to-be-learned sample information. The number of users in the to-be-learned
sample information may be collated according to a sub-period, to obtain the collated
to-be-learned sample information. The length of the sub-period may be one hour, two
hours or more hours.
[0036] Hereinafter, the to-be-learned sample information and prior sample information are
collated according to the sub-period of one hour.
[0037] For example, the obtained collated to-be-learned sample information
D1 is represented as:

where
s denotes a sequence number of the sub-period, a value range of s meets
s ≤ 24,
S can be divisible by 24, and a value of
s is 1,2,...,24 in a case where the length of the sub-period is one hour,

denotes the number of users in the to-be-learned sample information in an
s-th sub-period, and

[0038] In a case where the to-be-learned sample information is collated according to the
sub-period of two hours, a value of
s is 1,2,...,12.
[0039] For example, the obtained collated prior sample information
D is represented as:

where
s denotes a sequence number of the sub-period, a value range of
s meets
s ≤ 24,
s can be divisible by 24, and a value of
s is 1,2,...,24 in a case where the length of the sub-period is one hour,
Xs denotes the number of users in the prior sample information in an
s-th sub-period, and
Xs = 0,1,2, ...m.
[0040] In a case where the prior sample information is collated according to the sub-period
of two hours, a value of
s is 1,2,...,12.
[0041] In step 202, the to-be-learned sample information is learned using a preset Bayesian
prior probability model, to obtain a learning result.
[0042] After the to-be-learned sample information is acquired from the historical usage
data of the users of the self-service device, the to-be-learned sample information
may be learned using the preset Bayesian prior probability model, to obtain the learning
result.
[0043] It should be noted that the Bayesian prior probability model may be acquired by the
following preprocessing steps A to C.
[0044] In step A, the historical usage data of the users of the self-service device is preprocessed,
to acquire different durations in which different users use the self-service device
within a day as sample information.
[0045] In step B, the sample information is collated based on division for the period of
time to obtain prior sample information.
[0046] In step C, the Bayesian prior probability model is obtained based on Bayes rules
and the prior sample information.
[0047] It should be noted that the to-be-learned sample information may be updated into
the prior sample information once the to-be-learned sample information is acquired.
[0048] In step 203, the Bayesian prior probability model is updated based on the learning
result.
[0049] After the learning result is obtained, the Bayesian prior probability model may be
updated based on the learning result.
[0050] It should be noted that the collated to-be-learned sample information is learned
using the Bayesian prior probability. A time interval for learning the collated to-be-learned
sample information may be one or more days, which depends on the amount of usage of
the self-service device at the site.
[0051] For example, it is assumed that the time interval is a day, a process of learning
the collated to-be-learned sample information by using the Bayesian prior probability
is described in detail.
[0052] For the obtained collated prior sample information described as an example in step
201, the total number
n of pieces of the prior sample information can be obtained as follows.

where 24 in the above equation is changed to 12 in a case where the length of the
sub-period is two hours.
[0053] Therefore, a Bayesian prior probability
P(
xs) for the number of users of the ATM in each of the sub-periods is represented as:

where 24 in the above equation is changed to 12 in a case where the length of the
sub-period is two hours.
[0054] Since there are continuous and multivariate users using the self-service device,
the Bayesian prior probability model
P(
xs) in each of the sub-periods obeys the Dirichlet distribution
Dir(
α1,
α2, ··· ,
αs), that is:

where
Dir(
α1, α2,
···,
αs) denotes the Dirichlet distribution, s denotes the number of the sub-periods of a
day,
Xs denotes the number of users in the sample information in an s-th sub-period,
αs denotes the number of pieces of the sample information in the s-th sub-period, and

[0055] A prior sample probability
P(
D) is represented as:

[0056] The to-be-learned sample information is learned, and the following equation can be
obtained according to the Bayesian formula.

where
P(
xs) denotes a Bayesian prior probability distribution for
Xs, P(
Xs |
D) denotes a Bayesian posterior probability distribution for
Xs, and a learned Bayesian prior probability
P'(
Xs) may be obtained as follows by converting
P(
Xs |
D) to the dirichlet distribution
Dir(
α1 +
β1,
α2 +
β2, ···,
αs +
βs).

where 24 in the above equation is changed to 12 in a case where the length of the
sub-period is two hours,
β1,
β2, ···,
βs denotes the dirichlet distribution of the collated to-be-learned sample information
in sub-periods for

denotes the number of users in the updated sample in each sub-period, and

The original Bayesian prior probability is updated by the learned Bayesian prior
probability.
[0057] The total number
n of pieces of the collated prior sample information may also be updated as
Xs,

where 24 in the this equation is changed to 12 in a case where the length of the
sub-period is two hours.
[0058] In step 204, the number of users in each of sub-periods of a preset period of time
is predicted using the updated Bayesian prior probability model, to obtain the predicted
number of users at the self-service device.
[0059] After the Bayesian prior probability model is updated based on the learning result,
the number of users in each of the sub-periods in the preset period of time may be
predicted using the updated Bayesian prior probability model, to obtain the predicted
number of users at the self-service device, which is described in detail below.
[0060] The number of users in each of sub-periods of a period of time is predicted using
the updated Bayesian prior probability model. The period of time may be determined
based on the interval for learning the collated to-be-learned sample information.
[0061] How to predict the number of users in each of sub-periods of the next day is described
in detail below.
[0062] A probability of occurrence of users in each of sub-periods of the next day is predicted
using the updated Bayesian prior probability, to predict the number of users which
use the self-service device in each of the sub-periods.
[0063] The Bayesian prior probability model is updated based on the learned Bayesian prior
probability
P'(
Xs)
, to obtain the updated Bayesian prior probability model
P(
Xs) as follows.

where
Xs is fused into

to generate the prior sample information, and 24 in the above equation is changed
to 12 in a case where the length of the sub-period is two hours.
[0064] Therefore, the number of users which use the self-service device in the s-th sub-period
can be predicted, and the number Y of users which use the ATM in the s-th sub-period
is obtained as follows.

where
n denotes the total number of updated samples, that is, the number of users using the
self-service device,
P(
Xs) denotes the updated Bayesian prior probability model. In this way, the number of
users which use the self-service device in the S-th sub-period can be obtained.
[0065] In step 205, the sum of durations of all of the users using the self-service device
is acquired.
[0066] The sum of durations of all of the users using the self-service device may be acquired
after the predicted number of users at the self-service device is obtained.
[0067] In step 206, an average duration of the user using the self-service device is calculated
based on the sum of durations.
[0068] After the sum of durations of all of users using the self-service device is acquired,
the average duration of the user using the self-service device may be calculated based
on the sum of durations.
[0069] In step 207, a predicted total usage duration is acquired based on the predicted
number of users and the average duration.
[0070] After the average duration of the user using the self-service device is calculated
based on the sum of durations, the predicted total usage duration may be acquired
based on the predicted number of users and the average duration.
[0071] In step 208, an average idle interval between two adjacent usage for the self-service
device within the preset period of time is calculated based on the predicted total
usage duration.
[0072] After the predicted total usage duration is acquired based on the predicted number
of users and the average duration, the average idle interval between two adjacent
usage for the self-service device within the preset period of time may be calculated
based on the predicted total usage duration.
[0073] In step 209, a sleep interval and a sleep state of the self-service device in each
of the sub-periods are modified based on the average idle interval.
[0074] After the average idle interval between two adjacent usage for the self-service device
within the preset period of time is calculated based on the predicted total usage
duration, the sleep interval and the sleep state of the self-service device in each
of the sub-periods may be modified based on the average idle interval.
[0075] It should be noted that the sleep interval and the sleep state of the self-service
device in each of the sub-periods may be modified based on the average idle interval
by the following steps 1 to 4.
[0076] In step 1, in a case where the average idle interval is less than a first preset
time threshold, the self-service device is controlled not to enter the sleep state.
[0077] In step 2, in a case where the average idle interval is greater than or equal to
the first preset time threshold and is less than a second preset time threshold, and
the self-service device is not used within a first preset sleep interval, the self-service
device is controlled to enter a light sleep state. In the light sleep state, a screen
of the self-service device is turned off, and a main device of the self-service device
is maintained operating normally.
[0078] In step 3, in a case where the average idle interval is greater than the second preset
time threshold, the self-service device is controlled to enter the light sleep state
in a case where the self-service device is not used within the first preset sleep
interval, and the self-service device is controlled to enter a deep sleep state in
a case where a duration in which the self-service device is in the light sleep state
is greater than a second preset sleep interval. In the deep sleep state, the screen
of the self-service device is turned off, and the main device of the self-service
device enters a lowest power consumption operation state.
[0079] In step 4, the self-service device is controlled to enter the deep sleep state, in
a case where a current time is in a range of the preset period of time and the self-service
device is not used within a third preset sleep interval.
[0080] For ease of understanding, examples are given below for detailed description.
[0081] In a case where the predicted average idle interval between a time when a user finishes
using the self-service device and a time when a next user starts using the self-service
device within the sub-period for
Xs is less than 5 minutes, the self-service device does not prepare for entering the
sleep state.
[0082] In a case where the predicted average idle interval between the time when the user
finishes using the self-service device and the time when the next user starts using
the self-service device within the sub-period for
Xs is greater than 5 minutes and less than 30 minutes, and no user uses the self-service
device within a modified sleep interval of 3 minutes, the self-service device is modified
to enter a light sleep state, in which, a screen of the self-service device is turned
off, and the main device such as a CPU of the self-service device is maintained operating
normally.
[0083] In a case where the predicted average idle interval between the time when the user
finishes using the self-service device and the time when the next user starts using
the self-service device within the sub-period for
Xs is greater than 30 minutes, the self-service device is modified to enter a light
sleep state in a case where no user uses the self-service device within the modified
sleep interval of 3 minutes. In the light sleep state, the screen of the self-service
device is turned off and the main device of the self-service device is maintained
operating normally. The self-service device enters a deep sleep state after a modified
sleep interval of 10 minutes elapses. In the deep sleep state, the main device may
also enter a lowest power consumption operation state.
[0084] For example, a usage ratio of the self-service device is extremely low from 11pm
to 6am. Therefore, the self-service device can be directly modified to enter the deep
sleep state in a case where no user uses the self-service device within the modified
sleep interval of 3 minutes, thereby ensuring a quick start of the self-service device
once a user starts using the self-service device and usage experience of the user,
and achieving an energy-saving effect.
[0085] According to the present disclosure, the to-be-learned sample information is learned
using the Bayesian prior probability to obtain the learning result. The Bayesian prior
experience is updated based on the learning result. The number of users which use
the self-service device in each of sub-periods of a day is predicted using the updated
Bayesian prior experience. The sleep state of the self-service device and the time
when the self-service device enters the sleep state are modified based on a prediction
result of the updated Bayesian prior experience. In this way, the sleep interval is
prolonged in a case of a large number of users, to prevent the device from being started
frequently and reduce a fault rate and the maintenance cost of the device, and the
sleep interval of the device is shortened in a case of a small number of users, to
reduce resource waste and save the cost.
[0086] The energy-saving control method for the self-service device is described above.
An energy-saving control device for a self-service device is described in detail below.
With reference to Figure 3, an energy-saving control device for a self-service device
according to an embodiment of the present disclosure includes a sample information
acquiring module 301, a learning module 302, an updating module 303, a predicting
module 304 for the number of users and a sleep modifying module 305.
[0087] The sample information acquiring module 301 is configured to acquire to-be-learned
sample information from historical usage data of users of the self-service device.
The sample information indicates the number of users which use the self-service device
in each of different sub-periods of a period of time.
[0088] The learning module 302 is configured to learn the to-be-learned sample information
by using a preset Bayesian prior probability model to obtain a learning result.
[0089] The updating module 303 is configured to update the Bayesian prior probability model
based on the learning result.
[0090] The predicting module 304 for the number of users is configured to predict the number
of users in each of sub-periods of a preset period of time by using the updated Bayesian
prior probability model, to obtain the predicted number of users at the self-service
device.
[0091] The sleep modifying module 305 is configured to modify a sleep interval of the self-service
device in each of the sub-periods based on the predicted number of users.
[0092] In the embodiment, the sample information acquiring module 301 acquires to-be-learned
sample information from historical usage data of users of self-service device. The
sample information indicates the number of users which use the self-service device
in each of different sub-periods of a period of time. The learning module 302 learns
the to-be-learned sample information using a preset Bayesian prior probability model
to obtain a learning result. The updating module 303 updates the Bayesian prior probability
model based on the learning result. The predicting module 304 for the number of users
predicts the number of users in each of sub-periods of a preset period of time by
using the updated Bayesian prior probability model, to obtain the predicted number
of users at the self-service device. The sleep modifying module 305 modifies a sleep
interval of the self-service device in each of the sub-periods based on the predicted
number of users. In the embodiment, the number of users are predicted using the Bayesian
prior probability model obtained by self-learning, and the sleep interval of the self-service
device in each of the sub-periods is modified based on the obtained predicted number
of users. The sleep interval of the self-service device in each of the sub-periods
may be set properly as required, thereby avoiding the problems that the self-service
device enters a sleep state or a start state repeatedly in a case of a large number
of users due to a too-short sleep interval, and that resources are wasted in a case
of a small number of users due to a too-long sleep interval.
[0093] For ease of understanding, the energy-saving control device for the self-service
device according to an embodiment of the present disclosure is described in detail
below. With reference to Figure 4, an energy-saving control device for a self-service
device according to another embodiment of the present disclosure includes a sample
information acquiring module 401, a learning module 402, an updating module 403, a
predicting module 404 for the number of users and a sleep modifying module 405.
[0094] The sample information acquiring module 401 is configured to acquire to-be-learned
sample information from historical usage data of users of the self-service device.
The sample information indicates different durations in which different users use
the self-service device within a day.
[0095] The learning module 402 is configured to learn the to-be-learned sample information
using a preset Bayesian prior probability model to obtain a learning result.
[0096] The updating module 403 is configured to update the Bayesian prior probability model
based on the learning result.
[0097] The predicting module 404 for the number of users is configured to predict the number
of users in each of sub-periods of a preset period of time by using the updated Bayesian
prior probability model, to obtain the predicted number of users at the self-service
device.
[0098] The sleep modifying module 405 is configured to modify a sleep interval of the self-service
device in each of the sub-periods based on the predicted number of users.
[0099] In the embodiment, the sleep modifying module 405 may be further configured to modify
the sleep interval and a sleep state of the self-service device in each of the sub-periods
based on the predicted number of users.
[0100] In the embodiment, the sleep modifying module 405 may include a total duration acquiring
module 4051, an average duration acquiring unit 4052, a usage duration acquiring unit
4053, an idle interval calculating unit 4054 and a modifying unit 4055.
[0101] The total duration acquiring unit 4051 is configured to acquire the sum of durations
of all of the users using the self-service device.
[0102] The average duration acquiring unit 4052 is configured to calculate an average duration
of the user using the self-service device based on the sum of durations.
[0103] The usage duration acquiring unit 4053 is configured to acquire a predicted total
usage duration based on the predicted number of users and the average duration.
[0104] The idle interval calculating unit 4054 is configured to calculate an average idle
interval between two adjacent usage for the self-service device within the preset
period of time based on the predicted total usage duration.
[0105] The modifying unit 4055 is configured to modify a sleep interval and a sleep state
of the self-service device in each of the sub-periods based on the average idle interval.
[0106] In the embodiment, the modifying unit 4055 may include a first control subunit 0551,
a second control subunit 0552, a third control subunit 0553 and a fourth control subunit
0554.
[0107] The first control subunit 0551 is configured to control the self-service device not
to enter the sleep state in a case where the average idle interval is less than a
first preset time threshold.
[0108] The second control subunit 0552 is configured to control the self-service device
to enter a light sleep state, in a case where the average idle interval is greater
than or equal to the first preset time threshold and is less than a second preset
time threshold and the self-service device is not used within a first preset time
limit. In the light sleep state, a screen of the self-service device is turned off
and a main device of the self-service device is maintained operating normally.
[0109] The third control subunit 0553 is configured to, in a case where the average idle
interval is greater than the second preset time threshold, control the self-service
device to enter the light sleep state in a case where the self-service device is not
used within the first preset time limit, and control the self-service device to enter
a deep sleep state in a case where a duration within which the self-service device
is in the light sleep state is greater than a second preset time limit. In the deep
sleep state, the screen of the self-service device is turned off and the main device
of the self-service device enters a lowest power consumption operation state.
[0110] The fourth control subunit 0554 is configured to control the self-service device
to enter the deep sleep state in a case where a current time is in a range of the
preset period of time and the self-service device is not used within a third preset
time limit.
[0111] It may be clearly understood by those skilled in the art that, for convenience and
ease of description, operating processes of the system, the device and the unit described
above may refer to the corresponding processes in the above method embodiments, which
are not described hereinafter anymore.
[0112] In several embodiments according to the present disclosure, it should be understood
that the disclosed system, device and method can be implemented in other ways. The
device embodiments described above are merely schematic. For example, the division
of the units is merely a logic functional division, and there may be other divisions
in practice. For example, multiple units or components may be combined, or may be
integrated into another system, or some features may be ignored or not be executed.
In addition, coupling, direct coupling or communication connection between components
shown or discussed may be indirect coupling or communication connection via some interfaces,
devices or units, which may be electrical, mechanical, or in other form.
[0113] The units illustrated as separate components may be or may not be separated physically,
and the component displayed as a unit may be or may not be a physical unit. That is,
the components may be located at the same place, or may be distributed on multiple
network units. Some or all of the units may be selected as required to implement the
objective of the solution of the embodiments.
[0114] In addition, all function units according to the embodiments of the present disclosure
may be integrated into one processing unit, or may be each a separate unit physically,
or two or more units are integrated into one unit. The integrated unit described above
may be realized with hardware, or may be realized by a software function unit.
[0115] The integrated unit may be stored in a computer readable storage medium if the integrated
unit is implemented in the form of a software function unit and is sold or used as
a separate product. Base on such understanding, an essential part of the technical
solution of the present disclosure, i.e., the part of the technical solution of the
present disclosure that contributes to the conventional technology, or all or a part
of the technical solution may be embodied in the form of a computer software product.
The computer software product is stored in a storage medium, and includes several
instructions to instructing a computer device (which may be a personal computer, a
server, a network device or the like) to implement all or a part of steps of the method
according to the embodiments of the present disclosure. The storage medium described
above includes various mediums which can store program codes such as a USB disk, a
mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic
disk and an optical disc.
[0116] In summary, the above embodiments are only described for illustrating the technical
solutions of the present disclosure, and not for limiting the technical solutions.
Although the present disclosure is illustrated in detail by referring to the aforementioned
embodiments, it should be understood by those skilled in the art that modifications
can be still made to the technical solutions recited in the aforementioned embodiments,
or equivalent substitution can be made to a part of technical features of the technical
solutions. The modification and equivalent substitution cannot make essence of the
technical solutions depart from the spirit and a scope of the technical solutions
according to the embodiments of the present disclosure.
1. An energy-saving control method for a self-service device, comprising:
acquiring to-be-learned sample information from historical usage data of users of
the self-service device, wherein the sample information indicates the number of users
which use the self-service device in each of different sub-periods of a period of
time;
learning the to-be-learned sample information by using a preset Bayesian prior probability
model, to obtain a learning result;
updating the Bayesian prior probability model based on the learning result;
predicting the number of users in each of sub-periods of a preset period of time by
using the updated Bayesian prior probability model, to obtain the predicted number
of users at the self-service device; and
modifying a sleep interval of the self-service device in each of the sub-periods based
on the predicted number of users.
2. The method according to claim 1, wherein the Bayesian prior probability model is obtained
by the following preprocessing steps:
preprocessing the historical usage data of the users of the self-service device, to
acquire the number of users which use the self-service device in each of the different
sub-periods of the period of time as sample information;
collating the sample information based on division for the period of time, to obtain
prior sample information; and
obtaining the Bayesian prior probability model based on Bayes rules and the prior
sample information.
3. The method according to claim 2, wherein the to-be-learned sample information is updated
into the prior sample information once the to-be-learned sample information is acquired.
4. The method according to claim 1, wherein the Bayesian prior probability model
P(
Xs) is represented as:

where
Dir(
α1,
α2, ...
αs) denotes a Dirichlet distribution, s denotes the number of the sub-periods of the
period of time,
Xs denotes the number of users in the sample information in an s-th sub-period,
αs denotes the number of pieces of the sample information in the s-th sub-period, and
5. The method according to claim 4, wherein the updated Bayesian prior probability model
P'(
Xs) is represented as:

and
the number of pieces of updated sample information is represented as:

where
X's denotes the number of users in the to-be-learned sample information in each of the
sub-periods, and
Xs denotes the number of users in the sample information in the s-th sub-period.
6. The method according to claim 1, further comprising:
modifying a sleep state corresponding to the sleep interval of the self-service device
when the sleep interval of the self-service device in each of the sub-periods is modified
based on the predicted number of users.
7. The method according to claim 6, wherein the modifying the sleep interval and the
sleep state corresponding to the sleep interval of the self-service device in each
of the sub-periods based on the predicted number of users comprises:
acquiring the sum of durations of all of the users using the self-service device;
calculating an average duration of the user using the self-service device based on
the sum of durations;
acquiring a predicted total usage duration based on the predicted number of users
and the average duration;
calculating an average idle interval between two adjacent usage for the self-service
device within the preset period of time based on the predicted total usage duration;
and
modifying, based on the average idle interval, the sleep interval and the sleep state
corresponding to the sleep interval of the self-service device in each of the sub-periods.
8. The method according to claim 7, wherein the modifying, based on the average idle
interval, the sleep interval and the sleep state corresponding to the sleep interval
of the self-service device in each of the sub-periods comprises:
in a case where the average idle interval is less than a first preset time threshold,
controlling the self-service device not to enter a sleep state;
in a case where the average idle interval is greater than or equal to the first preset
time threshold and is less than a second preset time threshold, and the self-service
device is not used within a first preset sleep interval, controlling the self-service
device to enter a light sleep state, wherein in the light sleep state, a screen of
the self-service device is turned off, and a main device of the self-service device
is maintained operating normally; and
in a case where the average idle interval is greater than the second preset time threshold,
controlling the self-service device to enter the light sleep state in a case where
the self-service device is not used within the first preset sleep interval, and controlling
the self-service device to enter a deep sleep state in a case where a duration in
which the self-service device is in the light sleep state is greater than a second
preset sleep interval, wherein in the deep sleep state, the screen of the self-service
device is turned off and the main device of the self-service device enters a lowest
power consumption operation state.
9. The method according to claim 8, wherein the modifying, based on the average idle
interval, the sleep interval and the sleep state corresponding to the sleep interval
of the self-service device in each of the sub-periods further comprises:
controlling the self-service device to enter the deep sleep state in a case where
a current time is in a range of the preset period of time and the self-service device
is not used within a third preset sleep interval.
10. An energy-saving control device for a self-service device, comprising:
a sample information acquiring module configured to acquire to-be-learned sample information
from historical usage data of users of the self-service device, wherein the sample
information indicates the number of users which use the self-service device in each
of different sub-periods of a period of time;
a learning module configured to learn the to-be-learned sample information by using
a preset Bayesian prior probability model, to obtain a learning result;
an updating module configured to update the Bayesian prior probability model based
on the learning result;
a predicting module for the number of users configured to predict the number of users
in each of sub-periods of a preset period of time by using the updated Bayesian prior
probability model, to obtain the predicted number of users at the self-service device;
and
a sleep modifying module configured to modify a sleep interval of the self-service
device in each of the sub-periods based on the predicted number of users.