Detailed Description
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 some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problems in the related art, embodiments of the present invention provide a method and an apparatus for adjusting screen brightness, an electronic device, and a storage medium, so as to solve the problem that the prior art cannot meet the requirements of users for different screen brightness in a complex environment.
Fig. 1 is a flowchart of a method for adjusting screen brightness according to an embodiment of the present invention.
As shown in fig. 1, the method for adjusting screen brightness may specifically includesteps 110 to 120, where, first, instep 110, current usage information of a screen is obtained, where the current usage information includes a current brightness influence factor; next, instep 120, when the current brightness influence factor matches with the manual adjustment record pre-stored in the electronic device, the screen brightness is adjusted according to the target brightness value in the matched target manual adjustment record.
Wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information.
Therefore, the screen brightness can be accurately adjusted, the stimulation of screen light of the electronic equipment to eyes of a user is reduced while the requirements of the user on different screen brightness in a complex environment are met, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
The following is a detailed description of the above steps, and the specific contents are as follows:
first, referring tostep 110, in a possible embodiment, the embodiments of the present invention respectively provide a manner how to obtain a current luminance influencing factor, which may specifically include:
(1) the current brightness impact factor comprises a distance value between the electronic device and the user, whereby the step of obtaining the distance value may comprise: under the condition that the change of the attitude information and/or the motion information of the electronic equipment is detected, the Time of flight (TOF) is utilized to obtain the distance value between the electronic equipment and the user.
Here, it should be noted that, in the embodiment of the present invention, when the user starts the function of automatically adjusting the screen brightness, based on the default ambient light intensity-screen brightness curve, the electronic device may preferentially adjust to an appropriate screen brightness according to the current ambient light intensity, and simultaneously start a motion sensor (such as an acceleration sensor, a gyroscope, or the like) in the electronic device, so as to detect the posture information and/or the motion information of the electronic device of the user, so as to determine when to start the TOF for distance detection, so as to detect the distance value between the electronic device and the face of the user. Therefore, the TOF detection distance value is started at a proper time by judging the attitude information and/or the motion information acquired by combining the motion sensor, so that the power consumption influence caused by the start of the TOF is reduced as much as possible.
(2) And under the condition that the current brightness influence factor comprises the environmental information of the environment where the electronic equipment is located, acquiring the intensity of the environmental light through a photosensitive sensor in the electronic equipment, or acquiring the intensity of the environmental light through an image shot by a camera in the electronic equipment. It should be noted that the environmental information may include the intensity of the ambient light.
(3) In the case that the current brightness influence factor includes information of an application program running in the foreground of the electronic device, information of screen brightness preferred by the user when the application program a runs in the foreground is recorded, for example, an identifier of the application program a may be associated with the screen brightness value.
Referring next tostep 120, in one possible embodiment, the manual adjustment record includes a historical brightness impact factor based on the current usage information referred to instep 110, which may also include a current brightness value.
Thus,step 120 may specifically include: and under the condition that the current brightness influence factor is matched with the historical brightness influence factor, determining a target brightness value corresponding to the matched target historical brightness influence factor, and adjusting the current brightness value to be the target brightness value. Additionally, in another possible embodiment, the historical brightness impact factor includes at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located, and the information of the application program run by the foreground of the electronic equipment.
In this way, when the current brightness influence factor of the screen is acquired, the corresponding influence factor can be matched in the historical brightness influence factors so as to determine the target brightness value and adjust the screen brightness.
It should be noted that, in the embodiment of the present invention, a manner of recording manual adjustment records is provided, which is specifically as follows:
firstly, the electronic equipment can acquire behavior data of adjusting screen brightness by a user within a preset time period; and obtaining the user habit screen brightness value related to the user habit according to the behavior data.
For example, when the user in a certain environment feels that the screen brightness is not suitable and needs to be adjusted manually, the electronic device may record at least one of the following: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located, the information of the application program running in the foreground of the electronic equipment and the brightness value of the user habit screen finally dragged by the user are recorded, and therefore at least one manual regulation record is generated according to the recorded behavior data and stored locally.
The at least one manual adjustment record may include a manual adjustment record of a distance value, environment information, foreground-running application information, and a user-habit screen brightness value finally dragged by the user, or may include a manual adjustment record of a distance value, environment information, foreground-running application information, and a default screen brightness value before user adjustment. In this way, the user may be provided with a variety of options for selecting a more appropriate screen brightness. Therefore, the screen brightness of the electronic equipment is intelligently adjusted through the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the application program information operated by the foreground of the electronic equipment, and the defect that the screen brightness is adjusted by using a single parameter in the prior art can be effectively overcome. In addition, the method can cover different brightness requirements when the user views the screen at different distances or views different application programs, so that the problems that the eyes are uncomfortable and the screen brightness needs to be dragged manually due to the fact that the screen brightness is adjusted through a single parameter are solved.
In addition, in another possible embodiment, before adjusting the brightness of the screen, it may also be detected whether the brightness influence factor of the screen brightness only includes a distance value, and the specific steps are as follows:
and comparing the historical brightness influence factor with the current brightness influence factor, and detecting whether the brightness influence factor influencing the screen brightness only comprises the distance value. Next, under the condition that the brightness influence influencing the screen brightness only comprises a distance value, adjusting the current brightness value to be a target brightness value within a first preset time; under the condition that the brightness influence influencing the screen brightness is determined to comprise the distance value and the first information, the current brightness value is adjusted to be the target brightness value within second preset time; the first preset time is longer than the second preset time, and the first information comprises environment information and/or application information operated by the foreground of the electronic equipment.
In practical applications, in order to ensure that the manual adjustment record is in a state of being updated at any time, afterstep 120, the embodiment of the present invention may further include associating the current brightness influence factor with the target brightness value and/or the current brightness value to generate a new manual adjustment record; the new manual adjustment record is stored in the electronic device.
In summary, in the embodiments of the present invention, the screen brightness is intelligently adjusted from the current brightness value to the target brightness value according to the distance value between the electronic device and the user, the environment information of the environment where the electronic device is located, and the application information running in the foreground of the electronic device. Therefore, the screen brightness can be accurately adjusted, the requirements of a user on different screen brightness in a complex environment are met, the stimulation of screen light of the electronic equipment to eyes of the user is reduced, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
In order to facilitate understanding of the method provided by the embodiment of the present invention, based on the above contents, the following takes determining the target brightness value of the screen according to the distance value, the environment information, and the information of the application program running in the foreground as an example, and the method for adjusting the screen brightness provided by the embodiment of the present invention is exemplified.
Fig. 2 is a flowchart of a method for adjusting screen brightness based on a distance value and environmental information according to an embodiment of the present invention.
As shown in fig. 2, the method may include steps 210-240, as follows:
step 210, obtaining the current brightness influence factor in the current usage information.
Here, the current luminance influence factor includes a distance value between the electronic device and the user and environmental information of an environment in which the electronic device is located.
In the embodiment of the present invention, the distance value between the electronic device and the user may be obtained by using the time difference of flight TOF.
In one possible embodiment, the method comprises the steps of receiving input of a user for starting an automatic screen brightness adjusting function of the electronic equipment; in response to the input, motion sensor detection is initiated to determine whether the pose information and/or the motion information has changed. And under the condition that the change of the attitude information and/or the motion information of the electronic equipment is detected, acquiring a distance value between the electronic equipment and a user by using the time difference of flight TOF.
Wherein, whether the attitude information and the motion information change can be determined by the following method, which specifically includes:
firstly, an acceleration sensor is started to circularly detect the attitude information of the electronic equipment. When the screen of the electronic equipment is detected to face downwards, leftwards or rightwards, the user is considered to be possible to use the electronic equipment in a prone position, so that the electronic equipment is close to the face of the user, and at the moment, the feeling of the user on the screen brightness is influenced to a greater extent. Then, the gyroscope and other sensors are turned on, and the motion information of the electronic device is detected in combination with the acceleration sensor. After the electronic equipment is detected to translate and rotate to a certain degree, the distance between the electronic equipment and the user is considered to possibly change, therefore, the distance value between the electronic equipment and the user can be obtained by utilizing the time difference of flight TOF, and the distance value is used as a current brightness influence factor to participate in adjusting the screen brightness.
Of course, if it is not detected that the screen of the electronic device faces downward, leftward or rightward, the distance between the electronic device and the user is not changed,step 220 may be directly performed without using the TOF to obtain the distance value between the electronic device and the user, so that the detection frequency of the TOF may be reduced, and power consumption may be controlled.
In addition, the environment information can be acquired under the condition that the target factors influencing the screen brightness are detected.
Here, the target factor includes at least one of the following information:
(a) a factor of a change in the intensity of ambient light at a location where the electronic device is located.
For example, the ambient light intensity may be changed by a certain program, exceeding the automatically adjusted variable light or dim light intensity threshold.
(b) And changing the application program operated in the foreground of the electronic equipment.
For example, when an application running in the foreground of the electronic device is detected to change from a to B, the required ambient light intensity may also be different due to the difference between the applications running in the foreground.
(c) The factor by which the distance value changes.
Based on the above, the distance between the face of the user and the electronic device changes and is greater than a preset threshold.
Therefore, based on the above 3 possibilities, if at least one of the possibilities is changed, it is considered that the current brightness influence factor influencing the screen brightness perception of the user is changed, and the screen brightness needs to be readjusted to adapt to the user requirement.
Step 220, determining a target brightness value corresponding to the matched target historical brightness influence factor.
In a possible embodiment, if no manual adjustment record is locally stored, that is, the target brightness value is a preset brightness value, that is, a null value, the target brightness value is determined according to a mapping relationship between the preset ambient light intensity and the screen brightness, the distance value, and the environmental information.
On the contrary, in another possible embodiment, if the manual adjustment record is locally stored, the currently acquired distance value and the environment information are matched with the manual adjustment record pre-stored in the electronic device. The specific matching method can be as follows:
firstly, detecting the current brightness influence factor to be matched with the manual regulation record, and determining whether new data exists in the current brightness influence factor.
For example: in case the first distance value 10 and the first ambient light intensity 20 in the ambient information are included in the current brightness impact factor and the second distance value 10 and the second ambient light intensity 22 in the recording are manually adjusted, it is determined that there is new data in the current brightness impact factor.
Next, in case the first difference 2 between the first ambient light intensity 20 and the second ambient light intensity 22 satisfies a first preset condition, it is determined that the current brightness factor matches a pre-stored manual adjustment record.
For example: in case of new data input, the degree of matching of the first distance value with the second distance value and the first ambient light intensity with the second ambient light intensity is checked. And when the first difference is detected to be within m, determining that the current brightness factor is matched with a pre-stored manual adjustment record. Wherein m is a number greater than 0.
Otherwise, if the first difference is not within m, determining that the current brightness factor is not matched with the pre-stored manual adjustment record.
In addition, on the premise that the current brightness influence factor is detected and matched with the manual regulation record and no new data exists in the current brightness influence factor, the target brightness value in the record is manually regulated according to the matched target.
It should be noted that the first preset condition, such as m, mentioned above can be dynamically adjusted for the following reasons:
when the user uses the same application program, when the two distance values with the first difference value larger than m are dragged to the similar brightness value, the brightness difference felt by the user at the two distances is considered to be not large, and the m value can be increased properly. On the contrary, at a distance where the first difference is smaller than m, if the difference between the two dragged luminances is large, the value of m is appropriately reduced.
Instep 230, it is detected whether the brightness influence factor influencing the screen brightness only includes a distance value.
And 240, manually adjusting the brightness value of the target in the record according to the matched target, and adjusting the brightness of the screen.
In the case where it is determined that the luminance influence affecting the screen luminance includes only the distance value, the current luminance value is adjusted to the target luminance value within the first preset time. On the contrary, in the case that it is determined that the luminance influence affecting the screen luminance includes the distance value and the first information, the current luminance value is adjusted to the target luminance value within a second preset time.
The first preset time is longer than the second preset time, and the first information comprises environment information.
Here, if the brightness adjustment is only affected by the distance value, the screen brightness is set at a relatively slow fade rate so as not to be obtrusive as the user easily perceives the sudden change in brightness.
Therefore, when the environment information where the user is located changes or switches to another application program, the screen brightness may need to be readjusted. And matching the current environment information and the distance value with the manual adjustment record, and adjusting the screen brightness according to the target brightness value in the matched target manual adjustment record under the condition that the current brightness influence factor is matched with the manual adjustment record prestored in the electronic equipment. Otherwise, if the matching fails, the automatic brightness adjustment is carried out only according to the current environment information and the distance value.
The method realizes the function of intelligently adjusting the screen brightness by combining the distance value between the face of the user and the electronic equipment and the environmental information, can reduce the times of dragging the brightness by the user, improves the use experience, reduces the TOF detection frequency as far as possible on the basis, and controls the power consumption.
Based on the above screen brightness adjustment method, an embodiment of the present invention further provides an electronic device, which is described in detail below with reference to fig. 3.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 3, theelectronic device 30 may specifically include:
an obtainingmodule 301, configured to obtain current usage information of the screen, where the current usage information includes a current brightness influence factor.
And theprocessing module 302 is configured to, when the current luminance impact factor matches a manual adjustment record pre-stored in the electronic device, adjust the screen luminance according to a target luminance value in the matched target manual adjustment record.
Wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information.
Specifically, the obtainingmodule 301 in the embodiment of the present invention is specifically configured to, when detecting that the posture information and/or the motion information of the electronic device changes, obtain a target distance between the electronic device and the user by using the time difference of flight TOF.
In a possible embodiment, the current usage information further comprises a current brightness value and the manual adjustment record comprises a historical brightness impact factor. Based on this, theprocessing module 302 is specifically configured to, in a case that the current luminance influencing factor matches the historical luminance influencing factor, determine a target luminance value corresponding to the matched target historical luminance influencing factor, and adjust the current luminance value to the target luminance value.
In addition, theelectronic device 30 in the embodiment of the present invention further includes a detectingmodule 303, configured to compare the historical luminance influencing factor with the current luminance influencing factor, and detect whether the luminance influencing factor influencing the screen luminance only includes the distance value.
Based on this, theprocessing module 302 in this embodiment of the present invention is specifically configured to, in a case that it is determined that the brightness influence factor influencing the screen brightness only includes the distance value, adjust the current brightness value to the target brightness value within the first preset time. And in the case that it is determined that the brightness influence factor influencing the screen brightness includes the distance value and the first information, adjusting the current brightness value to the target brightness value within a second preset time.
The first preset time is longer than the second preset time, and the first information comprises environment information and/or application information operated by the foreground of the electronic equipment.
In addition, theelectronic device 30 in the embodiment of the present invention further includes astorage module 304, configured to associate the current brightness influence factor with the target brightness value and/or the current brightness value, and generate a new manual adjustment record; the new manual adjustment record is stored in the electronic device.
In summary, in the embodiment of the present invention, when the obtained current luminance impact factor of the screen matches a manual adjustment record stored in the electronic device in advance, the screen luminance is adjusted according to a target luminance value in the matched target manual adjustment record, where the current luminance impact factor includes at least one of the following contents: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information. Therefore, the screen brightness can be accurately adjusted, the stimulation of screen light of the electronic equipment to eyes of a user is reduced while the requirements of the user on different screen brightness in a complex environment are met, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Theelectronic device 400 includes, but is not limited to:radio frequency unit 401,network module 402,audio output unit 403,input unit 404,sensor 405,display unit 406,user input unit 407,interface unit 408,memory 409,processor 410, andpower supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, theprocessor 410 is configured to obtain current usage information of the screen, where the current usage information includes a current brightness influence factor.
Theprocessor 410 is further configured to, in a case where the current brightness influence factor matches a manual adjustment record stored in the electronic device in advance, adjust the screen brightness according to a target brightness value in the matched target manual adjustment record.
Wherein the current brightness impact factor comprises at least one of: the distance value between the electronic equipment and the user, the environment information of the environment where the electronic equipment is located and the information of the application program run by the foreground of the electronic equipment; the manual adjustment record includes a record associated with the current usage information.
Therefore, the screen brightness can be accurately adjusted, the stimulation of screen light of the electronic equipment to eyes of a user is reduced while the requirements of the user on different screen brightness in a complex environment are met, the times of manual brightness adjustment of the user can be reduced, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, theradio frequency unit 401 may be used for receiving and transmitting signals during a message transmission or a call. Typically,radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, theradio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via thenetwork module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
Theaudio output unit 403 may convert an audio resource received by theradio frequency unit 401 or thenetwork module 402 or stored in thememory 409 into an audio signal and output as sound. Also, theaudio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 404 is used to receive audio or video signals. Theinput Unit 404 may include a Graphics Processing Unit (GPU) 4041 and amicrophone 4042, and theGraphics processor 4041 processes an image resource of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on thedisplay unit 407. The image frames processed by thegraphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via theradio frequency unit 401 or thenetwork module 402. Themicrophone 4042 may receive sound and be capable of processing such sound into an audio asset. The processed audio resources may be converted into a format output transmittable to a mobile communication base station via theradio frequency unit 401 in case of the phone call mode.
Theelectronic device 400 also includes at least onesensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of thedisplay panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off thedisplay panel 4061 and/or the backlight when theelectronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); thesensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
Thedisplay unit 406 is used to display information input by the user or information provided to the user. TheDisplay unit 406 may include aDisplay panel 4061, and theDisplay panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, theuser input unit 407 includes atouch panel 4071 andother input devices 4072.Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or neartouch panel 4071 using a finger, a stylus, or any suitable object or attachment). Thetouch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 410, receives a command from theprocessor 410, and executes the command. In addition, thetouch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to thetouch panel 4071, theuser input unit 407 may includeother input devices 4072. Specifically, theother input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, thetouch panel 4071 can be overlaid on thedisplay panel 4061, and when thetouch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to theprocessor 410 to determine the type of the touch event, and then theprocessor 410 provides a corresponding visual output on thedisplay panel 4061 according to the type of the touch event. Although in fig. 4, thetouch panel 4071 and thedisplay panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, thetouch panel 4071 and thedisplay panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
Theinterface unit 408 is an interface for connecting an external device to theelectronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless resource port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Theinterface unit 408 may be used to receive input (e.g., resource information, power, etc.) from an external device and transmit the received input to one or more elements within theelectronic apparatus 400 or may be used to transmit resources between theelectronic apparatus 400 and the external device.
Thememory 409 may be used to store software programs as well as various resources. Thememory 409 may mainly include a storage program area and a storage resource area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage resource area may store resources (such as audio resources, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, thememory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Theprocessor 410 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions and processing resources of the electronic device by running or executing software programs and/or modules stored in thememory 409 and calling resources stored in thememory 409, thereby performing overall monitoring of the electronic device.Processor 410 may include one or more processing units; preferably, theprocessor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into theprocessor 410.
Theelectronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, thepower supply 411 may be logically connected to theprocessor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, theelectronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed in a computer, the computer is caused to execute the step of adjusting the screen brightness according to the embodiments of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.