Movatterモバイル変換


[0]ホーム

URL:


CN109388282B - Control method, electronic device, and storage medium - Google Patents

Control method, electronic device, and storage medium
Download PDF

Info

Publication number
CN109388282B
CN109388282BCN201811019889.2ACN201811019889ACN109388282BCN 109388282 BCN109388282 BCN 109388282BCN 201811019889 ACN201811019889 ACN 201811019889ACN 109388282 BCN109388282 BCN 109388282B
Authority
CN
China
Prior art keywords
display screen
touch display
electronic device
touch
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811019889.2A
Other languages
Chinese (zh)
Other versions
CN109388282A (en
Inventor
马静一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201811019889.2ApriorityCriticalpatent/CN109388282B/en
Publication of CN109388282ApublicationCriticalpatent/CN109388282A/en
Application grantedgrantedCritical
Publication of CN109388282BpublicationCriticalpatent/CN109388282B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种电子装置的控制方法,控制方法包括:在电子装置处于通话业务时,判断电子装置是否触发预定操作;若电子装置触发预定操作,采集触摸显示屏在电子装置触发预定操作后的预定时间段内输出的第一控制信号;根据第一控制信号保持触摸显示屏的当前显示状态。本申请实施方式的控制方法中,通过触摸显示屏输出的控制信号控制触摸显示屏的显示状态,如此可以取消接近传感器,提高触摸显示屏的屏占比。另外,根据第一控制信号保持触摸显示屏的显示状态,如此可以避免触摸显示屏在电子装置触发预定操作时切换至其他显示状态。本申请还公开了一种电子装置和存储介质。

Figure 201811019889

The present application discloses a control method for an electronic device. The control method includes: when the electronic device is in a call service, judging whether the electronic device triggers a predetermined operation; if the electronic device triggers the predetermined operation, collecting the touch screen display after the electronic device triggers the predetermined operation The first control signal output within the predetermined time period of the touch screen; according to the first control signal, the current display state of the touch screen is maintained. In the control method of the embodiment of the present application, the display state of the touch display screen is controlled by the control signal output by the touch display screen, so that the proximity sensor can be eliminated and the screen ratio of the touch display screen can be increased. In addition, the display state of the touch display screen is maintained according to the first control signal, so that the touch display screen can be prevented from switching to other display states when the electronic device triggers a predetermined operation. The present application also discloses an electronic device and a storage medium.

Figure 201811019889

Description

Control method, electronic device, and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a control method, an electronic device, and a storage medium.
Background
The full-screen mobile phone has become a development trend of the mobile phone, and at present, the full-screen mobile phone has become a main push product of various large mobile phone manufacturers. The traditional proximity sensor arranged at the top of the touch display screen often interferes with the touch display screen, and the screen occupation ratio of the mobile phone is not favorably improved.
Disclosure of Invention
The application provides a control method, an electronic device and a storage medium.
In a control method of an electronic device according to an embodiment of the present application, the electronic device includes a touch display screen, the touch display screen is configured to output a control signal when the electronic device is in a call service, and the control signal is configured to determine whether the touch display screen is shielded to control a display state of the touch display screen, and the control method includes:
when the electronic device is in a call service, judging whether the electronic device triggers a preset operation;
if the electronic device triggers the preset operation, acquiring a first control signal output by the touch display screen within a preset time period after the electronic device triggers the preset operation;
and keeping the current display state of the touch display screen according to the first control signal.
The electronic device of the embodiment of the application comprises:
the touch display screen is used for outputting a control signal when the electronic device is in a call service, and the control signal is used for judging whether the touch display screen is shielded so as to control the display state of the touch display screen; and
a processor to:
when the electronic device is in a call service, judging whether the electronic device triggers a preset operation;
if the electronic device triggers the preset operation, acquiring a first control signal output by the touch display screen within a preset time period after the electronic device triggers the preset operation;
and keeping the current display state of the touch display screen according to the first control signal.
One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the above-described control method of an electronic device.
In the control method, the electronic device and the storage medium of the embodiment of the application, the display state of the touch display screen is controlled through the control signal output by the touch display screen, so that the proximity sensor can be omitted, and the screen occupation ratio of the touch display screen is improved. In addition, the display state of the touch display screen is kept according to the first control signal, so that the touch display screen can be prevented from being switched to other display states when the electronic device triggers a preset operation.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic plan view of an electronic device according to an embodiment of the present application;
FIG. 2 is a schematic cross-sectional view of the electronic device of FIG. 1 taken along direction II-II;
FIG. 3 is a schematic view of a state of an electronic device according to some embodiments of the present application;
FIG. 4 is another state diagram of an electronic device according to some embodiments of the present application;
FIG. 5 is a schematic partial cross-sectional view taken along A-A of the electronic device shown in FIG. 4;
FIG. 6 is a schematic perspective view of a light guide of an electronic device according to some embodiments of the present disclosure;
FIG. 7 is another perspective view of a light guide of an electronic device according to some embodiments of the present disclosure;
FIG. 8 is a schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 9 is a schematic view of a scenario of an electronic device according to some embodiments of the present application;
FIG. 10 is a schematic view of another scenario of an electronic device according to some embodiments of the present application;
FIG. 11 is another schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 12 is a schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 13 is a schematic view of a usage scenario of an electronic device according to some embodiments of the present application;
FIG. 14 is a block diagram of a computer device according to some embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
With the development of electronic devices, a full screen has become a development trend of mobile phones. The full screen high screen ratio feature leaves the top of the screen with limited space for proximity sensors or other components. In the related art, the electronic device may determine whether the touch display screen is shielded according to a control signal output by the touch display screen during a call, and control the touch display screen to be in a sleep state when the touch display screen is shielded. However, when the electronic device is in a call, some operations of the triggering of the electronic device may cause an abnormality in the control signal output by the touch display screen, thereby erroneously controlling the display state of the touch display screen.
Referring to fig. 1, anelectronic device 100 is provided in the present disclosure. By way of example, theelectronic device 100 may be any of various types of computer system equipment (only one modality shown in FIG. 1 by way of example) that is mobile or portable and that performs wireless communications. Specifically, theelectronic apparatus 100 may be a mobile phone or a smart phone (e.g., an iPhone (TM) based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), game Advance (TM), iPhone (TM)), a laptop computer, a PDA, a Portable internet appliance, a music player and a data storage device, other handheld devices and a headset such as a watch, an in-ear headphone, a pendant, a headset, etc., and theelectronic apparatus 100 may also be other wearable devices (e.g., a Headset (HMD) such as electronic glasses, electronic clothing, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
Theelectronic apparatus 100 may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving Picture experts group (MPEG-1 or MPEG-2) Audio layer 3(MP3) players, portable medical devices, and digital cameras, and combinations thereof.
In some cases,electronic device 100 may perform multiple functions (e.g., playing music, displaying videos, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus 1000 may be a portable device such as a cellular telephone, media player, other handheld device, wrist watch device, pendant device, earpiece device, or other compact portable device.
Specifically, referring to fig. 2, theelectronic device 100 includes atouch display screen 10, ahousing 20, alight sensor 5, and aprocessor 23. Thetouch display screen 10 may be disposed on thehousing 20. Thetouch display screen 10 is configured to output a control signal when theelectronic device 100 is in a call service, where the control signal is used to determine whether thetouch display screen 10 is shielded to control a display state of thetouch display screen 10. Thetouch display screen 10 includes adisplay layer 13, and thedisplay layer 13 includes adisplay area 1311.
In some embodiments, thedisplay layer 13 comprises an OLED display layer.
Specifically, the OLED display layer has good light transmittance and can better transmit visible light and infrared light. Thedisplay layer 13 may also be a Micro LED display layer, which also has good transmittance to visible light and infrared light. Of course, these display layers are merely exemplary and embodiments of the present application are not limited thereto.
In some embodiments, thetouch display screen 10 further includes a light transmissive cover sheet 11 and atouch layer 12. The light-transmitting cover plate 11 is disposed on thetouch layer 12. Thetouch layer 12 is disposed on thedisplay layer 13. The light transmittance of the light-transmitting cover plate 11 and the light transmittance of thetouch layer 12 to visible light and infrared light are both greater than 90%.
Specifically, thetouch layer 12 is mainly used for receiving a user input signal and transmitting the user input signal to theprocessor 23 for data processing, so as to obtain a specific position where the user touches thetouch layer 12. It should be noted that thetouch layer 12 is disposed On thedisplay layer 13, which means that thetouch layer 12 is In contact with thedisplay layer 13, for example, In-Cell or On-Cell bonding technology can be used to bond thetouch layer 12 and thedisplay layer 13, which can effectively reduce the weight of thedisplay layer 13 and the overall thickness of thedisplay layer 13. Thetouch layer 12 being disposed on thedisplay layer 13 may also mean that thetouch layer 12 is disposed above thedisplay layer 13 and spaced apart from thedisplay layer 13.
In addition, the transparent cover plate 11 is disposed on thetouch layer 12, so that thetouch layer 12 and the internal structure thereof can be effectively protected, and thetouch layer 12 and thedisplay layer 13 are prevented from being damaged by external force. The light transmittance of the light-transmitting cover plate 11 and the light transmittance of thetouch layer 12 to visible light and infrared light are both greater than 90%, which is beneficial for thedisplay layer 13 to better show the content effect.
Referring to fig. 3-5, in some embodiments, theelectronic device 100 further includes a receivingcase 200, alight guide 51 and alight sensor 5, the receivingcase 200 is slidably connected to thehousing 20 and can extend out of thehousing 20 or retract into thehousing 20, the receivingcase 200 is provided with alight inlet 2006, thelight guide 51 is received in the receivingcase 200 and partially extends into thelight inlet 2006, thelight guide 51 has alight incident surface 511 and alight emitting surface 512 opposite to each other, thelight incident surface 511 faces the outside of the receivingcase 200, thelight emitting surface 512 faces the inside of the receivingcase 200, and thelight sensor 5 is received in the receivingcase 200 and faces thelight emitting surface 512.
In this way, since thelight inlet 2006 is provided in thehousing case 200 of theelectronic device 100, not in thetouch display screen 10 of theelectronic device 100, thelight inlet 2006 can satisfy the requirement of thephotosensor 5 for receiving ambient light, and the screen occupation ratio of thetouch display screen 10 is not limited, so that the screen occupation ratio of theelectronic device 100 is large.
Specifically, referring to fig. 3-4, theelectronic device 100 is defined with reference to the viewing angle, and theelectronic device 100 has a width direction X, a length direction Y and a thickness direction Z, wherein the length direction Y is perpendicular to the width direction X, and the thickness direction Z is perpendicular to the width direction X and the length direction Y.
Thehousing 20 also includes atop face 1002 and abottom face 1003 disposed opposite thetop face 1002. Generally, thetop end face 1002 and thebottom end face 1003 may extend in the width direction X. I.e., the top 1002 and bottom 1003 surfaces are the short sides of theelectronic device 100. Thebottom face 1003 is used for arranging connectors, microphones, speakers, etc. of theelectronic device 100.
As shown in fig. 4, a receivinggroove 1004 is formed on the top of thehousing 20, and the receivinggroove 1004 is recessed from the top of thehousing 20 to the inside of thehousing 20. The receivinggroove 1004 penetrates through a side surface of thehousing 20. Theaccommodating case 200 is slidably connected to thehousing 20 in theaccommodating groove 1004. In other words, the receivingcase 200 is slidably coupled to thehousing 20 to extend or retract the receivinggroove 1004.
Thehousing case 200 may further include afunctional element 300, thefunctional element 300 may be, for example, a camera, an earpiece, a laser emitter, or the like, the camera is exposed through thelight inlet 2006, and for example, thefunctional element 300 is exposed through thelight inlet 2006 on the side surface of thehousing case 200. When the receivingcase 200 is extended out of thehousing 20, the camera may capture an external image of theelectronic device 100. The camera is, for example, a camera such as an RGB camera.
In some embodiments, the receivingcase 200 has an outer side surface, and thelight incident surface 511 partially or totally protrudes from the outer side surface. Thus, thehousing 200 has less shielding effect on thelight incident surface 511, and even does not shield thelight incident surface 511 at all, so that thelight incident surface 511 can receive more ambient light, and thelight guide member 51 can better guide the external light to enter thelight sensor 5.
In the present embodiment, the outer side surface of thehousing case 200 includes atop surface 2003, and thetop surface 2003 is provided with alight entrance hole 2006. Thelight guide 51 corresponds to thelight entry hole 2006 in thetop surface 2003. Alternatively, thelight sensor 5 receives light through thelight guide 51 through thelight entry hole 2006 in thetop surface 2003. In this way, thelight sensor 5 can sense ambient light regardless of whether thehousing case 200 is extended or retracted into thehousing body 20. Thelight incident surface 511 is partially or entirely convex with respect to thetop surface 2003.
Referring to fig. 5-7, thelight incident surface 511 has a central region 5111 and an edge region 5112 surrounding the central region 5111. The central zone 5111 is convex relative to the edge zone 5112. At this time, the area of thelight incident surface 511 is larger, and more external light can enter thelight guide 51. Thelight incident surface 511 is an arc surface.
In some embodiments, thehousing case 200 has an inner side surface 2063, the inner side surface 2063 forms apositioning groove 2064, thepositioning groove 2064 communicates with thelight incident hole 2006, thelight guiding member 51 includes alight incident portion 513 and a lightemergent portion 514, thelight incident portion 511 is an end surface of thelight incident portion 513 facing away from the lightemergent portion 514, the lightemergent portion 512 is an end surface of the lightemergent portion 514 facing away from thelight incident portion 513, thelight incident portion 513 penetrates through thelight incident hole 2006, and part or all of the lightemergent portion 514 is embedded in thepositioning groove 2064.
At this time, thelight guide 51 and thehousing case 200 are fixed to each other and are not easily slid. Meanwhile, a sealing member may be bonded to a surface of thelight exit portion 514 facing thelight entrance portion 513, and the sealing member may be continuously provided around thelight entrance portion 513. The sealing member is pressed against thelight emitting portion 514 and the groove wall surface of thepositioning groove 2064 to achieve sealing, so as to prevent external dust, water vapor and the like from entering the interior of theaccommodating case 200 through thelight inlet 2006.
In some embodiments, the area of thelight exiting surface 512 is larger than that of thelight entering surface 511, and the cross-sectional area of thelight entering portion 513 increases in a direction from thelight entering surface 511 to thelight exiting surface 512.
Specifically, the shape of thelight incident portion 513 is substantially a truncated cone, which facilitates the transmission of light in thelight incident portion 513, and can be diffused to uniformly enter thelight exit portion 514.
In some embodiments, thelight guide 51 further includes apositioning portion 515, thepositioning portion 515 and thelight emitting portion 514 enclose anaccommodating space 516, and theaccommodating space 516 is used for accommodating thelight sensor 5. Thelight sensor 5 accommodated in theaccommodating space 516 can be protected by thepositioning portion 515 and thelight emitting portion 514, so as to avoid damage when theelectronic device 100 falls or is impacted. A gap is formed between the light-emittingsurface 512 and thephotosensitive area 52 of thelight sensor 5.
Referring to fig. 8, the present application provides a control method of anelectronic device 100. Thetouch display screen 10 is configured to output a control signal when theelectronic device 100 is in a call service, where the control signal is used to determine whether thetouch display screen 10 is shielded to control a display state of thetouch display screen 10.
The control method of the embodiment of the application comprises the following steps:
s10, when theelectronic device 100 is in a call service, determining whether theelectronic device 100 triggers a predetermined operation;
s20, if theelectronic device 100 triggers a predetermined operation, acquiring a first control signal output by thetouch display screen 10 within a predetermined time period after theelectronic device 100 triggers the predetermined operation;
s30, the current display state of thetouch display screen 10 is maintained according to the first control signal.
In addition, the steps S10-S30 of the control method may be implemented by theprocessor 23, or theprocessor 23 is configured to:
when theelectronic device 100 is in a call service, determining whether theelectronic device 100 triggers a predetermined operation;
if theelectronic device 100 triggers a predetermined operation, acquiring a first control signal output by thetouch display screen 10 within a predetermined time period after theelectronic device 100 triggers the predetermined operation;
the current display state of thetouch display screen 10 is maintained according to the first control signal.
In the control method and theelectronic device 100 according to the embodiment of the present application, the display state of thetouch display screen 10 is controlled by the control signal output by thetouch display screen 10, so that the proximity sensor can be eliminated and the screen occupation ratio of thetouch display screen 10 can be improved. In addition, the display state of thetouch display screen 10 is maintained according to the first control signal, so that thetouch display screen 10 can be prevented from being switched to other display states when theelectronic device 100 triggers a predetermined operation.
Specifically, thetouch display screen 10 is, for example, a capacitive touch display screen, thetouch display screen 10 may output different capacitance values according to the distance between the object and thetouch display screen 10, and whether thetouch display screen 10 is shielded may be determined according to the capacitance value output by thetouch display screen 10 and the number of the capacitance values. For example, the number of capacitance values output by thetouch display screen 10 is 10, and when the 10 capacitance values are all larger than the threshold value and substantially consistent, it is determined that thetouch display screen 10 is shielded.
In one example, when theelectronic device 100 enters a call service, a user generally places theelectronic device 100 near the ear, and in the process of placing theelectronic device 100 near the ear, because parts with skin, such as the face and the ear, are conductors, thetouch display screen 10 may generate different signal values according to the distance between theelectronic device 100 and the head of the human body, so as to determine whether the user has finished placing theelectronic device 100 near the ear, and thus control whether the proximity sensor 16 is turned on.
The touch screen supporting the suspension touch control is provided with two capacitive sensors, namely a mutual capacitance sensor and a self-capacitance sensor. The self-capacitance sensor can generate a signal stronger than mutual capacitance, and the detection distance range of finger sensing which is farther away can reach 20 mm. Mutual capacitance sensors have electric fields that are so small that the signal strength is too low to sense very weak signals. Therefore, when the user's finger hovers over the screen, the mutual capacitance sensor cannot sense a signal.
In the present embodiment, thetouch display screen 10 is a self-capacitance display screen. The sensor of the touchsensitive display screen 10 can create a powerful signal so that the device can detect a finger 20mm above the screen.
Specifically, in step S10, the call service includes an incoming call, an outgoing call, or a call connection. Further, the call service may be a process of voice conversation for the user, for example, the call service is a process of the user making a call to another person and waiting for the other party to answer, that is, an outgoing call state; the process that the user is conversing with other people through voice, namely the call-on state can also be realized; theelectronic device 100 may also wait for the user to answer the incoming call, i.e., the incoming call state, for the incoming call to be made from the outside.
Referring to fig. 9, in an example, the predetermined operation in step S10 includes accessing a charging device for theelectronic apparatus 100. For example, theelectronic apparatus 100 may access the data line 110 through the USB interface, thereby accessing the charging device. When the data line 110 is connected, the ground of the USB interface needs to be connected to the ground of the mobile phone, and the voltage of the ground of the mobile phone is affected by the USB ground within the predetermined time of USB insertion. Since the capacitance value of thetouch display screen 10 is obtained based on the ground of the mobile phone, the capacitance value of thetouch display screen 10 changes within the predetermined time of the USB insertion, so that the control signal output by thetouch display screen 10 cannot accurately indicate whether thetouch display screen 10 is shielded, which may cause a situation of erroneously controlling thetouch display screen 10.
Therefore, the current display state of thetouch display screen 10 is maintained within a predetermined time after theelectronic device 100 is connected to the charging device, and thetouch display screen 10 can be prevented from switching the display state.
In another example, the predetermined operation described in step S10 includes switching between landscape display and portrait display for thetouch display screen 10. When thetouch display screen 10 is switched between the landscape display and the portrait display, the display contents such as icons of the application programs of thetouch display screen 10 are changed, and accordingly, the display brightness of each part of thetouch display screen 10 is changed. The larger the brightness of thetouch display screen 10 is, the larger the capacitance value of thetouch display screen 10 is, and at this time, as thetouch display screen 10 is switched between the horizontal screen display and the vertical screen display, the capacitance value output by each part of thetouch display screen 10 changes suddenly, so that the control signal output by thetouch display screen 10 cannot accurately represent whether thetouch display screen 10 is shielded, and the state of thetouch display screen 10 is possibly controlled by mistake.
Therefore, the current display state of thetouch display screen 10 is maintained for a predetermined time after thetouch display screen 10 is switched between the landscape display and the portrait display, and switching of the display state by thetouch display screen 10 can be avoided.
It will be appreciated that switching of thetouch screen display 10 between landscape and portrait displays may be determined by signals from the gravity sensors. It is understood that the gravity sensor may acquire the gesture of theelectronic device 100, and thetouch display screen 10 may be controlled to display on a portrait screen or a landscape screen according to the gesture of theelectronic device 100.
In step S20, the predetermined period of time is a period of time less than 10 seconds, such as 3 seconds, 4 seconds, or 5 seconds. That is, thetouch display screen 10 outputs the first control signal within 10 seconds after theelectronic device 100 triggers the predetermined operation.
In step S30, the current state of thetouch display screen 10 may be a wake-up state or a sleep state. That is, thetouch display screen 10 maintains the wake-up state or the sleep state for a predetermined period of time after theelectronic device 100 triggers a predetermined operation.
Referring to fig. 11, in some embodiments, after step S30, the control method further includes:
s40, acquiring a second control signal output by thetouch display screen 10 after theelectronic device 100 triggers the predetermined operation for the predetermined time period;
s50, determining whether thetouch display screen 10 is shielded according to the second control signal output by thetouch display screen 10;
s60, when thetouch screen 10 is shielded, controlling thetouch screen 10 to enter a sleep state.
In some embodiments, steps S40-S60 may be implemented by theprocessor 23, or the processor is configured to:
after theelectronic device 100 triggers the predetermined operation for the predetermined time period, acquiring a second control signal output by thetouch display screen 10;
judging whether thetouch display screen 10 is shielded or not according to a second control signal output by thetouch display screen 10;
and controlling thetouch display screen 10 to enter a sleep state when thetouch display screen 10 is shielded.
In this way, the display state of thetouch display screen 10 can be controlled according to the second control signal output by thetouch display screen 10, so that theelectronic device 100 controls thetouch display screen 10 to enter the sleep state when thetouch display screen 10 is shielded during a call, thereby saving power.
Specifically, in step S60, the sleep state oftouch display screen 10 includesdisplay area 1311 being in a fully-off state; or a part of thedisplay area 1311 displays predetermined contents while the other part of thedisplay area 1311 is in a turned-off state. When thedisplay area 1311 is in the fully-off state, thetouch display screen 10 is powered off, and thedisplay area 1311 appears black.
A part of thedisplay area 1311 displaying predetermined content and the other part of thedisplay area 1311 being in a turned-off state means that only a part of thedisplay area 1311 is in a lit state and predetermined content is displayed, and the other part of thedisplay area 1311 is in a turned-off state.
For example, when only a part of thedisplay area 1311 is in an on state and predetermined content is displayed, thetouch display screen 10 is in an off aod (always on display) mode. The predetermined content is, for example, time, that is, thedisplay area 1311 can display time information regardless of whether thetouch display screen 10 enters a sleep state or an awake state. Of course, the predetermined content may be a date, a signal strength of theelectronic device 100, or the like.
The wake-up state of thetouch screen display 10 means that thetouch screen display 10 is powered on and all areas of thedisplay area 1311 are lit up so that thedisplay area 1311 can display content.
Referring to fig. 12, in some embodiments, step S60 includes:
s61, determining whether the distance between thetouch screen 10 and the object is less than a predetermined distance according to the second control signal output by thetouch screen 10;
s62, detecting the posture of theelectronic device 100 and determining whether the posture of theelectronic device 100 is a predetermined posture;
s63, determining that theelectronic device 100 is occluded when the distance between thetouch display screen 10 and the object is less than the predetermined distance and theelectronic device 100 is in the predetermined posture;
and S64, controlling thetouch display screen 10 to enter the sleep state.
In some embodiments, S061-S064 described above may be implemented by theprocessor 23.
In this way, the process of controlling the display state of thetouch display screen 10 is more accurate. Referring to fig. 13, it can be understood that, in some scenarios, even if theelectronic device 100 enters a call service, it is not necessarily determined that the user has finished placing theelectronic device 100 to the ear according to the signal output by thetouch display screen 10. For example, after theelectronic device 100 enters a call service, the user's finger touches thetouch screen 10, and in this process, theelectronic device 100 is not placed at the user's ear, but thetouch screen 10 may output different control signals.
It may be further determined whether theelectronic device 100 is placed near the user's ear by determining the pose of theelectronic device 100. Specifically, the posture of theelectronic device 100 may be determined by a sensor such as a gyroscope or a gravity sensor. In addition, theelectronic apparatus 100 has a plurality of postures, such as horizontal, upside down, and vertical, since the user generally has a hand-raising action to place theelectronic apparatus 100 at the ear of the user vertically when the user is in a call, the predetermined posture may be set such that theelectronic apparatus 100 is in the vertical posture after the user raises his hand. It is understood that the process of the user lifting the hand may be detected by a sensor such as a gyroscope, a gravity sensor, etc. of theelectronic device 100.
In step S61, as described above, the distance between thetouch screen 10 and the object can be determined according to the capacitance value and the number of capacitance values that thetouch screen 10 outputs.
In step S62, the posture of theelectronic device 100 may be detected by a sensor such as a gyroscope of theelectronic device 100.
Note that, in the example of the present application, step S62 is performed after step S61. However, in other embodiments, step S62 may be performed before step S61, or may be performed simultaneously with step S61.
In certain embodiments, step S50 includes:
whether thedisplay layer 13 is shielded is determined according to a signal output from the top area of thetouch display screen 10.
In some embodiments, theprocessor 23 is configured to determine whether thedisplay layer 13 is obscured based on a signal output from a top area of thetouch screen display 10.
Since the receiver of theelectronic device 100 is typically arranged on top of theelectronic device 100. In one example, the top of theelectronic device 100 is closer to the ear when the user answers the phone call, and therefore, determining whether thetouch screen 10 is occluded based on the signal output from the top area of thetouch screen 10 may improve the accuracy of determining that theelectronic device 100 is close to the head.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by the one ormore processors 23, cause theprocessors 23 to perform the control method of any of the embodiments described above.
Referring to fig. 14, the present application further provides acomputer device 400. The computer device comprises amemory 32 and aprocessor 23, wherein thememory 32 stores computer readable instructions, and when the instructions are executed by theprocessor 23, theprocessor 23 executes the control method of any one of the above embodiments.
FIG. 14 is a schematic diagram of internal modules ofcomputer device 400, under an embodiment. Thecomputer apparatus 400 includes aprocessor 23, a memory 32 (e.g., a non-volatile storage medium), aninternal memory 33, adisplay layer 13, and aninput device 34 connected by a system bus 31. Thememory 32 of thecomputer device 400 has stored therein an operating system and computer readable instructions. The computer readable instructions can be executed by theprocessor 23 to implement the control method of any one of the above embodiments.
Theprocessor 23 may be used to provide computing and control capabilities that support the operation of theoverall computer device 400. Theinternal memory 33 of thecomputer device 400 provides an environment for the execution of computer readable instructions in thememory 32. Thedisplay layer 13 of thecomputer device 400 may be an OLED display layer or a Micro LED display layer, and theinput device 34 may be atouch display screen 10 disposed on thedisplay layer 13, a key, a trackball or a touch pad disposed on a housing of thecomputer device 400, or an external keyboard, a touch pad or a mouse. Thecomputer device 400 may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, or a wearable device (e.g., a smart bracelet, a smart watch, a smart helmet, smart glasses), etc. It will be appreciated by those skilled in the art that the configurations shown in the figures are merely schematic representations of portions of configurations relevant to the present application and are not intended to limit thecomputer device 400 to which the present application may be applied, and that aparticular computer device 400 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, and the program may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

Translated fromChinese
1.一种控制方法,应用于电子装置,其特征在于,所述电子装置包括触摸显示屏,所述触摸显示屏根据物体与所述触摸显示屏的距离大小输出不同的电容值,根据所述触摸显示屏输出的电容值及电容值的数量判断所述触摸显示屏是否被遮蔽,所述控制方法包括:1. A control method, applied to an electronic device, wherein the electronic device comprises a touch display screen, and the touch display screen outputs different capacitance values according to the distance between an object and the touch display screen, and according to the The capacitance value and the number of capacitance values output by the touch display screen determine whether the touch display screen is blocked, and the control method includes:在所述电子装置处于通话业务时,判断所述电子装置是否触发预定操作,所述预定操作为所述电子装置接入充电设备或所述触摸显示屏在横屏显示和竖屏显示之间切换;When the electronic device is in the call service, it is determined whether the electronic device triggers a predetermined operation, and the predetermined operation is that the electronic device is connected to a charging device or the touch display screen is switched between horizontal screen display and vertical screen display ;若所述电子装置触发所述预定操作,采集所述触摸显示屏在所述电子装置触发所述预定操作后的预定时间段内输出的第一控制信号;If the electronic device triggers the predetermined operation, collect a first control signal output by the touch display screen within a predetermined time period after the electronic device triggers the predetermined operation;根据所述第一控制信号保持所述触摸显示屏的当前显示状态;maintaining the current display state of the touch display screen according to the first control signal;在所述根据所述第一控制信号保持所述触摸显示屏的当前显示状态后,所述控制方法还包括:After maintaining the current display state of the touch display screen according to the first control signal, the control method further includes:在所述电子装置触发所述预定操作所述预定时间段后,采集所述触摸显示屏输出的第二控制信号;After the electronic device triggers the predetermined operation for the predetermined period of time, collect the second control signal output by the touch screen;根据所述触摸显示屏输出的第二控制信号判断所述触摸显示屏是否被遮蔽;Determine whether the touch display screen is shielded according to the second control signal output by the touch display screen;在所述触摸显示屏被遮蔽时,控制所述触摸显示屏进入休眠状态。When the touch display screen is shielded, the touch display screen is controlled to enter a sleep state.2.如权利要求1所述的控制方法,其特征在于,所述根据所述触摸显示屏输出的第二控制信号判断所述触摸显示屏是否被遮蔽,包括:2 . The control method according to claim 1 , wherein the determining whether the touch display screen is blocked according to the second control signal output by the touch display screen comprises: 2 .根据所述触摸显示屏输出的第二控制信号判断所述触摸显示屏与物体的距离是否小于预定距离;Determine whether the distance between the touch display screen and the object is less than a predetermined distance according to the second control signal output by the touch display screen;检测所述电子装置的姿态并判断所述电子装置的是否为预定姿态;Detecting the posture of the electronic device and judging whether the posture of the electronic device is a predetermined posture;在所述触摸显示屏与所述物体的距离小于所述预定距离且所述电子装置处于所述预定姿态时判定所述触摸显示屏被遮蔽。It is determined that the touch display screen is blocked when the distance between the touch display screen and the object is less than the predetermined distance and the electronic device is in the predetermined posture.3.如权利要求1所述的控制方法,其特征在于,所述根据所述触摸显示屏输出的第二控制信号判断所述触摸显示屏是否被遮蔽,包括:3 . The control method according to claim 1 , wherein the determining whether the touch display screen is blocked according to the second control signal output by the touch display screen comprises: 3 .根据所述触摸显示屏的顶部区域输出的第二控制信号判断所述触摸显示屏是否被遮蔽。It is determined whether the touch display screen is shaded according to the second control signal output from the top area of the touch display screen.4.一种电子装置,其特征在于,包括:4. An electronic device, characterized in that, comprising:触摸显示屏,所述触摸显示屏根据物体与所述触摸显示屏的距离大小输出不同的电容值,根据所述触摸显示屏输出的电容值及电容值的数量判断所述触摸显示屏是否被遮蔽;Touch the display screen, the touch display screen outputs different capacitance values according to the distance between the object and the touch display screen, and judges whether the touch display screen is blocked according to the capacitance value and the number of capacitance values output by the touch display screen ;处理器,所述处理器用于:a processor for:在所述电子装置处于通话业务时,判断所述电子装置是否触发预定操作,所述预定操作为所述电子装置接入充电设备或所述触摸显示屏在横屏显示和竖屏显示之间切换;When the electronic device is in the call service, it is determined whether the electronic device triggers a predetermined operation, and the predetermined operation is that the electronic device is connected to a charging device or the touch display screen is switched between horizontal screen display and vertical screen display ;若所述电子装置触发所述预定操作,采集所述触摸显示屏在所述电子装置触发所述预定操作后的预定时间段内输出的第一控制信号;If the electronic device triggers the predetermined operation, collect a first control signal output by the touch display screen within a predetermined time period after the electronic device triggers the predetermined operation;根据所述第一控制信号保持所述触摸显示屏的当前显示状态;maintaining the current display state of the touch display screen according to the first control signal;所述处理器用于:The processor is used to:在所述电子装置触发所述预定操作所述预定时间段后,采集所述触摸显示屏输出的第二控制信号;After the electronic device triggers the predetermined operation for the predetermined period of time, collect the second control signal output by the touch screen;根据所述触摸显示屏输出的第二控制信号判断所述触摸显示屏是否被遮蔽;Determine whether the touch display screen is shielded according to the second control signal output by the touch display screen;在所述触摸显示屏被遮蔽时,控制所述触摸显示屏进入休眠状态。When the touch display screen is shielded, the touch display screen is controlled to enter a sleep state.5.如权利要求4所述的电子装置,其特征在于,所述处理器用于:5. The electronic device of claim 4, wherein the processor is configured to:根据所述触摸显示屏输出的第二控制信号判断所述触摸显示屏与物体的距离是否小于预定距离;Determine whether the distance between the touch display screen and the object is less than a predetermined distance according to the second control signal output by the touch display screen;检测所述电子装置的姿态并判断所述电子装置的是否为预定姿态;Detecting the posture of the electronic device and judging whether the posture of the electronic device is a predetermined posture;在所述触摸显示屏与所述物体的距离小于所述预定距离且所述电子装置处于所述预定姿态时判定所述触摸显示屏被遮蔽;Determine that the touch display screen is blocked when the distance between the touch display screen and the object is less than the predetermined distance and the electronic device is in the predetermined posture;控制所述触摸显示屏进入所述休眠状态。Control the touch screen to enter the sleep state.6.如权利要求4所述的电子装置,其特征在于,所述处理器用于根据所述触摸显示屏的顶部区域输出的第二控制信号判断所述触摸显示屏是否被遮蔽。6 . The electronic device of claim 4 , wherein the processor is configured to determine whether the touch display screen is shielded according to a second control signal output from a top area of the touch display screen. 7 .7.一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行权利要求1-3中任一项所述的控制方法。7. One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform claims 1-3 The control method described in any one of.
CN201811019889.2A2018-09-032018-09-03Control method, electronic device, and storage mediumActiveCN109388282B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811019889.2ACN109388282B (en)2018-09-032018-09-03Control method, electronic device, and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811019889.2ACN109388282B (en)2018-09-032018-09-03Control method, electronic device, and storage medium

Publications (2)

Publication NumberPublication Date
CN109388282A CN109388282A (en)2019-02-26
CN109388282Btrue CN109388282B (en)2022-03-22

Family

ID=65418365

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811019889.2AActiveCN109388282B (en)2018-09-032018-09-03Control method, electronic device, and storage medium

Country Status (1)

CountryLink
CN (1)CN109388282B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110113478A (en)*2019-03-132019-08-09华为技术有限公司The display control method and terminal device of terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102629183A (en)*2012-02-292012-08-08华为终端有限公司Terminal screen control method and device
CN107580106A (en)*2017-07-262018-01-12努比亚技术有限公司A kind of call control method, mobile terminal and computer-readable recording medium
CN107908313A (en)*2017-11-222018-04-13广东欧珀移动通信有限公司The control method and electronic device of electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP5455557B2 (en)*2009-10-272014-03-26京セラ株式会社 Mobile terminal device
CN107402675B (en)*2017-07-282019-08-02Oppo广东移动通信有限公司Touch operation response method and device, storage medium and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102629183A (en)*2012-02-292012-08-08华为终端有限公司Terminal screen control method and device
CN107580106A (en)*2017-07-262018-01-12努比亚技术有限公司A kind of call control method, mobile terminal and computer-readable recording medium
CN107908313A (en)*2017-11-222018-04-13广东欧珀移动通信有限公司The control method and electronic device of electronic device

Also Published As

Publication numberPublication date
CN109388282A (en)2019-02-26

Similar Documents

PublicationPublication DateTitle
CN110581904B (en)Control method, control device, electronic device, and storage medium
US9559740B2 (en)Mobile terminal case and mobile terminal
EP3385941B1 (en)Display panel and mobile terminal
CN109167857B (en)Calibration method, electronic device, storage medium, and computer apparatus
JP6062175B2 (en) Portable terminal, power saving control program, and power saving control method
EP3255967A1 (en)Mobile terminal
JP5743847B2 (en) Mobile terminal and low sensitivity area setting program
US20160033996A1 (en)Mobile terminal
US10007381B2 (en)Mobile terminal
EP3428777B1 (en)Electronic device having usb type-c interface
KR102152168B1 (en) Mobile terminal
CN111458935A (en)Display panel and terminal
US11606452B2 (en)Mobile terminal
US20170177149A1 (en)Touch control button, touch control panel, and touch control terminal
CN109710119B (en) Control method, control device, electronic device and storage medium
CN109710110B (en)Control method, control device, electronic device, and storage medium
CN109388282B (en)Control method, electronic device, and storage medium
CN109710109B (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
CN108304124A (en)Pressure touch inductive terminations, pressure touch inducing method and device, electronic equipment
CN109656429B (en)Control method, electronic device, and storage medium
CN108764829A (en)Reminding item processing method and device, storage medium and electronic equipment
CN108965576A (en)Incoming call processing method and device, storage medium and electronic equipment
EP3416246A1 (en)Electronic device having usb type-c interface

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp