Patent Publication Number: US-2016239071-A1

Title: Screen brightness regulation method and apparatus, and storage medium

Description:
TECHNICAL FIELD 
     The disclosure relates to display technology and, in particular, to a method and apparatus for adjusting screen brightness, and a storage medium. 
     BACKGROUND 
     With the continuous development and progress of science and technology, the functions of a terminal are more and more, including such as a photographing function, a handwriting function, a music playing function, a video call function and a terminal television function. The terminal is developed from a common terminal to a smart terminal. However, the more the functions of the terminal are, the more the power is consumed. Thus, how to prolong the standby time of the terminal becomes a technical problem to be solved to facilitate the rapid development of the terminal. 
     With the increasingly complicated and powerful functions, more and more terminals with large screens emerge. However, the larger the screen of the terminal is, the higher the power consumption is. A common terminal uses a Light Emitting Diode (LED) screen or a Liquid Crystal Display (LCD) screen. When the terminal is operated, the liquid crystal screen will be lighted, and the backlight of the liquid crystal screen will be triggered. Thus, the power of a battery will be consumed after the screen is lighted for a long time. Particularly, in case of low power of the battery, if the whole screen is still lighted, the power consumption of the battery will be accelerated. 
     There are many modes of saving the power of the terminal currently, such as, by using power-saving materials, by running programs on the background, and by differentiating the daytime and night. In addition, there is also a method for saving the power with respect to part of display areas. Although these methods can achieve the power saving, users participate too much, and the effect of power saving is not obvious enough. 
     SUMMARY 
     The embodiments of the disclosure are intended to provide a method and apparatus for adjusting screen brightness, and a storage medium, which can save the power of a terminal. 
     According to one aspect of the disclosure, a method for adjusting screen brightness is provided, which includes that: 
     a current battery power value and a current screen brightness value of a terminal are acquired; 
     a target screen brightness range suitable for the acquired current battery power value is selected by taking the current screen brightness value as a baseline; and 
     a screen brightness value corresponding to the current battery power value is selected according to power consumption values corresponding to all selected brightness values in the target screen brightness range, and display is performed according to the selected screen brightness value. 
     Preferably, the method may further include that: 
     a minimum screen brightness value and a maximum screen brightness value of the terminal are acquired; and 
     at least two screen brightness values are selected at equal intervals incrementally or degressively in a range from the acquired minimum screen brightness value to the acquired maximum screen brightness value of the terminal, and a plurality of power consumption values corresponding to the at least two screen brightness values are calculated respectively. 
     Preferably, the step that the target screen brightness range suitable for the acquired current battery power value is selected by taking the current screen brightness value as the baseline may include that: 
     when the acquired current battery power value is not lower than a set threshold value, a brightness range higher than the current screen brightness value is selected as the target screen brightness range; and 
     when the acquired current battery power value is lower than the set threshold value, a brightness range lower than the current screen brightness value is selected as the target screen brightness range. 
     Preferably, the step that the screen brightness value corresponding to the current battery power value is selected according to the power consumption values corresponding to all the selected brightness values in the target screen brightness range and display is performed according to the selected screen brightness value may include that: 
     power consumption values corresponding to at least two screen brightness values selected in the target screen brightness range are acquired, and power consumption difference values between the power consumption values corresponding to every two adjacent screen brightness values are calculated; 
     a first list is established according to the at least two screen brightness values in the target screen brightness range and the corresponding power consumption difference values; and 
     a screen brightness value corresponding to a minimum power consumption difference value is selected from the first list, and the screen brightness is used for display according to the selected screen brightness value. 
     Preferably, the step that the screen brightness value corresponding to the current battery power value is selected according to the power consumption values corresponding to all the selected brightness values in the target screen brightness range and display is performed according to the selected screen brightness value may include that: 
     a first curve graph is established according to the selected screen brightness values and the power consumption values corresponding to the screen brightness values; 
     the established first curve graph is converted into at least two function straight lines; and 
     a straight line with a minimum slope is found, a screen brightness with the smallest difference from the current screen brightness value is selected on the straight line with the minimum slope, and display is performed according to the selected screen brightness value. 
     According to another aspect of the disclosure, an apparatus for adjusting screen brightness is provided, which includes: 
     an acquisition module, configured to acquire a current battery power value and a current screen brightness value of a terminal; 
     a screen brightness range selection module, configured to select a target screen brightness range suitable for the acquired current battery power value by taking the current screen brightness value as a baseline; and 
     a screen brightness value determination module, configured to select a screen brightness value corresponding to the current battery power value according to power consumption values corresponding to all selected brightness values in the target screen brightness range, and display according to the selected screen brightness value. 
     Preferably, the apparatus may further include: 
     a screen brightness value and power consumption value acquisition module, configured to acquire a minimum screen brightness value and a maximum screen brightness value of the terminal, select at least two screen brightness values at equal intervals incrementally or degressively in a range from the acquired minimum screen brightness value to the acquired maximum screen brightness value of the terminal, and calculate power consumption values corresponding to the at least two screen brightness values. 
     Preferably, the screen brightness range selection module may be further configured to select a brightness range higher than the current screen brightness value as the target screen brightness range when the acquired current battery power value is not lower than a set threshold value, and select a brightness range lower than the current screen brightness value as the target screen brightness range when the acquired current battery power value is lower than the set threshold value. 
     Preferably, the screen brightness value determination module may include: 
     an power consumption difference value calculation sub-module, configured to select at least two screen brightness values in the target screen brightness range, acquire power consumption values corresponding to all selected brightness values, and calculate an power consumption difference value between the power consumption values corresponding to every two adjacent screen brightness values; 
     a first list establishment sub-module, configured to establish and save a first list according to the at least two screen brightness values in the target screen brightness range and the corresponding power consumption difference values; and 
     a determination sub-module, configured to select a screen brightness value corresponding to a minimum power consumption difference value from the first list, and display according to the selected screen brightness value. 
     Preferably, the screen brightness value determination module may further include: 
     a first curve graph establishment sub-module, configured to select at least two screen brightness values in the target screen range, acquire power consumption values corresponding to all selected brightness values, and establish a first curve graph; 
     a conversion sub-module, configured to convert the established first curve graph into at least two function straight lines; and 
     a determination sub-module, configured to find a straight line with a minimum slope, select a screen brightness value with the smallest difference from the screen brightness value on the straight line with the minimum slope, and display according to the selected screen brightness value. 
     An embodiment of the disclosure also discloses a computer storage medium having computer executable instructions stored therein. The computer executable instructions are used for executing the above-mentioned method for adjusting screen brightness. 
     The embodiments of the disclosure provide the method and apparatus for adjusting screen brightness, and the storage medium. The method includes that: the current battery power value and the current screen brightness value of the terminal are acquired; the target screen brightness range suitable for the acquired current battery power value is selected by taking the current screen brightness value as the baseline; and the screen brightness value corresponding to the current battery power value is selected according to power consumption values corresponding to all selected brightness values in the target screen brightness range, and the screen brightness is used for displaying according to the selected screen brightness value. By means of the technical solutions in the embodiments of the disclosure, a brightness range is selected in real time according to current battery power, a point with a minimum differential value on the first curve graph is selected in the brightness range as the screen brightness value, so as to achieve power saving. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is a flowchart showing a method for adjusting screen brightness according to an embodiment of the disclosure; 
         FIG. 2  is a diagram illustrating an apparatus for adjusting screen brightness according to an embodiment of the disclosure; 
         FIG. 3  is a flowchart showing implementation for scanning optimum power saving according to an embodiment of the disclosure; 
         FIG. 4  is a curve graph of screen brightness-power consumption according to an embodiment of the disclosure; 
         FIG. 5  is a flowchart showing a method for adjusting screen brightness implemented by a look-up table method according to an embodiment of the disclosure; and 
         FIG. 6  is a flowchart showing a method for adjusting screen brightness implemented by a function method according to an embodiment of the disclosure. 
     
    
    
     DETAILED DESCRIPTION 
     The preferred embodiments of the disclosure are described below with reference to the drawings in detail. It should be understood that the preferred embodiments described below are only intended to describe and explain the disclosure, and are not intended to limit the disclosure. 
       FIG. 1  is a flowchart showing a method for adjusting screen brightness according to an embodiment of the disclosure. As shown in  FIG. 1 , the method includes the steps as follows. 
     At Step S 101 , a current battery power value and a current screen brightness value of a terminal are acquired. 
     At Step S 102 , a target screen brightness range suitable for the acquired current battery power value is selected by taking the current screen brightness value as a baseline. 
     Here, when the acquired current battery power value is not lower than a set threshold value, a brightness range higher than the current screen brightness value is selected as the target screen brightness range. When the acquired current battery power value is lower than the set threshold value, a brightness range lower than the current screen brightness value is selected as the target screen brightness range. 
     At Step S 103 , a screen brightness value corresponding to the current battery power value is selected according to power consumption values corresponding to all selected brightness values in the target screen brightness range, and screen brightness is used for display according to the selected screen brightness value. 
     In the embodiment of the disclosure, the method further includes that: a minimum screen brightness value and a maximum screen brightness value of the terminal are acquired; and at least two screen brightness values are selected at equal intervals incrementally or degressively in a range from the acquired minimum screen brightness value to the acquired maximum screen brightness value of the terminal, and power consumption values corresponding to the at least two screen brightness values are calculated respectively. 
     Herein, the step that the screen brightness value corresponding to the current battery power value is selected according to the power consumption values corresponding to all the selected brightness values in the target screen brightness range and the screen brightness is used for displaying according to the selected screen brightness value includes that: at least two screen brightness values are selected in the target screen brightness range, power consumption values corresponding to all selected screen brightness values are acquired, and power consumption difference values between the power consumption values corresponding to every two adjacent screen brightness values is calculated; a first list namely a screen brightness value-power consumption difference value table is established and saved according to the at least two screen brightness values in the target screen brightness range and the corresponding power consumption difference values; and a screen brightness value corresponding to a minimum power consumption difference value is selected in the screen brightness value-power consumption difference value table, and the screen brightness is used for displaying according to the screen brightness value. 
     Herein, the step that the screen brightness value corresponding to the current battery power value is selected according to the power consumption values corresponding to all the selected brightness values in the target screen brightness range and the screen brightness is used for displaying according to the selected screen brightness value further includes that: at least two screen brightness values are selected in the target screen brightness range, power consumption values corresponding to all selected screen brightness values are acquired, and a first curve graph namely a screen brightness value-power consumption value curve graph is established; the established screen brightness value-power consumption value curve graph is converted into at least two function straight lines; and a straight line with a minimum slope is found, a screen brightness value with the smallest difference from the screen brightness value is selected on the straight line with the minimum slope, and the screen brightness is used for displaying according to the selected screen brightness value. 
       FIG. 2  is a diagram illustrating an apparatus for adjusting screen brightness according to an embodiment of the disclosure. As shown in  FIG. 2 , the apparatus includes: an acquisition module  201 , a screen brightness range selection module  202  and a screen brightness value determination module  203 . 
     The acquisition module  201  is configured to acquire a current battery power value and a current screen brightness value of a terminal. The screen brightness range selection module  202  is configured to select a target screen brightness range suitable for the acquired current battery power value by taking the current screen brightness value as a baseline. 
     The screen brightness value determination module  203  is configured to select a screen brightness value corresponding to the current battery power value according to power consumption values corresponding to all selected brightness values in the target screen brightness range, and display with screen brightness according to the selected screen brightness value. 
     In the embodiment of the disclosure, the apparatus further includes: 
     a screen brightness value and power consumption value acquisition module  204 , configured to acquire a minimum screen brightness value and a maximum screen brightness value of the terminal, select at least two screen brightness values at equal intervals incrementally or degressively in a range from the acquired minimum screen brightness value to the acquired maximum screen brightness value of the terminal, and calculate power consumption values corresponding to the at least two screen brightness values. 
     Preferably, the screen brightness range selection module  202  is further configured to select a brightness range higher than the current screen brightness value as the target screen brightness range when the acquired current battery power value is not lower than a set threshold value, and select a brightness range lower than the current screen brightness value as the target screen brightness range when the acquired current battery power value is lower than the set threshold value. 
     Preferably, the screen brightness value determination module  203  includes: 
     a power consumption difference value calculation sub-module, configured to select at least two screen brightness values in the target screen brightness range, acquire power consumption values corresponding to all selected brightness values, and calculate power consumption difference values between the power consumption values corresponding to every two adjacent screen brightness values; 
     a first list establishment sub-module, configured to establish and save a first list namely a screen brightness value-power consumption difference value table according to the at least two screen brightness values in the target screen brightness range and the corresponding power consumption difference values; and 
     a determination sub-module, configured to select a screen brightness value corresponding to a minimum power consumption difference value from the screen brightness value-power consumption difference value table, and display with the screen brightness according to the selected screen brightness value. 
     Preferably, the screen brightness value determination module  203  further includes: 
     a first curve graph establishment sub-module, configured to select at least two screen brightness values in the target screen range, acquire power consumption values corresponding to all selected brightness values, and establish a first curve graph namely a curve graph of screen brightness value-power consumption value; 
     a conversion sub-module, configured to convert the established curve graph of screen brightness value-power consumption value into at least two function straight lines; and 
     a determination sub-module, configured to find a straight line with a minimum slope, select a screen brightness value with the smallest difference from the screen brightness value on the straight line with the minimum slope, and display with the screen brightness according to the selected screen brightness value. 
     In practice, the acquisition module  201 , the screen brightness range selection module  202 , the screen brightness value determination module  203  and the screen brightness value and power consumption value acquisition module  204  can be realized by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro-Processor Unit (MPU), a Field-Programmable Gate Array (FPGA) or the like. The CPU, the DSP, the MPU and the FPGA can be arranged in a terminal such as a mobile terminal. 
       FIG. 3  is a flowchart showing implementation for scanning optimum power saving according to an embodiment of the disclosure. As shown in  FIG. 3 , an android operating system of a terminal is taken an example, and other operating systems of other terminals are similar to the android operating system of the terminal. 
     After logging in the system of the terminal, a user can directly use a terminal if the terminal can provide a curve graph of screen brightness value-power consumption value (which may be provided by some manufacturers). If the curve graph of screen brightness value-power consumption value is not provided, a minimum screen brightness value (in case that a screen is not lighted) and a maximum screen brightness value (maximum brightness supported by the terminal) are set, and then multiple (100 or 1000) screen brightness values are selected at equal intervals between the maximum screen brightness value and the minimum screen brightness value in a mode that the brightness evenly and progressively increases and decreases. The power consumption situation corresponding to each of screen brightness values is scanned in sequence from no lighting of the screen to maximum lighting of the screen, and each of the screen brightness values and a corresponding power consumption value are recorded. As shown in  FIG. 4 , a screen brightness value range (a horizontal axis in  FIG. 4  is a brightness value range) of an LCD is [0-255], where 0 and 255 correspond to the minimum screen brightness value and the maximum screen brightness value respectively (a longitudinal axis in  FIG. 4  is a screen brightness value range). Power consumption values of the system corresponding to 256 brightness levels will be tested for each type of mobile terminals, and a screen brightness value-power consumption value table is established and saved. 
     An application module implementing the above-mentioned functions can be specifically named a Lowest Power Light (LPL). 
       FIG. 5  is a flowchart showing a method for adjusting screen brightness implemented by a look-up table method according to an embodiment of the disclosure. As shown in  FIG. 5 , the method includes the steps as follows. 
     At Step S 501 , a current battery power value is acquired via a system power acquiring interface. 
     In the android operating system, the current battery power value can be acquired by registering and receiving a power change broadcast message. 
     At Step S 502 , a current screen brightness value is acquired via a relevant interface of a photo-sensor of the system. 
     In the android operating system, a current automatic photosensitive screen brightness value can be acquired from a photosensitive drive program. 
     At Step S 503 , a screen brightness range is selected according to the current battery power value and the current screen brightness value. 
     At Step S 504 , at least two screen brightness values are selected in the screen brightness range, difference values between power consumption values corresponding to every two adjacent screen brightness values are calculated, and a minimum power consumption difference value is acquired. 
     The minimum screen brightness value corresponding to no lighting of the screen of a mobile device and the maximum screen brightness value corresponding to maximum brightness are acquired. The brightness values between the minimum screen brightness value and the maximum screen brightness value are divided into, for example, 100 or 1000 parts at equal intervals. The power consumption situation corresponding to each of the screen brightness values is scanned in sequence from no lighting of the screen to maximum lighting of the screen (via current change), and the difference values between the power consumption values corresponding to every two adjacent screen brightness values are recorded as, for example, LB. As shown in Table 1, the terminal establishes a screen brightness value-power consumption difference value table used for storing multiple (100 or 1000) screen brightness values and the corresponding power consumption difference values LB (for example, if the power consumption is 0.25 ma when the screen brightness value is 40 and the power consumption is 0.27 ma when the brightness value is 41, an LB value is 0.27−0.25=0.02 ma and is recorded as 41−0.02). 
     
       
         
           
               
             
               
                 TABLE 1 
               
             
            
               
                   
               
               
                 screen brightness value-power consumption difference value table 
               
            
           
           
               
               
            
               
                 Screen brightness value 
                 Power consumption difference value LB 
               
               
                   
               
               
                 . . . 
                 . . . 
               
               
                 . . . 
                 . . . 
               
               
                 . . . 
                 . . . 
               
               
                 550 
                 0.92 
               
               
                 551 
                 0.83 
               
               
                 552 
                 0.82 
               
               
                 553 
                 1.12 
               
               
                 554 
                 1.06 
               
               
                 555 
                 1.02 
               
               
                 556 
                 0.99 
               
               
                 557 
                 1.05 
               
               
                 558 
                 1.02 
               
               
                 559 
                 1.12 
               
               
                 560 
                 1.08 
               
               
                 561 
                 1.01 
               
               
                 . . . 
                 . . . 
               
               
                 . . . 
                 . . . 
               
               
                 . . . 
                 . . . 
               
               
                   
               
            
           
         
       
     
     At Step S 505 , a screen brightness value corresponding to a minimum LB among the power consumption difference values is set as a system screen display brightness value. 
       FIG. 6  is a flowchart showing a method for adjusting screen brightness implemented by a function method according to an embodiment of the disclosure. As shown in  FIG. 6 , the method includes the steps as follows. 
     At Step S 601 , a current battery power value is acquired via a system power acquiring interface. 
     In the android operating system, battery power can be acquired by registering and receiving a power change broadcast message. 
     At Step S 602 , a current screen brightness value is acquired via a relevant interface of a photo-sensor of the system. 
     In the android operating system, a current automatic photosensitive screen brightness value can be acquired from a photosensitive drive program. 
     At Step S 603 , a screen brightness range is selected according to the current battery power value and the current screen brightness value. 
     At Step S 604 , a curve graph of screen brightness value-power consumption value is established according to power consumption values corresponding to all selected screen brightness values in the screen brightness range; the established curve graph of screen brightness value-power consumption value is converted into at least two function straight lines; and affiliated straight line equations of all screen brightness values in the screen brightness range on a function graph are searched, and then selection is performed by following a principle of selecting a straight line equation with a minimum slope k value among all the straight line equations, selecting a straight line, and selecting a point on the straight line, wherein an absolute value of a difference value between the point and the current screen brightness value is minimum. 
     The minimum screen brightness value corresponding to no lighting of the screen of the mobile device and the maximum screen brightness value corresponding to maximum brightness are acquired. The brightness values between the minimum screen brightness value and the maximum screen brightness value are divided into, for example, 100 or 1000 parts at equal intervals. The power consumption situation corresponding to each of the screen brightness values is scanned in sequence from no lighting of the screen to maximum lighting of the screen (via current change), each of the screen brightness values and the corresponding power consumption value are recorded once, and a curve graph of screen brightness value-power consumption value is established and saved. A screen brightness value-power consumption value between two points is expressed by using a straight line expression, functions corresponding to all points are expressed by connecting multiple segments of straight lines which are short enough, and a function (a segmented function, each segment being a straight line) about the screen brightness value-power consumption value of the terminal is derived. 
     In view of some actually-acquired data, the screen brightness value-power consumption value of the LCD is not linear but curved. However, in view of differential, the curve is actually composed of multiple segments of straight lines which are short enough. It is supposed that the straight line function is Y=kx+b, where Y is a voltage, x is a screen brightness value, b is a compensation coefficient and k is a slope. The slope k and the compensation coefficient b are different for different types of LCDs and even in different brightness ranges which are divided into, for example, 100, 1000 or more ranges according to the fine granularity of brightness. Thus, each small-enough range can be regarded as a straight line of which the slope is k, and the corresponding compensation coefficient is adjusted for each small-enough range. 
     A relevant formula is derived via data to acquire a straight line equation in each of the screen brightness ranges. 
     The screen brightness value set for the system screen is described below with reference to a specific embodiment. It is assumed that several following groups of data are acquired with a format of the screen brightness value-power consumption value, and a maximum error is set as 0.05. 
     1-3.1 2-5.2 3-7.32 4-9.48 5-11.6 
     A straight line can be determined by two points, and an equation (y=2.1x+1) can be acquired by 1-3.1 and 2-5.2. 
     For 3-7.32, x=3 is substituted into the above-mentioned equation to acquire y (y=7.3), and an error between 7.3 and 7.32 is 0.02, which is smaller than 0.05, in an acceptable range. 
     For 4-9.48, x=4 is substituted into the above-mentioned equation to acquire y (y=9.4), and an error between 9.4 and 9.48 is 0.08, which is greater than 0.05, so it is determined that the point 4-9.48 is not on the straight line. A next calculation method is similar to the above-mentioned calculation method, and a new straight line equation is constituted by using 4-9.48 and 5-11.6. 
     After the relationship between screen brightness values and power consumption values (current) is determined, a freely moving screen brightness range will be selected according to the current battery power. For example, in the case that the battery power is lower than a set threshold value, the screen brightness range moves to a low range on the premise that a current automatic brightness value is in the moving range. If the current screen brightness value is set as x, the screen brightness range can be set as [x−6, x]. When the battery power is not lower than the threshold value, the screen brightness range moves to a high range. If the current screen brightness value is set as x, the screen brightness range can be set as [x, x+5]. It is judged which straight line equations are included by all screen brightness values in the screen brightness range on the function graph, and then selection is performed by following a principle of selecting a straight line equation with a minimum slope k value among all the straight line equations, selecting a straight line, and selecting a point on the straight line, wherein an absolute value of a difference value between the point and the current screen brightness value is minimum. Herein, the threshold value can be flexibly set according to a practical application situation. 
     An example is taken below. For example, a current screen brightness value is 100 and the current battery power is as high as 86%. A screen brightness range is set as [100, 105]. According to a previous function generation process, it is assumed that there are three straight lines between 100 and 105, for example: 
     the points of which screen brightness values range from 98 to 101 are located on a straight line y=1.58x+0.8, 
     the points of which screen brightness values are 102 and 103 are located on a straight line y=1.52x+1.2, and 
     the points of which screen brightness values range from 104 to 108 are located on a straight line y=1.6x−2.1. 
     Thus, the straight line slope of the straight line where the two points 102 and 103 are located is the smallest. 
     Due to the fact that a difference value between 102 and 100 is smaller than a difference value between 103 and 100 in the two points 102 and 103, the screen brightness value of the system screen at this time will be set as 102. 
     At Step S 605 , the screen brightness value of the point is set as system brightness. 
     An embodiment of the disclosure also provides a computer storage medium having computer executable instructions stored therein. The computer executable instructions are used for executing the above-mentioned method for adjusting screen brightness. 
     To sum up, the embodiments of the disclosure provide the method and apparatus for adjusting screen brightness, and the storage medium. The method includes that: the current battery power value and the current screen brightness value of the terminal are acquired; the target screen brightness range suitable for the acquired current battery power value is selected by taking the current screen brightness value as the baseline; and the screen brightness value corresponding to the current battery power value is selected according to power consumption values corresponding to all selected brightness values in the target screen brightness range, and the screen brightness is used for displaying according to the selected screen brightness value. By means of the technical solutions in the embodiments of the disclosure, a screen display brightness value can be adjusted via the current battery power of the terminal, thereby achieving the power saving and improving user experience. 
     Those skilled in the art should understand that the embodiments of the disclosure can provide a method, a system or a computer program product. Thus, the hardware, the software or the combination thereof can be adopted in the disclosure. Moreover, a form of the computer program product implemented on one or more computer available storage media (including, but not limited to, a disk memory, an optical memory or the like) containing computer available program codes can be adopted in the disclosure. 
     The disclosure is described with reference to flowcharts and/or block diagrams of the method, the device (system) and the computer program product according to the embodiments of the disclosure. It should be understood that each flow and/or block in the flowcharts and/or the block diagrams and a combination of the flows and/or the blocks in the flowcharts and/or the block diagrams can be realized by computer program instructions. These computer program instructions can be provided for a general computer, a dedicated computer, an embedded processor or processors of other programmable data processing devices to generate a machine, so that an apparatus for realizing functions assigned in one or more flows of the flowcharts and/or one or more blocks of the block diagrams is generated via instructions executed by the computers or the processors of the other programmable data processing devices. 
     These computer program instructions can also be stored in a computer readable memory capable of causing the computers or the other programmable data processing devices to work in a specific mode, so that a manufactured product including an instruction apparatus is generated via the instructions stored in the computer readable memory, and the instruction apparatus realizes the functions assigned in one or more flows of the flowcharts and/or one or more blocks of the block diagrams. 
     These computer program instructions can also be loaded to the computers or the other programmable data processing devices, so that processing realized by the computers is generated by executing a series of operation steps on the computers or the other programmable devices, and therefore the instructions executed on the computers or the other programmable devices provide the steps of realizing the functions assigned in one or more flows of the flowcharts and/or one or more blocks of the block diagrams. 
     Although the disclosure is described in detail, the disclosure is not limited thereto. Those skilled in the art can make modifications according to the principle of the disclosure. Thus, various modifications made according to the principle of the disclosure should be interpreted as falling within the protection scope of the disclosure.