Application program management method and device, mobile terminal and readable storage medium

文档序号:1476951 发布日期:2020-02-25 浏览:19次 中文

阅读说明:本技术 应用程序管理方法、装置、移动终端及可读存储介质 (Application program management method and device, mobile terminal and readable storage medium ) 是由 费腾 崔欣 张扬 于 2018-08-15 设计创作,主要内容包括:本发明提供了一种应用程序管理方法、装置、移动终端及可读存储介质,应用于输入法客户端。该方法包括:监测输入法客户端所在的移动终端的当前剩余电量;当当前剩余电量位于预设的第一电量阈值范围时,将输入法客户端提供的目标功能的运算量降低至预设值,且预设值大于零。通过在移动终端电量不足时,降低输入法提供的目标功能的运算量,有利于在维持目标功能的使用的同时,降低用户使用输入法打字所带来的耗电量,有效地改善了现有输入法的使用不利于移动终端续航的技术问题。(The invention provides an application program management method, an application program management device, a mobile terminal and a readable storage medium, which are applied to an input method client. The method comprises the following steps: monitoring the current residual electric quantity of a mobile terminal where an input method client is located; and when the current residual electric quantity is within a preset first electric quantity threshold range, reducing the operation quantity of the target function provided by the input method client to a preset value, wherein the preset value is larger than zero. By reducing the operation amount of the target function provided by the input method when the electric quantity of the mobile terminal is insufficient, the method is beneficial to maintaining the use of the target function, simultaneously reduces the power consumption caused by typing by using the input method by a user, and effectively solves the technical problem that the use of the existing input method is not beneficial to the endurance of the mobile terminal.)

1. An application management method applied to an input method client, the method comprising:

monitoring the current residual electric quantity of the mobile terminal where the input method client is located;

and when the current residual electric quantity is within a preset first electric quantity threshold range, reducing the operation quantity of the target function provided by the input method client to a preset value, wherein the preset value is larger than zero.

2. The method of claim 1, wherein the reducing the computation load of the target function provided by the input method client to a preset value comprises:

inquiring a reduction rule of the target function corresponding to the first electric quantity threshold range in a pre-stored configuration information base, and taking the inquiry result as a target reduction rule, wherein the configuration information base stores corresponding relation information of the first electric quantity threshold range and the reduction rule of the target function, and the reduction rule is used for limiting the calculation amount of the target function;

and reducing the operation amount of the target function to the preset value based on the target reduction rule.

3. The method of claim 2, wherein the target function reduction rules include an operation magnitude, and wherein the default value is within the operation magnitude.

4. The method of claim 2, further comprising:

and updating the reduction rule of the target function in the configuration information base based on the user behavior data which is provided by the input method client and is related to the target function.

5. The method of claim 4, wherein updating the reduction rule of the target function in the configuration information base based on the user behavior data related to the target function provided by the input method client comprises:

acquiring user behavior data related to the target function, which is provided by the input method client;

judging whether a first specific function used by a user exists in the target functions or not according to a preset judgment condition and the user behavior data;

if the first specific function exists, updating the reduction rule corresponding to the first specific function in the configuration information base, so that the calculation amount corresponding to the reduction rule of the first specific function after updating is larger than the calculation amount corresponding to the reduction rule of the first specific function before updating and is smaller than or equal to the initial calculation amount of the first specific function.

6. The method of claim 5, wherein when the target function includes a plurality of functions, the updating the reduction rule of the target function in the configuration information base based on the user behavior data related to the target function provided by the input method client further comprises:

determining a second specific function based on other functions of the target functions except the first specific function;

updating the reduction rule corresponding to the second specific function in the configuration information base so that the computation amount corresponding to the reduction rule of the second specific function after updating is smaller than the computation amount corresponding to the reduction rule of the second specific function before updating.

7. The method of claim 1, further comprising:

and when the current residual electric quantity is within a preset second electric quantity threshold range, closing the target function, wherein the electric quantity values within the second electric quantity threshold range are all smaller than the electric quantity values within the first electric quantity threshold range.

8. An application management device applied to an input method client, the device comprising:

the monitoring module is used for monitoring the current residual electric quantity of the mobile terminal where the input method client is located;

and the first processing module is used for reducing the operation amount of the target function provided by the input method client to a preset value when the current residual electric quantity is within a preset first electric quantity threshold range, wherein the preset value is larger than zero.

9. A mobile terminal having an input method client installed therein, the mobile terminal comprising a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the mobile terminal to:

monitoring the current residual capacity of the mobile terminal;

and when the current residual electric quantity is within a preset first electric quantity threshold range, reducing the operation quantity of the target function provided by the input method client to a preset value, wherein the preset value is larger than zero.

10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.

Technical Field

The present invention relates to the field of software technologies, and in particular, to a method and an apparatus for managing an application program, a mobile terminal, and a readable storage medium.

Background

Nowadays, people have stronger dependence on mobile terminals such as mobile phones and tablet computers. In order to avoid shutdown caused by insufficient electric quantity of the mobile terminal, so that work and life of people are influenced, the endurance problem of the mobile terminal is more and more important.

With the development of computer technology, the input method is widely used, and most application programs, especially social application programs, cannot be used away from the input method. This results in that when the mobile terminal is low in power, the use of the input method will put a lot of pressure on the endurance of the mobile terminal. However, the conventional input method itself does not have a power saving mode, which is not favorable for the endurance of the mobile terminal.

Disclosure of Invention

In view of the above problems, the present application provides an application management method, an application management apparatus, a mobile terminal, and a readable storage medium, which are used to solve the technical problem that the use of the existing input method is not beneficial to the endurance of the mobile terminal.

In a first aspect, an embodiment of the present invention provides an application management method, which is applied to an input method client, where the method includes: monitoring the current residual electric quantity of the mobile terminal where the input method client is located; and when the current residual electric quantity is within a preset first electric quantity threshold range, reducing the operation quantity of the target function provided by the input method client to a preset value, wherein the preset value is larger than zero.

Further, the reducing the computation load of the target function provided by the input method client to a preset value includes: inquiring a reduction rule of the target function corresponding to the first electric quantity threshold range in a pre-stored configuration information base, and taking the inquiry result as a target reduction rule, wherein the configuration information base stores corresponding relation information of the first electric quantity threshold range and the reduction rule of the target function, and the reduction rule is used for limiting the calculation amount of the target function; and reducing the operation amount of the target function to the preset value based on the target reduction rule.

Further, the reduction rule of the target function includes an operation magnitude, and the preset value is within the operation magnitude.

Further, the method further comprises: and updating the reduction rule of the target function in the configuration information base based on the user behavior data which is provided by the input method client and is related to the target function.

Further, the updating the reduction rule of the target function in the configuration information base based on the user behavior data related to the target function provided by the input method client comprises: acquiring user behavior data related to the target function, which is provided by the input method client; judging whether a first specific function used by a user exists in the target functions or not according to a preset judgment condition and the user behavior data; if the first specific function exists, updating the reduction rule corresponding to the first specific function in the configuration information base, so that the calculation amount corresponding to the reduction rule of the first specific function after updating is larger than the calculation amount corresponding to the reduction rule of the first specific function before updating and is smaller than or equal to the initial calculation amount of the first specific function.

Further, when the target function includes a plurality of functions, the updating the reduction rule of the target function in the configuration information base based on the user behavior data related to the target function provided by the input method client further includes: determining a second specific function based on other functions of the target functions except the first specific function; updating the reduction rule corresponding to the second specific function in the configuration information base so that the computation amount corresponding to the reduction rule of the second specific function after updating is smaller than the computation amount corresponding to the reduction rule of the second specific function before updating.

Further, the method further comprises: and when the current residual electric quantity is within a preset second electric quantity threshold range, closing the target function, wherein the electric quantity values within the second electric quantity threshold range are all smaller than the electric quantity values within the first electric quantity threshold range.

Further, after the computation load of the target function provided by the input method client is reduced to a preset value, the method further includes: and when the situation that the mobile terminal is switched from the non-charging state to the charging state is monitored, restoring the operation amount of the target function to the initial operation amount.

Further, the target function includes one or more of a word formation function, an error correction function, and a dynamic skin function.

In a second aspect, an embodiment of the present invention further provides an application management apparatus, which is applied to an input method client, where the apparatus includes: the device comprises a monitoring module and a first processing module. And the monitoring module is used for monitoring the current residual electric quantity of the mobile terminal where the input method client is located. And the first processing module is used for reducing the operation amount of the target function provided by the input method client to a preset value when the current residual electric quantity is within a preset first electric quantity threshold range, wherein the preset value is larger than zero.

Further, the first processing module is specifically configured to: inquiring a reduction rule of the target function corresponding to the first electric quantity threshold range in a pre-stored configuration information base, and taking the inquiry result as a target reduction rule, wherein the configuration information base stores corresponding relation information of the first electric quantity threshold range and the reduction rule of the target function, and the reduction rule is used for limiting the calculation amount of the target function; and reducing the operation amount of the target function to the preset value based on the target reduction rule.

Further, the reduction rule of the target function includes an operation magnitude, and the preset value is within the operation magnitude.

Further, the apparatus further comprises: and the updating module is used for updating the reduction rule of the target function in the configuration information base based on the user behavior data which is provided by the input method client and is related to the target function.

Further, the update module includes: the acquisition submodule is used for acquiring user behavior data which is provided by the input method client and is related to the target function; the judgment submodule is used for judging whether a first specific function used by a user exists in the target functions or not according to a preset judgment condition and the user behavior data; a first updating sub-module, configured to update the reduction rule corresponding to the first specific function in the configuration information base if the determining sub-module determines that the first specific function exists, so that an operation amount corresponding to the reduction rule of the first specific function after updating is greater than an operation amount corresponding to the reduction rule of the first specific function before updating and is less than or equal to an initial operation amount of the first specific function.

Further, when the target function includes a plurality of functions, the update module further includes: a determination submodule configured to determine a second specific function based on a function other than the first specific function among the target functions; a second updating submodule, configured to update the reduction rule corresponding to the second specific function in the configuration information base, so that an operand corresponding to the reduction rule of the second specific function after the update is smaller than an operand corresponding to the reduction rule of the second specific function before the update.

Further, the apparatus further comprises: and the second processing module is used for closing the target function when the current residual electric quantity is within a preset second electric quantity threshold range, wherein the electric quantity values within the second electric quantity threshold range are all smaller than the electric quantity values within the first electric quantity threshold range.

Further, the apparatus further comprises: and the third processing module is used for restoring the operation amount of the target function to the initial operation amount when the condition that the mobile terminal is switched from the non-charging state to the charging state is monitored.

Further, the target function includes one or more of a word formation function, an error correction function, and a dynamic skin function.

In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal is installed with an input method client, and the mobile terminal includes a processor and a memory, where the memory is coupled to the processor, and the memory stores instructions. The instructions, when executed by the processor, cause the mobile terminal to: monitoring the current residual capacity of the mobile terminal; and when the current residual electric quantity is within a preset first electric quantity threshold range, reducing the operation quantity of the target function provided by the input method client to a preset value, wherein the preset value is larger than zero.

In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the application management method.

In the technical scheme of the embodiment of the invention, the current residual electric quantity of the mobile terminal where the input method client is located is monitored, and when the current residual electric quantity is within a preset first electric quantity threshold value range, the calculation quantity of the target function provided by the input method client is reduced to a preset value. Wherein the preset value is greater than zero, i.e. the target function can still be used. By reducing the operation amount of the target function provided by the input method when the electric quantity of the mobile terminal is insufficient, the method is beneficial to maintaining the use of the target function, simultaneously reduces the power consumption caused by typing by using the input method by a user, and effectively solves the technical problem that the use of the existing input method is not beneficial to the endurance of the mobile terminal.

The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.

Drawings

Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:

FIG. 1 is a flowchart of a method for managing application programs according to a first embodiment of the present invention;

FIG. 2 is a flowchart of another method of managing applications according to the first embodiment of the present invention;

FIG. 3 is a flowchart illustrating a step of dynamically updating a configuration information base in an application management method according to a first embodiment of the present invention;

fig. 4 is a functional block diagram of an application management device according to a second embodiment of the present invention;

fig. 5 is a schematic structural diagram of a mobile terminal according to an exemplary embodiment of the present invention.

Detailed Description

Based on the problem that the use of the input method in the prior art is not beneficial to the endurance of the mobile terminal, the embodiment of the invention provides the application program management method which can be applied to the input method client and can effectively solve the technical problem that the existing input method is not beneficial to the endurance of the mobile terminal.

Specifically, the application management method provided by the embodiment of the invention can be applied to an input method client installed on a mobile terminal, and the client can capture an input string of a user in an input process and provide candidates for the user. The mobile terminal may specifically include a smart phone, a tablet computer, a notebook computer, an electronic book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), a wearable mobile device, and other mobile devices.

Of course, in addition to the input method, the application management method provided in the embodiment of the present invention may also be applied to other applications that have functions for improving user experience but with a large computation amount, in addition to the basic functions that can be guaranteed for users to use. In the following, the input method is mainly used as an example, and other target application programs may be referred to each other. The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1, a flowchart of a method for managing an application according to a first embodiment of the present invention is shown. The application management method provided by the embodiment is applied to an input method client. As shown in fig. 1, the method includes:

step S101, monitoring the current residual electric quantity of a mobile terminal where the input method client is located;

it is understood that the system-resident battery management application in the mobile terminal will monitor the remaining capacity of the battery in real time. Therefore, in this embodiment, the current remaining power of the mobile terminal may be monitored through data interaction with a battery management application program of the system itself, and the current remaining power is obtained, for example, 25%. Or, the current remaining capacity of the mobile terminal can be monitored through a third-party battery management application installed on the mobile terminal.

In order to reduce the power consumption of the mobile terminal as much as possible, as an optional manner, the present embodiment may monitor the current remaining power of the mobile terminal at intervals of a preset time period. In this embodiment, the preset time period may be fixed, may be set to 2 minutes, 5 minutes, and the like, and may be specifically set as needed. Alternatively, the preset time period may also be set according to a certain gradient based on the current remaining power, that is, a plurality of time periods are set based on a preset power range, each power range corresponds to one time period, and the time period is shorter as the power range corresponds to a lower power.

The specific setting of the preset time period can be set as required. For example, in a specific application scenario, the preset power range may include: the first range is: greater than or equal to 50%; the second range is: greater than or equal to 30% and less than 50%; the third range: greater than or equal to 20% and less than 30%; and a fourth range: less than 20%. The time period corresponding to the first range is 20 minutes, the time period corresponding to the second range is 10 minutes, the time period corresponding to the third range is 5 minutes, and the time period corresponding to the fourth range is 2 minutes. At this time, if the current remaining capacity is greater than or equal to 50%, configuring the preset time period to be 20 minutes; if the current residual capacity is greater than or equal to 30% and less than 50%, configuring the preset time period into 10 minutes; if the current residual capacity is greater than or equal to 20% and less than 30%, configuring the preset time period to be 5 minutes; and if the current remaining capacity is less than 20%, configuring the preset time period into 2 minutes.

And step S102, when the current residual electric quantity is within a preset first electric quantity threshold range, reducing the operation quantity of the target function provided by the input method client to a preset value, wherein the preset value is larger than zero.

In this embodiment, the target function is one or more of the other functions provided by the input method client side, except for the basic function. As an alternative, a function with a large computation amount, that is, a function that consumes relatively much power, among other functions provided by the input method client, may be set as the target function. For example, the target function may be a function requiring use of a deep learning model or other computationally large functions, such as a word formation function, an error correction function, and the like. It can be understood that the basic function provided by the input method client is to provide candidate items by matching word banks based on input strings of the user.

For example, the word formation process of the input method may specifically include: the method comprises the steps that after an input method client receives an input string provided by a user, the input string is segmented into a plurality of substrings, then a word network is built based on each substring query word library, so that a plurality of word forming paths are obtained, then the conditional probability of each path is calculated through an ngram model, the optimal path is taken out, and each word on the path is spliced to obtain a word forming result which is used as a candidate word to be displayed at the client. At present, candidate words provided by the input method are accurate, but the candidate words are established on the basis of a large amount of calculation, and the large amount of calculation is completed through power consumption, so that if the input method is continuously used for typing, a word-forming function is always called, and the power consumption load of the mobile terminal is increased.

When the current remaining capacity is within the first capacity threshold range, it indicates that the current remaining capacity is insufficient, and there is a risk of shutdown due to capacity depletion. Therefore, in order to reduce the influence of the use of the input method client on the endurance of the mobile terminal, when the current remaining power of the mobile terminal is monitored to be within the first power threshold range, the operation amount of the target function provided by the input method client is reduced to a preset value. The power consumption brought by using the input method client is reduced by reducing the calculation amount of the target function, namely, the input method client enters a power-saving mode. The first electric quantity threshold value range and the preset value can be preset according to actual needs. For example, the operation amount of the target function may be reduced to 50% of the initial operation amount. The initial computation of the target function refers to the computation corresponding to the target function which is normally used after the input method client is installed.

It should be noted that, when the target function includes a plurality of functions, the operation amount of each function needs to be reduced to a corresponding preset value, and the preset values corresponding to each function may be the same or different, and are specifically set as required.

It should also be noted that the preset value is greater than zero. That is to say, in this embodiment, after the computation amount of the target function provided by the input method client is reduced, the computation amount of the target function is still greater than zero, that is, the target function is not turned off, the target function can still be used, and only the precision or accuracy is reduced. However, since the preset value is smaller than the initial computation amount of the target function, that is, the computation amount of the target function is reduced, the power consumption caused by the processor of the mobile terminal executing the corresponding program of the target function can be correspondingly reduced, so that the input method client is more power-saving.

Specifically, the first electric quantity threshold range is preset, and various setting modes are possible. As a first alternative, the first threshold range of electric quantity may be one, for example, may be less than or equal to a preset electric quantity value. At this time, when the remaining power is less than or equal to the preset power value, the computation of the target function provided by the input method client is reduced, so that the input method client enters the power saving mode. The preset electric quantity value may be set as required, for example, 25%, 20%, 10%, or the like.

As a second optional manner, a plurality of different first electric quantity threshold ranges may also be set, that is, different power saving mode levels are divided according to the remaining electric quantity, and in the power saving modes of different levels, the reduction degree of the calculation amount of the target function is different, and the range with the lower electric quantity value is the range with the larger calculation amount correspondingly reduced, that is, the smaller the preset value is, and the specific division manner may be set as needed. At this time, the process of reducing the computation amount of the target function to the preset value may specifically be: and acquiring a preset value corresponding to a first electric quantity threshold range in which the current residual electric quantity is positioned, and reducing the calculation amount of the target function provided by the input method client to the preset value.

For example, two first charge threshold ranges may be set, i.e., L1 and L2, and the charge values included in L2 are smaller than the charge values included in L1. For example, L1 may be greater than 10% and less than or equal to 20%, and L2 may be less than or equal to 10%. Assuming that the first preset value corresponding to the L1 is 80% of the initial operand, and the second preset value corresponding to the L2 is 50% of the initial operand; at this time, if the current remaining power amount is within L1, the calculation amount of the target function is reduced to 80% of the initial calculation amount, and if the current remaining power amount is within L2, the calculation amount of the target function is reduced to 50% of the initial calculation amount.

In this embodiment, the specific manner of reducing the operation amount of the target function may be various, and may be specifically set according to the calculation process corresponding to the actual function. For example, the target function corresponds to a basic execution program and an optimized execution program based on a result obtained by the basic execution program. The optimization executive program is used for further optimizing the result obtained by the basic executive program and improving the accuracy of the target function. At this time, the operation amount of the target function can be reduced by disabling the optimized executive program of the target function. For another example, the calculation process corresponding to the target function needs to be iterated multiple times to obtain a more accurate calculation result, and at this time, the calculation amount of the target function can be reduced by reducing the iteration times.

Specifically, in order to facilitate the allocation of the operation amount of the target function, an allocation information base may be stored in the mobile terminal in advance. The configuration information base stores corresponding relation information of the first electric quantity threshold range and the reduction rule of the target function. In this embodiment, the reduction rule may be used to limit the computation amount of the target function, and the reduction rule of the target function has a one-to-one correspondence with the preset value, and the reduction rule may be specifically set according to the required preset value. The operation amount corresponding to the reduction rule of the target function in the configuration information base is larger than 0 and smaller than the initial operation amount of the target function. The calculation amount corresponding to the reduction rule of the target function is the calculation amount of the target function after the calculation program corresponding to the target function is processed according to the reduction rule. Therefore, the calculation amount of the target function can be limited according to the reduction rule of the target function in the configuration information base, so that the calculation amount of the target function is reduced to a preset value.

Accordingly, when a first electric quantity threshold range is set, a reduction rule of the target function is specified in advance in the configuration information base for the first electric quantity threshold range. When a plurality of different first electric quantity threshold value ranges are set, a reduction rule of a target function is specified in the configuration information base for each first electric quantity threshold value range in advance, the reduction rules corresponding to the different first electric quantity threshold value ranges are different, and the reduction rule corresponding to the range with lower electric quantity corresponds to more reduced calculation quantity. When the target function includes a plurality of functions, the reduction rule for each function is defined for each first electric energy threshold range, and the reduction rules for different functions may be the same or different for the same first electric energy threshold range, and for the same function, the reduction rule corresponding to the range in which the electric energy is smaller restricts the calculation amount of the function more, that is, the calculation amount is reduced more.

At this time, the above manner of reducing the computation load of the target function provided by the input method client to the preset value may specifically include: inquiring a reduction rule of the target function corresponding to the first electric quantity threshold range in a pre-stored configuration information base, and taking the inquiry result as a target reduction rule; and reducing the operation amount of the target function to a preset value based on the target reduction rule. It can be understood that, when the target function includes a plurality of functions, the reduction rule corresponding to the first electric quantity threshold range and each function may be queried in the configuration information base, and then the computation amount of the function is reduced to a corresponding preset value based on the queried reduction rule of each function.

In this embodiment, the reduction rule may have a plurality of setting modes. Alternatively, the reduction rule may include an operation parameter value. In this embodiment, the operation parameter is an index for measuring the operation amount of the target function, and the larger the operation parameter value of the target function is, the larger the corresponding operation amount is. For example, the operation parameter value may be an operation magnitude, and the preset value is within the operation magnitude. It will be appreciated that the operational level may be 10nw (ten thousand) represents. Wherein n may be an integer greater than or equal to 0. For example, the initial computation amount of the target function is within 100w, and if the computation magnitude of the target function in the configuration information base is set to 10w, based on the reduction rule of the target function, after the computation amount of the target function is reduced to a preset value, the preset value should be within 10w, for example, the preset value may be 15w, 30w, or 50 w. Of course, the operation parameter may be other indexes for configuring the operation amount of the target function besides the operation magnitude. In addition, in other embodiments of the present invention, the reduction rule may have other setting manners, and may be specifically set according to the actual target function.

In one embodiment of the present invention, the target function may include, but is not limited to, one or more of a word formation function, an error correction function, and a dynamic skin function. Of course, the target function may be other functions related to arithmetic, in addition to these functions. Wherein the word formation function may include an association function, for example, associating a subsequent input word based on a user-selected on-screen word. It can be understood that, when the target function includes a word formation function and/or an error correction function, after the operation amount of the word formation function and/or the error correction function is reduced, the input method can still provide intelligent word formation candidate items and/or error correction candidate items for the user, so as to help the user improve the input efficiency. As an alternative, the candidates may be reduced appropriately. For example, before the computation amount is reduced, the input method provides 6 candidates based on the input string of the user, and after the computation amount is reduced, only 3 candidates are provided; further, the candidates given by the above-mentioned association function can also be reduced appropriately.

When the target function includes a word formation function and/or an error correction function, a reduction rule of the word formation function and/or the error correction function may be set corresponding to the reserved number of word formation paths. It can be understood that the more word-forming paths remain, the greater the amount of computation to compute the conditional probability of each path through the ngram model. Accordingly, the reduction rule may be set to the number of reserved pieces of the wording path. In addition, the reserved number of the word combination path is determined by the selection number of the words corresponding to each substring in the constructed word network. Therefore, the reserved number of word forming paths can be limited by limiting the selected number of words corresponding to each substring in the word network, so that the operation amount of the word forming function and/or the error correction function is reduced. Therefore, the reduction rule may also be set to the number of selected words corresponding to each sub-string in the word network.

