CN107257409A - Screen state control method, mobile terminal and computer-readable recording medium - Google Patents

Screen state control method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107257409A
CN107257409A CN201710418049.2A CN201710418049A CN107257409A CN 107257409 A CN107257409 A CN 107257409A CN 201710418049 A CN201710418049 A CN 201710418049A CN 107257409 A CN107257409 A CN 107257409A
Authority
CN
China
Prior art keywords
mobile terminal
state
screen state
angle
bright screen
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
CN201710418049.2A
Other languages
Chinese (zh)
Other versions
CN107257409B (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.)
Mingguang Jiuzhi Intellectual Property Management 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 CN201710418049.2A priority Critical patent/CN107257409B/en
Publication of CN107257409A publication Critical patent/CN107257409A/en
Application granted granted Critical
Publication of CN107257409B publication Critical patent/CN107257409B/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
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

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

Abstract

The invention discloses a kind of screen state control method, mobile terminal and computer-readable recording medium.The mobile terminal left and right sides is respectively arranged with least one sensor, and screen state control method comprises the following steps:When mobile terminal is in black state, the angle of detection mobile terminal and horizontal direction, and detect whether mobile terminal is in holding state by sensor;When angle is in the range of predetermined angle, and mobile terminal, when being in holding state, control mobile terminal enters bright screen state from black state.The present invention, which is realized, is not unlocking mobile terminal, and does not trigger and control mobile terminal to enter bright screen state from black state in the case of mobile terminal screen locking function key;And in the present invention, it is necessary to which just control mobile terminal, from black state into bright screen state, reduces the misuse rate that control mobile terminal enters bright screen state from black state when meeting angle and holding state.

Description

