CN112904989B - Battery electric quantity reminding method and device - Google Patents

Battery electric quantity reminding method and device Download PDF

Info

Publication number
CN112904989B
CN112904989B CN202110355496.4A CN202110355496A CN112904989B CN 112904989 B CN112904989 B CN 112904989B CN 202110355496 A CN202110355496 A CN 202110355496A CN 112904989 B CN112904989 B CN 112904989B
Authority
CN
China
Prior art keywords
battery
riding
user terminal
electric quantity
screen brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110355496.4A
Other languages
Chinese (zh)
Other versions
CN112904989A (en
Inventor
杨鹏一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210346622.4A priority Critical patent/CN114779914B/en
Priority to CN202110355496.4A priority patent/CN112904989B/en
Publication of CN112904989A publication Critical patent/CN112904989A/en
Application granted granted Critical
Publication of CN112904989B publication Critical patent/CN112904989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3209Monitoring remote activity, e.g. over telephone lines or network connections
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Abstract

The embodiment of the specification provides a method and a device for reminding battery electric quantity, wherein the method for reminding the battery electric quantity comprises the following steps: acquiring a battery electric quantity value and a battery health degree of a user terminal according to a riding code access request submitted by the user terminal; judging whether the battery electric quantity value is lower than an electric quantity threshold value or not; if yes, determining that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value; and calculating the available battery time of the user terminal based on the battery electric quantity value and the battery health degree, and generating a battery electric quantity prompt to be issued to the user terminal.

Description

Battery electric quantity reminding method and device
Technical Field
The present document relates to the field of data processing technologies, and in particular, to a method and an apparatus for reminding battery power.
Background
With the rapid development of communication technology, mobile terminals such as smart phones and tablet computers have become an internet interaction platform with complete functions, and users can not only use the internet interaction platform to talk, but also take pictures, interact with instant messages, play music and browse webpages.
Disclosure of Invention
One or more embodiments of the present specification provide a battery level reminding method. The battery electric quantity reminding method comprises the following steps: and acquiring the battery electric quantity value and the battery health degree of the user terminal according to the riding code access request submitted by the user terminal. Judging whether the battery electric quantity value is lower than an electric quantity threshold value or not; and if so, determining that the screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value. And calculating the available battery time of the user terminal based on the battery electric quantity value and the battery health degree, and generating a battery electric quantity prompt to be issued to the user terminal.
One or more embodiments of the present specification provide another battery power level reminding apparatus, including: and generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in the application program. And adjusting the screen brightness of the bus code page according to the screen brightness adjustment strategy synchronized by the server. And receiving a battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page.
One or more embodiments of the present specification provide a battery power level reminding apparatus, including: the battery information acquisition module is configured to acquire a battery electric quantity value and a battery health degree of the user terminal according to a riding code access request submitted by the user terminal. A battery power determination module configured to determine whether the battery power value is lower than a power threshold; if yes, the screen brightness adjustment determining module is operated. The screen brightness adjustment determining module is configured to determine that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal for execution based on the battery power value. And the battery available time length calculation module is configured to calculate the battery available time length of the user terminal based on the battery electric quantity value and the battery health degree, and generate a battery electric quantity prompt to be issued to the user terminal.
One or more embodiments of the present specification provide another battery power level reminding apparatus, including: and the access request submitting module is configured to generate a riding code access request and submit the riding code access request to the server according to a touch instruction of a user for the riding code access control in the application program. And the screen brightness adjusting module is configured to adjust the screen brightness of the bus code page according to the screen brightness adjusting strategy synchronized by the server. And the electric quantity reminding display module is configured to receive the battery electric quantity reminding sent by the server and display the battery electric quantity reminding on the riding code page.
One or more embodiments of the present specification provide a battery level notification apparatus, including: and acquiring the battery electric quantity value and the battery health degree of the user terminal according to the riding code access request submitted by the user terminal. Judging whether the battery electric quantity value is lower than an electric quantity threshold value or not; and if so, determining that the screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value. And calculating the available battery time of the user terminal based on the battery electric quantity value and the battery health degree, and generating a battery electric quantity prompt to be issued to the user terminal.
One or more embodiments of the present specification provide another battery level notification apparatus, including: and generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in the application program. And adjusting the screen brightness of the bus code page according to the screen brightness adjustment strategy synchronized by the server. And receiving a battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following: and acquiring the battery electric quantity value and the battery health degree of the user terminal according to the riding code access request submitted by the user terminal. Judging whether the battery electric quantity value is lower than an electric quantity threshold value or not; and if so, determining that the screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value. And calculating the available battery time of the user terminal based on the battery electric quantity value and the battery health degree, and generating a battery electric quantity prompt to be issued to the user terminal.
One or more embodiments of the present specification provide another storage medium storing computer-executable instructions that, when executed, implement the following: and generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in the application program. And adjusting the screen brightness of the bus code page according to the screen brightness adjustment strategy synchronized by the server. And receiving a battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page.
Drawings
In order to more clearly illustrate one or more embodiments or technical solutions in the prior art in the present specification, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise;
fig. 1 is a flowchart illustrating a battery level reminding method according to one or more embodiments of the present disclosure;
fig. 2 is a processing flow diagram of a battery power reminding method applied to a riding scenario of a user according to one or more embodiments of the present disclosure;
fig. 3 is a flowchart of another battery level reminding method according to one or more embodiments of the present disclosure;
fig. 4 is a processing flow diagram of another battery power reminding method applied to a riding scenario of a user according to one or more embodiments of the present disclosure;
fig. 5 is a schematic diagram of a battery level reminder according to one or more embodiments of the present disclosure;
fig. 6 is a schematic diagram of another battery level reminder apparatus according to one or more embodiments of the present disclosure;
fig. 7 is a schematic structural diagram of a battery level reminding device according to one or more embodiments of the present disclosure;
fig. 8 is a schematic structural diagram of another battery level reminding device according to one or more embodiments of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
The embodiment of the battery electric quantity reminding method provided by the specification comprises the following steps:
referring to fig. 1, which shows a processing flow chart of a battery power reminding method provided in this embodiment, and referring to fig. 2, which shows a processing flow chart of a battery power reminding method applied to a riding scene of a user provided in this embodiment.
Referring to fig. 1, the method for reminding battery power according to the present embodiment specifically includes steps S102 to S108.
And step S102, acquiring the battery electric quantity value and the battery health degree of the user terminal according to the bus code access request submitted by the user terminal.
In the method for reminding the battery power according to the embodiment, in the process that a user accesses a riding code through a user terminal, under the condition that the battery power value of the user terminal is lower than a power threshold, the screen brightness of the user terminal when the riding code is displayed is calculated from the battery power value, and a screen brightness adjustment strategy corresponding to the screen brightness is determined to be executed by the user terminal, so that the power consumption of the user terminal for displaying the riding code is reduced, and the available time of the user terminal under the current battery power value is prolonged; furthermore, the available time of the user terminal is predicted based on the battery electric quantity value of the user terminal and the battery health degree, and the battery electric quantity reminding with the available time is issued to the user terminal, so that the user is reminded of reasonably using the user terminal under the condition that the battery electric quantity value is lower, the situation that the battery electric quantity of the user terminal cannot be used for getting off or going out of the station by swiping a code due to the fact that the battery electric quantity of the user terminal is exhausted in the riding process is avoided, therefore, the guarantee is provided for the traveling of the user through the screen brightness adjustment and the battery electric quantity reminding of the user terminal, and the traveling experience of the user is improved.
The battery power reminding method provided in this embodiment is applied to a server, and is mutually matched with the battery power reminding method applied to a user terminal provided below in an execution process, so that please refer to corresponding contents of the battery power reminding method applied to the user terminal provided below in this embodiment.
The bus code in this embodiment is used as a pass code for taking public transportation, such as a two-dimensional code for taking a bus and a two-dimensional code for taking a subway. In practice, in the process of taking a public transport vehicle, a user displays a riding code through a user terminal, a code scanning device (such as a two-dimensional code scanning machine) configured for a bus scans the user terminal to display the riding code so as to realize swiping the code to get on the bus, or a code scanning device configured for a subway gate scans the user terminal to display the riding code so as to realize swiping the code to get on the bus.
The riding code access request refers to an access request for accessing a riding code according to a command of a user before the user terminal of the user displays the riding code, and specifically, the user terminal generates the riding code access request according to a touch command of the user for a riding code access control in third-party application and submits the riding code access request to a server. For example, after the user clicks an access control of a bus taking code service in a payment application installed in the user terminal, the user terminal generates a bus taking code access request based on a click instruction of the access control.
After generating the riding code access request, the user terminal sends the riding code access request to the server, and displays the riding code returned by the server for code-swiping riding, or updates a pre-stored riding code by using a riding code update algorithm, and displays the updated riding code for code-swiping riding.
The battery power value of the ue in this embodiment refers to a percentage value of the remaining battery power of the ue. After the battery of the user terminal is actually used, the electric quantity value which can be actually stored and used by the battery is lost, the factory-calibrated electric quantity value cannot be reached, and the ratio of the actual electric quantity value to the factory-calibrated electric quantity value is called as the battery health degree of the user terminal. In specific implementation, the battery electric quantity value and the battery health degree of the user terminal are obtained in the process of accessing the riding code by the user, specifically, the battery electric quantity value and the battery health degree of the user terminal are collected after a touch instruction of the user for the riding code access control is detected, the collected battery electric quantity value and the collected battery health degree can be submitted to a server through the riding code access request, and can also be uploaded to the server by the user terminal before or after the riding code access request is submitted.
In practical application, buses of subways and part of bus lines adopt a sectional pricing mode to carry out pricing of riding expenses, a user needs to carry out code swiping operation twice when the subways enter and exit in the process of riding the subways and the part of buses, and also needs to carry out code swiping operation twice when the part of buses are riding, and once the electric quantity of a battery of a user terminal used for swiping codes is exhausted, the user is likely to be incapable of swiping codes to exit or swiping codes to get off, inconvenience is brought to the user, and in order to avoid trouble caused by outgoing of the user after the electric quantity of the battery of the user terminal is exhausted in a sectional pricing scene, whether the pricing type of the riding line to which a code scanning device belongs is sectional pricing or not is judged in an optional implementation mode provided by the embodiment; if yes, executing the following step S104; if not, the processing is not required.
The pricing type of the riding route to which the code scanning device belongs can be determined according to the segmented pricing identifier contained in the event information of the riding code scanning event generated after code scanning or according to the route identifier of the riding route recorded in the event information after a user scans the codes by utilizing the riding codes. Besides, the pricing type of the taking route which the user is going to take can be predicted according to the historical taking record of the user, or the pricing type can be determined by matching the taking route which the user is going to take from the current position of the user.
And step S104, judging whether the battery electric quantity value is lower than an electric quantity threshold value.
In specific implementation, judging whether the electric quantity value of the battery is lower than an electric quantity threshold value;
if yes, executing the following steps S106 and S108;
if not, the battery power of the user terminal can meet the normal use requirement of the user, and the user terminal does not need to be processed.
And step S106, determining the screen brightness adjustment strategy of the user terminal to be synchronized to the user terminal to be executed based on the battery electric quantity value.
In an optional implementation manner provided by this embodiment, the determining a screen brightness adjustment policy of the user terminal based on the battery power value specifically includes:
calculating a target screen brightness value of the user terminal for displaying the riding code by using a screen brightness algorithm by taking the battery electric quantity value as calculation input;
and determining the screen brightness adjustment strategy based on the screen brightness value of the user terminal and the target screen brightness value.
For example, the battery power value of the user terminal is input into a screen brightness algorithm Z ═ h (Q) for calculation, and a target screen brightness value corresponding to the current battery power value is obtained, where Z is the target screen brightness value, Q is the battery power value, and parameters related to the algorithm are pre-configured;
if the calculated target screen brightness value Z is less than the current screen brightness value Z0 of the user terminal, determining the screen brightness adjustment strategy to adjust the screen brightness value of the user terminal from the current screen brightness value Z0 to the target screen brightness value Z.
In practical application, in the process of scanning the code by a bus, if the screen brightness of the user terminal is too low, the success rate of scanning the code by the bus may be reduced, and the user needs to perform multiple attempts to scan the code by the bus, optionally, in order to avoid the influence of the too low screen brightness of the user terminal on the code scanning by the bus, the target screen brightness value is not lower than an effective code scanning brightness value of a code scanning device for effectively scanning the code scanning image displayed by the user terminal.
The effective code scanning brightness value refers to a screen brightness value corresponding to the case that the code scanning success rate of the user terminal is greater than a preset success rate threshold, for example, the screen brightness value corresponding to the case that the code scanning success rate is greater than or equal to 90% when the vehicle is taken, and the effective code scanning brightness value can be preset according to historical experience data.
In this embodiment, after determining the screen brightness adjustment policy of the user terminal, the server synchronizes the screen brightness adjustment policy to the user terminal, so that the user terminal performs screen brightness adjustment according to the screen brightness adjustment policy. Optionally, after receiving the synchronized screen brightness adjustment strategy, the user terminal adjusts the screen brightness when the riding code page is displayed according to the screen brightness adjustment strategy.
According to the above example, after obtaining the screen brightness adjustment strategy synchronized by the server (adjusting the screen brightness value of the user terminal from the current screen brightness value Z0 to the target screen brightness value Z), the user terminal adjusts the screen brightness of the user terminal from the current screen brightness value Z0 to the target screen brightness value Z according to the screen brightness adjustment strategy, and displays the riding code based on the adjusted target screen brightness value Z.
And step S108, calculating the available battery time of the user terminal based on the battery electric quantity value and the battery health degree, and generating a battery electric quantity prompt to be issued to the user terminal.
In an optional implementation manner provided in this embodiment, the battery available time of the user terminal is calculated based on the battery power value and the battery health degree, and specifically, the battery available time of the user terminal is output by inputting the battery power value and the battery health degree into a battery time algorithm for prediction.
For example, the battery electric quantity value of the user terminal is Q, the battery health degree of the user terminal is P, the battery electric quantity value Q and the battery health degree P are input into a battery duration algorithm T ═ K (Q, P) for prediction, and the battery available duration T of the user terminal is predicted, wherein parameters related to the algorithm are configured in advance.
The embodiment issues the battery power reminder to the user terminal, and aims to remind the user of the service life of the battery power of the user terminal held by the user currently, wherein the service life of the battery power reminder is selectable, the battery power reminder carries a keyword corresponding to the service life of the battery, the riding code page of the user terminal displays the battery power reminder, and the user can learn the service life of the battery power of the user terminal through the battery power reminder in the process of sweeping the code by riding displayed on the riding code page, so that the user can reasonably use the user terminal, avoid the situation that the battery power of the user terminal is exhausted in the riding process to cause the situation that the user terminal cannot get off the bus by swiping the code or get off the bus by swiping the code, and provide guarantee for the riding trip of the user.
In addition, in order to further reduce the occurrence probability of the situation that the battery power of the user terminal is exhausted during the user taking a car, so that the user terminal cannot get off the car in a code swiping manner or get off the station in a code swiping manner, in an optional implementation manner provided by this embodiment, the battery power reminder is configured as a triggerable message, and the user may further input a corresponding destination after the message is triggered, so as to adjust the screen brightness of the user terminal during the user taking a car, specifically including:
receiving a trigger instruction and destination information of the battery power reminding submitted by the user terminal;
predicting the riding time of a user based on the destination information and the riding code scanning event;
and if the available battery duration is less than the riding duration of the user, issuing a global brightness adjustment instruction to the user terminal so that the user terminal adjusts the screen brightness based on the global brightness adjustment instruction. The global brightness adjusting instruction refers to an instruction for adjusting the screen brightness of the user terminal within a time range from a current time point of a user to the time point when the user swipes a code to exit or before the user swipes a code to get off.
In another optional implementation manner provided by this embodiment, to further reduce the occurrence probability of the situation that the battery power of the user terminal is exhausted during the user taking a car and the user terminal cannot pick up the car or get out of the car with the car, the taking position of the user is determined from a car code scanning event of the user taking a car, the getting-off position of the user is predicted from a record based on historical taking a car, the taking time of the user at this time is predicted on the basis, and the taking time is used as a basis for adjusting the screen brightness of the user terminal during the user taking a car, which specifically includes:
predicting the riding time of a user according to the riding code scanning event and the historical riding record;
if the available battery duration is less than the user riding duration, calculating a global screen brightness value of the user terminal according to the user riding duration, the battery electric quantity value and the battery health degree, and issuing the global screen brightness value to the user terminal.
The following further describes the battery power reminding method provided in this embodiment by taking an application of the battery power reminding method provided in this embodiment in a riding scene of a user as an example, and referring to fig. 2, the battery power reminding method applied in the riding scene of the user specifically includes steps S202 to S212.
Step S202, according to the bus code access request submitted by the user terminal, the battery electric quantity value and the battery health degree of the user terminal are obtained.
Step S204, judging whether the pricing type of the riding route to which the code scanning equipment belongs is sectional pricing or not;
if yes, go to step S206;
if not, the processing is not required.
Step S206, judging whether the battery electric quantity value is lower than an electric quantity threshold value;
if yes, go to step S208;
if not, the processing is not required.
And S208, calculating the brightness value of a target screen for displaying the riding code by the user terminal based on the battery electric quantity value.
Step S210, determining a screen brightness adjustment strategy based on the screen brightness value of the user terminal and the target screen brightness value, and synchronizing to the user terminal for execution.
Step S212, calculating the battery available time of the user terminal based on the battery electric quantity value and the battery health degree, and generating a battery electric quantity prompt to be issued to the user terminal.
And then, receiving a trigger instruction of battery power reminding and destination information submitted by a user terminal, predicting the riding time of the user based on the destination information and a riding code scanning event, or predicting the riding time of the user according to the riding code scanning event and historical riding records, and issuing a global brightness adjusting instruction to the user terminal if the available time of the battery is less than the riding time of the user, so that the user terminal can adjust the screen brightness based on the global brightness adjusting instruction.
Another embodiment of a method for reminding battery power provided in this specification:
referring to fig. 3, which shows a processing flow chart of a battery power reminding method provided in this embodiment, and referring to fig. 4, which shows a processing flow chart of a battery power reminding method applied to a riding scene of a user provided in this embodiment.
Referring to fig. 3, the method for reminding battery power according to the present embodiment specifically includes steps S302 to S306.
And step S302, generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in the application program.
The battery power reminding method provided by this embodiment is applied to a user terminal, and is mutually matched with the battery power reminding method applied to the server in the execution process, so that the corresponding content of the battery power reminding method applied to the server provided by this embodiment is referred to for reading.
The bus code in this embodiment is used as a pass code for taking public transportation, such as a two-dimensional code for taking a bus and a two-dimensional code for taking a subway. In practice, in the process of taking a public transport vehicle, a user displays a riding code through a user terminal, a code scanning device (such as a two-dimensional code scanning machine) configured for a bus scans the user terminal to display the riding code so as to realize swiping the code to get on the bus, or a code scanning device configured for a subway gate scans the user terminal to display the riding code so as to realize swiping the code to get on the bus.
The riding code access request refers to an access request for accessing a riding code according to a command of a user before the user terminal of the user displays the riding code, and specifically, the user terminal generates the riding code access request according to a touch command of the user for a riding code access control in third-party application and submits the riding code access request to a server. For example, after the user clicks an access control of a bus taking code service in a payment application installed in the user terminal, the user terminal generates a bus taking code access request based on a click instruction of the access control.
In this embodiment, after generating the riding code access request, the user terminal sends the riding code access request to the server, and displays a riding code returned by the server for code-swiping riding, or updates a pre-stored riding code by using a riding code update algorithm, and displays the updated riding code for code-swiping riding.
It should be noted that the battery power value and the battery health degree of the user terminal are obtained in the process of accessing the riding code by the user, specifically, the battery power value and the battery health degree of the user terminal are collected after a touch instruction of the user for the riding code access control is detected, the collected battery power value and the collected battery health degree can be submitted to the server together through the riding code access request, and can also be uploaded to the server by the user terminal before or after the riding code access request is submitted. The battery capacity value of the user terminal refers to a percentage value of the remaining battery capacity of the user terminal. After the battery of the user terminal is actually used, the electric quantity value which can be actually stored and used by the battery is lost, the factory-calibrated electric quantity value cannot be reached, and the ratio of the actual electric quantity value to the factory-calibrated electric quantity value is called as the battery health degree of the user terminal.
And step S304, adjusting the screen brightness of the bus code page according to the screen brightness adjustment strategy synchronized by the server.
Optionally, the screen brightness adjustment strategy is calculated in the following manner:
calculating a target screen brightness value of the user terminal for displaying the riding code by using a screen brightness algorithm by taking the battery electric quantity value of the user terminal as calculation input;
and determining the screen brightness adjustment strategy based on the screen brightness value of the user terminal and the target screen brightness value.
For example, the battery power value of the user terminal is input into a screen brightness algorithm Z ═ h (Q) for calculation, and a target screen brightness value corresponding to the current battery power value is obtained, where Z is the target screen brightness value, Q is the battery power value, and parameters related to the algorithm are pre-configured;
if the calculated target screen brightness value Z is less than the current screen brightness value Z0 of the user terminal, determining the screen brightness adjustment strategy to adjust the screen brightness value of the user terminal from the current screen brightness value Z0 to the target screen brightness value Z.
In practical application, in the process of scanning the code by a bus, if the screen brightness of the user terminal is too low, the success rate of scanning the code by the bus may be reduced, and the user needs to perform multiple attempts to scan the code by the bus, optionally, in order to avoid the influence of the too low screen brightness of the user terminal on the code scanning by the bus, the target screen brightness value is not lower than an effective code scanning brightness value of a code scanning device for effectively scanning the code scanning image displayed by the user terminal.
The effective code scanning brightness value refers to a screen brightness value corresponding to the case that the code scanning success rate of the user terminal is greater than a preset success rate threshold, for example, the screen brightness value corresponding to the case that the code scanning success rate is greater than or equal to 90% when the vehicle is taken, and the effective code scanning brightness value can be preset according to historical experience data.
In addition, in practical application, buses of subways and part of bus lines adopt a sectional pricing mode to carry out pricing of riding fees, a user needs to carry out code swiping operations twice when the subways enter and exit in the process of riding the subways and the part of buses, and also needs to carry out code swiping operations twice when the part of buses are riding, once the electric quantity of a battery of a user terminal used for swiping codes is exhausted, the user is likely to be unable to swipe codes to exit or swipe codes to get off, inconvenience is brought to the user, and in order to avoid causing troubles to the user when the electric quantity of the battery of the user terminal is exhausted under a sectional pricing scene, optionally, the screen brightness adjustment strategy is synchronous under the condition that the pricing type of the riding line to which the code swiping device belongs is sectional pricing.
And S306, receiving the battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page.
Optionally, the battery power reminder carries a keyword corresponding to the available battery duration. The battery available time is obtained through calculation based on the battery electric quantity value and the battery health degree, specifically, the battery electric quantity value and the battery health degree are input into a battery time algorithm for prediction, and the battery available time of the user terminal is output. For example, the battery electric quantity value of the user terminal is Q, the battery health degree of the user terminal is P, the battery electric quantity value Q and the battery health degree P are input into a battery duration algorithm T ═ K (Q, P) for prediction, and the battery available duration T of the user terminal is predicted, wherein parameters related to the algorithm are configured in advance.
It should be noted that the server issues the battery power reminder, in order to remind the user of the duration that the battery power of the user terminal currently held can be maintained in use, and the riding code page of the user terminal shows the battery power reminder, and in the process that the user sweeps the ride code through the riding code shown on the riding code page, the duration that the battery power of the user terminal can be maintained in use can be known through the battery power reminder, so that the user terminal is reasonably used, the situation that the battery power of the user terminal is exhausted in the riding process to cause the situation that the user terminal cannot get off the bus by swiping the ride code or get off the bus by swiping the ride code is avoided, and a guarantee is provided for the riding trip of the user.
In addition, in order to further reduce the occurrence probability of the situation that the battery power of the user terminal is exhausted during the user taking a car, so that the user terminal cannot get off the car in a code swiping manner or get off the station in a code swiping manner, in an optional implementation manner provided by this embodiment, the battery power reminder is configured as a triggerable message, and the user may further input a corresponding destination after the message is triggered, so as to adjust the screen brightness of the user terminal during the user taking a car, specifically including:
acquiring a trigger instruction submitted by the user aiming at the battery power reminding and input destination information, and uploading the trigger instruction and the input destination information to the server;
and receiving a global brightness adjustment instruction issued by the server, and adjusting the screen brightness based on the global brightness adjustment instruction. The global brightness adjusting instruction refers to an instruction for adjusting the screen brightness of the user terminal within a time range from a current time point of a user to the time point when the user swipes a code to exit or before the user swipes a code to get off.
In another optional implementation manner provided by this embodiment, to further reduce the occurrence probability of the situation that the battery power of the user terminal is exhausted during the user taking a car and the user terminal cannot pick up the car or get out of the car with the car, the taking position of the user is determined from a car code scanning event of the user taking a car, the getting-off position of the user is predicted from a record based on historical taking a car, the taking time of the user at this time is predicted on the basis, and the taking time is used as a basis for adjusting the screen brightness of the user terminal during the user taking a car, which specifically includes: receiving a global screen brightness value issued by the server, and adjusting the screen brightness according to the global screen brightness value;
and the global screen brightness value is calculated and determined according to the riding time of the user, the battery electric quantity value and the battery health degree, and is sent under the condition that the available time of the battery is less than the riding time of the user predicted according to the riding code scanning event and the historical riding record.
The following further describes the battery power reminding method provided in this embodiment by taking an application of the battery power reminding method provided in this embodiment in a riding scene of a user as an example, and referring to fig. 4, the battery power reminding method applied in the riding scene of the user specifically includes steps S402 to S408.
And step S402, receiving a touch instruction of a user for the riding code access control in the application program.
And S404, generating a bus code access request based on the touch instruction and submitting the bus code access request to a server.
And step S406, adjusting the screen brightness of the bus code page according to the screen brightness adjustment strategy synchronized by the server.
And step S408, receiving the battery power reminding issued by the server, and displaying the battery power reminding on a bus code page.
Then, acquiring a trigger instruction submitted by a user aiming at the battery electric quantity reminding and input destination information, uploading the trigger instruction and the input destination information to a server, receiving a global brightness adjustment instruction issued by the server, and adjusting the screen brightness based on the global brightness adjustment instruction; or receiving a global screen brightness value issued by the server, and adjusting the screen brightness according to the global screen brightness value.
The embodiment of the device for reminding the battery electric quantity provided by the specification is as follows:
in the above embodiment, a method for reminding battery power is provided, and a device for reminding battery power is provided, which is described below with reference to the accompanying drawings.
Referring to fig. 5, a schematic diagram of a battery level reminder according to this embodiment is shown.
Since the device embodiments correspond to the method embodiments, the description is relatively simple, and the relevant portions may refer to the corresponding description of the method embodiments provided above. The device embodiments described below are merely illustrative.
This embodiment provides a battery power reminding device, includes:
a battery information obtaining module 502 configured to obtain a battery electric quantity value and a battery health degree of a user terminal according to a riding code access request submitted by the user terminal;
a battery charge determination module 504 configured to determine whether the battery charge value is below a charge threshold;
if yes, the screen brightness adjustment determining module 506 is operated; the screen brightness adjustment determining module 506 is configured to determine that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal for execution based on the battery power value;
a battery available time calculating module 508, configured to calculate the battery available time of the user terminal based on the battery power value and the battery health degree, and generate a battery power reminder to be issued to the user terminal.
Another embodiment of a device for reminding battery power provided in this specification is as follows:
in the above embodiment, another method for reminding battery power is provided, and correspondingly, another device for reminding battery power is also provided, which is described below with reference to the accompanying drawings.
Referring to fig. 6, a schematic diagram of a battery level reminder according to this embodiment is shown.
Since the device embodiments correspond to the method embodiments, the description is relatively simple, and the relevant portions may refer to the corresponding description of the method embodiments provided above. The device embodiments described below are merely illustrative.
This embodiment provides a battery power reminding device, includes:
the access request submitting module 602 is configured to generate a riding code access request according to a touch instruction of a user for the riding code access control in the application program and submit the riding code access request to the server;
the screen brightness adjusting module 604 is configured to adjust the screen brightness of the riding code page according to the screen brightness adjusting strategy synchronized by the server;
and the electric quantity reminding display module 606 is configured to receive the battery electric quantity reminding sent by the server and display the battery electric quantity reminding on the riding code page.
The embodiment of the battery power reminding device provided by the specification is as follows:
corresponding to the above-described battery power reminding method, based on the same technical concept, one or more embodiments of the present specification further provide a battery power reminding device, where the battery power reminding device is configured to execute the above-described battery power reminding method, and fig. 7 is a schematic structural diagram of the battery power reminding device provided in one or more embodiments of the present specification.
The battery power reminding device provided by the embodiment comprises:
as shown in fig. 7, the battery level reminding device may have a large difference due to different configurations or performances, and may include one or more processors 701 and a memory 702, where the memory 702 may store one or more stored applications or data. Memory 702 may be, among other things, transient storage or persistent storage. The application program stored in memory 702 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a battery level alert device. Still further, the processor 701 may be configured to communicate with the memory 702 to execute a series of computer-executable instructions in the memory 702 on the battery level notification apparatus. The battery charge reminder apparatus may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input/output interfaces 705, one or more keyboards 706, and the like.
In one particular embodiment, a battery level reminder device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the battery level reminder device, and execution of the one or more programs by one or more processors includes computer-executable instructions for:
acquiring a battery electric quantity value and a battery health degree of a user terminal according to a riding code access request submitted by the user terminal;
judging whether the battery electric quantity value is lower than an electric quantity threshold value or not;
if yes, determining that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value;
and calculating the available battery time of the user terminal based on the battery electric quantity value and the battery health degree, and generating a battery electric quantity prompt to be issued to the user terminal.
Another embodiment of a device for reminding battery power provided in this specification is as follows:
corresponding to the other battery power reminding method described above, based on the same technical concept, one or more embodiments of the present specification further provide a battery power reminding device, where the battery power reminding device is configured to execute the above-mentioned battery power reminding method, and fig. 8 is a schematic structural diagram of the battery power reminding device provided in one or more embodiments of the present specification.
The battery power reminding device provided by the embodiment comprises:
as shown in fig. 8, the battery level reminder device may have a large difference due to different configurations or performances, and may include one or more processors 801 and a memory 802, where the memory 802 may store one or more stored applications or data. Wherein the memory 802 may be a transient storage or a persistent storage. The application program stored in memory 802 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a battery level alert device. Still further, the processor 801 may be configured to communicate with the memory 802 to execute a series of computer-executable instructions in the memory 802 on the battery level notification device. The battery charge level alert apparatus may also include one or more power supplies 803, one or more wired or wireless network interfaces 804, one or more input/output interfaces 805, one or more keyboards 806, and the like.
In one particular embodiment, a battery level reminder device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the battery level reminder device, and execution of the one or more programs by one or more processors includes computer-executable instructions for:
generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in an application program;
adjusting the screen brightness of the bus code page according to the screen brightness adjustment strategy synchronized by the server;
and receiving a battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page.
An embodiment of a storage medium provided in this specification is as follows:
on the basis of the same technical concept, one or more embodiments of the present specification further provide a storage medium corresponding to the above-described method for reminding battery power.
The storage medium provided in this embodiment is used to store computer-executable instructions, and when executed, the computer-executable instructions implement the following processes:
acquiring a battery electric quantity value and a battery health degree of a user terminal according to a riding code access request submitted by the user terminal;
judging whether the battery electric quantity value is lower than an electric quantity threshold value or not;
if yes, determining that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value;
and calculating the available battery time of the user terminal based on the battery electric quantity value and the battery health degree, and generating a battery electric quantity prompt to be issued to the user terminal.
It should be noted that the embodiment related to the storage medium in this specification and the embodiment related to the battery power reminding method in this specification are based on the same inventive concept, and therefore, specific implementation of this embodiment may refer to implementation of the foregoing corresponding method, and repeated details are not described herein.
Another storage medium embodiment provided in this specification is as follows:
on the basis of the same technical concept, in response to the above-described other battery power reminding method, one or more embodiments of the present specification further provide another storage medium.
The storage medium provided in this embodiment is used to store computer-executable instructions, and when executed, the computer-executable instructions implement the following processes:
generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in an application program;
adjusting the screen brightness of the bus code page according to the screen brightness adjustment strategy synchronized by the server;
and receiving a battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page.
It should be noted that the embodiment related to the storage medium in this specification and the embodiment related to another battery power reminding method in this specification are based on the same inventive concept, and therefore, specific implementation of this embodiment may refer to implementation of the foregoing corresponding method, and repeated details are not described herein.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 30 s of the 20 th century, improvements in a technology could clearly be distinguished between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in multiple software and/or hardware when implementing the embodiments of the present description.
One skilled in the art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of this document and is not intended to limit this document. Various modifications and changes may occur to those skilled in the art from this document. Any modifications, equivalents, improvements, etc. which come within the spirit and principle of the disclosure are intended to be included within the scope of the claims of this document.

Claims (19)

1. A battery power reminding method comprises the following steps:
acquiring a battery electric quantity value and a battery health degree of a user terminal according to a riding code access request submitted by the user terminal;
judging whether the pricing type of a riding line to which the code scanning equipment belongs is segmented pricing or not, and if so, judging whether the electric quantity value of the battery is lower than an electric quantity threshold value or not;
if yes, determining that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value;
calculating the battery available time of the user terminal based on the battery electric quantity value and the battery health degree, generating a battery electric quantity prompt and issuing the battery electric quantity prompt to the user terminal;
if the available battery duration is less than the user riding duration, calculating a global screen brightness value of the user terminal according to the user riding duration, the battery electric quantity value and the battery health degree, and issuing the global screen brightness value to the user terminal.
2. The battery power reminding method according to claim 1, wherein the determining a screen brightness adjustment policy of the user terminal based on the battery power value comprises:
calculating a target screen brightness value of the user terminal for displaying the riding code by using a screen brightness algorithm by taking the battery electric quantity value as calculation input;
and determining the screen brightness adjustment strategy based on the screen brightness value of the user terminal and the target screen brightness value.
3. The battery power reminding method according to claim 1, wherein the riding time of the user is predicted by adopting the following method:
receiving a trigger instruction and destination information of the battery power reminding submitted by the user terminal;
and predicting the riding time of the user based on the destination information and the riding code scanning event.
4. The battery power reminding method according to claim 1, wherein the user terminal adjusts the screen brightness when the riding code page is displayed according to the screen brightness adjustment strategy after receiving the synchronized screen brightness adjustment strategy.
5. The battery power reminding method according to claim 1, wherein the battery power reminding carries a keyword corresponding to the available battery time, and the battery power reminding is displayed on a riding code page of the user terminal.
6. The battery power reminding method according to claim 2, wherein the target screen brightness value is not lower than an effective code scanning brightness value of a riding code image displayed by the user terminal effectively scanned by the code scanning device.
7. The battery power reminding method according to claim 1, wherein the calculating the battery available time of the user terminal based on the battery power value and the battery health degree comprises:
and inputting the battery electric quantity value and the battery health degree into a battery duration algorithm for prediction, and outputting the battery available duration of the user terminal.
8. The battery power reminding method according to claim 1, wherein the ride duration of the user is predicted according to the ride code scanning event and historical ride records.
9. A battery power reminding method comprises the following steps:
generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in an application program;
carrying out screen brightness adjustment on a bus code page according to a synchronous screen brightness adjustment strategy under the condition that the pricing type of a bus line to which the code scanning equipment belongs is segmented pricing by the server;
receiving a battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page;
receiving a global screen brightness value sent by the server under the condition that the available battery time is less than the riding time of a user, and adjusting the screen brightness according to the global screen brightness value; and the global screen brightness value is calculated and determined according to the riding time of the user, the battery electric quantity value and the battery health degree, and the riding time of the user is predicted according to the riding code scanning event and the historical riding record.
10. The battery power reminding method of claim 9, wherein the screen brightness adjustment strategy is calculated as follows:
calculating a target screen brightness value for displaying the riding code by the user terminal by using a screen brightness algorithm by taking the battery electric quantity value as calculation input;
and determining the screen brightness adjustment strategy based on the screen brightness value of the user terminal and the target screen brightness value.
11. The battery power reminding method according to claim 9, wherein after the step of receiving the battery power reminder issued by the server and displaying the riding code page is executed, the method further comprises:
and acquiring a trigger instruction submitted by the user aiming at the battery power reminding and input destination information, and uploading the trigger instruction and the input destination information to the server.
12. The battery power reminding method according to claim 9, wherein the battery power reminding carries a keyword corresponding to the available battery duration.
13. The battery power reminding method according to claim 10, wherein the target screen brightness value is not lower than an effective code scanning brightness value of a riding code image displayed by the code scanning device in an effective scanning manner.
14. A battery level reminder device comprising:
the battery information acquisition module is configured to acquire a battery electric quantity value and a battery health degree of the user terminal according to a riding code access request submitted by the user terminal;
the battery electric quantity judging module is configured to judge whether the pricing type of a riding line to which the code scanning device belongs is segmented pricing or not, and if yes, judge whether the battery electric quantity value is lower than an electric quantity threshold value or not;
if yes, operating a screen brightness adjustment determining module; the screen brightness adjustment determining module is configured to determine that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal for execution based on the battery power value;
the battery available time length calculation module is configured to calculate the battery available time length of the user terminal based on the battery electric quantity value and the battery health degree, and generate a battery electric quantity prompt to be issued to the user terminal; if the available battery duration is less than the user riding duration, calculating a global screen brightness value of the user terminal according to the user riding duration, the battery electric quantity value and the battery health degree, and issuing the global screen brightness value to the user terminal.
15. A battery level reminder device comprising:
the access request submitting module is configured to generate a riding code access request and submit the riding code access request to the server according to a touch instruction of a user for the riding code access control in the application program;
the screen brightness adjusting module is configured to adjust the screen brightness of the bus code page according to a synchronous screen brightness adjusting strategy under the condition that the pricing type of the bus line to which the code scanning device belongs is segmented pricing by the server;
the electric quantity reminding display module is configured to receive the battery electric quantity reminding sent by the server and display the battery electric quantity reminding on the riding code page; receiving a global screen brightness value sent by the server under the condition that the available battery time is less than the riding time of a user, and adjusting the screen brightness according to the global screen brightness value; and the global screen brightness value is calculated and determined according to the riding time of the user, the battery electric quantity value and the battery health degree, and the riding time of the user is predicted according to the riding code scanning event and the historical riding record.
16. A battery level alert device comprising:
a processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to:
acquiring a battery electric quantity value and a battery health degree of a user terminal according to a riding code access request submitted by the user terminal;
judging whether the pricing type of a riding line to which the code scanning equipment belongs is segmented pricing or not, and if so, judging whether the electric quantity value of the battery is lower than an electric quantity threshold value or not;
if yes, determining that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value;
calculating the battery available time of the user terminal based on the battery electric quantity value and the battery health degree, generating a battery electric quantity prompt and issuing the battery electric quantity prompt to the user terminal;
if the available battery duration is less than the user riding duration, calculating a global screen brightness value of the user terminal according to the user riding duration, the battery electric quantity value and the battery health degree, and issuing the global screen brightness value to the user terminal.
17. A battery level alert device comprising:
a processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to:
generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in an application program;
carrying out screen brightness adjustment on a bus code page according to a synchronous screen brightness adjustment strategy under the condition that the pricing type of a bus line to which the code scanning equipment belongs is segmented pricing by the server;
receiving a battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page;
receiving a global screen brightness value sent by the server under the condition that the available battery time is less than the riding time of a user, and adjusting the screen brightness according to the global screen brightness value; and the global screen brightness value is calculated and determined according to the riding time of the user, the battery electric quantity value and the battery health degree, and the riding time of the user is predicted according to the riding code scanning event and the historical riding record.
18. A storage medium storing computer-executable instructions that when executed implement the following:
acquiring a battery electric quantity value and a battery health degree of a user terminal according to a riding code access request submitted by the user terminal;
judging whether the pricing type of a riding line to which the code scanning equipment belongs is segmented pricing or not, and if so, judging whether the electric quantity value of the battery is lower than an electric quantity threshold value or not;
if yes, determining that a screen brightness adjustment strategy of the user terminal is synchronized to the user terminal to be executed based on the battery electric quantity value;
calculating the battery available time of the user terminal based on the battery electric quantity value and the battery health degree, generating a battery electric quantity prompt and issuing the battery electric quantity prompt to the user terminal;
if the available battery duration is less than the user riding duration, calculating a global screen brightness value of the user terminal according to the user riding duration, the battery electric quantity value and the battery health degree, and issuing the global screen brightness value to the user terminal.
19. A storage medium storing computer-executable instructions that when executed implement the following:
generating a riding code access request and submitting the riding code access request to a server according to a touch instruction of a user for the riding code access control in an application program;
carrying out screen brightness adjustment on a bus code page according to a synchronous screen brightness adjustment strategy under the condition that the pricing type of a bus line to which the code scanning equipment belongs is segmented pricing by the server;
receiving a battery electric quantity prompt issued by the server, and displaying the battery electric quantity prompt on the riding code page;
receiving a global screen brightness value sent by the server under the condition that the available battery time is less than the riding time of a user, and adjusting the screen brightness according to the global screen brightness value; and the global screen brightness value is calculated and determined according to the riding time of the user, the battery electric quantity value and the battery health degree, and the riding time of the user is predicted according to the riding code scanning event and the historical riding record.
CN202110355496.4A 2021-04-01 2021-04-01 Battery electric quantity reminding method and device Active CN112904989B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210346622.4A CN114779914B (en) 2021-04-01 2021-04-01 Battery electric quantity reminding method and device
CN202110355496.4A CN112904989B (en) 2021-04-01 2021-04-01 Battery electric quantity reminding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110355496.4A CN112904989B (en) 2021-04-01 2021-04-01 Battery electric quantity reminding method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210346622.4A Division CN114779914B (en) 2021-04-01 2021-04-01 Battery electric quantity reminding method and device

Publications (2)

Publication Number Publication Date
CN112904989A CN112904989A (en) 2021-06-04
CN112904989B true CN112904989B (en) 2022-04-22

Family

ID=76110263

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210346622.4A Active CN114779914B (en) 2021-04-01 2021-04-01 Battery electric quantity reminding method and device
CN202110355496.4A Active CN112904989B (en) 2021-04-01 2021-04-01 Battery electric quantity reminding method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202210346622.4A Active CN114779914B (en) 2021-04-01 2021-04-01 Battery electric quantity reminding method and device

Country Status (1)

Country Link
CN (2) CN114779914B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2390758A1 (en) * 2010-05-25 2011-11-30 Samsung Electronics Co., Ltd. Method and apparatus for managing an application being executed in a portable terminal
CN106488542A (en) * 2016-11-23 2017-03-08 努比亚技术有限公司 A kind of mobile terminal and its control method
CN106604373A (en) * 2016-11-28 2017-04-26 深圳市金立通信设备有限公司 Method for managing power consumption and terminal
CN109472589A (en) * 2018-10-30 2019-03-15 上海与德科技有限公司 A kind of payment code transfers method, apparatus, terminal and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10490187B2 (en) * 2016-06-10 2019-11-26 Apple Inc. Digital assistant providing automated status report
CN112492102B (en) * 2019-08-20 2022-01-25 青岛海信移动通信技术股份有限公司 Terminal screen brightness control method, terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2390758A1 (en) * 2010-05-25 2011-11-30 Samsung Electronics Co., Ltd. Method and apparatus for managing an application being executed in a portable terminal
CN106488542A (en) * 2016-11-23 2017-03-08 努比亚技术有限公司 A kind of mobile terminal and its control method
CN106604373A (en) * 2016-11-28 2017-04-26 深圳市金立通信设备有限公司 Method for managing power consumption and terminal
CN109472589A (en) * 2018-10-30 2019-03-15 上海与德科技有限公司 A kind of payment code transfers method, apparatus, terminal and storage medium

Also Published As

Publication number Publication date
CN114779914B (en) 2024-01-30
CN114779914A (en) 2022-07-22
CN112904989A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN107230046B (en) Travel information prompting method and mobile terminal
CN112423122B (en) Display method and device of hotspot list, electronic equipment and storage medium
US9123014B1 (en) Predicting location of a mobile user
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
US11861621B2 (en) Payment risk control method and system
CN111968401B (en) Parking space recommendation method and device, and parking space prediction method and device of parking lot
CN108694574B (en) Resource transfer channel processing method, device and equipment
CN111310482A (en) Real-time translation method, device, terminal and storage medium
EP3540616A1 (en) Data storage and invoking method and device
CN106296107A (en) Location-based memorandum based reminding method, system and electronic installation
CN112927054A (en) Bus taking order processing method and device
US20220027032A1 (en) Image display method, device and storage medium
CN107402777B (en) Resource updating method and electronic equipment
CN112904989B (en) Battery electric quantity reminding method and device
CN113079252A (en) Subway taking reminding method and device
WO2023179182A1 (en) Device split screen adaptation processing
CN112949879B (en) Travel reservation processing method and device
CN110045891A (en) A kind of method and device of showing interface
CN112837053B (en) Payment processing method and device
CN112693496A (en) Riding reminding processing method and device for railway train
CN110728516A (en) Method, device and equipment for updating wind control model
CN111949264A (en) Page element positioning method and mobile terminal
CN112083840A (en) Method, device, terminal and storage medium for controlling electronic equipment
CN113065831B (en) Charging equipment distribution processing method and device
JP7473620B2 (en) Programs, servers and systems

Legal Events

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