For example, assume that a word network includes: substrings P1{ P11, P12, P13, P14, P15, P16}, substrings P2{ P21, P22, P23, P24, P25, P26, P27, P28, P29}, substrings P3{ P31, P32, P33, P34, P35, P36, P37} and substrings P4{ P41, P42, P43, P44, P45}, at this time, if all words corresponding to each substring are reserved, a large number of word grouping paths are obtained, and the operation amount is large. Therefore, the reduction rule may be specifically set as: and reserving the first m words corresponding to each substring. And m is a positive integer and is smaller than the number of the corresponding words of the substrings with the maximum word quantity. In the above example, the substring with the largest word size is substring P2, and m is smaller than 9, and may be set to 3, 4, or 5, for example, so that the number of reserved entries of the word-forming path may be reduced, thereby reducing the operation amount of the word-forming function and/or the error correction function.

When the target function includes an error correction function, as an optional manner, the normal implementation process of the error correction function may include: after the input string input by the user is subjected to error correction processing and error correction candidates corresponding to the input string are obtained, the multivariate relation between each error correction candidate and the text is considered, the length and the depth of the semantic analysis word-taking quantity of the text are increased as much as possible based on a preset deep learning algorithm, the probability score of each error correction candidate is obtained, and therefore the error correction candidates are ranked based on the score of each error correction candidate and the ranked error correction candidates are displayed to the user. In this case, the error correction function may be a reduction rule of a multi-element phrase used for reducing the error correction function, for example, if the error correction function is normally implemented by using a five-element phrase, the error correction function may be a reduction rule of a five-element phrase into a three-element phrase, so as to reduce the amount of computation of the error correction function.

When the target function includes a dynamic skin function, the reduction rule may include a frame rate of the motion picture, such as may be set as: and reducing the frame frequency of the motion picture from the initial frame frequency to a preset frame frequency. Wherein, the frame rate refers to the number of frames or images projected or displayed per second; the initial frame frequency is the frame frequency of the corresponding dynamic image when the dynamic skin function is normally used; the preset frame frequency is less than the initial frame frequency.

In addition, in an embodiment of the present invention, in addition to the first electric quantity threshold range, a second electric quantity threshold range may be set. The electric quantity in the second electric quantity threshold range is smaller than the electric quantity in the first electric quantity threshold range, and the electric quantity in the second electric quantity threshold range can be specifically set according to actual needs. For example, in a specific application scenario, when only one first power threshold range is set, the first power threshold range may be greater than 10% and less than or equal to 20%, and the second power threshold range may be less than or equal to 10%. When two different first power threshold ranges are set, one of the first power threshold ranges may be set to be greater than 20% and less than or equal to 30%, and the other first power threshold range may be set to be greater than 10% and less than or equal to 20%; the second charge threshold range may be less than or equal to 10%.

At this time, when the current remaining power is acquired, it is necessary to determine whether the current remaining power is within the first power threshold range or within the second power threshold range. And if the current residual electric quantity is within the first electric quantity threshold value range and indicates that the current residual electric quantity is insufficient, reducing the operation quantity of the target function provided by the input method client to a preset value, so that the input method client enters a power saving mode. And if the current residual capacity is within the second capacity threshold range, indicating that the current residual capacity is seriously insufficient. Therefore, as shown in fig. 2, the method may further include the following step S103 as an alternative.

Step S103, when the current remaining power is within a second power threshold range, the target function is turned off, where the power values within the second power threshold range are all smaller than the power values within the first power threshold range. The input method client enters the next-stage power saving mode, and power consumption brought by the user using the input method client is further reduced.

When the target function includes a plurality of functions, when the current remaining power is within the second power threshold range, all the target functions may be turned off, or only some designated functions in the target functions may be turned off. For example, when the target function includes a word formation function, an error correction function, and a dynamic skin function, all of these functions may be turned off, or only the error correction function and the dynamic skin function set in advance as the specified functions may be turned off. Alternatively, in addition to turning off the target function, other specified functions provided by the input method client in addition to the basic function may be turned off. Wherein, the appointed function can be set according to actual need.

In this embodiment, for convenience of configuration, the configuration information base may further store a second electric quantity threshold range and an instruction for turning off the target function corresponding to the second electric quantity threshold range. And if the current residual electric quantity is within the second electric quantity threshold range, closing each target function based on the indication. For example, when the target function includes a word group function, an error correction function, and a dynamic skin function, if the current remaining power is within the second power threshold range, the word group function, the error correction function, and the dynamic skin function of the input method are all turned off. It can be understood that after the word formation function and the error correction function are closed, the input method client no longer provides the intelligent word formation candidate item and the error correction candidate item. After the dynamic skin function is closed, the playing of the motion picture is stopped, and only one of the pictures included in the motion picture is displayed statically, for example, the first picture or the last picture is displayed, or a preset default picture may also be displayed statically, which may be specifically set according to the needs.

For example, in a specific application scenario, a first power threshold range and a second power threshold range are set, the first power threshold range corresponds to the primary power saving mode, and the second power threshold range corresponds to the super power saving mode. When the target function includes a word formation function, an error correction function, and a dynamic skin function, the word formation function corresponds to a reduction rule a, the error correction function corresponds to a reduction rule B, and the dynamic skin function corresponds to a reduction rule C in the primary power saving mode, and the word formation function, the error correction function, and the dynamic skin function all correspond to a turn-off instruction in the super power saving mode. At this time, the information arrangement in the arrangement information base is as shown in table 1.

TABLE 1

Figure BDA0001766537240000141

Further, in an embodiment of the present invention, when the calculation amount of the target function is limited based on the configuration information base, the configuration information base may be dynamically updated based on the usage habit of the user so as not to affect the usage habit of the user as much as possible. At this time, the method further includes a step of dynamically updating the configuration information base. In this embodiment, the step of dynamically updating the configuration information base includes: and updating the reduction rule of the target function in the configuration information base based on the user behavior data which is provided by the input method client and is related to the target function.

The mobile terminal stores log data of the user input method client, and the log data can reflect the use habits of the user. Considering the function that is used by the user, if the amount of computation for limiting the function is too large, the user may be affected by using the input method client. Therefore, in this embodiment, the function used by the user may be identified by analyzing the user behavior data related to the target function in the user log, so as to correspondingly update the reduction rule of the target function in the configuration information base.

It should be noted that the execution condition of the dynamic update step of the configuration information base may be preset. The execution conditions can be specifically set according to actual needs. As an alternative, the step of dynamically updating the configuration information base may be performed at preset time intervals. The time interval can be set according to actual needs, such as 10 days, one month, one quarter, and the like.

Specifically, as shown in fig. 3, the above-mentioned dynamic update step of the configuration information base may include the following steps S201 to S203.

Step S201, obtaining user behavior data related to the target function provided by the input method client.

And screening user behavior data related to the target function from a user log provided by the input method client. It will be appreciated that each function provided by the input method client corresponds to user behavioural data. For example, when the target function includes a word formation function and an error correction function, user behavior data of the word formation function used by the user and user behavior data of the error correction function used by the user are acquired from the user log.

It will be appreciated that the user behavioural data is behavioural data for a user within a specified length of time prior to the current time. Wherein, the current time may be the time when the dynamic update step of the configuration information base is started to be executed; the specified time period may be set according to practical experience, and for example, may be set to 5 days, 10 days, 15 days, one month, or the like.

Step S202, judging whether a first specific function used by a user exists in the target functions according to preset judging conditions and the user behavior data.

In this step, the determination condition may be preset according to the user behavior data corresponding to the specific target function. Assume that the target function includes M functions, where M is an integer greater than or equal to 1. When the target function includes a plurality of functions, that is, M is greater than 1, a determination condition is set in advance for each function, and the determination conditions corresponding to different functions may be set to be the same or different.

As an alternative, the user behavior data corresponding to each function included in the target function may specifically include the number of times that the user uses the function. For example, when the target function includes a word formation function and an error correction function, the user behavior data corresponding to the word formation function may include: the number of times that the user selects the candidate word obtained by the word-forming function to be displayed on the screen, and the user behavior data corresponding to the error correction function may include: the user selects the number of times the candidate word obtained by the error correction function is on-screen.

At this time, for the word-composing function, the determination condition may be set to: the number of times the user selects a candidate word obtained by the word grouping function to be on-screen exceeds a first time threshold. That is, when the number of times that the user selects the candidate word obtained by the word formation function to be displayed on the screen exceeds the first number threshold, it is determined that the user behavior data of the word formation function satisfies the corresponding determination condition, and otherwise, it is determined that the user behavior data of the word formation function does not satisfy the corresponding determination condition. For the error correction function, the determination condition may be set to: the number of times that the user selects the candidate words obtained by the error correction function to be displayed on the screen exceeds a second number threshold. That is, when the number of times that the user selects the candidate word obtained by the error correction function to be on the screen exceeds the second number threshold, it is determined that the user behavior data of the error correction function does not satisfy the corresponding determination condition. The first time threshold and the second time threshold can be set according to specific situations.

Alternatively, for the word-composing function, the decision condition may be set to: the user selects that the frequency of the candidate words on the screen obtained by the word group function exceeds a first frequency threshold; for the error correction function, the determination condition may be set to: the frequency of the candidate words on the screen obtained by the error correction function selected by the user exceeds a second frequency threshold. Specifically, the frequency obtaining mode of the candidate word on the screen, which is obtained by the user selecting the word group function, may be: and in the specified time length, dividing the screen-on frequency of the candidate words obtained by the word-composing function selected by the user by the specified time length to obtain the selected candidate words. Similarly, the frequency of the candidate word on the screen obtained by the error correction function selected by the user can be obtained. The first frequency threshold and the second frequency threshold can be set according to specific situations.

Specifically, the determining whether the first specific function used by the user exists in the target functions may include: for each of the M functions, performing the following routine function determination steps: judging whether the user behavior data corresponding to the function meets the judgment condition corresponding to the function, and judging that the function is a first specific function used by a user when the user behavior data corresponding to the function meets the corresponding judgment condition; when the user behavior data of more than one function in the M functions meets the corresponding judgment condition, judging that a first specific function used by a user exists in the target function; and when the user behavior data of all the M functions do not meet the corresponding judgment condition, judging that the first specific function used by the user does not exist in the target function. When there is a first specific function used by the user in the target function, the following step S203 is continuously performed to update the configuration information base. And when the first specific function used by the user does not exist in the target function, the configuration information base is not continuously updated, the updating operation is finished, and the next updating operation is waited to be executed.

Step S203, if the first specific function exists, updating the reduction rule corresponding to the first specific function in the configuration information base, so that the computation amount corresponding to the reduction rule of the first specific function after updating is greater than the computation amount corresponding to the reduction rule of the first specific function before updating, and is less than or equal to the initial computation amount of the first specific function.

When the first specific function is present among the target functions, the first specific function may be one or a plurality of the target functions. When only one first specific function exists in the target functions, the reduction rule corresponding to the first specific function in the configuration information base is updated. When there are multiple first specific functions in the target function, the step of updating the reduction rule corresponding to the first specific function in the configuration information base needs to be executed for each first specific function until the update of the reduction rule corresponding to all the first specific functions in the configuration information base is completed.

It can be understood that the purpose of updating the reduction rule corresponding to the first specific function in the configuration information base is to: the limitation of the calculation amount corresponding to the first specific function in the configuration information base is relaxed, that is, for the first specific function, the calculation amount corresponding to the first specific function is increased relative to the calculation amount corresponding to the original reduction rule in the configuration information base. Therefore, the power consumption brought by the input method client side is reduced, the accuracy of the user inertial function can meet the user requirement to the greatest extent, and the influence of the accuracy reduction of the user inertial function on the user experience is reduced.

Specifically, the updating of the reduction rule corresponding to the first specific function in the configuration information base may include: acquiring a first adjustment rule corresponding to the first specific function, wherein the computation amount corresponding to the first adjustment rule is larger than the computation amount corresponding to the reduction rule of the first specific function in the configuration information base and is smaller than or equal to the initial computation amount of the first specific function; and updating the reduction rule corresponding to the first specific function in the configuration information base into the first adjustment rule.

There are various ways to obtain the first adjustment rule, and the following embodiments are mainly described in this embodiment.

First, when the reduction rule includes the operation parameter value, the first adjustment rule may be obtained by: acquiring an operation parameter value of a first specific function in a configuration information base; increasing the operation parameter value according to a first preset step length to obtain a new operation parameter value; and taking the new operation parameter value as a first regulation rule of the first specific function. The method for increasing the operation parameter value according to the first preset step length may be: and adding the first preset step length to the operation parameter value, or multiplying the operation parameter value by the first preset step length. The first preset step length can be set according to actual conditions.

