WO2019100989A1 - Display screen component, control method and device, storage medium and electronic device - Google Patents

Display screen component, control method and device, storage medium and electronic device Download PDF

Info

Publication number
WO2019100989A1
WO2019100989A1 PCT/CN2018/115439 CN2018115439W WO2019100989A1 WO 2019100989 A1 WO2019100989 A1 WO 2019100989A1 CN 2018115439 W CN2018115439 W CN 2018115439W WO 2019100989 A1 WO2019100989 A1 WO 2019100989A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
signal strength
strength value
display screen
electronic device
Prior art date
Application number
PCT/CN2018/115439
Other languages
French (fr)
Chinese (zh)
Inventor
张海平
周意保
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019100989A1 publication Critical patent/WO2019100989A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the present application relates to the field of electronic device technologies, and in particular, to a display screen control method, apparatus, storage medium, and electronic device.
  • the electronic device detects proximity and distance of the user's face through the proximity sensor, and controls the electronic device to be turned off or bright according to the detected data.
  • the embodiment of the present application provides a display screen control method, device, storage medium, and electronic device, which can improve the accuracy of the display state control.
  • an embodiment of the present application provides an electronic device, including a display screen, a circuit board, and a sensor component disposed on the circuit board;
  • the sensor component is located on one side of the display screen and includes a plurality of signal transmitters and a signal receiver; the signal transmission frequencies between the at least two signal transmitters are different;
  • Each of the signal transmitters transmits a detection signal according to a signal transmission frequency interval thereof, and the detection signal is transmitted to the outside through the display screen, and the detection signal is reflected by an external object to form a reflection signal, and the reflection signal passes through the The display screen enters the signal receiver.
  • the embodiment of the present application further provides a display control method, which is applicable to the electronic device provided by any one of the embodiments of the present application, including:
  • the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver;
  • the state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  • the embodiment of the present application further provides a display control device, which is applicable to the electronic device provided in any one of the embodiments of the present application, including:
  • An intensity obtaining module configured to acquire a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the sounding signal detected by the signal receiver by the signal receiver;
  • a frequency acquisition module configured to acquire a signal transmission frequency of the signal transmitter
  • An intensity processing module configured to process a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter, to obtain a target signal strength value
  • control module configured to control a state of the display screen according to the target signal strength value and the signal strength threshold.
  • a storage medium provided by the embodiment of the present application has a computer program stored thereon, and when the computer program is run on a computer, the computer is caused to perform a display screen control method according to any embodiment of the present application.
  • an electronic device provided by an embodiment of the present application includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the display provided by any embodiment of the present application by calling the computer program. Screen control method.
  • FIG. 1 is a schematic diagram of a first structure of an electronic device according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a second structure of an electronic device according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a third structure of an electronic device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a clock of a signal transmitter according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of the arrangement of a signal transmitter and a signal receiver in an electronic device according to an embodiment of the present application.
  • FIG. 6 is another schematic diagram of a signal transmitter and a signal receiver in an electronic device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a first structure of a sensor component in an electronic device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a fourth structure of an electronic device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a second structure of a sensor component in an electronic device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a third structure of a sensor component in an electronic device according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a fourth structure of a sensor component in an electronic device according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of a fifth structure of an electronic device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic diagram of the opening of the display screen provided by the embodiment of the present application.
  • FIG. 14 is a schematic flowchart diagram of a display screen control method according to an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a display screen control apparatus according to an embodiment of the present application.
  • FIG. 16 is another schematic structural diagram of a display control device according to an embodiment of the present application.
  • FIG. 17 is a schematic diagram of a sixth structure of an electronic device according to an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of a seventh structure of an electronic device according to an embodiment of the present application.
  • An embodiment of the present application provides an electronic device, including: a display screen, a circuit board, and a sensor component disposed on the circuit board;
  • the sensor component is located on one side of the display screen and includes a plurality of signal transmitters and a signal receiver; the signal transmission frequencies between the at least two signal transmitters are different;
  • Each of the signal transmitters transmits a detection signal according to a signal transmission frequency interval thereof, and the detection signal is transmitted to the outside through the display screen, and the detection signal is reflected by an external object to form a reflection signal, and the reflection signal passes through the The display screen enters the signal receiver.
  • the plurality of signal transmitters are respectively spaced around the signal receiver.
  • the display screen is provided with a light shielding layer on a side of the sensor component; the light shielding layer is provided with a first opening corresponding to the signal transmitter, and a corresponding portion of the signal receiver Two openings.
  • the distance between the at least two signal transmitters and the signal receiver is different.
  • the distance between the signal transmitter and the signal receiver is 2 to 14 millimeters.
  • the sensor assembly further includes an ambient light sensor for sensing an ambient light signal.
  • the distance between the ambient light sensor and the signal receiver is greater than the distance between the signal transmitter and the signal receiver.
  • the electronic device may further include: a housing; the display screen, the circuit board, and the sensor assembly are mounted within the housing.
  • the transmit frequencies of the plurality of signal transmitters are sequentially incremented.
  • the signal transmitter, the signal receiver, and the ambient light sensor are packaged in a chip.
  • the distance between the signal transmitter and the signal receiver includes a geometric center distance between the signal transmitter and the signal receiver.
  • the signal emitter is an infrared emitter and the signal receiver is an infrared receiver.
  • the electronic device can be a device such as a smartphone or a tablet.
  • the electronic device 100 includes a cover 10, a display screen 21, a circuit board 30, and a housing 40.
  • the cover 10 is mounted on the display screen 21 to cover the display screen 21.
  • the cover 10 can be a clear glass cover.
  • the cover 10 can be a cover glass made of a material such as sapphire.
  • the display screen 21 is mounted on the housing 40 to form a display surface of the electronic device 100.
  • the display screen 21 serves as a front case of the electronic device 100 and forms a closed space with the housing 40 for accommodating other electronic components of the electronic device 100.
  • the display screen 21 forms a display surface of the electronic device 100 for displaying information such as images, texts, and the like.
  • connection In the description of the present application, it should be noted that the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be fixed or detachable, for example, unless otherwise specifically defined and defined. Connected, or integrally connected; may be mechanically connected, may be electrically connected or may communicate with each other; may be directly connected, or may be indirectly connected through an intermediate medium, may be internal communication of two elements or interaction of two elements relationship.
  • Connected, or integrally connected may be mechanically connected, may be electrically connected or may communicate with each other; may be directly connected, or may be indirectly connected through an intermediate medium, may be internal communication of two elements or interaction of two elements relationship.
  • the specific meanings of the above terms in the present application can be understood on a case-by-case basis.
  • display 21 can be displayed in full screen. That is, the display screen 21 includes only the display area, and does not include the non-display area, as shown in FIG.
  • the circuit board 30 is mounted inside the casing 40 to house the circuit board 30 in the enclosed space.
  • Circuit board 30 can be the motherboard of electronic device 100.
  • a grounding point is provided on the circuit board 30 to achieve grounding of the circuit board 30.
  • Functional components such as a camera, a processor, and a sensor can be integrated on the circuit board 30.
  • the display 21 can be electrically connected to the circuit board 30.
  • display control circuitry is provided on circuit board 30.
  • the display control circuit outputs an electrical signal to the display screen 21 to control the display screen 21 to display information.
  • the housing 40 is used to form an outer contour of the electronic device 100.
  • the material of the housing 40 may be plastic or metal.
  • the housing 40 can be integrally formed.
  • sensor assembly 22 is disposed on circuit board 30.
  • the sensor assembly 22 is located on one side of the display screen 21.
  • the sensor assembly 23 is disposed on the inside of the display screen 21.
  • the inner side refers to the side where the display screen 21 is not visible when viewed from the outside of the electronic device 100. That is, the sensor assembly 22 is located inside the electronic device 100.
  • the sensor component 22 can include a plurality of signal transmitters 221 and a signal receiver 222.
  • Each signal transmitter 221 corresponds to or sets a signal transmission frequency, and the signal transmitter 221 transmits a detection signal A according to its signal transmission frequency interval.
  • the detection signal A is transmitted to the outside through the display screen 21, and the detection signal A passes through the external object 200. After (for example, the user's face), a reflected signal B is generated.
  • the reflected signal B enters the signal receiver 222 through the display 21.
  • the signal transmission frequencies of the at least two signal transmitters 221 are different. For example, when there are five signal transmitters 221, two of the signal transmitters 221 have different transmission frequencies, and the other three signal transmitters 221 The transmission frequency is the same.
  • the signal transmission frequencies of all of the signal transmitters 221 are different, for example, when there are three signal transmitters 221, wherein the signal transmission frequencies of the three signal transmitters 221 are different.
  • the signal transmission reference clocks of the three signal transmitters 221 (taking pulse signals as an example) are respectively T1 and T2 to T3.
  • the signal transmission reference clocks of the three signal transmitters 221 have different periods. That is, the signal transmission frequency is different, and the signal transmitter 221 sends a detection signal when it arrives at the rising edge of each pulse.
  • the signal transmission frequency of the signal transmitter 221 is sequentially increased, so that the signal receiver 222 can sequentially receive the detection signals of the signal transmitters 221, and the detection signals of the respective signal transmitters 221 do not overlap. It can improve the accuracy of the detection signal reception, improve the accuracy of proximity sensing or detection, and thus improve the accuracy of the display state control.
  • the number of the signal transmitters 221 can be set according to actual needs, for example, it can be 2, 3, 4, and so on.
  • a plurality of signal transmitters 221 are respectively disposed around the signal receiver 222; it is understood that the signal transmitter 221 is disposed around the signal receiver 22. Since the signal transmitters 221 are respectively disposed around the signal receiver 222, the loss of the detection signal can be reduced, and the signal receiving effect of the signal receiver 222 can be improved, thereby improving the accuracy of proximity sensing or detection.
  • the signal transmitter 221 of different signal transmission frequencies which is also different in distance from the signal receiver 222.
  • the signal transmission frequencies of at least two signal transmitters 221 are different, then the distance between the at least two signal transmitters 221 and the signal receiver 222 is also different.
  • the detection signal delay of the signal transmitter 221 with a small signal transmission frequency can be reduced, the signal receiver 222 can receive the detection signal in time, and the interference of the detection signal of the other signal transmitter 221 can be prevented, and the signal reception can be improved.
  • the signal receiving effect of the device 222 thereby improving the accuracy of proximity sensing or detection.
  • the signal transmission frequency of the signal transmitter 221 on the left is greater than the signal transmission frequency of the signal transmitter 221 on the right
  • the signal transmission frequency of the signal transmitter 221 on the top is greater than that of the signal transmitter 221 on the left. Therefore, the distance d1 between the top signal transmitter 221 and the signal receiver 222 is smaller than the distance d2 between the left signal transmitter 221 and the signal receiver 22, and the distance between the left signal transmitter 221 and the signal receiver 22. D2 is smaller than the distance d3 between the signal transmitter 221 on the right and the signal receiver 22.
  • the delay of the signal transmitter 221 receiving the detection signal of the signal transmitter 221 can be reduced, and the detection signal sent by the signal transmitter 221 can be received in time.
  • the reception of the detection signal to the other signal transmitter 221 due to the reception delay is prevented from interfering with the detection signal reception of the signal transmitter 221, and the interference of the detection signal of the signal transmitter 221 is received.
  • the distance between the signal emitter 221 and the signal receiver 222 is between 2 and 14 millimeters. Experiments have shown that this range of distances can have a better proximity sensing effect with high accuracy.
  • the distance between the signal emitter 221 and the signal receiver 222 can include the distance between the geometric center of the signal emitter 221 and the geometric center of the signal receiver 222.
  • the signal transmitter 221 and the signal receiver 222 are spaced apart from each other to also improve the isolation between the signal transmitter 221 and the signal receiver 222, and reduce the influence of the signal transmitted by the signal transmitter 221 on the signal receiver 222.
  • the signal transmitter 221 and the signal receiver 222 are packaged as a first chip 24.
  • the signal emitter 221 is an infrared emitter for emitting infrared light.
  • the signal receiver 222 is an infrared receiver for receiving infrared light.
  • the display screen 21 can be a display screen of the type such as a liquid crystal display (LCD) or an organic light-emitting diode display (OLED).
  • the display screen 21 may include a backlight board, a lower polarizer, an array substrate, a liquid crystal layer, a color filter substrate, and an upper polarizer which are sequentially stacked.
  • the display screen 21 is an organic light emitting diode display screen
  • the display screen 21 may include a base layer, an anode, an organic layer, a conductive layer, an emission layer, and a cathode, which are sequentially stacked.
  • sensor assembly 22 can also include an ambient light sensor 223 for sensing ambient ambient light signals. It can be understood that the ambient light sensor 223 and the signal transmitter 221 and the signal receiver 222 are disposed inside the display screen 21.
  • the ambient light sensor 223 is configured to sense an ambient light signal transmitted through the display screen 21, and transmit the sensing information, such as ambient light intensity, to a processor of the electronic device 100, and the processor controls the brightness of the display screen 21 according to the sensing information.
  • the processor can increase the brightness of the display screen 21.
  • the processor can reduce the brightness of the display screen 21.
  • signal transmitter 221, signal receiver 222, and ambient light sensor 223 are spaced apart from one another.
  • the distance between the signal transmitter 221 and the signal receiver 222 is between 2 and 14 millimeters. It will be appreciated that the above distance is the distance between the geometric center of the signal transmitter 221 and the geometric center of the signal receiver 222.
  • the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are spaced apart from each other to improve the isolation between the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223, and reduce the signal pair transmitted by the signal transmitter 221. The effects caused by the signal receiver 222 and the ambient light sensor 233.
  • the distance between the ambient light sensor 223 and the signal receiver 222 may be greater than that of the signal transmitter 221 and the signal receiver 222. The distance between them. It will be appreciated that the distance between ambient light sensor 223 and signal receiver 222 is the distance between the geometric center of ambient light sensor 223 and the geometric center of signal receiver 222.
  • the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are packaged into a second chip 25.
  • sensor assembly 22 includes a signal transmitter 221, a signal receiver 222, and an ambient light sensor 223.
  • the ambient light sensor 223 is used to detect the ambient light intensity.
  • the electronic device 100 can adjust the brightness of the display screen 21 according to the ambient light intensity detected by the ambient light sensor 223.
  • the signal transmitter 221 and the signal receiver 222 are disposed adjacent to each other with the ambient light sensor 223, respectively.
  • the distance between the geometric center of the signal emitter 221 and the geometric center of the signal receiver 222 is 2 to 14 millimeters.
  • the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are packaged into a second chip 25.
  • sensor assembly 22 includes a signal transmitter 221, a signal receiver 222, and an ambient light sensor 223.
  • the ambient light sensor 223 is used to detect the ambient light intensity.
  • the electronic device 100 can adjust the brightness of the display screen 21 according to the ambient light intensity detected by the ambient light sensor 223.
  • the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are spaced apart from each other.
  • the distance between the signal transmitter 221 and the signal receiver 222 is 2 to 14 mm. It will be appreciated that the above distance is the distance between the geometric center of the signal transmitter 221 and the geometric center of the signal receiver 222.
  • the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are spaced apart from each other to improve the isolation between the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223, and reduce the signal pair transmitted by the signal transmitter 221. The effects caused by the signal receiver 222 and the ambient light sensor 223.
  • the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are packaged into a second chip 25.
  • a side of the display screen 21 facing the sensor assembly 22 is provided with a light shielding layer 210, and a corresponding opening 213 is provided for each signal emitter 221 on the light shielding layer 210 for the signal receiver 222.
  • the aperture 213 and the aperture 214 allow signals such as optical signals, acoustic signals, and the like to pass.
  • the signal transmitter 221 is configured to transmit the detection signal A outward.
  • the detection signal A is transmitted to the outside through the opening 213 and the display screen 21.
  • the external object 200 for example, the user's face
  • a reflected signal B is generated.
  • the reflected signal B enters the signal receiver 222 through the aperture 214 and the display screen 21.
  • the display screen 21 includes only the display area 215, and does not include the non-display area, that is, the display screen 21 is a full screen.
  • the display area 215 performs a display function of the display screen 21 for displaying information.
  • the opening 213 and the opening 214 provided in the light shielding layer 210 of the display screen 21 are located in the display area 215 of the display screen 21. Through the opening 213 and the opening 214, the sensor assembly 22 can realize the proximity sensing function of the electronic device 100, thereby eliminating the need to separately provide an opening in the non-display area of the display screen 21.
  • the opening 213 and the opening 214 are circular holes.
  • the opening 213 and the opening 214 have a diameter of 2 to 4 mm.
  • the opening 213 and the opening 214 may also be square holes, elliptical holes, and the like.
  • the embodiment of the present application provides a display screen control method, which is applicable to an electronic device.
  • the electronic device includes an electronic device as provided in any of the embodiments of the present application.
  • the display control method controls the state of the display screen according to the distance state between the electronic device and the external object.
  • the distance state includes a distant state and a proximity state.
  • the status of the display includes lighting and extinguishing. The display control method will be described below.
  • the embodiment of the present application further provides a display control method, which is applicable to the electronic device introduced above, and includes:
  • the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver;
  • the state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  • the signal strength value corresponding to the signal transmitter is processed according to a signal transmission frequency of the signal transmitter to obtain a target signal strength value, including:
  • a corresponding target signal strength value is obtained according to the weighted sum value.
  • taking a signal strength value corresponding to the signal transmitter in a preset time period including:
  • the average signal strength value is used as a signal strength value corresponding to the signal transmitter.
  • controlling the state of the display screen based on the target signal strength value and the signal strength threshold includes:
  • the state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  • the signal strength threshold comprises a first threshold
  • the step of controlling the state of the display screen according to the target signal strength value and the signal strength threshold comprises:
  • a display screen control method is also provided. Referring to FIG. 14, the specific process of the method is as follows:
  • the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver.
  • the signal strength corresponding to the signal transmitter is the strength of the detection signal emitted by the signal transmitter a detected by the signal receiver.
  • the preset time period can be set according to actual needs, for example, 10s, 5s, and the like.
  • the preset time period may be determined based on the signal transmission period T of the signal transmitter, such as 2T, 3T, and the like.
  • the signal strength value c1 corresponding to the signal transmitter a the signal strength value c2 corresponding to the signal transmitter b2, and the signal strength value c3 corresponding to the signal transmitter c can be respectively obtained.
  • multiple signal strength values corresponding to the signal transmitters may be acquired within a preset time period.
  • the average signal strength corresponding to the signal transmitter may be calculated.
  • the average signal strength is taken as the signal strength corresponding to the signal transmitter.
  • the step of “acquiring the signal strength value corresponding to the signal transmitter in the preset time period” may include:
  • the average signal strength value is used as a signal strength value corresponding to the signal transmitter.
  • the signal transmitter a transmits the detection signal at regular intervals, and the signal receiver detects the detection signal transmitted by the signal transmitter a, so that a plurality of actual signals corresponding to the signal transmitter a can be obtained.
  • the intensity values, such as n actual signal strength values c11, c12, ... c1n, n are positive integers greater than two.
  • the signal transmitting frequency of the signal transmitter is the number or the number of detecting signals transmitted by the signal transmitter in a unit time.
  • the signal transmission frequency f1 of the signal transmitter a, the signal transmission frequency f2 of the signal transmitter b, and the signal transmission frequency f3 of the signal transmitter c can be obtained.
  • S503. Process a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter, to obtain a target signal strength value.
  • the signal transmission frequency f1 of the signal transmitter a1 For example, based on the signal transmission frequency f1 of the signal transmitter a1, the signal transmission frequency f2 of the signal transmitter b2, the signal transmission frequency f3 of the signal transmitter c, the signal strength value c1 corresponding to the signal transmitter a1, and the signal transmitter b
  • the corresponding signal strength value c2 and the signal strength value c3 corresponding to the signal transmitter c are summed to obtain a target signal strength value c.
  • the signal strength value in order to improve the accuracy of the display state control, may be subjected to a weighted summation process, wherein the signal transmission frequency of the signal transmitter may correspond to the weight value.
  • the step of “processing the signal strength value corresponding to the signal transmitter according to the signal transmission frequency of the signal transmitter to obtain the target signal strength value” may include:
  • a corresponding target signal strength value is obtained according to the weighted sum value.
  • the weight value q1 corresponding to the signal transmission frequency f1 of the signal transmitter a1 the weight value q2 corresponding to the signal transmission frequency f2 of the signal transmitter b2, and the weight value q3 corresponding to the signal transmission frequency f3 of the signal transmitter c;
  • the desired target signal strength value is obtained based on the signal strength weighted sum Q.
  • the signal strength can be weighted and Q to obtain the desired target signal strength value.
  • the mapping relationship between the signal transmission frequency and the weight value may be preset, such that after acquiring the signal transmission frequency of the signal transmitter, the corresponding weight value may be acquired based on the mapping relationship.
  • the status of the display includes lighting and extinguishing.
  • the target signal strength value can be compared to the signal strength threshold, and the state of the display screen can be controlled based on the comparison result.
  • the electronic device may control the state of the display screen according to the target signal strength value and the signal strength threshold according to the state of the display screen when it is required to control the state of the display screen. For example, when the electronic device is in a voice call state, the state of the display screen is controlled. At this time, when the user's face is close to the display, the display can be turned off to prevent the user from causing a malfunction to the display. When the user's face is away from the display, the control display lights up to restore the normal display of the display.
  • the threshold may be varied based on the threshold subtraction coefficient corresponding to the current signal strength value to adapt to the proximity detection under the current signal strength value.
  • the step of “controlling the state of the display screen according to the target signal strength value and the signal strength threshold” may include:
  • the state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  • the threshold attenuation coefficient is a attenuation ratio of the signal strength threshold, for example, may be 30 percent or the like.
  • the signal intensity region (ci, cj) where the target signal strength value c is located is obtained, and the threshold attenuation coefficient corresponding to the signal strength region (ci, cj) is p, and the initial signal strength threshold is assumed to be y.
  • the signal strength threshold Y yy * p.
  • the signal strength interval in which the target signal strength value is located is (43, 159). Subsequently, the electronic device can obtain the signal intensity interval (43, 159) corresponding to The threshold attenuation coefficient is 30%.
  • the signal strength threshold may include a first threshold; in this case, the step of "controlling the state of the display screen according to the target signal strength value and the signal strength threshold" may include:
  • the signal strength threshold includes a first threshold.
  • the first threshold may be a high threshold.
  • the high threshold is used to trigger the control display to be off when the display is in a bright state.
  • the electronic device After the display screen of the electronic device is in a bright screen state, after the electronic device acquires the target signal strength value, the electronic device compares the target signal strength value with the first threshold to determine whether the target signal strength value is greater than the first A threshold. When it is determined that the target signal strength value is greater than the first threshold, it indicates that the electronic device is in a close state with an external object (for example, a user's face), and the control display screen is extinguished. When it is determined that the target signal strength value is less than or equal to the first threshold, it indicates that the electronic device is not in a close state with an external object (for example, a user's face), and the electronic device maintains the display screen in a bright state. .
  • the target signal strength value is greater than the first threshold, and the terminal controls the display to go out.
  • the signal strength threshold may include a second threshold; the step of "controlling the state of the display screen according to the target signal strength value and the signal strength threshold" may include:
  • the signal strength threshold comprises a second threshold.
  • the second threshold may be a low threshold.
  • the low threshold is used to trigger the control display to illuminate when the display is in the off state.
  • the low threshold is less than the high threshold described above.
  • the electronic device After the display screen of the electronic device is in the off-screen state, after the electronic device acquires the target signal strength value, the electronic device compares the target signal strength value with the second threshold to determine whether the target signal strength value is smaller than the first Two thresholds. When it is determined that the target signal strength value is smaller than the second threshold, it indicates that the electronic device is in a distant state from an external object (for example, a user's face), and the control display is lit at this time. When it is determined that the target signal strength value is greater than or equal to the second threshold, it indicates that the electronic device is not in a distant state from an external object (for example, a user's face), and the electronic device maintains the display screen in a blank state. .
  • the target signal strength value is less than the second threshold, and the electronic device controls the display to light.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” or “second” may include one or more of the described features either explicitly or implicitly. In the description of the present application, the meaning of "a plurality" is two or more unless specifically and specifically defined otherwise.
  • the proximity sensor is currently set under the display screen, due to the hindrance of the display screen and the weak penetration capability of the detection signal, the signal received by the signal receiver is weak, and the electronic device cannot accurately recognize the approaching or distant state. , which in turn leads to lower accuracy of display state control.
  • the display screen control method provided by the embodiment of the present application may acquire a signal strength value corresponding to the signal transmitter in a preset time period; acquire a signal transmission frequency of the signal transmitter, according to a signal transmission frequency of the signal transmitter.
  • the signal strength value corresponding to the signal transmitter is processed to obtain a target signal strength value; and the state of the display screen is controlled according to the target signal strength value and the signal strength threshold.
  • the scheme can control the state of the display screen based on the signal strengths of the signal transmitters of the plurality of different transmission frequencies, that is, comprehensively consider the signal strength of the plurality of signal transmitters to control the state of the display screen, and the scheme can increase the received signal strength.
  • Improve the transmission rate of the transmitted signal break the barrier of the display and the limitation of the signal penetration energy of the display, and improve the accuracy of the proximity or distance judgment, thereby improving the accuracy of the display state control and the steady state of the electronic device. Sex.
  • the method provided by the embodiment of the present application may further acquire a corresponding signal strength threshold based on signal strengths of multiple signal transmitters, so that the signal strength threshold may be associated with an external environment, which may reduce the detection of the proximity sensor by the external environment. The influence can thus further improve the accuracy of proximity or remote detection.
  • a display control device is further provided in the embodiment of the present application, including:
  • An intensity obtaining module configured to acquire a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the sounding signal detected by the signal receiver by the signal receiver;
  • a frequency acquisition module configured to acquire a signal transmission frequency of the signal transmitter
  • An intensity processing module configured to process a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter, to obtain a target signal strength value
  • control module configured to control a state of the display screen according to the target signal strength value and the signal strength threshold.
  • the intensity processing module can include:
  • a weight acquisition submodule configured to acquire a weight value corresponding to a signal transmission frequency of the signal transmitter
  • a calculation submodule configured to perform weighted summation on a signal strength value corresponding to the signal transmitter according to the weight value, to obtain a weighted sum value
  • Obtaining a submodule configured to obtain a corresponding target signal strength value according to the weighted sum value.
  • the strength acquisition module may be specifically configured to:
  • the average signal strength value is used as a signal strength value corresponding to the signal transmitter.
  • control module may be specifically configured to:
  • the state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  • the signal strength threshold includes a first threshold
  • the control module may be specifically configured to:
  • FIG. 15 is a schematic structural diagram of a display control device according to an embodiment of the present application.
  • the display control device is applied to the electronic device provided by any of the embodiments of the present application.
  • the display control device 600 may include an intensity acquisition module 601, a frequency acquisition module 402, an intensity processing module 603, and a control module 604, as follows:
  • the strength obtaining module 601 is configured to acquire a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver ;
  • a frequency acquisition module 602 configured to acquire a signal transmission frequency of the signal transmitter
  • the intensity processing module 603 is configured to process, according to a signal transmission frequency of the signal transmitter, a signal strength value corresponding to the signal transmitter, to obtain a target signal strength value;
  • the control module 604 is configured to control a state of the display screen according to the target signal strength value and the signal strength threshold.
  • the intensity processing module 603 can include:
  • the weight acquisition sub-module 6031 is configured to acquire a weight value corresponding to a signal transmission frequency of the signal transmitter
  • the calculating sub-module 6032 is configured to perform weighted summation on the signal strength values corresponding to the signal transmitter according to the weight value to obtain a weighted sum value;
  • the obtaining submodule 6032 is configured to obtain a corresponding target signal strength value according to the weighted sum value.
  • the strength obtaining module 601 can be specifically configured to:
  • the average signal strength value is used as a signal strength value corresponding to the signal transmitter.
  • control module 604 can be specifically configured to:
  • the state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  • the signal strength threshold includes a first threshold
  • the control module 604 can be specifically configured to:
  • the steps performed by each module in the display control device may refer to the method steps described in the foregoing method embodiments.
  • the display control device can be integrated in an electronic device such as a mobile phone or a tablet computer.
  • the foregoing modules may be implemented as an independent entity, or may be implemented in any combination, and may be implemented as the same entity or a plurality of entities.
  • the foregoing units refer to the foregoing embodiments, and details are not described herein again.
  • the strength obtaining module 601 can obtain the signal strength value corresponding to the signal transmitter in the preset time period; and the frequency acquiring module 602 obtains the signal transmitter. a signal transmission frequency; the intensity processing module 603 processes the signal strength value corresponding to the signal transmitter according to the signal transmission frequency of the signal transmitter to obtain a target signal strength value; and the control module 604 determines the target signal strength value according to the target signal strength value.
  • the signal strength threshold controls the state of the display.
  • the scheme can control the state of the display screen based on the signal strengths of the signal transmitters of the plurality of different transmission frequencies, that is, comprehensively consider the signal strength of the plurality of signal transmitters to control the state of the display screen, and the scheme can increase the received signal strength. It breaks the barrier of the display and the limitation of its own signal penetration energy, and improves the accuracy of the proximity or distance judgment, thereby improving the accuracy of the display state control and the steady state of the electronic device.
  • the electronic device 700 includes a processor 701 and a memory 702.
  • the processor 701 is electrically connected to the memory 702.
  • the processor 700 is a control center of the electronic device 700 that connects various portions of the entire electronic device using various interfaces and lines, by running or loading a computer program stored in the memory 702, and recalling data stored in the memory 702, The various functions of the electronic device 700 are performed and the data is processed to perform overall monitoring of the electronic device 700.
  • the memory 702 can be used to store software programs and modules, and the processor 701 executes various functional applications and data processing by running computer programs and modules stored in the memory 702.
  • the memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of electronic devices, etc.
  • memory 702 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 702 can also include a memory controller to provide processor 701 access to memory 702.
  • the processor 701 in the electronic device 700 loads the instructions corresponding to the process of one or more computer programs into the memory 702 according to the following steps, and is stored in the memory 702 by the processor 701.
  • the computer program in which to implement various functions, as follows:
  • the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver;
  • the state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  • the processor 701 may specifically perform the following steps:
  • a corresponding target signal strength value is obtained according to the weighted sum value.
  • the processor 701 may specifically perform the following steps:
  • the average signal strength value is used as a signal strength value corresponding to the signal transmitter.
  • the processor 701 when controlling the state of the display screen according to the target signal strength value and the signal strength threshold, the processor 701 may specifically perform the following steps:
  • the state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  • the signal strength threshold includes a first threshold; when the state of the display screen is controlled according to the target signal strength value and the signal strength threshold, the processor 701 may specifically perform the following steps:
  • the electronic device 700 may further include: a display 703, a radio frequency circuit 704, an audio circuit 705, and a power source 706.
  • the display 703, the radio frequency circuit 704, the audio circuit 705, and the power source 706 are electrically connected to the processor 701, respectively.
  • the display 703 can be used to display information entered by a user or information provided to a user, as well as various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display 703 may include a display panel.
  • the display panel may be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the radio frequency circuit 704 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
  • the audio circuit 705 can be used to provide an audio interface between a user and an electronic device through a speaker or a microphone.
  • the power source 706 can be used to power various components of the electronic device 700.
  • the power supply 706 can be logically coupled to the processor 701 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
  • the electronic device 700 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, causes the computer to execute the display screen control method in any of the above embodiments, such as: Obtaining a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver; acquiring the signal transmitter a signal transmission frequency; processing a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter to obtain a target signal strength value; and controlling the display screen according to the target signal strength value and the signal intensity threshold status.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
  • ROM read only memory
  • RAM random access memory
  • the computer program may be stored in a computer readable storage medium, such as in a memory of the electronic device, and executed by at least one processor in the electronic device, and may include, for example, application cleaning during execution.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory, a random access memory, or the like.
  • each functional module may be integrated into one processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated module if implemented in the form of a software functional module and sold or used as a standalone product, may also be stored in a computer readable storage medium, such as a read only memory, a magnetic disk or an optical disk, etc. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A display screen control method and device, a storage medium and an electronic device. The electronic device comprises a display screen (21), a circuit board (30), and a sensor component (22) arranged on the circuit board (30), wherein the sensor component (22) is located at one side of the display screen (21), and comprises multiple signal transmitters (221) and one signal receiver (222); and the signal transmission frequencies of at least two signal transmitters (221) are different.

Description

显示屏组件、控制方法、装置、存储介质及电子装置Display screen component, control method, device, storage medium and electronic device
本申请要求于2017年11月22日提交中国专利局、申请号为201711176963.7、发明名称为“显示屏控制方法、装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on November 22, 2017, the Chinese Patent Application No. 201711176963.7, entitled "Display Control Method, Apparatus, Storage Medium, and Electronic Device", the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本申请涉及电子设备技术领域,特别涉及一种显示屏控制方法、装置、存储介质及电子装置。The present application relates to the field of electronic device technologies, and in particular, to a display screen control method, apparatus, storage medium, and electronic device.
背景技术Background technique
随着通信技术的发展,诸如智能手机等电子设备越来越普及。在电子设备的使用过程中,例如通话过程中,为了避免用户对电子设备的误操作,当用户脸部靠近电子设备达到一定距离后,电子设备会自动熄屏。With the development of communication technologies, electronic devices such as smart phones are becoming more and more popular. In the process of using the electronic device, for example, during the call, in order to avoid the user's misoperation of the electronic device, when the user's face approaches the electronic device to reach a certain distance, the electronic device automatically turns off the screen.
通常,电子设备通过接近传感器来检测用户脸部的靠近和远离,根据检测到的数据来控制电子设备熄屏或者亮屏。Generally, the electronic device detects proximity and distance of the user's face through the proximity sensor, and controls the electronic device to be turned off or bright according to the detected data.
发明内容Summary of the invention
本申请实施例提供一种显示屏控制方法、装置、存储介质及电子装置,可以提升显示屏状态控制的准确性。The embodiment of the present application provides a display screen control method, device, storage medium, and electronic device, which can improve the accuracy of the display state control.
第一方面,本申请实施例提供一种电子装置,包括显示屏、电路板以及设置在所述电路板上的传感器组件;In a first aspect, an embodiment of the present application provides an electronic device, including a display screen, a circuit board, and a sensor component disposed on the circuit board;
所述传感器组件位于所述显示屏一侧,包括多个信号发射器以及一个信号接收器;至少两个信号发射器之间的信号发射频率不相同;The sensor component is located on one side of the display screen and includes a plurality of signal transmitters and a signal receiver; the signal transmission frequencies between the at least two signal transmitters are different;
每个所述信号发射器根据其信号发射频率间隔发射探测信号,所述探测信号透过所述显示屏传输到外界,所述探测信号经过外界物体反射后形成反射信号,所述反射信号通过所述显示屏进入所述信号接收器。Each of the signal transmitters transmits a detection signal according to a signal transmission frequency interval thereof, and the detection signal is transmitted to the outside through the display screen, and the detection signal is reflected by an external object to form a reflection signal, and the reflection signal passes through the The display screen enters the signal receiver.
第二方面,本申请实施例还提供了一种显示屏控制方法,适用于本申请实施例任一提供的电子装置,包括:In a second aspect, the embodiment of the present application further provides a display control method, which is applicable to the electronic device provided by any one of the embodiments of the present application, including:
获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接收器检测到所述信号发射器发射的探测信号的信号强度值;Obtaining a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver;
获取所述信号发射器的信号发射频率;Obtaining a signal transmission frequency of the signal transmitter;
根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;And processing, according to a signal transmission frequency of the signal transmitter, a signal strength value corresponding to the signal transmitter to obtain a target signal strength value;
根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
第三方面,本申请实施例还提供了一种显示屏控制装置,适用于本申请实施例任一提供的电子装置,包括:In a third aspect, the embodiment of the present application further provides a display control device, which is applicable to the electronic device provided in any one of the embodiments of the present application, including:
强度获取模块,用于获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接收器检测到所述信号发射器发射的探测信号的信号强度值;An intensity obtaining module, configured to acquire a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the sounding signal detected by the signal receiver by the signal receiver;
频率获取模块,用于获取所述信号发射器的信号发射频率;a frequency acquisition module, configured to acquire a signal transmission frequency of the signal transmitter;
强度处理模块,用于根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;An intensity processing module, configured to process a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter, to obtain a target signal strength value;
控制模块,用于根据所述目标信号强度值和信号强度阈值控制显示屏的状态。And a control module, configured to control a state of the display screen according to the target signal strength value and the signal strength threshold.
第四方面,本申请实施例提供的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如本申请任一实施例提供的显示屏控制方法。In a fourth aspect, a storage medium provided by the embodiment of the present application has a computer program stored thereon, and when the computer program is run on a computer, the computer is caused to perform a display screen control method according to any embodiment of the present application.
第五方面,本申请实施例提供的电子装置,包括处理器和存储器,所述存储器有计算机程序,所述处理器通过调用所述计算机程序,用于执行如本申请任一实施例提供的显示屏控制方法。In a fifth aspect, an electronic device provided by an embodiment of the present application includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the display provided by any embodiment of the present application by calling the computer program. Screen control method.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1为本申请实施例提供的电子设备的第一结构示意图。FIG. 1 is a schematic diagram of a first structure of an electronic device according to an embodiment of the present application.
图2为本申请实施例提供的电子设备的第二种结构示意图。FIG. 2 is a schematic diagram of a second structure of an electronic device according to an embodiment of the present application.
图3为本申请实施例提供的电子设备的第三种结构示意图。FIG. 3 is a schematic diagram of a third structure of an electronic device according to an embodiment of the present disclosure.
图4为本申请实施例提供的信号发射器的时钟示意图。FIG. 4 is a schematic diagram of a clock of a signal transmitter according to an embodiment of the present application.
图5为本申请实施例提供的电子设备中的信号发射器与信号接收器的排布示意图。FIG. 5 is a schematic diagram of the arrangement of a signal transmitter and a signal receiver in an electronic device according to an embodiment of the present application.
图6为本申请实施例提供的电子设备中的信号发射器与信号接收器的另一排布示意图。FIG. 6 is another schematic diagram of a signal transmitter and a signal receiver in an electronic device according to an embodiment of the present disclosure.
图7为本申请实施例提供的电子设备中的传感器组件的第一种结构示意图。FIG. 7 is a schematic diagram of a first structure of a sensor component in an electronic device according to an embodiment of the present disclosure.
图8为本申请实施例提供的电子设备的第四种结构示意图。FIG. 8 is a schematic diagram of a fourth structure of an electronic device according to an embodiment of the present disclosure.
图9为本申请实施例提供的电子设备中的传感器组件的第二种结构示意图。FIG. 9 is a schematic diagram of a second structure of a sensor component in an electronic device according to an embodiment of the present disclosure.
图10为本申请实施例提供的电子设备中的传感器组件的第三种结构示意图。FIG. 10 is a schematic diagram of a third structure of a sensor component in an electronic device according to an embodiment of the present application.
图11为本申请实施例提供的电子设备中的传感器组件的第四种结构示意图。FIG. 11 is a schematic diagram of a fourth structure of a sensor component in an electronic device according to an embodiment of the present disclosure.
图12为本申请实施例提供的电子设备的第五种结构示意图。FIG. 12 is a schematic diagram of a fifth structure of an electronic device according to an embodiment of the present disclosure.
图13为本申请实施例提供的显示屏的开孔设置示意图。FIG. 13 is a schematic diagram of the opening of the display screen provided by the embodiment of the present application.
图14为本申请实施例提供的显示屏控制方法的流程示意图。FIG. 14 is a schematic flowchart diagram of a display screen control method according to an embodiment of the present application.
图15为本申请实施例提供的显示屏控制装置的结构示意图。FIG. 15 is a schematic structural diagram of a display screen control apparatus according to an embodiment of the present application.
图16为本申请实施例提供的显示屏控制装置的另一结构示意图。FIG. 16 is another schematic structural diagram of a display control device according to an embodiment of the present application.
图17为本申请实施例提供的电子设备的第六种结构示意图。FIG. 17 is a schematic diagram of a sixth structure of an electronic device according to an embodiment of the present application.
图18为本申请实施例提供的电子设备的第七种结构示意图。FIG. 18 is a schematic structural diagram of a seventh structure of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person skilled in the art based on the embodiments of the present application without creative efforts are within the scope of the present application.
下文的公开提供了许多不同的实施方式或例子用来实现本申请的不同结构。为了简化本申请的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本申请。The following disclosure provides many different embodiments or examples for implementing the different structures of the present application. In order to simplify the disclosure of the present application, the components and settings of the specific examples are described below. Of course, they are merely examples and are not intended to limit the application.
本申请实施例提供了一种电子装置,包括:显示屏、电路板以及设置在所述电路板上的传感器组件;An embodiment of the present application provides an electronic device, including: a display screen, a circuit board, and a sensor component disposed on the circuit board;
所述传感器组件位于所述显示屏一侧,包括多个信号发射器以及一个信号接收器;至少两个信号发射器之间的信号发射频率不相同;The sensor component is located on one side of the display screen and includes a plurality of signal transmitters and a signal receiver; the signal transmission frequencies between the at least two signal transmitters are different;
每个所述信号发射器根据其信号发射频率间隔发射探测信号,所述探测信号透过所述显示屏传输到外界,所述探测信号经过外界物体反射后形成反射信号,所述反射信号通过所述显示屏进入所述信号接收器。Each of the signal transmitters transmits a detection signal according to a signal transmission frequency interval thereof, and the detection signal is transmitted to the outside through the display screen, and the detection signal is reflected by an external object to form a reflection signal, and the reflection signal passes through the The display screen enters the signal receiver.
在一些实施例中,所述多个信号发射器分别间隔设置在所述信号接收器周围。In some embodiments, the plurality of signal transmitters are respectively spaced around the signal receiver.
在一些实施例中,所述显示屏朝向所述传感器组件的一侧设有遮光层;所述遮光层设有所述信号发射器对应的第一开孔、以及所述信号接收器对应的第二开孔。In some embodiments, the display screen is provided with a light shielding layer on a side of the sensor component; the light shielding layer is provided with a first opening corresponding to the signal transmitter, and a corresponding portion of the signal receiver Two openings.
在一些实施例中,所述至少两个信号发射器与所述信号接收器之间的距离不相同。In some embodiments, the distance between the at least two signal transmitters and the signal receiver is different.
在一些实施例中,所述信号发射器与信号接收器之间的距离为2至14毫米。In some embodiments, the distance between the signal transmitter and the signal receiver is 2 to 14 millimeters.
在一些实施例中,所述传感器组件还包括环境光传感器,所述环境光传感器用于感应外界环境光信号。In some embodiments, the sensor assembly further includes an ambient light sensor for sensing an ambient light signal.
在一些实施例中,所述环境光传感器与所述信号接收器之间的距离大于所述信号发射器与所述信号接收器之间的距离。In some embodiments, the distance between the ambient light sensor and the signal receiver is greater than the distance between the signal transmitter and the signal receiver.
在一些实施例中,所述电子装置还可以包括:壳体;所述显示屏、所述电路板以及所述传感器组件安装在所述壳体内。In some embodiments, the electronic device may further include: a housing; the display screen, the circuit board, and the sensor assembly are mounted within the housing.
在一些实施例中,所述多个信号发射器的发射频率依次递增。In some embodiments, the transmit frequencies of the plurality of signal transmitters are sequentially incremented.
在一些实施例中,所述信号发射器、所述信号接收器以及所述环境光传感器封装成芯片。In some embodiments, the signal transmitter, the signal receiver, and the ambient light sensor are packaged in a chip.
在一些实施例中,所述信号发射器与所述信号接收器之间的距离包括所述信号发射器与所述信号接收器之间的几何中心距离。In some embodiments, the distance between the signal transmitter and the signal receiver includes a geometric center distance between the signal transmitter and the signal receiver.
在一些实施例中,所述信号发射器为红外发射器,所述信号接收器为红外接收器。In some embodiments, the signal emitter is an infrared emitter and the signal receiver is an infrared receiver.
本申请实施例提供一种电子设备。该电子设备可以是智能手机、平板电脑等设备。参考图1,电子设备100包括盖板10、显示屏21、电路板30以及壳体40。An embodiment of the present application provides an electronic device. The electronic device can be a device such as a smartphone or a tablet. Referring to FIG. 1, the electronic device 100 includes a cover 10, a display screen 21, a circuit board 30, and a housing 40.
其中,盖板10安装到显示屏21上,以覆盖显示屏21。盖板10可以为透明玻璃盖板。在一些实施例中,盖板10可以是用诸如蓝宝石等材料制成的玻璃盖板。The cover 10 is mounted on the display screen 21 to cover the display screen 21. The cover 10 can be a clear glass cover. In some embodiments, the cover 10 can be a cover glass made of a material such as sapphire.
显示屏21安装在壳体40上,以形成电子设备100的显示面。显示屏21作为电子设备100的前壳,与壳体40形成一封闭空间,用于容纳电子设备100的其他电子元件。同时,显示屏21形成电子设备100的显示面,用于显示图像、文本等信息。The display screen 21 is mounted on the housing 40 to form a display surface of the electronic device 100. The display screen 21 serves as a front case of the electronic device 100 and forms a closed space with the housing 40 for accommodating other electronic components of the electronic device 100. At the same time, the display screen 21 forms a display surface of the electronic device 100 for displaying information such as images, texts, and the like.
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接或可以相互通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In the description of the present application, it should be noted that the terms "installation", "connected", and "connected" are to be understood broadly, and may be fixed or detachable, for example, unless otherwise specifically defined and defined. Connected, or integrally connected; may be mechanically connected, may be electrically connected or may communicate with each other; may be directly connected, or may be indirectly connected through an intermediate medium, may be internal communication of two elements or interaction of two elements relationship. For those skilled in the art, the specific meanings of the above terms in the present application can be understood on a case-by-case basis.
在一些实施例中,显示屏21可以全屏显示。也即,显示屏21只包括显示区域,而不包括非显示区域,如图2所示。In some embodiments, display 21 can be displayed in full screen. That is, the display screen 21 includes only the display area, and does not include the non-display area, as shown in FIG.
电路板30安装在壳体40内部,以将电路板30收容在上述封闭空间内。电路板30可以为电子设备100的主板。电路板30上设置有接地点,以实现电路板30的接地。电路板30上可以集成有摄像头、处理器、传感器等功能组件。同时,显示屏21可以电连接至电路板30。The circuit board 30 is mounted inside the casing 40 to house the circuit board 30 in the enclosed space. Circuit board 30 can be the motherboard of electronic device 100. A grounding point is provided on the circuit board 30 to achieve grounding of the circuit board 30. Functional components such as a camera, a processor, and a sensor can be integrated on the circuit board 30. At the same time, the display 21 can be electrically connected to the circuit board 30.
在一些实施例中,电路板30上设置有显示控制电路。该显示控制电路向显示屏21输出电信号,以控制显示屏21显示信息。In some embodiments, display control circuitry is provided on circuit board 30. The display control circuit outputs an electrical signal to the display screen 21 to control the display screen 21 to display information.
壳体40用于形成电子设备100的外部轮廓。壳体40的材质可以为塑料或金属。壳体40可以一体成型。The housing 40 is used to form an outer contour of the electronic device 100. The material of the housing 40 may be plastic or metal. The housing 40 can be integrally formed.
在一些实施例中,如图3所示,传感器组件22设置在电路板30上。其中,传感器组件22位于显示屏21的一侧。In some embodiments, as shown in FIG. 3, sensor assembly 22 is disposed on circuit board 30. The sensor assembly 22 is located on one side of the display screen 21.
可以理解的,传感器组件23设置在显示屏21的内侧。其中,内侧指的是从电子设备100的外部观察时,显示屏21不可见的一侧。也即,传感器组件22位于电子设备100内部。It will be appreciated that the sensor assembly 23 is disposed on the inside of the display screen 21. Here, the inner side refers to the side where the display screen 21 is not visible when viewed from the outside of the electronic device 100. That is, the sensor assembly 22 is located inside the electronic device 100.
其中,传感器组件22可以包括多个信号发射器221以及一个信号接收器222。每个信号发射器221对应或设置一个信号发射频率,信号发射器221根据其信号发射频率间隔向外发射探测信号A,探测信号A透过显示屏21传输到外界,探测信号A经过外界物体200(例如,用户脸部)后,生成反射信号B。反射信号B透过显示屏21进入信号接收器222中。The sensor component 22 can include a plurality of signal transmitters 221 and a signal receiver 222. Each signal transmitter 221 corresponds to or sets a signal transmission frequency, and the signal transmitter 221 transmits a detection signal A according to its signal transmission frequency interval. The detection signal A is transmitted to the outside through the display screen 21, and the detection signal A passes through the external object 200. After (for example, the user's face), a reflected signal B is generated. The reflected signal B enters the signal receiver 222 through the display 21.
其中,至少两个信号发射器221的信号发射频率不相同,比如,当有5个信号发射器221时,其中,有两个信号发射器221的发射频率不相同,其余三个信号发射器221的发射频率相同。The signal transmission frequencies of the at least two signal transmitters 221 are different. For example, when there are five signal transmitters 221, two of the signal transmitters 221 have different transmission frequencies, and the other three signal transmitters 221 The transmission frequency is the same.
在一些实施例中,所有信号发射器221的信号发射频率均不相同,比如,当有3个信号发射器221时,其中,这三个信号发射器221的信号发射频率都不相同。参考图4,三个信号发射器221的信号发射参考时钟(以脉冲信号为例)分别为T1、T2以T3,从图4可知,三个信号发射器221的信号发射参考时钟的周期不相同,也即信号发射频不相同,信号发射器221在每个脉冲的上升沿到达是发出一个探测信号。In some embodiments, the signal transmission frequencies of all of the signal transmitters 221 are different, for example, when there are three signal transmitters 221, wherein the signal transmission frequencies of the three signal transmitters 221 are different. Referring to FIG. 4, the signal transmission reference clocks of the three signal transmitters 221 (taking pulse signals as an example) are respectively T1 and T2 to T3. As can be seen from FIG. 4, the signal transmission reference clocks of the three signal transmitters 221 have different periods. That is, the signal transmission frequency is different, and the signal transmitter 221 sends a detection signal when it arrives at the rising edge of each pulse.
在一些实施例中,信号发射器221的信号发射频率呈依次递增的规律,这样信号接收器222便可以依次接收到各信号发射器221的探测信号,各个信号发射器221的探测信号接收不重叠,可以提升探测信号接收的准确性,提升了接近感应或检测的准确性,进而提升显示屏状态控制的准确性。In some embodiments, the signal transmission frequency of the signal transmitter 221 is sequentially increased, so that the signal receiver 222 can sequentially receive the detection signals of the signal transmitters 221, and the detection signals of the respective signal transmitters 221 do not overlap. It can improve the accuracy of the detection signal reception, improve the accuracy of proximity sensing or detection, and thus improve the accuracy of the display state control.
其中,信号发射器221的数量可以根据实际需求设定,比如,可以为2个、3个、4个等等。The number of the signal transmitters 221 can be set according to actual needs, for example, it can be 2, 3, 4, and so on.
在一些实施例中,参考图5,多个信号发射器221分别间隔设置在所述信号接收器222周围;可理解信号发射器221环绕设置在信号接收器22的周围。由于信号发射器221分别间隔设置在所述信号接收器222周围,可以减少探测信号的损耗,提升信号接收器222的信号接收效果,进而提升接近感应或检测的准确性。In some embodiments, referring to FIG. 5, a plurality of signal transmitters 221 are respectively disposed around the signal receiver 222; it is understood that the signal transmitter 221 is disposed around the signal receiver 22. Since the signal transmitters 221 are respectively disposed around the signal receiver 222, the loss of the detection signal can be reduced, and the signal receiving effect of the signal receiver 222 can be improved, thereby improving the accuracy of proximity sensing or detection.
在一些实施例中,不同信号发射频率的信号发射器221,其与信号接收器222之间的距离也不相同。当有至少两个信号发射器221的信号发射频率不相同时,那么该至少两个信号发射器221与信号接收器222之间的距离也不相同。In some embodiments, the signal transmitter 221 of different signal transmission frequencies, which is also different in distance from the signal receiver 222. When the signal transmission frequencies of at least two signal transmitters 221 are different, then the distance between the at least two signal transmitters 221 and the signal receiver 222 is also different.
在一些实施例中,信号发射器221的信号发射频率越大,其与信号接收器222之间的距离越大;反之信号发射器221的信号发射频率越小,其与信号接收器222之间的距离越小。In some embodiments, the greater the signal transmission frequency of the signal transmitter 221, the greater the distance between the signal transmitter 222 and the signal receiver 222; otherwise, the smaller the signal transmission frequency of the signal transmitter 221, between the signal receiver 222 and the signal receiver 222 The smaller the distance.
这样可以减少信号发射频率较小的信号发射器221的探测信号延迟,保证信号接收器222可以及时地接收到探测信号,并且防止其他信号发射器221的探测信号的对接收的干扰,提升信号接收器222的信号接收效果,进而提升接近感应或检测的准确性。In this way, the detection signal delay of the signal transmitter 221 with a small signal transmission frequency can be reduced, the signal receiver 222 can receive the detection signal in time, and the interference of the detection signal of the other signal transmitter 221 can be prevented, and the signal reception can be improved. The signal receiving effect of the device 222, thereby improving the accuracy of proximity sensing or detection.
比如,参考图6,左边的信号发射器221的信号发射频率大于右边的信号发射器221的信号发射频率,顶部的信号发射器221的信号发射频率大于左边的信号发射器221。因此,顶部信号发射器221与信号接收器222之间的距离d1小于左边的信号发射器221与信号接收器22之间的距离d2,左边的信号发射器221与信号接收器22之间的距离d2小于右边的信号发射器221与信号接收器22之间的距离d3。For example, referring to FIG. 6, the signal transmission frequency of the signal transmitter 221 on the left is greater than the signal transmission frequency of the signal transmitter 221 on the right, and the signal transmission frequency of the signal transmitter 221 on the top is greater than that of the signal transmitter 221 on the left. Therefore, the distance d1 between the top signal transmitter 221 and the signal receiver 222 is smaller than the distance d2 between the left signal transmitter 221 and the signal receiver 22, and the distance between the left signal transmitter 221 and the signal receiver 22. D2 is smaller than the distance d3 between the signal transmitter 221 on the right and the signal receiver 22.
由于使得发射频率较小的信号发射器221靠近信号发射器221,可以减少信号发射器221对该信号发射器221的探测信号接收的延迟,可以及时接收到该信号发射器221发出的探测信号,避免因接收延迟导致对其他信号发射器221的探测信号的接收对该信号发射器221的探测信号接收产生干扰,信号发射器221的探测信号的对接收的干扰。Since the signal transmitter 221 with a small transmission frequency is brought close to the signal transmitter 221, the delay of the signal transmitter 221 receiving the detection signal of the signal transmitter 221 can be reduced, and the detection signal sent by the signal transmitter 221 can be received in time. The reception of the detection signal to the other signal transmitter 221 due to the reception delay is prevented from interfering with the detection signal reception of the signal transmitter 221, and the interference of the detection signal of the signal transmitter 221 is received.
在一些实施例中,信号发射器221与信号接收器222之间的距离在2至14毫米之间,实验表明在这个距离范围可以具有较佳的接近感应效果,准确度高。In some embodiments, the distance between the signal emitter 221 and the signal receiver 222 is between 2 and 14 millimeters. Experiments have shown that this range of distances can have a better proximity sensing effect with high accuracy.
在一些实施例中,信号发射器221与信号接收器222之间的距离可以包括:信号发射器221的几何中心与信号接收器222的几何中心之间的距离。信号发射器221和信号接收器222彼此间隔设置还可以提高信号发射器221与信号接收器222之间的隔离度,减少信号发射器221发射的信号对信号接收器222造成的影响。In some embodiments, the distance between the signal emitter 221 and the signal receiver 222 can include the distance between the geometric center of the signal emitter 221 and the geometric center of the signal receiver 222. The signal transmitter 221 and the signal receiver 222 are spaced apart from each other to also improve the isolation between the signal transmitter 221 and the signal receiver 222, and reduce the influence of the signal transmitted by the signal transmitter 221 on the signal receiver 222.
在一些实施例中,参考图7,上述信号发射器221和信号接收器222封装成第一芯片24。In some embodiments, referring to FIG. 7, the signal transmitter 221 and the signal receiver 222 are packaged as a first chip 24.
在一些实施例中,所述信号发射器221为红外发射器,用于发射红外线。所述信号接收器222为红外接收器,用于接收红外线。In some embodiments, the signal emitter 221 is an infrared emitter for emitting infrared light. The signal receiver 222 is an infrared receiver for receiving infrared light.
在一些实施例中,显示屏21可以为液晶显示屏(Liquid Crystal Display,LCD)或有机发光二极管显示屏(Organic Light-Emitting Diode,OLED)等类型的显示屏。当显示屏21为液晶显示屏时显示屏21可以包括依次层叠设置的背光板、下偏光片、阵列基板、液晶层、彩膜基板以及上偏光片等结构。当显示屏21为有机发光二极管显示屏时,显示屏21可以包括依次层叠设置的基层、阳极、有机层、导电层、发射层以及阴极等结构。In some embodiments, the display screen 21 can be a display screen of the type such as a liquid crystal display (LCD) or an organic light-emitting diode display (OLED). When the display screen 21 is a liquid crystal display, the display screen 21 may include a backlight board, a lower polarizer, an array substrate, a liquid crystal layer, a color filter substrate, and an upper polarizer which are sequentially stacked. When the display screen 21 is an organic light emitting diode display screen, the display screen 21 may include a base layer, an anode, an organic layer, a conductive layer, an emission layer, and a cathode, which are sequentially stacked.
在一些实施例中,参考图8,传感器组件22还可以包括环境光传感器223,环境光传感器223用于感应外界环境光信号。可以理解环境光传感器223与信号发射器221、信号接收器222设置在显示屏21的内侧。In some embodiments, referring to FIG. 8, sensor assembly 22 can also include an ambient light sensor 223 for sensing ambient ambient light signals. It can be understood that the ambient light sensor 223 and the signal transmitter 221 and the signal receiver 222 are disposed inside the display screen 21.
环境光传感器223用于感应透过显示屏21的外界环境光信号,并将感应信息如环境光强度传输至电子设备100的处理器,处理器根据感应信息来控制显示屏21的亮度等。The ambient light sensor 223 is configured to sense an ambient light signal transmitted through the display screen 21, and transmit the sensing information, such as ambient light intensity, to a processor of the electronic device 100, and the processor controls the brightness of the display screen 21 according to the sensing information.
比如,环境光传感器223检测到外界环境光信号变弱时,处理器可以提升显示屏21亮度,环境光传感器223检测到外界环境光信号变强时,处理器可以降低显示屏21亮度。For example, when the ambient light sensor 223 detects that the ambient light signal is weak, the processor can increase the brightness of the display screen 21. When the ambient light sensor 223 detects that the ambient light signal becomes strong, the processor can reduce the brightness of the display screen 21.
在一些实施例中,信号发射器221、信号接收器222以及环境光传感器223彼此间隔设置。信号发射器221和信号接收器222之间的距离在2至14毫米之间。可以理解的,上述距离为信号发射器221的几何中心与信号接收器222的几何中心之间的距离。信号发射器221、信号接收器222以及环境光传感器223之间彼此间隔设置可以提高信号发射器221、信号接收器222以及环境光传感器223之间的隔离度,减少信号发射器221发射的信号对信号接收器222、环境光传感器233造成的影响。In some embodiments, signal transmitter 221, signal receiver 222, and ambient light sensor 223 are spaced apart from one another. The distance between the signal transmitter 221 and the signal receiver 222 is between 2 and 14 millimeters. It will be appreciated that the above distance is the distance between the geometric center of the signal transmitter 221 and the geometric center of the signal receiver 222. The signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are spaced apart from each other to improve the isolation between the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223, and reduce the signal pair transmitted by the signal transmitter 221. The effects caused by the signal receiver 222 and the ambient light sensor 233.
在一些实施例中,为了减少信号发射器221发射的信号对环境光传感器233的干扰或影响,环境光传感器223与信号接收器222之间的距离可以大于信号发射器221与信号接收器222之间的距离。可以理解的,环境光传感器223与信号接收器222之间的距离为环境光传感器223的几何中心与信号接收器222的几何中心之间的距离。In some embodiments, in order to reduce the interference or influence of the signal transmitted by the signal transmitter 221 on the ambient light sensor 233, the distance between the ambient light sensor 223 and the signal receiver 222 may be greater than that of the signal transmitter 221 and the signal receiver 222. The distance between them. It will be appreciated that the distance between ambient light sensor 223 and signal receiver 222 is the distance between the geometric center of ambient light sensor 223 and the geometric center of signal receiver 222.
在一些实施例中,参考图9,信号发射器221、信号接收器222以及环境光传感器223封装成第二芯片25。In some embodiments, referring to FIG. 9, the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are packaged into a second chip 25.
在一些实施例中,如图10所示,传感器组件22包括信号发射器221、信号接收器222以及环境光传感器223。其中,环境光传感器223用于检测环境光强度。电子设备100可以根据环境光传感器223检测到的环境光强度来调节显示屏21的亮度。In some embodiments, as shown in FIG. 10, sensor assembly 22 includes a signal transmitter 221, a signal receiver 222, and an ambient light sensor 223. The ambient light sensor 223 is used to detect the ambient light intensity. The electronic device 100 can adjust the brightness of the display screen 21 according to the ambient light intensity detected by the ambient light sensor 223.
信号发射器221、信号接收器222分别与环境光传感器223彼此相邻设置。信号发射器221的几何中心与信号接收器222的几何中心之间的距离为2至14毫米。The signal transmitter 221 and the signal receiver 222 are disposed adjacent to each other with the ambient light sensor 223, respectively. The distance between the geometric center of the signal emitter 221 and the geometric center of the signal receiver 222 is 2 to 14 millimeters.
在一些实施例中,信号发射器221、信号接收器222以及环境光传感器223封装成第二芯片25。In some embodiments, the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are packaged into a second chip 25.
在一些实施例中,如图11所示,传感器组件22包括信号发射器221、信号接收器222以及环境光传感器223。其中,环境光传感器223用于检测环境光强度。电子设备100可以根据环境光传感器223检测到的环境光强度来调节显示屏21的亮度。In some embodiments, as shown in FIG. 11, sensor assembly 22 includes a signal transmitter 221, a signal receiver 222, and an ambient light sensor 223. The ambient light sensor 223 is used to detect the ambient light intensity. The electronic device 100 can adjust the brightness of the display screen 21 according to the ambient light intensity detected by the ambient light sensor 223.
信号发射器221、信号接收器222以及环境光传感器223彼此间隔设置。信号发射器 221和信号接收器222之间的距离为2至14毫米。可以理解的,上述距离为信号发射器221的几何中心与信号接收器222的几何中心之间的距离。信号发射器221、信号接收器222以及环境光传感器223之间彼此间隔设置可以提高信号发射器221、信号接收器222以及环境光传感器223之间的隔离度,减少信号发射器221发射的信号对信号接收器222、环境光传感器223造成的影响。The signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are spaced apart from each other. The distance between the signal transmitter 221 and the signal receiver 222 is 2 to 14 mm. It will be appreciated that the above distance is the distance between the geometric center of the signal transmitter 221 and the geometric center of the signal receiver 222. The signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are spaced apart from each other to improve the isolation between the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223, and reduce the signal pair transmitted by the signal transmitter 221. The effects caused by the signal receiver 222 and the ambient light sensor 223.
在一些实施例中,信号发射器221、信号接收器222以及环境光传感器223封装成第二芯片25。In some embodiments, the signal transmitter 221, the signal receiver 222, and the ambient light sensor 223 are packaged into a second chip 25.
在一些实施例中,参考图12,显示屏21朝向传感器组件22的一侧设有遮光层210,遮光层210上针对每个信号发射器221设置相应的开孔213,针对信号接收器222设置相应的开孔214。开孔213以及开孔214允许光信号、声波信号等信号通过。In some embodiments, referring to FIG. 12, a side of the display screen 21 facing the sensor assembly 22 is provided with a light shielding layer 210, and a corresponding opening 213 is provided for each signal emitter 221 on the light shielding layer 210 for the signal receiver 222. Corresponding openings 214. The aperture 213 and the aperture 214 allow signals such as optical signals, acoustic signals, and the like to pass.
其中,信号发射器221用于向外发射探测信号A。探测信号A通过开孔213以及显示屏21传输到外界。探测信号A接触到外界物体200(例如,用户脸部)后,生成反射信号B。反射信号B通过开孔214以及显示屏21进入信号接收器222中。The signal transmitter 221 is configured to transmit the detection signal A outward. The detection signal A is transmitted to the outside through the opening 213 and the display screen 21. After the detection signal A contacts the external object 200 (for example, the user's face), a reflected signal B is generated. The reflected signal B enters the signal receiver 222 through the aperture 214 and the display screen 21.
在一些实施例中,如图13所示,显示屏21仅包括显示区域215,不包括非显示区域,即显示屏21为全面屏。其中,显示区域215执行显示屏21的显示功能,用于显示信息。其中,显示屏21的遮光层210上设置的开孔213和开孔214位于显示屏21的显示区域215内。通过所述开孔213和开孔214,传感器组件22即可实现电子设备100的接近感应功能,从而无需在显示屏21的非显示区域单独设置开孔。In some embodiments, as shown in FIG. 13, the display screen 21 includes only the display area 215, and does not include the non-display area, that is, the display screen 21 is a full screen. The display area 215 performs a display function of the display screen 21 for displaying information. The opening 213 and the opening 214 provided in the light shielding layer 210 of the display screen 21 are located in the display area 215 of the display screen 21. Through the opening 213 and the opening 214, the sensor assembly 22 can realize the proximity sensing function of the electronic device 100, thereby eliminating the need to separately provide an opening in the non-display area of the display screen 21.
在一些实施例中,所述开孔213和开孔214为圆孔。所述开孔213和开孔214的直径为2至4毫米。在其他一些实施例中,所述开孔213和开孔214也可以为方孔、椭圆孔等其他形状的孔。In some embodiments, the opening 213 and the opening 214 are circular holes. The opening 213 and the opening 214 have a diameter of 2 to 4 mm. In some other embodiments, the opening 213 and the opening 214 may also be square holes, elliptical holes, and the like.
在本申请的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。In the description of the present application, it is to be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " The orientation or positional relationship of the indications of "post", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation shown in the drawings Or, the positional relationship is merely for the convenience of the description of the present application and the simplification of the description, and is not intended to indicate or imply that the device or component referred to has a specific orientation, is constructed and operated in a specific orientation, and thus is not to be construed as limiting the present application.
本申请实施例提供了一种显示屏控制方法,适用于电子设备。该电子设备包括如本申请实施例任一提供的电子设备。该显示屏控制方法根据电子设备与外部物体之间的距离状态来控制显示屏的状态。该距离状态包括远离状态和接近状态。显示屏的状态包括点亮和熄灭。以下对显示屏控制方法进行说明。The embodiment of the present application provides a display screen control method, which is applicable to an electronic device. The electronic device includes an electronic device as provided in any of the embodiments of the present application. The display control method controls the state of the display screen according to the distance state between the electronic device and the external object. The distance state includes a distant state and a proximity state. The status of the display includes lighting and extinguishing. The display control method will be described below.
本申请实施例还提供了一种显示屏控制方法,适用于上述介绍的电子装置,包括:The embodiment of the present application further provides a display control method, which is applicable to the electronic device introduced above, and includes:
获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接收器检测到所述信号发射器发射的探测信号的信号强度值;Obtaining a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver;
获取所述信号发射器的信号发射频率;Obtaining a signal transmission frequency of the signal transmitter;
根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;And processing, according to a signal transmission frequency of the signal transmitter, a signal strength value corresponding to the signal transmitter to obtain a target signal strength value;
根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
在一些实施例中,据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值,包括:In some embodiments, the signal strength value corresponding to the signal transmitter is processed according to a signal transmission frequency of the signal transmitter to obtain a target signal strength value, including:
获取所述信号发射器的信号发射频率对应的权重值;Obtaining a weight value corresponding to a signal transmission frequency of the signal transmitter;
根据所述权重值对所述信号发射器对应的信号强度值进行加权求和,得到加权和值;And weighting and summing the signal strength values corresponding to the signal transmitter according to the weight value to obtain a weighted sum value;
根据所述加权和值获取相应的目标信号强度值。A corresponding target signal strength value is obtained according to the weighted sum value.
在一些实施例中,取预设时间段内所述信号发射器对应的信号强度值,包括:In some embodiments, taking a signal strength value corresponding to the signal transmitter in a preset time period, including:
获取预设时间段内所述信号发射器对应的多个实际信号强度值;Obtaining a plurality of actual signal strength values corresponding to the signal transmitters in the preset time period;
根据所述多个信号强度值获取所述信号发射器对应的平均信号强度值;Obtaining an average signal strength value corresponding to the signal transmitter according to the plurality of signal strength values;
将所述平均信号强度值作为所述信号发射器对应的信号强度值。The average signal strength value is used as a signal strength value corresponding to the signal transmitter.
在一些实施例中,根据所述目标信号强度值和信号强度阈值控制显示屏的状态,包括:In some embodiments, controlling the state of the display screen based on the target signal strength value and the signal strength threshold includes:
获取所述目标信号强度值所处的信号强度区间;Obtaining a signal strength interval in which the target signal strength value is located;
获取所述信号强度区间对应的阈值衰减系数;Obtaining a threshold attenuation coefficient corresponding to the signal strength interval;
根据初始信号强度阈值以及所述阈值衰减系数,获取相应的信号强度阈值;Obtaining a corresponding signal strength threshold according to an initial signal strength threshold and the threshold attenuation coefficient;
根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
在一些实施例中,所述信号强度阈值包括第一阈值,所述根据所述目标信号强度值以及所述信号强度阈值控制所述显示屏的状态的步骤包括:In some embodiments, the signal strength threshold comprises a first threshold, and the step of controlling the state of the display screen according to the target signal strength value and the signal strength threshold comprises:
当所述显示屏处于亮屏状态时,判断所述目标信号强度值是否大于所述第一阈值;Determining whether the target signal strength value is greater than the first threshold when the display screen is in a bright screen state;
若所述目标信号强度值大于所述第一阈值,则控制所述显示屏熄灭。根据上述描述,在一些实施例中,还提供了一种显示屏控制方法,参考图14,该方法的具体流程如下:And if the target signal strength value is greater than the first threshold, controlling the display to be extinguished. According to the above description, in some embodiments, a display screen control method is also provided. Referring to FIG. 14, the specific process of the method is as follows:
S501、获取预设时间段内信号发射器对应的信号强度值。S501. Acquire a signal strength value corresponding to the signal transmitter in the preset time period.
其中,所述信号强度值为所述信号接收器检测到所述信号发射器发射的探测信号的信号强度值。The signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver.
比如,信号发射器对应的信号强度,为信号接收器检测到的信号发射器a发射的探测信号的强度。For example, the signal strength corresponding to the signal transmitter is the strength of the detection signal emitted by the signal transmitter a detected by the signal receiver.
其中,预设时间段可以根据实际需求设定,比如,可以10s、5s等等。为了提升强度获取的准确性,该预设时间段可以基于信号发射器的信号发射周期T确定,比如,2T、3T等等。The preset time period can be set according to actual needs, for example, 10s, 5s, and the like. In order to improve the accuracy of the intensity acquisition, the preset time period may be determined based on the signal transmission period T of the signal transmitter, such as 2T, 3T, and the like.
以三个信号发射器为例,可以分别获取信号发射器a对应的信号强度值c1、信号发射器b对应的信号强度值c2、信号发射器c对应的信号强度值c3。Taking three signal transmitters as an example, the signal strength value c1 corresponding to the signal transmitter a, the signal strength value c2 corresponding to the signal transmitter b2, and the signal strength value c3 corresponding to the signal transmitter c can be respectively obtained.
在一些实施例中,在预设时间段内可以获取信号发射器对应的多个信号强度值,即多个实际信号强度,为便于控制显示屏状态,可以计算信号发射器对应的平均信号强度,将平均信号强度作为信号发射器对应的信号强度。比如,步骤“获取预设时间段内所述信号发射器对应的信号强度值”可以包括:In some embodiments, multiple signal strength values corresponding to the signal transmitters, that is, multiple actual signal strengths, may be acquired within a preset time period. To facilitate control of the display state, the average signal strength corresponding to the signal transmitter may be calculated. The average signal strength is taken as the signal strength corresponding to the signal transmitter. For example, the step of “acquiring the signal strength value corresponding to the signal transmitter in the preset time period” may include:
获取预设时间段内所述信号发射器对应的多个实际信号强度值;Obtaining a plurality of actual signal strength values corresponding to the signal transmitters in the preset time period;
根据所述多个信号强度值获取所述信号发射器对应的平均信号强度值;Obtaining an average signal strength value corresponding to the signal transmitter according to the plurality of signal strength values;
将所述平均信号强度值作为所述信号发射器对应的信号强度值。The average signal strength value is used as a signal strength value corresponding to the signal transmitter.
比如,以信号发射器a为例,信号发射器a每隔一定时间发射探测信号,信号接收器对信号发射器a发射的探测信号进行检测,便可以得到信号发射器a对应的多个实际信号强度值,如n个实际信号强度值c11、c12、……c1n,n为大于2的正整数。此时,可以获取信号发射器a的平均信号强度值c’=(c11+c12+……+c1n)/n,信号发射器a的平均信号强度值c’即为信号发射器a对应的信号强度值c1。For example, taking the signal transmitter a as an example, the signal transmitter a transmits the detection signal at regular intervals, and the signal receiver detects the detection signal transmitted by the signal transmitter a, so that a plurality of actual signals corresponding to the signal transmitter a can be obtained. The intensity values, such as n actual signal strength values c11, c12, ... c1n, n are positive integers greater than two. At this time, the average signal strength value c'=(c11+c12+...+c1n)/n of the signal transmitter a can be obtained, and the average signal strength value c′ of the signal transmitter a is the signal strength corresponding to the signal transmitter a. The value c1.
S502、获取信号发射器的信号发射频率。S502. Acquire a signal transmission frequency of the signal transmitter.
其中,信号发射器的信号发射频率为单位时间内信号发射器发射的探测信号次数或个数。The signal transmitting frequency of the signal transmitter is the number or the number of detecting signals transmitted by the signal transmitter in a unit time.
比如,可以获取信号发射器a的信号发射频率f1、信号发射器b的信号发射频率f2、信号发射器c的信号发射频率f3。For example, the signal transmission frequency f1 of the signal transmitter a, the signal transmission frequency f2 of the signal transmitter b, and the signal transmission frequency f3 of the signal transmitter c can be obtained.
S503、根据信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值。S503. Process a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter, to obtain a target signal strength value.
比如,可以基于信号发射器a的信号发射频率f1、信号发射器b的信号发射频率f2、 信号发射器c的信号发射频率f3,对信号发射器a对应的信号强度值c1、信号发射器b对应的信号强度值c2、信号发射器c对应的信号强度值c3进行求和处理,得到一目标信号强度值c。For example, based on the signal transmission frequency f1 of the signal transmitter a1, the signal transmission frequency f2 of the signal transmitter b2, the signal transmission frequency f3 of the signal transmitter c, the signal strength value c1 corresponding to the signal transmitter a1, and the signal transmitter b The corresponding signal strength value c2 and the signal strength value c3 corresponding to the signal transmitter c are summed to obtain a target signal strength value c.
在一些实施例中,为了提升显示屏状态控制的准确性,可以对信号强度值进行加权求和处理,其中,信号发射器的信号发射频率可以与权重值对应。步骤“根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值”,可以包括:In some embodiments, in order to improve the accuracy of the display state control, the signal strength value may be subjected to a weighted summation process, wherein the signal transmission frequency of the signal transmitter may correspond to the weight value. The step of “processing the signal strength value corresponding to the signal transmitter according to the signal transmission frequency of the signal transmitter to obtain the target signal strength value” may include:
获取所述信号发射器的信号发射频率对应的权重值;Obtaining a weight value corresponding to a signal transmission frequency of the signal transmitter;
根据所述权重值对所述信号发射器对应的信号强度值进行加权求和,得到加权和值;And weighting and summing the signal strength values corresponding to the signal transmitter according to the weight value to obtain a weighted sum value;
根据所述加权和值获取相应的目标信号强度值。A corresponding target signal strength value is obtained according to the weighted sum value.
比如,获取信号发射器a的信号发射频率f1对应的权重值q1、信号发射器b的信号发射频率f2对应的权重值q2、信号发射器c的信号发射频率f3对应的权重值q3;然后,计算信号强度加权和Q=c1*q1+c2*q2+c3*q3;最后,基于信号强度加权和Q得到所需的目标信号强度值。比如,可以将信号强度加权和Q得到所需的目标信号强度值。For example, the weight value q1 corresponding to the signal transmission frequency f1 of the signal transmitter a1, the weight value q2 corresponding to the signal transmission frequency f2 of the signal transmitter b2, and the weight value q3 corresponding to the signal transmission frequency f3 of the signal transmitter c; The signal strength weighting sum is calculated as Q = c1 * q1 + c2 * q2 + c3 * q3; finally, the desired target signal strength value is obtained based on the signal strength weighted sum Q. For example, the signal strength can be weighted and Q to obtain the desired target signal strength value.
在一些实施例中,可以预先设置信号发射频率与权重值之间的映射关系,这样后续在获取信号发射器的信号发射频率后,便可以基于该映射关系来获取相应的权重值。In some embodiments, the mapping relationship between the signal transmission frequency and the weight value may be preset, such that after acquiring the signal transmission frequency of the signal transmitter, the corresponding weight value may be acquired based on the mapping relationship.
S504、根据目标信号强度值和信号强度阈值控制显示屏的状态。S504. Control a state of the display screen according to the target signal strength value and the signal strength threshold.
其中,显示屏的状态包括点亮和熄灭。Among them, the status of the display includes lighting and extinguishing.
比如,可以将目标信号强度值与信号强度阈值进行比较,基于比较结果控制显示屏的状态。For example, the target signal strength value can be compared to the signal strength threshold, and the state of the display screen can be controlled based on the comparison result.
实际应用中,电子设备可以在需要对显示屏的状态进行控制时,根据所述据所述目标信号强度值和信号强度阈值控制显示屏的状态。例如,在电子设备处于语音通话状态时,对显示屏的状态进行控制。此时,当用户脸部贴近显示屏时,可以控制显示屏熄灭,以避免用户对显示屏造成误操作。当用户脸部远离显示屏时,控制显示屏点亮,以恢复显示屏的正常显示。In practical applications, the electronic device may control the state of the display screen according to the target signal strength value and the signal strength threshold according to the state of the display screen when it is required to control the state of the display screen. For example, when the electronic device is in a voice call state, the state of the display screen is controlled. At this time, when the user's face is close to the display, the display can be turned off to prevent the user from causing a malfunction to the display. When the user's face is away from the display, the control display lights up to restore the normal display of the display.
在一些实施例中,考虑到探测信号在传输过程中会发生衰减,如果信号强度阈值固定不变的话如采用预设设定的信号强度值,那么会导致接近或远离判断不准确,进而导致显示屏状态控制的精确性较低。因此,为了提升接近或远离判断的准确性,可以基于当前信号强度值对应的阈值减系数对阈值进行变动,以适应当前信号强度值下的接近检测。In some embodiments, considering that the detection signal is attenuated during transmission, if the signal strength threshold is fixed, such as using a preset signal strength value, the proximity or distance determination may be inaccurate, thereby causing display. Screen state control is less accurate. Therefore, in order to improve the accuracy of the approach or the distance, the threshold may be varied based on the threshold subtraction coefficient corresponding to the current signal strength value to adapt to the proximity detection under the current signal strength value.
其中,步骤“根据所述目标信号强度值和信号强度阈值控制显示屏的状态”,可以包括:The step of “controlling the state of the display screen according to the target signal strength value and the signal strength threshold” may include:
获取所述目标信号强度值所处的信号强度区间;Obtaining a signal strength interval in which the target signal strength value is located;
获取所述信号强度区间对应的阈值衰减系数;Obtaining a threshold attenuation coefficient corresponding to the signal strength interval;
根据初始信号强度阈值以及所述阈值衰减系数,获取相应的信号强度阈值;Obtaining a corresponding signal strength threshold according to an initial signal strength threshold and the threshold attenuation coefficient;
根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
其中,阈值衰减系数为信号强度阈值的衰减比例,比如,可以为百分之30等。The threshold attenuation coefficient is a attenuation ratio of the signal strength threshold, for example, may be 30 percent or the like.
比如,获取目标信号强度值c所处的信号强度区域(ci,cj],信号强度区域(ci,cj]对应的阈值衰减系数为p,假设初始信号强度阈值为y,此时,可以得到最终的信号强度阈值Y=y-y*p。For example, the signal intensity region (ci, cj) where the target signal strength value c is located is obtained, and the threshold attenuation coefficient corresponding to the signal strength region (ci, cj) is p, and the initial signal strength threshold is assumed to be y. The signal strength threshold Y = yy * p.
例如,电子设备获取到的目标信号强度值为100,则所述目标信号强度值所处的信号强度区间为(43,159]。随后,电子设备可以获取信号强度区间(43,159]对应的阈值衰减系数为30%。初始信号强度阈值为300,此时,信号强阈值300-300*30%=210。For example, if the target signal strength value obtained by the electronic device is 100, the signal strength interval in which the target signal strength value is located is (43, 159). Subsequently, the electronic device can obtain the signal intensity interval (43, 159) corresponding to The threshold attenuation coefficient is 30%. The initial signal strength threshold is 300. At this time, the signal strong threshold is 300-300*30%=210.
在一些实施例中,信号强度阈值可以包括第一阈值;此时,步骤“根据所述目标信号 强度值以及所述信号强度阈值控制所述显示屏的状态”可以包括:In some embodiments, the signal strength threshold may include a first threshold; in this case, the step of "controlling the state of the display screen according to the target signal strength value and the signal strength threshold" may include:
当所述显示屏处于亮屏状态时,判断所述目标信号强度值是否大于所述第一阈值;Determining whether the target signal strength value is greater than the first threshold when the display screen is in a bright screen state;
若所述目标信号强度值大于所述第一阈值,则控制所述显示屏熄灭。And if the target signal strength value is greater than the first threshold, controlling the display to be extinguished.
其中,所述信号强度阈值包括第一阈值。所述第一阈值可以是高阈值。所述高阈值用于在显示屏处于亮屏状态时,触发控制显示屏熄灭。The signal strength threshold includes a first threshold. The first threshold may be a high threshold. The high threshold is used to trigger the control display to be off when the display is in a bright state.
电子设备的显示屏处于亮屏状态时,电子设备获取到目标信号强度值后,将所述目标信号强度值与所述第一阈值进行比较,以判断所述目标信号强度值是否大于所述第一阈值。当判断出所述目标信号强度值大于所述第一阈值时,说明电子设备与外部物体(例如,用户脸部)之间处于接近状态,此时控制显示屏熄灭。当判断出所述目标信号强度值小于或等于所述第一阈值时,说明电子设备与外部物体(例如,用户脸部)之间未处于接近状态,此时电子设备维持显示屏处于亮屏状态。After the display screen of the electronic device is in a bright screen state, after the electronic device acquires the target signal strength value, the electronic device compares the target signal strength value with the first threshold to determine whether the target signal strength value is greater than the first A threshold. When it is determined that the target signal strength value is greater than the first threshold, it indicates that the electronic device is in a close state with an external object (for example, a user's face), and the control display screen is extinguished. When it is determined that the target signal strength value is less than or equal to the first threshold, it indicates that the electronic device is not in a close state with an external object (for example, a user's face), and the electronic device maintains the display screen in a bright state. .
例如,第一阈值为243.9,终端获取到的第二信号强度值为400,则此时所述目标信号强度值大于所述第一阈值,则终端控制显示屏熄灭。For example, if the first threshold is 243.9 and the second signal strength obtained by the terminal is 400, then the target signal strength value is greater than the first threshold, and the terminal controls the display to go out.
在一些实施例中,信号强度阈值可以包括第二阈值;步骤“根据所述目标信号强度值以及所述信号强度阈值控制所述显示屏的状态”可以包括:In some embodiments, the signal strength threshold may include a second threshold; the step of "controlling the state of the display screen according to the target signal strength value and the signal strength threshold" may include:
当显示屏处于熄屏状态时,判断所述目标信号强度值是否小于第二阈值;When the display screen is in the off-screen state, determining whether the target signal strength value is less than a second threshold;
若所述目标信号强度值小于所述第二阈值,则控制所述显示屏点亮。And if the target signal strength value is less than the second threshold, controlling the display to light.
其中,所述信号强度阈值包括第二阈值。所述第二阈值可以是低阈值。所述低阈值用于在显示屏处于熄屏状态时,触发控制显示屏点亮。对于处于相同外部环境中的同一部电子设备,所述低阈值小于上述高阈值。Wherein, the signal strength threshold comprises a second threshold. The second threshold may be a low threshold. The low threshold is used to trigger the control display to illuminate when the display is in the off state. For the same electronic device in the same external environment, the low threshold is less than the high threshold described above.
电子设备的显示屏处于熄屏状态时,电子设备获取到目标信号强度值后,将所述目标信号强度值与所述第二阈值进行比较,以判断所述目标信号强度值是否小于所述第二阈值。当判断出所述目标信号强度值小于所述第二阈值时,说明电子设备与外部物体(例如,用户脸部)之间处于远离状态,此时控制显示屏点亮。当判断出所述目标信号强度值大于或等于所述第二阈值时,说明电子设备与外部物体(例如,用户脸部)之间未处于远离状态,此时电子设备维持显示屏处于熄屏状态。After the display screen of the electronic device is in the off-screen state, after the electronic device acquires the target signal strength value, the electronic device compares the target signal strength value with the second threshold to determine whether the target signal strength value is smaller than the first Two thresholds. When it is determined that the target signal strength value is smaller than the second threshold, it indicates that the electronic device is in a distant state from an external object (for example, a user's face), and the control display is lit at this time. When it is determined that the target signal strength value is greater than or equal to the second threshold, it indicates that the electronic device is not in a distant state from an external object (for example, a user's face), and the electronic device maintains the display screen in a blank state. .
例如,第二阈值为200,电子设备获取到的目标信号强度值为180,则此时所述目标信号强度值小于所述第二阈值,则电子设备控制显示屏点亮。For example, if the second threshold is 200 and the target signal strength value obtained by the electronic device is 180, then the target signal strength value is less than the second threshold, and the electronic device controls the display to light.
其中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。The terms "first" and "second" are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include one or more of the described features either explicitly or implicitly. In the description of the present application, the meaning of "a plurality" is two or more unless specifically and specifically defined otherwise.
具体实施时,本申请不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。In the specific implementation, the present application is not limited by the execution order of the various steps described, and some steps may be performed in other orders or simultaneously without conflict.
考虑到目前在显示屏下方设置接近传感器,但是由于显示屏的阻碍,以及探测信号的穿透能力较弱,会导致信号接收器接收到的信号强度较弱,电子设备无法准确识别接近或远离状态,进而导致对显示屏状态控制的准确性较低。Considering that the proximity sensor is currently set under the display screen, due to the hindrance of the display screen and the weak penetration capability of the detection signal, the signal received by the signal receiver is weak, and the electronic device cannot accurately recognize the approaching or distant state. , which in turn leads to lower accuracy of display state control.
本申请实施例提供的显示屏控制方法,可以获取预设时间段内所述信号发射器对应的信号强度值;获取所述信号发射器的信号发射频率,根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;根据所述目标信号强度值和信号强度阈值控制显示屏的状态。该方案可以基于多个不同发射频率的信号发射器发射的信号强度控制显示屏的状态,也即综合考虑多个信号发射器的信号强度控制显示屏的状态,该方案可以增加接收到的信号强度,提高发射信号的透过率,打破了显示屏的 阻碍以及自身信号穿透能的限制,提升了接近或远离判断的准确性,进而提升了显示屏状态控制的准确性以及电子设备的稳态性。The display screen control method provided by the embodiment of the present application may acquire a signal strength value corresponding to the signal transmitter in a preset time period; acquire a signal transmission frequency of the signal transmitter, according to a signal transmission frequency of the signal transmitter The signal strength value corresponding to the signal transmitter is processed to obtain a target signal strength value; and the state of the display screen is controlled according to the target signal strength value and the signal strength threshold. The scheme can control the state of the display screen based on the signal strengths of the signal transmitters of the plurality of different transmission frequencies, that is, comprehensively consider the signal strength of the plurality of signal transmitters to control the state of the display screen, and the scheme can increase the received signal strength. Improve the transmission rate of the transmitted signal, break the barrier of the display and the limitation of the signal penetration energy of the display, and improve the accuracy of the proximity or distance judgment, thereby improving the accuracy of the display state control and the steady state of the electronic device. Sex.
此外,本申请实施例提供方法还可以基于多个信号发射器的信号强度获取相应的信号强度阈值,从而使得信号强度阈值可以与外部环境相关联,可以减少外部环境对接近传感器的检测所造成的影响,从而可以进一步地提高接近传或远离检测的准确性。In addition, the method provided by the embodiment of the present application may further acquire a corresponding signal strength threshold based on signal strengths of multiple signal transmitters, so that the signal strength threshold may be associated with an external environment, which may reduce the detection of the proximity sensor by the external environment. The influence can thus further improve the accuracy of proximity or remote detection.
本申请实施例中还提供了一种显示屏控制装置,包括:A display control device is further provided in the embodiment of the present application, including:
强度获取模块,用于获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接收器检测到所述信号发射器发射的探测信号的信号强度值;An intensity obtaining module, configured to acquire a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the sounding signal detected by the signal receiver by the signal receiver;
频率获取模块,用于获取所述信号发射器的信号发射频率;a frequency acquisition module, configured to acquire a signal transmission frequency of the signal transmitter;
强度处理模块,用于根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;An intensity processing module, configured to process a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter, to obtain a target signal strength value;
控制模块,用于根据所述目标信号强度值和信号强度阈值控制显示屏的状态。And a control module, configured to control a state of the display screen according to the target signal strength value and the signal strength threshold.
在一些实施例中,,强度处理模块可以包括:In some embodiments, the intensity processing module can include:
权重获取子模块,用于获取所述信号发射器的信号发射频率对应的权重值;a weight acquisition submodule, configured to acquire a weight value corresponding to a signal transmission frequency of the signal transmitter;
计算子模块,用于根据所述权重值对所述信号发射器对应的信号强度值进行加权求和,得到加权和值;a calculation submodule, configured to perform weighted summation on a signal strength value corresponding to the signal transmitter according to the weight value, to obtain a weighted sum value;
获取子模块,用于根据所述加权和值获取相应的目标信号强度值。Obtaining a submodule, configured to obtain a corresponding target signal strength value according to the weighted sum value.
在一些实施例中,强度获取模块,可以具体用于:In some embodiments, the strength acquisition module may be specifically configured to:
获取预设时间段内所述信号发射器对应的多个实际信号强度值;Obtaining a plurality of actual signal strength values corresponding to the signal transmitters in the preset time period;
根据所述多个信号强度值获取所述信号发射器对应的平均信号强度值;Obtaining an average signal strength value corresponding to the signal transmitter according to the plurality of signal strength values;
将所述平均信号强度值作为所述信号发射器对应的信号强度值。The average signal strength value is used as a signal strength value corresponding to the signal transmitter.
在一些实施例中,控制模块,可以具体用于:In some embodiments, the control module may be specifically configured to:
获取所述目标信号强度值所处的信号强度区间;Obtaining a signal strength interval in which the target signal strength value is located;
获取所述信号强度区间对应的阈值衰减系数;Obtaining a threshold attenuation coefficient corresponding to the signal strength interval;
根据初始信号强度阈值以及所述阈值衰减系数,获取相应的信号强度阈值;Obtaining a corresponding signal strength threshold according to an initial signal strength threshold and the threshold attenuation coefficient;
根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
在一些实施例中,所述信号强度阈值包括第一阈值,控制模块,可以具体用于:In some embodiments, the signal strength threshold includes a first threshold, and the control module may be specifically configured to:
当所述显示屏处于亮屏状态时,判断所述目标信号强度值是否大于所述第一阈值;Determining whether the target signal strength value is greater than the first threshold when the display screen is in a bright screen state;
若所述目标信号强度值大于所述第一阈值,则控制所述显示屏熄灭。And if the target signal strength value is greater than the first threshold, controlling the display to be extinguished.
在一些实施例中,还提供了一种显示屏控制装置,请参阅图15,图15为本申请实施例提供的显示屏控制装置的结构示意图。其中该显示屏控制装置应用于本申请实施例任一提供的电子设备,该显示屏控制装置600可以包括强度获取模块601、频率获取模块402、强度处理模块603以及控制模块604,如下:In some embodiments, a display control device is also provided. Referring to FIG. 15, FIG. 15 is a schematic structural diagram of a display control device according to an embodiment of the present application. The display control device is applied to the electronic device provided by any of the embodiments of the present application. The display control device 600 may include an intensity acquisition module 601, a frequency acquisition module 402, an intensity processing module 603, and a control module 604, as follows:
强度获取模块601,用于获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接收器检测到所述信号发射器发射的探测信号的信号强度值;The strength obtaining module 601 is configured to acquire a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver ;
频率获取模块602,用于获取所述信号发射器的信号发射频率;a frequency acquisition module 602, configured to acquire a signal transmission frequency of the signal transmitter;
强度处理模块603,用于根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;The intensity processing module 603 is configured to process, according to a signal transmission frequency of the signal transmitter, a signal strength value corresponding to the signal transmitter, to obtain a target signal strength value;
控制模块604,用于根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The control module 604 is configured to control a state of the display screen according to the target signal strength value and the signal strength threshold.
在一些实施例中,参考图16,其中,强度处理模块603可以包括:In some embodiments, referring to FIG. 16, wherein the intensity processing module 603 can include:
权重获取子模块6031,用于获取所述信号发射器的信号发射频率对应的权重值;The weight acquisition sub-module 6031 is configured to acquire a weight value corresponding to a signal transmission frequency of the signal transmitter;
计算子模块6032,用于根据所述权重值对所述信号发射器对应的信号强度值进行加权求和,得到加权和值;The calculating sub-module 6032 is configured to perform weighted summation on the signal strength values corresponding to the signal transmitter according to the weight value to obtain a weighted sum value;
获取子模块6032,用于根据所述加权和值获取相应的目标信号强度值。The obtaining submodule 6032 is configured to obtain a corresponding target signal strength value according to the weighted sum value.
在一些实施例中,强度获取模块601,可以具体用于:In some embodiments, the strength obtaining module 601 can be specifically configured to:
获取预设时间段内所述信号发射器对应的多个实际信号强度值;Obtaining a plurality of actual signal strength values corresponding to the signal transmitters in the preset time period;
根据所述多个信号强度值获取所述信号发射器对应的平均信号强度值;Obtaining an average signal strength value corresponding to the signal transmitter according to the plurality of signal strength values;
将所述平均信号强度值作为所述信号发射器对应的信号强度值。The average signal strength value is used as a signal strength value corresponding to the signal transmitter.
在一些实施例中,控制模块604,可以具体用于:In some embodiments, the control module 604 can be specifically configured to:
获取所述目标信号强度值所处的信号强度区间;Obtaining a signal strength interval in which the target signal strength value is located;
获取所述信号强度区间对应的阈值衰减系数;Obtaining a threshold attenuation coefficient corresponding to the signal strength interval;
根据初始信号强度阈值以及所述阈值衰减系数,获取相应的信号强度阈值;Obtaining a corresponding signal strength threshold according to an initial signal strength threshold and the threshold attenuation coefficient;
根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
在一些实施例中,所述信号强度阈值包括第一阈值,控制模块604,可以具体用于:In some embodiments, the signal strength threshold includes a first threshold, and the control module 604 can be specifically configured to:
当所述显示屏处于亮屏状态时,判断所述目标信号强度值是否大于所述第一阈值;Determining whether the target signal strength value is greater than the first threshold when the display screen is in a bright screen state;
若所述目标信号强度值大于所述第一阈值,则控制所述显示屏熄灭。And if the target signal strength value is greater than the first threshold, controlling the display to be extinguished.
其中,显示屏控制装置中各模块执行的步骤可以参考上述方法实施例描述的方法步骤。该显示屏控制装置可以集成在电子设备中,如手机、平板电脑等。The steps performed by each module in the display control device may refer to the method steps described in the foregoing method embodiments. The display control device can be integrated in an electronic device such as a mobile phone or a tablet computer.
具体实施时,以上各个模块可以作为独立的实体实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单位的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation, the foregoing modules may be implemented as an independent entity, or may be implemented in any combination, and may be implemented as the same entity or a plurality of entities. For the specific implementation of the foregoing units, refer to the foregoing embodiments, and details are not described herein again.
由上可知,本申请实施例提供的显示屏控制方法,可以由强度获取模块601获取预设时间段内所述信号发射器对应的信号强度值;由频率获取模块602获取所述信号发射器的信号发射频率;由强度处理模块603根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;由控制模块604根据所述目标信号强度值和信号强度阈值控制显示屏的状态。该方案可以基于多个不同发射频率的信号发射器发射的信号强度控制显示屏的状态,也即综合考虑多个信号发射器的信号强度控制显示屏的状态,该方案可以增加接收到的信号强度,打破了显示屏的阻碍以及自身信号穿透能的限制,提升了接近或远离判断的准确性,进而提升了显示屏状态控制的准确性以及电子设备的稳态性。It can be seen that, in the display screen control method provided by the embodiment of the present application, the strength obtaining module 601 can obtain the signal strength value corresponding to the signal transmitter in the preset time period; and the frequency acquiring module 602 obtains the signal transmitter. a signal transmission frequency; the intensity processing module 603 processes the signal strength value corresponding to the signal transmitter according to the signal transmission frequency of the signal transmitter to obtain a target signal strength value; and the control module 604 determines the target signal strength value according to the target signal strength value. And the signal strength threshold controls the state of the display. The scheme can control the state of the display screen based on the signal strengths of the signal transmitters of the plurality of different transmission frequencies, that is, comprehensively consider the signal strength of the plurality of signal transmitters to control the state of the display screen, and the scheme can increase the received signal strength. It breaks the barrier of the display and the limitation of its own signal penetration energy, and improves the accuracy of the proximity or distance judgment, thereby improving the accuracy of the display state control and the steady state of the electronic device.
本申请实施例还提供一种电子设备。请参阅图17,电子设备700包括处理器701以及存储器702。其中,处理器701与存储器702电性连接。An embodiment of the present application further provides an electronic device. Referring to FIG. 17, the electronic device 700 includes a processor 701 and a memory 702. The processor 701 is electrically connected to the memory 702.
所述处理器700是电子设备700的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器702内的计算机程序,以及调用存储在存储器702内的数据,执行电子设备700的各种功能并处理数据,从而对电子设备700进行整体监控。The processor 700 is a control center of the electronic device 700 that connects various portions of the entire electronic device using various interfaces and lines, by running or loading a computer program stored in the memory 702, and recalling data stored in the memory 702, The various functions of the electronic device 700 are performed and the data is processed to perform overall monitoring of the electronic device 700.
所述存储器702可用于存储软件程序以及模块,处理器701通过运行存储在存储器702的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器702可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器702可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器702还可以包括存储器控制器,以提供处理器701对存储器702的访问。The memory 702 can be used to store software programs and modules, and the processor 701 executes various functional applications and data processing by running computer programs and modules stored in the memory 702. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of electronic devices, etc. Moreover, memory 702 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 702 can also include a memory controller to provide processor 701 access to memory 702.
在本申请实施例中,电子设备700中的处理器701会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器702中,并由处理器701运行存储在存储器702中的计算机程序,从而实现各种功能,如下:In the embodiment of the present application, the processor 701 in the electronic device 700 loads the instructions corresponding to the process of one or more computer programs into the memory 702 according to the following steps, and is stored in the memory 702 by the processor 701. The computer program in which to implement various functions, as follows:
获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接 收器检测到所述信号发射器发射的探测信号的信号强度值;Obtaining a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver;
获取所述信号发射器的信号发射频率;Obtaining a signal transmission frequency of the signal transmitter;
根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;And processing, according to a signal transmission frequency of the signal transmitter, a signal strength value corresponding to the signal transmitter to obtain a target signal strength value;
根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
在某些实施方式中,在根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值时,处理器701可以具体执行以下步骤:In some embodiments, when the signal strength value corresponding to the signal transmitter is processed according to the signal transmission frequency of the signal transmitter to obtain the target signal strength value, the processor 701 may specifically perform the following steps:
获取所述信号发射器的信号发射频率对应的权重值;Obtaining a weight value corresponding to a signal transmission frequency of the signal transmitter;
根据所述权重值对所述信号发射器对应的信号强度值进行加权求和,得到加权和值;And weighting and summing the signal strength values corresponding to the signal transmitter according to the weight value to obtain a weighted sum value;
根据所述加权和值获取相应的目标信号强度值。A corresponding target signal strength value is obtained according to the weighted sum value.
在某些实施方式中,在获取预设时间段内所述信号发射器对应的信号强度值时,处理器701可以具体执行以下步骤:In some embodiments, when acquiring a signal strength value corresponding to the signal transmitter within a preset time period, the processor 701 may specifically perform the following steps:
获取预设时间段内所述信号发射器对应的多个实际信号强度值;Obtaining a plurality of actual signal strength values corresponding to the signal transmitters in the preset time period;
根据所述多个信号强度值获取所述信号发射器对应的平均信号强度值;Obtaining an average signal strength value corresponding to the signal transmitter according to the plurality of signal strength values;
将所述平均信号强度值作为所述信号发射器对应的信号强度值。The average signal strength value is used as a signal strength value corresponding to the signal transmitter.
在某些实施方式中,在根据所述目标信号强度值和信号强度阈值控制显示屏的状态时,处理器701可以具体执行以下步骤:In some embodiments, when controlling the state of the display screen according to the target signal strength value and the signal strength threshold, the processor 701 may specifically perform the following steps:
获取所述目标信号强度值所处的信号强度区间;Obtaining a signal strength interval in which the target signal strength value is located;
获取所述信号强度区间对应的阈值衰减系数;Obtaining a threshold attenuation coefficient corresponding to the signal strength interval;
根据初始信号强度阈值以及所述阈值衰减系数,获取相应的信号强度阈值;Obtaining a corresponding signal strength threshold according to an initial signal strength threshold and the threshold attenuation coefficient;
根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
在某些实施方式中,所述信号强度阈值包括第一阈值;在根据所述目标信号强度值和信号强度阈值控制显示屏的状态时,处理器701可以具体执行以下步骤:In some embodiments, the signal strength threshold includes a first threshold; when the state of the display screen is controlled according to the target signal strength value and the signal strength threshold, the processor 701 may specifically perform the following steps:
当所述显示屏处于亮屏状态时,判断所述目标信号强度值是否大于所述第一阈值;Determining whether the target signal strength value is greater than the first threshold when the display screen is in a bright screen state;
若所述目标信号强度值大于所述第一阈值,则控制所述显示屏熄灭。And if the target signal strength value is greater than the first threshold, controlling the display to be extinguished.
请一并参阅图18,在某些实施方式中,电子设备700还可以包括:显示器703、射频电路704、音频电路705以及电源706。其中,其中,显示器703、射频电路704、音频电路705以及电源706分别与处理器701电性连接。Referring to FIG. 18 together, in some embodiments, the electronic device 700 may further include: a display 703, a radio frequency circuit 704, an audio circuit 705, and a power source 706. The display 703, the radio frequency circuit 704, the audio circuit 705, and the power source 706 are electrically connected to the processor 701, respectively.
所述显示器703可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器703可以包括显示面板,在某些实施方式中,可以采用液晶显示器(Liquid Crystal Display,LCD)、或者有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。The display 703 can be used to display information entered by a user or information provided to a user, as well as various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof. The display 703 may include a display panel. In some embodiments, the display panel may be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
所述射频电路704可以用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。The radio frequency circuit 704 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
所述音频电路705可以用于通过扬声器、传声器提供用户与电子设备之间的音频接口。The audio circuit 705 can be used to provide an audio interface between a user and an electronic device through a speaker or a microphone.
所述电源706可以用于给电子设备700的各个部件供电。在一些实施例中,电源706可以通过电源管理系统与处理器701逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The power source 706 can be used to power various components of the electronic device 700. In some embodiments, the power supply 706 can be logically coupled to the processor 701 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
尽管图18中未示出,电子设备700还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 18, the electronic device 700 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
本申请实施例还提供一种存储介质,所述存储介质存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述任一实施例中的显示屏控制方法,比如:获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接收器 检测到所述信号发射器发射的探测信号的信号强度值;获取所述信号发射器的信号发射频率;根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, causes the computer to execute the display screen control method in any of the above embodiments, such as: Obtaining a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver; acquiring the signal transmitter a signal transmission frequency; processing a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter to obtain a target signal strength value; and controlling the display screen according to the target signal strength value and the signal intensity threshold status.
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM,)、或者随机存取记忆体(Random Access Memory,RAM)等。In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
需要说明的是,对本申请实施例的显示屏控制方法而言,本领域普通测试人员可以理解实现本申请实施例的显示屏控制方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如应用清理方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that, for the display control method of the embodiment of the present application, a common tester in the art can understand all or part of the process of implementing the display control method of the embodiment of the present application, and the related hardware can be controlled by a computer program. To complete, the computer program may be stored in a computer readable storage medium, such as in a memory of the electronic device, and executed by at least one processor in the electronic device, and may include, for example, application cleaning during execution. The flow of an embodiment of the method. The storage medium may be a magnetic disk, an optical disk, a read only memory, a random access memory, or the like.
对本申请实施例的显示屏控制装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the display control device of the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated module, if implemented in the form of a software functional module and sold or used as a standalone product, may also be stored in a computer readable storage medium, such as a read only memory, a magnetic disk or an optical disk, etc. .
以上对本申请实施例提供的显示屏控制方法、装置、存储介质及电子装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请。同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The display control method, the device, the storage medium, and the electronic device provided by the embodiments of the present application are described in detail. The principles and implementation manners of the present application are described in the specific examples. The description of the above embodiments is only used for Help understand this application. In the meantime, those skilled in the art will be able to change the specific embodiments and the scope of the application according to the idea of the present application. In the above, the content of the specification should not be construed as limiting the present application.

Claims (20)

  1. 一种电子装置,其中,包括显示屏、电路板以及设置在所述电路板上的传感器组件;An electronic device including a display screen, a circuit board, and a sensor assembly disposed on the circuit board;
    所述传感器组件位于所述显示屏一侧,包括多个信号发射器以及一个信号接收器;至少两个信号发射器之间的信号发射频率不相同;The sensor component is located on one side of the display screen and includes a plurality of signal transmitters and a signal receiver; the signal transmission frequencies between the at least two signal transmitters are different;
    每个所述信号发射器根据其信号发射频率间隔发射探测信号,所述探测信号透过所述显示屏传输到外界,所述探测信号经过外界物体反射后形成反射信号,所述反射信号通过所述显示屏进入所述信号接收器。Each of the signal transmitters transmits a detection signal according to a signal transmission frequency interval thereof, and the detection signal is transmitted to the outside through the display screen, and the detection signal is reflected by an external object to form a reflection signal, and the reflection signal passes through the The display screen enters the signal receiver.
  2. 如权利要求1所述的电子装置,其中,所述多个信号发射器分别间隔设置在所述信号接收器周围。The electronic device of claim 1, wherein the plurality of signal transmitters are respectively disposed around the signal receiver.
  3. 如权利要求1所述的电子装置,其中,所述显示屏朝向所述传感器组件的一侧设有遮光层;所述遮光层设有所述信号发射器对应的第一开孔、以及所述信号接收器对应的第二开孔。The electronic device of claim 1, wherein the display screen is provided with a light shielding layer on a side of the sensor assembly; the light shielding layer is provided with a first opening corresponding to the signal transmitter, and the The second opening corresponding to the signal receiver.
  4. 如权利要求1所述的电子装置,其中,所述至少两个信号发射器与所述信号接收器之间的距离不相同。The electronic device of claim 1 wherein the distance between the at least two signal transmitters and the signal receiver is different.
  5. 如权利要求1所述的电子装置,其中,所述信号发射器与信号接收器之间的距离为2至14毫米。The electronic device of claim 1 wherein the distance between the signal transmitter and the signal receiver is between 2 and 14 millimeters.
  6. 如权利要求1所述的电子装置,其中,所述传感器组件还包括环境光传感器,所述环境光传感器用于感应外界环境光信号。The electronic device of claim 1 wherein said sensor component further comprises an ambient light sensor for sensing an ambient light signal.
  7. 如权利要求6所述的电子装置,其中,所述环境光传感器与所述信号接收器之间的距离大于所述信号发射器与所述信号接收器之间的距离。The electronic device of claim 6, wherein a distance between the ambient light sensor and the signal receiver is greater than a distance between the signal transmitter and the signal receiver.
  8. 如权利要求1所述的电子装置,其中,还包括壳体;所述显示屏、所述电路板以及所述传感器组件安装在所述壳体内。The electronic device of claim 1 further comprising a housing; said display screen, said circuit board and said sensor assembly being mounted within said housing.
  9. 如权利要求1所述的电子装置,其中,所述多个信号发射器的发射频率依次递增。The electronic device of claim 1, wherein the transmission frequencies of the plurality of signal transmitters are sequentially incremented.
  10. 如权利要求6所述的电子装置,其中,所述信号发射器、所述信号接收器以及所述环境光传感器封装成芯片。The electronic device of claim 6, wherein the signal transmitter, the signal receiver, and the ambient light sensor are packaged in a chip.
  11. 如权利要求5所述的电子装置,其中,所述信号发射器与所述信号接收器之间的距离包括所述信号发射器与所述信号接收器之间的几何中心距离。The electronic device of claim 5 wherein the distance between the signal transmitter and the signal receiver comprises a geometric center distance between the signal transmitter and the signal receiver.
  12. 如权利要求1所述的电子装置,其中,所述信号发射器为红外发射器,所述信号接收器为红外接收器。The electronic device of claim 1 wherein said signal transmitter is an infrared transmitter and said signal receiver is an infrared receiver.
  13. 一种显示屏控制方法,适用于如权利要求1-12任一项所述的电子装置,其中,包括:A display control method for an electronic device according to any one of claims 1 to 12, comprising:
    获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接收器检测到所述信号发射器发射的探测信号的信号强度值;Obtaining a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the detection signal detected by the signal receiver by the signal receiver;
    获取所述信号发射器的信号发射频率;Obtaining a signal transmission frequency of the signal transmitter;
    根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;And processing, according to a signal transmission frequency of the signal transmitter, a signal strength value corresponding to the signal transmitter to obtain a target signal strength value;
    根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  14. 如权利要求13所述的显示屏控制方法,其中,根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值,包括:The display screen control method according to claim 13, wherein the signal intensity value corresponding to the signal transmitter is processed according to a signal transmission frequency of the signal transmitter to obtain a target signal strength value, including:
    获取所述信号发射器的信号发射频率对应的权重值;Obtaining a weight value corresponding to a signal transmission frequency of the signal transmitter;
    根据所述权重值对所述信号发射器对应的信号强度值进行加权求和,得到加权和值;And weighting and summing the signal strength values corresponding to the signal transmitter according to the weight value to obtain a weighted sum value;
    根据所述加权和值获取相应的目标信号强度值。A corresponding target signal strength value is obtained according to the weighted sum value.
  15. 如权利要求13所述的显示屏控制方法,其中,获取预设时间段内所述信号发射器对应的信号强度值,包括:The display screen control method according to claim 13, wherein the acquiring the signal strength value corresponding to the signal transmitter in the preset time period comprises:
    获取预设时间段内所述信号发射器对应的多个实际信号强度值;Obtaining a plurality of actual signal strength values corresponding to the signal transmitters in the preset time period;
    根据所述多个信号强度值获取所述信号发射器对应的平均信号强度值;Obtaining an average signal strength value corresponding to the signal transmitter according to the plurality of signal strength values;
    将所述平均信号强度值作为所述信号发射器对应的信号强度值。The average signal strength value is used as a signal strength value corresponding to the signal transmitter.
  16. 如权利要求13所述的显示屏控制方法,其中,根据所述目标信号强度值和信号强度阈值控制显示屏的状态,包括:The display screen control method according to claim 13, wherein controlling the state of the display screen according to the target signal strength value and the signal strength threshold comprises:
    获取所述目标信号强度值所处的信号强度区间;Obtaining a signal strength interval in which the target signal strength value is located;
    获取所述信号强度区间对应的阈值衰减系数;Obtaining a threshold attenuation coefficient corresponding to the signal strength interval;
    根据初始信号强度阈值以及所述阈值衰减系数,获取相应的信号强度阈值;Obtaining a corresponding signal strength threshold according to an initial signal strength threshold and the threshold attenuation coefficient;
    根据所述目标信号强度值和信号强度阈值控制显示屏的状态。The state of the display screen is controlled based on the target signal strength value and the signal strength threshold.
  17. 如权利要求13所述的显示屏控制方法,其中,所述信号强度阈值包括第一阈值,所述根据所述目标信号强度值以及所述信号强度阈值控制所述显示屏的状态的步骤包括:The display screen control method according to claim 13, wherein the signal intensity threshold comprises a first threshold, and the step of controlling the state of the display screen according to the target signal strength value and the signal intensity threshold comprises:
    当所述显示屏处于亮屏状态时,判断所述目标信号强度值是否大于所述第一阈值;Determining whether the target signal strength value is greater than the first threshold when the display screen is in a bright screen state;
    若所述目标信号强度值大于所述第一阈值,则控制所述显示屏熄灭。And if the target signal strength value is greater than the first threshold, controlling the display to be extinguished.
  18. 一种显示屏控制装置,适用于如权利要求1-12任一项所述的电子装置,其中,包括:A display control device, suitable for use in an electronic device according to any one of claims 1 to 12, comprising:
    强度获取模块,用于获取预设时间段内所述信号发射器对应的信号强度值;所述信号强度值为所述信号接收器检测到所述信号发射器发射的探测信号的信号强度值;An intensity obtaining module, configured to acquire a signal strength value corresponding to the signal transmitter in a preset time period; the signal strength value is a signal strength value of the sounding signal detected by the signal receiver by the signal receiver;
    频率获取模块,用于获取所述信号发射器的信号发射频率;a frequency acquisition module, configured to acquire a signal transmission frequency of the signal transmitter;
    强度处理模块,用于根据所述信号发射器的信号发射频率对所述信号发射器对应的信号强度值进行处理,得到目标信号强度值;An intensity processing module, configured to process a signal strength value corresponding to the signal transmitter according to a signal transmission frequency of the signal transmitter, to obtain a target signal strength value;
    控制模块,用于根据所述目标信号强度值和信号强度阈值控制显示屏的状态。And a control module, configured to control a state of the display screen according to the target signal strength value and the signal strength threshold.
  19. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求13至17任一项所述的显示屏控制方法。A storage medium having stored thereon a computer program, wherein when the computer program is run on a computer, the computer is caused to perform the display screen control method according to any one of claims 13 to 17.
  20. 一种电子装置,其中,包括处理器和存储器,所述存储器有计算机程序,其中,所述处理器通过调用所述计算机程序,用于执行如权利要求13至17任一项所述的显示屏控制方法。An electronic device, comprising a processor and a memory, the memory having a computer program, wherein the processor is configured to execute the display screen according to any one of claims 13 to 17 by calling the computer program Control Method.
PCT/CN2018/115439 2017-11-22 2018-11-14 Display screen component, control method and device, storage medium and electronic device WO2019100989A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711176963.7 2017-11-22
CN201711176963.7A CN107831901A (en) 2017-11-22 2017-11-22 Display panel control method, device, storage medium and electronic installation

Publications (1)

Publication Number Publication Date
WO2019100989A1 true WO2019100989A1 (en) 2019-05-31

Family

ID=61652309

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115439 WO2019100989A1 (en) 2017-11-22 2018-11-14 Display screen component, control method and device, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN107831901A (en)
WO (1) WO2019100989A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238250A (en) * 2021-04-21 2021-08-10 奥比中光科技集团股份有限公司 Method and device for eliminating stray light under screen, under screen system and storage medium
CN113542454A (en) * 2020-04-13 2021-10-22 北京小米移动软件有限公司 Ranging apparatus, ranging signal transmission control method, ranging apparatus, device, and medium
US11564196B2 (en) 2020-11-03 2023-01-24 International Business Machines Corporation Determining peripheral device position relative to a primary display

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831901A (en) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 Display panel control method, device, storage medium and electronic installation
CN108983211B (en) * 2018-07-02 2022-08-09 Oppo广东移动通信有限公司 Proximity sensor, method of controlling the same, electronic device, and computer-readable storage medium
CN113454486A (en) * 2019-02-04 2021-09-28 ams国际有限公司 Proximity sensing based on rate change detection
CN109862159B (en) 2019-03-08 2021-02-05 维沃移动通信有限公司 Electronic equipment and electronic equipment control method
CN112462928B (en) * 2019-09-06 2024-03-26 北京小米移动软件有限公司 Operation execution method, device and storage medium
TWI722710B (en) * 2019-12-11 2021-03-21 茂達電子股份有限公司 Proximity sensor with a sliced integration time sensing mechanism and a sensing method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679244A (en) * 2015-02-11 2015-06-03 深圳市金立通信设备有限公司 Terminal
CN106850989A (en) * 2017-02-08 2017-06-13 广东欧珀移动通信有限公司 Display screen condition control method and device
US9733720B2 (en) * 2014-12-02 2017-08-15 Elliptic Laboratories As Ultrasonic proximity and movement detection
CN107831901A (en) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 Display panel control method, device, storage medium and electronic installation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940633B (en) * 2017-03-06 2019-09-13 Oppo广东移动通信有限公司 Display screen condition control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9733720B2 (en) * 2014-12-02 2017-08-15 Elliptic Laboratories As Ultrasonic proximity and movement detection
CN104679244A (en) * 2015-02-11 2015-06-03 深圳市金立通信设备有限公司 Terminal
CN106850989A (en) * 2017-02-08 2017-06-13 广东欧珀移动通信有限公司 Display screen condition control method and device
CN107831901A (en) * 2017-11-22 2018-03-23 广东欧珀移动通信有限公司 Display panel control method, device, storage medium and electronic installation

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542454A (en) * 2020-04-13 2021-10-22 北京小米移动软件有限公司 Ranging apparatus, ranging signal transmission control method, ranging apparatus, device, and medium
CN113542454B (en) * 2020-04-13 2024-01-30 北京小米移动软件有限公司 Ranging device, ranging signal emission control method, device, equipment and medium
US11564196B2 (en) 2020-11-03 2023-01-24 International Business Machines Corporation Determining peripheral device position relative to a primary display
CN113238250A (en) * 2021-04-21 2021-08-10 奥比中光科技集团股份有限公司 Method and device for eliminating stray light under screen, under screen system and storage medium
CN113238250B (en) * 2021-04-21 2024-03-12 奥比中光科技集团股份有限公司 Method and device for eliminating stray light under screen, under screen system and storage medium

Also Published As

Publication number Publication date
CN107831901A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
WO2019100989A1 (en) Display screen component, control method and device, storage medium and electronic device
CN107943345B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
WO2019100981A1 (en) Display screen assembly, control method and apparatus, storage medium, and electronic device
US10403232B2 (en) Method of controlling display screen states, and apparatus
CN107942306B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
AU2018370704B2 (en) Method for detecting ambient light intensity, storage medium and electronic device
US11196854B2 (en) Electronic device
US10244099B2 (en) Method and device for determining status of terminal, and terminal
US9897696B2 (en) Method of recognizing surrounding environment and electronic device for the same
CN110249613B (en) Display screen state control method and device, storage medium and electronic equipment
CN107484231B (en) Screen parameter adjusting method, device, terminal and computer readable storage medium
US10198092B2 (en) Electronic device including electronic pen and method for recognizing insertion of the electronic pen therein
US11226718B2 (en) Method and mobile terminal for utilizing area near openings in display screen to display application icon
CN107797746B (en) Display screen control method and device, storage medium and electronic equipment
CN107911554B (en) Electronic device and control method thereof
CN107959752B (en) Display screen state control method and device, storage medium and terminal
WO2019233232A1 (en) Control method, control device, electronic device, computer storage medium and device
WO2019100955A1 (en) Display apparatus and electronic device
CN111599273B (en) Display screen control method and device, terminal equipment and storage medium
CN110753155A (en) Proximity detection method and terminal equipment
CN107948420B (en) Display screen state control method and device, storage medium and terminal
CN110031860B (en) Laser ranging method and device and mobile terminal
CN109710109B (en) Control method, control device, electronic device, and storage medium
CN109195206B (en) Control method of display screen state, storage medium and electronic equipment
CN108365882B (en) Antenna control method, antenna control device, storage medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18881267

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18881267

Country of ref document: EP

Kind code of ref document: A1