CN109739130B - Dust screen cleaning method, mobile terminal and computer readable storage medium - Google Patents

Dust screen cleaning method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109739130B
CN109739130B CN201811654649.XA CN201811654649A CN109739130B CN 109739130 B CN109739130 B CN 109739130B CN 201811654649 A CN201811654649 A CN 201811654649A CN 109739130 B CN109739130 B CN 109739130B
Authority
CN
China
Prior art keywords
dust screen
cleaning
time difference
dust
fan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811654649.XA
Other languages
Chinese (zh)
Other versions
CN109739130A (en
Inventor
邱玉磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811654649.XA priority Critical patent/CN109739130B/en
Publication of CN109739130A publication Critical patent/CN109739130A/en
Application granted granted Critical
Publication of CN109739130B publication Critical patent/CN109739130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Abstract

The invention discloses a dust screen cleaning method, which comprises the following steps: recording the accumulated shifting times of the game competition keys, and judging whether the accumulated shifting times reach preset shifting times or not; if the accumulated poking times reach preset poking times, displaying a dust screen cleaning popup window, and receiving a control instruction triggered based on the dust screen cleaning popup window; and if the control instruction is a dust screen cleaning instruction, controlling the fan to operate so as to clean the dust screen. The invention also discloses a mobile terminal and a computer readable storage medium. The invention can improve the cleaning convenience of the dust screen.

Description

Dust screen cleaning method, mobile terminal and computer readable storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a dust screen cleaning method, a mobile terminal and a computer readable storage medium.
Background
With the rapid development of mobile terminals, the configuration of the mobile terminals is higher and higher, and more applications can be supported. Along with the popularization and the improvement of the configuration of the mobile terminal, more and more users play games through the mobile terminal, the mobile terminal needs to occupy more system resources in the process of running the games, the mobile terminal is easy to generate heat, and the running of the games can be influenced.
At present, through deploying the air cooling system in mobile terminal, realize the heat dissipation to mobile terminal, this air cooling system includes air outlet and dust screen, along with mobile terminal's continuous use, can be gradually pile up the dust on the dust screen to lead to the air outlet to block up, be unfavorable for the air cooling system to dispel the heat to mobile terminal, need the manual clearance dust screen of user. However, the mobile terminal user does not know whether the air outlet is blocked, and cannot accurately clean the dust screen in real time, so that the user is not convenient to clean the dust screen, and therefore, how to improve the cleaning convenience of the dust screen is a problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide a dust screen cleaning method, a mobile terminal and a computer readable storage medium, aiming at improving the cleaning convenience of the dust screen.
In order to achieve the above object, the present invention provides a dust screen cleaning method, which is applied to a mobile terminal, wherein the mobile terminal is provided with a game competition key, a fan and a dust screen, an air outlet of the fan is over against the dust screen, and the dust screen cleaning method comprises the following steps:
recording the accumulated shifting times of the game competition keys, and judging whether the accumulated shifting times reach preset shifting times or not;
if the accumulated poking times reach preset poking times, displaying a dust screen cleaning popup window, and receiving a control instruction triggered based on the dust screen cleaning popup window;
and if the control instruction is a dust screen cleaning instruction, controlling the fan to operate so as to clean the dust screen.
Optionally, if the control instruction is a dust screen cleaning instruction, controlling the fan to operate to clean the dust screen includes:
if the control instruction is a dust screen cleaning instruction, acquiring the current trigger time and the last trigger time of the dust screen cleaning instruction;
calculating a time difference value between the current trigger time and the last trigger time;
determining a fan control gear according to the time difference;
and controlling the fan to operate according to the fan control gear, and continuously operating for a first preset time so as to clean the dust screen.
Optionally, after the step of calculating a time difference between the current trigger time and the last trigger time and determining the fan control gear according to the time difference, the method further includes:
determining a first cleaning time length for cleaning the dust screen according to the time difference;
and controlling the fan to operate according to the fan control gear, and continuously operating the first cleaning duration to clean the dust screen.
Optionally, the mobile terminal is further provided with a vibration motor, and after the step of calculating the time difference between the current trigger time and the last trigger time, the method further includes:
judging whether the time difference is greater than or equal to a preset time difference;
if the time difference is larger than or equal to a preset time difference, determining a fan control gear and a motor control gear according to the time difference, and determining a second cleaning time length for cleaning the dust screen according to the time difference;
controlling the fan to operate and continuously operating the second cleaning time according to the fan control gear, and controlling the vibration motor to operate and continuously operating the second cleaning time according to the motor control gear so as to clean the dust screen;
if the time difference is smaller than a preset time difference, executing the following steps: and determining a fan control gear according to the time difference.
Optionally, the step of determining the fan control gear and the motor control gear according to the time difference comprises:
acquiring a first mapping relation table of a pre-stored time difference value and a fan control gear, and acquiring a second mapping relation table of the pre-stored time difference value and a motor control gear;
and inquiring the first mapping relation table to obtain the fan control gear corresponding to the time difference, and inquiring the second mapping relation table to obtain the motor control gear corresponding to the time difference.
Optionally, the dust screen is a conductive dust screen, and the dust screen cleaning method further includes:
and in the process of cleaning the dust screen, controlling the dust screen to release charges, lasting for a second preset time, and electrifying the dust screen to remove dust on the dust screen.
Optionally, the step of powering on the dust screen includes:
inputting positive polarity charges into the dustproof net, and continuing for a third preset time to remove positive polarity dust on the dustproof net;
inputting negative polarity charges into the dustproof net, and keeping for a fourth preset time length to remove the negative polarity dust on the dustproof net.
Optionally, after the step of inputting negative polarity charges into the dust screen and continuing for a fourth preset time period to remove the negative polarity dust on the dust screen, the method further includes:
inputting the positive polarity sharp pulse and the negative polarity sharp pulse into the dustproof net, and continuing for a fifth preset time length to eliminate dust on the dustproof net.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: the game competition key comprises a game competition key, a fan and a dust screen, wherein an air outlet of the fan is opposite to the dust screen, the game competition key further comprises a memory, a processor and a dust screen cleaning program which is stored on the memory and can run on the processor, and the dust screen cleaning program is executed by the processor to realize the steps of the dust screen cleaning method.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium having a dust-screen cleaning program stored thereon, which when executed by a processor, implements the steps of the dust-screen cleaning method as described above.
The invention provides a dust screen cleaning method, a mobile terminal and a computer readable storage medium, the invention records the accumulated toggle times of a game competition key, judges whether the accumulated toggle times reach the preset toggle times, displays a dust screen cleaning popup window if the accumulated toggle times reach the preset toggle times, receives a control instruction triggered based on the dust screen cleaning popup window, controls a fan to operate when the control instruction is the dust screen cleaning instruction, so as to clean the dust screen, can remind a user of whether to clean the dust screen when the accumulated toggle times of the game competition key reach a set value, and controls the fan to operate when the dust screen cleaning instruction triggered based on the popup window is monitored, so that dust on the dust screen can be automatically cleaned, and the cleaning convenience of the dust screen is greatly improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram illustrating a communication network architecture according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a first embodiment of a dust screen cleaning method according to the present invention;
FIG. 4 is a schematic diagram illustrating the positions of game keys according to the first embodiment of the present invention;
FIG. 5 is a schematic view of a dust screen cleaning pop-up window according to the first embodiment of the present invention;
FIG. 6 is a diagram illustrating a clean countdown interface according to a first embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of the phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 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), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 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, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of 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 the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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. The interface unit 108 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 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage 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, the memory 109 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.
The processor 110 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 the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module, a game key, a fan, a dust screen, and the like, which will not be described herein.
As shown in fig. 1, the memory 109, which is a kind of computer storage medium, may include an operating system, a network communication module, a user interface module, and a dust screen cleaning program, and the processor 110 may be configured to call the dust screen cleaning program stored in the memory 109 and perform the following steps:
recording the accumulated shifting times of the game competition keys, and judging whether the accumulated shifting times reach preset shifting times or not;
if the accumulated poking times reach preset poking times, displaying a dust screen cleaning popup window, and receiving a control instruction triggered based on the dust screen cleaning popup window;
and if the control instruction is a dust screen cleaning instruction, controlling the fan to operate so as to clean the dust screen.
Further, the processor 110 may be configured to call the dust screen cleaning program stored in the memory 109, and further perform the following steps:
if the control instruction is a dust screen cleaning instruction, acquiring the current trigger time and the last trigger time of the dust screen cleaning instruction;
calculating a time difference value between the current trigger time and the last trigger time;
determining a fan control gear according to the time difference;
and controlling the fan to operate according to the fan control gear, and continuously operating for a first preset time so as to clean the dust screen.
Further, the processor 110 may be configured to call the dust screen cleaning program stored in the memory 109, and further perform the following steps:
determining a first cleaning time length for cleaning the dust screen according to the time difference;
and controlling the fan to operate according to the fan control gear, and continuously operating the first cleaning duration to clean the dust screen.
Further, the processor 110 may be configured to call the dust screen cleaning program stored in the memory 109, and further perform the following steps:
judging whether the time difference is greater than or equal to a preset time difference;
if the time difference is larger than or equal to a preset time difference, determining a fan control gear and a motor control gear according to the time difference, and determining a second cleaning time length for cleaning the dust screen according to the time difference;
controlling the fan to operate and continuously operating the second cleaning time according to the fan control gear, and controlling the vibration motor to operate and continuously operating the second cleaning time according to the motor control gear so as to clean the dust screen;
if the time difference is smaller than a preset time difference, executing the following steps: and determining a fan control gear according to the time difference.
Further, the processor 110 may be configured to call the dust screen cleaning program stored in the memory 109, and further perform the following steps:
acquiring a first mapping relation table of a pre-stored time difference value and a fan control gear, and acquiring a second mapping relation table of the pre-stored time difference value and a motor control gear;
and inquiring the first mapping relation table to obtain the fan control gear corresponding to the time difference, and inquiring the second mapping relation table to obtain the motor control gear corresponding to the time difference.
Further, the processor 110 may be configured to call the dust screen cleaning program stored in the memory 109, and further perform the following steps:
and in the process of cleaning the dust screen, controlling the dust screen to release charges, lasting for a second preset time, and electrifying the dust screen to remove dust on the dust screen.
Further, the processor 110 may be configured to call the dust screen cleaning program stored in the memory 109, and further perform the following steps:
inputting positive polarity charges into the dustproof net, and continuing for a third preset time to remove positive polarity dust on the dustproof net;
inputting negative polarity charges into the dustproof net, and keeping for a fourth preset time length to remove the negative polarity dust on the dustproof net.
Further, the processor 110 may be configured to call the dust screen cleaning program stored in the memory 109, and further perform the following steps:
inputting the positive polarity sharp pulse and the negative polarity sharp pulse into the dustproof net, and continuing for a fifth preset time length to eliminate dust on the dustproof net.
The specific embodiment of the mobile terminal of the present invention is substantially the same as the embodiments of the dust screen cleaning method described below, and will not be described herein again.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the hardware structure of the mobile terminal and the communication network system, the invention provides various embodiments of the dust screen cleaning method.
The invention provides a dust screen cleaning method.
Referring to fig. 3, fig. 3 is a schematic flow chart of a dust screen cleaning method according to a first embodiment of the present invention.
In this embodiment, the dust screen cleaning method includes:
step S101, recording the accumulated toggle times of the game competitive key, and judging whether the accumulated toggle times reach the preset toggle times or not;
in this embodiment, the dust screen cleaning method is applied to a mobile terminal, the mobile terminal is provided with a game competition key, a fan and a dust screen, an air outlet of the fan faces the dust screen, the game competition key is an entity key and can be shifted by a user, the mobile terminal is in a game acceleration mode after the user shifts the game competition key upwards, game experience can be effectively improved, and when the mobile terminal is in the game acceleration mode, the mobile terminal is converted into a normal mode from the game acceleration mode after the user shifts the game competition key downwards. It should be noted that, the position of the game competition key in the mobile terminal may be set by a person skilled in the art based on actual situations, and this embodiment is not particularly limited thereto. Fig. 4 is a schematic diagram illustrating a position of a game play key according to a first embodiment of the present invention, and as shown in fig. 4, the game play key is disposed on a left side of the mobile terminal. The mobile terminal records the accumulated shifting times of the game competition key and judges whether the accumulated shifting times reach the preset shifting times, wherein when the mobile terminal monitors that the game competition key is shifted by a user, the mobile terminal records one-time shifting times, namely the accumulated shifting times is added with 1. It should be noted that the preset toggle times may be set by the user, and when the user is not set, the preset toggle times is a default value of the system.
Step S102, if the accumulated toggle times reach preset toggle times, displaying a dust screen cleaning popup window, and receiving a control instruction triggered based on the dust screen cleaning popup window;
in this embodiment, if the cumulative toggle number reaches the preset toggle number, the mobile terminal displays a dust screen cleaning popup window, and receives a control instruction triggered based on the dust screen cleaning popup window, where the dust screen cleaning popup window displays a cleaning prompt message, a confirmation control, and a cancellation control, and when it is monitored that the confirmation control is touched by a user, the control instruction is triggered, and the control instruction is the dust screen cleaning instruction, and when it is monitored that the cancellation control is touched by the user, the control instruction is triggered, and the control instruction is a re-recording instruction, that is, the cumulative toggle number of the game competition key is re-recorded. Fig. 5 is a schematic view of a dust screen cleaning popup window in a first embodiment of the present invention, and as shown in fig. 5, the dust screen cleaning popup window is located in the middle of a display screen of a mobile terminal, and a confirmation control, a cancellation control, and a cleaning reminder message "confirm whether to clean a dust screen" are displayed.
In specific implementation, if the accumulated toggle number reaches the preset toggle number, the mobile terminal further monitors whether the mobile terminal is in an idle mode (whether a current display interface of the mobile terminal is an application desktop, if the current display interface of the mobile terminal is the application desktop, the mobile terminal is in the idle mode, otherwise, if the current display interface of the mobile terminal is not the application desktop, the mobile terminal is not in the idle mode), if the mobile terminal is in the idle mode, the dust screen cleaning popup window is displayed, and a control instruction triggered based on the dust screen cleaning popup window is received, and if the mobile terminal is not in the idle mode, the processing is not performed.
And S103, if the control instruction is a dust screen cleaning instruction, controlling the fan to operate so as to clean the dust screen.
In this embodiment, if the control instruction is a dust screen cleaning instruction, the mobile terminal controls the fan to operate and continuously operates for a first preset time period to clean the dust screen, that is, the fan operates according to a preset rotation speed, and continuously operates for the first preset time period to clean the dust screen, during the process of cleaning the dust screen, the mobile terminal displays a cleaning countdown interface of the dust screen, and when a cleaning interruption instruction triggered based on the cleaning countdown interface is monitored, the fan is controlled to stop operating. Fig. 6 is a schematic diagram of a cleaning countdown interface according to a first embodiment of the present invention, and as shown in fig. 6, a cleaning countdown interface is displayed in the mobile terminal, and "dust screen cleaning" and a countdown time "29" are displayed in the cleaning countdown interface. After the cleaning is completed, the mobile terminal records the accumulated dialing times of the game competition keys again.
In specific implementation, a user can also actively trigger a dust screen cleaning instruction, specifically, a control button used for triggering the dust screen cleaning instruction is arranged in the mobile terminal, and the user can trigger the dust screen cleaning instruction based on the control button, so that the mobile terminal controls the fan to operate to clean the dust screen.
Optionally, this mobile terminal can also cooperate vibrating motor to clear up the dust screen, specifically be this fan of this mobile terminal simultaneous control and this vibrating motor operation, and it is long when lasting the first presetting of operation, in order to clear up this dust screen, the wind-force that fan operation process produced can act on the dust screen, simultaneously vibrating motor operation in-process, can drive the dust screen and vibrate together, dust on the dust screen can effectually become flexible, thereby blow away by the fan, dust on can effectual clearance dust screen. It should be noted that, the first preset time period and the preset rotation speed may be set by a person skilled in the art based on practical situations, and this embodiment is not limited in particular.
Further, if the control instruction is a dust screen cleaning instruction, the mobile terminal obtains the current trigger time and the last trigger time of the dust screen cleaning instruction, calculates a time difference between the current trigger time and the last trigger time, determines a fan control gear according to the time difference, controls the fan to operate according to the fan control gear, and continuously operates for a first preset time. The determination method of the fan control gear is specifically that the mobile terminal obtains a mapping relation table of a pre-stored time difference value and the fan control gear, and queries the mapping relation table to obtain the fan control gear corresponding to the time difference value. It should be noted that the preset mapping relationship table may be set by a person skilled in the art based on actual situations, and this embodiment is not limited in this respect. For example, the fan control gears include a first gear, a second gear and a third gear, and the corresponding wind power levels are ranked as third gear > second gear > first gear, that is, the wind power level of the third gear is the highest, the wind power level of the second gear is the middle, and the wind power level of the first gear is the lowest, and the mapping table is shown in the following table:
time difference Fan control gear
1-14 days First gear
15-29 days Second gear
More than 30 Three-gear
Optionally, after the fan control gear is determined, the mobile terminal further determines a first cleaning duration for cleaning the dust screen according to the time difference, controls the fan to operate according to the fan control gear, and continuously operates the first cleaning duration to clean the dust screen. The determining method of the first cleaning duration is specifically that the mobile terminal obtains a mapping relation table of pre-stored cleaning durations and time difference values, queries the mapping relation table, and obtains the first cleaning duration corresponding to the time difference value.
In this embodiment, the invention records the accumulated toggle times of the game competition key, and judges whether the accumulated toggle times reaches the preset toggle times, if the accumulated toggle times reaches the preset toggle times, the dust screen cleaning popup window is displayed, and a control instruction triggered based on the dust screen cleaning popup window is received, when the control instruction is the dust screen cleaning instruction, the fan is controlled to operate to clean the dust screen, when the accumulated toggle times of the game competition key reaches a set value, the popup window reminds a user whether to clean the dust screen, and when the dust screen cleaning instruction triggered based on the popup window is monitored, the fan is controlled to operate, so that dust on the dust screen can be automatically cleaned, and the cleaning convenience of the dust screen is greatly improved.
Further, based on the first embodiment, a second embodiment of the dust screen cleaning method according to the present invention is provided, which is different from the previous embodiment in that after the time difference between the current trigger time and the last trigger time is calculated, the mobile terminal determines whether the time difference is greater than or equal to a preset time difference, if the time difference is greater than or equal to the preset time difference, determines a fan control gear and a motor control gear according to the time difference, determines a second cleaning duration for cleaning the dust screen according to the time difference, then controls the fan to operate according to the fan control gear, and continuously operates the second cleaning duration, and controls the vibration motor to operate according to the motor control gear, and continuously operates the second cleaning duration for cleaning the dust screen, if the time difference is smaller than the preset time difference, and determining a fan control gear according to the time difference, controlling the fan to operate according to the fan control gear, and continuously operating for a first preset time.
The specific determination mode of the fan control gear and the motor control gear is that the mobile terminal obtains a first mapping relation table of a pre-stored time difference value and the fan control gear, obtains a second mapping relation table of the pre-stored time difference value and the motor control gear, then queries the first mapping relation table, obtains the fan control gear corresponding to the time difference value, and queries the second mapping relation table, and obtains the motor control gear corresponding to the time difference value. It should be noted that, the first mapping relationship table, the second mapping relationship table, and the preset time difference value may be set by a person skilled in the art based on an actual situation, and this embodiment is not particularly limited thereto.
In the embodiment, when the time difference value is greater than the set time difference value, the mobile terminal is combined with the fan and the motor to clean the dust screen, wind power generated in the operation process of the fan can act on dust on the dust screen, and meanwhile, the vibration motor can drive the dust screen to vibrate together in the operation process of the vibration motor, so that the dust on the dust screen can be effectively loosened, the dust is blown away by the fan, the dust on the dust screen can be effectively cleaned, and the dust cleaning effect is improved.
Further, based on the first or second embodiment, a third embodiment of the method for cleaning a dust screen according to the present invention is provided, and is different from the foregoing embodiments in that during the process of cleaning the dust screen, the mobile terminal optionally controls the dust screen to release charges for a second preset time period, and then after the second preset time period, the mobile terminal performs a power-on operation on the dust screen to remove charged dust on the dust screen. Wherein, this dust screen is electrically conductive dust screen, through with dust screen ground connection to make electrified dust release electric charge on the dust screen, thereby make the electrical property of the dust on the dust screen become electrified, can eliminate partial electrified dust, electrified dust can be eliminated for the dust screen electrification of rethread power supply.
Specifically, by the principle that like charges repel each other, charged dust on the dust screen can be removed, that is, the mobile terminal inputs positive polarity charges to the dust screen for a third preset time period to remove the positive polarity dust on the dust screen, inputs negative polarity charges to the dust screen for a fourth preset time period to remove the negative polarity dust on the dust screen.
Further, the mobile terminal inputs the positive polarity sharp pulse and the negative polarity sharp pulse to the dust screen and lasts for a fifth preset time length to eliminate dust on the dust screen, and the positive polarity sharp pulse and the negative polarity sharp pulse are transient sudden changes of voltage or current, so that dust with stronger adsorption force can be thoroughly eliminated, and dust on the dust screen can be thoroughly eliminated. It should be noted that the second preset time period, the third preset time period, the fourth preset time period, and the fifth preset time period may all be set by a user, which is not specifically limited in this embodiment.
In this embodiment, through releasing electric charge and going up the electricity for the dust screen, all can become flexible dust, the fan is in running state simultaneously, can easily blow away not hard up dust, and dust on can effectual clearance dust screen improves dust clearance effect.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a dust-screen cleaning program is stored on the computer-readable storage medium, and when executed by a processor, the dust-screen cleaning program implements the following steps:
recording the accumulated shifting times of the game competition keys, and judging whether the accumulated shifting times reach preset shifting times or not;
if the accumulated poking times reach preset poking times, displaying a dust screen cleaning popup window, and receiving a control instruction triggered based on the dust screen cleaning popup window;
and if the control instruction is a dust screen cleaning instruction, controlling the fan to operate so as to clean the dust screen.
Further, the dust screen cleaning program further realizes the following steps when executed by the processor:
if the control instruction is a dust screen cleaning instruction, acquiring the current trigger time and the last trigger time of the dust screen cleaning instruction;
calculating a time difference value between the current trigger time and the last trigger time;
determining a fan control gear according to the time difference;
and controlling the fan to operate according to the fan control gear, and continuously operating for a first preset time so as to clean the dust screen.
Further, the dust screen cleaning program further realizes the following steps when executed by the processor:
determining a first cleaning time length for cleaning the dust screen according to the time difference;
and controlling the fan to operate according to the fan control gear, and continuously operating the first cleaning duration to clean the dust screen.
Further, the dust screen cleaning program further realizes the following steps when executed by the processor:
judging whether the time difference is greater than or equal to a preset time difference;
if the time difference is larger than or equal to a preset time difference, determining a fan control gear and a motor control gear according to the time difference, and determining a second cleaning time length for cleaning the dust screen according to the time difference;
controlling the fan to operate and continuously operating the second cleaning time according to the fan control gear, and controlling the vibration motor to operate and continuously operating the second cleaning time according to the motor control gear so as to clean the dust screen;
if the time difference is smaller than a preset time difference, executing the following steps: and determining a fan control gear according to the time difference.
Further, the dust screen cleaning program further realizes the following steps when executed by the processor:
acquiring a first mapping relation table of a pre-stored time difference value and a fan control gear, and acquiring a second mapping relation table of the pre-stored time difference value and a motor control gear;
and inquiring the first mapping relation table to obtain the fan control gear corresponding to the time difference, and inquiring the second mapping relation table to obtain the motor control gear corresponding to the time difference.
Further, the dust screen cleaning program further realizes the following steps when executed by the processor:
and in the process of cleaning the dust screen, controlling the dust screen to release charges, lasting for a second preset time, and electrifying the dust screen to remove dust on the dust screen.
Further, the dust screen cleaning program further realizes the following steps when executed by the processor:
inputting positive polarity charges into the dustproof net, and continuing for a third preset time to remove positive polarity dust on the dustproof net;
inputting negative polarity charges into the dustproof net, and keeping for a fourth preset time length to remove the negative polarity dust on the dustproof net.
Further, the dust screen cleaning program further realizes the following steps when executed by the processor:
inputting the positive polarity sharp pulse and the negative polarity sharp pulse to the dustproof net, and lasting for a fifth preset time so as to eliminate dust on the dustproof net.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the dust screen cleaning method described above, and details thereof are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A dust screen cleaning method is applied to a mobile terminal, the mobile terminal is provided with a game competition key, a fan and a dust screen, an air outlet of the fan is over against the dust screen, and the dust screen cleaning method comprises the following steps:
recording the accumulated shifting times of the game competition keys, and judging whether the accumulated shifting times reach preset shifting times or not;
if the accumulated poking times reach the preset poking times, displaying a dust screen cleaning popup window, and receiving a control instruction triggered based on the dust screen cleaning popup window;
if the control instruction is a dust screen cleaning instruction, acquiring the current trigger time and the last trigger time of the dust screen cleaning instruction;
calculating a time difference value between the current trigger time and the last trigger time;
determining a fan control gear according to the time difference;
and controlling the fan to operate according to the fan control gear, and continuously operating for a first preset time so as to clean the dust screen.
2. The dust screen cleaning method according to claim 1, wherein after the step of calculating a time difference between the current trigger time and the last trigger time and determining the fan control gear according to the time difference, further comprising:
inquiring a pre-stored mapping relation table of the cleaning time length and the time difference value according to the time difference value, and determining a first cleaning time length for cleaning the dust screen;
and controlling the fan to operate according to the fan control gear, and continuously operating the first cleaning duration to clean the dust screen.
3. The method for cleaning dust screen according to claim 1 or 2, wherein the mobile terminal is further provided with a vibration motor, and after the step of calculating the time difference between the current trigger time and the last trigger time, the method further comprises:
judging whether the time difference is greater than or equal to a preset time difference;
if the time difference is larger than or equal to a preset time difference, determining a fan control gear and a motor control gear according to the time difference, and determining a second cleaning time length for cleaning the dust screen according to the time difference;
controlling the fan to operate and continuously operating the second cleaning time according to the fan control gear, and controlling the vibration motor to operate and continuously operating the second cleaning time according to the motor control gear so as to clean the dust screen;
if the time difference is smaller than a preset time difference, executing the following steps: and determining a fan control gear according to the time difference.
4. The dust screen cleaning method of claim 3, wherein the step of determining a fan control position and a motor control position based on the time difference comprises:
acquiring a first mapping relation table of a pre-stored time difference value and a fan control gear, and acquiring a second mapping relation table of the pre-stored time difference value and a motor control gear;
and inquiring the first mapping relation table to obtain the fan control gear corresponding to the time difference, and inquiring the second mapping relation table to obtain the motor control gear corresponding to the time difference.
5. The method of cleaning dust screens of any one of claims 1 to 2, wherein the dust screen is a conductive dust screen, the method further comprising:
and in the process of cleaning the dust screen, controlling the dust screen to release charges, lasting for a second preset time, and electrifying the dust screen to remove dust on the dust screen.
6. The dust screen cleaning method of claim 5, wherein the step of powering up the dust screen comprises:
inputting positive polarity charges into the dustproof net, and continuing for a third preset time to remove positive polarity dust on the dustproof net;
inputting negative polarity charges into the dustproof net, and keeping for a fourth preset time length to remove the negative polarity dust on the dustproof net.
7. The dust screen cleaning method according to claim 6, wherein after the step of inputting negative polarity charges into the dust screen for a fourth predetermined time period to clean the dust screen of negative polarity, the method further comprises:
inputting the positive polarity sharp pulse and the negative polarity sharp pulse into the dustproof net, and continuing for a fifth preset time length to eliminate dust on the dustproof net.
8. A mobile terminal, characterized in that the mobile terminal comprises: the game competition key comprises a game competition key, a fan and a dust screen, wherein an air outlet of the fan is opposite to the dust screen, the game competition key further comprises a memory, a processor and a dust screen cleaning program which is stored on the memory and can run on the processor, and the dust screen cleaning program realizes the steps of the dust screen cleaning method according to any one of claims 1 to 7 when being executed by the processor.
9. A computer-readable storage medium, having a dust-screen cleaning program stored thereon, which when executed by a processor, implements the steps of the dust-screen cleaning method according to any one of claims 1 to 7.
CN201811654649.XA 2018-12-29 2018-12-29 Dust screen cleaning method, mobile terminal and computer readable storage medium Active CN109739130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811654649.XA CN109739130B (en) 2018-12-29 2018-12-29 Dust screen cleaning method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811654649.XA CN109739130B (en) 2018-12-29 2018-12-29 Dust screen cleaning method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109739130A CN109739130A (en) 2019-05-10
CN109739130B true CN109739130B (en) 2022-07-12

