POS terminal power-saving operation method, POS terminal and storage medium

By analyzing the usage habit data of the POS terminal and determining the power saving mode for different usage periods, the problem of high power consumption of the POS terminal is solved, and the effect of reducing power consumption and power consumption is achieved.

CN119545493APending Publication Date: 2025-02-28SHENZHEN XINGUODU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411494934.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

Because POS terminals need to meet complex transaction processing and diversified application operation, they have high power and power consumption, which affects their popularity.

Method used

By obtaining user usage habit data for operating POS terminals, analyzing the usage time period distribution at different usage levels, determining the target usage level corresponding to the usage time period in the current time, and running the POS terminal in accordance with the corresponding power saving mode.

Benefits of technology

It reduces the daily power consumption and power consumption of POS terminals and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119545493A_ABST
    Figure CN119545493A_ABST
Patent Text Reader

Abstract

The invention discloses a power-saving operation method of a POS terminal, the POS terminal and a storage medium, which are used for reducing power consumption and power consumption of daily use of the POS terminal. The method comprises the following steps: acquiring use habit data generated when a user operates the POS terminal; analyzing the use habit data to obtain a use time period distribution condition of the POS terminal under each preset use level, different use levels corresponding to different power saving modes; when the POS terminal enters a dormant state, determining a target use hierarchy corresponding to the use time period of the current time based on the use time period distribution condition under each use hierarchy; and operating the POS terminal according to the power-saving mode corresponding to the target use level in the use time period of the current time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent power saving technology, and in particular to a POS terminal power saving operation method, a POS terminal and a storage medium. Background Art

[0002] With the rapid development of mobile payment technology, Android POS (mobile point-of-sale terminals based on the Android operating system) has been widely used in retail, catering, transportation, medical and other fields due to its high flexibility, rich functions and easy integration. However, despite the many conveniences brought by POS terminals, an important factor limiting the popularity of POS terminals is the power consumption of POS terminals.

[0003] First of all, because of the need to meet the needs of complex transaction processing and diversified application operation, POS terminals are equipped with high-performance processors and large-capacity memory, but while achieving powerful processing capabilities, they also bring higher power consumption.

[0004] Secondly, POS terminals maintain a continuous network connection (such as Wi-Fi, 4G / 5G), not only for data transmission, but also for keeping the device online to receive payment instructions or system updates at any time. The process of maintaining the connection generates operations such as wireless signal search and maintaining the connection, which significantly increases power consumption.

[0005] In addition, the POS terminal needs to remain active all the time while running its Android system and various internal payment applications and management software, which further increases power consumption.

[0006] Based on this, there is an urgent need for an operating method for power saving in POS terminals to solve the above technical problems. Summary of the invention

[0007] In order to solve the above technical problems, the present application provides a POS terminal power-saving operation method, a POS terminal and a storage medium, which can reduce the power consumption and electricity consumption of the POS terminal in daily use.

[0008] The technical solution provided in this application is described below:

[0009] The first aspect of the present application provides a POS terminal power saving operation method, comprising:

[0010] Obtain usage habit data generated by users operating POS terminals;

[0011] Analyze the usage habit data to obtain the usage time distribution of the POS terminal under each pre-set usage level, where different usage levels correspond to different power saving modes;

[0012] When the POS terminal enters a dormant state, based on the distribution of usage time periods under the various usage levels, a target usage level corresponding to the usage time period at the current time is determined;

[0013] During the usage time period of the current time, the POS terminal is operated in a power saving mode corresponding to the target usage level.

[0014] Optionally, analyzing the usage habit data to obtain the usage time period distribution of the POS terminal at each preset usage level includes:

[0015] The usage habit data is analyzed to obtain usage time period distributions corresponding to a first usage level representing frequent use, a second usage level representing infrequent use, and a third usage level representing no use.

[0016] Optionally, operating the POS terminal in a power saving mode corresponding to the target usage level includes:

[0017] When the target usage level is the first usage level, operating the POS terminal in a basic power saving mode;

[0018] When the target usage level is the second usage level, the POS terminal is operated in a basic power saving mode, and a data reporting function of a modem in the POS terminal is disabled;