Second, the first adjustment rule may be obtained by: presetting a first set, wherein the first set comprises a first adjusting rule corresponding to each function in the target functions; and searching a first adjusting rule corresponding to the first specific function in the first set.

Third, a plurality of usage level ranges may be preset for each of the target functions. For the same function, the different usage degree ranges correspond to different adjustment rules, and the adjustment rule corresponding to the range with higher usage degree has larger corresponding calculation amount. At this time, after determining the first specific function in the target functions, the first adjustment rule may be obtained by: acquiring the habitual degree of the first specific function; determining the habituation degree range to which the habituation degree belongs; and taking the adjustment rule corresponding to the usage degree range to which the usage degree belongs as a first adjustment rule of the first specific function. The usage level of the first specific function can be obtained according to the user behavior data of the first specific function within the specified time length and the preset threshold corresponding to the first specific function. For example, assuming that the designated time length is T, the user behavior data of the first specific function includes the number of times N that the user uses the first specific function within the designated time length T, and the preset threshold corresponding to the first specific function is N0The degree of habituation of the first specific function may be according to the formula:

Figure BDA0001766537240000181

thus obtaining the product.

In addition, when the target function includes a plurality of functions, in order to reduce the power consumption caused by using the input method client as much as possible, the calculation amount limit for the first specific function may be reduced, and the calculation amount limit for the other functions than the first specific function among the target functions may be increased accordingly. At this time, as shown in fig. 3, the step of dynamically updating the configuration information base may further include: the following steps S204 to S205.

Step S204, based on other functions except the first specific function in the target function, determining a second specific function.

Specifically, when the target function includes a plurality of functions, the second specific function may be any function other than the first specific function. Alternatively, some of the other functions than the first specific function described above may be set as the second specific function. Step S205 is performed for the determined second specific function. Of course, if the plurality of functions included in the target function are all the first specific functions, the second specific function does not exist, and the step S205 is not executed again.

Step S205 is to update the reduction rule corresponding to the second specific function in the configuration information base, so that the computation amount corresponding to the reduction rule of the second specific function after the update is smaller than the computation amount corresponding to the reduction rule of the second specific function before the update.

Specifically, the updating of the reduction rule corresponding to the second specific function in the configuration information base may include: acquiring a second adjustment rule corresponding to a second specific function, wherein the operand corresponding to the second adjustment rule is smaller than the operand corresponding to the reduction rule of the second specific function in the configuration information base; and updating the reduction rule corresponding to the second specific function in the configuration information base into the second adjustment rule. It should be noted that, when there are a plurality of second specific functions, the above-mentioned updating process needs to be performed for each second specific function.

In this embodiment, the second adjustment rule corresponding to the second specific function may also be preset. For example, when the target function includes a word formation function and an error correction function, a first adjustment rule corresponding to the word formation function as a first specific function and a first adjustment rule corresponding to the error correction function as the first specific function are preset respectively. Correspondingly, when any one of the word forming function and the error correction function is the first specific function and the other function is the second specific function, the other function is used as a second adjustment rule corresponding to the second specific function. In addition, the word formation function and the error correction function may be both the first specific function, and the second specific function is not present.

As an alternative, when the reduction rule includes the operation parameter value, the second adjustment rule may be obtained by: acquiring an operation parameter value of a second specific function in the configuration information base; reducing the operation parameter value according to a second preset step length to obtain a new operation parameter value; and taking the new operation parameter value as a second regulation rule of a second specific function. The method for reducing the operation parameter value according to the second preset step length may be: and subtracting the second preset step length from the operation parameter value, or dividing the operation parameter value by the second preset step length. The second preset step length may be set according to an actual situation, and may be the same as or different from the first preset step length.

It can be understood that the purpose of updating the reduction rule corresponding to the second specific function in the configuration information base is to: the limitation of the calculation amount corresponding to the second specific function in the configuration information base is increased, that is, the calculation amount corresponding to the second specific function is further reduced for the second specific function, compared with the calculation amount corresponding to the original reduction rule in the configuration information base. Therefore, the power consumption brought by the input method client side is reduced, the accuracy of the user inertial function can meet the user requirement to the greatest extent, and the influence of the accuracy reduction of the user inertial function on the user experience is reduced.

It should be noted that the steps shown in fig. 3 may occur in a different order than that shown in the figure, for example, steps S204 to S205 may also occur before step S203, or may be executed substantially simultaneously with step S203.

In order to more clearly illustrate the implementation manner of dynamic update of the configuration information base, the following takes as an example that the reduction rule of the target function in the configuration information base includes an operation magnitude, and the update process is specifically described. Assuming that the target function comprises a word forming function and an error correction function, the operation magnitude corresponding to the initial operation amount of the word forming function and the error correction function is 1000w, and the first electric quantity threshold range in the configuration information base is as follows: more than 10% and less than or equal to 20%, and the operation magnitude of the word forming function and the error correction function corresponding to the first electric quantity threshold range is 10 w. At this time, if it is detected that the current remaining power is within the first power threshold range, the computation amounts corresponding to the word formation function and the error correction function are both reduced to 10w orders of magnitude. Assume that the error correction function is a first specific function, i.e., a function used by a user, and the word formation function is a second specific function, and the first preset step length and the second preset step length are both 10. At this time, the operation magnitude of the error correction function in the configuration information base may be updated to 100w, and the operation magnitude of the word formation function in the configuration information base may be updated to 1 w. And then, if the current residual electric quantity is detected to be in the first electric quantity threshold range, reducing the operation quantity corresponding to the error correction function to be within 100w magnitude, and reducing the operation quantity corresponding to the word group function to be within 1w magnitude.

In addition, it should be noted that, after the computation amount of the target function provided by the input method client is reduced to the preset value, the method further includes: and when the situation that the mobile terminal is switched from the non-charging state to the charging state is monitored, restoring the operation amount of the target function to the initial operation amount. Similarly, if the mobile terminal is monitored to be switched from the non-charging state to the charging state after the target function is closed, the closed target function is normally opened. It should be understood that the target function is normally turned on, and is operated according to the initial calculation amount.