Family

ID=66363083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811654649.XA Active CN109739130B (en) 2018-12-29 2018-12-29 Dust screen cleaning method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109739130B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114260257A (en) * 2021-11-29 2022-04-01 歌尔科技有限公司 Earphone cleaning device, control method thereof, control equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201526477U (en) * 2009-09-11 2010-07-14 南京莱斯信息技术股份有限公司 Cleaning fan for anti-dust mesh and automatic cleaning device for anti-dust mesh
WO2015139445A1 (en) * 2014-03-18 2015-09-24 烽火通信科技股份有限公司 Detection apparatus and method for dustproof mesh in electronic device
CN107404547A (en) * 2016-05-18 2017-11-28 华为终端(东莞)有限公司 Method and audio devices of the audio Air Filter from dedusting

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101368938B (en) * 2007-08-17 2012-08-29 华为技术有限公司 Device and method for detecting obstruction degree of dustproof mesh, and electronic equipment thereof
CN102029275B (en) * 2010-12-10 2013-11-06 中兴通讯股份有限公司 Dedusting method and system for equipment
CN106878909A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Speaker voice giving hole plug processing method, device and terminal device
CN108733535A (en) * 2017-04-25 2018-11-02 北京小米移动软件有限公司 Clean method and device, the electronic equipment of electronic equipment Air Filter
CN108616650B (en) * 2018-03-26 2021-01-08 维沃移动通信有限公司 Dust removal method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201526477U (en) * 2009-09-11 2010-07-14 南京莱斯信息技术股份有限公司 Cleaning fan for anti-dust mesh and automatic cleaning device for anti-dust mesh
WO2015139445A1 (en) * 2014-03-18 2015-09-24 烽火通信科技股份有限公司 Detection apparatus and method for dustproof mesh in electronic device
CN107404547A (en) * 2016-05-18 2017-11-28 华为终端(东莞)有限公司 Method and audio devices of the audio Air Filter from dedusting

