patents.google.com

CN111133746A - Camera focusing method, mobile terminal and computer readable storage medium - Google Patents

  • ️Fri May 08 2020

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

As shown in fig. 1, fig. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention.

The mobile terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Audio Layer 3 of dynamic video Experts compression standard), an MP4 (Moving Picture Experts Group Audio Layer IV, Audio Layer 4 of dynamic video Experts compression standard), a portable computer, and the like.

As shown in fig. 1, the mobile terminal may include: a

processor

1001, such as a CPU, a

network interface

1004, a

user interface

1003, a

memory

1005, a

communication bus

1002. Wherein a

communication bus

1002 is used to enable connective communication between these components. The

user interface

1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the

optional user interface

1003 may also include a standard wired interface, a wireless interface. The

network interface

1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The

memory

1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The

memory

1005 may alternatively be a storage device separate from the

processor

1001.

Optionally, the mobile terminal may further include a camera, a RF (radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.

Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

As shown in fig. 1, a

memory

1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a camera focusing program.

In the mobile terminal shown in fig. 1, the

network interface

1004 is mainly used for connecting to a backend server and communicating with the backend server; the

user interface

1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the

processor

1001 may be used to invoke the camera focus program stored in the

memory

1005.

When the

processor

1001 calls the image capturing focus program stored in the

memory

1005, the following operations are performed:

when a shooting request is received, acquiring the moving distance of a camera lens corresponding to the shooting request;

acquiring focusing data of the camera lens based on the moving distance;

and carrying out focusing operation on the shot object corresponding to the camera lens according to the focusing data, wherein when the focusing operation on the shot object corresponding to the camera lens is finished, the shot object enters a shooting interface of a terminal to which the camera lens belongs.

Further, the image capture focusing program when executed by the processor further implements the following operations:

acquiring an object distance parameter between a camera lens and a shot object;

and determining the moving distance of the camera lens according to the object distance parameter.

Further, the image capture focusing program when executed by the processor further implements the following operations:

acquiring a lens depth table of the camera lens;

and determining the moving distance of the camera lens according to the object distance parameter and the lens depth table.

Further, the image capture focusing program when executed by the processor further implements the following operations:

acquiring a focusing table of the moving distance and focusing data of the camera lens;

and determining focusing data of the camera lens according to the focusing table.

Further, the image capture focusing program when executed by the processor further implements the following operations:

calculating the current value of a voice coil motor corresponding to the camera lens according to the focusing data;

and carrying out focusing operation on the shot object corresponding to the image pickup lens based on the current value.

Further, the image capture focusing program when executed by the processor further implements the following operations:

controlling the voice coil motor under the current corresponding to the current value;

and carrying out focusing operation on the shot object corresponding to the camera lens based on the voice coil motor.

Further, the image capture focusing program when executed by the processor further implements the following operations:

controlling the camera lens to move the moving distance based on the voice coil motor;

and when the imaging lens moves the moving distance, carrying out focusing operation on the shot object corresponding to the imaging lens.

Further, the image capture focusing program when executed by the processor further implements the following operations:

entering a shooting interface of a terminal to which the camera lens belongs when the focusing operation on the shot object corresponding to the camera lens is finished;

and shooting the shot object based on the shooting interface.

The present invention further provides a focusing method for image capture, referring to fig. 2, fig. 2 is a flowchart illustrating the focusing method for image capture according to the first embodiment of the present invention.

In this embodiment, the fast image capturing stabilization method includes:

step S1000, when a shooting request is received, acquiring the moving distance of a camera lens corresponding to the shooting request;

in this embodiment, the shooting request is a shooting request triggered by a device having a shooting function, and when the shooting request is received, the moving distance of the imaging lens corresponding to the shooting request is acquired; the camera lens is a shooting lens of a device to which the camera lens belongs, the moving distance of the camera lens is the moving distance required by the camera lens, and when the camera lens moves the moving distance, the shot object can be shot clearly in a focusing manner; specifically, before entering a shooting interface, when a user selects to open all camera lenses of a device based on the device with a shooting function, a shooting request is triggered; when the shooting request is received, starting a distance sensor corresponding to the camera lens, detecting an object distance parameter between the current camera lens and a shot object based on the distance sensor, and acquiring the moving distance of the camera lens according to the object distance parameter; wherein, the corresponding relation between the object distance parameter and the moving distance can be represented by a lens depth table; and when the object distance parameter is acquired, acquiring the lens depth table, and determining the moving distance of the camera lens corresponding to the object distance parameter according to the lens depth table.

Step S2000, acquiring focusing data of the camera lens based on the moving distance;

in this embodiment, the focusing data is moving code data of a voice coil motor of the imaging lens, and according to the focusing data, a current value of the voice coil motor corresponding to the moving distance can be determined; based on the current value, controlling a voice coil motor, and controlling the camera lens to move by a corresponding moving distance by the voice coil motor, so that the focusing of the shot object is realized; therefore, when the moving distance of the camera lens is acquired, the focusing data corresponding to the moving distance is acquired, wherein the focusing data corresponding to the moving distance can be acquired through the focusing table; the focusing table is a corresponding relation table between the moving distance and the focusing data of the camera lens, and the focusing data corresponding to the moving distance can be determined in the focusing table; specifically, when the moving distance of the camera lens is acquired, a focusing table corresponding to the moving distance and focusing data is acquired; when the focusing table is obtained, the focusing data corresponding to the moving distance is searched in the focusing table, so that the focusing data corresponding to the moving distance can be obtained.

And S3000, performing focusing operation on the shot object corresponding to the camera lens according to the focusing data, wherein when the focusing operation on the shot object corresponding to the camera lens is completed, entering a shooting interface of a terminal to which the camera lens belongs.

In this embodiment, when acquiring the focusing data, the current value of the corresponding voice coil motor may be acquired according to the focusing data; the voice coil motor is a device for converting electric energy into mechanical energy, and can convert current into mechanical force so as to push the camera lens to move according to the mechanical force; specifically, when the focusing data is obtained, calculating a current value of a voice coil motor corresponding to the camera lens according to the focusing data, wherein the current value is a product of an average current value of the focusing data and the focusing data; when the current value of the voice coil motor corresponding to the focusing data is obtained through calculation, applying the current with the magnitude of the current value to the voice coil motor, and converting the current with the magnitude of the current value into mechanical force with the corresponding magnitude under the control of the current by the voice coil motor; the mechanical force is the product of the current value, the length of the electrified conductor passing through the magnetic field and the magnetic field intensity; the voice coil motor controls the camera lens to move by a corresponding moving distance based on the mechanical force, and when the camera lens moves by the corresponding moving distance, the camera lens can clearly and quickly capture the shot object.

In the imaging focusing method provided in this embodiment, when a shooting request is received, the moving distance of the imaging lens corresponding to the shooting request is obtained, and then the focusing data of the imaging lens is obtained based on the moving distance, then, according to the focusing data, the focusing operation is carried out on the shot object corresponding to the camera lens, wherein, when the focusing operation of the shot object corresponding to the camera lens is finished, the camera lens enters the shooting interface of the terminal to which the camera lens belongs, thereby realizing the acquisition of the moving distance of the lens and the focusing data, and before entering the shooting interface, the camera lens is stabilized, and the rapid focusing of the shot object is completed, thereby improving the focusing efficiency of the shot object, reducing the focusing time, and the user can shoot the shot object through the camera lens at the first time when entering the shooting interface.

Based on the first embodiment, a second embodiment of the imaging focusing method of the present invention is proposed, and referring to fig. 3, in this embodiment, step S1000 includes:

step 1100, acquiring an object distance parameter between a camera lens and a shot object;

in this embodiment, the object distance parameter is a distance parameter between an imaging lens and a subject, and the object distance parameter between the imaging lens and the subject can be acquired by a distance sensor, where the imaging lens is a shooting device, the subject can be shot, and the shot subject can be an object or a person; specifically, before entering a shooting interface, when a user selects to open all camera lenses of a device based on the device with a shooting function, a shooting request is triggered; when the shooting request is received, starting a distance sensor corresponding to the camera lens; the distance between the current camera lens and the shot object is detected through the distance sensor, so that the object distance parameter between the current camera lens and the shot object can be acquired according to the distance sensor.

And step S1200, determining the moving distance of the camera lens according to the object distance parameter.

In this embodiment, according to the obtained object distance parameter, the distance that the camera lens needs to be moved corresponding to the object distance parameter can be obtained, where the movement distance is represented as the distance that the camera lens needs to be moved; when the shot object is shot through the camera lens, the camera lens is moved, and the moving distance of the camera lens is adjusted, so that the shot object can be focused; therefore, when the object distance parameter is acquired, the distance to be moved, namely the moving distance, corresponding to the camera lens needs to be acquired through the object distance parameter; specifically, when the object distance parameter is acquired, a lens depth table corresponding to the object distance parameter is acquired at the same time, wherein the lens depth table is a corresponding relation table of the object distance parameter and the moving distance of the camera lens; different object distance parameters may correspond to different moving distances of the camera lens, and according to the lens depth table, the moving distance of the camera lens corresponding to the currently acquired object distance parameter can be acquired.

According to the image pickup focusing method provided by the embodiment, the object distance parameter between the image pickup lens and the object is acquired, and then the moving distance of the image pickup lens is determined according to the object distance parameter, so that the moving distance of the image pickup lens is acquired, the image pickup lens is moved according to the moving distance of the image pickup lens, and the object is quickly and stably focused by the image pickup lens before entering a shooting interface.

Based on the second embodiment, a third embodiment of the imaging focusing method of the present invention is proposed, and referring to fig. 4, in this embodiment, step S1200 includes:

step 1210, acquiring a lens depth table of the camera lens;

in this embodiment, the lens depth table is a corresponding relationship table of an object distance parameter and a moving distance of the camera lens, wherein the corresponding relationship of the object distance parameter and the moving distance of the camera lens may be a one-to-one, many-to-one, one-to-many, or many-to-many relationship; generally, the corresponding relationship between the object distance parameters and the moving distance in the lens depth table is a one-to-one relationship, that is, each object distance parameter corresponds to a unique moving distance; specifically, when an object distance parameter between the imaging lens and the object is acquired, an internally stored lens depth table is acquired, so that the moving distance of the imaging lens corresponding to the object distance parameter is acquired according to the lens depth table.

Step S1220, determining a moving distance of the camera lens according to the object distance parameter and the lens depth table.

In this embodiment, the moving distance is a distance that the imaging lens needs to move, and the imaging lens moves the moving distance, so as to realize focusing on the object; according to the acquired object distance parameter and the lens depth table, the moving distance of the camera lens can be acquired; specifically, when the object distance parameter and the lens depth table are acquired, the corresponding moving distance of the object distance parameter in the lens depth table is searched, and the moving distance is the moving distance required by the camera lens.

In the camera focusing method provided by this embodiment, the camera lens depth table of the camera lens is acquired, and then the moving distance of the camera lens is determined according to the object distance parameter and the lens depth table, so that the camera lens depth table is acquired, and the moving distance of the camera lens is acquired according to the lens depth table, thereby further realizing fast and stable focusing of the camera lens on the object to be photographed before entering the shooting interface.

Based on the first embodiment, a fourth embodiment of the imaging focusing method of the present invention is proposed, and referring to fig. 5, in this embodiment, step S2000 includes:

step S2100, acquiring a focusing table of the moving distance and focusing data of the imaging lens;

in this embodiment, the focusing table is a corresponding relationship table between the moving distance and the focusing data of the camera lens, and the focusing table is stored in the interior by presetting, wherein the focusing data is moving code data of a voice coil motor of the camera lens; the focusing data corresponding to the moving distance can be determined through the obtained moving distance and the corresponding focusing table of the moving distance and the focusing data; therefore, when the moving distance of the camera lens is acquired, a focusing table of the moving distance and focusing data of the camera lens stored in the camera lens is acquired, and the focusing data corresponding to the moving data is determined according to the focusing table.

Step S2200 is to determine focusing data of the imaging lens according to the focusing table.

In this embodiment, the focusing data is moving code data of a voice coil motor of the imaging lens, where the moving code data of the voice coil motor is specifically a moving code corresponding to a current of the voice coil motor, and a current value of the voice coil motor can be determined according to the moving code data of the voice coil motor; specifically, when the moving distance of the camera lens is acquired, a focusing table of the moving distance and focusing data is acquired; in the focusing table, different moving distances correspond to different focusing data, and when the focusing table is acquired, the focusing data of the camera lens corresponding to the currently acquired moving distance can be determined by searching the focusing table.

In the imaging focusing method provided in this embodiment, the moving distance and the focusing table of the focusing data of the imaging lens are acquired, and then the focusing data of the imaging lens is determined according to the focusing table, so that the acquisition of the focusing table corresponding to the moving distance and the focusing data is realized.

A fifth embodiment of the imaging focusing method according to the present invention is proposed based on the first embodiment, and referring to fig. 6, in this embodiment, step S3000 includes:

step S3100, calculating a current value of a voice coil motor corresponding to the camera lens according to the focusing data;

in this embodiment, the voice coil motor is a device that converts electrical energy into mechanical energy, and the current can be converted into mechanical force by the voice coil motor, so as to drive the camera lens to move according to the mechanical force; therefore, when the moving distance of the camera lens is acquired, the current value of the voice coil motor corresponding to the moving distance needs to be determined, so that the acquired current value is converted into corresponding mechanical force in the voice coil motor, and the acquired moving distance is pushed to move the camera lens; specifically, when the focusing data is acquired, the current value of the voice coil motor corresponding to the focusing data may be acquired according to the focusing data, and if the preset current divided into 0mA to 150mA corresponds to 1024 mobile codes, the average current value corresponding to each mobile code may be determined, and the current value corresponding to the current focusing data may be determined by calculating by multiplying the acquired mobile codes (i.e., the focusing data) by the average current value.

Step S3200 of performing a focusing operation on the object corresponding to the imaging lens based on the current value.

In this embodiment, when the current value of the voice coil motor corresponding to the current focusing data is obtained through calculation, the fast focusing of the camera lens on the object to be photographed can be completed through the current value; specifically, when the focusing data is obtained, calculating a current value of a voice coil motor corresponding to the focusing data according to the focusing data; when the current value is obtained, the thrust generated by the voice coil motor can be calculated according to the current value, the length of the magnetic field passing through the electrified conductor and the magnetic field intensity, so that the corresponding camera lens is moved according to the thrust generated by the voice coil motor, the camera lens is moved by the obtained moving distance, and the rapid focusing of the camera lens on the shot object can be completed.

According to the image pickup focusing method provided by the embodiment, the current value of the voice coil motor corresponding to the image pickup lens is calculated according to the focusing data, and then the focusing operation is performed on the object corresponding to the image pickup lens based on the current value, so that the voice coil motor is controlled through the current value, the image pickup lens is moved through the voice coil motor, and the image pickup lens can quickly and stably focus the object before entering a shooting interface.

Based on the fifth embodiment, a sixth embodiment of the imaging focusing method of the present invention is proposed, and referring to fig. 7, in this embodiment, step S3200 includes:

step S3210 of controlling the voice coil motor at a current corresponding to the current value;

in this embodiment, the voice coil motor is a device that converts electrical energy into mechanical energy, and the current can be converted into mechanical force by the voice coil motor, so as to drive the camera lens to move according to the mechanical force; specifically, when a current conductor of the voice coil motor passes through a magnetic field, a force perpendicular to the magnetic field line is generated, and the magnitude of the force depends on the length of the current conductor passing through the magnetic field, the current value and the magnetic field intensity; therefore, the thrust of the voice coil motor can be calculated through the acquired current value, so that the camera lens corresponding to the voice coil motor is moved according to the thrust; specifically, when the current value of the voice coil motor is obtained through calculation, the current value is applied to the voice coil motor, the voice coil motor is controlled through the current value, and when the current value is received by the voice coil motor, the current corresponding to the current value is converted into mechanical force.

Step S3220 is to perform a focusing operation on the object corresponding to the imaging lens based on the voice coil motor.

In the embodiment, the rapid focusing of the camera lens on the shot object is automatic focusing, namely, the focus distance is automatically adjusted during shooting, so that the shot object can be clearly shot; the voice coil motor controls the camera lens, so that the rapid automatic focusing of the shot object can be completed; specifically, when the current value of the voice coil motor is obtained through calculation, the voice coil motor is controlled based on the current with the current value, and the current is converted into mechanical force with the corresponding magnitude by the voice coil motor; when the voice coil motor converts the current into mechanical force, the voice coil motor applies the mechanical force to the camera lens so as to control the camera lens to move by a corresponding moving distance; when the camera lens moves the moving distance, the camera lens can clearly and quickly capture the shot object, namely, the camera lens finishes the quick focusing on the shot object.

In the imaging focusing method provided by this embodiment, the voice coil motor is controlled under the current corresponding to the current value, and then the focusing operation is performed on the object corresponding to the imaging lens based on the voice coil motor, so that the imaging lens is controlled by the voice coil motor, and the object can be quickly and accurately captured and focused by controlling the corresponding moving distance of the imaging lens before the imaging lens enters the shooting interface.

A seventh embodiment of the imaging focusing method according to the present invention is proposed based on the sixth embodiment, and referring to fig. 8, in this embodiment, step S3220 includes:

step S3221, controlling the imaging lens to move the movement distance based on the voice coil motor;

in this embodiment, the voice coil motor may convert a certain amount of current into a mechanical force of a corresponding amount, so that the camera lens may be pushed by the mechanical force to move a corresponding movement distance; specifically, when a current value corresponding to the moving distance of the camera lens is calculated, a current with the magnitude of the current value is applied to a corresponding voice coil motor; the voice coil motor converts the current into a mechanical force with a corresponding magnitude under the control of the current with the magnitude of the current value, and the voice coil motor pushes the camera lens to move through the mechanical force; the camera lens corresponding to the mechanical forces with different magnitudes have different moving distances, the voice coil motor converts the current corresponding to the current value obtained through calculation into the mechanical force with the corresponding magnitude, and the camera lens can move the corresponding moving distance under the action of the mechanical force with the magnitude.

Step S3222 is to perform a focusing operation on the object corresponding to the imaging lens when the imaging lens moves by the movement distance.

In this embodiment, when the camera lens moves by a corresponding movement distance under the control of the voice coil motor, it indicates that the camera lens can clearly capture the object to be shot when the camera lens moves by the movement distance, and the process is to focus on the object to be shot; therefore, when the camera lens moves the moving distance, the camera lens can clearly capture the shot object, and then the terminal enters a shooting interface; therefore, before entering the shooting interface (i.e. before the shooting interface is displayed), the camera lens completes the focusing process on the object.

According to the camera focusing method provided by the embodiment, the camera lens is controlled to move the moving distance based on the voice coil motor, and then the focusing operation is performed on the shot object corresponding to the camera lens when the camera lens moves the moving distance, so that the shot object can be quickly focused before entering a shooting interface, the focusing efficiency is improved, and the focusing time is saved.

Based on the first embodiment, an eighth embodiment of the imaging focusing method of the present invention is proposed, and referring to fig. 9, in this embodiment, after step S3000, the imaging focusing method further includes:

step 4000, entering a shooting interface of a terminal to which the camera lens belongs when the focusing operation on the shot object corresponding to the camera lens is finished;

in this embodiment, the shooting interface is a shooting display interface of a device having a shooting function to which the camera lens belongs; when the focusing operation of the camera lens on the shot object is finished, the camera lens can clearly capture the shot object and shoot the shot object; the focusing operation of the shot object is realized by adjusting the moving distance of the camera lens, namely when the focusing operation of the shot object is not displayed on a terminal shooting interface, the focusing operation is automatically completed by adjusting the moving distance of the camera lens; therefore, when the focusing operation of the camera lens on the object is completed, the user enters the shooting interface, and the user can shoot the object through the shooting interface.

And step S5000, shooting the shot object based on the shooting interface.

In the embodiment, when entering the shooting interface, the shooting can be carried out on the object based on the shooting interface; specifically, when entering a shooting interface, focusing on a shot object is completed, and a shot object display interface which is completed in focusing is displayed on the shooting interface; based on the shooting interface, a user can carry out shooting operation on the shot object, and when an operation instruction for determining shooting triggered based on the shooting interface is received, the shot object in the display range of the shooting interface is shot; in addition, based on the shooting interface, the user can also perform manual focusing operation on the shot object, and when the manual focusing operation of the user is completed and an operation instruction for determining shooting triggered based on the shooting interface is received, the shot object manually focused by the user in the display range of the shooting interface is shot.

According to the image pickup focusing method provided by the embodiment, when the focusing operation of the object corresponding to the image pickup lens is completed, the image pickup lens enters the shooting interface of the terminal to which the image pickup lens belongs, and then the object is shot based on the shooting interface, so that the object is shot when the image pickup lens enters the shooting interface, and the object can be clearly shot at the first time when the image pickup lens enters the shooting interface because the focusing operation of the object is completed before the image pickup lens enters the shooting interface.

Further, to achieve the above object, the present invention also provides a computer-readable storage medium having an image capturing focus program stored thereon, which when executed by a processor, implements the following operations:

when a shooting request is received, acquiring the moving distance of a camera lens corresponding to the shooting request;

acquiring focusing data of the camera lens based on the moving distance;

and carrying out focusing operation on the shot object corresponding to the camera lens according to the focusing data, wherein when the focusing operation on the shot object corresponding to the camera lens is finished, the shot object enters a shooting interface of a terminal to which the camera lens belongs.

Further, the image capture focusing program when executed by the processor further implements the following operations:

acquiring an object distance parameter between a camera lens and a shot object;

and determining the moving distance of the camera lens according to the object distance parameter.

Further, the image capture focusing program when executed by the processor further implements the following operations:

acquiring a lens depth table of the camera lens;

and determining the moving distance of the camera lens according to the object distance parameter and the lens depth table.

Further, the image capture focusing program when executed by the processor further implements the following operations:

acquiring a focusing table of the moving distance and focusing data of the camera lens;

and determining focusing data of the camera lens according to the focusing table.

Further, the image capture focusing program when executed by the processor further implements the following operations:

calculating the current value of a voice coil motor corresponding to the camera lens according to the focusing data;

and carrying out focusing operation on the shot object corresponding to the image pickup lens based on the current value.

Further, the image capture focusing program when executed by the processor further implements the following operations:

controlling the voice coil motor under the current corresponding to the current value;

and carrying out focusing operation on the shot object corresponding to the camera lens based on the voice coil motor.

Further, the image capture focusing program when executed by the processor further implements the following operations:

controlling the camera lens to move the moving distance based on the voice coil motor;

and when the imaging lens moves the moving distance, carrying out focusing operation on the shot object corresponding to the imaging lens.

Further, the image capture focusing program when executed by the processor further implements the following operations:

entering a shooting interface of a terminal to which the camera lens belongs when the focusing operation on the shot object corresponding to the camera lens is finished;

and shooting the shot object based on the shooting interface.

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 system 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 system. 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 system that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

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 solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., 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.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.