CN110198379A - Method for controlling mobile terminal, mobile terminal and computer readable storage medium - Google Patents

Method for controlling mobile terminal, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN110198379A
CN110198379A CN201910448062.1A CN201910448062A CN110198379A CN 110198379 A CN110198379 A CN 110198379A CN 201910448062 A CN201910448062 A CN 201910448062A CN 110198379 A CN110198379 A CN 110198379A
Authority
CN
China
Prior art keywords
mobile terminal
screen
information
light bar
power
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.)
Granted
Application number
CN201910448062.1A
Other languages
Chinese (zh)
Other versions
CN110198379B (en
Inventor
王海婴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910448062.1A priority Critical patent/CN110198379B/en
Publication of CN110198379A publication Critical patent/CN110198379A/en
Application granted granted Critical
Publication of CN110198379B publication Critical patent/CN110198379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a kind of control method of mobile terminal, and the back side of the mobile terminal is provided with light bar, wherein the back side is the surface opposite with the screen of the mobile terminal, the method, comprising: determine that the screen of the mobile terminal meets display state;Obtain the current electric quantity information of the mobile terminal;It controls the light bar according to the information about power to be shown accordingly, to indicate the current electric quantity of the mobile terminal.Present invention also provides a kind of mobile terminal and computer readable storage mediums.In this manner, it shows electricity using mobile terminal back light bar, on the one hand improves the usage scenario of light bar, on the other hand, user can be reduced frequently light screen and check power consumption penalty brought by mobile terminal electricity, promote user experience.

Description

Method for controlling mobile terminal, mobile terminal and computer readable storage medium
Technical field
This application involves network communication technology field more particularly to a kind of control method of mobile terminal, mobile terminal and Computer readable storage medium.
Background technique
Mobile terminal has become the electronic product being widely used, and user is when using mobile terminal in addition to using journey The duration of sequence uses, and it is also often desirable to check the information such as the time of mobile terminal, electricity.At current mobile end on the market End, checks electricity if especially wanting to realize, it is necessary to be checked by way of lighting screen, even if not being to light main screen Curtain, then mobile terminal is further provided with other secondary display screens centainly to be shown in such cases.Under such mode, user During normal use mobile terminal, due to needing to check mobile terminal electricity, and function can be brought by frequently lighting screen The loss of consumption.
Summary of the invention
The main purpose of the application is to propose a kind of control method of mobile terminal, mobile terminal and computer-readable deposits Storage media, it is intended to which realization shows electricity in the case where ceasing screen state, can reduce user and frequently lights screen and check mobile terminal Power consumption penalty brought by electricity promotes user experience.
To achieve the above object, this application provides a kind of control method of mobile terminal, the back sides of the mobile terminal It is provided with light bar, wherein the back side is the surface opposite with the screen of the mobile terminal, the method, comprising: determine institute The screen for stating mobile terminal meets display state;Obtain the current electric quantity information of the mobile terminal;According to the information about power It controls the light bar to be shown accordingly, to indicate the current electric quantity of the mobile terminal.
Optionally, before the step of current electric quantity information for obtaining the mobile terminal, the method also includes: really Surely electricity idsplay order is received.
Optionally, described determining the step of receiving electricity idsplay order, comprising: the power key for detecting the mobile terminal is It is no to receive pressing operation;When the power key receives pressing operation, determines and receive electricity idsplay order.
Optionally, described determining the step of receiving electricity idsplay order, comprising: response acts on the side of the mobile terminal The pressing operation of frame determines and receives electricity idsplay order.
Optionally, the step of screen of the determination mobile terminal meets display state, comprising:
Obtain the directional information of the mobile terminal;When the directional information is towards gravity direction, the shifting is determined The screen of dynamic terminal meets display state.
Optionally, the step of screen of the determination mobile terminal meets display state, comprising: obtain the movement The screen state of terminal;When the screen state of the mobile terminal is breath screen state, determine that the screen of the mobile terminal is full Foot display state.
Optionally, described that the step of light bar is shown accordingly is controlled according to the information about power, comprising: according to What the information about power determined the light bar lights length information;It is lighted in the light bar according to the length information of lighting The corresponding part of length information is lighted with described.
Optionally, described that the step of lighting length information of the light bar is determined according to the information about power, comprising: in advance Set the information about power and the corresponding relationship for lighting length information;The correspondence is determined according to the information about power It is corresponding in relationship to light length information.
The application also provides a kind of mobile terminal, and the mobile terminal includes: touch screen;Processor;
Memory is connected to the processor, and the memory includes control instruction, when the processor reads the control When system instruction, the control method that the mobile terminal realizes above-mentioned mobile terminal is controlled.
The application also provides a kind of computer readable storage medium, and the computer readable storage medium has one or more Program, one or more of programs are executed by one or more processors, to realize the control method of above-mentioned mobile terminal.
Control method, mobile terminal and the computer readable storage medium of mobile terminal provided by the present application, by moving The back side setting of dynamic terminal has the light bar of certain length, when the screen of mobile terminal meets display state, for example, at screen When putting out screen state or screen downward, then the current electric quantity information of mobile terminal at this time is obtained, then according to the information about power Control the light bar of electricity length corresponding with current electric quantity information.In this manner, it is shown using mobile terminal back light bar On the one hand electricity improves the usage scenario of light bar, on the other hand, can reduce user and frequently light screen and check mobile terminal Power consumption penalty brought by electricity promotes user experience.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing each embodiment one optional mobile terminal of the application;
Fig. 2 is the communications network system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart of the control method for the mobile terminal that one embodiment of the application provides;
Fig. 4 is the schematic diagram for lighting light bar that one embodiment of the application provides;
Fig. 5 is the structural schematic diagram for the mobile terminal that one embodiment of the application provides.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code DivisionMultiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved PacketCore, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility ManagementEntity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 is with can providing the IP of UE201 Location distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Fig. 3 is the flow chart of the embodiment of the control method of a mobile terminal provided by the present application.The method of the embodiment Once triggered by user, then the process in the embodiment pass through mobile terminal automatic running, wherein each step operation when Time can be successively to be carried out according to the sequence in such as flow chart, is also possible to multiple steps according to the actual situation while being carried out, This and without limitation.The control method of mobile terminal provided by the present application includes the following steps:
Step S310 determines that the screen of the mobile terminal meets display state;
Step S330 obtains the current electric quantity information of the mobile terminal;
Step S350 controls the light bar according to the information about power and is shown accordingly, described mobile whole to indicate The current electric quantity at end.
By above embodiment, by having the light bar of certain length in the setting of the back side of mobile terminal, when mobile whole When the screen at end meets display state, then the current electric quantity information of mobile terminal at this time is obtained, then according to the information about power control The light bar of electricity processed length corresponding with current electric quantity information.In this manner, electricity is shown using mobile terminal back light bar Amount, on the one hand improve light bar usage scenario, on the other hand, can reduce user frequently light screen check mobile terminal electricity Power consumption penalty brought by measuring promotes user experience.
Above-mentioned steps are specifically described below in conjunction with specific embodiment.
In step s310, determine that the screen of the mobile terminal meets display state.
Specifically, mobile terminal includes screen and the back side that is oppositely arranged with screen.In the present embodiment, mobile terminal The back side be provided with light bar, the shape of light bar is can be with strip or ring-type, naturally it is also possible to be other shapes, not do specifically It limits.Light bar is configured to light different length, to indicate different states.In other implementations, light bar can also be with It is set to the frame of mobile terminal.It is of course also possible to overleaf be provided with light bar with frame, the light bar of different location is provided with Identification information, mobile terminal control the light bar of electricity different location by identification information.
In an optional embodiment, step S310 can be achieved by the steps of:
Step S3101 obtains the directional information of the mobile terminal;
It is aobvious to determine that the screen of the mobile terminal meets when the directional information is towards gravity direction by step S3102 Show state.
By above embodiment, when the overturning of the screen of mobile terminal downward when, user be not necessarily to by mobile terminal into Row overturning, can trigger the effect that instruction electricity is carried out by the light bar for lighting the mobile terminal back side.
Specifically, in step S3101, the directional information of mobile terminal can be obtained by gravity sensor.? In step S3102, default first direction is that the screen of mobile terminal is direction upward, then detects when by gravity sensor When the current direction of mobile terminal is opposite with first direction, it is determined that the screen of mobile terminal meets display state.In this implementation In mode, angle threshold value is preset, when the angle for working as front direction and first direction for detecting mobile terminal meets angle threshold When value, determine that the screen of mobile terminal meets display state.In other embodiments, when detection obtains the current of mobile terminal When directional information is gravity direction, determine that the screen of the mobile terminal meets display state.Further, accurate in order to improve Degree, presets deviation threshold, when the deviation for detecting the current directional information and gravity direction that obtain mobile terminal meets deviation When threshold value, it is determined that the current directional information of mobile terminal is gravity direction, determines that the screen of the mobile terminal meets display State.
In an optional embodiment, step S310 can be achieved by the steps of:
Step S3103 obtains the screen state of the mobile terminal;
Step S3104 determines the screen of the mobile terminal when the screen state of the mobile terminal is breath screen state Meet display state.
By above embodiment, so that mobile terminal can pass through a little when the screen of mobile terminal is breath screen state The mode of bright light band is to indicate electricity, so that user is not necessarily to not only save electricity by way of lighting screen to check electricity Amount, and also improve user experience.
Specifically, in the present embodiment, the screen state of mobile terminal includes breath screen state and bright screen state.At other In embodiment, the screen state of mobile terminal includes full frame state and non-full frame state, wherein full frame state refers to screen Display interface show current application in the state of, can not show the taskbar of mobile terminal, can not show the shape of information about power State.
In the present embodiment, when the screen state of the mobile terminal is breath screen state, the mobile terminal is determined Screen meet display state.
In other embodiments, it when the screen state of the mobile terminal is full frame state, determines described mobile whole The screen at end meets display state.
In step S350, the light bar is controlled according to the information about power and is shown accordingly, to indicate the shifting The current electric quantity of dynamic terminal.
Specifically, step S350 can be achieved by the steps of:
Step S3501 lights length information according to what the information about power determined the light bar;
Step S3503, according to it is described light length information and light in the light bar light length information phase with described Corresponding part.
By above embodiment, allow to be shown in different lengths by the light bar at mobile terminal back, To indicate different electricity.
As shown in figure 4, specifically, in step S3501, presetting the information about power with described and lighting length information Corresponding relationship for example light bar is divided into 100 equal portions, establishes the mapping relations with electricity percentage.According to the institute State information about power determine it is corresponding in the corresponding relationship light length information, for example, when obtain mobile terminal it is current When information about power, the percentage of current electric quantity is calculated, equal numbers are inquired in mapping relations corresponding to light bar by the percentage Amount, to determine the length for lighting light bar.
In step S3503, determining length information of lighting is passed into light bar frame, light bar system obtains current desired The light bar lighted lights length information, lights light bar corresponding with length information is lighted.
By above embodiment, electricity is shown using mobile terminal back light bar, on the one hand improves the use of light bar On the other hand scene can reduce user and frequently light screen and check power consumption penalty brought by mobile terminal electricity, promoted User experience.
Further, this application provides the trigger conditions of trigger point bright light band.Specifically, before step S330, this Application further includes step S320, determines and receives electricity idsplay order.Wherein, electricity idsplay order is lighted for controlling mobile terminal The light bar of length corresponding with current electric quantity.It should be noted that if determining that the screen of mobile terminal is unsatisfactory for display state When, then system does not receive electricity idsplay order, by such embodiment, can be multiplexed identical operating gesture to realize difference Function, meanwhile, reduce the frequency for lighting light bar, improve the service life of light bar.
In the present embodiment, step S320 can be carried out as follows:
Whether step S3201, the power key for detecting the mobile terminal receive pressing operation;
Step S3203 is determined when the power key receives pressing operation and is received electricity idsplay order.
In an optional embodiment, step S320 can be with are as follows: response acts on the frame of the mobile terminal Pressing operation determines and receives electricity idsplay order.In the present embodiment, the frame of mobile terminal is provided with pressure sensor, To receive pressing operation.In other embodiments, the screen of mobile terminal is flexible screen, and the two sides bending of flexible screen extends simultaneously It is connected in the back side of mobile terminal, at this point, the frame of mobile terminal is the side edge of screen actually.In order to reduce maloperation, in advance First setting pressing threshold value, for example, pressure threshold, compression number, can specifically be set according to actual needs.
By above embodiment, so that when the screen of mobile terminal is in breath screen or buckle closure in ranges such as desktops, When receiving pressing operation of the user to power key or side frame, electricity idsplay order is received, control obtains current electricity Information is measured, and controls light bar and shows length corresponding with information about power, to indicate current electric quantity.
Further, for the use state of clearer display low battery, the back side of mobile terminal and frame are respectively provided with There are light bar, respectively the first light bar and the second light bar.Wherein, when current electric quantity is greater than low battery threshold value, pass through the first light bar It is shown, when current electric quantity is less than or equal to low battery threshold value, is shown by the second light bar.Wherein, it pre-establishes The corresponding relationship of electricity corresponding to second light bar and low battery threshold value, for example, the second light bar is divided into 100 equal portions, low electricity Measuring threshold value is 20%, establishes the corresponding relationship of 100 equal portions and 20%.
By above embodiment, it whether can be in low battery state with the current electricity of visual indication user, and Show that low battery can make display effect more preferably clear by the second light bar.
Fig. 5 is the structure composition schematic diagram of mobile terminal 100 provided by the embodiments of the present application, and mobile terminal 100 includes: touching Touch panel 1071;Processor 110;Memory 109 is connect with the processor 110, and the memory 109 includes control instruction, When the processor 110 reads the control instruction, controls the mobile terminal 100 and realizes following steps:
Determine that the screen of the mobile terminal meets display state;Obtain the current electric quantity information of the mobile terminal;Root It controls the light bar according to the information about power to be shown accordingly, to indicate the current electric quantity of the mobile terminal, wherein institute The back side for stating mobile terminal is provided with light bar, and the back side is the surface opposite with the screen of the mobile terminal.
Optionally, before the step of current electric quantity information for obtaining the mobile terminal, the method also includes: really Surely electricity idsplay order is received.
Optionally, described determining the step of receiving electricity idsplay order, comprising: the power key for detecting the mobile terminal is It is no to receive pressing operation;When the power key receives pressing operation, determines and receive electricity idsplay order.
Optionally, described determining the step of receiving electricity idsplay order, comprising: response acts on the side of the mobile terminal The pressing operation of frame determines and receives electricity idsplay order.
Optionally, the step of screen of the determination mobile terminal meets display state, comprising:
Obtain the directional information of the mobile terminal;When the directional information is towards gravity direction, the shifting is determined The screen of dynamic terminal meets display state.
Optionally, the step of screen of the determination mobile terminal meets display state, comprising: obtain the movement The screen state of terminal;When the screen state of the mobile terminal is breath screen state, determine that the screen of the mobile terminal is full Foot display state.
Optionally, described that the step of light bar is shown accordingly is controlled according to the information about power, comprising: according to What the information about power determined the light bar lights length information;It is lighted in the light bar according to the length information of lighting The corresponding part of length information is lighted with described.
Optionally, described that the step of lighting length information of the light bar is determined according to the information about power, comprising: in advance Set the information about power and the corresponding relationship for lighting length information;The correspondence is determined according to the information about power It is corresponding in relationship to light length information.
By above-mentioned mobile terminal, when the screen of mobile terminal meets display state, for example, screen, which is in, puts out screen state Or screen downward when, then obtain the current electric quantity information of mobile terminal at this time, then according to the information about power control electricity with Current electric quantity information corresponds to the light bar of length, and light bar is set to the back side of mobile terminal.In this manner, mobile terminal is utilized Back light bar shows electricity, on the other hand on the one hand to improve the usage scenario of light bar can reduce user and frequently light screen Curtain checks power consumption penalty brought by mobile terminal electricity, promotes user experience.
The embodiment of the present application also provides a kind of computer readable storage medium, and computer readable storage medium has one or more A program, one or more programs are executed by one or more processors, to realize following steps:
Determine that the screen of the mobile terminal meets display state;Obtain the current electric quantity information of the mobile terminal;Root It controls the light bar according to the information about power to be shown accordingly, to indicate the current electric quantity of the mobile terminal, wherein institute The back side for stating mobile terminal is provided with light bar, and the back side is the surface opposite with the screen of the mobile terminal.
Optionally, before the step of current electric quantity information for obtaining the mobile terminal, the method also includes: really Surely electricity idsplay order is received.
Optionally, described determining the step of receiving electricity idsplay order, comprising: the power key for detecting the mobile terminal is It is no to receive pressing operation;When the power key receives pressing operation, determines and receive electricity idsplay order.
Optionally, described determining the step of receiving electricity idsplay order, comprising: response acts on the side of the mobile terminal The pressing operation of frame determines and receives electricity idsplay order.
Optionally, the step of screen of the determination mobile terminal meets display state, comprising:
Obtain the directional information of the mobile terminal;When the directional information is towards gravity direction, the shifting is determined The screen of dynamic terminal meets display state.
Optionally, the step of screen of the determination mobile terminal meets display state, comprising: obtain the movement The screen state of terminal;When the screen state of the mobile terminal is breath screen state, determine that the screen of the mobile terminal is full Foot display state.
Optionally, described that the step of light bar is shown accordingly is controlled according to the information about power, comprising: according to What the information about power determined the light bar lights length information;It is lighted in the light bar according to the length information of lighting The corresponding part of length information is lighted with described.
Optionally, described that the step of lighting length information of the light bar is determined according to the information about power, comprising: in advance Set the information about power and the corresponding relationship for lighting length information;The correspondence is determined according to the information about power It is corresponding in relationship to light length information.
Work as movement when running the program in computer readable storage medium by above-mentioned computer readable storage medium When the screen of terminal meets display state, for example, screen is in when putting out screen state or screen downward, then obtain mobile terminal this When current electric quantity information, then according to the information about power control electricity length corresponding with current electric quantity information light bar, light bar It is set to the back side of mobile terminal.In this manner, electricity is shown using mobile terminal back light bar, on the one hand improves lamp On the other hand the usage scenario of band can reduce user and frequently light screen and check power consumption brought by mobile terminal electricity Loss promotes user experience.
The embodiment of the present application also provides a kind of computer readable storage mediums.Here computer readable storage medium is deposited Contain one or more program.Wherein, computer readable storage medium may include volatile memory, such as arbitrary access Memory;Memory also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid-state are hard Disk;Memory can also include the combination of the memory of mentioned kind.
Corresponding technical characteristic in the respective embodiments described above do not cause scheme contradiction or it is not implementable under the premise of, can Mutually to use.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form, these are belonged within the protection of the application.

Claims (10)

1. a kind of control method of mobile terminal, which is characterized in that the back side of the mobile terminal is provided with light bar, wherein institute Stating the back side is the surface opposite with the screen of the mobile terminal, the method, comprising:
Determine that the screen of the mobile terminal meets display state;
Obtain the current electric quantity information of the mobile terminal;
It controls the light bar according to the information about power to be shown accordingly, to indicate the current electric quantity of the mobile terminal.
2. the method as described in claim 1, which is characterized in that the step of the current electric quantity information for obtaining the mobile terminal Before rapid, the method also includes: it determines and receives electricity idsplay order.
3. method according to claim 2, which is characterized in that described determining the step of receiving electricity idsplay order, comprising:
Whether the power key for detecting the mobile terminal receives pressing operation;
When the power key receives pressing operation, determines and receive electricity idsplay order.
4. method according to claim 2, which is characterized in that described determining the step of receiving electricity idsplay order, comprising:
Response acts on the pressing operation of the frame of the mobile terminal, determines and receives electricity idsplay order.
5. the method as described in claim 1, which is characterized in that the screen of the determination mobile terminal meets display state The step of, comprising:
Obtain the directional information of the mobile terminal;
When the directional information is towards gravity direction, determine that the screen of the mobile terminal meets display state.
6. the method as described in claim 1, which is characterized in that the screen of the determination mobile terminal meets display state The step of, comprising:
Obtain the screen state of the mobile terminal;
When the screen state of the mobile terminal is breath screen state, determine that the screen of the mobile terminal meets display state.
7. the method as described in claim 1, which is characterized in that described to control the light bar progress phase according to the information about power The step of display answered, comprising:
Length information is lighted according to what the information about power determined the light bar;
According to it is described light length information and light in the light bar light the corresponding part of length information with described.
8. the method for claim 7, which is characterized in that described to determine lighting for the light bar according to the information about power The step of length information, comprising:
Preset the information about power and the corresponding relationship for lighting length information;
It is determined according to the information about power and corresponding in the corresponding relationship lights length information.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Touch screen;
Processor;
Memory is connected to the processor, and the memory includes control instruction, is referred to when the processor reads the control When enabling, the control method that the mobile terminal realizes any one of claim 1-8 mobile terminal is controlled.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium has one or more journeys Sequence, one or more of programs are executed by one or more processors, to realize any one of claim 1 to 8 mobile terminal Control method.
CN201910448062.1A 2019-05-27 2019-05-27 Mobile terminal control method, mobile terminal, and computer-readable storage medium Active CN110198379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910448062.1A CN110198379B (en) 2019-05-27 2019-05-27 Mobile terminal control method, mobile terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910448062.1A CN110198379B (en) 2019-05-27 2019-05-27 Mobile terminal control method, mobile terminal, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110198379A true CN110198379A (en) 2019-09-03
CN110198379B CN110198379B (en) 2021-08-03

Family

ID=67753261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910448062.1A Active CN110198379B (en) 2019-05-27 2019-05-27 Mobile terminal control method, mobile terminal, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110198379B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414043A (en) * 2020-03-18 2020-07-14 上海科世达-华阳汽车电器有限公司 Air knob
CN111930457A (en) * 2020-08-07 2020-11-13 深圳传音控股股份有限公司 Charging prompting method, mobile terminal and storage medium
CN112810776A (en) * 2021-01-29 2021-05-18 徐婧怡 Prevent drowned emergency call for help bracelet
CN113655851A (en) * 2021-08-16 2021-11-16 维沃移动通信有限公司 Electronic equipment control method, electronic equipment control device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360299A (en) * 2008-09-03 2009-02-04 深圳华为通信技术有限公司 Method for prompt customer and terminal having keyboard light
CN202940866U (en) * 2012-12-13 2013-05-15 广东欧珀移动通信有限公司 Mobile terminal
US20150155903A1 (en) * 2013-12-04 2015-06-04 Lg Electronics Inc. Mobile terminal and control method for the mobile terminal
CN106375555A (en) * 2016-08-25 2017-02-01 维沃移动通信有限公司 Information display method and mobile terminal
CN107395902A (en) * 2017-09-21 2017-11-24 中新国际电子有限公司 A kind of status information of mobile terminal display methods and system
CN108512991A (en) * 2018-02-27 2018-09-07 努比亚技术有限公司 A kind of based reminding method, mobile terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360299A (en) * 2008-09-03 2009-02-04 深圳华为通信技术有限公司 Method for prompt customer and terminal having keyboard light
CN202940866U (en) * 2012-12-13 2013-05-15 广东欧珀移动通信有限公司 Mobile terminal
US20150155903A1 (en) * 2013-12-04 2015-06-04 Lg Electronics Inc. Mobile terminal and control method for the mobile terminal
CN106375555A (en) * 2016-08-25 2017-02-01 维沃移动通信有限公司 Information display method and mobile terminal
CN107395902A (en) * 2017-09-21 2017-11-24 中新国际电子有限公司 A kind of status information of mobile terminal display methods and system
CN108512991A (en) * 2018-02-27 2018-09-07 努比亚技术有限公司 A kind of based reminding method, mobile terminal and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414043A (en) * 2020-03-18 2020-07-14 上海科世达-华阳汽车电器有限公司 Air knob
CN111930457A (en) * 2020-08-07 2020-11-13 深圳传音控股股份有限公司 Charging prompting method, mobile terminal and storage medium
CN112810776A (en) * 2021-01-29 2021-05-18 徐婧怡 Prevent drowned emergency call for help bracelet
CN112810776B (en) * 2021-01-29 2023-10-13 徐婧怡 Prevent drowned emergency call bracelet
CN113655851A (en) * 2021-08-16 2021-11-16 维沃移动通信有限公司 Electronic equipment control method, electronic equipment control device and electronic equipment

Also Published As

Publication number Publication date
CN110198379B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN110377251A (en) A kind of screen refresh rate method of adjustment, terminal and computer readable storage medium
CN108495056A (en) Photographic method, mobile terminal and computer readable storage medium
CN109270986A (en) Flexible screen terminal and its display methods and computer readable storage medium
CN109189281A (en) Color adaptation method, terminal and the computer storage medium of wallpaper and icon
CN110198379A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109521925A (en) Icon arrangement method, mobile terminal and computer readable storage medium
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN110417999A (en) Screen luminance adjustment method, mobile terminal and computer readable storage medium
CN110134471A (en) A kind of screens switch animation control methods, terminal and computer readable storage medium
CN110300435A (en) A kind of communication pattern switching method, terminal and computer readable storage medium
CN108536382A (en) A kind of content display method, wearable terminal and storage medium
CN110064192A (en) Interface control method, mobile terminal and computer readable storage medium
CN108965589A (en) A kind of screen brightness control method, terminal and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN108319487A (en) Image display method, mobile terminal and computer readable storage medium
CN110069167A (en) Touch point sweep-out method, mobile terminal and computer readable storage medium
CN110347306A (en) A kind of multi-screen display method, terminal and computer readable storage medium
CN109616081A (en) Display lightness regulating method, flexible screen terminal and computer readable storage medium
CN110278481A (en) Picture-in-picture implementing method, terminal and computer readable storage medium
CN110347284A (en) A kind of flexible display screen control method, terminal and computer readable storage medium
CN109890072A (en) Saving power for terminal control method, device, mobile terminal and readable storage medium storing program for executing
CN109887448A (en) A kind of flexible screen display methods, mobile terminal and computer readable storage medium
CN108833666A (en) Runing time based reminding method, flexible screen terminal and computer readable storage medium
CN108566456A (en) Image pickup method, mobile terminal and computer readable storage medium

Legal Events

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