Also Published As

Publication number Publication date
CN109739130A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN108540358B (en) Control method of household appliance, mobile terminal and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN109884543B (en) Method and equipment for predicting remaining service life of battery
CN108881635B (en) Screen brightness adjusting method, mobile terminal and computer readable storage medium
CN109005574B (en) Cell selection method, mobile terminal and computer readable storage medium
CN107645189B (en) Charging protection method and mobile terminal
CN108628311B (en) Control method, sweeping robot, terminal and computer-readable storage medium
CN107861663B (en) Method and device for displaying dockbar under comprehensive screen
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN108984063B (en) Desktop interaction regulation and control method and device and computer readable storage medium
CN109547633B (en) Reminding method, terminal and computer readable storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN110048492B (en) Charging circuit, mobile terminal, control method of mobile terminal, and storage medium
CN109309953B (en) Power consumption detection method, device, terminal and readable storage medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN107613222B (en) Light supplement adjusting method of terminal, terminal and computer readable storage medium
CN109739130B (en) Dust screen cleaning method, mobile terminal and computer readable storage medium
CN109308147B (en) Application icon display method and device and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN107911778B (en) Playing method based on parallel loudspeaker, mobile terminal and readable storage medium
CN107743204B (en) Exposure processing method, terminal, and computer-readable storage medium
CN109885275B (en) Audio regulation and control method, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant