Movatterモバイル変換


[0]ホーム

URL:


CN109298823A - Control method, control device, electronic device and storage medium - Google Patents

Control method, control device, electronic device and storage medium
Download PDF

Info

Publication number
CN109298823A
CN109298823ACN201811089351.9ACN201811089351ACN109298823ACN 109298823 ACN109298823 ACN 109298823ACN 201811089351 ACN201811089351 ACN 201811089351ACN 109298823 ACN109298823 ACN 109298823A
Authority
CN
China
Prior art keywords
state
display screen
touch display
electronic device
proximity sensor
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
CN201811089351.9A
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 LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811089351.9ApriorityCriticalpatent/CN109298823A/en
Publication of CN109298823ApublicationCriticalpatent/CN109298823A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种电子装置的控制方法,电子装置包括触摸显示屏、接近传感器和姿态传感器,接近传感器设置在触摸显示屏下方,控制方法包括步骤:通过接近传感器检测触摸显示屏和外界物体之间的初始状态,初始状态包括初始接近状态或初始远离状态;通过姿态传感器获取电子装置的姿态信息;根据姿态传感器获取到的姿态信息修正初始状态,并根据修正后的状态控制触摸显示屏的显示状态。本发明实施方式的控制方法中,在电子装置处于通话状态时,根据姿态传感器获取到的姿态信息修正初始状态,并根据修正后的状态控制触摸显示屏的显示状态,提高了控制触摸显示屏的显示状态的准确率。本发明还公开了一种控制装置、电子装置和存储介质。

The invention discloses a control method of an electronic device. The electronic device includes a touch display screen, a proximity sensor and an attitude sensor. The proximity sensor is arranged below the touch display screen. The initial state includes the initial approaching state or the initial distant state; the attitude information of the electronic device is obtained through the attitude sensor; the initial state is corrected according to the attitude information obtained by the attitude sensor, and the display of the touch screen is controlled according to the corrected state. state. In the control method of the embodiment of the present invention, when the electronic device is in a call state, the initial state is corrected according to the attitude information obtained by the attitude sensor, and the display state of the touch display screen is controlled according to the corrected state, which improves the control of the touch display screen. Displays the accuracy of the status. The invention also discloses a control device, an electronic device and a storage medium.

Description

Control method, control device, electronic device and storage medium
Technical field
The present invention relates to electronic technology field, in particular to a kind of control method, control device, electronic device and storage are situated betweenMatter.
Background technique
Currently, screen mobile phone has become the mainstay product of major cell phone manufacturer comprehensively.In the related art, in order to improve handThe screen accounting of machine, proximity sensor are arranged on the lower section of display screen.
However, the lower section of display screen is arranged in proximity sensor, due to display screen between proximity sensor and external objectBlock, so as to cause the proximity sensor below display screen cannot accurately distinguish between external object and display screen close to andFar from state, so that electronic device is prone to accidentally respond.
Summary of the invention
In view of this, the embodiment provides a kind of control method, control device, electronic device and storages to be situated betweenMatter.
This application provides a kind of control method of electronic device, the electronic device includes touch display screen, close biographySensor and attitude transducer, the proximity sensor are arranged below the touch display screen, the control method comprising steps of
The original state between the touch display screen and external object is detected by the proximity sensor, it is described initialState includes initial proximity state or initial separate state;
The posture information of the electronic device is obtained by the attitude transducer;
The original state is corrected according to the posture information that the attitude transducer is got, and according to revised stateControl the display state of the touch display screen.
This application provides a kind of control devices, are used for electronic device, and the electronic device includes touch display screen, approachesSensor and attitude transducer, the proximity sensor are arranged below the touch display screen, and the control device includes:
Detection module, it is initial between the touch display screen and external object for being detected by the proximity sensorState, the original state include initial proximity state or initial separate state;
Module is obtained, for obtaining the posture information of the electronic device by the attitude transducer;
Control module, the posture information for being got according to the attitude transducer correct the original state, and rootThe display state of the touch display screen is controlled according to revised state.
The present invention provides a kind of electronic devices comprising touch display screen, proximity sensor, attitude transducer and processingDevice, the proximity sensor are arranged below the touch display screen;
The proximity sensor is used to detect the original state between the touch display screen and user, the original stateIncluding initial proximity state or initial separate state;
The attitude transducer is used to obtain the posture information of the electronic device;
The processor is used to correct the original state according to the posture information;And according to the revised shapeState controls the display state of the touch display screen.
The present invention provides one or more non-volatile computer readable storage mediums comprising computer executable instructionsMatter, when the computer executable instructions are executed by one or more processors, so that the processor executes the electricityThe control method of sub-device.
In the control method of embodiment of the present invention, electronic device, control device and computer readable storage medium, in electricityWhen sub-device is on call, the posture information got according to the attitude transducer corrects original state, and according to repairingState after just controls the display state of the touch display screen, controls touching relative to the detection data according only to proximity sensorThe display state for touching display screen, improve electronic device controlled in communication process touch display screen display state it is accurateRate.
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 embodimentsObviously and it is readily appreciated that, in which:
Fig. 1 is the floor map of the electronic device of certain embodiments of the present invention;
Fig. 2 be Fig. 1 electronic device along II-II to schematic cross-section;
Fig. 3 to Figure 12 is the schematic cross-section of the electronic device of certain embodiments of the present invention;
Figure 13 is a status diagram of the electronic device of certain embodiments of the present invention;
Figure 14 is another status diagram of the electronic device of certain embodiments of the present invention;
Figure 15 be electronic device shown in Figure 14 along A-A to partial sectional schematic view;
Figure 16 is the stereoscopic schematic diagram of the light guide of the electronic device of certain embodiments of the present invention;
Figure 17 is another stereoscopic schematic diagram of the light guide of the electronic device of certain embodiments of the present invention;
Figure 18 is the flow diagram of the control method of certain embodiments of the present invention;
Figure 19 is the module diagram of the control device of certain embodiments of the present invention;
Figure 20 is the usage scenario schematic diagram of the electronic device of certain embodiments of the present invention;
Figure 21-Figure 24 is the flow diagram of the control method of certain embodiments of the present invention;
Figure 25 is the module diagram of the computer equipment of certain embodiments of the present invention.
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 endSame or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attachedThe 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.
With the development of electronic equipment, screen has become the development trend of mobile phone comprehensively.Screen high the characteristics of shielding accounting comprehensivelySo that the top of screen leaves proximity sensor for or the position of other elements is limited, when proximity sensor is arranged in light transmission display screenWhen lower, due to photoelectric effect, proximity sensor makes the electronics in screen by excitation to draw during emitting infrared lightThe flashing of light transmission display screen is played, so that the normal display with light transmission display screen forms interference, influences the experience of user.
Fig. 1-3 is please referred to, embodiment of the present invention provides a kind of electronic device 100.Electronic device 100 includes touching to showDisplay screen 10, proximity sensor 16, attitude transducer 102 and processor 23.Touch display screen 10 includes display layer 13, display layer 13Including viewing area 1311.Proximity sensor 16 is arranged below touch display screen 10.Further, the setting of proximity sensor 16 exists1311 lower section of viewing area.Proximity sensor 16 is used to emit infrared light and receives the infrared light that is reflected by the object with detection object extremelyThe distance of electronic device 100.
Illustratively, electronic device 100 can be various types of calculating that are mobile or portable and executing wireless communicationAny one of machine system equipment (only illustratively shows a kind of form) in Fig. 1.Specifically, electronic device 100 can be withFor mobile phone or smart phone (for example, being based on iPhone TM, the phone based on Android TM), portable gaming device(such as Nintendo DS TM, PlayStation Portable TM, Gameboy Advance TM, iPhone TM), kneeLaptop, PDA, portable Internet appliance, music player and data storage device, other handheld devices and such asWrist-watch, In-Ear Headphones, pendant, headphone etc., electronic device 100 can also be other wearable devices (for example, allAs electronic glasses, electronics clothes, electronics bracelet, electronics necklace, electronics are tatooed, the headset equipment of electronic equipment or smartwatch(HMD))。
Electronic device 100 can also be that any one of multiple electronic equipments, multiple electronic equipments include but is not limited toCellular phone, smart phone, other wireless telecom equipments, personal digital assistant, audio player, other media players, soundHappy logger, video recorder, camera, other medium recorders, radio, Medical Devices, vehicle transport instrument, calculator, canProgram remote controler, pager, laptop computer, desktop computer, printer, netbook computer, personal digital assistant(PDA), portable media player (PMP), Motion Picture Experts Group's (MPEG-1 or MPEG-2) audio layer 3 (MP3) playDevice, portable medical device and digital camera and combinations thereof.
In some cases, electronic device 100 can execute multiple functions and (for example, playing music, show video, storagePicture and send and receive call).If desired, electronic device 1000 can be such as cellular phone, media playThe portable device of device, other handheld devices, watch equipment, pendant equipment, receiver device or other compact portable equipment.
Mobile phone determines the distance between mobile phone and barrier by being positioned proximate to sensor 16 and makes corresponding adjustment,Erroneous operation by the user can be prevented and is conducive to save the electricity of mobile phone.For example, when user answer or make a phone call and incite somebody to actionWhen mobile phone is close to head, by calculating, transmitter issues infrared light to proximity sensor 16 and receiver reception is reflected infraredThe time of light generates detection information, and processor 23 is according to the detection information touch display screen 10.When mobile phone is far from head, processingThe detection information that device 23 is fed back again according to proximity sensor 16 reopens touch display screen 10.
In some embodiments, display layer 13 includes OLED display layer.
Specifically, OLED display layer has good translucency, can preferably penetrate visible light and infrared light.Therefore,OLED display layer can nor affect on the transmitting of proximity sensor 16 and receive infrared light in the case where showing content effect.It is aobviousShow that layer 13 can also be using Micro LED display layer, Micro LED display layer equally has good to visible light and infrared lightLight transmittance.Certainly, these display layers are only used as illustrative and the embodiment of the present invention is not limited to this.In addition, touching displayShield 10 it is settable on the housing 20.
Referring to Fig. 3, in some embodiments, touch display screen 10 further includes euphotic cover plate 11 and touch control layer 12.ThoroughlyLight cover board 11 is arranged in touch control layer 12.Touch control layer 12 is arranged on display layer 13.The upper surface 131 of display layer 13 is towards touch-controlLayer 12.Euphotic cover plate 11 and touch control layer 12 are all larger than 90% to visible light transmittance rate and infrared light transmittance.
Specifically, touch control layer 12 is mainly used for receiving user input signal and being transmitted to circuit board carrying out data processing, fromAnd obtain the specific location that user touches touch control layer 12.It should be pointed out that the setting of touch control layer 12 can refer on display layer 13Be that touch control layer 12 is contacted with display layer 13.For example, In-Cell On-Cell technology can be used, by touch control layer 12 and showShow that layer 13 is bonded, can effectively mitigate the weight of display layer 13 and reduces the integral thickness of display layer 13.Touch control layer 12Setting also also refers to touch control layer 12 on display layer 13 and is arranged above display layer 13, and is spaced with display layer 13.
In addition, being arranged euphotic cover plate 11 in touch control layer 12, it can be effectively protected touch control layer 12 and its internal structure,Avoid damage of the external forces to touch control layer 12 and display layer 13.Euphotic cover plate 11 and touch control layer 12 are to visible light and infraredThe light transmittance of light is all larger than 90%, not only contributes to display layer 13 and preferably shows content effect, and also helps setting and existProximity sensor 16 under display layer 13 steadily emits and receives infrared light, ensure that the normal work of proximity sensor 16.
Referring to Fig. 4, in some embodiments, display layer 13 includes upper surface 131 and lower surface 132.Electronic device100 further include the first coating layer 14 for being coated on lower surface 132 and covering proximity sensor 16.First coating layer 14 is for penetratingInfrared light and interception visible light.Proximity sensor 16 is used for through the first coating layer 14 and the transmitting of display layer 13 and/or receives redOuter light.
Specifically, the first coating layer 14 of setting is for the normal work of guarantee proximity sensor 16 through infrared light.FirstCoating layer 14 intercept visible light can be realized from outside watch electronic device 100 when, reach the sightless effect of proximity sensor 16Fruit.
Fig. 4 and Fig. 5 is please referred to, in some embodiments, proximity sensor 16 includes transmitter 1611 and receiver1612.Transmitter 1611 is used to emit infrared light through the first coating layer 14 and display layer 13.Receiver 1612 is for receiving warpThe infrared light of object emission is with detection object at a distance from electronic device 100.
Specifically, under normal circumstances, when user is when answering or making a phone call, electronic device 100 close to human body head,Transmitter 1611 issues infrared light, and receiver 1612 receives reflected infrared light.Processor 23 calculates infrared light from transmittingTo the reflected time, just issues command adapted thereto control screen and close.When electronic device 100 is far from head, processor 23Instruction is calculated and issued again according to the data fed back, just reopens screen.In this way, not only preventing user'sMaloperation, and save the electricity of mobile phone.
In some embodiments, orthographic projection of the proximity sensor 16 in lower surface 132 is located at the first coating layer 14 underIn the orthographic projection on surface 132.
Specifically, the installation of proximity sensor 16 usually requires reserved fit-up gap during carrying out technique assembly,Lead to gap occur between proximity sensor 16 and other elements, enters visible light in gap, light leakage phenomena occur.CauseThis, on the direction that proximity sensor 16 and display layer 13 are laminated, area of first coating layer 14 in the orthographic projection of lower surface 132Greater than proximity sensor 16 in the area of the orthographic projection of lower surface 132, the normal work of proximity sensor 16 can not influencedIn the case of, so that the first coating layer 14 is sufficiently blocked proximity sensor 16 and reaches and connect when realization watches electronic device 100 from outsideThe sightless effect of nearly sensor 16.
Referring to Fig. 5, in some embodiments, orthographic projection and first coating of the proximity sensor 16 in lower surface 132Layer 14 is overlapped.
Specifically, on the direction that proximity sensor 16 and display layer 13 are laminated, the first coating layer 14 also can be set justThe area for being projected on lower surface 132 is equal to 16 orthographic projection of proximity sensor in the area of lower surface 132.It so, it is possible in not shadowIn the case where ringing the normal work of proximity sensor 16, the first coating layer 14 is made just to block proximity sensor 16, realized from directionAnd when watching electronic device 100 perpendicular to the direction of 13 upper surface 131 of display layer, reach the sightless effect of proximity sensor 16Fruit.
Referring to Fig. 6, further, in such an embodiment, electronic device 100 further includes being arranged in lower surface132 and surround proximity sensor 16 light shield layer 17.
Specifically, it is just being thrown when area of setting 14 orthographic projection of the first coating layer in lower surface 132 is equal to proximity sensor 16Shadow is when the case where area of lower surface 132, due to placing the spatial volume of proximity sensor 16 than proximity sensor 16Volume is big, and when causing to watch electronic device 100 from external environment, it is existing that light leakage occurs in the space around proximity sensor 16As.Therefore, the light shield layer 17 that proximity sensor 16 is surrounded by setting, has filled up the seam of proximity sensor 16 Yu surrounding spaceGap can eliminate this light leakage phenomena.Light shield layer 17 can be using foam made of black material, be also possible to other blackFoamed plastics or rubber.Certainly, these materials are only used as illustrative and the embodiment of the present invention is not limited to this.
In some embodiments, the first coating layer includes IR ink, and IR ink is greater than 85% to the light transmittance of infrared light,IR ink is 850nm-940nm less than the wavelength for the infrared light that 6%, IR ink can pass through to the light transmittance of visible light.
Specifically, since IR ink has the characteristic to visible light low-transmittance, so watching electronic device 100 from outsideWhen, based on the visual observation of human eye less than the proximity sensor 16 being arranged under the first coating layer 14.Meanwhile IR ink has both pairThe characteristic of infrared light high transparency can make proximity sensor 16 steadily emit and receive infrared light, ensure that close to sensingThe normal work of device 16.
Please refer to Fig. 7 and Fig. 8, in some embodiments, electronic device 100 further include be coated on lower surface 132 and withThe second coating layer 15 that first coating layer 14 connects.
Specifically, the first coating layer 14 is mainly used for through infrared light and blocks proximity sensor 16, but due to the first paintingThe cost for the IR ink that layer of cloth 14 uses will be unfavorable for compared with general black ink height if lower surface 132 is all coated with IR inkProduction cost is reduced, also, general black ink can reach lower, occlusion effect to the light transmittance of visible light compared to IR inkIt is more prominent.In this way, not only contributing to reduce production cost, and occlusion effect more meets by the second coating layer 15 of settingTechnique requirement.
Fig. 9 and Figure 10 are please referred to, in some embodiments, electronic device 100 further includes covering lower surface 132 and avoidsThe buffer layer 18 of proximity sensor 16.
Specifically, buffer layer 18 is for slowing down impact force and shockproof to protect touch control layer 12 and display layer 13 and its internal junctionStructure avoids display layer 13 from damaging due to by extraneous percussion.Buffer layer 18 can by foam or foamed plastics orRubber or other soft materials are made.Certainly, these padded coamings are only used as illustrative and the embodiment of the present invention notIt is limited to this.In addition, during buffer layer 18 are set avoid proximity sensor 16, be in order to prevent buffer layer 18 block it is closeSensor 16, in case proximity sensor 16 is affected during emitting and receiving infrared light.
Figure 11 and Figure 12 are please referred to, further, in such an embodiment, electronic device 100 further includes that covering is slowIt rushes layer 18 and avoids the sheet metal 19 of proximity sensor 16.
Specifically, sheet metal 19 has the function of spreading temperature rise for shielding electromagnetic interference and ground connection.Sheet metal 19 can be withIt is cut using metal materials such as copper foil, aluminium foils.Certainly, these metal materials are only used as illustrative and of the invention implementationExample is not limited to this.It is the screening of sheet metal 19 in order to prevent in addition, avoiding proximity sensor 16 during sheet metal 19 are arrangedProximity sensor 16 is kept off, in case proximity sensor 16 is affected during emitting and receiving infrared light.
Also referring to Figure 13-15, in some embodiments, electronic device 100 further include shell 20, receiving shell 200,Light guide 51 and optical inductor 5.Receiving shell 200 is slidably connect with shell 20, and can be stretched out shell 20 or be retracted in shell 20.It accommodates shell 200 and is equipped with incidence hole 2006, light guide 51 is contained in 200 inside of receiving shell and partially protrudes into incidence hole 2006.It is guide-lightingPart 51 has opposite incidence surface 511 and light-emitting surface 512.Incidence surface 511 towards receiving shell 200 outside.Light-emitting surface 512 is towards receiptsHold inside shell 200.Optical inductor 5 is contained in 200 inside of receiving shell and face light-emitting surface 512.
In this way, since incidence hole 2006 is set in the receiving shell 200 of electronic device 100, rather than be arranged in electronic device100 touch display screen 10, therefore the setting of incidence hole 2006 can either meet the needs of optical inductor 5 receives environment light, alsoWithout limitation on the screen accounting of touch display screen 10, so that the screen accounting of electronic device 100 is larger.
Specifically, Figure 13-14 is please referred to, which is in electronic device 100 and is defined for reference, electronic device100 have width direction X, length direction Y and thickness direction Z, and for length direction Y perpendicular to width direction X, thickness direction Z is verticalIn width direction X and length direction Y.
Shell 20 further includes top end face 1002 and the bottom face being disposed opposite to each other with top end face 1,002 1003.In general, topFace 1002 and bottom face 1003 X can extend in the width direction.Namely top end face 1002 and bottom face 1003 are electronic device 100Short side.Connector, microphone, loudspeaker etc. of the bottom face 1003 for electronic device 100 of arranging.
Such as Figure 14, holding tank 1004 is offered on the top of shell 20, holding tank 1004 is from the top of shell 20 to shell20 inner recess.Holding tank 1004 runs through the side of shell 20.It accommodates shell 200 and is slided in holding tank 1004 with shell 20 and connectedIt connects.In other words, receiving shell 200 is slidably connected shell 20, to stretch out or retract holding tank 1004.
Function element 300 can also be set in receiving shell 200, and function element 300 is, for example, camera, earpiece or laser hairEmitter etc., camera are exposed by incidence hole 2006, such as function element 300 passes through the incidence hole of the side of receiving shell 2002006 expose.When accommodating the stretching shell 20 of shell 200, camera can shoot the external image of electronic device 100.Camera exampleThe for example cameras such as RGB camera.
In some embodiments, receiving shell 200 has lateral surface, and the part or all of opposite exterior lateral sides face of incidence surface 511 is convexOut.In this way, receiving shell 200 is less to blocking for incidence surface 511, or even incidence surface 511 is not blocked completely, so that incidence surface 511More ambient lights can be received, light guide 5151 can preferably guide ambient to enter photosensitive sensors 5.
In present embodiment, the lateral surface of receiving shell 200 includes top surface 2003, and top surface 2003 offers incidence hole 2006.Light guide 51 is corresponding with the incidence hole 2006 of top surface 2003 is located at.In other words, optical inductor 5 is received by light guide 51 by positionIn the light of the incidence hole 2006 of top surface 2003.In this way, no matter accommodating shell 200 stretches out or retract shell 20, optical inductor 5 is equalIt can sense ambient light.The part or all of opposing top 2003 of incidence surface 511 protrusion.
Please refer to Figure 15-Figure 17, the edge that incidence surface 511 has central area 5111 and is arranged around central area 5111Region 5112.5111 opposed edge sections 5112 of central area protrusion.At this point, the area of incidence surface 511 is larger, it is more extraneousLight is able to enter light guide 51.Wherein, incidence surface 511 is cambered surface.
In some embodiments, receiving shell 200 has medial surface 2063, and medial surface 2063 forms locating slot 2064, fixedPosition slot 2064 is connected to incidence hole 2006, and light guide 51 includes light in part 513 and light out part 514, and incidence surface 511 is light in part 513Away from the end face of light out part 514, light-emitting surface 512 is the end face that light out part 514 deviates from light in part 513, light in part 513 be arranged in intoUnthreaded hole 2006, light out part 514 are partly or entirely embedded at locating slot 2064.
At this point, light guide 5151 is fixed to one another with receiving shell 200, it is difficult to slide.Meanwhile light out part 514 is towards light in partOn 513513 face can adhesive sealant, sealing element continuously around light in part 513513 be arranged.Sealing element is supported in light outOn the trough wall surface of portion 514 and locating slot 2064, to realize sealing, prevents external dust, steam etc. from entering through incidence hole 2006 and receiveHold the inside of shell 200.
In some embodiments, the area of light-emitting surface 512 is greater than the area of incidence surface 511, in incidence surface 511 to light outOn the direction in face 512, the cross-sectional area of light in part 513 is incremented by.
Specifically, the shape of light in part 513 is substantially in truncated cone-shaped, is conducive to light and transmits in light in part 3513, and energyIt enough spreads apart, even into light out part 514.
In some embodiments, light guide 51 further includes positioning region 515, and positioning region 515 and light out part 514, which enclose, sets out appearance516 between emptying, accommodating space 516 is for accommodating optical inductor 5.The photosensitive sensors 5 for being contained in accommodating space 516 can be determinedPosition portion 515 and light out part 514 are protected, and avoid being damaged when electronic device 100 falls or hit.Wherein, light-emitting surface 512Gap is formed between the photosensitive area 52 of photosensitive sensors 5.
Figure 18 is please referred to, the present invention provides a kind of control methods of electronic device 100.Control method comprising steps of
S14 detects the original state between touch display screen 10 and external object by proximity sensor 16, described initialState includes initial proximity state or initial separate state;
S15 obtains the posture information of electronic device 100 by attitude transducer 102;
S16 corrects the original state according to the posture information that attitude transducer 102 is got, and according to revisedThe display state of state control touch display screen 10.
In some embodiments, proximity sensor 16 is initial between touch display screen 10 and external object for detectingState, the original state include initial proximity state or initial separate state.Attitude transducer 102 is for obtaining electronic device100 posture information.The posture information that processor 23 is used to be got according to attitude transducer 102 corrects the original state,And the display state of touch display screen 10 is controlled according to revised state.
Figure 19 is please referred to, embodiment of the present invention additionally provides a kind of control device 2000 of electronic device 100, the present inventionThe control method of the electronic device 100 of embodiment can be by the control device of the electronic device 100 of embodiment of the present invention2000 realize.
Specifically, control device 2000 includes detection module 210, control module 220 and acquisition module 230, detection module210 for detecting the original state between touch display screen 10 and external object, the original state by proximity sensor 16Including initial proximity state or initial separate state.Module 230 is obtained to be used to obtain electronic device by attitude transducer 102100 posture information.The posture information that control module 220 is used to be got according to attitude transducer 102 corrects the initial shapeState, and according to the display state of revised state control touch display screen 10.
In other words, step S14 can be realized by detection module 210, and step S15 can be realized by acquisition module 230, stepRapid S16 can be realized by control module 220.
Please refer to Figure 20, it will be understood that during user is conversed using electronic device 100, user is often by electronicsDevice 100 prevents by the ear on head.User is during walking etc. when some scene calls, electronic device 100 and headFraction of variation may occur for distance, exist at this point, the data that proximity sensor 16 detects may be judged as electronic device 100Change far from head and between head, so that touch display screen 10 neglects secretly suddenly bright, formation splashette phenomenon.
In the control method of the application embodiment, control device and electronic device 100, it is in logical in electronic device 100When speech phase, original state is corrected according to the posture information that attitude transducer 102 is got, and control according to revised stateThe display state of touch display screen 10, the display shape relative to the detection data control touch display screen according only to proximity sensorState improves the accuracy rate that electronic device 100 controls the display state of touch display screen 10 in communication process.
Specifically, when electronic device 100 is on call, electronic device 100 departs slightly from the head of user, ifJudge that the posture of electronic device 100 does not change according to the detection data that attitude transducer 102 detects, from being considered as the positive normal open of userIn words, then controls touch display screen 10 and continue to keep OFF state, prevent 10 mistake of touch display screen from lighting.
Specifically, in step S14, electronic device 100 connect phone when, user generally by electronic device 100 put toIn one's ear, at this point, user is talked with by voice with other people.After proximity sensor 16 is opened, it can be detected according to proximity sensor 16The size at a distance from external object of touch display screen 10, when touch display screen 10 is less than preset distance at a distance from external objectWhen, it is proximity state between touch display screen 10 and external object;Conversely, when touch display screen 10 is big at a distance from external objectIt is far from state between touch display screen 10 and external object when preset distance.
In step S15, attitude transducer 102 can be that gravity sensor (Gravity sensor), gyroscope etc. canWith the sensor of the posture of detection electronic installation 100.Specifically, when attitude transducer 102 is gravity sensor, gravity sensitiveDevice can detecte the acceleration change of the width direction X of electronic device 100, these three directions length direction Y and thickness direction Z.Gravity sensor constantly obtains the X-direction of electronic device 100, the number of Y-direction and Z-direction after the unlatching of proximity sensor 16According to.It is appreciated that when electronic device 100 be placed in one's ear and in call during, electronic device 100 is in X-direction, the side YThe distance moved on the two directions is smaller.Therefore, gravity sensor detect X-direction, the data variation amount in Y-direction compared withIt is small.
If electronic device 100 from being taken in one's ear at the moment, electronic device 100 X-direction, Y-direction, Z-direction this threeMoving distance in a direction at least two directions is larger, and therefore, gravity sensor gets X-direction, Y-direction, in Z-directionAt least two directions on data variation amount it is larger.
The available electronics of X-direction, Y-direction, the data variation amount of Z-direction is got according to gravity sensor as a result, to fillSet 100 posture.
When attitude transducer 102 is gyroscope, gyroscope measures the angle of rotation speed when deflection of electronic device 100 and inclinationDegree.Gyroscope can detect and incude the linear of 3d space and movement, so as to recognizing direction, determining posture and calculating angle speedDegree.In this way, may determine that whether the posture of electronic device 100 is upright posture according to the detection data of attitude transducer 102, be flatIt puts or assists and the postures such as put.
In step s 16, the display state of touch display screen 10 includes OFF state and illuminating state.What OFF state referred toThat the touch display screen 10 of electronic device 100 powers off, touch display screen 10 can not shine, at this point, viewing area 1311 be rendered as it is blackColored appearance.
The illuminating state of touch display screen 10 refers to that touch display screen 10 is powered, and viewing area 1311 can shine and showContent.
Figure 21 is please referred to, in some embodiments, the original state is initial proximity state, and step S16 includes:
Whether S161 judges the posture of the electronic device 100 by the first predetermined attitudes vibration according to the posture informationTo the second predetermined posture, the first predetermined posture is corresponding with the initial proximity state;
S162 detects the state of the touch display screen 10 and external object according to proximity sensor 16, after the amendmentState include that be in the posture far from state and the electronic device 100 with external object be second to the touch display screen 10Predetermined posture;
S163 is switched to by OFF state according to the revised state control touch display screen 100 and is lighted shapeState.
In some embodiments, step S161-S163 can be realized by processor 23.
It is appreciated that user by electronic device 100 during take at the moment in one's ear, the posture of electronic device 100 producesRaw biggish variation, is generally in vertical state, electronic device 100 is placed on the eye of user when for example, electronic device 100 is in one's earWhen preceding, electronic device 100 is generally in laid-flat status.When electronic device 100 from be moved in one's ear user at the moment when, posture passX-direction that sensor 102 is got, Y-direction, the data variation at least two directions in Z-direction are larger, then may determine that electricitySub-device 100 is by the first predetermined attitudes vibration to the second predetermined posture.For example, when electronic device 100 is from one's ear around head rotationTo user at the moment during, the variable quantity of electronic device 100 in z-direction is smaller, and change in the x-direction and the z-directionChange amount is larger.So, attitude transducer 102 is got X-direction, the data variation of Y-direction are also larger, then can know electronicsDevice 100 is by the first predetermined attitudes vibration to the second predetermined posture.
Therefore, being in the posture far from state and electronic device 100 in touch display screen 10 and external object is second pre-When determining posture, control touch display screen 10 switches to illuminating state, so that electronic device 100 can point after taking away in one's earBright touch display screen 10 checks the content that touch display screen 10 is shown in order to user.
It is appreciated that user places electronic device 100 in one's ear, at this point, touch display screen when user is just switched on phoneIt is proximity state between 10 and external object, electronic device 100 at this time is in the first predetermined posture.
Figure 22 is please referred to, in some embodiments, after step S163, control method is further comprised the steps of:
S17 closes proximity sensor 16.
When touch display screen 10 is in illuminating state, proximity sensor 16, which emits beam, be easy to cause touch display screen 10Circuit generate electron transfer, the phenomenon that causing touch display screen 10 to flash.Therefore, aobvious in the touch of electronic device 100Display screen 10 closes proximity sensor 16 after lighting, and can prevent proximity sensor 16 from emitting beam in this way, avoid touch display screen10 generate the phenomenon that flashing and influence the content that user normally watches the display of touch display screen 10.
Further, Figure 23 is please referred to, the original state is initial proximity state, and step S16 is further comprised the steps of:
Whether S164 judges the posture of the electronic device 100 by the first predetermined attitudes vibration according to the posture informationTo the second predetermined posture, the first predetermined posture is corresponding with the initial proximity state;
S165 detects the state of the touch display screen 10 and external object according to proximity sensor 16, after the amendmentState include that be in the posture far from state and the electronic device 100 with external object be first to the touch display screen 10Predetermined posture;
S166 controls the touch display screen 100 according to the revised state and keeps OFF state.
Step S164-S166 can handle the realization of device 23.
As previously discussed, during electronic device 100 is placed on call in one's ear, if electronic device 100 is certainIn the case of depart slightly from the posture of ear but electronic device 100 there is no when variation, then electronic device 100 is considered as being placed onBy ear, touch display screen 100 keeps OFF state that can save electric energy at this time.
It is appreciated that detecting between electronic device 100 and external object when by proximity sensor 16 as proximity stateWhen, when the posture of electronic device 100 is any attitude, touch display screen 100 keeps OFF state.
Figure 24 is please referred to, in some embodiments, before step S14, control method is further comprised the steps of:
S11, judges whether electronic device 100 enters talk business, if so, entering step S12;
S12 keeps proximity sensor 16 to close and judges touch display screen 10 according to the signal that touch display screen 10 exportsWhether close to the external object;
S13, when touch display screen 10 is close to the external object, control touch display screen 10 enters OFF state and simultaneously opensOpen proximity sensor 16.
The step S11-S13 of above-mentioned control method can be realized by processor 23.
In this way, being exported when electronic device 100 enters talk business using the touch display screen 10 of electronic device 100The state of signal control touch display screen 10 simultaneously closes proximity sensor 16, and the infrared light for preventing proximity sensor 16 from issuing is to touchingThe interference of display screen 10 is touched, user experience can be improved.
Specifically, in step s 11, electronic device 100 refers to 100 connecting incoming call of electronic device into talk businessAfterwards, electronic device 100 enters talk business, at this point, user can carry out voice communication.
In step s 12, touch display screen 10 is, for example, capacitive touch display screen, and touch display screen 10 can be according to objectBody size at a distance from touch display screen 10 exports different capacitances, the capacitance and capacitor exported according to touch display screen 10Whether the quantity of value can be with touch display screen 10 close to the external object.For example, the capacitance number that touch display screen 10 exportsAmount is 10,10 capacitances be all larger than threshold value and it is almost the same when determine touch display screen 10 close to the external object.
Support that there are two types of capacitance type sensor, mutual capacitance sensors and self capacitance sensors on the touch screen of suspension touch control.Self capacitance sensor can generate the signal more powerful than mutual capacitance, and it is reachable to detect farther finger induction detecting distance range20mm.The electric field very little of mutual capacitance sensors can not sense those very small and weak signals so that signal strength is very low.Therefore, when the finger of user hovers on the screen, mutual capacitance sensors can not just sense signal.
In present embodiment, touching display screen 10 is self-capacitance display screen.The sensor of touching display screen 10 can be createdPowerful signal is built, so that equipment can detecte the finger at side 20mm on the screen.
In one example, when electronic device 100 enter talk business when, user electronic device 100 can generally be put toIn one's ear, user by electronic device 100 put in one's ear during, the position due to face and ear etc. with skin is to leadBody, touch display screen 10 can generate different signal values according to electronic device 100 at a distance from human body head, to judge to useWhether family has completed to put electronic device 100 to movement in one's ear, to control whether proximity sensor 16 is opened.
In addition, general user will not observe electronic device 100 again due to putting in electronic device 100 to after in one's earScreen controls the closing of touch display screen 10 and does not interfere with user's normal talking, at this time moreover, controlling proximity sensor 16 at this timeIt opens and proximity sensor 16 is made to sense user at a distance from electronic device 100 to make processor 23 control touch display screen 10Light on and off while, will not because scintillation reduce user experience.
In addition, putting electronic device 100 in user to after in one's ear, just open proximity sensor 16, in other words, withFamily puts electronic device 100 to before in one's ear, and proximity sensor 16 is to close, therefore, user by electronic device 100 put toBefore in one's ear, when user observes touch display screen 10, scintillation will not occur, the experience of user will not be reduced.
It is appreciated that entering step S14 after step S13, in other words, proximity sensor 16 is opened by close sensingDevice 16 detects the original state between touch display screen 10 and external object.
In some embodiments, step S12 includes:
Judge touch display screen 10 whether close to the external world according to the signal that the top area of touch display screen 10 exportsObject.
In some embodiments, the signal that processor 23 is used to be exported according to the top area of touch display screen 10 judgesWhether touch display screen 10 is close to the external object.
Since the receiver of electronic device 100 is generally arranged at the top of electronic device 100, in one example, withWhen family receives calls, the top of electronic device 100 closer to ear near, therefore, according to the top region of touch display screen 10The signal of domain output judges whether touch display screen 10 can be improved close to the external object and determines electronic device 100 close to headThe accuracy rate in portion.
In present embodiment, the top area of touch display screen 10 is referred in the Y direction, and touch display screen 10 is close to electricityThe region of the top end face 1002 of sub-device 100.
Embodiment of the present invention additionally provides a kind of computer readable storage medium.One or more can be held comprising computerThe non-volatile computer readable storage medium storing program for executing of row instruction, when computer executable instructions are executed by one or more processors 23When, so that processor 23 executes the control method of any of the above-described embodiment.
Figure 25 is please referred to, embodiment of the present invention additionally provides a kind of computer equipment 400.Computer equipment includes storageDevice 32 and processor 23 store computer-readable instruction in memory 32, and when instruction is executed by processor 23, processor 23 is heldThe control method of any of the above-described embodiment of row.
Figure 25 is the internal module schematic diagram of the computer equipment 400 in one embodiment.Computer equipment 400 includes logicalCross processor 23, the memory 32 (for example, non-volatile memory medium), built-in storage 33, display layer of the connection of system bus 3113 and input unit 34.Wherein, the memory 32 of computer equipment 400 is stored with operating system and computer-readable instruction.It shouldComputer-readable instruction can be executed by processor 23, to realize the control method of above-mentioned any one embodiment.
Processor 23 can be used for providing calculating and control ability, support the operation of entire computer equipment 400.Computer is setStandby 400 built-in storage 33 provides environment for the computer-readable instruction operation in memory 32.The display of computer equipment 400Layer 13 can be OLED display layer or Micro LED display layer etc., and input unit 34, which can be, to be arranged on display layer 13Touch display screen 10 is also possible to key, trace ball or the Trackpad being arranged on 400 shell of computer equipment, is also possible to outerKeyboard, Trackpad or mouse for connecing etc..The computer equipment 400 can be mobile phone, tablet computer, laptop, a numberWord assistant or wearable device (such as Intelligent bracelet, smartwatch, intelligent helmet, intelligent glasses) etc..Those skilled in the artIt is appreciated that structure shown in figure, only the schematic diagram of part-structure relevant to the present invention program, is not constituted to thisThe restriction for the computer equipment 400 that scheme of the invention is applied thereon, specific computer equipment 400 may include than institute in figureShow more or fewer components, perhaps combines certain components or with different component layouts.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be withInstruct relevant hardware to complete by computer program, program can be stored in a non-volatile computer readable storage mediumIn matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium can for magnetic disk,CD, read-only memory (Read-Only Memory, ROM) etc..
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can notTherefore it is interpreted as the limitation to the application the scope of the patents.It should be pointed out that for those of ordinary skill in the art,Without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection model of the applicationIt encloses.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (14)