[0019] When the target usage level is the third usage level, the POS terminal is put into deep sleep, and the timed wake-up function of the modem is disabled.

[0020] Optionally, obtaining usage habit data generated by the user operating the POS terminal includes:

[0021] Obtaining an operation log generated when the POS terminal responds to the user operation;

[0022] The usage habit data generated by the user operation is determined according to the operation log.

[0023] Optionally, analyzing the usage habit data includes:

[0024] Extracting features from the usage habit data, the features including timestamp, frequency, and duration of use of the POS terminal by the user;

[0025] The features are input into a preset model for training to obtain a target model, and the target model is used to train and output the distribution of usage time periods for each usage level according to the usage habit data.

[0026] Optionally, after operating the POS terminal in the power saving mode corresponding to the target usage level, the operating method further includes:

[0027] Real-time monitoring is performed to determine whether there is a user's wake-up action on the POS terminal. If so, the POS terminal is woken up and the currently running power saving mode is terminated.

[0028] Optionally, after operating the POS terminal in the power saving mode corresponding to the target usage level, the operating method further includes:

[0029] In a usage time period next to the usage time period at the current time, a next target usage level corresponding to the next usage time period is determined, and the POS terminal is operated in a power saving mode corresponding to the next target usage level.

[0030] A second aspect of the present application provides a POS terminal, comprising:

[0031] An acquisition unit, used to acquire usage habit data generated by a user operating a POS terminal;

[0032] An analysis unit, configured to analyze the usage habit data to obtain the usage time distribution of the POS terminal at each preset usage level, wherein different usage levels correspond to different power saving modes;

[0033] A first determining unit, configured to determine, when the POS terminal enters a dormant state, a target usage level corresponding to a usage time period at a current time based on a distribution of usage time periods under each usage level;

[0034] An operating unit is used to operate the POS terminal according to a power saving mode corresponding to the target usage level during a usage time period of the current time.

[0035] Optionally, the analysis unit includes:

[0036] The analysis module is used to analyze the usage habit data to obtain the usage time period distribution corresponding to the first usage level representing frequent use, the second usage level representing infrequent use, and the third usage level representing no use.

[0037] Optionally, the operating unit includes:

[0038] A first operation module, configured to operate the POS terminal according to a basic power saving mode when the target usage level is the first usage level;

[0039] A second operation module, configured to operate the POS terminal in a basic power saving mode and disable a data reporting function of a modem in the POS terminal when the target usage level is the second usage level;

[0040] The third operation module is used for, when the target usage level is the third usage level, putting the POS terminal into deep sleep and disabling the timed wake-up function of the Modem.

[0041] Optionally, the acquiring unit includes:

[0042] An acquisition module, used to acquire an operation log generated when the POS terminal responds to the user operation;

[0043] A determination module is used to determine the usage habit data generated by the user's operation according to the operation log.

[0044] Optionally, the analysis unit includes:

[0045] An extraction module, used to extract features from the usage habit data, wherein the features include a timestamp, a frequency, and a duration when the user uses the POS terminal;

[0046] A training module is used to input the features into a preset model for training to obtain a target model, and the target model is used to train and output the distribution of usage time periods of the various usage levels according to the usage habit data.

[0047] Optionally, the POS terminal further includes:

[0048] The monitoring unit is used to monitor in real time whether there is a user's wake-up action on the POS terminal. If yes, the POS terminal is woken up and the current power saving mode is terminated.

[0049] Optionally, the terminal further includes:

[0050] The second determining unit determines a next target usage level corresponding to the next usage time period within the usage time period of the current time period, and operates the POS terminal according to a power saving mode corresponding to the next target usage level.

[0051] A third aspect of the present application provides a POS terminal, comprising:

[0052] Processor, memory, input-output unit, and bus;

[0053] The processor is connected to the memory, the input and output unit, and the bus;

[0054] The memory stores a program, and the processor calls the program to execute the first aspect and the optional operating method of any one of the first aspect.

[0055] A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the program executes the first aspect and any optional operating method in the first aspect.

[0056] It can be seen from the above technical solutions that this application has the following advantages:

[0057] The present application first obtains the usage habit data generated by the user operating the POS terminal, and then analyzes the usage habit data to obtain the usage time period distribution of the POS terminal under each pre-set usage level. Different usage levels correspond to different power saving modes. When the POS terminal enters the sleep mode, based on the usage time period distribution under each usage level, the target usage level corresponding to the usage time period at the current time is determined. Finally, within the usage time period at the current time, the POS terminal is operated according to the power saving mode corresponding to the target usage level. In this way, the POS terminal can be operated in sleep mode plus different power saving modes according to different usage time periods according to the user's usage habits. Different power saving modes have different capabilities of reducing power consumption, thereby reducing the power consumption of the POS terminal during daily use and reducing power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0059] Figure 1 A schematic diagram of a POS terminal power saving operation method provided by the present application;

[0060] Figure 2 Another schematic diagram of a POS terminal power saving operation method provided by the present application;

[0061] Figure 3 Another schematic diagram of a POS terminal power saving operation method provided by the present application;

[0062] Figure 4 Another schematic diagram of a POS terminal power saving operation method provided by the present application;

[0063] Figure 5 A schematic diagram of a POS terminal provided for this application;

[0064] Figure 6 Another schematic diagram of a POS terminal provided for this application;

[0065] Figure 7 Another schematic diagram of a POS terminal provided in this application. DETAILED DESCRIPTION

[0066] In order to solve the problem of high power consumption and high electricity consumption of POS terminals in daily use in the prior art, this application proposes a power-saving operation method for POS terminals. According to the user's usage habit data, different power-saving modes are correspondingly operated in different usage time periods, and different usage stages have different power-saving modes; wherein different power-saving modes have different abilities to reduce power consumption, thereby solving the above-mentioned technical problems of high power consumption and high electricity consumption. This application method is applied to POS terminals, and the following examples are given to illustrate.

[0067] See also Figure 1 The present application first provides an embodiment of a method for operating a POS terminal to save power, the embodiment comprising:

[0068] 101. Obtain usage habit data generated by users operating POS terminals.

[0069] Usage habit data refers to the data corresponding to the user's daily usage habits when using the POS terminal, such as the time of turning the POS terminal on and off, the time corresponding to the intensive use of the POS terminal, the time corresponding to the frequent use of the POS terminal for payment, etc.;

[0070] To obtain usage habit data, you can first obtain the log of the POS terminal, and then analyze and extract the usage habit data from the operation records in the log. You can also set up a special monitoring tool on the POS terminal to perform real-time detection. Detection tools such as pressure sensors can record the number and frequency of screen touches, such as brightness sensors, which can record the wake-up and shutdown time of the screen.

[0071] 102. Analyze the usage habit data to obtain the usage time distribution of the POS terminal under each pre-set usage level, and different usage levels correspond to different power saving modes.

[0072] The preset usage levels include a first usage level, a second usage level and a third usage level, wherein the first usage level corresponds to the regular usage period of the POS terminal (such as the lunch rush hour 11:00-12:30), the second usage level corresponds to the infrequent usage period of the POS terminal (such as 9:00-10:00 between the morning rush hour and the lunch rush hour), and the third usage level corresponds to the non-usage period of the POS terminal (such as the shutdown time 22:00 in the evening to 6:30 in the morning of the next day); the first usage level, the second usage level and the third usage level correspond to different power saving modes, respectively, and different power saving modes have different power saving effects. Therefore, different power saving modes can be used for different usage periods of the POS terminal, thereby achieving a further reduction in the power consumption of the POS terminal.

[0073] In this embodiment, the daily usage habit data of the above-mentioned users for the POS terminal are analyzed to obtain the usage time period distribution (usage time period range) corresponding to the first usage level, the usage time period distribution of the second usage level, and the usage time period distribution of the third usage level.

[0074] In the specific analysis of usage habits, model training can be used for analysis. Specifically, based on the input user's daily usage habit data, the distribution of the user's use time period at different usage levels of the POS terminal is generated. The user's usage frequency is reflected based on this distribution. The model can be further trained based on the usage habits collected every day to ensure that the output results are more accurate. The algorithm used in the model can be a time series analysis algorithm, a cluster analysis algorithm, or a classification algorithm.

[0075] The specific model training process will be described in the following Figure 4 The embodiments are described in detail.

[0076] 103. When the POS terminal enters the dormant state, based on the distribution of usage time periods under each usage level, determine a target usage level corresponding to the usage time period at the current time.

[0077] After the POS terminal completes the user operation, the terminal will enter the sleep state during the idle period, or according to the preset time conditions (such as no user interaction for a long time, reaching the set sleep time, etc.);

[0078] In the sleep state, based on the current time node, determine the usage time period distribution corresponding to the time node, and then further determine the target usage level corresponding to the current time. For example, according to the usage habit data analysis, the usage time period distribution corresponding to the first usage level is 11:00-12:30, and the current time when the POS terminal enters the sleep state is 11:20, which means that the target usage level corresponding to the current time is the first usage level.

[0079] 104. During the usage time period at the current time, the POS terminal is operated in a power saving mode corresponding to the target usage level.

[0080] Each usage level corresponds to a power saving mode. In this embodiment, according to the target usage level determined in step 103, the power saving mode corresponding to the target usage level is determined to operate the POS terminal. According to the usage habit data analysis, the usage time period corresponding to the first usage level is 11:00-12:30, and the current time when the POS terminal enters the sleep state is 11:20, which means that the target usage level corresponding to the current time is the first usage level, and the POS terminal is operated according to the power saving mode corresponding to the first usage level. The specific correspondence between the usage level and the power saving mode is as follows: Figure 3 Description of embodiments.

[0081] In addition, as time goes by, the current time changes, the corresponding usage level will also change accordingly, and therefore the corresponding power saving mode will also change. For example, the first usage level is 11:00-12:30, the second usage level is 12:30-15:00, and the current time is 12:20. At this time, the POS terminal is operated in the power saving mode corresponding to the first usage level. After 20 minutes (while remaining in sleep mode), the current time is 12:40. At this time, the POS terminal is in the second usage level and is operated in the power saving mode corresponding to the second usage level.

[0082] In this embodiment, the usage habit data generated by the user operating the POS terminal is obtained, and then the usage habit data is analyzed to obtain the usage time period distribution of the POS terminal under each pre-set usage level. Different usage levels correspond to different power saving modes. When the POS terminal enters the sleep mode, the target usage level corresponding to the usage time period at the current time is determined based on the usage time period distribution under each usage level. Finally, the POS terminal is operated according to the power saving mode corresponding to the target usage level within the usage time period at the current time. In this way, the POS terminal can be operated in sleep mode plus different power saving modes according to different usage time periods according to the user's usage habits. Different power saving modes have different capabilities of reducing power consumption, thereby reducing the power consumption of the POS terminal during daily use and reducing power consumption.

[0083] In addition, in the present application, the POS terminal can be operated in a corresponding power saving mode according to the user's usage habits, especially during periods of infrequent use and non-use. The operation of the modem is further restricted on the basis of the basic power saving mode, which further reduces power consumption and improves the user experience.

[0084] See also Figure 2The present application provides another embodiment of a method for operating a POS terminal to save power, the embodiment comprising:

[0085] 201. Obtain an operation log generated when the POS terminal responds to a user operation.

[0086] 202. Determine usage habit data generated during user operations based on the operation log.

[0087] The operation log includes at least the wake-up and shutdown time of the POS terminal screen, the time when the application in the POS terminal initiates the network connection, etc. The wake-up and shutdown time of the screen reflects the frequency and duration of the user's use of the screen, while the network connection time reveals the active period of data exchange; in addition, it can also include the number of times and frequency of user touches on the screen and buttons during the screen wake-up phase, and the number of touches is also used to feedback the user's activeness in using the POS terminal.

[0088] After the operation log is obtained, the user's usage habit data is determined according to the operation log.

[0089] To ensure the accuracy of the usage habit data, when obtaining the operation logs, you can select operation logs of more days for statistical analysis, such as 10 days, 20 days, etc.

[0090] In addition, there are certain differences in the degree of use of POS terminals on weekdays, weekends and holidays. Therefore, the usage habits on weekdays, weekends, holidays, etc. can be determined separately to make the usage habits more in line with the user's actual usage.

[0091] 203. Analyze the usage habit data to obtain the usage time distribution of the POS terminal under each pre-set usage level, and different usage levels correspond to different power saving modes.

[0092] 204. When the POS terminal enters the dormant state, based on the distribution of usage time periods under each usage level, determine a target usage level corresponding to the usage time period at the current time.

[0093] 205. During the usage time period at the current time, operate the POS terminal in a power saving mode corresponding to the target usage level.

[0094] Steps 203 to 205 in this embodiment are similar to those in the previous embodiment. Figure 1 Steps 102 to 104 in the embodiment are similar, and the aforementioned steps have been described in detail and will not be repeated here.

[0095] 206. Real-time monitoring of whether there is a user wake-up action on the POS terminal. If yes, the POS terminal is woken up and the currently running power saving mode is terminated.

[0096] POS terminals are usually equipped with a variety of sensors, which determine whether there is a user wake-up action through feedback from sensors, such as touch screen sensors, physical button sensors, etc. These sensors monitor in real time whether there are user interaction signals. During the sleep process, the touch screen is continuously monitored to see if it is touched and whether a button is pressed. If a button is pressed, it means there is a wake-up action.

[0097] In addition, in addition to internal sensors, wake-up actions can be detected through external signals, such as signals sent by connected peripherals (such as scanners, card readers, etc.). When the external device detects user operations, it will send a corresponding wake-up signal to the POS terminal.

[0098] After the POS terminal is awakened, the sleep state is turned off, the currently running power saving mode is turned off, and the normal working state of the screen display, network connection, CPU and other hardware devices is restored.

[0099] During the wake-up process, the POS terminal remains responsive to user operations so that it can be processed quickly when the user needs it.

[0100] 207. Determine a next target usage level corresponding to the next usage time period within the usage time period of the current time period, and operate the POS terminal according to a power saving mode corresponding to the next target usage level.

[0101] In the dormant state of the POS terminal, the power saving mode corresponding to the usage period at the current time is operated. If the dormant state continues, the current time will change as time goes by. Therefore, in order to connect the different power saving modes, when the current time moves to the next usage period, the next target usage level corresponding to the next usage period is determined, and the POS terminal is operated according to the power saving mode corresponding to the next target usage level. For example, the next usage period of usage period A is B. As time goes by, the usage period at the current time changes from A to B. At this time, the usage level corresponding to the usage period B is determined, and the POS terminal is operated according to this usage level.

[0102] In addition, in one feasible method, when the POS terminal is in the third usage level (non-use period), the memory is cleaned up according to preset rules. Non-use periods, such as after closing the store at night and during lunch break, can also be set by the administrator according to actual conditions. In actual use, there may be special circumstances (such as temporary overtime, holidays, etc.). A memory usage threshold can be set, and when the memory usage exceeds this threshold, the cleanup operation is automatically triggered. The cleaned memory objects include temporary files, cached data, and application instances that are no longer used. These objects occupy a large amount of memory resources and have no direct impact on current business operations. Cleanup strategies, such as giving priority to cleaning up the longest unused data and cleaning up by size. These strategies are designed to ensure that the impact on current business operations is minimized during the cleanup process.

[0103] See also Figure 3 , the descriptions of each usage level and each power saving mode are as follows:

[0104] 301. Analyze the usage habit data to obtain usage time period distributions corresponding to a first usage level representing frequent use, a second usage level representing infrequent use, and a third usage level representing no use.

[0105] The usage levels include the first usage level, the second usage level and the third usage level, which correspond to the frequently used time periods, the infrequently used time periods and the non-used time periods respectively. For example, the POS terminal is divided into 24 hours a day, the frequently used time periods (first usage level) are 8:00-9:00, 11:00-13:00, 17:00-19:30, the infrequently used time periods (second usage level) are 9:00-11:00, 13:00-17:00, 19:30-21:00, and the non-used time period (third usage level) is 21:00-8:00 of the next day.

[0106] 302. When the target usage level is the first usage level, the POS terminal is operated in a basic power saving mode.

[0107] When the POS terminal is in the first usage level (frequent use period), the POS terminal is operated in basic power saving mode. The power saving mode of the POS terminal includes reducing screen brightness (or turning off the screen), closing background applications, reducing unnecessary network connections (disconnecting two of the Bluetooth connection, wireless connection and mobile data connection, and retaining only one connection), etc.

[0108] 303. When the target usage level is the second usage level, the POS terminal is operated in a basic power saving mode, and a data reporting function of a modem in the POS terminal is disabled.

[0109] When the POS terminal is in the second usage level (not often used period), the POS terminal is operated in the basic power saving mode and the data reporting function of the modem in the POS terminal is turned off; the modem is called a modem. In this mode, the function of the modem to report the received downlink data to the AP is turned off to reduce the network activity and energy consumption caused by the regular data reporting. In addition, it is necessary to ensure that the POS terminal can still remain in standby mode after turning off the data reporting function so that it can quickly resume working state when needed. This mode further reduces power consumption based on mode 1.

[0110] 304. When the target usage level is the third usage level, the POS terminal is in deep sleep and the timed wake-up function of the modem is disabled.

[0111] When the POS terminal is in the third usage level (not in use period), the POS terminal is in deep sleep mode and the timed wake-up function of the modem is turned off. In this mode, the POS terminal is placed in deep sleep mode, and other system components except necessary hardware (such as clock module) are turned off, including the screen, CPU, memory, etc., and the timed wake-up function of the modem is completely turned off to ensure that the modem will not be awakened for data communication during sleep. This mode further reduces power consumption based on mode 2.

[0112] See also Figure 4 , the process of model training based on usage habits is described as follows:

[0113] 401. Extract features from the usage habit data, where the features include a timestamp, frequency, and duration of use of the POS terminal by the user.

[0114] In this embodiment, key features are extracted from the user's usage habit data (operation information extracted from the POS terminal log) for subsequent model training. The timestamp indicates the specific time of each use of the POS terminal, including the start time and the end time, which helps to analyze the user's usage time preference; the frequency indicates the number of times the user uses the POS terminal within a certain period of time (such as a day or a week), reflecting the user's activity level; the duration indicates the duration of each use of the POS terminal, which can be used to understand the user's usage depth or the complexity of business processing.

[0115] 402. Input the features into a preset model for training to obtain a target model, where the target model is used to train and output the distribution of usage time periods for each usage level based on usage habit data.

[0116] Before input, the features obtained in step 301 are cleaned to remove noise and outliers to ensure the accuracy and reliability of the data. The data is divided into a training set, a validation set, and a test set for model training, tuning, and evaluation.

[0117] Input the feature data in the training set into the preset model for training. The training process is as follows:

[0118] Divide the regions according to historical standard data, extract corresponding timestamps, frequencies and duration data for different regions, and match them one by one; set initial weight values ​​for the preset model; obtain the features of the usage habits to be trained, and randomly extract N groups of timestamps, frequencies and duration data; use the timestamps in the features of the usage habits as the reference parameters, and obtain other corresponding features in the standard data; compare other corresponding features in the standard data with the frequency and duration data to be trained, and generate weight adjustment values; adjust the initial weight values ​​according to the weight adjustment values.

[0119] Specifically, according to statistical laws, a day is divided into multiple usage levels (such as morning peak and evening peak corresponding to the frequently used level, lunch break corresponding to the infrequently used level, and night corresponding to the non-used level, etc.), and the usage data (operation information) of the POS terminals in each time level are collected. For the data in each time period, the corresponding timestamp, frequency and duration data are extracted and sorted to ensure the accuracy and consistency of the data; then, an initial value is assigned to each parameter in the preset model (such as the weight and bias of the neural network). The initial value is usually randomly generated, but can also be adjusted based on prior experience knowledge. N groups of timestamp, frequency and duration data are randomly extracted from the preprocessed data as training samples. Based on the timestamp, the corresponding frequency and duration data are found from the standard data set to ensure that each feature in the training sample has a corresponding standard value.

[0120] Through iterative training, the model parameters are continuously adjusted so that the model can accurately predict the user's usage time period: the frequency and duration data in the training sample are compared with the corresponding values ​​in the standard data, and the difference or error is calculated; according to the size and direction of the error, the corresponding weight adjustment value is generated, and it is implemented through optimization methods such as the back propagation algorithm. The weight adjustment value is applied to the initial weight value of the model, the model parameters are updated, and the above process is repeated until the performance of the model on the validation set reaches the preset stop condition (such as the error is less than a certain threshold, the number of iterations reaches the upper limit, etc.).

[0121] In addition, an incremental learning process is provided to update the model using the actual daily operation information of the POS terminal.

[0122] The model can also be retrained regularly using the latest operating data of the POS terminal to ensure that the model can adapt to new usage habits.

[0123] Finally, the model can be further adjusted and optimized based on actual usage and user feedback.

[0124] See also Figure 5 The present application provides an embodiment of a POS terminal, the embodiment comprising:

[0125] An acquisition unit 501 is used to acquire usage habit data generated by a user operating a POS terminal;

[0126] The analysis unit 502 is used to analyze the usage habit data to obtain the usage time distribution of the POS terminal under each pre-set usage level, and different usage levels correspond to different power saving modes;

[0127] The first determining unit 503 is used to determine the target usage level corresponding to the usage time period at the current time based on the distribution of usage time periods under each usage level when the POS terminal enters the dormant state;

[0128] The operation unit 504 is configured to operate the POS terminal according to the power saving mode corresponding to the target usage level during the usage time period of the current time.

[0129] In this embodiment, the usage habit data generated when the user operates the POS terminal is first obtained by the acquisition unit 501, and then the analysis unit 502 analyzes the usage habit data to obtain the distribution of the usage time periods of the POS terminal under each pre-set usage level, and different usage levels correspond to different power saving modes. Then, when the POS terminal enters the sleep state, the first determination unit 503 determines the target usage level corresponding to the usage time period at the current time based on the distribution of the usage time periods at each usage level. Finally, within the usage time period at the current time, the operation unit 504 operates the POS terminal according to the power saving mode corresponding to the target usage level, wherein different usage levels correspond to different power saving modes, and different power saving modes have different capabilities of reducing power consumption, thereby reducing the power consumption of the POS terminal during daily use, reducing power consumption, and improving user experience.

[0130] See also Figure 6 The present application provides another embodiment of a POS terminal, the embodiment comprising:

[0131] An acquisition unit 601 is used to acquire usage habit data generated by a user operating a POS terminal;

[0132] The acquisition unit 601 includes:

[0133] The acquisition module 6011 is used to acquire the operation log generated when the POS terminal responds to the user operation;

[0134] Determination module 6012, used to determine the usage habit data generated by the user operation according to the operation log;

[0135] The analysis unit 602 is used to analyze the usage habit data to obtain the usage time distribution of the POS terminal under each pre-set usage level, and different usage levels correspond to different power saving modes;

[0136] The analysis unit 602 includes:

[0137] An analysis module 6021 is used to analyze the usage habit data to obtain the usage time period distribution corresponding to the first usage level representing frequent use, the second usage level representing infrequent use, and the third usage level representing no use;

[0138] Extraction module 6022, used to extract features from the usage habit data, the features including the timestamp, frequency and duration of the user's use of the POS terminal;

[0139] The training module 6023 is used to input the features into the preset model for training to obtain a target model, and the target model is used to train and output the distribution of usage time periods of each usage level according to the usage habit data;

[0140] The first determining unit 603 is used to determine the target usage level corresponding to the usage time period at the current time based on the distribution of usage time periods under each usage level when the POS terminal enters the dormant state;

[0141] An operating unit 604 is used to operate the POS terminal in a power saving mode corresponding to the target usage level during the usage time period of the current time;

[0142] The first operation module 6041 is used to operate the POS terminal according to the basic power saving mode when the target usage level is the first usage level;

[0143] The second operation module 6042 is used to operate the POS terminal according to the basic power saving mode and disable the data reporting function of the modem in the POS terminal when the target usage level is the second usage level;

[0144] The third operation module 6043 is used for, when the target usage level is the third usage level, putting the POS terminal into deep sleep and turning off the timed wake-up function of the modem;

[0145] The monitoring unit 605 is used to monitor in real time whether there is a user's wake-up action on the POS terminal. If there is, the POS terminal is woken up and the current power saving mode is terminated;

[0146] The second determining unit 606 determines a next target usage level corresponding to the next usage time period in the next usage time period of the current time period, and operates the POS terminal according to the power saving mode corresponding to the next target usage level.

[0147] See also Figure 7 The present application also provides a POS terminal, including:

[0148] Processor 701, memory 702, input and output unit 703, bus 704;

[0149] The processor 701 is connected to the memory 702, the input and output unit 703 and the bus 704;

[0150] The memory 702 stores a program, and the processor 701 calls the program to execute any of the above methods.

[0151] The present application also relates to a computer-readable storage medium on which a program is stored, wherein when the program is run on a computer, the computer is caused to execute any of the above methods.

[0152] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0153] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0154] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0155] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A method for power saving operation of a POS terminal, characterized in that: include: Obtain usage habit data generated by users operating POS terminals; Analyze the usage habit data to obtain the usage time distribution of the POS terminal under each pre-set usage level, where different usage levels correspond to different power saving modes; When the POS terminal enters a dormant state, based on the distribution of usage time periods under the various usage levels, a target usage level corresponding to the usage time period at the current time is determined; During the usage time period of the current time, the POS terminal is operated in a power saving mode corresponding to the target usage level.

2. The operating method according to claim 1, characterized in that: The analyzing the usage habit data to obtain the usage time distribution of the POS terminal at each preset usage level includes: The usage habit data is analyzed to obtain usage time period distributions corresponding to a first usage level representing frequent use, a second usage level representing infrequent use, and a third usage level representing no use.

3. The operating method according to claim 2, characterized in that: The operating the POS terminal in a power saving mode corresponding to the target usage level includes: When the target usage level is the first usage level, operating the POS terminal in a basic power saving mode; When the target usage level is the second usage level, the POS terminal is operated in a basic power saving mode, and a data reporting function of a modem in the POS terminal is disabled; When the target usage level is the third usage level, the POS terminal is put into deep sleep, and the timed wake-up function of the modem is disabled.

4. The operating method according to any one of claims 1 to 3, characterized in that: The obtaining of the usage habit data generated by the user operating the POS terminal includes: Obtaining an operation log generated when the POS terminal responds to the user operation; The usage habit data generated by the user operation is determined according to the operation log.

5. The operating method according to any one of claims 1 to 3, characterized in that: The analyzing the usage habit data includes: Extracting features from the usage habit data, the features including timestamp, frequency, and duration of use of the POS terminal by the user; The features are input into a preset model for training to obtain a target model, and the target model is used to train and output the distribution of usage time periods for each usage level according to the usage habit data.

6. The operating method according to any one of claims 1 to 3, characterized in that: After operating the POS terminal in the power saving mode corresponding to the target usage level, the operating method further includes: Real-time monitoring is performed to determine whether there is a user's wake-up action on the POS terminal. If so, the POS terminal is woken up and the currently running power saving mode is terminated.

7. The operating method according to any one of claims 1 to 3, characterized in that: After operating the POS terminal in the power saving mode corresponding to the target usage level, the operating method further includes: In a usage time period next to the usage time period at the current time, a next target usage level corresponding to the next usage time period is determined, and the POS terminal is operated in a power saving mode corresponding to the next target usage level.

8. A POS terminal, characterized in that: include: An acquisition unit, used to acquire usage habit data generated by a user operating a POS terminal; An analysis unit, configured to analyze the usage habit data to obtain the usage time distribution of the POS terminal at each preset usage level, wherein different usage levels correspond to different power saving modes; A first determining unit, configured to determine, when the POS terminal enters a dormant state, a target usage level corresponding to a usage time period at a current time based on a distribution of usage time periods under each usage level; An operating unit is used to operate the POS terminal according to a power saving mode corresponding to the target usage level during a usage time period of the current time.

9. A POS terminal, characterized in that: include: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the operating method according to any one of claims 1 to 7. 10 . A computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, performs the operating method according to claim 1 .