CN106534438B - Mobile terminal control device and method - Google Patents

Mobile terminal control device and method Download PDF

Info

Publication number
CN106534438B
CN106534438B CN201610979557.3A CN201610979557A CN106534438B CN 106534438 B CN106534438 B CN 106534438B CN 201610979557 A CN201610979557 A CN 201610979557A CN 106534438 B CN106534438 B CN 106534438B
Authority
CN
China
Prior art keywords
charging
mobile terminal
map
key
identifier
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
CN201610979557.3A
Other languages
Chinese (zh)
Other versions
CN106534438A (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.)
Shanghai Industrial Control Safety Innovation Technology Co., Ltd.
Original Assignee
Shanghai Industrial Control Safety Innovation 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 Shanghai Industrial Control Safety Innovation Technology Co ltd filed Critical Shanghai Industrial Control Safety Innovation Technology Co ltd
Priority to CN201610979557.3A priority Critical patent/CN106534438B/en
Publication of CN106534438A publication Critical patent/CN106534438A/en
Application granted granted Critical
Publication of CN106534438B publication Critical patent/CN106534438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mobile terminal control device, comprising: the mobile terminal comprises a detection module, a control module and a display module, wherein the detection module is used for periodically detecting a key event of a power key of the mobile terminal when the mobile terminal is in a low-voltage charging state; the processing module is used for lightening the screen and displaying charging reminding information when a key event of the power key is detected in the current period and the screen of the mobile terminal is in a screen-off state; the detection module is also used for continuously and periodically detecting the key events of the power key after the charging reminding information is displayed; and the processing module is further used for displaying the charging reminding information in a plurality of continuous periods if the key event is not detected in the plurality of continuous periods until the screen of the mobile terminal is turned off when the key event of the power key is detected in a certain period. The invention also discloses a mobile terminal control method. The invention not only ensures that the charging reminding information has enough display duration, but also realizes accurate detection of key events.

Description

Mobile terminal control device and method
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a mobile terminal control device and a mobile terminal control method.
Background
Since a mobile terminal such as a smart phone or a PAD (PAD) usually generates a large current fluctuation during a booting process, which may cause a battery voltage of the mobile terminal to decrease, in order to ensure stability of the mobile terminal during the booting process, the battery voltage of the mobile terminal must reach a normal booting voltage or higher before the mobile terminal is allowed to be booted. When the battery voltage of the mobile terminal is below the normal starting voltage, the system usually starts only part of the system, and the key event of the mobile terminal cannot be interrupted and can only be realized through circular detection. Therefore, in the charging process of the mobile terminal (the screen of the mobile terminal is in a screen-off state most of the time), when a key event of the power key is detected in a certain cycle detection period, the screen of the mobile terminal is lightened in the period, and corresponding charging reminding information is displayed, such as a charging reminding identification picture. When the cycle detection period is too short, the time for displaying the charging reminding identifier map is too short, so that the user is likely to be unable to view the charging reminding identifier map in time and the use experience of the user is influenced; when the cycle detection period is too long, the key event can be missed. In summary, when the mobile terminal is charged at a low voltage, it is impossible to display the charging reminding marker chart and accurately detect the key event for a long time.
Disclosure of Invention
The invention mainly aims to provide a mobile terminal control device and a mobile terminal control method, and aims to solve the technical problem that a mobile terminal in the prior art cannot give consideration to long-time display of a charging reminding marker chart and accurate detection of key events during low-voltage charging.
In order to achieve the above object, the present invention provides a mobile terminal control device, comprising:
the mobile terminal comprises a detection module, a control module and a display module, wherein the detection module is used for periodically detecting a key event of a power key of the mobile terminal when the mobile terminal is in a charging state and the battery voltage of the mobile terminal is less than a preset voltage threshold;
the processing module is used for lightening the screen of the mobile terminal and displaying corresponding charging reminding information when a key event of the power key is detected in the current period and the screen of the mobile terminal is in a screen-off state;
the detection module is further used for continuously and periodically detecting the key events of the power key after the charging reminding information is displayed;
the processing module is further configured to, if the key event of the power key is not detected in any of a plurality of consecutive periods after the current period, display the charging reminder information in the plurality of periods until the detection module detects the key event of the power key in a certain period, and turn off the screen of the mobile terminal.
Optionally, the charging reminder information includes a first charging reminder identifier map and a second charging reminder identifier map, and the processing module is further configured to:
and if the key event of the power key is not detected in a plurality of continuous periods after the current period, circularly and alternately displaying the first charging reminding identifier drawing and the second charging reminding identifier drawing in the plurality of periods.
Optionally, the processing module includes:
the counting unit is used for counting the times of detecting the key events when the key events of the power key are not detected in the multiple periods;
the judging unit is used for clearing the count when the count reaches a first preset threshold value and judging whether the first charging reminding marker chart is displayed at present;
the processing unit is used for updating the first charging reminding marker map by using the second charging reminding marker map when the first charging reminding marker map is displayed currently; or when the second charging reminding identifier map is displayed currently, the first charging reminding identifier map is used for updating the second charging reminding identifier map.
Optionally, the determining unit includes:
the acquiring subunit is configured to acquire an identifier parameter value corresponding to a currently displayed charging identifier map when the count reaches a first preset threshold, where the first charging reminder identifier map corresponds to a first identifier parameter value, and the second charging reminder identifier map corresponds to a second identifier parameter value;
and the judging subunit is configured to judge whether the first charging reminder identifier map is currently displayed according to the acquired identifier parameter value, where when the acquired identifier parameter value is a first identifier parameter value, it is judged that the first charging reminder identifier map is currently displayed.
Optionally, the counting unit is further configured to count the update times of the charging reminder identifier map after the first charging reminder identifier map is updated with the second charging reminder identifier map each time, or after the second charging reminder identifier map is updated with the first charging reminder identifier map;
and the processing unit is further used for turning off the screen of the mobile terminal when the updating times reach a second preset threshold value.
In addition, in order to achieve the above object, the present invention further provides a mobile terminal control method, including:
the method comprises the steps that when the mobile terminal is in a charging state and the battery voltage of the mobile terminal is smaller than a preset voltage threshold value, a key event of a power key of the mobile terminal is periodically detected;
when a key event of the power key is detected in the current period and the screen of the mobile terminal is in a screen-off state, lightening the screen of the mobile terminal and displaying corresponding charging reminding information;
and after the charging reminding information is displayed, continuously and periodically detecting the key event of the power key, if the key event of the power key is not detected in a plurality of continuous periods after the current period, displaying the charging reminding information in the plurality of periods, and turning off the screen of the mobile terminal until the key event of the power key is detected in a certain period.
Optionally, the charging reminder information includes a first charging reminder identifier map and a second charging reminder identifier map, and if no key event of the power key is detected in a plurality of consecutive cycles after the current cycle, the step of displaying the charging reminder information in the plurality of cycles includes:
and if the key event of the power key is not detected in a plurality of continuous periods after the current period, circularly and alternately displaying the first charging reminding identifier drawing and the second charging reminding identifier drawing in the plurality of periods.
Optionally, the step of displaying the first charging reminder identifier map and the second charging reminder identifier map cyclically and alternately in the plurality of periods includes:
counting the number of times of detecting key events when the key events of the power key are not detected each time in the multiple periods;
when the count reaches a first preset threshold value, clearing the count, and judging whether the first charging reminding marker chart is displayed currently or not;
when the first charging reminding identifier map is displayed currently, updating the first charging reminding identifier map by using the second charging reminding identifier map, and continuously returning to the step of counting the times of detecting key events when the key events of the power key are not detected each time in the multiple periods;
when the second charging reminding identifier map is displayed currently, the first charging reminding identifier map is used for updating the second charging reminding identifier map, and the step of counting the times of detecting key events when the key events of the power key are not detected each time in the multiple periods is continuously returned to be executed.
Optionally, when the count reaches a first preset threshold, the step of determining whether to display the first charging reminder identifier map currently includes:
when the count reaches a first preset threshold value, acquiring an identification parameter value corresponding to a currently displayed charging identification map, wherein the first charging reminding identification map corresponds to a first identification parameter value, and the second charging reminding identification map corresponds to a second identification parameter value;
and judging whether the first charging reminding identification map is displayed currently or not according to the acquired identification parameter value, wherein when the acquired identification parameter value is the first identification parameter value, the first charging reminding identification map is judged to be displayed currently.
Optionally, the mobile terminal control method further includes the steps of:
after the first charging reminding identifier map is updated by the second charging reminding identifier map each time, or the second charging reminding identifier map is updated by the first charging reminding identifier map, counting the updating times of the charging reminding identifier map;
and when the updating times reach a second preset threshold value, turning off the screen of the mobile terminal.
The invention provides a mobile terminal control device and a method, when the mobile terminal is in a charging state and the battery voltage of the mobile terminal is less than a preset voltage threshold value, namely the mobile terminal is in low-voltage charging, a detection module periodically detects the key event of a power key of the mobile terminal, if the key event of the power key is detected in the current period and the screen of the mobile terminal is in a screen-off state, a processing module lights the screen of the mobile terminal and displays corresponding charging reminding information, then the detection module continues to periodically detect the key event of the power key, if the key event of the power key is not detected in a plurality of subsequent periods, the processing module always displays the charging reminding information in a plurality of periods, thus the charging reminding information can be ensured to have enough display duration no matter how short the detected period time is, in addition, the key event can not be missed to be detected, and the key event can be accurately detected.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a block diagram of a mobile terminal control apparatus according to a first embodiment of the present invention;
FIG. 4 is a schematic circuit diagram of a charging module in a mobile terminal according to the present invention;
FIG. 5 is an alternative schematic diagram of the present invention showing a charge reminder message;
fig. 6 is an alternative schematic diagram of the present invention, in which a first charging reminder identifier diagram and a second charging reminder identifier diagram are cyclically and alternately displayed;
FIG. 7 is a detailed block diagram of a processing module in a second embodiment of the mobile terminal control apparatus according to the present invention;
FIG. 8 is a schematic diagram of a detailed module of a determining unit in a second embodiment of the mobile terminal control apparatus according to the present invention;
fig. 9 is a flowchart illustrating a mobile terminal control method according to a first embodiment of the present invention;
fig. 10 is a schematic view of a detailed flow of displaying the charging reminder information in a plurality of periods if no key event of the power key is detected in the consecutive periods after the current period in the second embodiment of the picture management method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained 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.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. 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 themselves. Thus, "module" and "component" may be used in a mixture.
The mobile 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 smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, and the like. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication device or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal mayIncluding TV broadcast signals, radio broadcast signals, data broadcast signals, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting devices. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting apparatus such as a digital broadcasting apparatus, a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed as various broadcasting devices suitable for providing broadcast signals as well as the above-described digital broadcasting device. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMInjection of the powderFrequency Identification (RFID), Infrared data Association (IrDA), Ultra Wideband (UWB), ZigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning device). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process 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 mobile communication module 112 in case of a phone call mode. The microphone 122 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 user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 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 identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device 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 and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal 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 module 152 may 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 module 152 may include a microphone, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication means such as wired and wireless communication means and satellite-based communication means that transmit data via frames or packets.
A communication apparatus in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication devices may use different air interfaces and/or physical layers. For example, the air interface used by the communication device includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and universal mobile telecommunications device (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and so forth. The following description relates to a CDMA communication device, as a non-limiting example, but such teachings are equally applicable to other types of devices.
Referring to fig. 2, the CDMA wireless communication apparatus may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that an apparatus as shown in fig. 2 may include a plurality of BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a base transceiver sub-assembly (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the apparatus. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several global positioning device (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication apparatus, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above-mentioned mobile terminal hardware structure and communication system, various embodiments of the mobile terminal control device of the present invention are proposed.
As shown in fig. 3, in a first embodiment, the mobile terminal control apparatus includes:
the mobile terminal comprises a detection module 10, a power key module and a control module, wherein the detection module is used for periodically detecting a key event of the power key of the mobile terminal when the mobile terminal is in a charging state and the battery voltage of the mobile terminal is less than a preset voltage threshold;
because a mobile terminal such as a smart phone and a PAD (PAD) usually generates a large current fluctuation in a starting process, which may cause a battery voltage of the mobile terminal to decrease, in order to ensure stability of the mobile terminal in the starting process, the mobile terminal is allowed to start only when the battery voltage of the mobile terminal reaches a normal starting voltage, and at present, the mobile terminal is allowed to start only when the battery voltage reaches 3.4V or 3.5V. When the battery voltage of the mobile terminal is below the normal starting voltage, the system usually starts only part of the system, so that the key event of the mobile terminal cannot be interrupted and can only be realized through circular detection. Therefore, in the charging process of the mobile terminal (the screen of the mobile terminal is in a screen-off state most of the time), when a key event of the power key is detected in a certain cycle detection period, the screen of the mobile terminal is lightened in the period, and corresponding charging reminding information is displayed, such as a charging reminding identification picture. When the cycle detection period is too short, the time for displaying the charging reminding identifier map is too short, so that the user is likely to be unable to view the charging reminding identifier map in time and the use experience of the user is influenced; when the cycle detection period is too long, the key event can be missed.
Referring to fig. 4, fig. 4 is a circuit connection diagram of a charging module in the mobile terminal according to the present invention. As shown in fig. 4, the mobile terminal has two charging modes: one is to connect with the external wired charging equipment through a USB port for wired charging; the other is to wirelessly charge with an external wireless charging device through a built-in wireless charging receiving and converting circuit. Wherein, Battery is the mobile terminal Battery; the charge IC is a charging management integrated circuit of the mobile terminal; the PMIC is a power management integrated circuit of the mobile terminal; the Gator Board is a wireless charging component; BUCK is a voltage-reducing conversion circuit; the MCU is a microprocessor and is mainly responsible for wireless charging management of the mobile terminal.
In order to accurately detect the key event and display the charging reminding information for a long time when the mobile terminal is charged at a low voltage, in this embodiment, a voltage threshold is preset, and the voltage threshold is a lower limit voltage value of the mobile terminal when the mobile terminal is normally turned on, that is, a normal turn-on voltage. When the mobile terminal is in a charging state, the battery voltage of the mobile terminal is further detected, and when the battery voltage of the mobile terminal is smaller than a preset voltage threshold, that is, when the mobile terminal is charged at a low voltage, the detection module 10 periodically detects a key event of a power key of the mobile terminal. In this embodiment, a period time M for periodically detecting a key event is preset, and in order to avoid missing detection of the key event, the period time M is set to a short time, for example, the period time M is set to 100ms, that is, when the mobile terminal is charged at a low voltage, the detection module 10 detects the key event of the power key once every 100 ms.
The processing module 20 is configured to, when a key event of the power key is detected in a current period and a screen of the mobile terminal is in a screen-off state, light up the screen of the mobile terminal and display corresponding charging reminding information;
the detection module 10 is further configured to continue to periodically detect a key event of the power key after the charging reminder information is displayed;
the processing module 20 is further configured to, if the key event of the power key is not detected in any of a plurality of consecutive periods after the current period, display the charging reminder information in the plurality of periods until the detecting module 10 detects the key event of the power key in a certain period, and turn off the screen of the mobile terminal.
When the screen of the mobile terminal is in a screen-off state, and the detection module 10 detects a key event of a power key of the mobile terminal in a certain detection period, the processing module 20 lights up the screen of the mobile terminal and displays corresponding charging reminder information, for example, as shown in fig. 5, a charging reminder identifier map is displayed.
After the charging reminder identifier is displayed within the period time, the detection module 10 continues to periodically detect the key event of the power key according to the preset period time. If the key event of the power key of the mobile terminal is not detected in the subsequent continuous multiple periods, the processing module 20 always displays the charging reminding information in the multiple periods, so that the charging reminding information is not displayed too short, and a friendly charging reminding information display effect is realized. Until the detection module 10 detects a key event of the power key of the mobile terminal in a certain period, that is, the user performs a key operation of the power key, the processing module 20 extinguishes the screen of the mobile terminal, and terminates displaying the charging reminder.
In the solution proposed in this embodiment, when the mobile terminal is in a charging state and the battery voltage of the mobile terminal is less than a preset voltage threshold, that is, when the mobile terminal is in low-voltage charging, the detection module 10 periodically detects a key event of a power key of the mobile terminal, if the key event of the power key is detected in a current period and a screen of the mobile terminal is in a screen-off state at this time, the processing module 20 lights the screen of the mobile terminal and displays corresponding charging reminder information, then the detection module 10 continues to periodically detect the key event of the power key, if the key event of the power key is not detected in a plurality of subsequent periods, the processing module 20 always displays the charging reminder information in the plurality of periods, so that no matter how short the detected period time is, it can be ensured that the charging reminder information has a sufficient display duration, and the key event is not missed, that is, accurate detection of key events is achieved.
Further, a second embodiment of the mobile terminal control apparatus of the present invention is proposed. The second embodiment of the mobile terminal control apparatus differs from the first embodiment of the mobile terminal control apparatus in that in the second embodiment of the mobile terminal control apparatus, the processing module 20 is further configured to:
and if the key event of the power key is not detected in a plurality of continuous periods after the current period, circularly and alternately displaying the first charging reminding identifier drawing and the second charging reminding identifier drawing in the plurality of periods.
In this embodiment, in order to further optimize the display effect of the charging reminder information, the charging reminder information includes a first charging reminder identifier map and a second charging reminder identifier map. If the detection module 10 does not detect the key event of the power key of the mobile terminal in a plurality of consecutive periods after the current period of the key event of the power key is detected, the processing module 20 displays the first charging reminder identifier map and the second charging reminder identifier map in a cyclic and alternating manner all the time in the plurality of periods. For example, as shown in fig. 6, after the processing module 20 lights up the screen of the mobile terminal and displays the first charging reminder identifier map, if the detection module 10 does not detect a key event of the power key of the mobile terminal in c (c is greater than or equal to 1) consecutive periods, the first charging reminder identifier map is always displayed in the c periods. If the detection module 10 does not detect the key event of the power key of the mobile terminal in the c +1 to 2c periods, the second charging reminder identifier map is displayed in the c +1 to 2c periods. Accordingly, if the key event of the power key of the mobile terminal is not detected in 2c +1 to 3c periods, the first charging reminder identifier map is displayed in 2c +1 to 3c periods, that is, the first charging reminder identifier map and the second charging reminder identifier map are alternately displayed every other c periods.
Specifically, as shown in fig. 7, the processing module 20 includes:
a counting unit 21 configured to count the number of times of detecting a key event when a key event of the power key is not detected each time in the plurality of periods;
the judging unit 22 is configured to clear the count when the count reaches a first preset threshold, and judge whether the first charge reminder marker map is currently displayed;
the processing unit 23 is configured to update the first charging reminder identifier map with the second charging reminder identifier map when the first charging reminder identifier map is currently displayed; or when the second charging reminding identifier map is displayed currently, the first charging reminding identifier map is used for updating the second charging reminding identifier map.
In this embodiment, after the processing module 20 lights up the screen of the mobile terminal, if the detecting module 10 does not detect the key event of the power key of the mobile terminal in the next period, the counting unit 21 counts the number count of times of detecting the key event. For example, after the screen of the mobile terminal is lit, the count of the number of times of detecting the key event is set to 1, and when the key event of the power key of the mobile terminal is not detected in the next period, the counting unit 21 counts the count of the number of times of detecting the key event, and adds 1 to the count of the number of times of detecting the key event. When the key event of the power key of the mobile terminal is not detected in the next cycle, the counting unit 21 continues to count the number count of times of detecting the key event. Until the count reaches the first preset threshold c1, for example, if the first preset threshold c1 is preset to 5, when the count reaches 5, the determining unit 22 clears the count, and determines whether the mobile terminal currently displays the first charge reminder identifier map. When the mobile terminal currently displays the first charging reminder identifier map, the processing unit 23 updates the first charging reminder identifier map with the second charging reminder identifier map, that is, updates the first charging reminder identifier map currently displayed by the mobile terminal to the second charging reminder identifier map. When the mobile terminal currently displays the second charging reminder identifier map, the processing unit 23 updates the second charging reminder identifier map with the first charging reminder identifier map, that is, updates the second charging reminder identifier map currently displayed by the mobile terminal to the first charging reminder identifier map. Thereafter, the detection module 10 continues to periodically detect a key event of a power key of the mobile terminal. If the key event of the power key of the mobile terminal is not detected in the next period after the charging reminder identifier map is updated and displayed, the counting unit 21 continues to count the number of times count of detecting the key event, where the count is 1. If the key event of the power key of the mobile terminal continues to be detected in the next period after that, the counting unit 21 continues to count the number count of key events, and the number count of key events is added by 1, that is, the count of count is 2 at this time. The above operation processes are sequentially circulated until the count reaches the first preset threshold value c1 again, the count is cleared, the processing unit 23 updates and displays the charging reminder identifier map currently displayed by the mobile terminal, that is, if the mobile terminal currently displays the first charging reminder identifier map, the first charging reminder identifier map is updated to the second charging reminder identifier map; and if the mobile terminal currently displays the second charging reminding identifier map, updating the second charging reminding identifier map into the first charging reminding identifier map.
In the above manner, the first charging reminder icon and the second charging reminder icon are displayed alternately in a circulating manner, until a key event of a power key of the mobile terminal is detected in a certain period, the processing unit 23 turns off the screen of the mobile terminal, and terminates displaying the first charging reminder icon or the second charging reminder icon.
Further, as shown in fig. 8, the judging unit 22 includes:
an obtaining subunit 221, configured to obtain, when the count reaches a first preset threshold, an identifier parameter value corresponding to a currently displayed charging identifier map, where the first charging reminder identifier map corresponds to a first identifier parameter value, and the second charging reminder identifier map corresponds to a second identifier parameter value;
a determining subunit 222, configured to determine, according to the obtained identifier parameter value, whether to currently display the first charging reminder identifier map, where when the obtained identifier parameter value is a first identifier parameter value, it is determined that the first charging reminder identifier map is currently displayed.
In this embodiment, an identification parameter Lcdflag corresponding to the first charging reminder identification diagram and the second charging reminder identification diagram is preset, a parameter value of the identification parameter Lcdflag corresponding to the first charging reminder identification diagram is a first identification parameter value, and a parameter value of the identification parameter Lcdflag corresponding to the second charging reminder identification diagram is a second identification parameter value, for example, the first identification parameter value is preset to be 0, and the second identification parameter value is preset to be 1. When the count of the count reaches the first preset threshold value c1, the obtaining subunit 221 obtains an identifier parameter value of an identifier parameter Lcdflag corresponding to the currently displayed charging identifier map, and then the determining subunit 222 determines, according to the obtained identifier parameter value, whether the mobile terminal currently displays the first charging reminder identifier map. Specifically, when the identification parameter value acquired by the acquiring subunit 221 is a first identification parameter value, for example, when the acquired identification parameter value is 0, the determining subunit 222 determines that the mobile terminal currently displays the first charging reminder identification map; when the identification parameter value acquired by the acquiring sub-unit 221 is a second identification parameter value, for example, when the acquired identification parameter value is 1, the determining sub-unit 222 determines that the mobile terminal currently displays a second charging reminder identification map.
According to the scheme provided by the embodiment, the charging reminding information comprises a first charging reminding identifier diagram and a second charging reminding identifier diagram, and after a screen of the mobile terminal is lightened, if the detection module 10 does not detect a key event in a plurality of periods for detecting key events of the power key, the processing module 20 cyclically and alternately displays the first charging reminding identifier diagram and the second charging reminding identifier diagram in the plurality of periods, so that the charging reminding information is dynamically displayed, and the display effect of the charging reminding information is further optimized.
Further, a third embodiment of the mobile terminal control apparatus of the present invention is proposed. The mobile terminal control apparatus third embodiment differs from the mobile terminal control apparatus second embodiment in that in the mobile terminal control apparatus third embodiment, the counting unit 21 is further configured to:
after the first charging reminding identifier map is updated by the second charging reminding identifier map each time, or the second charging reminding identifier map is updated by the first charging reminding identifier map, counting the updating times of the charging reminding identifier map;
the processing unit 23 is further configured to:
and when the updating times reach a second preset threshold value, turning off the screen of the mobile terminal.
In this embodiment, after the screen of the mobile terminal is lit, if the key event of the power key is not detected in a plurality of consecutive periods, in order to save electric power and reduce power consumption of the mobile terminal, the first charging reminder marker map and the second charging reminder marker map may not be displayed in a cyclic and alternate manner all the time, and the processing unit 23 may extinguish the screen of the mobile terminal and terminate displaying the first charging reminder marker map and the second charging reminder marker map at a certain time, for example, when the time for displaying the first charging reminder marker map and the second charging reminder marker map in a cyclic and alternate manner reaches a threshold value, or when the number of times for displaying the first charging reminder marker map and the second charging reminder marker map in a cyclic and alternate manner reaches a threshold value, the processing unit 23 extinguishes the screen of the mobile terminal and terminates displaying the first charging reminder marker map and the second charging reminder marker map.
For example, in the process of cyclically and alternately displaying the first charging reminder marker map and the second charging reminder marker map in a plurality of continuous periods in which the key event of the power key is not detected, after the charging reminder marker map currently displayed by the mobile terminal is updated and alternately displayed each time, that is, after the first charging reminder marker map is currently displayed by the mobile terminal, the first charging reminder marker map is updated to the second charging reminder marker map, or after the second charging reminder marker map is updated to the first charging reminder marker map if the second charging reminder marker map is currently displayed by the mobile terminal, the counting unit 21 counts the update times of the charging reminder marker maps. For example, after the charging reminder identifier map currently displayed on the mobile terminal is updated and alternately displayed each time, the counting unit 21 adds 1 to the number of times of updating the charging reminder identifier map. When the number of updates of the charging reminder identifier map counted by the counting unit 21 reaches a second preset threshold, for example, if the second preset threshold is set to 10 in advance, when the number of updates counted by the counting unit 21 reaches 10, the processing unit 23 turns off the screen of the mobile terminal, and terminates displaying the first charging reminder identifier map and the second charging reminder identifier map.
Optionally, in this embodiment, a variable parameter lcdcnt is preset, and an initial value of the variable parameter lcdcnt is set to be LCDMAX, for example, the value of LCDMAX is preset to be 10, that is, the initial value of the variable parameter lcdcnt is 10. When the value of the variable parameter lcdcnt is greater than 0, the screen of the mobile terminal is in a bright screen state, and when the value of the variable parameter lcdcnt is equal to 0, the screen of the mobile terminal is in a dark screen state.
In the process of cyclically and alternately displaying the first charging reminder marker map and the second charging reminder marker map in a plurality of continuous periods in which the key event of the power key is not detected, after the charging reminder marker map currently displayed by the mobile terminal is updated and alternately displayed each time, that is, if the first charging reminder marker map is currently displayed by the mobile terminal, the first charging reminder marker map is updated to the second charging reminder marker map, or if the second charging reminder marker map is currently displayed by the mobile terminal, the second charging reminder marker map is updated to the first charging reminder marker map, the counting unit 21 reduces the value of the variable parameter lcdcnt by 1. Therefore, in the process of cyclically and alternately displaying the first charging reminder identification map and the second charging reminder identification map, the value of the variable parameter lcdcnt is sequentially reduced. When the value of the variable parameter lcdcnt is decreased to 0, the processing unit 23 turns off the screen of the mobile terminal, and terminates displaying the first charging reminder identifier map and the second charging reminder identifier map.
Further, in order to reduce the power consumption of the mobile terminal and avoid that the mobile terminal periodically detects the key event of the power key all the time, in this embodiment, a count variable count is further preset, and an initial value of the count variable count is preset to be 0, and a maximum value MAX, for example, the maximum value MAX of the count variable count is preset to be 100. When detecting the key event of the power key every time a period passes, the counting unit 21 self-adds 1 to the counting variable count until the processing unit 23 terminates the periodic detection of the key event of the power key of the mobile terminal after the value of the counting variable count reaches MAX. Therefore, the mobile terminal is prevented from endless detection of a key event of the power key, thereby reducing power consumption of the mobile terminal.
In the scheme provided in this embodiment, in the process of displaying the first charging reminder identifier map and the second charging reminder identifier map in a cyclic alternating manner in a period where a plurality of key events of the power key are not detected continuously, after the first charging reminder identifier map is updated by the second charging reminder identifier map each time or the second charging reminder identifier map is updated by the first charging reminder identifier map, the counting unit 21 counts the update times of the charging reminder identifier maps, and when the update times reach a second preset threshold, the processing unit 23 extinguishes the screen of the mobile terminal, thereby reducing the power consumption of the mobile terminal.
The invention further provides a mobile terminal control method.
Referring to fig. 9, fig. 9 is a flowchart illustrating a mobile terminal control method according to a first embodiment of the present invention, where the mobile terminal control method includes the following steps:
step S10, when the mobile terminal is in a charging state and the battery voltage of the mobile terminal is less than a preset voltage threshold, periodically detecting a key event of a power key of the mobile terminal;
because a mobile terminal such as a smart phone and a PAD (PAD) usually generates a large current fluctuation in a starting process, which may cause a battery voltage of the mobile terminal to decrease, in order to ensure stability of the mobile terminal in the starting process, the mobile terminal is allowed to start only when the battery voltage of the mobile terminal reaches a normal starting voltage, and at present, the mobile terminal is allowed to start only when the battery voltage reaches 3.4V or 3.5V. When the battery voltage of the mobile terminal is below the normal starting voltage, the system usually starts only part of the system, so that the key event of the mobile terminal cannot be interrupted and can only be realized through circular detection. Therefore, in the charging process of the mobile terminal (the screen of the mobile terminal is in a screen-off state most of the time), when a key event of the power key is detected in a certain cycle detection period, the screen of the mobile terminal is lightened in the period, and corresponding charging reminding information is displayed, such as a charging reminding identification picture. When the cycle detection period is too short, the time for displaying the charging reminding identifier map is too short, so that the user is likely to be unable to view the charging reminding identifier map in time and the use experience of the user is influenced; when the cycle detection period is too long, the key event can be missed.
In order to accurately detect the key event and display the charging reminding information for a long time when the mobile terminal is charged at a low voltage, in this embodiment, a voltage threshold is preset, and the voltage threshold is a lower limit voltage value of the mobile terminal when the mobile terminal is normally turned on, that is, a normal turn-on voltage. When the mobile terminal is in a charging state, the battery voltage of the mobile terminal is further detected, and when the battery voltage of the mobile terminal is smaller than a preset voltage threshold value, namely when the mobile terminal is charged at a low voltage, the key pressing event of a power key of the mobile terminal is periodically detected. In this embodiment, a period time M for periodically detecting a key event is preset, and in order to avoid missing detection of a key event, the period time M is set to a short time, for example, the period time M is set to 100ms, that is, when the mobile terminal is charged at a low voltage, a key event of the power key is detected every 100 ms.
Step S20, when a key event of the power key is detected in the current period and the screen of the mobile terminal is in a screen-off state, lightening the screen of the mobile terminal and displaying corresponding charging reminding information;
step S30, after the charging reminding information is displayed, continuing to periodically detect a key event of the power key, and if no key event of the power key is detected in a plurality of consecutive periods after the current period, displaying the charging reminding information in the plurality of periods until the key event of the power key is detected in a certain period, and turning off the screen of the mobile terminal.
When the screen of the mobile terminal is in a screen-off state and a key event of a power key of the mobile terminal is detected in a certain detection period, the screen of the mobile terminal is lightened, and corresponding charging reminding information is displayed, for example, as shown in fig. 5, a charging reminding identification map is displayed.
After the charging reminding identification chart is displayed within the period time, the mobile terminal continues to periodically detect the key events of the power key according to the preset period time. If the key event of the power key of the mobile terminal is not detected in a plurality of subsequent continuous periods, the charging reminding information is always displayed in the periods, so that the charging reminding information is not displayed for too short time, and a friendly charging reminding information display effect is realized. And when a key event of a power key of the mobile terminal is detected in a certain period, namely the user executes the key operation of the power key, the screen of the mobile terminal is extinguished, and the charging reminding information is stopped being displayed.
In the scheme provided by the embodiment, when the mobile terminal is in the charging state and the battery voltage of the mobile terminal is less than the preset voltage threshold, that is, when the mobile terminal is charged at a low voltage, the key event of the power key of the mobile terminal is periodically detected, and if the key event of the power key is detected in the current period, and at the moment, the screen of the mobile terminal is in a screen-off state, the screen of the mobile terminal is lightened, corresponding charging reminding information is displayed, then the key event of the power key is continuously and periodically detected, if the key event of the power key is not detected in a plurality of subsequent continuous periods, the charging reminding information is always displayed in a plurality of periods, so that the charging reminding information can be ensured to have enough display duration no matter how short the detection period is, and the key event can not be missed, namely, the key event can be accurately detected.
Further, a second embodiment of the mobile terminal control method of the present invention is provided. The difference between the second embodiment of the mobile terminal control method and the first embodiment of the mobile terminal control method is that, in the second embodiment of the mobile terminal control method, the displayed charging alert information includes a first charging alert identifier map and a second charging alert identifier map, and the step S30 includes:
and if the key event of the power key is not detected in a plurality of continuous periods after the current period, circularly and alternately displaying the first charging reminding identifier drawing and the second charging reminding identifier drawing in the plurality of periods.
In this embodiment, in order to further optimize the display effect of the charging reminder information, the charging reminder information includes a first charging reminder identifier map and a second charging reminder identifier map. If the key event of the power key of the mobile terminal is not detected in a plurality of continuous periods after the current period of the key event of the power key is detected, the first charging reminding identifier drawing and the second charging reminding identifier drawing are circularly and alternately displayed in the plurality of periods. For example, as shown in fig. 6, after the screen of the mobile terminal is lit and the first charging reminder identifier map is displayed, if no key event of the power key of the mobile terminal is detected in c (c is greater than or equal to 1) consecutive periods, the first charging reminder identifier map is always displayed in the c periods. And if the key event of the power key of the mobile terminal is not detected in the c +1 to 2c periods, displaying a second charging reminding identifier chart in the c +1 to 2c periods. Accordingly, if the key event of the power key of the mobile terminal is not detected in 2c +1 to 3c periods, the first charging reminder identifier map is displayed in 2c +1 to 3c periods, that is, the first charging reminder identifier map and the second charging reminder identifier map are alternately displayed every other c periods.
Specifically, as shown in fig. 10, the step S30 includes:
step S31, counting the number of times of detecting a key event when no key event of the power key is detected in the plurality of periods;
step S32, when the count reaches a first preset threshold value, clearing the count and judging whether the first charging reminding marker chart is displayed currently;
step S33, when the first charging reminder flag map is currently displayed, updating the first charging reminder flag map with the second charging reminder flag map, and continuing to return to perform step S31;
step S34, when the second charging reminder flag map is currently displayed, updating the second charging reminder flag map with the first charging reminder flag map, and continuing to return to perform step S31.
In this embodiment, after the screen of the mobile terminal is lit, if the key event of the power key of the mobile terminal is not detected in the next period, the count of the number of times of detecting the key event is counted. For example, after the screen of the mobile terminal is lit, the count of times of detecting the key event is set to 1, and when the key event of the power key of the mobile terminal is not detected in the next period, the count of times of detecting the key event is counted, and the count of times of detecting the key event is added by 1. And when the key event of the power key of the mobile terminal is not detected in the next period, continuously counting the number count of the key events. Until the count reaches a first preset threshold c1, for example, if the first preset threshold c1 is preset to 5, when the count reaches 5, the count is cleared, and whether the mobile terminal currently displays a first charging reminder identifier map is determined. When the mobile terminal currently displays the first charging reminding marker map, the first charging reminding marker map is updated by the second charging reminding marker map, namely the first charging reminding marker map currently displayed by the mobile terminal is updated to the second charging reminding marker map. And when the mobile terminal currently displays the second charging reminding marker map, updating the second charging reminding marker map by using the first charging reminding marker map, namely updating the second charging reminding marker map currently displayed by the mobile terminal into the first charging reminding marker map. And then, continuously and periodically detecting the key pressing event of the power key of the mobile terminal. If the key event of the power key of the mobile terminal is not detected in the next period after the charging reminding identifier map is updated and displayed, counting the number of times of detecting the key event, wherein the count is 1. If the key event of the power key of the mobile terminal continues to be detected in the next period after that, the count of the times of detecting the key event is continuously counted, and the count of the times of detecting the key event is added by 1, that is, the count of the times is 2 at this time. Sequentially circulating the above operation processes until the count of the count reaches the first preset threshold value c1 again, resetting the count, and updating and displaying the charging reminding identifier map currently displayed by the mobile terminal, that is, if the mobile terminal currently displays the first charging reminding identifier map, updating the first charging reminding identifier map into a second charging reminding identifier map; and if the mobile terminal currently displays the second charging reminding identifier map, updating the second charging reminding identifier map into the first charging reminding identifier map.
According to the mode, the first charging reminding marker picture and the second charging reminding marker picture are displayed in a circulating and alternating mode until a key event of a power key of the mobile terminal is detected in a certain period, the screen of the mobile terminal is turned off, and the display of the first charging reminding marker picture or the second charging reminding marker picture is stopped.
Further, the step S32 includes:
step a, when the count reaches a first preset threshold value, acquiring an identification parameter value corresponding to a currently displayed charging identification chart, wherein the first charging reminding identification chart corresponds to a first identification parameter value, and the second charging reminding identification chart corresponds to a second identification parameter value;
and b, judging whether the first charging reminding identification picture is displayed currently or not according to the acquired identification parameter value, wherein when the acquired identification parameter value is the first identification parameter value, judging that the first charging reminding identification picture is displayed currently.
In this embodiment, an identification parameter Lcdflag corresponding to the first charging reminder identification diagram and the second charging reminder identification diagram is preset, a parameter value of the identification parameter Lcdflag corresponding to the first charging reminder identification diagram is a first identification parameter value, and a parameter value of the identification parameter Lcdflag corresponding to the second charging reminder identification diagram is a second identification parameter value, for example, the first identification parameter value is preset to be 0, and the second identification parameter value is preset to be 1. When the count of the count reaches a first preset threshold value c1, the mobile terminal obtains an identification parameter value of an identification parameter Lcdflag corresponding to the currently displayed charging identification map, and then judges whether the mobile terminal currently displays a first charging reminding identification map or not according to the obtained identification parameter value. Specifically, when the obtained identification parameter value is a first identification parameter value, for example, when the obtained identification parameter value is 0, it is determined that the mobile terminal currently displays a first charging reminder identification map; and when the obtained identification parameter value is a second identification parameter value, for example, when the obtained identification parameter value is 1, judging that the mobile terminal currently displays a second charging reminding identification map.
According to the scheme provided by the embodiment, the charging reminding information comprises a first charging reminding identifier diagram and a second charging reminding identifier diagram, and after a screen of the mobile terminal is lightened, if a key event is not detected in a plurality of periods for detecting the key event of the power key, the first charging reminding identifier diagram and the second charging reminding identifier diagram are circularly and alternately displayed in the plurality of periods, so that the charging reminding information is dynamically displayed, and the display effect of the charging reminding information is further optimized.
Further, a third embodiment of the mobile terminal control method of the present invention is provided. The mobile terminal control method third embodiment differs from the mobile terminal control method second embodiment in that, in the mobile terminal control method third embodiment, the mobile terminal control method further includes the steps of:
step c, after updating the first charging reminding identifier map by the second charging reminding identifier map each time, or updating the second charging reminding identifier map by the first charging reminding identifier map, counting the updating times of the charging reminding identifier map;
and d, when the updating times reach a second preset threshold value, turning off the screen of the mobile terminal.
In this embodiment, after the screen of the mobile terminal is lit, if a key event of the power key is not detected in a plurality of consecutive periods, in order to save electric power and reduce power consumption of the mobile terminal, the first charging reminder marker map and the second charging reminder marker map are not displayed in a cyclic and alternate manner all the time, and the screen of the mobile terminal is turned off at a certain time, and the display of the first charging reminder marker map and the second charging reminder marker map is terminated, for example, when the time for displaying the first charging reminder marker map and the second charging reminder marker map in a cyclic and alternate manner reaches a threshold value, or when the number of times for displaying the first charging reminder marker map and the second charging reminder marker map in a cyclic and alternate manner reaches a threshold value, the screen of the mobile terminal is turned off, and the display of the first charging reminder marker map and the second charging reminder marker map is terminated.
For example, in the process of cyclically and alternately displaying the first charging reminder marker map and the second charging reminder marker map in a plurality of continuous periods in which the key event of the power key is not detected, after the charging reminder marker map currently displayed by the mobile terminal is updated and alternately displayed each time, that is, if the mobile terminal currently displays the first charging reminder marker map, the first charging reminder marker map is updated to the second charging reminder marker map, or if the mobile terminal currently displays the second charging reminder marker map, the second charging reminder marker map is updated to the first charging reminder marker map, the update times of the charging reminder marker maps are counted. For example, after the charging reminder identifier map currently displayed by the mobile terminal is updated and alternately displayed each time, the number of updating times of the charging reminder identifier map is added by 1. When the counted update times of the charging reminder identifier map reaches a second preset threshold, for example, if the second preset threshold is set to 10 in advance, when the counted update times reaches 10, the screen of the mobile terminal is turned off, and the display of the first charging reminder identifier map and the second charging reminder identifier map is terminated.
Optionally, in this embodiment, a variable parameter lcdcnt is preset, and an initial value of the variable parameter lcdcnt is set to be LCDMAX, for example, the value of LCDMAX is preset to be 10, that is, the initial value of the variable parameter lcdcnt is 10. When the value of the variable parameter lcdcnt is greater than 0, the screen of the mobile terminal is in a bright screen state, and when the value of the variable parameter lcdcnt is equal to 0, the screen of the mobile terminal is in a dark screen state.
In the process of cyclically and alternately displaying the first charging reminding marker map and the second charging reminding marker map in a plurality of continuous periods when the key events of the power key are not detected, after the charging reminding marker map currently displayed by the mobile terminal is updated and alternately displayed each time, namely if the mobile terminal currently displays the first charging reminding marker map, the first charging reminding marker map is updated to the second charging reminding marker map, or if the mobile terminal currently displays the second charging reminding marker map, the second charging reminding marker map is updated to the first charging reminding marker map, the value of the variable parameter lcdcnt is reduced by 1. Therefore, in the process of cyclically and alternately displaying the first charging reminder identification map and the second charging reminder identification map, the value of the variable parameter lcdcnt is sequentially reduced. And when the value of the variable parameter lcdcnt is reduced to 0, extinguishing the screen of the mobile terminal, and stopping displaying the first charging reminding identifier diagram and the second charging reminding identifier diagram.
Further, in order to reduce the power consumption of the mobile terminal and avoid that the mobile terminal periodically detects the key event of the power key all the time, in this embodiment, a count variable count is further preset, and a maximum value MAX of the count variable count is preset, for example, an initial value of the count variable count is preset to 0, and the maximum value MAX is preset to 100. When the key event of the power key is detected every time a period passes, the count variable count is added by 1, and the periodic detection of the key event of the power key of the mobile terminal is terminated after the value of the count variable count reaches MAX. Therefore, the mobile terminal is prevented from endless detection of a key event of the power key, thereby reducing power consumption of the mobile terminal.
According to the scheme provided by the embodiment, in the process of displaying the first charging reminding identifier map and the second charging reminding identifier map in a cyclic and alternate manner in a plurality of continuous periods without detecting the key events of the power key, the first charging reminding identifier map is updated by the second charging reminding identifier map every time, or the second charging reminding identifier map is updated by the first charging reminding identifier map, the updating times of the charging reminding identifier maps are counted, and when the updating times reach a second preset threshold value, the screen of the mobile terminal is extinguished, so that the power consumption of the mobile terminal is reduced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
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 solutions 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) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, 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 (4)

1. A mobile terminal control apparatus, characterized in that the mobile terminal control apparatus comprises:
the mobile terminal comprises a detection module, a control module and a display module, wherein the detection module is used for periodically detecting a key event of a power key of the mobile terminal when the mobile terminal is in a charging state and the battery voltage of the mobile terminal is less than a preset voltage threshold;
the processing module is used for lightening the screen of the mobile terminal and displaying corresponding charging reminding information when a key event of the power key is detected in the current period and the screen of the mobile terminal is in a screen-off state;
the detection module is further used for continuously and periodically detecting the key events of the power key after the charging reminding information is displayed;
the processing module is further configured to, if a key event of the power key is not detected in any of a plurality of consecutive periods after the current period, cyclically and alternately display a first charging reminder identifier map and a second charging reminder identifier map in the plurality of periods, and turn off the screen of the mobile terminal until the detection module detects the key event of the power key in a certain period;
wherein the processing module comprises:
the counting unit is used for counting the times of detecting the key events when the key events of the power key are not detected in the multiple periods;
the judging unit is used for clearing the count when the count reaches a first preset threshold value and judging whether the first charging reminding marker chart is displayed at present;
the processing unit is used for updating the first charging reminding marker map by using the second charging reminding marker map when the first charging reminding marker map is displayed currently; or when the second charging reminding marker map is displayed currently, the first charging reminding marker map is used for updating the second charging reminding marker map;
wherein the judging unit includes:
the acquiring subunit is configured to acquire an identifier parameter value corresponding to a currently displayed charging identifier map when the count reaches a first preset threshold, where the first charging reminder identifier map corresponds to a first identifier parameter value, and the second charging reminder identifier map corresponds to a second identifier parameter value;
and the judging subunit is configured to judge whether the first charging reminder identifier map is currently displayed according to the acquired identifier parameter value, where when the acquired identifier parameter value is a first identifier parameter value, it is judged that the first charging reminder identifier map is currently displayed.
2. The mobile terminal control device according to claim 1, wherein the counting unit is further configured to count the number of times of updating the charging reminder identifier map after updating the first charging reminder identifier map with the second charging reminder identifier map each time or updating the second charging reminder identifier map with the first charging reminder identifier map;
and the processing unit is further used for turning off the screen of the mobile terminal when the updating times reach a second preset threshold value.
3. A mobile terminal control method, characterized in that the mobile terminal control method comprises the steps of:
the method comprises the steps that when the mobile terminal is in a charging state and the battery voltage of the mobile terminal is smaller than a preset voltage threshold value, a key event of a power key of the mobile terminal is periodically detected;
when a key event of the power key is detected in the current period and the screen of the mobile terminal is in a screen-off state, lightening the screen of the mobile terminal and displaying corresponding charging reminding information;
after the charging reminding information is displayed, continuously and periodically detecting the key event of the power key, if the key event of the power key is not detected in a plurality of continuous periods after the current period, circularly and alternately displaying a first charging reminding marker picture and a second charging reminding marker picture in the plurality of periods, and turning off the screen of the mobile terminal until the key event of the power key is detected in a certain period;
wherein the step of displaying the first charging reminder identifier map and the second charging reminder identifier map in a cyclic alternating manner in a plurality of periods includes:
counting the number of times of detecting key events when the key events of the power key are not detected each time in the multiple periods;
when the count reaches a first preset threshold value, clearing the count, and judging whether the first charging reminding marker chart is displayed currently or not;
when the first charging reminding identifier map is displayed currently, updating the first charging reminding identifier map by using the second charging reminding identifier map, and continuously returning to the step of counting the times of detecting key events when the key events of the power key are not detected each time in the multiple periods;
when the second charging reminding identifier map is displayed currently, updating the second charging reminding identifier map by using the first charging reminding identifier map, and continuously returning to the step of counting the times of detecting key events when the key events of the power key are not detected each time in the multiple periods;
wherein, when the count reaches a first preset threshold, the step of judging whether to display the first charging prompt identifier map currently comprises the following steps:
when the count reaches a first preset threshold value, acquiring an identification parameter value corresponding to a currently displayed charging identification map, wherein the first charging reminding identification map corresponds to a first identification parameter value, and the second charging reminding identification map corresponds to a second identification parameter value;
and judging whether the first charging reminding identification map is displayed currently or not according to the acquired identification parameter value, wherein when the acquired identification parameter value is the first identification parameter value, the first charging reminding identification map is judged to be displayed currently.
4. The mobile terminal control method according to claim 3, wherein the mobile terminal control method further comprises the steps of:
after the first charging reminding identifier map is updated by the second charging reminding identifier map each time, or the second charging reminding identifier map is updated by the first charging reminding identifier map, counting the updating times of the charging reminding identifier map;
and when the updating times reach a second preset threshold value, turning off the screen of the mobile terminal.
CN201610979557.3A 2016-10-28 2016-10-28 Mobile terminal control device and method Active CN106534438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610979557.3A CN106534438B (en) 2016-10-28 2016-10-28 Mobile terminal control device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610979557.3A CN106534438B (en) 2016-10-28 2016-10-28 Mobile terminal control device and method

Publications (2)

Publication Number Publication Date
CN106534438A CN106534438A (en) 2017-03-22
CN106534438B true CN106534438B (en) 2020-04-14

Family

ID=58350399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610979557.3A Active CN106534438B (en) 2016-10-28 2016-10-28 Mobile terminal control device and method

Country Status (1)

Country Link
CN (1) CN106534438B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239354B (en) * 2017-06-06 2021-01-26 深圳天珑无线科技有限公司 Method and terminal for notifying screen-off event
CN107861068B (en) * 2017-10-23 2020-12-22 何雄英 Remote controller and remote controller electric quantity monitoring method
CN109587777A (en) * 2018-12-12 2019-04-05 上海联影医疗科技有限公司 Device and method, computer readable storage medium, remote control device and the medical imaging device of power management

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004235702A (en) * 2003-01-28 2004-08-19 Sony Ericsson Mobilecommunications Japan Inc Mobile terminal and computer program
JP2016149862A (en) * 2015-02-12 2016-08-18 アルパイン株式会社 Information terminal device, charging management program, and charging management method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060129906A (en) * 2005-06-13 2006-12-18 엘지전자 주식회사 Mobile terminal with charging status display and display method of charging status using the same
CN103106020A (en) * 2011-11-14 2013-05-15 联想(北京)有限公司 Display method and electronic equipment
CN103037096A (en) * 2012-12-19 2013-04-10 Tcl通讯(宁波)有限公司 Touch side key and implementation method of touch side key and cellphone
CN103516913B (en) * 2013-09-13 2017-01-04 广东欧珀移动通信有限公司 The method and apparatus that mobile phone display screen auto sleep wakes up up
CN105702204B (en) * 2016-03-31 2018-07-06 广东欧珀移动通信有限公司 A kind of method, apparatus and terminal of display of charging
CN105930028A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Wallpaper display method and device for mobile terminal equipment
CN106056012A (en) * 2016-06-15 2016-10-26 惠州Tcl移动通信有限公司 Terminal power key control method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004235702A (en) * 2003-01-28 2004-08-19 Sony Ericsson Mobilecommunications Japan Inc Mobile terminal and computer program
JP2016149862A (en) * 2015-02-12 2016-08-18 アルパイン株式会社 Information terminal device, charging management program, and charging management method

Also Published As

Publication number Publication date
CN106534438A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN106304037B (en) Virtual SIM card management method and device
CN106550126B (en) Mobile terminal and screen brightness control device and method thereof
CN106413128B (en) Projection method and mobile terminal
CN105303398B (en) Information display method and system
CN106254628B (en) Mobile terminal and multi-screen display method
CN106210286B (en) Parameter adjusting method and device for double-screen mobile terminal
CN106488420B (en) Incoming call processing method, device and system and readable storage medium
CN110928708B (en) Icon display method and device, electronic equipment and computer readable storage medium
CN106899958B (en) Information downloading device and method
CN106372264B (en) Map data migration device and method
CN106534438B (en) Mobile terminal control device and method
CN106301846B (en) Network awakening system analysis method and device
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN106231657B (en) Method and device for switching power saving modes of double-screen mobile terminal
CN106161790B (en) Mobile terminal and control method thereof
CN106484534B (en) Control method and control device for displayed mobile terminal
CN106453863B (en) Method and system for controlling terminal and earphone
CN105939425B (en) Screen dynamic monitoring device and method
CN109542317B (en) Display control method, device and storage medium of double-sided screen mobile terminal
CN106792878B (en) Data traffic monitoring method and device
CN106951350B (en) Method and device for checking mobile terminal disk
CN106856617B (en) Terminal and cell reselection method
CN106791567B (en) Switching method and terminal
CN106412877B (en) Activation method and activation device for mobile terminal SIM card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200306

Address after: Room 901, No. 6, 600 Lane, Yunling West Road, Putuo District, Shanghai, 2003

Applicant after: Shanghai Industrial Control Safety Innovation Technology Co., Ltd.

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant