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.
Fig. 1 is a flowchart of a display method of an interface according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step 110, receiving a touch operation of a user on a touch screen of the mobile terminal.
In this embodiment, the touch operation of the user on the touch screen may be any operation of the user, including clicking, sliding up, sliding down, key operation, and the like.
Step 120, acquiring a touch area formed on the touch screen by the touch operation or acquiring the operation times of the touch operation in a preset time period.
In this embodiment, the touch operation is preferably a sliding down operation. The touch area may be determined based on the slide-down operation, or the number of operations of the slide-down operation within a preset time period may be determined. It should be noted that, in order to more conveniently understand the specific contents of the present embodiment, the following contents in the present embodiment all use the touch operation as the sliding down operation to specifically describe the present embodiment.
In an implementation manner of this embodiment, when the touch operation on the touch screen is a sliding down operation, a touch area formed on the touch screen by the sliding down operation is obtained. It is understood that any operation on the mobile terminal is a touch operation on the touch screen, and the touch operation forms a touch area on the touch screen. In this embodiment, when the touch operation is a slide-down operation, a touch area of the touch operation on the touch screen is determined. Specifically, since the touch operation of the present embodiment is preferably a downslide operation, the touch area of the touch operation on the touch screen is determined, that is, the touch area of the downslide operation on the touch screen is determined.
In another implementation manner of this embodiment, the number of operations of the touch operation in a preset time period may be obtained. The preset time period may be specifically set, and the embodiment is not limited to the time length of the preset time period.
Step 130, determining a display interface corresponding to the touch area or the operation times, wherein the display interface comprises at least one of a search box interface or a notification bar interface;
in this embodiment, if the determined touch areas are different, the display interfaces determined according to the touch areas may be different. It should be noted that the display interface may be a search box interface or a notification bar interface, or may be a common interface of the search box interface and the notification bar interface.
In this embodiment, the obtained operation times of the touch operation within the preset time period are different, and the determined corresponding display interfaces may be correspondingly different.
Andstep 140, displaying the determined display interface.
Here, the display interface includes at least one of a search box interface or a notification bar interface, and specifically, the display interface may be a search box interface, a notification bar interface, or a common interface composed of a search box interface and a notification bar interface. Which interface is specifically displayed can be specifically displayed according to the determined display interface.
In the embodiment of the invention, after receiving the touch operation of the user on the touch screen of the mobile terminal, the corresponding display interface can be determined according to the touch area or the operation frequency corresponding to the touch operation. Because the display interface comprises at least one of the search box interface or the notification bar interface, the search box interface, the notification bar interface or a common interface of the search box interface and the notification bar interface can be conveniently displayed on the touch screen through the touch operation, so that the viewing efficiency of a user on the notification message and the searching efficiency on related contents are improved.
In an implementation manner of this embodiment, when a touch area formed on the touch screen by the touch operation is obtained, and the display interface corresponding to the touch area is determined instep 130, the display area of the touch screen divided according to the preset mode may be obtained, and then, the target display area of the touch area on the touch screen is determined, and the display interface corresponding to the target display area is determined.
In an implementation manner of this embodiment, the preset manner may be that the mobile terminal divides the touch screen into a left area and a right area along a center line of the touch screen. As shown in fig. 2, the mobile terminal may be vertically placed, and the touch screen is divided into a left area or a right area with a vertical center line of the vertically placed touch screen.
In this embodiment, the mobile terminal may also be horizontally disposed, and the vertically center of the horizontally disposed touch screen is used as a left area and a right area for dividing the touch screen.
It should be noted that the present embodiment is not limited to the above dividing manner, and the specific content of the present embodiment may also be implemented in other dividing manners for the touch screen, such as dividing according to the diagonal line of the touch screen.
In the embodiment, the mobile terminal is preferably vertically placed, and the touch screen is divided into a left area or a right area by a vertical center line of the vertically placed touch screen. The present embodiment is further described based on this.
In this embodiment, when the touch area is determined to be in the target display area on the touch screen, that is, the touch area is determined to be in the left area or the right area on the touch screen.
In an implementation of this embodiment, the left area may be associated with a search box interface, and the right area may be associated with a notification bar interface. When the target display area is a left area, the determined display interface may be a search box interface. When the target display area is the right area, the determined display interface may be a notification bar interface. It is understood that the left area may be associated with the notification bar interface and the right area may be associated with the search box interface, which will not be described in detail in this embodiment.
In another implementation manner of this embodiment, the display interface determined by the touch area may also be a common interface of the search box interface and the notification bar interface, so that the two interfaces may be displayed at one time, and the user may select the search box interface or the notification bar interface to perform an operation.
FIG. 3 is a schematic diagram of a display search box interface of the present invention. As shown in fig. 3, when the user performs a slide-down operation in the left area, the mobile terminal may display a corresponding search box interface on the touch screen. FIG. 4 is a schematic diagram of a display notification bar interface of the present invention. As shown in fig. 4, when the user performs a slide-down operation in the right area, the mobile terminal may display a corresponding notification bar interface on the touch screen. It should be noted that, when the search box interface or/and the notification bar interface is displayed, the present embodiment is not limited to the current interface of the mobile terminal. For example, the current interface may be a main interface of the mobile terminal, or may be an operation interface of a certain application program, and in this embodiment, a search box interface or/and a notification bar interface may be displayed on the current interface of the mobile terminal.
In another implementation manner of this embodiment, when the display area of the touch screen divided according to the preset manner is obtained, the top area of the touch screen determined by the mobile terminal according to the preset manner may be obtained; and acquiring a left top area and a right top area of the mobile terminal after the top area is divided along the center line of the touch screen. At this time, when the target display area of the touch area on the touch screen is determined, the top area of the touch area on the left side or the top area of the touch area on the right side on the touch screen is determined.
In another implementation manner of this embodiment, the preset manner may be that after the top area of the touch screen is determined, the top area is divided into a left top area and a right top area along a center line of the touch screen. At this time, the left top area or the right top area of the touch area on the touch screen may be determined. Of course, the present embodiment is not limited to dividing the top area in other ways, which is within the scope of the present embodiment.
In this embodiment, the top area of the touch screen may be an upper area of the touch screen of the mobile terminal when the mobile terminal is vertically placed. It should be noted that the size of the top area of the touch screen may be specifically set to meet the operation habit or the use habit of the user.
In one implementation of this embodiment, the top left area may be associated with a search box interface and the top right area may be associated with a notification bar interface. When the target display area is the top left area, the determined display interface may be a search box interface. When the target display area is the top right area, the determined display interface may be a notification bar interface. It is understood that the top area on the left side may be associated with a notification bar interface and the top area on the right side may be associated with a search box interface, which will not be described in detail in this embodiment. It can be known that different display modes can be associated with different display interfaces in different areas, so that the corresponding display modes are more in line with the habits of users.
It should be noted that the notification bar interface and/or the search box interface in this embodiment may be displayed in any interface, such as a main interface of a touch screen or an interface of a different application.
Fig. 5 is a flowchart of a display method of an interface according to another embodiment of the present invention. As shown in fig. 5, when the display interface is a search box interface, afterstep 140, the method further includes:
step 150, displaying an input focus in a search box;
step 160, an input keypad associated with the search box interface is displayed.
In this embodiment, after the display interface is a search box interface and the search box interface is displayed throughstep 140, the input focus may be synchronously displayed in the search box, and the input keyboard associated with the search box interface may be synchronously displayed. The arrangement can display the search box interface, and simultaneously, a user can directly input search through the input keyboard, so that the search efficiency is improved.
In another implementation manner of this embodiment, when the acquired operation times of the touch operation within the preset time period is obtained, and the display interface corresponding to the operation times is determined instep 130, when the operation times is the first type of times, the search box interface may be determined as the display interface; when the number of times is the second type of time, the notification bar interface may be determined to be the display interface.
When the search box interface or the notification bar interface is displayed, the search box interface or the notification bar interface may be sequentially displayed according to a change in the number of operations. Here, the first type number may be an even number type, and the second type number may be an odd number type. The odd-even limiting scheme is only one implementation scheme of the embodiment, and specifically, when the operation times are even numbers, the display interface can be determined to be a notification bar interface; when the number of operations is odd, it may be determined that the display interface is a search box interface.
In this embodiment, when the display interface determined by a certain touch operation is the notification bar interface, the mobile terminal displays the notification bar interface. And then, the display interface determined by the next touch operation can be a search box interface. Namely, the mobile terminal displays a search box interface or a notification bar interface in a loop according to the change of the type of the operation times.
In another implementation manner of this embodiment, when the corresponding display interface is determined according to the number of operations, and when the number of operations indicates that the touch operation is the first operation within a preset time period, the notification bar interface and the search box interface may be determined as the display interface, where the search box interface does not display the input focus. At this time, when the determined display interface is displayed, a common interface of the notification bar interface and the search box interface is displayed.
The preset time period may be a current time period, which may include a time period for generating the touch operation. The preset time period may be a specific set time period, such as a time period of 1 minute or longer or shorter, or may be set in other manners. In this embodiment, when the operation times indicate that the touch operation is the first operation within the preset time period, the determined display interface may be a common interface of the notification bar interface and the search box interface. At this time, the user may directly perform an operation on the notification bar interface, such as deleting, clicking to view, or setting a notification mode. At this time, the input focus is not displayed on the search box interface, and the user cannot input text information in the search box for searching.
Wherein, for convenient viewing, the search box interface can be displayed on the notification bar interface. The method can directly display two interfaces in a preset time period, so that a user can directly check the notification bar, and can further select whether content search is needed or not.
After the notification bar interface and the search box interface are displayed together, when a user needs to search for related content, touch operation can be performed again within a preset time period. When the mobile terminal receives the second touch operation within the preset time period, the input focus can be displayed in the search box, and the input keyboard associated with the search box interface is displayed. At this time, the user can directly input related content in the search box for searching, so as to improve the searching efficiency.
It is to be noted that, in another implementation manner of the embodiment, when the touch operation is the first touch operation within a preset time period, the notification bar interface may also be displayed first. When the second touch operation occurs within the preset time period, a search box interface can be further displayed on the basis of the notification bar interface, an input focus is displayed in the search box, and an input keyboard is displayed at the same time.
FIG. 6 is a schematic diagram of the present invention showing a notification bar interface and a search box interface. As shown in fig. 6, when the first touch operation occurs within a preset time period, a notification bar interface and a search box interface are displayed, and at this time, an input focus is not displayed in the search box. As shown in fig. 7, when the second touch operation occurs within the preset time period, the input focus is displayed in the search box, and the input keyboard associated with the search box is displayed.
In an implementation manner of this embodiment, after the input keyboard associated with the search box interface is displayed, the time point when the second touch operation is received may be set as the starting time, and the preset time period is re-timed.
After receiving the second touch operation of the user within the preset time period, the preset time period may be re-timed. Specifically, the time point when the second touch operation is received may be set as the starting time. In this embodiment, the re-timed preset time period does not include the time period of the received second touch operation. In another implementation manner of this embodiment, the time point of receiving the second touch operation may be extended backward by a certain time period, and then the preset time period is re-counted, but the touch operation cannot be received in the extended time period.
The interface display method according to the embodiment of the present invention is described in detail above with reference to fig. 1 to 7. The mobile terminal of the embodiment of the present invention is described in detail below. Fig. 8 is a block diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 8, themobile terminal 800 includes:
areceiving module 810, configured to receive a touch operation of a user on a touch screen of a mobile terminal;
an obtainingmodule 820, configured to obtain a touch area formed by a touch operation on a touch screen or obtain the number of times of the touch operation within a preset time period;
a determiningmodule 830, configured to determine a display interface corresponding to the touch area or the operation times, where the display interface includes at least one of a search box interface or a notification bar interface;
and thedisplay module 840 is used for displaying the determined display interface.
In the embodiment of the invention, after receiving the touch operation of the user on the touch screen of the mobile terminal, the corresponding display interface can be determined according to the touch area or the operation frequency corresponding to the touch operation. Because the display interface comprises at least one of the search box interface or the notification bar interface, the search box interface, the notification bar interface or a common interface of the search box interface and the notification bar interface can be conveniently displayed on the touch screen through the touch operation, so that the viewing efficiency of a user on the notification message and the searching efficiency on related contents are improved.
Optionally, as an embodiment, when a touch area formed on the touch screen by the touch operation is acquired, the determiningmodule 830 is specifically configured to:
acquiring a display area of a touch screen divided according to a preset mode;
determining a target display area of the touch area on the touch screen;
and determining a display interface corresponding to the target display area.
Optionally, as an embodiment, the determiningmodule 830 is further configured to:
the method comprises the steps that a mobile terminal is obtained, and the touch screen is divided into a left area and a right area along the center line of the touch screen;
determining whether the touch area is in a left area or a right area on the touch screen.
Optionally, as an embodiment, the determiningmodule 830 is further configured to:
acquiring a top area of a touch screen determined by a mobile terminal according to a preset mode;
acquiring a left top area and a right top area of the mobile terminal after the top area is divided along the center line of the touch screen;
determining whether the touch area is at a top left area or a top right area on the touch screen.
Optionally, as an embodiment, thedisplay module 840 is further configured to:
when the display interface is a search box interface, displaying an input focus in the search box;
an input keypad associated with the search box interface is displayed.
Optionally, as an embodiment, after obtaining the operation times of the touch operation, the determiningmodule 830 is further configured to:
when the operation times are the first type times, determining the search box interface as a display interface;
and when the operation times are the times of the second type, determining the notification bar interface as a display interface.
Optionally, as an embodiment, the determiningmodule 830 is further configured to:
when the operation times indicate that the touch operation is the first operation within a preset time period, determining a notification bar interface and a search box interface as display interfaces, wherein the search box interface does not display an input focus;
the display module is specifically configured to: a notification bar interface and a search box interface are displayed.
Optionally, as an embodiment, thedisplay module 840 is further configured to:
when receiving a second touch operation within a preset time period, displaying an input focus in a search frame;
an input keypad associated with the search box interface is displayed.
Fig. 9 is a block diagram of a mobile terminal according to another embodiment of the present invention, and as shown in fig. 9, themobile terminal 800 further includes:
thetiming module 850 is configured to count again a preset time period by taking a time point when the second touch operation is received as an initial time.
The mobile terminal according to the embodiment of the present invention may refer to the flows of the above methods corresponding to the embodiments of the present invention, and each unit/module and the above other operations and/or functions in the mobile terminal are respectively for implementing the corresponding flows in the above methods, and for brevity, no further description is given here.
Fig. 10 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where themobile terminal 1000 includes, but is not limited to: aradio frequency unit 1001, anetwork module 1002, anaudio output unit 1003, aninput unit 1004, asensor 1005, adisplay unit 1006, auser input unit 1007, aninterface unit 1008, amemory 1009, aprocessor 1010, and apower supply 1011. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 10 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal 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 1010 is configured to:
monitoring a touch screen of the mobile terminal and receiving operation on the touch screen;
when the operation is a preset display operation, acquiring a touch area formed on the touch screen by the display operation;
determining a corresponding display instruction according to the touch area, wherein the display instruction indicates a display interface to be displayed, and the display interface comprises at least one of a search box interface or a notification bar interface;
and displaying the display interface to be displayed according to the display instruction.
Wherein, theprocessor 1010 may also be configured to:
receiving touch operation of a user on a touch screen of the mobile terminal;
acquiring a touch area formed on the touch screen by the touch operation or acquiring the operation times of the touch operation in a preset time period;
determining a display interface corresponding to the touch area or the operation times, wherein the display interface comprises at least one of a search box interface or a notification bar interface;
and displaying the determined display interface.
In the embodiment of the invention, after receiving the touch operation of the user on the touch screen of the mobile terminal, the corresponding display interface can be determined according to the touch area or the operation frequency corresponding to the touch operation. Because the display interface comprises at least one of the search box interface or the notification bar interface, the search box interface, the notification bar interface or a common interface of the search box interface and the notification bar interface can be conveniently displayed on the touch screen through the touch operation, so that the viewing efficiency of a user on the notification message and the searching efficiency on related contents are improved.
It should be understood that, in the embodiment of the present invention, theradio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to theprocessor 1010; in addition, the uplink data is transmitted to the base station. In general,radio frequency unit 1001 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 frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through thenetwork module 1002, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
Theaudio output unit 1003 may convert audio data received by theradio frequency unit 1001 or thenetwork module 1002 or stored in thememory 1009 into an audio signal and output as sound. Also, theaudio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 1004 is used to receive an audio or video signal. Theinput Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and amicrophone 10042, theGraphics processor 10041 Processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on thedisplay unit 1006. The image frames processed by thegraphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via theradio frequency unit 1001 or thenetwork module 1002. Themicrophone 10042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via theradio frequency unit 1001 in case of a phone call mode.
The mobile terminal 1000 can also include at least onesensor 1005, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of thedisplay panel 10061 according to the brightness of ambient light, and a proximity sensor that can turn off thedisplay panel 10061 and/or the backlight when the mobile terminal 1000 moves to the ear. As one of the motion sensors, the 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 the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); thesensors 1005 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 1006 is used to display information input by the user or information provided to the user. TheDisplay unit 1006 may include a Display panel 1061, and theDisplay panel 10061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser input unit 1007 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, theuser input unit 1007 includes atouch panel 10071 andother input devices 10072. Thetouch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near thetouch panel 10071 using a finger, a stylus, or any other suitable object or attachment). Thetouch panel 10071 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 1010, and receives and executes commands sent by theprocessor 1010. In addition, thetouch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to thetouch panel 10071, theuser input unit 1007 can includeother input devices 10072. Specifically, theother input devices 10072 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 10071 can be overlaid on thedisplay panel 10061, and when thetouch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to theprocessor 1010 to determine the type of the touch event, and then theprocessor 1010 provides a corresponding visual output on thedisplay panel 10061 according to the type of the touch event. Although in fig. 10, thetouch panel 10071 and thedisplay panel 10061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, thetouch panel 10071 and thedisplay panel 10061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
Theinterface unit 1008 is an interface through which an external device is connected to themobile terminal 1000. 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 data 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 1008 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 1000 or may be used to transmit data between themobile terminal 1000 and external devices.
Thememory 1009 may be used to store software programs as well as various data. Thememory 1009 may mainly include a program storage area and a data storage area, wherein the program storage 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, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, thememory 1009 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 1010 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in thememory 1009 and calling data stored in thememory 1009, thereby integrally monitoring the mobile terminal.Processor 1010 may include one or more processing units; preferably, theprocessor 1010 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 intoprocessor 1010.
The mobile terminal 1000 may also include a power supply 1011 (e.g., a battery) for powering the various components, and thepower supply 1011 may be logically coupled to theprocessor 1010 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, themobile terminal 1000 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including aprocessor 1010, amemory 1009, and a computer program stored in thememory 1009 and capable of running on theprocessor 1010, where the computer program is executed by theprocessor 1010 to implement each process of the interface display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
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 display method embodiment of the interface, 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 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 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.