Video recording method and device, electronic equipment and storage medium
阅读说明:本技术 一种视频录制方法、装置、电子设备及存储介质 (Video recording method and device, electronic equipment and storage medium ) 是由 艾海强 于 2019-11-12 设计创作,主要内容包括:在本发明实施例提供一种视频录制方法、装置、电子设备及存储介质,其中方法应用于电子设备,包括:获取针对目标应用的目标时长;根据所述目标时长,确定目标帧率;在检测到所述目标应用运行的情况下,按照所述目标帧率录制目标视频数据;在录制的持续时长大于所述目标时长的情况下,根据预设删减策略减小所述目标视频数据的数据量。通过根据目标时长调整目标帧率的同时,对所录制目标视频的数据量根据目标时长进行动态调整,不仅避免了录制视频的内存过大影响目标应用运行的情况,还保证了用户不会错过应用运行过程中的录屏最佳时机,提高了应用录屏功能的用户体验。(The embodiment of the invention provides a video recording method, a video recording device, electronic equipment and a storage medium, wherein the method is applied to the electronic equipment and comprises the following steps: acquiring a target duration for a target application; determining a target frame rate according to the target duration; under the condition that the target application is detected to run, recording target video data according to the target frame rate; and reducing the data volume of the target video data according to a preset deletion strategy under the condition that the duration of the recording is longer than the target duration. By adjusting the target frame rate according to the target duration and dynamically adjusting the data volume of the recorded target video according to the target duration, the situation that the operation of the target application is affected due to the overlarge memory of the recorded video is avoided, the optimal screen recording time in the application operation process is guaranteed not to be missed by a user, and the user experience of the screen recording function is improved.)
1. A video recording method is applied to an electronic device, and the method comprises the following steps:
acquiring a target duration for a target application;
determining a target frame rate according to the target duration;
under the condition that the target application is detected to run, recording target video data according to the target frame rate;
and reducing the data volume of the target video data according to a preset deletion strategy under the condition that the duration of the recording is longer than the target duration.
2. The method of claim 1, wherein the step of obtaining the target duration for the target application comprises:
receiving a first input;
in response to the first input, a target duration for the target application is determined.
3. The method of claim 1, wherein the step of reducing the data size of the target video data according to a preset puncturing strategy comprises:
and deleting the expired video data from the target video data according to the target duration.
4. The method of claim 1, wherein the reducing the data size of the target video data according to a preset pruning strategy comprises:
reducing the frame rate of the recorded target video data according to the duration;
or, according to the duration, reducing the frame rate of the recorded target video data and reducing the target frame rate during recording.
5. The method according to any one of claims 1 to 4, wherein the step of recording the target video data at the target frame rate is followed by further comprising:
receiving a selection operation under the condition that a plurality of sections of target video data are recorded;
and responding to the selection operation, splicing at least two sections of target video data selected by the selection operation to obtain spliced target video data.
6. A video recording apparatus, wherein the apparatus is applied to an electronic device, the apparatus comprising:
the acquisition module is used for acquiring target duration aiming at the target application;
the determining module is used for determining a target frame rate according to the target duration;
the recording module is used for recording the target video data according to the target frame rate under the condition that the target application is detected to run;
and the deleting module is used for reducing the data volume of the target video data according to a preset deleting strategy under the condition that the recording duration is longer than the target duration.
7. The apparatus of claim 6, wherein the obtaining module comprises:
a receiving submodule for receiving a first input;
a first determination submodule, configured to determine a target duration for the target application in response to the first input.
8. The apparatus of claim 6, wherein the deletion module comprises:
and the deleting submodule is used for deleting the expired video data from the target video data according to the target duration.
9. The apparatus of claim 6, wherein the deletion module comprises:
the second adjusting submodule is used for reducing the frame rate of the recorded target video data according to the duration;
and the first adjusting submodule is used for reducing the frame rate of the recorded target video data and reducing the target frame rate during recording according to the duration.
10. The apparatus of any one of claims 6 to 9, further comprising:
the receiving module is used for receiving selection operation under the condition that a plurality of sections of target video data are recorded;
and the splicing module is used for responding to the selection operation and splicing at least two sections of target video data selected by the selection operation to obtain spliced target video data.
11. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the video recording method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the video recording method according to any one of claims 1 to 5.
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a video recording method and device, electronic equipment and a storage medium.
Background
With the rapid development of science and technology, electronic equipment has evolved from a traditional communication tool to a platform capable of bearing a plurality of functions such as mobile application, mobile content, value-added service, games, and the like, wherein the game function becomes an indispensable function of the electronic equipment at present, and compared with a PC terminal, the electronic equipment has the characteristics of more available portability, mobility, marketability and the like.
At present, a recording function of a game application of electronic equipment generally exists in two modes, one mode is that a user needs to operate the recording function by himself to start the recording function, but the user cannot start the recording function in the game process, and often thinks that the best recording opportunity is missed when the user needs to record.
The other method is to record the picture of the whole game of the user, and the mode can ensure that the game of the user can be completely recorded at each moment, but a large amount of memory is occupied, so that the phenomena of game application blocking and the like are caused, and the user experience is seriously influenced.
Disclosure of Invention
The invention provides a video recording method, a video recording device, electronic equipment and a computer readable medium, which are used for solving the problems that a large amount of memory is occupied by videos recorded by electronic equipment application, the normal operation of the application is influenced, and the optimal time is easy to miss.
In a first aspect, an embodiment of the present invention provides a video recording method, where the method is applied to an electronic device, and the method includes:
acquiring a target duration for a target application;
determining a target frame rate according to the target duration;
under the condition that the target application is detected to run, recording target video data according to the target frame rate;
and reducing the data volume of the target video data according to a preset deletion strategy under the condition that the duration of the recording is longer than the target duration.
Optionally, the step of obtaining the target duration for the target application includes:
receiving a first input;
in response to the first input, a target duration for the target application is determined.
Optionally, the step of reducing the data size of the target video data according to a preset pruning strategy includes:
and deleting the expired video data from the target video data according to the target duration.
Optionally, the reducing the data size of the target video data according to the preset pruning strategy includes:
reducing the frame rate of the recorded target video data according to the duration;
or, according to the duration, reducing the frame rate of the recorded target video data and reducing the target frame rate during recording.
Optionally, after the step of recording the target video data according to the target frame rate, the method further includes:
receiving a selection operation under the condition that a plurality of sections of target video data are recorded;
and responding to the selection operation, splicing at least two sections of target video data selected by the selection operation to obtain spliced target video data.
In a second aspect, an embodiment of the present invention further provides a video recording apparatus, where the apparatus is applied to an electronic device, and the apparatus includes:
the acquisition module is used for acquiring target duration aiming at the target application;
the determining module is used for determining a target frame rate according to the target duration;
the recording module is used for recording the target video data according to the target frame rate under the condition that the target application is detected to run;
and the deleting module is used for reducing the data volume of the target video data according to a preset deleting strategy under the condition that the recording duration is longer than the target duration.
Optionally, the obtaining module includes:
a receiving submodule for receiving a first input;
a first determination submodule, configured to determine a target duration for the target application in response to the first input.
Optionally, the deleting module includes:
and the deleting submodule is used for deleting the expired video data from the target video data according to the target duration.
Optionally, the deleting module includes:
the second adjusting submodule is used for reducing the frame rate of the recorded target video data according to the duration;
and the first adjusting submodule is used for reducing the frame rate of the recorded target video data and reducing the target frame rate during recording according to the duration.
Optionally, the apparatus further includes:
the receiving module is used for receiving selection operation under the condition that a plurality of sections of target video data are recorded;
and the splicing module is used for responding to the selection operation and splicing at least two sections of target video data selected by the selection operation to obtain spliced target video data.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the video recording method according to the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the video recording method according to the present invention are implemented.
The embodiment of the invention provides a video recording method, a video recording device, electronic equipment and a storage medium, wherein the method is applied to the electronic equipment and comprises the following steps: acquiring a target duration for a target application; determining a target frame rate according to the target duration; under the condition that the target application is detected to run, recording target video data according to the target frame rate; and reducing the data volume of the target video data according to a preset deletion strategy under the condition that the duration of the recording is longer than the target duration. By dynamically adjusting the data volume of the recorded target video according to the target duration while adjusting the target frame rate according to the target duration, the situation that the operation of the target application is influenced by overlarge memory of the recorded video is avoided, the optimal screen recording time in the application operation process is guaranteed not to be missed by a user, and the user experience of the screen recording function is improved.
Drawings
Fig. 1 is a flowchart illustrating a first video recording method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second video recording method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a third video recording method according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a structure of a video recording apparatus according to an embodiment of the present invention;
fig. 5 shows a block diagram of an electronic device according to an embodiment of the present invention.
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 an invasive task, are within the scope of the present invention.
Referring to fig. 1, a flowchart of a first video recording method provided in an embodiment of the present invention is shown, where the method is applied to an electronic device, and the method may include:
In the embodiment of the invention, before recording the screen of the target application in the electronic device, a user needs to set the length of the video which needs to be recorded by the target application, namely the target time length input by the user. The target duration may also be automatically determined according to the type of the target application, and specifically, according to the content of different target applications, a corresponding default target duration may be preset, for example, the duration of a round of game in the application of the game type is about 10 to 20 minutes, so that the target duration may be set to 5 minutes to cover the highlight time in the game; for music type applications, the target duration may be set to 3 minutes to cover a major portion of a song, since the time for a song is approximately 2 to 4 minutes.
And
In the embodiment of the invention, in order to ensure that the data size of the subsequent recorded video does not occupy too much memory, so as to avoid the situation that the normal operation of the target application is affected by insufficient memory, the system adjusts the target frame rate of the recorded video according to the target duration input by the user, so as to ensure that the data volume of the finally recorded target video data does not exceed the data volume threshold, wherein the data volume threshold is determined according to the memory of the electronic equipment and the memory occupied by the running application.
The process of setting for the target application may be before the target application is started or after the target application software is started.
In the embodiment of the present invention, when the target duration input for the target application is not received or the target duration is less than or equal to the system default duration, the target application may be configured by using the system default duration, the system default duration is used as the target duration, and the system default frame rate is used as the target frame rate of the target application, where the system default duration and the system default frame rate may be preconfigured for the target application, for example, the system default duration of the game application may be 5 minutes, the system default duration of the instant messaging application may be 3 minutes, and the system default frame rate may be preconfigured according to actual needs of the target application, and a specific configuration manner is not limited herein. The target application is configured by setting the default system time length and the default system frame rate, and a user does not need to specially configure the target time length of the target application, so that the user experience of the user in recording a screen picture of the target application is improved.
And 103, recording target video data according to the target frame rate under the condition that the target application is detected to run.
In the embodiment of the present invention, the target application may be one or more application software or/and system applications installed in the electronic device. The electronic device may receive a target duration set by a user for a target application. If the target duration set for the target application is longer than the default duration of the system, it is required to ensure that the data volume of the target video data does not exceed the data volume threshold. Since the target frame rate is inversely proportional to the target duration, the target frame rate can be calculated by formula (1).
F1=T0/T1×F0(1)
Wherein, T0 indicates the default duration of the system, T1 indicates the target duration, F0 indicates the default frame rate of the system, and F1 indicates the target frame rate.
According to the embodiment of the invention, the target frame rate for recording the target video data is adjusted when the target time length input by the user is too large, so that the user can flexibly configure the target time length, the data volume of the target video data is ensured not to be too large to influence the normal operation of the target application, and the stability of the dynamic recording process aiming at the target application is improved.
Of course, the user may start a recording end operation, and the electronic device stores the target video data in response to the recording end operation. The recorded video is generally stored in a cache, and then the target video data can be transferred from the cache to a nonvolatile storage device for storage.
In the embodiment of the invention, when the target application starts to run, the screen picture of the target application is automatically recorded according to the target frame rate. The recording process is dynamically circulated, the duration of target video data stored in a memory of the electronic equipment is always kept not to exceed a data volume threshold preset by a system, and as the target frame rate of the target video data is adjusted, the data volume of the target video data cannot exceed the data volume threshold as long as the duration of the target video data does not exceed the duration of the target, so that unnecessary influence on the normal operation of target applications and other applications in the electronic equipment is avoided.
And 104, reducing the data volume of the target video data according to a preset deletion strategy under the condition that the recording duration is longer than the target duration.
In the embodiment of the present invention, if the length of the video recorded by the user exceeds the target duration, the data volume of the recorded target video data will exceed the data volume threshold, and at this time, the redundant data in the target video data can be deleted by performing configuration adjustment on the target video data. Specifically, the data amount of the target video data may be reduced by adjusting a configuration that affects the video data amount, such as a frame rate and a resolution of the target video data, or compressing the target video data. Further, data in the target video data may be deleted directly, for example, a portion of the video data with high picture similarity, a portion that does not meet the content requirement of the user, and expired video data may be deleted.
In the embodiment of the invention, the user only needs to input the preset selection operation in the running process of the target application, and the electronic equipment can quickly store the recorded target video data after receiving the selection operation, so that the user can conveniently obtain the picture required by the user in the running process of the target application. For example: in the running process of the game application, when the game picture has the wonderful moment, a user can input selection operation and store the recorded target video data, the target video data starts to be recorded when the game starts, and the recording is not triggered by the user after the wonderful moment occurs, so that the wonderful moment required by the user is included, and the user cannot miss the video data of the wonderful moment required to be recorded because the user cannot grasp the recording starting moment in the screen recording process.
The embodiment of the invention provides a first video recording method, which is applied to electronic equipment and comprises the following steps: acquiring a target duration for a target application; determining a target frame rate according to the target duration; under the condition that the target application is detected to run, recording target video data according to the target frame rate; and reducing the data volume of the target video data according to a preset deletion strategy under the condition that the duration of the recording is longer than the target duration. By adjusting the target frame rate according to the target duration and dynamically adjusting the data volume of the recorded target video according to the target duration, the situation that the operation of the target application is affected due to the overlarge memory of the recorded video is avoided, the optimal screen recording time in the application operation process is guaranteed not to be missed by a user, and the user experience of the screen recording function is improved.
Referring to fig. 2, a flowchart of a second video recording method provided in an embodiment of the present invention is shown, where the method is applied to an electronic device, and the method may include:
In the embodiment of the invention, a user can configure the target time length for recording the video data through the target application before recording the video, and if the user does not configure the target time length, the system automatically confirms the default target time length of the system as the target time length so as to reduce the operation required by the user.
In the embodiment of the invention, if the duration of the video recorded by the user does not exceed the target duration, the data volume of the target video data recorded according to the target frame rate does not exceed the data volume threshold, and at this time, the video is recorded according to the target frame rate.
And 203, reducing the frame rate of the recorded target video data according to the duration when the recorded duration is longer than the target duration.
In the embodiment of the present invention, the process of adjusting the frame rate of the recorded target video data may be specifically determined according to the original target frame rate, the target duration, and the duration. Because the data volume of the recorded target video data is in direct proportion to the duration and the frame rate, the ratio between the adjusted target frame rate and the original target frame rate can be determined according to the ratio between the target duration and the duration, so that the adjusted target frame rate is determined under the condition that the original target frame rate is known. For example: the target duration of a certain target application is 20 minutes, the target frame rate is 60 frames, and when the duration is 40 minutes, the target frame rate is adjusted to 30 frames, so that the data volume of the recorded target video data is guaranteed to be unchanged. Further, in practical applications, since the process is a dynamic process, when the distance that the recorded duration approaches the target duration is less than the distance threshold, the frame rate of the recorded target video data can be dynamically adjusted, so as to avoid the influence on the normal operation of the target application when the duration exceeds the target.
And 204, under the condition that the duration of the recording is greater than the target duration, reducing the frame rate of the recorded target video data and reducing the target frame rate during the recording according to the duration.
In the embodiment of the present invention, based on the scheme of adjusting the frame rate of the recorded target video data in
Compared with the scheme in
The scheme for adjusting the target frame rate in
In the embodiment of the invention, a user can configure the preset screen area of the recording screen for the target application, and record the screen picture of the specified area or the specified window of the target application software after configuration, wherein the configuration process can be performed before the recording process or during the recording process, and the user can configure the preset screen area according to actual requirements. By configuring the screen recording area, the flexibility of the screen recording function for the target application is improved.
In the process of recording the target application, a user can pause recording the target video data through a first operation acting on the electronic equipment, generate a section of target video data from the recorded video, and can re-record a second section of target video data through a second operation acting on the electronic equipment, so that the target video data can have multiple sections in the whole recording process. It can be understood that a user may perform the first operation and the second operation multiple times, so that multiple segments of target video data are generated in the running process of the target application, and in a time period between the first operation and the second operation, the content displayed by the target application is not recorded, so that the recorded target video data better meets the user requirements. The first operation and the second operation may be simultaneous pressing of a key combination in the electronic device or sequential pressing of a case combination in the electronic device, and the key combination and the pressing mode respectively corresponding to the first operation and the second operation may be determined by a user through preset or default by a system; the first operation and the second operation may also be touch screen operations acting on a sensing screen of the electronic device, a user may trigger the touch screen operations by performing sliding operations on the screen of the electronic device, and the specific manner of the first operation and the second operation may be configured according to a command receiving function of the electronic device and actual needs of the user, which is not specifically limited herein.
According to the embodiment of the invention, the video is recorded for many times according to the operation of the user in the process of recording the target application, so that the time period in which the user does not want to record can be skipped in the process of recording the dynamic video screen of the target application, and the flexibility of the video recording process is improved.
And step 206, responding to the selection operation, splicing at least two sections of target video data selected by the selection operation to obtain spliced target video data.
After the process of recording the screen image of the target application is completed, a user can select the recorded multiple sections of target video data according to the self requirement through the selection operation acting on the electronic equipment, and splice at least two sections of the selected target video data to obtain the final target video data, wherein the target video data which are not selected through the selection operation can be stored individually, and the target video data which are not selected can also be deleted to reduce the data storage pressure of the electronic equipment deployed by the target application. According to the method, after the process of recording the target application, the currently recorded multiple sections of target video data are spliced according to selection operation, so that the recorded target video data can be freely spliced according to user requirements, and the flexibility of video recording for the target application is improved.
In the second video recording method provided by the embodiment of the present invention, the recorded target frame rate and the frame rate of the recorded target video data are dynamically adjusted according to the recording duration in the video recording process, so that a situation that the operation of a target application is affected due to an excessively large memory of the recorded video is avoided, and a user can stop and continue the recording process through an input operation, so that the user is ensured not to miss the optimal screen recording time in the application operation process, and the user experience of the application screen recording function is improved.
Referring to fig. 3, a flowchart of a second video recording method provided in an embodiment of the present invention is shown, where the method is applied to an electronic device, and the method may include:
step 301, receiving a first input, and determining a target duration for the target application in response to the first input.
This step can refer to the detailed description of
Step 302, recording the target video data according to the target frame rate when the target application is detected to run.
This step can refer to the detailed description of
Step 303, deleting expired video data from the target video data according to the target duration when the recording duration is longer than the target duration.
In the embodiment of the present invention, the expired video data refers to a portion of video data that is recorded first and exceeds a target duration in the target video data. When the duration of the recorded target video data does not exceed the target duration, continuously recording a screen picture of a target application, and when the duration of the recording exceeds the target duration, deleting overdue video data in the recording process in order to ensure that the target video data does not exceed a data volume threshold, so that the duration of the target video data does not exceed the target duration while continuously recording the target video data in a recording and deleting mode. The deleting process may be performed according to a preset frequency, and when the target video data exceeds the target duration preset duration, the video data with the preset duration recorded first in the target video data is deleted, for example, when the length of the target video data exceeds 5 seconds, the data in the first 5 seconds of the target video data is deleted, and the preset frequency may be determined according to the size of a memory of the electronic device and the size of a memory occupied by application software running.
Step 304, receiving a selection operation under the condition that a plurality of sections of target video data are recorded.
This step can refer to the detailed description of
And 305, responding to the selection operation, splicing at least two sections of target video data selected by the selection operation to obtain spliced target video data.
This step can refer to the detailed description of
The third video recording method provided in the embodiment of the present invention dynamically deletes the first recorded data exceeding the target duration in the process of recording the video while adjusting the target frame rate according to the target duration, thereby not only avoiding the situation that the operation of the target application is affected by an excessive memory of the recorded video, but also ensuring that the user does not miss the optimal screen recording time in the application operation process, and improving the user experience of the application screen recording function.
Referring to fig. 4, fig. 4 is a block diagram illustrating a structure of a video recording apparatus 40 according to an embodiment of the present invention, where the apparatus is applied to an electronic device, and the apparatus may include:
an obtaining module 401, configured to obtain a target duration for a target application.
A determining module 402, configured to determine a target frame rate according to the target duration.
A recording module 403, configured to record target video data according to the target frame rate when it is detected that the target application is running.
A deleting module 404, configured to reduce the data size of the target video data according to a preset deleting strategy when the recording duration is longer than the target duration.
Optionally, the obtaining module 401 includes:
the receiving sub-module 4011 is configured to receive a first input.
A first determining
Optionally, the deleting module 404 includes:
the deleting
Optionally, the deleting module 404 includes:
the second adjusting sub-module 4042 is configured to reduce the frame rate of the recorded target video data according to the duration.
The first adjusting sub-module 4043 is configured to reduce the frame rate of the recorded target video data and reduce the target frame rate during recording according to the duration.
Optionally, the apparatus further includes:
a receiving module 405, configured to receive a selection operation when multiple pieces of target video data are recorded.
And the splicing module 406 is configured to splice at least two sections of target video data selected by the selection operation in response to the selection operation, so as to obtain spliced target video data.
An embodiment of the present invention provides a video recording apparatus, where the apparatus is applied to an electronic device, and the apparatus includes: the acquisition module is used for acquiring target duration aiming at the target application; the determining module is used for determining a target frame rate according to the target duration; the recording module is used for recording the target video data according to the target frame rate under the condition that the target application is detected to run; and the deleting module is used for reducing the data volume of the target video data according to a preset deleting strategy under the condition that the recording duration is longer than the target duration. By adjusting the target frame rate according to the target duration and dynamically adjusting the data volume of the recorded target video according to the target duration, the situation that the operation of the target application is affected due to the overlarge memory for recording the video is avoided, the optimal screen recording time in the application operation process is guaranteed not to be missed by a user, and the user experience of the screen recording function is improved.
Fig. 5 is a schematic diagram of a hardware structure of an
A
In the embodiment of the invention, the data volume of the recorded target video is dynamically adjusted according to the target duration while the target frame rate is adjusted according to the target duration, so that the condition that the operation of the target application is influenced by overlarge memory of the recorded video is avoided, the optimal screen recording time in the application operation process is ensured not to be missed by a user, and the user experience of the screen recording function is improved.
It should be understood that, in the embodiment of the present invention, the
The electronic device provides wireless broadband internet access to the user via the
The
The
The
The
The
Further, the
The
The
The
The
In addition, the
Preferably, an embodiment of the present invention further provides an electronic device, which includes a
Based on the hardware structure of the electronic device, the embodiments of the present invention will be described in detail below.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the video recording method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 embodiment. 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 a terminal (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.