In this embodiment, whether the mobile terminal is switched to the charging state may be monitored by performing data interaction with a battery management application program of the system itself. Alternatively, whether the mobile terminal is switched to the charging state may be monitored through a third-party battery management application installed in the mobile terminal.

According to the application program management method provided by the embodiment of the invention, the current residual electric quantity of the mobile terminal where the input method client is located is monitored, and when the current residual electric quantity is within the preset first electric quantity threshold range, namely the current residual electric quantity is insufficient, the operation quantity of the target function is reduced to the preset value, so that when the electric quantity of the mobile terminal is insufficient, the use of the target function is maintained, the power consumption caused by the fact that a user uses an input method to type is reduced, and the technical problem that the use of the existing input method is not beneficial to the endurance of the mobile terminal is effectively solved.

Referring to fig. 4, a block diagram of an application management device according to a second embodiment of the present invention is shown. The application management device is applied to an input method client, and as shown in fig. 4, the application management device includes:

the monitoring module 410 is configured to monitor a current remaining power of the mobile terminal where the input method client is located;

the first processing module 420 is configured to reduce, when the current remaining power is within a preset first power threshold range, an operation amount of a target function provided by the input method client to a preset value, where the preset value is greater than zero.

As an optional implementation manner, the first processing module 420 is specifically configured to:

inquiring a reduction rule of the target function corresponding to the first electric quantity threshold range in a pre-stored configuration information base, and taking the inquiry result as a target reduction rule, wherein the configuration information base stores corresponding relation information of the first electric quantity threshold range and the reduction rule of the target function, and the reduction rule is used for limiting the calculation amount of the target function;

and reducing the operation amount of the target function to the preset value based on the target reduction rule.

As an optional implementation manner, the reduction rule of the target function includes an operation magnitude, and the preset value is within the operation magnitude.

As an alternative implementation, as shown in fig. 4, the application management apparatus further includes: an updating module 430, configured to update the reduction rule of the target function in the configuration information base based on the user behavior data related to the target function and provided by the input method client.

As an optional implementation manner, the update module 430 includes:

the acquisition submodule is used for acquiring user behavior data which is provided by the input method client and is related to the target function;

the judgment submodule is used for judging whether a first specific function used by a user exists in the target functions or not according to a preset judgment condition and the user behavior data;

a first updating sub-module, configured to update the reduction rule corresponding to the first specific function in the configuration information base if the determining sub-module determines that the first specific function exists, so that an operation amount corresponding to the reduction rule of the first specific function after updating is greater than an operation amount corresponding to the reduction rule of the first specific function before updating and is less than or equal to an initial operation amount of the first specific function.

As an optional implementation manner, when the target function includes a plurality of functions, the update module 430 further includes:

a determination submodule configured to determine a second specific function based on a function other than the first specific function among the target functions;

a second updating submodule, configured to update the reduction rule corresponding to the second specific function in the configuration information base, so that an operand corresponding to the reduction rule of the second specific function after the update is smaller than an operand corresponding to the reduction rule of the second specific function before the update.

As an optional implementation manner, the application management apparatus further includes: a second processing module 440, configured to close the target function when the current remaining power is within a preset second power threshold range, where power values within the second power threshold range are all smaller than power values within the first power threshold range.

As an optional implementation manner, the application management apparatus further includes:

and the third processing module is used for restoring the operand of the target function to the initial operand when the mobile terminal is monitored to be switched from the non-charging state to the charging state after the operand of the target function provided by the input method client is reduced to a preset value.

As an alternative embodiment, the target function includes one or more of a word formation function, an error correction function, and a dynamic skin function.

It should be noted that, in the application management apparatus provided in the embodiment of the present invention, the specific manner in which each module performs operations has been described in detail in the embodiment related to the method, and will not be described in detail here.

In addition, a third embodiment of the present invention provides a mobile terminal, in which an input method client is installed. The mobile terminal includes a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the mobile terminal to:

monitoring the current residual capacity of the mobile terminal;

and when the current residual electric quantity is within a preset first electric quantity threshold range, reducing the operation quantity of the target function provided by the input method client to a preset value, wherein the preset value is larger than zero.

It should be noted that, in the mobile terminal provided in the embodiment of the present invention, the specific implementation and the generated technical effect of each step are the same as those in the foregoing method embodiment, and for a brief description, for the sake of brevity, reference may be made to corresponding contents in the foregoing method embodiment for the non-mentioned part of the embodiment.

Fig. 5 is a block diagram illustrating a mobile terminal 800 according to an example embodiment. For example, the mobile terminal 800 may be a smartphone, a tablet, a laptop, an e-book reader, an MP3 player, an MP4 player, a wearable mobile device, or the like mobile device.

Referring to fig. 5, mobile terminal 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.

The processing component 802 generally controls overall operation of the mobile terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the application management method provided by the first embodiment described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.

The memory 804 is configured to store various types of data to support operation at the mobile terminal 800. Examples of such data include instructions for any application or method operating on mobile terminal 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.

Power components 806 provide power to the various components of mobile terminal 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the mobile terminal 800.

The multimedia component 808 includes a screen providing an output interface between the mobile terminal 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the mobile terminal 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the mobile terminal 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.

The sensor component 814 includes one or more sensors for providing various aspects of state assessment for the mobile terminal 800. For example, sensor assembly 814 may detect an open/closed state of mobile terminal 800, the relative positioning of components, such as a display and keypad of mobile terminal 800, sensor assembly 814 may detect a change in position of mobile terminal 800 or a component of mobile terminal 800, the presence or absence of user contact with mobile terminal 800, orientation or acceleration/deceleration of mobile terminal 800, and a change in temperature of mobile terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

The communication component 816 is configured to facilitate communications between the mobile terminal 800 and other devices in a wired or wireless manner. The mobile terminal 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

In an exemplary embodiment, the mobile terminal 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.

In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the mobile terminal 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of application management, the method comprising: monitoring the current residual electric quantity of the mobile terminal where the input method client is located; and when the current residual electric quantity is within a preset first electric quantity threshold range, reducing the operation quantity of the target function provided by the input method client to a preset value, wherein the preset value is larger than zero.

Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:应用于OLED屏幕设备的节电方法及装置、电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!