CN109361815A - Light on and off screen control method, device and the electronic equipment of electronic equipment - Google Patents

Light on and off screen control method, device and the electronic equipment of electronic equipment Download PDF

Info

Publication number
CN109361815A
CN109361815A CN201811124436.6A CN201811124436A CN109361815A CN 109361815 A CN109361815 A CN 109361815A CN 201811124436 A CN201811124436 A CN 201811124436A CN 109361815 A CN109361815 A CN 109361815A
Authority
CN
China
Prior art keywords
screen
control
state
touch
close
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.)
Pending
Application number
CN201811124436.6A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811124436.6A priority Critical patent/CN109361815A/en
Publication of CN109361815A publication Critical patent/CN109361815A/en
Pending legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • 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/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The light on and off screen control method of present invention proposition a kind of electronic equipment, device and electronic equipment, wherein, method include: when screen be in go out shield state when, proximity sensor is controlled to open, by proximity sensor monitoring close to far from state, when proximity sensor is monitored far from state, obtain the touch information of screen, if being identified according to touch information in the presence of the object close to screen, screen is maintained to be in screen state of going out, it is monitored by touch-control of the screen to the object close to screen, when monitoring that the object close to screen stops touch-control, control screen switches to bright screen state, by proximity sensor and screen auxiliary judgment whether by screens switch to bright screen, improve accuracy when screen is switched to bright screen by the screen that goes out, it solves in the related technology, when wide-angle call scene, proximity sensor is to the erroneous judgement far from state, So that the problem of screen frequent switching between bright screen and the screen that goes out leads to splashette.

Description

Light on and off screen control method, device and the electronic equipment of electronic equipment
Technical field
The present invention relates to technical field of mobile terminals more particularly to the light on and off screen control methods of a kind of electronic equipment, device And electronic equipment.
Background technique
With the development of mobile terminal technology, comprehensive screen mobile phone has become the mainstay product of major cell phone manufacturer.In order to The screen accounting of mobile phone is improved, the lower section of display screen is arranged in the proximity sensor in mobile phone, and proximity sensor is interrupted at work Ground emits infrared light for detecting outer handset object at a distance from mobile phone.
In the related technology, proximity sensor is monitored works alternatively far from state and screen monitoring proximity state, is making a phone call In scene, after screen extinguishes, when user is made a phone call using wide-angle, proximity sensor monitors to light screen far from state Curtain, and because active user head still apart from screen it is closer, then screen is because monitoring proximity state, and controls screen extinguishing, no It is disconnected to repeat above-mentioned control flow, cause screen lighting and switching between extinguishing, causes splashette, keep user experience poor.
Summary of the invention
The present invention proposes the light on and off screen control method of a kind of electronic equipment, goes out under screen state in screen, works as proximity sensor Determination is when needing to light screen far from state, further to assist being confirmed whether to need to light screen by screen, improve screen Accuracy when curtain switches to bright screen by the screen that goes out, avoid wide-angle make a phone call scene when screen between bright screen and the screen that goes out frequently Splashette problem caused by switching.
The light on and off screen control device of present invention proposition a kind of electronic equipment.
The present invention proposes a kind of electronic equipment.
The present invention proposes a kind of computer readable storage medium.
One aspect of the present invention embodiment proposes the light on and off screen control method of a kind of electronic equipment, wherein electronic equipment tool The proximity sensor for having screen and being arranged in below screen, method include:
When the screen be in go out shield state when, control the proximity sensor and open, supervised by the proximity sensor It surveys close to far from state;
When the proximity sensor is monitored far from state, the touch information of the screen is obtained;
If being identified according to the touch information in the presence of the object close to the screen, the screen is maintained to shield shape in going out State is monitored by touch-control of the screen to the object close to screen;
When monitoring that the object close to screen stops touch-control, the screens switch is controlled to bright screen state.
Another aspect of the invention embodiment proposes the light on and off screen control device of a kind of electronic equipment, and device includes:
First control module, for when the screen be in go out shield state when, control the proximity sensor and open, pass through The proximity sensor monitoring is close to far from state;
Module is obtained, for obtaining the touch information of the screen when the proximity sensor is monitored far from state;
Monitoring modular, if the object for identifying presence close to the screen according to the touch information, described in maintenance Screen is in screen state of going out, and is monitored by touch-control of the screen to the object close to screen;
First switching module, for controlling the screen and cutting when monitoring that the object close to screen stops touch-control Shift to bright screen state.
Another aspect of the invention embodiment proposes a kind of electronic equipment, comprising: memory, processor and is stored in storage On device and the computer program that can run on a processor, when the processor executes described program, such as aforementioned one side face is realized The light on and off screen control method of the electronic equipment.
Another aspect of the invention embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence when the program is executed by processor, realizes the light on and off screen control method of the electronic equipment as described in aforementioned one side face.
Technical solution provided by the embodiment of the present invention may include it is following the utility model has the advantages that
When screen be in go out shield state when, control proximity sensor is opened, and passes through proximity sensor monitoring close to far from shape State obtains the touch information of screen when proximity sensor is monitored far from state, connects if being identified to exist according to touch information The object of nearly screen, maintains screen to be in screen state of going out, is monitored by touch-control of the screen to the object close to screen, works as prison When measuring the object close to screen and stopping touch-control, control screen switches to bright screen state, by proximity sensor monitoring close to remote From state, when monitor far from when, be further confirmed whether by screen by screens switch to bright screen state, improve screen by The accuracy when screen that goes out switches to bright screen, avoid wide-angle make a phone call scene when screen splashette phenomenon.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram of the light on and off screen control method of a kind of electronic equipment provided by the embodiment of the present invention;
Fig. 2 is the flow diagram of the light on and off screen control method of another kind electronic equipment provided by the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the light on and off screen control device of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the light on and off screen control device of another kind electronic equipment provided by the embodiment of the present invention; And
Fig. 5 is the schematic diagram of internal structure of electronic equipment 200 in one embodiment.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings light on and off screen control method, device and the electronics for describing the electronic equipment of the embodiment of the present invention are set It is standby.
In the embodiment of the present invention, electronic equipment includes screen and the proximity sensor being set to below screen.
Fig. 1 is the flow diagram of the light on and off screen control method of a kind of electronic equipment provided by the embodiment of the present invention.
As shown in Figure 1, method includes the following steps:
Step 101, when screen be in go out shield state when, control proximity sensor open, by proximity sensor monitoring connect Nearly separate state.
Wherein, proximity sensor is set to below screen.
In the embodiment of the present invention, screen, which is in, to go out when shielding state, and control proximity sensor is opened, and passes through and obtains close to sensing The collected proximity values of device judge far from proximity state, specifically, preset when the proximity values of the proximity sensor got are less than Separate threshold value, be determined as far from state, i.e., object is far from electronic equipment, when the proximity values of the proximity sensor got are greater than It is preset close to threshold value, be determined as proximity state, i.e. object proximity electronic equipment.
It should be noted that being greater than close to threshold value far from threshold value, by setting close to threshold value and far from threshold value, it is provided with object The safe range of distance between body and electronic equipment, when preventing object and electronic equipment distance from small change occurs, screen then exists Switch between bright screen and the screen that goes out, user experience is poor.
Step 102, when proximity sensor is monitored far from state, the touch information of screen is obtained.
Specifically, when proximity sensor is monitored far from state, further, the touch information of screen is obtained, according to touching Information judgement is controlled currently with the presence or absence of the object close to screen.
Step 103, if being identified according to touch information in the presence of the object close to screen, screen is maintained to be in screen state of going out, It is monitored by touch-control of the screen to the object close to screen.
Specifically, according to the touch information of the screen of acquisition, the touch area range that touch-control is carried out to screen is determined, if root According to the profile of touch area range, identify that profile meets default contour of object, it is determined that there is the object close to screen, then tie up It holds screen and is in screen state of going out, wherein under scene of conversing, presetting object is ear and/or face.
In turn, touch-control monitoring is carried out to the object close to screen by screen, specifically, the touch-control that monitoring screen capture arrives Information identifies touch information, if identify at least one of suspension touch control and contact touch-control according to touch information, Determine that the object close to screen maintains touch-control;If according at least one in the unidentified suspension touch control out of touch information and contact touch-control When kind, determine that the object close to screen stops touch-control.
Step 104, when monitoring that the object close to screen stops touch-control, control screen switches to bright screen state.
Specifically, when monitoring that the object close to screen stops touch-control, it is determined that object controls screen and cut far from screen Shift to bright screen state.
In the light on and off screen control method of the electronic equipment of the present embodiment, when screen be in go out shield state when, control close to pass Sensor is opened, and obtains screen when proximity sensor is monitored far from state close to far from state by proximity sensor monitoring Touch information maintain screen to be in if being identified according to touch information in the presence of the object close to screen and go out screen state, pass through screen Curtain is monitored the touch-control of the object close to screen, and when monitoring that the object close to screen stops touch-control, control screen is cut Bright screen state is shifted to, by proximity sensor monitoring close to far from state, when monitoring separate, further passes through screen and confirms Whether by screens switch to bright screen state, accuracy when screen is switched to bright screen by the screen that goes out is improved, wide-angle is avoided and beats Screen splashette phenomenon when phone scene.
Based on a upper embodiment, the possible reality of the light on and off screen control method of another electronic equipment is present embodiments provided Existing mode, the embodiment of the present invention are specifically described by taking scene of conversing as an example, and Fig. 2 is another provided by the embodiment of the present invention The flow diagram of the light on and off screen control method of kind electronic equipment.
As shown in Fig. 2, this method may comprise steps of:
Step 201, electronic equipment starts after executing call task, if being identified according to the touch information of screen in the presence of close Screen is switched to screen state of going out from bright screen state by the object of screen.
In the embodiment of the present invention, by obtaining the touch information of screen, to identify that object is close to screen or far from screen Curtain.
Specifically, when electronic equipment start execute call task after, if according to the touch information of screen, determine to screen into The touch area range of row touch-control, if identifying that profile meets default contour of object, then really according to the profile of touch area range The fixed object existed close to screen, wherein default object is that ear and/or face in turn switch to screen from bright screen state It goes out screen state.
Under scene of conversing, after user executes call task, phone can be placed in by ear by user, ear and/or face Portion's meeting touch-control is to screen, and screen can collect the touch area that ear and/or face are generated with screen contact, for example, according to touching It is ear that the outline identification for controlling regional scope, which goes out, it is determined that there is the object ear close to screen.
Step 202, when screen be in go out shield state when, control proximity sensor open, by proximity sensor monitoring connect Nearly separate state.
In the embodiment of the present invention, for the screen of electronic equipment in bright screen state, proximity sensor is closed state, this be because When being arranged below screen for proximity sensor, the transmission power of proximity sensor increases, and the infrared light of discontinuous transmission is easy to make Electron transfer occurs for the component in display screen, so that display screen forms winking phenomenon, user experience is poor, therefore, adopts With the electronic equipment shielded comprehensively in bright screen state, proximity sensor is closed state.And call is executed in electronic equipment and is appointed After business, when screens switch to go out screen after, control proximity sensor is opened, and is connect by object before proximity sensor detection screen Nearly separate state.
Specifically, proximity sensor may include an infrared transmitter and an infrared remote receiver, infrared transmitter hair Infrared light is penetrated, infrared light encounters barrier and can reflect, and receiver is after receiving reflected light, according to the reflected light light intensity received Different proximity values are exported, the reflective light intensity that receiver receives is bigger, and proximity values are bigger, by preset separate threshold value and connect Nearly threshold value is determined as separate state, i.e. object is remote when the proximity values of the proximity sensor got are less than preset separate threshold value From electronic equipment, when the proximity values of the proximity sensor got are greater than preset close to threshold value, it is determined as proximity state, i.e. object Body is close to electronic equipment.
Step 203, when proximity sensor is monitored far from state, the touch information of screen is obtained.
Specifically, when proximity sensor is monitored far from state, further, the touch information of screen is obtained, according to touching Information judgement is controlled currently with the presence or absence of the object close to screen.
Step 204, it is recognised that according to touch information in the presence of the object close to screen, if so, step 205 is executed, if It is no, execute step 207.
Specifically, according to the touch information of the screen of acquisition, the touch area range that touch-control is carried out to screen is determined, if root According to the profile of touch area range, identify that profile meets default contour of object, wherein under scene of conversing, default object is Ear and/or face, it is determined that there is the object close to screen, execute step 205, otherwise, it determines being not present close to screen Object executes step 207.
Step 205, it maintains screen to be in screen state of going out, is monitored by touch-control of the screen to the object close to screen.
Specifically, the touch information that monitoring screen capture arrives, identifies touch information, if being identified according to touch information Out when at least one of suspension touch control and contact touch-control, determine that the object close to screen maintains touch-control, wherein suspension touch control, Refer to that object does not touch screen, when object meets pre-determined distance close to the distance of screen, for example, ear is close to screen Distance is 2 centimetres or so, identifies that object operates the suspension touch control of screen, as a kind of possible implementation, screen can The capacitance data that screen is read with poll can then be identified when capacitance data changes, and variation reaches certain amount grade Object maintains suspension touch control operation to screen.Touch-control is contacted, refers to that object and screen directly contact, as a kind of possible realization Mode, if screen detects that object to the touch-control of screen, identifies contact touch-control according to touch information according to the variation of capacitor Operation.
If determining when according at least one of the unidentified suspension touch control out of touch information and contact touch-control close to screen Object stops touch-control.
Step 206, when monitoring that the object close to screen stops touch-control, control screen switches to bright screen state.
Specifically, when monitoring that the object close to screen stops touch-control, then illustrate that object far from screen, triggers the screen that goes out It interrupts, then controls screen and switch to bright screen state, so that user can see the screen lighted, in order to which user's progress is other Operation.
Step 207, control screen switches to bright screen state.
Specifically, if identifying according to touch information there is no the object close to screen, illustrate current talking task knot Object before beam or screen then needs to control screen and switches to bright screen state, so that user can see far from screen To the screen lighted, it is convenient for other operations.
Step 208, control proximity sensor is out of service.
Specifically, after control screen switches to bright screen state, control proximity sensor is out of service, to avoid in bright screen shape Under state, the infrared light that proximity sensor issues makes the component in display screen that electron transfer occur, so that display screen forms part Scintillation.
In the light on and off screen control method of the electronic equipment of the embodiment of the present invention, after electronic equipment executes call task, if It is identified according to touch information in the presence of the object close to screen, screen is switched into screen state of going out from bright screen, and control close to biography Sensor is opened, and for monitoring close to far from state, when monitoring far from state, further obtains the touch information of screen, root According to the touch information of screen, approaching far from state for further judgment object is further right when object of the presence close to screen The touch-control of screen is monitored, and determines it is the screen state of going out for maintaining screen according to whether object persistently carries out touch-control to screen, Still bright screen is switched to, accuracy when call scene sub-screen is switched to bright screen by the screen that goes out is improved, if according to touch information It is unidentified to go out to have the object close to screen, then it controls screen and switches to bright screen state, after the bright screen of screen, close close to sensing Device generates flashing to avoid screen under the infrared light action of proximity sensor.
In order to realize above-described embodiment, the present invention also proposes the light on and off screen control device of a kind of electronic equipment.
Fig. 3 is the structural schematic diagram of the light on and off screen control device of a kind of electronic equipment provided in an embodiment of the present invention.
As shown in figure 3, the device includes: the first control module 31, obtains module 32, monitoring modular 33 and the first switching mould Block 34.
First control module 31, for when screen be in go out shield state when, control proximity sensor open, pass through close to pass Sensor monitoring is close to far from state.
Module 32 is obtained, for obtaining the touch information of screen when proximity sensor is monitored far from state.
Monitoring modular 33, if maintaining screen to be in for being identified according to touch information in the presence of the object close to screen and going out Screen state is monitored by touch-control of the screen to the object close to screen.
First switching module 34, for when monitoring that the object close to screen stops touch-control, control screen to switch to bright Screen state.
It should be noted that the aforementioned device that the embodiment is also applied for the explanation of embodiment of the method, herein not It repeats again.
In the light on and off screen control device of the electronic equipment of the present embodiment, when screen be in go out shield state when, control close to pass Sensor is opened, and obtains screen when proximity sensor is monitored far from state close to far from state by proximity sensor monitoring Touch information maintain screen to be in if being identified according to touch information in the presence of the object close to screen and go out screen state, pass through screen Curtain is monitored the touch-control of the object close to screen, and when monitoring that the object close to screen stops touch-control, control screen is cut Bright screen state is shifted to, by proximity sensor monitoring close to far from state, when monitoring separate, further passes through screen and confirms Whether by screens switch to bright screen state, accuracy when screen is switched to bright screen by the screen that goes out is improved, wide-angle is avoided and beats Screen splashette phenomenon when phone scene.
Based on the above embodiment, the embodiment of the invention also provides the possibility of the light on and off screen control device of a kind of electronic equipment Implementation, Fig. 4 be the embodiment of the present invention provided by another kind electronic equipment light on and off screen control device structural representation Figure, on the basis of a upper embodiment, the device further include: third switching module 41, the second switching module 42 and the second control Module 43.
Third switching module 41, for electronic equipment start execute call task after, if according to the touch information of screen It identifies in the presence of the object close to screen, screen is switched into screen state of going out from bright screen state.
Second switching module 42, if controlling screen for identifying according to touch information there is no the object close to screen Switch to bright screen state.
Second control module 43, it is out of service for controlling proximity sensor.
Further, as a kind of possible implementation of the embodiment of the present invention, above-mentioned monitoring modular 33 is specifically used for:
According to the touch information of screen, the touch area range that touch-control is carried out to screen is determined;If according to touch area model The profile enclosed identifies that profile meets default contour of object, it is determined that there is the object close to screen.
As a kind of possible implementation, if the task that electronic equipment executes is call task, presetting object is ear And/or face.
As a kind of possible implementation, above-mentioned monitoring modular 33 specifically be can be also used for:
The touch information that monitoring screen capture arrives;If identifying that suspension touch control and contact are touched according to the touch information monitored When at least one of control, determine that the object close to screen maintains touch-control;If going out to hang according to the touch information monitored is unidentified When at least one of floating touch-control and contact touch-control, determine that the object close to screen stops touch-control.
As a kind of possible implementation, the first control module 31 is specifically used for:
Obtain the collected proximity values of proximity sensor;If proximity values are less than preset separate threshold value, it is determined as far from shape State;If proximity values be greater than it is preset close to threshold value, be determined as proximity state.
It should be noted that the aforementioned device that the embodiment is also applied for the explanation of embodiment of the method, herein not It repeats again.
In the light on and off screen control device of the electronic equipment of the present embodiment, when screen be in go out shield state when, control close to pass Sensor is opened, and obtains screen when proximity sensor is monitored far from state close to far from state by proximity sensor monitoring Touch information maintain screen to be in if being identified according to touch information in the presence of the object close to screen and go out screen state, pass through screen Curtain is monitored the touch-control of the object close to screen, and when monitoring that the object close to screen stops touch-control, control screen is cut Bright screen state is shifted to, by proximity sensor monitoring close to far from state, when monitoring separate, further passes through screen and confirms Whether by screens switch to bright screen state, accuracy when screen is switched to bright screen by the screen that goes out is improved, wide-angle is avoided and beats Screen splashette phenomenon when phone scene.
In order to realize above-described embodiment, the present invention also proposes a kind of electronic equipment, comprising: memory, processor and storage On a memory and the computer program that can run on a processor, it when the processor executes described program, realizes as aforementioned The light on and off screen control method of electronic equipment described in embodiment of the method.
Fig. 5 is the schematic diagram of internal structure of electronic equipment 200 in one embodiment.The electronic equipment 200 includes passing through to be Processor 60, the memory 50 (for example, non-volatile memory medium), built-in storage 82,83 and of display screen of bus 81 of uniting connection Input unit 84.Wherein, the memory 50 of electronic equipment 200 is stored with operating system and computer-readable instruction.The computer Readable instruction can be executed by processor 60, to realize the control method of the application embodiment.The processor 60 is based on providing Calculation and control ability, support the operation of entire electronic equipment 200.The built-in storage 50 of electronic equipment 200 is in memory 52 The operation of computer-readable instruction provides environment.The display screen 83 of electronic equipment 200 can be liquid crystal display or electronic ink Water display screen etc., input unit 84 can be the touch layer covered on display screen 83, be also possible to set on 200 shell of electronic equipment Key, trace ball or the Trackpad set, are also possible to external keyboard, Trackpad or mouse etc..The electronic equipment 200 can be Mobile phone, tablet computer, laptop, personal digital assistant or wearable device (such as Intelligent bracelet, smartwatch, intelligence The helmet, intelligent glasses) etc..It will be understood by those skilled in the art that structure shown in Fig. 5, only with application scheme phase The schematic diagram of the part-structure of pass does not constitute the restriction for the electronic equipment 200 being applied thereon to application scheme, specifically Electronic equipment 200 may include perhaps combining certain components than more or fewer components as shown in the figure or there is difference Component layout.
In order to realize above-described embodiment, the present invention also proposes a kind of computer readable storage medium, is stored thereon with calculating Machine program when the program is executed by processor, realizes the light on and off screen controlling party of the electronic equipment as described in preceding method embodiment Method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (11)

1. the light on and off screen control method of a kind of electronic equipment, which is characterized in that there is the electronic equipment screen and setting to exist Proximity sensor below the screen, the described method comprises the following steps:
When the screen be in go out shield state when, control the proximity sensor and open, connect by proximity sensor monitoring Nearly separate state;
When the proximity sensor is monitored far from state, the touch information of the screen is obtained;
If being identified according to the touch information in the presence of the object close to the screen, the screen is maintained to be in screen state of going out, It is monitored by touch-control of the screen to the object close to screen;
When monitoring that the object close to screen stops touch-control, the screens switch is controlled to bright screen state.
2. light on and off screen control method according to claim 1, which is characterized in that if described identify according to the touch information There is the object close to the screen out, maintains the screen to be in screen state of going out, by the screen to described close to screen The touch-control of object be monitored, comprising:
According to the touch information of the screen, the touch area range that touch-control is carried out to the screen is determined;
If identifying that the profile meets default contour of object, it is determined that exist and connect according to the profile of the touch area range The object of the nearly screen.
3. light on and off screen control method according to claim 2, which is characterized in that if the task that the electronic equipment executes is Call task, the default object are ear and/or face.
4. light on and off screen control method according to claim 1, which is characterized in that the touch information for obtaining the screen Later, further includes:
If identifying according to the touch information there is no the object close to the screen, the screens switch is controlled to bright screen shape State.
5. light on and off screen control method according to claim 4, which is characterized in that the control screens switch to bright screen After state, further includes:
It is out of service to control the proximity sensor.
6. light on and off screen control method according to claim 1-5, which is characterized in that described to pass through the screen pair The touch-control of the object close to screen is monitored, comprising:
Monitor the touch information that the screen capture arrives;
If identify at least one of suspension touch control and contact touch-control according to the touch information monitored, determine described close The object of screen maintains touch-control;
If when according at least one of the unidentified suspension touch control out of the touch information monitored and contact touch-control, being connect described in determination The object of nearly screen stops touch-control.
7. light on and off screen control method according to claim 1-5, which is characterized in that described when the screen is in It goes out when shielding state, controls before the proximity sensor opens, further includes:
After the electronic equipment starts to execute call task, if identifying exist close to institute according to the touch information of the screen The screen is switched to screen state of going out from bright screen state by the object for stating screen.
8. light on and off screen control method according to claim 1-5, which is characterized in that described to pass through the close biography Sensor monitoring is close to far from state, comprising:
Obtain the collected proximity values of the proximity sensor;
If the proximity values are less than preset separate threshold value, it is determined as far from state;
If the proximity values be greater than it is preset close to threshold value, be determined as proximity state.
9. the light on and off screen control device of a kind of electronic equipment, which is characterized in that described device includes:
First control module, for when the screen be in go out shield state when, control the proximity sensor and open, by described Proximity sensor monitoring is close to far from state;
Module is obtained, for obtaining the touch information of the screen when the proximity sensor is monitored far from state;
Monitoring modular, if maintaining the screen for identifying according to the touch information in the presence of the object close to the screen In screen state of going out, it is monitored by touch-control of the screen to the object close to screen;
First switching module, for controlling the screens switch extremely when monitoring that the object close to screen stops touch-control Bright screen state.
10. a kind of electronic equipment characterized by comprising memory, processor and storage are on a memory and can be in processor The computer program of upper operation when the processor executes described program, realizes such as electronics described in any one of claims 1-8 The light on and off screen control method of equipment.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The light on and off screen control method such as electronic equipment described in any one of claims 1-8 is realized when execution.
CN201811124436.6A 2018-09-26 2018-09-26 Light on and off screen control method, device and the electronic equipment of electronic equipment Pending CN109361815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811124436.6A CN109361815A (en) 2018-09-26 2018-09-26 Light on and off screen control method, device and the electronic equipment of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811124436.6A CN109361815A (en) 2018-09-26 2018-09-26 Light on and off screen control method, device and the electronic equipment of electronic equipment

Publications (1)

Publication Number Publication Date
CN109361815A true CN109361815A (en) 2019-02-19

Family

ID=65347679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811124436.6A Pending CN109361815A (en) 2018-09-26 2018-09-26 Light on and off screen control method, device and the electronic equipment of electronic equipment

Country Status (1)

Country Link
CN (1) CN109361815A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110392163A (en) * 2019-07-31 2019-10-29 努比亚技术有限公司 Put out screen control method, mobile terminal and computer readable storage medium
CN110798572A (en) * 2019-10-25 2020-02-14 Oppo(重庆)智能科技有限公司 Method, device, electronic equipment and medium for lighting screen
CN110865710A (en) * 2019-11-19 2020-03-06 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
WO2021057511A1 (en) * 2019-09-23 2021-04-01 深圳市万普拉斯科技有限公司 Infrared proximity sensor control method and device, and mobile terminal
CN114424145A (en) * 2019-11-13 2022-04-29 Oppo广东移动通信有限公司 Proximity detection method, terminal and storage medium
CN117714593A (en) * 2023-08-23 2024-03-15 荣耀终端有限公司 Screen state control method, electronic device and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488008A (en) * 2016-09-12 2017-03-08 努比亚技术有限公司 A kind of voice call control device and its method, mobile terminal
CN106817497A (en) * 2017-03-31 2017-06-09 努比亚技术有限公司 A kind of screen processing method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488008A (en) * 2016-09-12 2017-03-08 努比亚技术有限公司 A kind of voice call control device and its method, mobile terminal
CN106817497A (en) * 2017-03-31 2017-06-09 努比亚技术有限公司 A kind of screen processing method and mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110392163A (en) * 2019-07-31 2019-10-29 努比亚技术有限公司 Put out screen control method, mobile terminal and computer readable storage medium
CN110392163B (en) * 2019-07-31 2021-09-07 努比亚技术有限公司 Screen-off control method, mobile terminal and computer-readable storage medium
WO2021057511A1 (en) * 2019-09-23 2021-04-01 深圳市万普拉斯科技有限公司 Infrared proximity sensor control method and device, and mobile terminal
CN112637417A (en) * 2019-09-23 2021-04-09 深圳市万普拉斯科技有限公司 Infrared proximity sensor control method and device and mobile terminal
CN110798572A (en) * 2019-10-25 2020-02-14 Oppo(重庆)智能科技有限公司 Method, device, electronic equipment and medium for lighting screen
CN114424145A (en) * 2019-11-13 2022-04-29 Oppo广东移动通信有限公司 Proximity detection method, terminal and storage medium
CN114424145B (en) * 2019-11-13 2023-08-01 Oppo广东移动通信有限公司 Proximity detection method, terminal and storage medium
CN110865710A (en) * 2019-11-19 2020-03-06 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN110865710B (en) * 2019-11-19 2023-08-18 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN117714593A (en) * 2023-08-23 2024-03-15 荣耀终端有限公司 Screen state control method, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
CN109361815A (en) Light on and off screen control method, device and the electronic equipment of electronic equipment
CN108021302B (en) A kind of display methods of application icon, terminal and computer readable storage medium
CN102346596B (en) Touch operation processing method and terminal
CN103024197B (en) Touch screen cellphone capable of preventing misoperations during calls and using method for touch screen cellphone
CN103999145B (en) Display dimming in response to user
CN104598151B (en) A kind of recognition methods of blank screen gesture and identifying device
CN106406904A (en) Information processing method, electronic equipment and information processing device
CN104731496B (en) Unlocking method and electronic device
CN109271019A (en) Close to event detection element method for handover control and device
CN108881645A (en) The screen control method and device of mobile phone communication
CN106527798A (en) Electronic equipment screen control method and electronic equipment
CN107635060A (en) A kind of road conditions danger based reminding method, terminal and storage medium
CN105183081A (en) Voice control method of intelligent glasses and intelligent glasses
CN108646959A (en) Screen control method, device and mobile terminal
TW201636782A (en) Wearable computing device
CN109600297A (en) A kind of mark sweep-out method and terminal device
CN107888569A (en) The multiple solutions switching method and device, storage medium, terminal of identity-based identification
WO2017107813A1 (en) Control apparatus of smart device, smart device, and method and apparatus for operation control
CN106791120A (en) Mobile terminal puts out the control method and device of screen
CN206948392U (en) display device and terminal device
CN103152484A (en) Method and system for turning off alarm of mobile terminal
CN114995676A (en) Fingerprint false touch prevention method, graphical interface and electronic equipment
CN109240541A (en) The screen false-touch prevention method, apparatus and electronic equipment of electronic equipment
CN108429855A (en) A kind of message sending control method, terminal and computer readable storage medium
CN109194833A (en) The screen control method and device of mobile phone communication

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219

RJ01 Rejection of invention patent application after publication