CN201811089351.9A2018-09-182018-09-18 Control method, control device, electronic device and storage mediumPendingCN109298823A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811089351.9ACN109298823A (en)2018-09-182018-09-18 Control method, control device, electronic device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811089351.9ACN109298823A (en)2018-09-182018-09-18 Control method, control device, electronic device and storage medium

Publications (1)

Publication NumberPublication Date
CN109298823Atrue CN109298823A (en)2019-02-01

Family

ID=65163647

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811089351.9APendingCN109298823A (en)2018-09-182018-09-18 Control method, control device, electronic device and storage medium

Country Status (1)

CountryLink
CN (1)CN109298823A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113721825A (en)*2020-05-262021-11-30北京小米移动软件有限公司Distance detection method and device, electronic equipment and storage medium
CN115116042A (en)*2022-06-282022-09-27重庆长安汽车股份有限公司Vehicle-mounted telephone answering method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20010026645A1 (en)*2000-02-222001-10-04Kazunori HiramatsuSystem and method of pointed position detection, presentation system, and program
US20120092350A1 (en)*2010-10-182012-04-19Qualcomm Mems Technologies, Inc.Wraparound assembly for combination touch, handwriting and fingerprint sensor
CN203193719U (en)*2013-03-222013-09-11深圳市邦华电子有限公司Mobile phone with touch screen closed when face is pressed close to touch screen
CN103369144A (en)*2013-07-112013-10-23广东欧珀移动通信有限公司Method for processing misoperation in mobile phone communication process through acceleration sensor
CN103870085A (en)*2014-02-282014-06-18惠州市德帮实业有限公司Mobile telephone distance sensing device based on capacitive sensing and mobile telephone distance sensing method based on capacitive sensing
CN104618565A (en)*2013-11-042015-05-13深圳富泰宏精密工业有限公司Anti-misoperation electronic device and method
CN108076210A (en)*2016-11-112018-05-25中兴通讯股份有限公司The screen backlight control system and method for smart machine
CN108521480A (en)*2018-03-282018-09-11广东欧珀移动通信有限公司 Control method, control device, electronic device, computer storage medium and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20010026645A1 (en)*2000-02-222001-10-04Kazunori HiramatsuSystem and method of pointed position detection, presentation system, and program
US20120092350A1 (en)*2010-10-182012-04-19Qualcomm Mems Technologies, Inc.Wraparound assembly for combination touch, handwriting and fingerprint sensor
CN203193719U (en)*2013-03-222013-09-11深圳市邦华电子有限公司Mobile phone with touch screen closed when face is pressed close to touch screen
CN103369144A (en)*2013-07-112013-10-23广东欧珀移动通信有限公司Method for processing misoperation in mobile phone communication process through acceleration sensor
CN104618565A (en)*2013-11-042015-05-13深圳富泰宏精密工业有限公司Anti-misoperation electronic device and method
CN103870085A (en)*2014-02-282014-06-18惠州市德帮实业有限公司Mobile telephone distance sensing device based on capacitive sensing and mobile telephone distance sensing method based on capacitive sensing
CN108076210A (en)*2016-11-112018-05-25中兴通讯股份有限公司The screen backlight control system and method for smart machine
CN108521480A (en)*2018-03-282018-09-11广东欧珀移动通信有限公司 Control method, control device, electronic device, computer storage medium and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113721825A (en)*2020-05-262021-11-30北京小米移动软件有限公司Distance detection method and device, electronic equipment and storage medium
CN113721825B (en)*2020-05-262024-09-27北京小米移动软件有限公司 Distance detection method and device, electronic device and storage medium
CN115116042A (en)*2022-06-282022-09-27重庆长安汽车股份有限公司Vehicle-mounted telephone answering method and device, electronic equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN110581904B (en)Control method, control device, electronic device, and storage medium
CN108769296B (en) Electronic device and method of manufacturing the same
US11477311B2 (en)Electronic device and fabrication method thereof
CN109167857A (en)Calibration method, electronic device, storage medium, and computer apparatus
KR102209910B1 (en)Coordinate measuring apparaturs which measures input position of coordinate indicating apparatus and method for controlling thereof
CN108512960A (en)Electronic device and its manufacturing method
WO2019233232A1 (en)Control method, control device, electronic device, computer storage medium and device
CN109710119A (en) Control method, control device, electronic device and storage medium
CN108833615B (en)Electronic device
CN109298823A (en) Control method, control device, electronic device and storage medium
CN109756623A (en)Control method, control device, electronic device, and storage medium
CN108989490B (en)Control method, control device, electronic device, storage medium, and computer apparatus
CN109710109B (en) Control method, control device, electronic device and storage medium
CN109710110A (en)Control method, control device, electronic device, and storage medium
CN109743451B (en) Control method, electronic device, computer equipment and storage medium
CN109683750B (en) Control method, electronic device, computer equipment and storage medium
CN108521481B (en)Electronic device
CN109388282B (en)Control method, electronic device, and storage medium
CN109656429B (en)Control method, electronic device, and storage medium
KR20210046323A (en)Mobile terminal and assistance device attached to the same
HK40017652B (en)Control method, control device, electronic device and storage medium
HK40017652A (en)Control method, control device, electronic device and storage medium
CN108874483B (en) Control method, control device, electronic device, storage medium and computer equipment
TWI552565B (en)Three dimension contactless controllable glasses-like cell phone

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20190201


[8]ページ先頭

©2009-2025 Movatter.jp