Screen state control method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to communication technical field, more particularly to a kind of screen state control method, mobile terminal and computer Readable storage medium storing program for executing.
Background technology
With continuing to develop for science and technology, user can handle complicated and diversified task on mobile terminals, for example, read electricity The philosophical works, video is played, music is played and browses webpage etc., this needs to carry out frequently information friendship between user and mobile terminal Mutually.
When user will carry out information exchange with mobile terminal, user first has to light mobile terminal screen.Light at present The method of mobile terminal screen has:1. mobile terminal is directly unlocked by fingerprint, to light mobile terminal screen;2. pressing movement Screen locking function key in terminal, to light mobile terminal screen.It follows that at present except directly passing through the situation of unlocked by fingerprint Under, not other methods can not unlocked, and do not trigger mobile terminal is controlled in the case of screen locking function key from blank screen shape State enters bright screen state.
The content of the invention
It is a primary object of the present invention to propose a kind of screen state control method, mobile terminal and computer-readable storage Medium, it is intended to which solution must not unlocked, and do not trigger and control mobile terminal to enter from black state in the case of screen locking function key Enter the technical problem of bright screen state.
To achieve the above object, the invention provides a kind of screen state control method, the screen state control method Applied to mobile terminal, the mobile terminal left and right sides is respectively arranged with least one sensor, the screen state control Method comprises the following steps:
When the mobile terminal is in black state, the angle of the mobile terminal and horizontal direction, Yi Jitong are detected Cross the sensor and detect whether the mobile terminal is in holding state;
When the angle is in the range of predetermined angle, and the mobile terminal is when being in holding state, controls the movement Terminal enters bright screen state from black state.
Alternatively, it is described when the angle in the range of predetermined angle, and the mobile terminal be in holding state when, control Making the step of mobile terminal enters bright screen state from black state includes:
When the angle is in the range of the predetermined angle, angle the holding in the range of the predetermined angle is calculated The continuous time;
When the duration being in holding state more than or equal to preset time, and the mobile terminal, control The mobile terminal enters bright screen state from black state.
Alternatively, it is described when the angle in the range of predetermined angle, and the mobile terminal be in holding state when, control The mobile terminal is made from black state into after the step of bright screen state, in addition to:
The mobile terminal of bright screen state and the angle of horizontal direction are in not in the predetermined angle model when detecting When enclosing interior, the mobile terminal is controlled to enter black state from bright screen state;
And/or when detecting the mobile terminal in bright screen state in non-holding state, control the movement Terminal enters black state from bright screen state.
Alternatively, it is described when detecting the mobile terminal in bright screen state in non-holding state, control institute Stating the step of mobile terminal enters black state from bright screen state includes:
When detecting the mobile terminal in bright screen state in non-holding state, judge before the mobile terminal Platform whether there is the application program being currently running;
If the mobile terminal foreground does not have the application program that is currently running, the mobile terminal is controlled from bright Screen state enters black state.
Alternatively, it is described when detecting the mobile terminal in bright screen state in non-holding state, judge institute State mobile terminal foreground whether there is be currently running application program the step of after, in addition to:
If the mobile terminal foreground has the application program being currently running, the mobile terminal is controlled to be in bright Screen state.
Alternatively, it is described when the angle in the range of predetermined angle, and the mobile terminal be in holding state when, control The mobile terminal is made from black state into after the step of bright screen state, in addition to:
When detect in bright screen state the mobile terminal and horizontal direction angle increase when, unlock it is described move Dynamic terminal.
Alternatively, the mobile terminal back side is provided with back side sensor, described when the angle is in predetermined angle scope It is interior, and the mobile terminal is when being in holding state, control the mobile terminal from black state enter bright screen state the step of Including:
When the angle is in the range of predetermined angle, and the mobile terminal is when being in holding state, obtains the back side Corresponding 3rd detected value of sensor;
When the 3rd detected value is not zero, the mobile terminal is controlled to enter bright screen state from black state.
Alternatively, it is described to detect that the step of whether mobile terminal is in holding state includes by the sensor:
Corresponding first detected value of the mobile terminal left sensor is obtained, and obtains biography on the right side of the mobile terminal Corresponding second detected value of sensor;
When first detected value and second detected value are both greater than predetermined test value, confirm at the mobile terminal In the state of holding;
When first detected value be less than or equal to the predetermined test value, and/or second detected value be less than or When person is equal to the predetermined test value, confirm that the mobile terminal is in non-holding state.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include memory, Sensor, processor and it is stored in the screen state control program that can be run on the memory and on the processor, institute State screen state control program is realized screen state control method as described above during computing device the step of.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Be stored with screen state control program on storage medium, is realized when the screen state control program is executed by processor as above The step of described screen state control method.
In the present invention, a few sensor is respectively provided in the mobile terminal left and right sides, by when described mobile whole When end is in black state, the angle of the mobile terminal and horizontal direction is detected, and detect described by the sensor Whether mobile terminal is in holding state;When the angle is in the range of predetermined angle, and the mobile terminal is in and holds shape During state, the mobile terminal is controlled to enter bright screen state from black state.Realize and do not unlocking mobile terminal, and do not trigger shifting Mobile terminal is controlled to enter bright screen state from black state in the case of dynamic terminal screen locking function key;And in the present invention, it is necessary to Meet angle and hold state when just control mobile terminal from black state enter bright screen state, reduce control mobile terminal from Black state enters the misuse rate of bright screen state.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram of terminal of realization each embodiment of the invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the rearview of mobile terminal in the embodiment of the present invention;
Fig. 4 is sectional view of the mobile terminal along AA directions in Fig. 3;
Fig. 5 is the schematic flow sheet of screen state control method first embodiment of the present invention;
Fig. 6 sets the schematic diagram of a sensor for the mobile terminal left and right sides in the embodiment of the present invention respectively;
Fig. 7 a set the schematic diagram of multiple sensors for the mobile terminal left and right sides in the embodiment of the present invention respectively;
Fig. 7 b are the positive right view of Fig. 7 a mobile terminals of the present invention;
Fig. 7 c are the positive left view of Fig. 7 a mobile terminals of the present invention;
Fig. 8 is whether a kind of flow in holding state is shown by sensor detection mobile terminal in the embodiment of the present invention It is intended to;
Fig. 9 is a kind of schematic diagram that user grips mobile terminal;
Figure 10 is mobile terminal and a kind of schematic diagram of horizontal direction angle change;
Figure 11 is the schematic flow sheet of screen state control method 3rd embodiment of the present invention;
Figure 12 is the schematic flow sheet of screen state control method fourth embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be explained referring to the drawings in conjunction with the embodiments.
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 follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio output unit 103rd, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, with And the grade part of power supply 111.It will be understood by those skilled in the art that the structure of mobile terminal 1 00 shown in Fig. 1 is not constituted to moving The restriction of dynamic terminal 100, mobile terminal 1 00 can include parts more more or less than diagram, or combine some parts, or The different part arrangement of person.
The all parts of mobile terminal 1 00 are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, 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 by radio communication with network and other equipment.Above-mentioned radio communication can use any 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, WCDMA), TD-SCDMA (Time Division Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
Wi-Fi belongs to short range wireless transmission technology, and mobile terminal 1 00 can help user to receive by Wi-Fi module 102 Send e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although figure 1 shows Wi-Fi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal 1 00, completely can be with Omitted as needed in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or Wi-Fi module 102 are received or The voice data that person stores in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103 can also provide performed to mobile terminal 1 00 the related audio output of specific function (for example, call signal reception sound, Message sink sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor, pressure sensing Device, capacitance sensor and other sensors.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, Ambient light sensor can adjust the brightness of display panel 1061 according to the light and shade of ambient light, and proximity transducer can be mobile whole When end 100 is moved in one's ear, display panel 1061 and/or backlight are closed.It is used as one kind of motion sensor, accelerometer sensor The size of (generally three axles) acceleration, can detect that size and the direction of gravity, can use in detectable all directions when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function in identification mobile phone posture (such as pedometer, percussion) etc.;Fingerprint sensor, pressure sensor, iris sensor, the molecule that can also configure as mobile phone are passed The other sensors such as sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped 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) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects 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 the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, 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 1 00 or can be with For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal 1 00, utilizes various interfaces and the whole mobile terminal of connection Various pieces, by operation or perform and are stored in software program and/or module in memory 109, and call and be stored in Data in reservoir 109, perform the various functions and processing data of mobile terminal 1 00, so as to carry out entirety to mobile terminal 1 00 Monitoring.Processor 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulation Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulation /demodulation processing Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In addition, in the mobile terminal 1 00 shown in Fig. 1, the left and right sides of mobile terminal 1 00 is respectively arranged with least one biography Sensor 105, processor 110 is used to call the screen state control program stored in memory 109, and performs following operate:
When mobile terminal 1 00 is in black state, the angle of detection mobile terminal 1 00 and horizontal direction, and pass through Whether sensor detection mobile terminal 1 00 is in holding state;
When angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control mobile terminal 1 00 from Black state enters bright screen state.
Further, when angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control movement The step of terminal 100 enters bright screen state from black state includes:
When angle is in the range of predetermined angle, duration of the angle in the range of predetermined angle is calculated;
When the duration being in holding state more than or equal to preset time, and mobile terminal 1 00, control is mobile eventually End 100 enters bright screen state from black state.
Further, when angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control movement Terminal 100 is from black state into after the step of bright screen state, and processor 110 is additionally operable to call what is stored in memory 109 Screen state control program, performs following operate:
The mobile terminal 1 00 of bright screen state and the angle of horizontal direction are in not in the range of predetermined angle when detecting When, control mobile terminal 1 00 enters black state from bright screen state;
And/or when detecting the mobile terminal 1 00 in bright screen state in non-holding state, control mobile terminal 100 enter black state from bright screen state.
Further, when detecting the mobile terminal 1 00 in bright screen state in non-holding state, control is mobile eventually The step of end 100 enters black state from bright screen state includes:
When detecting the mobile terminal 1 00 in bright screen state in non-holding state, the foreground of mobile terminal 1 00 is judged With the presence or absence of the application program being currently running;
If the foreground of mobile terminal 1 00 does not have the application program being currently running, mobile terminal 1 00 is controlled from bright screen state Into black state.
Further, when detecting the mobile terminal 1 00 in bright screen state in non-holding state, judge mobile whole Hold after the step of 100 foregrounds whether there is the application program being currently running, processor 110 is additionally operable to call in memory 109 The screen state control program of storage, performs following operate:
If the foreground of mobile terminal 1 00 has the application program being currently running, control mobile terminal 1 00 is in bright screen shape State.
Further, when angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control movement Terminal 100 is from black state into after the step of bright screen state, and processor 110 is additionally operable to call what is stored in memory 109 Screen state control program, performs following operate:
When the angle for detecting the mobile terminal 1 00 in bright screen state and horizontal direction is increasing, unblock is mobile eventually End 100.
Further, the back side of mobile terminal 1 00 is provided with back side sensor, when angle is in the range of predetermined angle, and moves When dynamic terminal 100 is in holding state, the step of control mobile terminal 1 00 enters bright screen state from black state includes:
When angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, obtains back side sensor correspondence The 3rd detected value;
When the 3rd detected value is not zero, control mobile terminal 1 00 enters bright screen state from black state.
Further, detect that the step of whether mobile terminal 1 00 is in holding state includes by sensor:
Corresponding first detected value of the left sensor of mobile terminal 1 00 is obtained, and obtains the right side of mobile terminal 1 00 and is sensed Corresponding second detected value of device;
When the first detected value and the second detected value are both greater than predetermined test value, confirm that mobile terminal 1 00 is in and hold shape State;
When the first detected value is less than or equal to predetermined test value, and/or the second detected value less than or equal to default inspection During measured value, confirm that mobile terminal 1 00 is in non-holding state.
Mobile terminal 1 00 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, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned mobile terminal 1 00, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, 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 There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can 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 it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on the above-mentioned hardware configuration of mobile terminal 1 00 and communications network system, screen state controlling party of the present invention is proposed Each embodiment of method.
In the present embodiment there is provided the embodiment of screen state control method, it is necessary to which what is illustrated is, although in flow chart In show logical order, but in some cases, can be to perform shown or described step different from order herein Suddenly.
In embodiments of the present invention, screen state control method is optional is applied in mobile terminal 1 00.
Including each hard inside shell body 210 and shell body 210 on reference picture 3 and Fig. 4, the body 200 of mobile terminal 1 00 Part.Wherein, the one side of shell body 210 is provided with screen, and the relative another side of screen is back, connection screen cover and the shell at the rear back side Body 210 is the side of mobile terminal 1 00.Generally, mobile terminal 1 00 has two long sides and two short side sides.
Holding state-detection region 220 is provided with shell body 210, for detecting mobile terminal 1 00 whether in holding State.Whole shell body 210 can be covered by holding state-detection region 220, can also be only the part area of shell body 210 Domain, region area and regional location can flexible configurations according to actual needs.
In order to sense object, hold and be provided with capacitance sensor 230 on state-detection region 220.Capacitance sensor 230 with CPU300 is electrically connected, and its capacitance is passed into CPU300 in real time, so that CPU300 determines whether that object touches holding state Detection zone 220.
Posture acquisition instrument 400 is provided with body 200, is become for posture of the sensing movement terminal 100 under holding state Change.Posture acquisition instrument 400 is electrically connected with CPU300, and the signal produced is sent to CPU300.
CPU300 is electrically connected with capacitance sensor 230 and Posture acquisition instrument 400 respectively, and receives the He of capacitance sensor 230 The signal that Posture acquisition instrument 400 is transmitted.State-detection is held in the signal that CPU300 can be transmitted according to capacitance sensor 230, detection Whether region 220 has object touch.
The operation principle of capacitance sensor 230 is:If close to object (finger of such as user) in capacitance sensor 230 Effective projected area is A, and capacitance C can be represented with equation below:
It should be noted that ε0And εrThe dielectric constant of vacuum and air is represented respectively, and d is represented close to object and electric capacity biography The distance between sensor 230.From formula, effective projected area A and it can change electric capacity C values apart from d close to object, because This, difference between change that can be according to electric capacity C values and multiple electric capacity determines the interaction mode of user and mobile terminal 1 00, And then detect whether mobile terminal 1 00 is in holding state.Further, the pressure value size of holding can also be detected.
It should be noted that mobile terminal 1 00 except using capacitance sensor 230 detect whether in holding state it Outside, available pressure sensor, light sensor etc. are gone back to detect whether to be in holding state, pressure sensor, light sensor is used Device detects whether that the principle in holding state will not be repeated here.
Thus, the size and variation tendency for the capacitance that CPU300 can feed back according to capacitance sensor 230, judge whether There is object to touch and hold state-detection region 220.Generally, when user is close to capacitance sensor 230, capacitance sensor 230 feeds back Capacitance gradually increase.Grip in view of different user is different, predeterminable capacitance threshold value, when capacitance sensor 230 is detected To capacitance gradually increase and during more than default capacitance threshold value, there is object the position where determining this capacitance sensor 230 Contact.
Then, the position for having object to contact that CPU300 is sensed according to capacitance sensor 230, detects mobile terminal 1 00 Whether holding state is in.For example, when user is hold by one hand mobile terminal 1 00, typically four fingers contact mobile terminal 1 00 A long side, another long side of palm contacts mobile terminal 1 00.If what capacitance sensor 230 was sensed has thing The position of body contact includes two long sides of mobile terminal 1 00, then can determine that current mobile terminal 100 is in and hold shape State.
After it is determined that mobile terminal 1 00 is currently at holding state, the signal that CPU300 is transmitted according to Posture acquisition instrument 400 Generate the angle between mobile terminal 1 00 and horizontal direction, further, the letter that CPU300 is transmitted according to Posture acquisition instrument 400 Number determine mobile terminal 1 00 angle change direction, and then detect mobile terminal 1 00 attitudes vibration.Wherein, body 200 with Angle between horizontal direction can be understood as inclination angle value of the body 200 relative to horizontal direction of mobile terminal 1 00, move The angle change direction of dynamic terminal 100 can be understood as inclination side of the body 200 relative to horizontal direction of mobile terminal 1 00 To which characterizes the change in the direction of body 200.
Posture acquisition instrument 400 can be the devices such as gyroscope or gravity sensor, to detect mobile terminal 1 00 and level The angle change situation in direction.The operation principle of gyroscope is the rotary shaft of high speed rotating object, for changing the outer of its direction Power effect has the tendency of to be intended to vertical direction, moreover, rotating object is in lateral inclination, gravity can be to the inclined direction of increase Effect, and axle just generates the motion (precession of the equinoxes motion) shaken the head then to movement in vertical direction, CPU300 can turn according to gyroscope The signal of change of movable property life obtains incline direction of the mobile terminal 1 00 relative to horizontal direction and angle of inclination.
When detecting the angle change of mobile terminal 1 00 and horizontal direction using gravity sensor, pass through gravity sensor Measurement passes to CPU300, CPU300 adding as measured by gravity sensor due to acceleration caused by gravity, and by signal It is (mobile whole relative to the incline direction (angle change direction) of horizontal direction and angle of inclination that speed calculates mobile terminal 1 00 End 100 and the angle of horizontal direction).
Wherein, horizontal direction can be regarded as a kind of reference direction of setting, and reference direction is CPU300 settings for joining According to base vector value, the base vector value is a kind of vector specified in default azimuthal coordinates system of mobile terminal 1 00 Value, or by the vector value of the initial position of mobile terminal 1 00 got from sensor.Wherein, pre-configured orientation coordinate system includes It is one or more in plane coordinate system, terrestrial coordinate system or geographic coordinate system.The initial position of mobile terminal 1 00 can be mobile Terminal 100 enters position during current mode, or position of the mobile terminal 1 00 before prefixed time interval, or CPU300 it is upper once perform control instruction after position, can flexible configuration or selection according to actual needs.
CPU300 is according to default frequency, the angle between its body 200 of periodic detection and horizontal direction, or monitoring in real time Its body 200 and the angle of horizontal direction.Angles of the CPU300 between body 200 and horizontal direction meets default control strip During part, mobile terminal 1 00 is controlled.Specifically, CPU300 searches the angle of mobile terminal 1 00 and horizontal direction in control condition storehouse The met control condition of degree, and control instruction corresponding with the control condition is determined, it is determined that after control instruction, CPU300 is held This control instruction of row, correspondence control mobile terminal 1 00.
As a kind of embodiment, default control condition includes but is not limited to preset direction, and angle value scope.Need To be illustrated when, default control condition can be CPU300 configuration or user's sets itself, can also collect The use habit of user optimizes adjustment to the direction in control condition and angle value scope.
Reference picture 5, screen state control method includes:
Step S10, when mobile terminal 1 00 is in black state, the angle of detection mobile terminal 1 00 and horizontal direction, And detect whether mobile terminal 1 00 is in holding state by sensor.
In the present embodiment, the left and right sides of mobile terminal 1 00 is respectively arranged with least one sensor, mobile terminal 100 detect whether to be in holding state by the sensor.The left and right sides of mobile terminal 1 00 can set a sensing respectively Device, or multiple sensors are set respectively.Specifically, reference picture 6, Fig. 7 a, Fig. 7 b and Fig. 7 c, Fig. 6 is in the embodiment of the present invention The left and right sides of mobile terminal 1 00 sets the schematic diagram of a sensor respectively, and Fig. 7 a are mobile terminal 1 00 in the embodiment of the present invention The left and right sides sets the schematic diagram of multiple sensors respectively, and Fig. 7 b are the positive right view of Fig. 7 a mobile terminals of the present invention, Fig. 7 c For the positive left view of Fig. 7 a mobile terminals of the present invention.In figure 6, S1 represents the sensor on the right side of mobile terminal 1 00, and S2 is represented The sensor in the left side of mobile terminal 1 00;In Fig. 7 a, Fig. 7 b and Fig. 7 c, S1 and S2 positions are provided with multiple biographies in figure 6 Sensor so that S1=(S10 ... S1n), S2=(S20 ... S2m).In Fig. 7 a, Fig. 7 b and Fig. 7 c, S1 represents mobile terminal 1 00 Right sensor array, S10 ... S1n represent multiple sensors set by the right side of mobile terminal 1 00;S2 represents mobile terminal 100 left sensor arrays, S20 ... S2m represent multiple sensors set by the left side of mobile terminal 1 00.In the present embodiment, Sensor used is capacitance sensor.
When mobile terminal 1 00 is in black state, mobile terminal 1 00 detects its angle with horizontal direction, Yi Jitong Sensor is crossed to detect whether to be in holding state.It should be noted that in embodiments of the present invention, mobile terminal 1 00 can be examined first Its angle with horizontal direction is surveyed, when the angle of mobile terminal 1 00 and horizontal direction meets certain condition, then passes through sensor Detect whether to be in holding state, it is mobile whole such as when the angle of mobile terminal 1 00 and horizontal direction is more than some set angle Hold 100 just to think that active user may wish to light screen, now just detect whether it is in holding state.Or first detect it Whether holding state is in, when detecting in holding state, mobile terminal 1 00 detects its angle with horizontal direction again.
Further, reference picture 8, detect that the step of whether mobile terminal 1 00 is in holding state includes by sensor:
Step S11, obtains corresponding first detected value of the left sensor of mobile terminal 1 00, and obtain mobile terminal 1 00 Corresponding second detected value of right sensor.
Step S12, when the first detected value and the second detected value are both greater than predetermined test value, confirms at mobile terminal 1 00 In the state of holding.
Step S13, when the first detected value is less than or waited less than or equal to predetermined test value, and/or the second detected value When predetermined test value, confirm that mobile terminal 1 00 is in non-holding state.
Mobile terminal 1 00 detects whether that the detailed process in holding state is by sensor:Mobile terminal 1 00 passes through The sensor in left side obtains corresponding first detected value of left sensor, and obtains right sensor by the sensor on right side Corresponding second detected value.When getting the first detected value and the second detected value, mobile terminal 1 00 judge the first detected value and Whether the second detected value is both greater than predetermined test value, to confirm that it is current whether in holding state.
When the first detected value and the second detected value are both greater than predetermined test value, mobile terminal 1 00 confirms that it is currently at Holding state;When the first detected value is less than or equal to predetermined test value, and/or the second detected value less than or equal to default inspection During measured value, mobile terminal 1 00 confirms that it is currently at non-holding state.It should be noted that predetermined test value can be according to specific Situation set, the sensor that predetermined test value is used according to mobile terminal 1 00 it is different and different, used according to sensor Unit of account it is different and different.
Further, when it is determined that mobile terminal 1 00 is in holding state, mobile terminal 1 00 can also be according to the first detection Size between value and the second detected value determines it is currently left-handed state or right hand grip state.Such as work as mobile terminal When 100 left and right sides are respectively provided with a capacitance sensor, due to left-handed state and right hand grip state mobile terminal Effective projected area A of 100 the right and lefts difference, causes the of different sizes of the first detected value and the second detected value.When first When detected value is more than the second detected value, it is currently left-handed state to show mobile terminal 1 00;When the second detected value is more than first Detected value, it is currently right hand grip state to show mobile terminal 1 00.
Step S20, when angle is in the range of predetermined angle, and mobile terminal 1 00, when being in holding state, control is mobile eventually End 100 enters bright screen state from black state.
When the angle of mobile terminal 1 00 and horizontal direction is in the range of predetermined angle, and mobile terminal 1 00 is in and holds shape During state, mobile terminal 1 00 enters bright screen state from black state.In the present embodiment, the numerical value of predetermined angle scope is not limited It is fixed, 20 ° to 70 ° are such as could be arranged to, it can also be provided that 28 ° to 65 ° etc., specifically mobile terminal can be gripped according to different user 100 custom and set.Specifically, Fig. 9 and Figure 10 are can refer to, Fig. 9 is a kind of schematic diagram that user grips mobile terminal 1 00, Figure 10 is a kind of schematic diagram of mobile terminal 1 00 and horizontal direction angle change.In Fig. 10, (α, β) represents predetermined angle model Enclose, α represents predetermined angle lower range limit, β represents the higher limit of predetermined angle scope.
Further, when the angle of mobile terminal 1 00 and horizontal direction is not in the range of predetermined angle, and/or it is mobile eventually When end 100 is not in holding state, mobile terminal 1 00 keeps black state.
Further, step S20 includes:
Step a, when angle is in the range of predetermined angle, calculates duration of the angle in the range of predetermined angle.
Step b, when the duration being in holding state more than or equal to preset time, and mobile terminal 1 00, control Mobile terminal 1 00 enters bright screen state from black state.
Further, it is mobile whole when mobile terminal 1 00 determines it with the angle of horizontal direction in the range of predetermined angle End 100 calculates the duration of the angle within a preset range, and when judging whether the duration is more than or equal to default Between.When the duration is more than or equal to preset time, and mobile terminal 1 00, when being in holding state, mobile terminal 1 00 is from black Screen state enters bright screen state;When the duration being less than preset time, mobile terminal 1 00 keeps black state.At this In embodiment, preset time may be configured as 3 seconds, 4 seconds or 5 seconds etc..
By judging duration of the angle in the range of predetermined angle between mobile terminal 1 00 and horizontal direction, it is to avoid When user is rocking mobile terminal 1 00, mobile terminal 1 00 also enters bright screen state from black state, improves mobile terminal 100 need to enter the accuracy rate of bright screen state from black state according to user.
Further, when mobile terminal 1 00 first detects its angle with horizontal direction, then place detected whether by sensor In holding in state procedure, when the angle that mobile terminal 1 00 detects itself and horizontal direction starts change, itself and level are judged Whether angle is more than preset duration from zero into the transformation period before preset range angle between direction.Represented when with (α, β) During predetermined angle scope, judge whether transformation period can be regarded as judging mobile terminal 1 00 and horizontal direction more than preset duration Between duration T of the angle in the range of (0, α) whether be more than preset duration t.Work as T>During t, and the angle detected exists In the range of predetermined angle, mobile terminal 1 00 just starts sensor, detects that it is current whether in holding state by sensor, Need to enter the accuracy rate of bright screen state from black state to improve mobile terminal 1 00 according to user.As T≤t, mobile terminal 100 do not start sensor.Preset duration can be set according to specific needs, such as may be configured as 2 seconds, or 3 seconds etc..
The present embodiment is by being respectively provided to a few sensor in the left and right sides of mobile terminal 1 00, when mobile terminal 1 00 During in black state, the angle of detection mobile terminal 1 00 and horizontal direction, and mobile terminal 1 00 is detected by sensor Whether holding state is in;When angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control movement Terminal 100 enters bright screen state from black state.Realize and do not unlocking mobile terminal 1 00, and do not trigger mobile terminal 1 00 and lock Mobile terminal 1 00 is controlled to enter bright screen state from black state in the case of shielding function key;And in the present invention, it is necessary to meet angle Degree and hold state when just control mobile terminal 1 00 from black state enter bright screen state, reduce control mobile terminal 1 00 from Black state enters the misuse rate of bright screen state.
Further, the second embodiment of screen state control method of the present invention is proposed based on first embodiment.Screen shape The difference of the second embodiment of state control method and the first embodiment of screen state control method is, screen state controlling party Method also includes:
Step c, the mobile terminal 1 00 of bright screen state and the angle of horizontal direction are in not in predetermined angle model when detecting When enclosing interior, control mobile terminal 1 00 enters black state from bright screen state;
And/or step d, when detecting mobile terminal 1 00 in non-holding state, mobile terminal 1 00 is controlled from bright screen State enters black state.
When the mobile terminal 1 00 in bright screen state detects it with the angle of horizontal direction not in the range of predetermined angle When, mobile terminal 1 00 enters black state from bright screen state;When the mobile terminal 1 00 in bright screen state detects itself and water Square to angle in the range of predetermined angle, but when being currently at non-holding state, enter black state from bright screen state;When Mobile terminal 1 00 in bright screen state detects it with the angle of horizontal direction not in the range of predetermined angle, and current place When non-holding state, enter black state from bright screen state.
By the angle when the mobile terminal 1 00 under bright screen state and horizontal direction not in the range of predetermined angle, and/or When mobile terminal 1 00 is in non-holding state, control mobile terminal 1 00 from bright screen state enters black state, it is to avoid when using When family need not light 00 screen of mobile terminal 1, mobile terminal 1 00 is also constantly in bright screen state, saves mobile terminal 1 00 Electricity, and improve the intelligent of mobile terminal 1 00.
Further, screen state control method also includes:
Step e, when detecting mobile terminal 1 00 in non-holding state, judges that the foreground of mobile terminal 1 00 whether there is The application program being currently running.
Step f, if the foreground of mobile terminal 1 00 does not have the application program that is currently running, control mobile terminal 1 00 is from bright Screen state enters black state.
Further, screen state control method also includes:
Step g, if the foreground of mobile terminal 1 00 has the application program being currently running, control mobile terminal 1 00 is in bright Screen state.
Further, it is currently at non-holding when the mobile terminal 1 00 in bright screen state detects it by sensor During state, mobile terminal 1 00 judges that its foreground whether there is the application program being currently running.When the foreground of mobile terminal 1 00 is present During the application program being currently running, mobile terminal 1 00 maintains bright screen state;It is currently running when the foreground of mobile terminal 1 00 is not present Application program when, mobile terminal 1 00 enters black state from bright screen state.
As being currently at non-holding state when the mobile terminal 1 00 in bright screen state detects it by sensor, and Its foreground by player plays video when, mobile terminal 1 00 maintain bright screen state.
By when the mobile terminal 1 00 under bright screen state is in non-holding state, further detecting mobile terminal Whether 100 foregrounds have the application program being currently running, if so, then control mobile terminal 1 00 keeps bright screen state, it is to avoid When mobile terminal 1 00 is placed on desk by user, either specific place viewing video or when browsing webpage etc., mobile terminal 1 00 The automatic situation for entering black state from bright screen state occurs.
Further, the 3rd embodiment of screen state control method of the present invention is proposed based on first embodiment.
The difference of the 3rd embodiment of screen state control method and the first embodiment of screen state control method is, Reference picture 11, screen state control method also includes:
Step S30, when the angle for detecting the mobile terminal 1 00 in bright screen state and horizontal direction is increasing, solution Lock mobile terminal 1 00.
Mobile terminal 1 00 under bright screen state detects its angle with horizontal direction in real time.When in bright screen state Under mobile terminal 1 00 detect its angle with horizontal direction in increase, mobile terminal 1 00 enters from bright screen state to be unlocked State, performs unblock operation, to unlock mobile terminal 1 00.
The present embodiment when the angle for detecting the mobile terminal 1 00 under bright screen state and horizontal direction by increasing When, it is believed that user wants to check the content of mobile terminal 1 00, or manipulation mobile terminal 1 00 etc., now unlocks mobile terminal 100, user is not needed now by unlocked by fingerprint or unlocking pin unblock mobile terminal 1 00 is manually entered, and is simplified unblock and is moved The unblock flow of dynamic terminal 100.
Further, based on first and second or three embodiment propose the fourth embodiment of screen state control method of the present invention. The fourth embodiment of screen state control method and screen state control method first and second and three the difference of embodiment be, The back side of mobile terminal 1 00 is provided with back side sensor, and reference picture 12, step S20 includes:
Step S21, when angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, obtains the back side and passes Corresponding 3rd detected value of sensor;
Step S22, when the 3rd detected value is not zero, control mobile terminal 1 00 enters bright screen state from black state.
The back side of mobile terminal 1 00 is provided with least one back side sensor.When the back side of mobile terminal 1 00 sets a back of the body During the sensor of face, in order to detect user's holding operation, the back side sensor can be arranged on to the back side of mobile terminal 1 00 It is middle.It is understood that back side sensor is not restricted to the present embodiment in the position at the back side of mobile terminal 1 00.In this hair In bright, two sensors preferably are set at the back side of mobile terminal 1 00.Specifically, reference picture 6 or Fig. 7 a, by a sensor S3 The top at the back side of mobile terminal 1 00 is arranged on, another sensor S0 is arranged on to the lower section at the back side of mobile terminal 1 00.
When the mobile terminal 1 00 under black state detects it with the angle of horizontal direction in predetermined angle scope Interior, and it is when being currently at holding state, mobile terminal 1 00 obtains corresponding 3rd detected value of back side sensor, and judges the Whether three detected values are zero.When the 3rd detected value is not zero, mobile terminal 1 00 enters bright screen state from black state;When When three detected values are zero, mobile terminal 1 00 maintains black state.
Further, it may also be configured to when the 3rd detected value is more than some fixed value, the ability of mobile terminal 1 00 is from blank screen shape State enters bright screen state;When the 3rd detected value is less than or equal to the fixed value, mobile terminal 1 00 keeps blank screen shape State.
The present embodiment at the back side of mobile terminal 1 00 by setting back side sensor, by detecting that back side sensor is corresponding 3rd detected value, when the 3rd detected value meets condition, the ability of mobile terminal 1 00 enters bright screen state from black state, in movement Angle between terminal 100 and horizontal direction is in the range of predetermined angle, and the sensor correspondence of the left and right sides of mobile terminal 1 00 Detected value meet condition in the case of, further determined according to corresponding 3rd detected value of the back side sensor of mobile terminal 1 00 Mobile terminal 1 00 whether is controlled to enter bright screen state from black state, improve mobile terminal 1 00 needs from blank screen according to user State enters the accuracy rate of bright screen state.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium.
Be stored with screen state control program on computer-readable recording medium, and screen state control program is held by processor Following steps are realized during row:
When mobile terminal 1 00 is in black state, the angle of detection mobile terminal 1 00 and horizontal direction, and pass through Whether sensor detection mobile terminal 1 00 is in holding state, wherein, the left and right sides of mobile terminal 1 00 is respectively arranged with least One sensor;
When angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control mobile terminal 1 00 from Black state enters bright screen state.
In the present invention, a few sensor is respectively provided in the left and right sides of mobile terminal 1 00, by working as mobile terminal 100 when being in black state, the angle of detection mobile terminal 1 00 and horizontal direction, and detects mobile terminal by sensor Whether 100 be in holding state;When angle is in the range of predetermined angle, and mobile terminal 1 00, when being in holding state, control is moved Dynamic terminal 100 enters bright screen state from black state.Realize and do not unlocking mobile terminal 1 00, and do not trigger mobile terminal 1 00 Mobile terminal 1 00 is controlled to enter bright screen state from black state in the case of screen locking function key;And in the present invention, it is necessary to meet Just control mobile terminal 1 00 enters bright screen state from black state when angle and holding state, reduces control mobile terminal 1 00 Enter the misuse rate of bright screen state from black state.
Further, when angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control movement The step of terminal 100 enters bright screen state from black state includes:
When angle is in the range of predetermined angle, duration of the angle in the range of predetermined angle is calculated;
When the duration being in holding state more than or equal to preset time, and mobile terminal 1 00, control is mobile eventually End 100 enters bright screen state from black state.
Further, when angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control movement Terminal 100 into after the step of bright screen state, is realized such as from black state when screen state control program is executed by processor Lower step:
The mobile terminal 1 00 of bright screen state and the angle of horizontal direction are in not in the range of predetermined angle when detecting When, control mobile terminal 1 00 enters black state from bright screen state;
And/or when detecting the mobile terminal 1 00 in bright screen state in non-holding state, control mobile terminal 100 enter black state from bright screen state.
Further, when detecting the mobile terminal 1 00 in bright screen state in non-holding state, control is mobile eventually The step of end 100 enters black state from bright screen state includes:
When detecting the mobile terminal 1 00 in bright screen state in non-holding state, the foreground of mobile terminal 1 00 is judged With the presence or absence of the application program being currently running;
If the foreground of mobile terminal 1 00 does not have the application program being currently running, mobile terminal 1 00 is controlled from bright screen state Into black state.
Further, when detecting the mobile terminal 1 00 in bright screen state in non-holding state, judge mobile whole Hold 100 foregrounds whether there is be currently running application program the step of after, when screen state control program is executed by processor Realize following steps:
If the foreground of mobile terminal 1 00 has the application program being currently running, control mobile terminal 1 00 is in bright screen shape State.
Further, when angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, control movement Terminal 100 into after the step of bright screen state, is realized such as from black state when screen state control program is executed by processor Lower step:
When the angle for detecting the mobile terminal 1 00 in bright screen state and horizontal direction is increasing, unblock is mobile eventually End 100.
Further, the back side of mobile terminal 1 00 is provided with back side sensor, when angle is in the range of predetermined angle, and moves When dynamic terminal 100 is in holding state, the step of control mobile terminal 1 00 enters bright screen state from black state includes:
When angle is in the range of predetermined angle, and mobile terminal 1 00 is when being in holding state, obtains back side sensor correspondence The 3rd detected value;
When the 3rd detected value is not zero, control mobile terminal 1 00 enters bright screen state from black state.
Further, detect that the step of whether mobile terminal 1 00 is in holding state includes by sensor:
Corresponding first detected value of the left sensor of mobile terminal 1 00 is obtained, and obtains the right side of mobile terminal 1 00 and is sensed Corresponding second detected value of device;
When the first detected value and the second detected value are both greater than predetermined test value, confirm that mobile terminal 1 00 is in and hold shape State;
When the first detected value is less than or equal to predetermined test value, and/or the second detected value less than or equal to default inspection During measured value, confirm that mobile terminal 1 00 is in non-holding state.
Computer-readable recording medium embodiment of the present invention and each embodiment base of above-mentioned screen state control method This is identical, will not be repeated here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and And also including the other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes It is engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of screen state control method, it is characterised in that the screen state control method is applied to mobile terminal, described The mobile terminal left and right sides is respectively arranged with least one sensor, and the screen state control method comprises the following steps:
When the mobile terminal is in black state, the angle of the mobile terminal and horizontal direction is detected, and pass through institute State sensor and detect whether the mobile terminal is in holding state;
When the angle is in the range of predetermined angle, and the mobile terminal is when being in holding state, controls the mobile terminal Enter bright screen state from black state.
2. screen state control method as claimed in claim 1, it is characterised in that described when the angle is in predetermined angle model In enclosing, and the mobile terminal is when being in holding state, controls the mobile terminal to enter the step of bright screen state from black state Suddenly include:
When the angle is in the range of the predetermined angle, when calculating lasting in the range of the predetermined angle of the angle Between;
When the duration being in holding state more than or equal to preset time, and the mobile terminal, control is described Mobile terminal enters bright screen state from black state.
3. screen state control method as claimed in claim 1, it is characterised in that described when the angle is in predetermined angle model In enclosing, and the mobile terminal is when being in holding state, controls the mobile terminal to enter the step of bright screen state from black state After rapid, in addition to:
The mobile terminal of bright screen state and the angle of horizontal direction are in not in the range of the predetermined angle when detecting When, control the mobile terminal to enter black state from bright screen state;
And/or when detecting the mobile terminal in bright screen state in non-holding state, control the mobile terminal Enter black state from bright screen state.
4. screen state control method as claimed in claim 3, it is characterised in that described to detect in bright screen state When the mobile terminal is in non-holding state, the step of controlling the mobile terminal to enter black state from bright screen state is wrapped Include:
When detecting the mobile terminal in bright screen state in non-holding state, judge that the mobile terminal foreground is It is no to there is the application program being currently running;
If the mobile terminal foreground does not have the application program being currently running, the mobile terminal is controlled from bright screen shape State enters black state.
5. screen state control method as claimed in claim 4, it is characterised in that described to detect in bright screen state When the mobile terminal is in non-holding state, judge the mobile terminal foreground with the presence or absence of the application program being currently running After step, in addition to:
If the mobile terminal foreground has the application program being currently running, the mobile terminal is controlled to be in bright screen shape State.
6. screen state control method as claimed in claim 1, it is characterised in that described when the angle is in predetermined angle model In enclosing, and the mobile terminal is when being in holding state, controls the mobile terminal to enter the step of bright screen state from black state After rapid, in addition to:
When detecting the angle of the mobile terminal in bright screen state and horizontal direction in increase, unlock it is described it is mobile eventually End.
7. screen state control method as claimed in claim 1, it is characterised in that the mobile terminal back side is provided with the back side Sensor, it is described when the angle in the range of predetermined angle, and the mobile terminal be in holding state when, control it is described move The step of dynamic terminal enters bright screen state from black state includes:
When the angle is in the range of predetermined angle, and the mobile terminal is when being in holding state, obtains the back side sensing Corresponding 3rd detected value of device;
When the 3rd detected value is not zero, the mobile terminal is controlled to enter bright screen state from black state.
8. the screen state control method as described in any one of claim 1 to 7, it is characterised in that described to pass through the sensing Device detects that the step of whether mobile terminal is in holding state includes:
Corresponding first detected value of the mobile terminal left sensor is obtained, and obtains the mobile terminal right sensor Corresponding second detected value;
When first detected value and second detected value are both greater than predetermined test value, confirm that the mobile terminal is in hand Hold state;
When first detected value is less than or waited less than or equal to the predetermined test value, and/or second detected value When the predetermined test value, confirm that the mobile terminal is in non-holding state.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes memory, sensor, processor and is stored in institute The screen state control program that can be run on memory and on the processor is stated, the screen state control program is described The step of screen state control method as any one of claim 1 to 8 is realized during computing device.
10. a kind of computer-readable recording medium, it is characterised in that be stored with screen shape on the computer-readable recording medium State control program, is realized as any one of claim 1 to 8 when the screen state control program is executed by processor The step of screen state control method.
CN201710418049.2A 2017-06-05 2017-06-05 Screen state control method, mobile terminal and computer readable storage medium Active CN107257409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710418049.2A CN107257409B (en) 2017-06-05 2017-06-05 Screen state control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710418049.2A CN107257409B (en) 2017-06-05 2017-06-05 Screen state control method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107257409A true CN107257409A (en) 2017-10-17
CN107257409B CN107257409B (en) 2020-11-10

Family

ID=60023948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710418049.2A Active CN107257409B (en) 2017-06-05 2017-06-05 Screen state control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107257409B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770391A (en) * 2017-11-16 2018-03-06 珠海市魅族科技有限公司 Put out screen and bright screen method and device, terminal and computer-readable recording medium
CN108769392A (en) * 2018-05-14 2018-11-06 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium
CN108803896A (en) * 2018-05-28 2018-11-13 Oppo(重庆)智能科技有限公司 Control method, apparatus, terminal and the storage medium of screen
CN109086095A (en) * 2018-06-20 2018-12-25 宇龙计算机通信科技(深圳)有限公司 The quick open method of application program, device, terminal and storage medium
CN109391868A (en) * 2018-09-30 2019-02-26 Oppo广东移动通信有限公司 Earphone unlocking method, device, electronic equipment and storage medium
CN109558019A (en) * 2018-11-30 2019-04-02 努比亚技术有限公司 Method and device, mobile terminal and the computer readable storage medium of the bright screen of intelligence
CN110022495A (en) * 2019-03-28 2019-07-16 青岛海信电器股份有限公司 A kind of mobile terminal pushes the method and display equipment of media file to display equipment
CN110968205A (en) * 2019-11-20 2020-04-07 深圳传音控股股份有限公司 Screen lighting method, mobile terminal and storage medium
WO2020133040A1 (en) * 2018-12-27 2020-07-02 海能达通信股份有限公司 Control method and apparatus, electronic device and storage medium
CN112866479A (en) * 2020-12-30 2021-05-28 惠州Tcl移动通信有限公司 Screen-off state time display processing method, device and equipment based on mobile terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011159947A1 (en) * 2010-06-16 2011-12-22 Qualcomm Incorporated Layout design of proximity sensors to enable shortcuts
CN102833412A (en) * 2012-08-27 2012-12-19 广东欧珀移动通信有限公司 Mobile terminal and unlocking system and unlocking method for same
CN104639732A (en) * 2013-11-13 2015-05-20 上海斐讯数据通信技术有限公司 Electronic equipment and method for automatically lightening screen
CN105278781A (en) * 2014-06-02 2016-01-27 辛纳普蒂克斯公司 Side sensing for electronic devices
US20160063283A1 (en) * 2014-09-01 2016-03-03 Shenzhen Futaihong Precision Industry Co., Ltd. Electronic device and method for unlocking the electronic device
WO2016054190A1 (en) * 2014-09-30 2016-04-07 Pcms Holdings, Inc. Mobile device and method for interperting gestures without obstructing the screen
CN106357905A (en) * 2016-09-20 2017-01-25 努比亚技术有限公司 Mobile terminal
CN106412301A (en) * 2016-09-29 2017-02-15 努比亚技术有限公司 Screen control system based on proximity sensor and mobile terminal
CN106484258A (en) * 2016-09-29 2017-03-08 努比亚技术有限公司 A kind of method and device of terminal screen bright screen
CN106599651A (en) * 2016-11-17 2017-04-26 努比亚技术有限公司 Terminal unlocking apparatus and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011159947A1 (en) * 2010-06-16 2011-12-22 Qualcomm Incorporated Layout design of proximity sensors to enable shortcuts
CN102833412A (en) * 2012-08-27 2012-12-19 广东欧珀移动通信有限公司 Mobile terminal and unlocking system and unlocking method for same
CN104639732A (en) * 2013-11-13 2015-05-20 上海斐讯数据通信技术有限公司 Electronic equipment and method for automatically lightening screen
CN105278781A (en) * 2014-06-02 2016-01-27 辛纳普蒂克斯公司 Side sensing for electronic devices
US20160063283A1 (en) * 2014-09-01 2016-03-03 Shenzhen Futaihong Precision Industry Co., Ltd. Electronic device and method for unlocking the electronic device
WO2016054190A1 (en) * 2014-09-30 2016-04-07 Pcms Holdings, Inc. Mobile device and method for interperting gestures without obstructing the screen
CN106357905A (en) * 2016-09-20 2017-01-25 努比亚技术有限公司 Mobile terminal
CN106412301A (en) * 2016-09-29 2017-02-15 努比亚技术有限公司 Screen control system based on proximity sensor and mobile terminal
CN106484258A (en) * 2016-09-29 2017-03-08 努比亚技术有限公司 A kind of method and device of terminal screen bright screen
CN106599651A (en) * 2016-11-17 2017-04-26 努比亚技术有限公司 Terminal unlocking apparatus and method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770391A (en) * 2017-11-16 2018-03-06 珠海市魅族科技有限公司 Put out screen and bright screen method and device, terminal and computer-readable recording medium
CN108769392A (en) * 2018-05-14 2018-11-06 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium
CN108803896A (en) * 2018-05-28 2018-11-13 Oppo(重庆)智能科技有限公司 Control method, apparatus, terminal and the storage medium of screen
CN109086095A (en) * 2018-06-20 2018-12-25 宇龙计算机通信科技(深圳)有限公司 The quick open method of application program, device, terminal and storage medium
CN109391868A (en) * 2018-09-30 2019-02-26 Oppo广东移动通信有限公司 Earphone unlocking method, device, electronic equipment and storage medium
CN109391868B (en) * 2018-09-30 2020-01-14 Oppo广东移动通信有限公司 Earphone unlocking method and device, electronic equipment and storage medium
WO2020063045A1 (en) * 2018-09-30 2020-04-02 Oppo广东移动通信有限公司 Headphone unlocking method, device, electronic apparatus, and storage medium
CN109558019A (en) * 2018-11-30 2019-04-02 努比亚技术有限公司 Method and device, mobile terminal and the computer readable storage medium of the bright screen of intelligence
WO2020133040A1 (en) * 2018-12-27 2020-07-02 海能达通信股份有限公司 Control method and apparatus, electronic device and storage medium
CN110022495A (en) * 2019-03-28 2019-07-16 青岛海信电器股份有限公司 A kind of mobile terminal pushes the method and display equipment of media file to display equipment
CN110968205A (en) * 2019-11-20 2020-04-07 深圳传音控股股份有限公司 Screen lighting method, mobile terminal and storage medium
CN110968205B (en) * 2019-11-20 2023-10-17 深圳传音控股股份有限公司 Screen lighting method, mobile terminal and storage medium
CN112866479A (en) * 2020-12-30 2021-05-28 惠州Tcl移动通信有限公司 Screen-off state time display processing method, device and equipment based on mobile terminal

Also Published As

Publication number Publication date
CN107257409B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN107257409A (en) Screen state control method, mobile terminal and computer-readable recording medium
CN107145293A (en) A kind of screenshot method, mobile terminal and storage medium
CN107562336A (en) A kind of method, equipment and computer-readable recording medium for controlling suspension ball
CN108268195A (en) One-handed performance display methods, mobile terminal and computer readable storage medium
CN107133092A (en) Multi-thread synchronization processing method, terminal and computer-readable recording medium
CN108052302A (en) Association display methods, terminal and the computer readable storage medium of double-sided screen
CN107566635A (en) Screen intensity method to set up, mobile terminal and computer-readable recording medium
CN107809536A (en) Display screen fingerprint recognition processing method, mobile terminal and storage medium
CN107844231A (en) A kind of interface display method, mobile terminal and computer-readable recording medium
CN110266876A (en) A kind of pressure threshold determines method, apparatus and computer readable storage medium
CN106953684A (en) A kind of method for searching star, mobile terminal and computer-readable recording medium
CN108345426A (en) A kind of terminal control method, terminal and computer readable storage medium
CN108108081A (en) Method for information display, mobile terminal and readable storage medium storing program for executing based on double-sided screen
CN107256086A (en) Camera control method, mobile terminal and computer-readable recording medium
CN108052260A (en) Mobile terminal operation response method, mobile terminal and readable storage medium storing program for executing
CN107728838A (en) A kind of terminal display management method, mobile terminal and computer-readable recording medium
CN107589887A (en) One kind applies startup method and terminal
CN107239567A (en) A kind of recognition methods of object scene, equipment and computer-readable recording medium
CN107390856A (en) A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption
CN108040170A (en) A kind of unlocked by fingerprint method, terminal device and computer-readable storage medium
CN107809534A (en) A kind of control method, terminal and computer-readable storage medium
CN107273727A (en) Mobile terminal unlocking method, mobile terminal and computer-readable recording medium
CN107329683A (en) One kind grips exchange method, equipment and computer-readable recording medium
CN108363479A (en) A kind of terminal display screen control method, terminal and computer readable storage medium
CN108563388A (en) Screen operating 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201026

Address after: 239400 north of balinghu road and west of Fushan Road, Changcheng new area, Mingguang Economic Development Zone, Chuzhou City, Anhui Province

Applicant after: Anhui Yuanye photoelectric 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230419

Address after: No. 2398, Mingcang Road, Chuzhou City, Anhui Province

Patentee after: Mingguang Jiuzhi Intellectual Property Management Co.,Ltd.

Address before: 239400 North of Balinghu Road and West of Fushan Road, Chancheng New Area, Mingguang Economic Development Zone, Chuzhou City, Anhui Province

Patentee before: Anhui Yuanye photoelectric Co.,Ltd.