Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a method for controlling a smart window system according to an embodiment of the application.
A smart window system control method, comprising the steps of:
S101, acquiring current time and judging whether the current time reaches a first preset time or not;
s102, if the current time reaches the first preset time, acquiring indoor and outdoor environment parameters;
S103, determining a window system control scheme based on the indoor and outdoor environment parameters, wherein the window system control scheme comprises a curtain control mode and a window control mode;
and S104, controlling curtains and windows in sequence according to the window system control scheme.
According to the intelligent window system control method, the current time and the indoor and outdoor environment parameters are acquired, so that the corresponding window system control scheme is acquired, the curtains and the windows are sequentially opened, the interactivity of products and users is improved, and the running result is more in accordance with the requirements of the users.
For step S101, acquiring current time, and judging whether the current time reaches a first preset time or not;
wherein the first preset time is a window system running time set by a user, and in one embodiment, the first preset time is a user getting-up time.
And determining whether the current time reaches the time of getting up of the user or not by judging whether the current time reaches the first preset time or not, so as to determine whether the curtain and the window need to be opened or not.
For step S102, if the current time reaches the first preset time, acquiring indoor and outdoor environment parameters;
The indoor and outdoor environment parameters are obtained through environment sensors arranged indoors and outdoors. In one embodiment, the environmental sensor includes one or more of an illumination intensity sensor, a temperature sensor, and an air detector.
And when the current time reaches the first preset time, acquiring current indoor and outdoor environment parameters through an environment sensor arranged in the indoor and outdoor environment, and determining a window system control scheme.
For step S103, determining a window system control scheme based on the indoor and outdoor environment parameters, wherein the window system control scheme includes a curtain control mode and a window control mode;
In one embodiment, determining the window system control scheme includes the steps of:
Acquiring indoor and outdoor environment parameters when the current time reaches a first preset time; determining a first window system control scheme based on the indoor and outdoor environment parameters; determining the first window system control scheme as a window system control scheme;
After the current time reaches a first preset time, acquiring current indoor and outdoor environment parameters through an environment sensor arranged inside and outside the room, determining a first window system control scheme according to the indoor and outdoor environment parameters, and taking the first window system control scheme as the window system control scheme. Wherein the indoor and outdoor environment parameters comprise illumination intensity, air quality index, temperature, humidity and the like.
In this embodiment, the first window system control scheme is determined according to the indoor and outdoor environment parameters, and the first window system control scheme is used as a window system control scheme, so that the window system control scheme meets the current indoor and outdoor environment conditions, and a suitable environment is provided for users when curtains and windows are opened.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps for calculating a curtain opening method according to an embodiment of the present application. The window system control scheme includes a window covering control scheme. The curtain control mode is a control scheme for controlling the opening of the curtain. The indoor and outdoor environment parameters comprise indoor and outdoor illumination intensity, and the indoor and outdoor illumination intensity is obtained through illumination sensors arranged inside and outside the room. Obtaining a corresponding window system control scheme according to the indoor and outdoor environment parameters, wherein the window system control scheme comprises the following steps of:
s201, obtaining optimal illumination intensity, and calculating corresponding curtain control parameters according to the optimal illumination intensity and the indoor and outdoor illumination intensity, wherein the curtain control parameters comprise at least one of a curtain opening percentage, a curtain opening speed and a curtain opening layer number;
s202, controlling the opening of a curtain according to the curtain control parameters;
S203, detecting indoor illumination intensity in real time, and stopping opening the curtain if the indoor illumination intensity reaches the optimal illumination intensity.
For step S201, obtaining an optimal illumination intensity, and calculating a corresponding curtain control parameter according to the optimal illumination intensity and the indoor and outdoor illumination intensities, where the curtain control parameter includes at least one of a curtain opening percentage, a curtain opening speed, and a number of layers of curtain opening;
wherein the optimal illumination intensity is the most suitable illumination intensity of the user room on the same day, and in one embodiment, the optimal illumination intensity is calculated and judged by acquiring the geographic position, season, weather and time of the user room, or acquiring data, such as illumination intensity, temperature, humidity and the like of the current day issued by a local weather bureau, through a third party platform.
The percentage of window covering open refers to the length of window covering open, in one embodiment, a window covering open percentage of 0% indicates that window covering is not open, and 100% indicates that window covering is fully open. The window covering opening speed is the speed of operation in the window covering opening process, and in other embodiments, the window covering opening speed can be replaced by window covering opening operation time. The curtain opening layer number refers to the curtain opening of different layers according to different illumination intensities.
According to the optimal illumination intensity and the indoor and outdoor illumination intensities, corresponding curtain control parameters are calculated, for example, when the outdoor illumination intensity is 95 and the indoor illumination intensity is 50, if the optimal illumination intensity is 60, the outdoor illumination is stronger, the indoor illumination is darker, the shade degree of the curtain is assumed to be 20, and the opening percentage of the curtain is calculated to be 60% because sunlight is refracted to a window and there is a loss of 2 illumination intensities.
For step S202, controlling the opening of the window curtain according to the window curtain control parameter;
In one embodiment, according to the optimal illumination intensity and the indoor and outdoor illumination intensity, corresponding curtain control parameters are calculated, if the curtain opening percentage is 80%, the curtain opening speed is v, and a first layer of the curtain is opened; the shade control scheme opens the first layer of the shade to 80% of the total length at v during operation.
For step S203, detecting indoor illumination intensity in real time, and stopping opening the window curtain if the indoor illumination intensity reaches the optimal illumination intensity;
And detecting the indoor illumination intensity in real time in the curtain opening process, stopping curtain opening if the indoor illumination intensity reaches the optimal illumination intensity, for example, the calculated curtain opening percentage in the curtain control parameters is 80 percent, and stopping opening the curtain according to the curtain control parameters when the illumination intensity detected by the indoor illumination sensor reaches the optimal illumination intensity when the curtain opening reaches 70 percent, so as to keep the existing curtain opening percentage. If the optimal illumination intensity is still not achieved after the curtains are all opened, the curtains are kept to be all opened.
The indoor illumination intensity is detected in real time, so that the final curtain opening scheme is further ensured to be more in line with actual environmental parameters.
In one embodiment, the window system control scheme further comprises a window control scheme. The window control mode is a control scheme for controlling the opening of the window. The indoor and outdoor environment parameters comprise an outdoor air quality index, and the outdoor air quality index is obtained through an air detector arranged outdoors. Obtaining a corresponding window system control scheme according to the indoor and outdoor environment parameters, wherein the window system control scheme comprises the following steps of:
obtaining an optimal air quality index, and calculating corresponding window control parameters according to the optimal air quality index and the outdoor air quality index, wherein the window control parameters comprise window opening percentage and/or opening time;
controlling the window to be opened according to the window control parameters;
And detecting the indoor air quality index in real time, and stopping opening the window if the indoor air quality index reaches the optimal air quality index.
Wherein the optimal air quality index is an optimal air quality index of the user room. The air quality index is used for comprehensively representing the air pollution degree or the air quality grade, and judging whether the current outdoor environment is suitable for opening a window or not through judging the outdoor air quality index. The window opening percentage refers to the degree of opening of a window, and the window opening percentage is 0% to 100%, wherein 0% is that the window is not opened, and 100% is that the window is completely opened. The percentage of the window opening is varied according to the outdoor air quality index to different percentages.
In one embodiment, the closer the outdoor air quality index is to the optimal air quality index, the greater the window opening percentage, otherwise the smaller the window opening percentage.
And controlling the window to be opened according to the window control parameters, and stopping opening the window, namely keeping the percentage of opening the window and not changing any more when the indoor air quality index reaches the optimal air quality index through real-time detection.
And after the current time reaches the first preset time, acquiring the indoor and outdoor environment parameters, so as to acquire a corresponding window system control scheme according to the indoor and outdoor environment parameters, and controlling the window system to operate according to the window system scheme. The window system control scheme in the application is ensured to accord with the current environment.
In one embodiment, determining a first window system control scheme based on the indoor and outdoor environment parameters comprises the steps of:
And inputting the current time and the indoor and outdoor environment parameters into a first window system control scheme generation model, and acquiring a first window system control scheme corresponding to the indoor and outdoor environment parameters.
The first window system control scheme generation model is trained in advance and is used for generating a window system control scheme model. The current time and the indoor and outdoor environment parameters are input into the window system control scheme generation model to acquire a first window system control scheme, so that the efficiency and accuracy of the acquisition of the first window system control scheme are improved, and the acquired first window system control scheme is more in line with the current actual environment.
In one embodiment, the smart window system control method further comprises building a first window system control scheme generation model through a neural network, the building of the first window system control scheme through the neural network comprising the steps of:
Acquiring a plurality of groups of indoor and outdoor environment parameters in each historical time period as training samples;
Acquiring window system control schemes corresponding to indoor and outdoor environment parameters of each group as labels of training samples;
And acquiring the constructed neural network model, taking the training sample as input, taking the label of the training sample as output, training the neural network model, and acquiring a window system control scheme generation model.
By adopting a plurality of groups of indoor and outdoor environment parameters under different historical time periods as training samples, the window system control scheme corresponding to the plurality of groups of indoor and outdoor environment parameters is used as a label of the training samples. And for the constructed neural network model, training the neural network model by taking the training sample as input and the label of the training sample as output, thereby obtaining the window system control scheme generation model. By adopting a plurality of groups of indoor and outdoor environment parameters and corresponding window system control schemes under different time periods, the neural network model is trained, the window system control scheme generation model is obtained, the diversity of training parameters of the neural network model is ensured, and the window system control scheme generated by the window system control scheme generation model is more accurate.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of a control scheme for a custom window system according to an embodiment of the application. In one embodiment, the smart window system control method further comprises the steps of:
S301, acquiring indoor and outdoor environment parameters when the current time reaches a first preset time; determining a first window system control scheme based on the indoor and outdoor environment parameters;
S302, comparing the first window system control scheme with a custom window system control scheme, and judging whether the custom window system control scheme is suitable or not;
S303, if yes, determining the self-defined window system control scheme as the window system control scheme; if not, determining the first window system control as the window system control scheme, or sending out an inquiry command, and selecting the first window system control scheme or the custom window system control scheme as the window system control scheme based on the response command, wherein the custom window system control scheme is a preset window system control scheme.
For step S301, when the current time reaches a first preset time, acquiring indoor and outdoor environment parameters; determining a first window system control scheme based on the indoor and outdoor environment parameters;
in this embodiment, the first preset time may be set to a window system operation time set by the user earlier than the user's getting-up time, for example, the first preset time is set to be 10 minutes earlier than the user's getting-up time, that is, 10 minutes before the user's set getting-up time is reached, and the window system starts to be operated.
In this embodiment, if a custom window system control scheme exists in the smart window system, in the running process of the window curtain, the corresponding window system control scheme is obtained by obtaining indoor and outdoor environmental parameters, and the window system control scheme is compared with the custom window system control scheme, so that the window system control scheme conforming to the user's idea is obtained.
For step S302, comparing the first window system control scheme with a custom window system control scheme, and determining whether the custom window system control scheme is appropriate;
the user-defined window system control scheme is a window system operation scheme which is user-defined and set according to the use requirement.
In one embodiment, the custom window system control scheme includes a custom curtain control mode and a custom window control mode, where the custom curtain control scheme includes a custom set curtain control parameter or a corresponding environmental parameter; the custom window control scheme includes custom set window control parameters or corresponding environmental parameters.
In one embodiment, if the environmental parameter set by the user exists, in the above embodiment, when calculating the window curtain opening scheme and/or the window opening scheme, the optimal illumination intensity and/or the optimal air quality index need not be obtained, and the optimal illumination intensity and/or the optimal air quality index are set according to the environmental parameter set by the user.
In one embodiment, if the current time reaches the first preset time, the method further includes the following steps:
if the system correction option is not selected, controlling to open curtains and windows in sequence according to the self-defined window system control scheme;
and if the system correction option is selected, acquiring indoor and outdoor environment parameters, and acquiring a corresponding window system control scheme according to the indoor and outdoor environment parameters.
The system correction options are arranged in the intelligent window system, and when the custom window system control scheme exists, the options are used for a user to determine whether system correction is needed. And the system correction is to calculate a window system control scheme according to the current environment parameters so as to correct the self-defined window system control scheme. And if the user does not select the system correction option, sequentially controlling to open curtains and windows according to the self-defined window system control scheme, otherwise, acquiring indoor and outdoor environment parameters, and acquiring a corresponding window system control scheme according to the indoor and outdoor environment parameters, thereby correcting the self-defined window system control scheme.
Referring to fig. 4, fig. 4 is a flowchart illustrating steps of comparing the window system control scheme with the custom window system control scheme according to an embodiment of the present application; comparing the window system control scheme with the custom window system control scheme, comprising the steps of:
S401, comparing curtain control parameters in the first window system control scheme with curtain control parameters in the self-defined window system control scheme respectively;
S402, if the curtain control parameters in the first window system control scheme are respectively suitable for the curtain control parameters in the custom window system control scheme, the first window system control scheme is suitable for the custom window system control scheme, otherwise, the first window system control scheme is unsuitable for the custom window system control scheme.
For step S401, comparing the curtain control parameters in the first window system control scheme with the curtain control parameters in the custom window system control scheme, respectively;
And comparing the first window system control scheme with the custom window system control scheme, namely respectively comparing curtain control parameters. In this embodiment, the curtain control parameter in the first window system control scheme is a curtain control scheme suitable for the current indoor and outdoor environments, which is acquired according to the indoor and outdoor environment parameters, and the curtain control parameter in the custom window system control scheme is a curtain control scheme which is custom set by a user and meets the user requirements. The purpose of comparing the two is to determine whether the custom window system control scheme is appropriate for the current environmental parameters.
For step S402, if the window shade control parameters in the first window system control scheme are respectively suitable for the window shade control parameters in the custom window system control scheme, the first window system control scheme is suitable for the custom window system control scheme, otherwise, the window system control scheme is unsuitable for the custom window system control scheme;
The window curtain control parameters in the first window system control scheme are respectively compatible with the window curtain control parameters in the custom window system control scheme, namely that the window curtain opening speed, the window curtain opening percentage and the error between the number of layers of window curtain opening in the window curtain control scheme and the custom window curtain control scheme are the same or are within a corresponding preset error range.
In one embodiment, if the window shade opening percentage in the window shade control scheme is 80% and the corresponding preset error range is 5%, when the window shade opening percentage in the custom window shade control scheme is 75% to 85%, the window shade opening percentages in the custom window shade control scheme and the window shade control scheme are both within the preset error range.
In one embodiment, if the window shade opening speed in the window shade control scheme is v and the corresponding preset error range is 5, when the window shade opening speed in the custom window shade control scheme is v-5 to v+5, the window shade opening speeds in the custom window shade control scheme and the window shade control scheme are both within the preset error range.
In one embodiment, if the number of curtain opening layers in the curtain control scheme is a second layer and the corresponding preset error range is 1, when the number of curtain opening layers in the custom curtain control scheme is a first layer, a second layer or a third layer, both the custom curtain control scheme and the curtain opening layers in the curtain control scheme are within the preset error range.
And when the window curtain control parameters in the first window system control scheme and the custom window system control scheme are all the same or the errors between the window curtain control parameters are within the corresponding preset error range, the first window system control scheme is suitable for the custom window system control scheme.
In one embodiment, comparing the first window system control scheme to the custom window system control scheme further comprises the steps of:
If the window control parameters in the custom window system control scheme and the first window system control scheme are compared, if the window control parameters in the custom window system control scheme and the first window system control scheme are appropriate, the first window system control scheme and the custom window system control scheme are appropriate, otherwise, the window system control scheme and the custom window system control scheme are not appropriate.
By comparing the window control parameters in the custom window system control scheme and the first window system control scheme, the window control parameters in the window control scheme are respectively matched with the window control parameters in the custom window control scheme, which means that the window opening percentages of the window control scheme and the custom window control scheme are the same or the errors between the window opening percentages are within the corresponding preset error ranges.
In one embodiment, if the window opening percentage in the first window system control scheme is 80% and the corresponding preset error range is 5%, when the window opening percentage in the custom window system control scheme is 75% to 85%, the window opening percentages in the custom window system control scheme and the first window system control scheme are both within the preset error range.
And when the window control parameters in the first window system control scheme and the custom window system control scheme are all the same or the errors between the window control parameters are within the corresponding preset error range, the first window system control scheme is suitable for the custom window system control scheme.
And comparing the window system control scheme with the custom window system control scheme, so as to judge whether the custom window system control scheme is an adaptive scheme under the current indoor and outdoor environment parameters, and executing different operations in step S303 according to different judging results, so that the window system control scheme meets the requirements of users.
For step S303, if yes, determining the custom window system control scheme as the window system control scheme; if not, determining the first window system control as the window system control scheme, or sending out an inquiry instruction, and selecting the first window system control scheme or the custom window system control scheme as the window system control scheme based on the response instruction, wherein the custom window system control scheme is a preset window system control scheme;
And when the comparison result of the first window system control scheme and the custom window system control scheme is proper, determining the custom window system control scheme as the window system control scheme, and ensuring that the window system operation result meets the requirement of a user.
When the first window system control scheme and the custom window system control scheme are not suitable, determining the first window system control as the window system control scheme or sending an inquiry command to a user to inquire whether to execute the custom window system control scheme. In one embodiment, the issuing a request to the user is by a voice module asking the user whether to execute a custom window system control scheme.
The reply instruction includes a determination reply and a negative reply. And if the confirmation reply is obtained, the self-defined window system control scheme is used as a window system control scheme, wherein the confirmation reply comprises voice reply confirmation or confirmation options are selected through the intelligent terminal.
And if a negative reply is obtained, the first window system control scheme is used as a window system control scheme, wherein the negative reply comprises voice reply rejection, a rejection option is selected through the intelligent terminal, or reply information is received within preset time.
In one embodiment, a query is sent to the user via a voice module as to whether to execute a custom window system control scheme. If the voice reply of the user is detected to be yes or execute, the reply received by the voice module is determined reply, and the self-defined window system control scheme is used as a window system control scheme. If it is detected that the reply of the user is "no", "refused" or "not executed", or no reply information is received within a preset time, in this embodiment, the preset time is 2 minutes, and at this time, the reply received by the voice module is negative information, the first window system control scheme is used as a window system control scheme.
For step S104, according to the window system control scheme, controlling curtains and windows in sequence;
After the window system control scheme is determined, the window curtains and the windows are controlled in sequence according to the window system control scheme, so that the window curtains and the windows are ensured to be opened, and a proper environment is provided for users.
In one embodiment, the custom window control scheme further includes custom window open duration; after opening the window, the method further comprises the following steps:
and if the window opening time reaches the custom window opening time, controlling the window system to close the window.
The user-defined window opening duration is a duration that a window needs to be opened, which is set by a user, and when the window opening time reaches the user-defined window opening duration, ventilation time which indicates the user's needs is satisfied, and the window system is controlled to close the window according to the user's needs. In one embodiment, the custom window opening duration is set to be 30 minutes, and then the window opening time reaches 30 minutes, and the window closing operation is performed.
By setting the custom window opening duration, the window can be closed at regular time, and overlong ventilation time is avoided. And the window opening duration is controlled according to the user-defined window opening duration, so that the window can be timely closed after the ventilation time reaches the user requirement, and the window opening duration is prevented from being overlong.
In one embodiment, the indoor and outdoor environment parameters further include outdoor weather; after opening the window, the method further comprises the following steps:
And acquiring outdoor weather, and controlling the window system to close the window if the outdoor weather is bad weather, wherein the outdoor weather comprises one of sunny, cloudy, rainy and snowy, and the bad weather comprises cloudy, rainy and snowy.
In this embodiment, the outdoor weather includes one of sunny, cloudy, rainy, and snowy, and the bad weather includes cloudy, rainy, and snowy. The acquiring outdoor weather conditions is acquired by an environmental sensor disposed outdoors, which in one embodiment includes a raindrop sensor for detecting whether the weather is rain.
In one embodiment, after the window is opened, the window system is controlled to close the window to prevent rainwater from entering the room when outdoor weather is detected by the outdoor environmental sensor.
After the window is opened, outdoor weather conditions are acquired through an environment sensor arranged outdoors, and when the outdoor weather conditions are severe, the window system is controlled to close the window. Thereby avoiding indoor environmental pollution caused by severe weather conditions.
According to the intelligent window system control method, different execution modes are selected according to whether a self-defined window system control scheme exists in the intelligent window system or not. And if the self-defined window system control scheme does not exist, acquiring indoor and outdoor environment parameters, acquiring a corresponding window system control scheme according to the indoor and outdoor environment parameters, and controlling the window system to operate according to the window system control scheme. If the self-defined window system control scheme exists, firstly, acquiring indoor and outdoor environment parameters, acquiring a corresponding window system control scheme according to the indoor and outdoor environment parameters, comparing the self-defined window system control scheme with the window control system scheme, controlling the window system to operate according to the self-defined window control system scheme if the self-defined window system control scheme is suitable for the window system control scheme, and interacting with a user through a voice module if the self-defined window system control scheme is unsuitable for the window system control scheme, so that a control scheme meeting the user requirement is acquired.
According to the intelligent window system, customized window system control of a user is realized through the customized window system control scheme, and when the customized window system control scheme does not exist, the corresponding window system control scheme is acquired according to indoor and outdoor environment parameters, so that normal operation of the intelligent window system is ensured; when the custom window system control scheme exists, a corresponding window system control scheme is obtained through indoor and outdoor environment parameters, the window system control scheme is compared with the custom window system control scheme, whether the custom window system control scheme accords with the current indoor and outdoor environment parameters is judged, and when the custom window system control scheme and the custom window system control scheme do not accord with each other, inquiry is carried out through a voice module, so that the interactivity of a product and a user is improved, and the running result of the window system is more in accordance with the requirement of the user.
Referring to fig. 5, fig. 5 is a block diagram of a smart window system according to an embodiment of the present application. A smart window system comprising a controller 10 and an environmental sensor 20;
the controller 10 is connected with the environment sensor 20;
The environmental sensor 20 is used for acquiring indoor and outdoor environment parameters;
The controller 10 is configured to perform the smart window system control method described in the above embodiment.
The controller 10 obtains a current time and judges whether the current time reaches a first preset time; if the current time reaches the first preset time, acquiring indoor and outdoor environment parameters; acquiring a corresponding window system control scheme according to the indoor and outdoor environment parameters, wherein the window system control scheme comprises a curtain control scheme and a window control scheme; and according to the window system control scheme, opening curtains and windows are controlled in sequence.
In one embodiment, the smart window system further comprises a voice module 30, and the controller 10 is connected to the voice module 30; the voice module 30 is configured to receive and send voice commands.
In one embodiment, the environmental sensor 20 includes an illumination sensor 21, an air detector 22, and a raindrop sensor 23; the illumination sensor 21 is used for acquiring indoor and outdoor illumination intensity, the air detector 22 is used for acquiring outdoor air quality index, and the raindrop sensor 23 is used for acquiring outdoor weather conditions.
The controller 10 is connected to the illumination sensor 21, the air detector 22, and the raindrop sensor 23, respectively.
In one embodiment, the smart window system further comprises a window driving mechanism and a window, the window driving mechanism is in transmission connection with the window, the controller 10 is connected with the window driving mechanism, and the controller 10 controls the window driving mechanism to open/close the window according to the window system control scheme when controlling the operation of the window system according to the window system control scheme.
In one embodiment, the smart window system further comprises a window curtain driving mechanism and a window curtain, the window curtain driving mechanism is in transmission connection with the window curtain, the controller 10 is connected with the window curtain driving mechanism, and the window system is controlled to operate according to the window system control scheme, namely the controller 10 controls the window curtain driving mechanism to open the window curtain to a corresponding position or close the window curtain according to the window system control scheme.
Referring to fig. 6, fig. 6 is a schematic diagram of a computer device for controlling a smart window system according to an embodiment of the application. As shown in fig. 6, the computer device 41 includes: a processor 411, a memory 412 and a computer program 413 stored in said memory 412 and executable on said processor 411, for example: a smart window system control program; execution of the computer program 413 by the processor 411 may implement the smart window system control method described in the above embodiments.
Wherein the processor 411 may include one or more processing cores. The processor 411 connects various parts within the computer device 41 using various interfaces and lines, performs various functions of the computer device 41 and processes data by executing or executing instructions, programs, code sets or instruction sets stored in the memory 412 and calling data in the memory 412, and alternatively, the processor 411 may be implemented in at least one hardware form of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (fieldprogrammable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 411 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the touch display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 411 and may be implemented by a single chip.
The Memory 412 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 412 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 412 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 412 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the various method embodiments described above, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 412 may also optionally be at least one storage device located remotely from the aforementioned processor 411.
The embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executed by a method step of the foregoing embodiment, and a specific execution process may refer to a specific description of the foregoing embodiment, and will not be repeated herein.
The above examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention.