CN115277912A - Detection method, electronic device and computer-readable storage medium - Google Patents

Detection method, electronic device and computer-readable storage medium Download PDF

Info

Publication number
CN115277912A
CN115277912A CN202210867684.XA CN202210867684A CN115277912A CN 115277912 A CN115277912 A CN 115277912A CN 202210867684 A CN202210867684 A CN 202210867684A CN 115277912 A CN115277912 A CN 115277912A
Authority
CN
China
Prior art keywords
capacitance
housing
value
current
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210867684.XA
Other languages
Chinese (zh)
Inventor
王普
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Douku Software Technology Co Ltd
Original Assignee
Hangzhou Douku Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Douku Software Technology Co Ltd filed Critical Hangzhou Douku Software Technology Co Ltd
Priority to CN202210867684.XA priority Critical patent/CN115277912A/en
Publication of CN115277912A publication Critical patent/CN115277912A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Geology (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application relates to a detection method, an electronic device and a computer readable storage medium, which are used for obtaining a current capacitance value of a capacitance sensor at the current moment, obtaining a reference capacitance value corresponding to the current moment, wherein the reference capacitance value is obtained by counting a plurality of forward capacitance values, the forward capacitance value is the current capacitance value of the capacitance sensor at the forward moment, obtaining a capacitance value difference between the current capacitance value and the reference capacitance value so as to obtain a current capacitance difference value, obtaining a difference between the current capacitance difference value and the reference capacitance difference value corresponding to the current moment to serve as a false touch judgment value, and determining a false touch judgment result of a detection area based on the false touch judgment value. The detection method, the electronic device and the computer readable storage medium effectively reduce the misjudgment probability caused by the adverse effect of temperature on the capacitance sensor.

Description

Detection method, electronic device and computer-readable storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a detection method, an electronic device, and a computer-readable storage medium.
Background
In the current intelligent information era, users use electronic equipment more and more frequently, and the use scenes are diversified day by day. At present, the screen size of most portable intelligent electronic devices is below 7 inches, and compared with flat-panel and pen electronic products, the screen display area is limited, and the user operation experience is limited.
The appearance of flexible screen solves this type of problem well, buckles or curls through flexible screen, accomodates the large screen in the middle of the little fuselage, and the user of being convenient for carries. Meanwhile, the small screen is used as a normal mobile phone, when the large screen is switched, news reading and social chat can be achieved, the game operation experience of a user can be improved, and the use scene of the user is greatly enriched.
However, in order to adapt to the requirement of stretching and retracting of the flexible screen, the housing assembly of the electronic device needs to be configured into at least two parts capable of moving relatively, so that the housing assembly of the electronic device is easy to clamp a finger of a user or a foreign object in the process of folding the flexible screen, and when a sensor is adopted for detection, the accuracy of a detection result is often low.
Disclosure of Invention
The application provides a detection method, an electronic device and a computer readable storage medium, so as to solve the technical problem that a detection result is easily influenced by temperature to cause misjudgment.
In one aspect, an embodiment of the present application provides a detection method for detecting a foreign object in an electronic device, where the electronic device includes a capacitive sensor, and the capacitive sensor is disposed in a detection area of the electronic device, and the detection method includes:
acquiring a current capacitance value of the capacitance sensor at the current moment;
acquiring a reference capacitance value corresponding to the current moment, wherein the reference capacitance value is obtained by counting a plurality of forward capacitance values, and the forward capacitance value is the current capacitance value of the capacitive sensor at the forward moment;
obtaining a capacitance value difference between the current capacitance value and the reference capacitance value to obtain a current capacitance difference value;
acquiring the difference between the current capacitance difference value and a reference capacitance difference value corresponding to the current moment, and taking the difference as a false touch judgment value;
and determining the false touch judgment result of the detection area based on the false touch judgment value.
On the other hand, the embodiment of the application provides an electronic device, the electronic device includes shell subassembly, actuating mechanism and controller, the shell subassembly includes first casing and second casing, the second casing can be in actuating mechanism orders about relative first casing moves to development position and draws in the position in, the controller with the capacitive sensor electricity is connected, the controller is used for carrying out above-mentioned detection method, with according to the mistake of detection zone touches judgement result control actuating mechanism's operating condition.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer-readable instructions are stored, and the computer-readable instructions, when executed by a processor, implement the steps of the detection method described above.
In the embodiment of the application, the reference capacitance value is obtained by counting the current capacitance values at a plurality of forward moments, and thus, even if the reference capacitance value and the current capacitance value at the current moment are affected by temperature, the current capacitance value and the current capacitance value are affected by temperature to obtain the current capacitance difference value, and the capacitance change generated by the temperature influence on the current capacitance value and the reference capacitance value is offset, so that the temperature influence is eliminated by the obtained current capacitance difference value.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a detection method according to an embodiment;
fig. 2 is a schematic flowchart illustrating a step of obtaining a reference capacitance value corresponding to a current time in a detection method according to an embodiment;
fig. 3 is a schematic flow chart illustrating a step of acquiring a difference between a current capacitance difference value and a reference capacitance difference value corresponding to a current time as a false touch determination value in the detection method according to an embodiment;
fig. 4 is a schematic flow chart illustrating a difference value summation result obtained by summing up current capacitance difference values in a set of forward capacitance difference values in a detection method according to another embodiment;
fig. 5 is a schematic flow chart illustrating a step of obtaining a difference between a current capacitance difference value and a reference capacitance difference value corresponding to a current time as a false touch determination value in a detection method according to another embodiment;
FIG. 6 is a block flow diagram of a detection method according to one embodiment;
FIG. 7 is a diagram illustrating a second housing in a collapsed position in an electronic device according to an embodiment;
FIG. 8 is a schematic cross-sectional view of the electronic device shown in FIG. 7;
FIG. 9 is a schematic diagram illustrating an electronic device in an expanded position according to an embodiment;
FIG. 10 is a schematic cross-sectional view of the electronic device shown in FIG. 9;
FIG. 11 is a schematic diagram of another perspective of the electronic device shown in FIG. 9;
fig. 12 is a schematic view of the electronic device according to the embodiment when the second housing moves in a first direction relative to the first housing;
fig. 13 is a partial schematic structural diagram of a first housing, a second housing, and a third housing in the electronic device according to the embodiment;
fig. 14 is a side structural view of a partial structure of the first, second, and third housings shown in fig. 13;
FIG. 15 is a flowchart illustrating control steps performed by a controller of an electronic device according to an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are illustrated in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
As used herein, "electronic device" means a device capable of receiving and/or transmitting communication signals including, but not limited to, a device connected via any one or more of the following connections:
(1) Via wireline connections, such as via Public Switched Telephone Network (PSTN), digital Subscriber Line (DSL), digital cable, direct cable connections;
(2) Via a Wireless interface means such as a cellular Network, a Wireless Local Area Network (WLAN), a digital television Network such as a DVB-H Network, a satellite Network, an AM-FM broadcast transmitter.
Electronic devices arranged to communicate over a wireless interface may be referred to as "mobile terminals". Examples of mobile terminals include, but are not limited to, the following electronic devices:
(1) A satellite phone or a cellular phone;
(2) Personal Communications Systems (PCS) terminals that may combine cellular radiotelephones with data processing, facsimile, and data Communications capabilities;
(3) Radio telephones, pagers, internet/intranet access, web browsers, notebooks, calendars, personal Digital Assistants (PDAs) equipped with Global Positioning System (GPS) receivers;
(4) Conventional laptop and/or palmtop receivers;
(5) Conventional laptop and/or palmtop radiotelephone transceivers, and the like.
Referring to fig. 1, an embodiment of the present application provides a detection method for detecting a foreign object in an electronic device, specifically, during a use process of the electronic device, there is at least one region to be detected (hereinafter referred to as a "detection region"), and the detection region is easily touched by the foreign object by mistake, which may cause a malfunction of the electronic device or adversely affect a use performance of the electronic device. Based on this, the detection method of the embodiment of the application is adopted to detect the detection area so as to check whether foreign matters exist in the detection area. Specifically, the electronic device includes a capacitive sensor that is disposed in a detection zone of the electronic device and is configured to detect the detection zone. The capacitive sensor will be described below with reference to the structure of the electronic device, and will not be described herein.
As shown in fig. 1, the detection method includes:
step S102, obtaining the current capacitance value of the capacitance sensor at the current moment.
In step S102, the obtained current capacitance value refers to a capacitance value detected by the capacitive sensor at the current time, that is, as the capacitive sensor continues to work, the current capacitance value continuously represents the capacitance value of the capacitive sensor at the current time. It should be noted that the current capacitance value may be an initial measurement value of the capacitive sensor in the detection area.
And step S104, acquiring a reference capacitance value corresponding to the current moment.
In step S104, the reference capacitance is obtained by counting a plurality of forward capacitances, where the forward capacitance is a current capacitance of the capacitive sensor at a forward time, and the forward time is a time before the current time, and one forward time corresponds to one capacitance. For example, the forward time is a plurality of times with a time interval from the current time smaller than a preset interval, the capacitance value of each forward time is obtained, and the capacitance values are counted to obtain the reference capacitance value. That is, the reference capacitance value is obtained by counting the current capacitance values corresponding to a plurality of forward time points at the current time point. Statistical approaches include, but are not limited to, averaging the current capacitance values of the capacitive sensor over multiple forward time instants.
Specifically, referring to fig. 2, in some embodiments, the step S104 of acquiring the reference capacitance value corresponding to the current time includes:
step S1042, a forward capacitance value set corresponding to the current time is obtained, where the forward capacitance value set includes a plurality of forward capacitance values.
In this way, a plurality of forward capacitance values (i.e. capacitance values of the capacitive sensor at a plurality of forward moments) can be obtained, and these forward capacitance values form a forward capacitance value set, which is ready for subsequent processing, as described in step S1044 below. For example, assuming that the current time is the 5 th time, the capacitance values detected by the capacitance sensor at the 1 st to 4 th times can be obtained as the capacitance values in the forward capacitance value set.
Step S1044 is to sum forward capacitance values of the forward capacitance value set to obtain a capacitance value summation result.
For example, the forward capacitance set includes current capacitance values of n forward-time capacitive sensors before the current time, and the capacitance value summation result is the sum of the current capacitance values of the n forward-time capacitive sensors. Understandably, in the using process of the electronic device, if the temperature gradually changes, the current capacitance values of the n forward moment capacitance sensors also gradually change, and after the summation calculation, the capacitance value summation result influenced by the temperature can be obtained. Understandably, even if the temperature does not change, the current capacitance values of the forward time capacitive sensors are the capacitance values in the temperature environment at the corresponding time, so that no matter whether the temperature changes, the capacitance value summation result is associated with the temperature when the current capacitance values of the n forward time capacitive sensors are acquired, and therefore, when the reference capacitance values are obtained in the subsequent processing, the reference capacitance values are also associated with the temperature.
In step S1046, a reference capacitance value corresponding to the current time is obtained based on the capacitance value summation result.
In step S1046, the reference capacitance value corresponding to the current time has a positive correlation with the capacitance value summation result, that is, under the condition that other conditions are not changed, the larger the capacitance value summation result is, the larger the reference capacitance value is. Therefore, when the capacitance value summation result is influenced by temperature to increase or decrease, the reference capacitance value corresponding to the current moment is also increased or decreased along with the temperature, specifically, the reference capacitance value is influenced by the temperature, and the temperature is a factor influencing the reference capacitance value.
Step S106, obtaining a capacitance difference between the current capacitance and the reference capacitance to obtain a current capacitance difference value.
The capacitance difference may be a difference between the current capacitance and the reference capacitance, and specifically, the current capacitance difference may be an absolute value obtained by subtracting the reference capacitance from the current capacitance. Because the current capacitance value and the reference capacitance value are both values corresponding to the corresponding temperatures, specifically, the current capacitance value is related to the temperature when the current capacitance value is acquired, and the reference capacitance value is related to the temperature when the current capacitance values of the capacitive sensor at a plurality of forward moments are acquired, after the step S106, the portions of the current capacitance value and the reference capacitance value affected by the temperature are mutually offset, so that the obtained current capacitance difference value is affected by the temperature and is reduced, or even not affected by the temperature.
Step S108, obtaining a difference between the current capacitance difference value and the reference capacitance difference value corresponding to the current time as a false touch determination value.
The false touch determination value is a value for determining whether or not there is a foreign object false touch in the detection region. Whether the detection area has the foreign matter mis-touch can be determined based on the magnitude relation of the mis-touch judgment value.
In step S110, a false touch determination result of the detection region is determined based on the false touch determination value.
In the detection method, the reference capacitance value is obtained by counting the current capacitance values at a plurality of forward moments, so that the reference capacitance value and the current capacitance value at the current moment are both influenced by temperature, and therefore, after the step of obtaining the capacitance value difference between the current capacitance value and the reference capacitance value to obtain the current capacitance difference value, the capacitance change generated by the influence of the temperature on the current capacitance value and the reference capacitance value is counteracted, so that the influence of the temperature on the obtained current capacitance difference value is eliminated, when the difference between the current capacitance difference value and the reference capacitance difference value corresponding to the current moment is used as a false touch judgment value, the false touch judgment value can accurately represent the change caused by the factors of the detection area except the temperature factor, and then the false judgment probability brought by the temperature influence when the detection area is subjected to foreign matter detection is reduced.
In some embodiments, the step S110 of determining the false touch determination result of the detection region based on the false touch determination value includes at least one of the following steps:
when the false touch judgment value exceeds the preset range, determining that the false touch judgment result of the detection area is that a foreign matter false touch exists;
and when the mistaken touch judgment value does not exceed the preset range, determining that the mistaken touch judgment result of the detection area is that no foreign matter is mistakenly touched.
Understandably, there is the foreign matter in the detection zone, can lead to the mistake to touch the judgement value and exceed and predetermine the scope, correspondingly, when touching the judgement value according to the mistake when there is the foreign matter in the detection zone and setting for predetermineeing the scope, as long as make the mistake when there is the foreign matter in the detection zone touch the judgement value and lie in predetermineeing the scope outside, alright when touching the judgement value by mistake and surpassing and predetermineeing the scope, confirm that the mistake of detection zone touches the judgement result and touch for there being the foreign matter mistake. So that the electronic equipment can further respond according to the false touch judgment result. The predetermined range may be represented by a threshold, for example, when the mis-touch determination value is greater than a threshold, the mis-touch determination result indicates that there is a foreign object mis-touch. And when the false touch judgment value is smaller than the threshold value, judging that no foreign matter is mistakenly touched.
The response mode includes but is not limited to sound, flashing light, vibration, etc. to achieve the prompting effect. In some embodiments, where the electronic device includes a drive mechanism, the electronic device can respond by controlling the operating state of the drive mechanism. The control of the drive mechanism will be described in a suitable position later, and will not be described in detail here.
Therefore, the detection method can be used for determining that the foreign matter mistakenly touches the detection area and the foreign matter mistakenly touches the detection area, so as to prompt the foreign matter detection performance of the electronic equipment.
As shown in fig. 3, in step S108, the reference capacitance difference corresponding to the current time can be obtained through the following steps. Specifically, the step of obtaining the reference capacitance difference value corresponding to the current time includes:
step S1082, a forward capacitance difference value set corresponding to the current time is obtained, where the forward capacitance difference value set includes current capacitance difference values corresponding to a plurality of forward times, respectively, and a time interval between the forward time and the current time is within a preset interval range.
The preset interval range may be set as needed, for example, the current capacitance difference value at the previous 4 moments is preset, and the preset interval range is 4.
Step S1084, the current capacitance difference value in the forward capacitance difference value set is summed and calculated to obtain a difference value summation result.
Step S1086, a reference capacitance difference value corresponding to the current moment is obtained based on the difference value summation result.
In this embodiment, the reference capacitance difference value corresponding to the current time has a positive correlation with the difference value summation result, that is, the difference value summation result increases, and the reference capacitance difference value also increases accordingly.
Referring to fig. 4, in some embodiments, the step S1086 of obtaining the reference capacitance difference value corresponding to the current time based on the difference value summation result includes:
step S1086a, acquiring the number of capacitance difference values in the forward capacitance difference value set, and taking the number of capacitance difference values as a target value.
And step S1086b, carrying out quotient calculation on the difference value summation result and the target value, and taking the calculation result as a reference capacitance difference value.
For example, if the sum of the difference values is a and the target value is b, the reference capacitance difference value is a/b.
Referring to fig. 5, in some embodiments, in step S108, the step of obtaining the reference capacitance difference value corresponding to the current time includes:
step S108a, comparing the false touch determination value corresponding to the previous time with a preset range.
Step S108b, when it is determined that the false touch determination value corresponding to the previous time exceeds the preset range, taking the reference capacitance difference value corresponding to the previous time as the reference capacitance difference value corresponding to the current time.
In this embodiment, when it is determined that the false touch determination value corresponding to the previous time does not exceed the preset range, the process proceeds to step S1082, i.e., a step of obtaining a forward capacitance difference value set corresponding to the current time. In this way, the reference capacitance difference value corresponding to the current time can be obtained sequentially through the step S1082, the step S1084 and the step S1086, and then the effect of updating the reference capacitance difference value corresponding to the current time in real time is achieved.
The following describes a detection method provided in the embodiments of the present application with a specific embodiment:
referring to fig. 6, diff (i.e., the current capacitance difference) is obtained by subtracting usefull (i.e., the current capacitance) and ave (i.e., the reference capacitance), where ave is obtained by averaging the usefull corresponding to multiple forward moments. In the detection method, diff is averaged to obtain ave2 (namely a reference capacitance difference value), then difference is made between diff and ave2 to obtain delta diff (namely a false touch judgment value), and a threshold delta diff1 is set for the delta diff.
In the embodiment, when Δ diff is greater than Δ diff1, the ave2 value is kept in the existing state and is not updated in real time, so that the trigger state that the detection area is mistakenly touched by foreign matters can be always maintained, and the condition that the detection area is mistakenly touched by foreign matters is prevented from being mistakenly judged as the condition that the detection area is not mistakenly touched by foreign matters; when Δ diff is less than Δ diff1, ave2 remains updated in real time. It should be noted that, when a foreign object may be detected, that is, when Δ diff is greater than Δ diff1, the ave2 value is not updated by using the current diff value, but the diff value corresponding to the forward time is used as the diff value at the current time, so that it is avoided that a diff abnormal value obtained when a foreign object touches by mistake is updated into ave2 and a large influence is caused on Δ diff when no foreign object touches by mistake, so as to further improve the detection accuracy.
Referring to fig. 7 to 10, an electronic device 100 provided by the embodiment of the present application includes a housing assembly 10 and a flexible screen 20. The housing assembly 10 forms a receiving cavity 101 and the flexible screen 20 is coupled to the housing assembly 10. The electronic device 100 may further include a circuit board (not shown) and a battery (not shown), both of which may be disposed in the receiving cavity 101 of the housing assembly 10. The circuit board may integrate a processor, a power management module, a memory unit, a baseband chip, and the like of the electronic device 100. The flexible screen 20 is communicatively connected to the processor and the battery is capable of powering the flexible screen 20 and the electronics on the circuit board. Of course, the electronic device 100 may further include a camera module (not shown), the camera module is connected to the circuit board in communication, and the battery can supply power to the camera module. It is understood that the electronic device 100 according to the embodiment of the present application includes, but is not limited to, a terminal device such as a mobile phone, a tablet computer, or other portable electronic devices.
The shell assembly 10 includes a first shell 12 and a second shell 14 that are movably coupled, the second shell 14 and the first shell 12 being capable of relative movement in a first direction. The flexible screen 20 is connected to the first housing 12 and the second housing 14. As the first and second housings 12, 14 are moved relative to each other in the first direction, the flexible screen 20 is extended from or retracted into the housing assembly 10 in the first direction for the purpose of adjusting the extended length of the flexible screen 20.
In some embodiments, the second housing 14 and the first housing 12 are slidably connected. In other words, the second housing 14 is slidable relative to the first housing 12. For example, one of the first and second housings 12, 14 may be provided with a slide rail along which the other is slidable to enable the first and second housings 12, 14 to move telescopically with respect to each other. In other embodiments, the second housing 14 and the first housing 12 may be movably connected by other structures capable of moving telescopically in the first direction. For example, a plurality of links are connected between the first housing 12 and the second housing 14, and two ends of each link are respectively connected to the first housing 12 and the second housing 14 and maintain the first housing 12 and the second housing 14 to be relatively movable only along the first direction, so as to achieve the movable connection between the first housing 12 and the second housing 14 along the first direction. The movable connection between the first housing 12 and the second housing 14 is not limited herein.
The second housing 14 is movable in a first direction relative to the first housing 12 to a stowed position and a deployed position. As shown in fig. 1 and 8, when the second housing 14 is in the folded position, the electronic device 100 has a relatively small external size and is convenient to carry. With reference to fig. 9 and 10, when the second housing 14 is in the unfolded position, the electronic device 100 can obtain a relatively large display area, so as to obtain a visual experience of a large screen display, so as to enhance a use experience of the electronic device 100. Therefore, with this arrangement, the area of the display screen (hereinafter referred to as the display interface 20 a) of the flexible screen 20 can be adjusted by the relative sliding expansion and contraction of the first casing 12 and the second casing 14. In some embodiments, when the second housing 14 is in the folded position, the display interface 20a exposed outside the housing assembly 10 is substantially rectangular, and may have a size of 4.5 inches to 7 inches, which is equivalent to a display screen of a typical smart phone, so that the electronic device 100 is convenient to carry and use.
It should be noted that, the flexible screen 20 is used as a display or touch-control structural member of the electronic device 100, and has a display area, where the display area refers to an area corresponding to a maximum display screen of the flexible screen 20, or in a relative sliding and stretching process of the first casing 12 and the second casing 14, when the second casing 14 is located at an extended position, that is, when the display interface 20a is at a maximum, the display interface 20a is the same as the display area. Since a portion of the display area of the flexible screen 20 is accommodated inside without being exposed during sliding and extending of the first casing 12 and the second casing 14 relative to each other, the portion does not present a display screen. The display interface 20a refers to a portion of the display area exposed to the first casing 12 and the second casing 14. When the display interface 20a is turned on or displays a screen, the content displayed on the display interface 20a can be viewed from the outside of the electronic apparatus 100.
It is understood that in the embodiments described later in this application, the collapsed position, the expanded position, and the like refer to the relative positions of the second housing 14 and the first housing 12. For simplicity, similar expressions of "the second housing 14 is in the stowed position" or "in the stowed position" refer to the second housing 14 being in the stowed position relative to the first housing 12, and similar expressions of "the second housing 14 is in the deployed position" or "in the deployed position" refer to the second housing 14 being in the deployed position relative to the first housing 12.
As shown in fig. 8 and 10, the flexible screen 20 may include a fixed end 202 and a free end 204, the fixed end 202 is disposed on the second housing 14 and fixed relative to the second housing 14, and the free end 204 is movably disposed in the receiving cavity 101 of the housing assembly 10. Specifically, as shown in fig. 8, when second housing 14 is in the collapsed position, free end 204 of flexible screen 20 is received within housing assembly 10 such that a portion of flexible screen 20 is hidden from housing assembly 10, and a portion of flexible screen 20 hidden from housing assembly 10 may not be used for display. As shown in fig. 10, the structure of the portion of the flexible screen 20 proximate the free end 204 gradually unfolds from the housing assembly 10 as the second housing 14 moves relative to the first housing 12 toward the extended position. In other embodiments, the fixed end 202 is disposed on the first casing 12 and fixed relative to the position of the first casing 12, and the free end 204 moves in the receiving cavity 101 of the casing assembly 10 as the second casing 14 moves relative to the first casing 12, so that a portion of the flexible screen 20 is exposed from or received in the receiving cavity 101 of the casing assembly 10.
It is understood that in the embodiments of the present application, the two objects are fixed relative to each other, that is, the two objects cannot move relative to each other under normal conditions, and the two objects fixed relative to each other may be directly connected physically or indirectly connected through an intermediate structure. Taking the fixed end 202 and the second housing 14 as an example, the fixed end 202 and the second housing 14 are relatively fixed, the fixed end 202 may be directly contacted with the second housing 14, for example, the fixed end 202 and the second housing 14 are directly fixed by using a threaded fastener or a clamping manner, or the fixed end 202 and the second housing 14 are indirectly fixed by using an adhesive layer, an intermediate connecting plate, or other structures.
The second housing 14 may also include a back cover 121, the back cover 121 covering the free end 204 of the flexible screen 20 when in the extended position.
Further, the rear cover 121 may be provided with a light-transmitting area, and a portion of the flexible screen 20 accommodated in the housing assembly 10 may also be used for displaying when in the folded position, so that a user can view information displayed by the flexible screen 20 from the light-transmitting area, and further expand a use scene of the electronic device 100. For example, in this embodiment, the electronic device 100 can implement functions such as self-shooting, video call, etc. by using a rear camera module without providing a front camera. The light-transmitting area may be made of transparent glass or may be formed by an opening of the rear cover 121.
Continuing to refer to fig. 8 and 10, electronic device 100 includes drive mechanism 30. The driving mechanism 30 is disposed in the receiving cavity 101 of the shell assembly 10 and is used for driving the first shell 12 and the second shell 14 to move relatively along a first direction, so that the second shell 14 drives the flexible screen 20 to be released from or retracted into the shell assembly 10 from the shell assembly 10.
In some embodiments, the first housing 12 and the second housing 14 are connected to the driving mechanism 30 and move relative to each other under the driving of the driving mechanism 30. Specifically, the driving mechanism 30 has a fixed portion and a movable portion, and the movable portion is movable relative to the fixed portion when the driving mechanism 30 is operated. The fixed portion is connected to the first housing 12, and the movable portion is connected to the second housing 14, for driving the second housing 14 to move relative to the first housing 12.
It should be noted that the driving mechanism 30 may be a belt transmission structure or a gear transmission structure, and may also be a telescopic transmission structure such as a cylinder. The structure of the driving mechanism 30 is not limited herein, as long as the driving mechanism 30 can drive the first housing 12 and the second housing 14 to move relatively to adjust the extending length of the flexible screen 20 in the first direction.
As shown in fig. 11 and 12, in the first direction, the first casing 12 has a first side wall 12a facing the side where the second casing 14 is located, and the second casing 14 has a second side wall 14a facing the side where the first casing 12 is located. Understandably, when the second housing 14 moves toward the collapsed position relative to the first housing 12, the first side wall 12a and the second side wall 14a approach each other until the second housing 14 moves to the collapsed position. In some embodiments, when the second housing 14 is in the folded position, the first sidewall 12a contacts the second sidewall 14a, so that the first housing 12 and the second housing 14 are aligned in a seam, and the overall appearance texture of the electronic device 100 is maintained. Understandably, in some embodiments, when the second housing 14 is in the collapsed position, the first side wall 12a and the second side wall 14a may have a gap with a width less than or equal to 1mm. By controlling the width of the gap within this range, the gap between the first side wall 12a and the second side wall 14a is negligibly small, so that the gap between the first side wall 12a and the second side wall 14a has little influence on the overall appearance of the electronic device 100 even when the second housing 14 is in the collapsed position.
For convenience of description, a region of the electronic device 100 that is easily affected by fingers or foreign matters during the folding of the flexible screen 20 is referred to as a "detection region 10a", and it is understood that the detection region 10a is a region where fingers or foreign matters are not expected to be present during the folding of the flexible screen 20, specifically, a region where fingers are easily pinched or interference by foreign matters occurs, and is also a region detected by the capacitive sensor in the above detection method.
In particular to the present embodiment, as shown in fig. 12, the second housing 14 has an intermediate position during movement relative to the first housing 12 between the deployed position or the stowed position, and the area of the second housing 14 between the corresponding first and second sidewalls 12a, 14a of the shell assembly 10 defines the detection zone 10a when the second housing 14 is in the intermediate position. The intermediate position may be a position at the moment when the second casing 14 is separated from the deployed position, and in this case, the distance between the intermediate position and the deployed position is close to 0. Of course, in some embodiments, the intermediate position is the same as the deployed position, and the intermediate position and the deployed position are only distinguished for ease of understanding of the detection zone 10a.
The electronic device 100 includes a radiator 40, a capacitive sensor 50, and a controller 60. The radiator 40 is connected to the first housing 12 and fixed to the first sidewall 12 a. The capacitive sensor 50 is electrically connected to the radiator 40, and the capacitive sensor 50 may be an SAR sensor to sense an SAR (Specific Absorption Rate) value of the detection area 10a through the radiator 40. This is because the induced electromagnetic field is generated in the human body under the action of the external electromagnetic field, and because various organs of the human body are all lossy media, the electromagnetic field in the human body generates current, which results in the absorption and dissipation of electromagnetic energy. Thus, when there is a finger approach in the detection area 10a, the SAR value changes when there is no finger approach to the detection area 10a. Such a change in SAR value will be characterized as a change in capacitance of the capacitive sensor 50. Specifically, in the embodiment of the present application, during the process that the driving mechanism 30 drives the second housing 14 to move from the intermediate position to the folded position relative to the first housing 12, the capacitive sensor 50 senses a capacitance change in the detection area 10a through the radiating body 40, so as to obtain a current capacitance value at the current moment.
The SAR sensor may be specifically aw9610x series of ai, HX9023, HX9031, HX9033, etc. of heaven easy core combination, and may also be SX9324, SX9331IULTRT of Semtech (alt). The model of the SAR sensor is not limited herein.
The capacitive sensor 50 may also be another type of capacitive sensor, and accordingly, the radiator 40 is not necessary for the detection process as long as the capacitive sensor 50 can detect the detection region 10a.
The capacitance value detected by the capacitance sensor 50 in the detection area 10a is the current capacitance value in step S102 of the detection method. Accordingly, steps S104 to S110 in the detection method further process the capacitance value detected by the capacitive sensor 50, so that when determining whether there is a foreign object in the detection area 10a, no erroneous determination occurs due to the influence of temperature on the capacitive sensor 50. For example, in the related art, since the influence of the temperature on the detection result of the capacitive sensor is not eliminated, when the capacitive sensor operates in an environment with an excessively high or excessively low temperature, it may be determined that the finger or other foreign matter is present in the detection area 10a by mistake, or that the finger or other foreign matter is not present in the detection area 10a by mistake, if the finger or other foreign matter is present in the detection area 10a.
The controller 60 is electrically connected to the capacitive sensor 50. Specifically, the controller 60 is configured to execute the aforementioned detection method to control the operating state of the driving mechanism 30 according to the false touch determination result of the detection region 10a.
Further, as shown in fig. 12, the displacement of the second housing 14 from the unfolded position to the middle position is the first displacement D1, and the displacement of the second housing 14 from the middle position to the folded position is the second displacement D2. The first displacement D1 is greater than the second displacement D2, so that the width of the detection region 10a in the first direction (i.e., the second displacement D2) is preferably proportional to the overall movement stroke of the second housing 14 relative to the first housing 12. Specifically, since the capacitance sensor 50 senses a capacitance change in the detection area 10a through the radiator 40 during the driving mechanism 30 drives the second housing 14 to move from the intermediate position to the folded position relative to the first housing 12, that is, the capacitance sensor 50 senses the capacitance change during the second displacement D2 of the second housing 14, the detection area 10a does not need to be sensed during the first displacement D1 of the second housing 14, so as to reduce power consumption.
In some embodiments, the second displacement D2 ranges from 0.5cm to 2.0cm, such as about 0.5cm, 0.7cm, 0.9cm, 1.2cm, 1.5cm, 1.7cm, 1.9cm, or 2.0cm. In this embodiment, the value range of the second displacement D2 is controlled to be 0.5cm to 2.0cm, which can ensure that the detection area 10a has enough detection width in the first direction, so as to avoid the finger being pinched, and the capacitive sensor 50 can detect the finger, and meanwhile, can avoid the detection area 10a from being too large in the detection width in the first direction, which causes unnecessary energy consumption waste.
In some embodiments, the controller 60 is electrically connected to an antenna switch and a radio frequency processing circuit, the antenna switch is connected between the radiator 40 and the radio frequency processing circuit, and is used for switching the operating state of the radiator 40. Specifically, when the second housing 14 is in the extended position, the antenna switch electrically connects the radiator 40 to the radio frequency processing circuit, and the radio frequency processing circuit can transmit a radio frequency signal through the radiator 40, so that the signal transmission efficiency of the electronic device 100 in the process of extending and using the flexible screen 20 can be improved. When the second housing 14 is separated from the extended position, the antenna switch electrically disconnects the radiator 40 from the rf processing circuit, specifically, the radiator 40 and the rf processing circuit are in a state of disconnecting an electrical signal, and at this time, the capacitive sensor 50 can stably sense a capacitance change in the detection area 10a through the radiator 40, so as to obtain a current capacitance value at the current time. The antenna switch may be a switching element built into the electronic device 100 and controlled by the controller 60. In some embodiments, a user may perform on-off control on the antenna switch through a button of the electronic device 100, and then the user may turn on or off the function of the radiator 40 for transmitting the radio frequency signal according to actual needs.
In some embodiments, the orthographic projection of the radiator 40 on the plane of the display interface 20a at least partially overlaps the orthographic projection of the detection area 10a on the plane of the display interface 20a, such that the radiator 40 is disposed as close to the detection area 10a as possible to improve the accuracy of the capacitance sensor 50 in detecting the SAR value at the detection area 10a by the radiator 40.
The radiator 40 may be connected to the second casing 14 and fixed relative to the second sidewall 14a.
In some embodiments, the plurality of radiators 40 is provided, at least one of the radiators 40 is provided on the first housing 12, and the other radiators 40 are provided on the second housing 14, so as to improve the detection accuracy by using the plurality of radiators 40, or in the case that some radiators 40 fail, the other radiators 40 are provided to meet the requirement of the capacitive sensor 50 for detecting the SAR value of the detection area 10a.
Taking the electronic device 100 shown in fig. 12 as an example, the radiator 40 includes a first radiator 41 and a second radiator 42, the first radiator 41 is disposed on the first casing 12, and the second radiator 42 is disposed on the second casing 14. Understandably, the first radiator 41 and the second radiator 42 are both electrically connected to the capacitive sensor 50. In this embodiment, if the first radiator 41 is damaged, the capacitance sensor 50 may still detect the SAR value of the detection area 10a through the second radiator 42. Accordingly, if the second radiator 42 is damaged, the capacitance sensor 50 may still detect the SAR value of the detection area 10a through the first radiator 41. In some embodiments, referring to fig. 8 and 10, the case assembly 10 includes a third housing 16, and when the second housing 14 is in the unfolded position, the third housing 16 is at least partially exposed between the first sidewall 12a and the second sidewall 14a, so that the third housing 16 is utilized to prevent the internal structure of the electronic device 100 from being exposed between the first sidewall 12a and the second sidewall 14a, and specifically, when the second housing 14 is in the unfolded position, the third housing 16 may provide an exterior surface of the electronic device 100 to maintain the exterior integrity of the electronic device 100. Understandably, when the second housing 14 is in the folded position, the third housing 16 is hidden in the first housing 12 and the second housing 14, and at this time, the first housing 12 and the second housing 14 form an appearance surface of the electronic device 100.
The third housing 16 may be integrally formed with the second housing 14, or may be connected to the second housing 14 by glue or screws. In other embodiments, the third housing 16 may be integrally formed with the first housing 12, or may be connected to the first housing 12 by glue or screws.
In other embodiments, the first housing 12 and the second housing 14 are both slidably connected to the third housing 16, such that the third housing 16 can be used to provide stable support for sliding movement between the first housing 12 and the second housing 14.
With continued reference to fig. 8 and 10, the electronic device 100 is provided with a pulling element 70, the pulling element 70 is disposed at an end of the first housing 12 away from the second housing 14, and during the process of switching the second housing 14 from the folded position to the unfolded position relative to the first housing 12, the pulling element 70 may pull the flexible screen 20 to deform so that the portion of the flexible screen 20 unfolded from the second housing 14 is flat. When the second housing 14 is in the folded position, the free end 204 of the flexible screen 20 passes around the pulling member 70, and the pulling member 70 can limit the bending radius of the flexible screen 20 within a suitable range to avoid damage to the flexible screen 20 caused by too small a bending radius. Of course, the pulling member 70 can also avoid the electronic device 100 from being too thick due to the too large bending radius of the flexible screen 20.
In some embodiments, the pulling member 70 may be a rotating shaft structure with convex teeth, and the flexible screen 20 is coupled with the pulling member 70 by meshing or the like. When the second housing 14 slides relative to the first housing 12, the portion of the flexible screen 20 engaged with the pulling member 70 is moved by the pulling member 70 and is extracted from or received in the housing assembly 10.
In other embodiments, the pulling member 70 is a round shaft with no attached teeth. During the switching of the second housing 14 from the collapsed position to the expanded position, the traction member 70 is used to spread apart the portion of the flexible screen 20 attached to the traction member 70, so that more of the flexible screen 20 is exposed outside the shell assembly 10 and remains flat. In this embodiment, the pulling member 70 may be rotatably disposed on the second housing 14, and during the gradual unfolding of the flexible screen 20, the pulling member 70 may rotate along with the movement of the flexible screen 20, so as to reduce the resistance to the flexible screen 20 during the unfolding process and reduce the wear of the contact portion between the pulling member 70 and the flexible screen 20.
In some embodiments, the pulling member 70 may also be secured to the first housing 12, with the pulling member 70 having a smooth surface. During the process of unfolding the flexible screen 20, the pulling member 70 is in slidable contact with the flexible screen 20 through its smooth surface. In other words, in such an embodiment, the pulling member 70 may be integrally formed with the first housing 12 or welded thereto, and the pulling member 70 may be considered as a part of the first housing 12, with the free end 204 of the flexible screen 20 passing around the end of the first housing 12 remote from the second housing 14 and extending into the housing assembly 10.
In embodiments where the shell assembly 10 includes the third housing 16, the third housing 16 may be provided with a radiator 40, for example, as shown in connection with fig. 11-14, both the side 16a of the third housing 16 facing away from the flexible screen 20 and the side 16b of the third housing 16 facing the flexible screen 20 are provided with a radiator 40. It should be noted that, based on the detection method, only one channel needs to be used for detection, and a reference channel does not need to be set for detection, so that the electronic device 100 applying the detection method of the present application only needs to set 1 radiator 40, or only needs to set the radiator 40 at one position corresponding to the detection area 10a, thereby saving the number of the radiators 40, which is beneficial to reducing the cost, and making the structure of the electronic device 100 not need to be complicated due to the arrangement of more radiators 40.
Taking the case of providing the radiator 40 on the third casing 16 as an example, in some embodiments, only one of the side 16a of the third casing 16 facing away from the flexible screen 20 and the side 16b of the third casing 16 facing the flexible screen 20 is provided with the radiator 40.
The radiator 40 may be disposed at a position of the first case 12 overlapping the third case 16, or may be disposed at a position of the second case 14 overlapping the third case 16. Here, the overlapping position of two objects refers to an overlapping area of orthographic projections of the two objects at the detection area 10a.
The number and the arrangement position of the radiators 40 are not described in detail, as long as the radiators 40 are arranged on the housing assembly 10 and correspond to the detection area 10a, so that the capacitive sensor 50 can sense the SAR value of the detection area 10a through the radiators 40.
As shown in fig. 13 and 14, in some embodiments, at least one of the first side wall 12a and the second side wall 14a is provided with a buffer 18, and the material of the buffer 18 may be rubber, latex, EVA (Ethylene Vinyl Acetate ), EPS (Expanded Polystyrene, polystyrene foam), or the like. With the good buffering performance of the buffering member 18, the electronic device 100 has good anti-falling performance as a whole when the second casing 14 is in the folded position. Specifically, since the buffer 18 is located between the first side wall 12a and the second side wall 14a, when the second casing 14 is located at the folded position, the buffer 18 can reduce the hard collision between the first side wall 12a and the second side wall 14a, so as to achieve a buffering effect.
In embodiments where the first sidewall 12a is provided with the buffer 18, a side of the buffer 18 facing away from the first sidewall 12a may be provided with a radiator 40. Accordingly, in an embodiment in which the second sidewall 14a is provided with the bumper 18, a side of the bumper 18 facing away from the second sidewall 14a may be provided with the radiator 40.
The radiator 40 may be an FPC antenna, which is an antenna manufactured on a corresponding structural member by an FPC process. Specifically, the FPC process is based on the technical principle that a printed circuit board having a pattern and made of a flexible base material is composed of an insulating base material and a conductive layer, and an adhesive may be interposed between the insulating base material and the conductive layer and attached to a portion where an antenna is to be disposed. The FPC antenna is light and thin, good in bending property and low in cost. In this embodiment, the FPC antenna may be disposed in the first housing 12 or the second housing 14, as long as it can be opposed to the detection area 10a and the capacitance sensor 50 can sense the SAR value of the detection area 10a by the radiator 40.
In some embodiments, the radiator 40 may be a PDS antenna, which is an antenna fabricated on a corresponding structural member using a PDS process. Specifically, a conductive silver paste is applied to the surface of the structure such as the first sidewall 12a, the second sidewall 14a, the third case 16, or the bumper 18, and then the conductive three-dimensional circuit is formed by multi-layer printing of the silver paste, and then the final radiator 40 is fabricated by heat curing. Because the PDS antenna can be directly printed with a circuit, special laser modified materials are not needed, and the cost can be reduced.
In the above embodiments, the structure of the radiator 40, the capacitive sensor 50, the controller 60, and the like of the electronic device 100 according to the present invention can effectively prevent the first casing 12 and the second casing 14, which move relative to each other, from pinching the finger of the user. The flexible screen 20 is not required for the electronic device 100 to achieve anti-pinch purposes, i.e., in some embodiments of the electronic device 100, the flexible screen 20 may be omitted.
The controller 60 will be further described in connection with how a user may be prevented from being injured by pinching his or her fingers or by catching a foreign object during use of the electronic device 100.
Specifically, as shown in connection with fig. 15, the controller 60 is configured to perform the steps of:
step S202, receiving the first control operation information, and controlling the driving mechanism 30 to drive the second housing 14 to move toward the closed position relative to the first housing 12 according to the first control operation information.
In the embodiment where the electronic device 100 includes the flexible screen 20, the first operation control information is a control instruction related to controlling the folding operation of the flexible screen 20. For example, the first control operation information may be input to the electronic device 100 by a user clicking, sliding, or dragging the operation interface of the flexible screen 20, or may be input by operating a key of the electronic device 100. In some applications, when the user slides the two fingers on the flexible screen 20 in a direction approaching each other, the driving mechanism 30 drives the second housing 14 to move toward the folded position relative to the first housing 12 to fold the flexible screen 20. In embodiments where the electronic device 100 does not include the flexible screen 20, the first operation control information may be a control command related to movement of the second housing 14 relative to the first housing 12 toward the collapsed position.
In step S204, the capacitive sensor 50 is controlled to detect the detection area 10a through the radiator 40.
Illustratively, when the finger of the user approaches the detection area 10a, the false touch determination value obtained by the detection method is a first value, and when the finger of the user does not approach the detection area 10a, the false touch determination value is a second value, and the first value and the second value are different, and a preset range can be reasonably configured according to the first value and the second value, so that whether the finger of the user approaches the detection area 10a can be determined according to the false touch determination value.
In step S206, the operating state of the driving mechanism 30 is controlled according to the determination result of the erroneous touch in the detection area 10a.
In step S206, the result of the false touch determination may specifically include that there is a foreign object in the detection area that is touched by mistake, and there is no foreign object in the detection area that is touched by mistake. Therefore, after the false touch judgment result of the detection area is determined, the driving mechanism can make different responses (namely, be in different working states) according to different results.
In some embodiments, when the false touch determination result of the detection region 10a is that there is a false touch of a foreign object, the controller 60 controls the driving mechanism 30 to drive the second housing 14 to move toward the extended position relative to the first housing 12, or controls the driving mechanism 30 to stop driving the second housing 14 to move relative to the first housing 12. Because the driving mechanism 30 no longer drives the second housing 14 to move towards the folded position relative to the first housing 12, the probability of the fingers of the user being pinched is effectively reduced, and meanwhile, the driving mechanism 30 is prevented from being damaged due to the larger reaction force of the foreign matters.
In some embodiments, when the mistaken touch determination result of the detection area 10a is that there is no mistaken touch of a foreign object, and the electronic apparatus 100 does not receive other control operation information for controlling the driving mechanism 30, the controller 60 controls the driving mechanism 30 to drive the second casing 14 to move from the middle position to the folded position relative to the first casing 12 according to the first control operation information. In this way, the second housing 14 returns to the folded position, and the electronic device 100 has a relatively small external size and is convenient to carry.
In some embodiments, the controller 60 may also receive second control operation information to control the driving mechanism 30 to drive the second housing 14 to move toward the extended position relative to the first housing 12 according to the second control operation information.
In the embodiment where the electronic device 100 includes the flexible screen 20, the second operation control information is a control instruction related to controlling the unfolding operation of the flexible screen 20. For example, the second control operation information may be input to the electronic device 100 by a user clicking, sliding, or dragging the operation interface of the flexible screen 20, or may be input by operating a key of the electronic device 100. In some applications, when the user slides the two fingers away from each other on the flexible screen 20, the driving mechanism 30 drives the second housing 14 to move toward the unfolding position relative to the first housing 12, so as to unfold the flexible screen 20. In embodiments where the electronic device 100 does not include the flexible screen 20, the first operation control information may be a control command related to movement of the second housing 14 relative to the first housing 12 toward the collapsed position.
It should be noted that this step may be located in any process of the use of the electronic device 100 as the control of the unfolding operation of the flexible screen 20. For example, the step of controlling the driving mechanism 30 to drive the second housing 14 to move toward the unfolded position relative to the first housing 12 according to the second control operation information may be preceded by the step of controlling the driving mechanism 30 to stop driving the second housing 14 to move relative to the first housing 12.
In the embodiment where the electronic device 100 includes the flexible screen 20, the flexible screen 20 may be used to display a prompt message to remind the user that an abnormality occurs in the folding process of the electronic device 100. Specifically, when the error determination result of the detection area 10a is that there is a foreign object mistakenly touching, that is, the mistaken touching determination value exceeds the preset range, the controller 60 controls the flexible screen 20 to display a reminding interface on the display interface 20a, so as to remind the user that there is an abnormality in the detection area 10a.
Note that, the manner of alerting the user that there is an abnormality in the detection area 10a may be a graphic or animation. For example, when a hand pinching abnormality occurs in the detection area 10a, the flexible screen 20 displays an image or animation in which the hand is pinched, and the user is reminded with an animated image, and the reminding manner is also entertaining. In some embodiments, the user may be alerted by a flashing text or a display screen to the presence of an abnormality in the detection area 10a.
It should be noted that, as one of ordinary skill in the art can appreciate, all or part of the processes in the detection method for implementing the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium, and in the embodiments of the present invention, a computer readable storage medium is provided, on which computer readable instructions are stored, and when the computer readable instructions are executed by a processor, the steps of the detection method are implemented.
The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
All possible combinations of the technical features of the above embodiments may not be described for the sake of brevity, but should be considered as within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (12)

1. A detection method for performing foreign object detection in an electronic device, wherein the electronic device includes a capacitive sensor disposed in a detection region of the electronic device, the detection method comprising:
acquiring a current capacitance value of the capacitance sensor at the current moment;
acquiring a reference capacitance value corresponding to the current moment, wherein the reference capacitance value is obtained by counting a plurality of forward capacitance values, and the forward capacitance value is the current capacitance value of the capacitive sensor at the forward moment;
acquiring a capacitance value difference between the current capacitance value and the reference capacitance value to obtain a current capacitance difference value;
acquiring the difference between the current capacitance difference value and a reference capacitance difference value corresponding to the current moment, and taking the difference as a false touch judgment value;
and determining the false touch judgment result of the detection area based on the false touch judgment value.
2. The detection method according to claim 1, wherein the determining of the false touch determination result of the detection area based on the false touch determination value includes at least one of:
when the mistaken touch judgment value exceeds a preset range, determining that the mistaken touch judgment result of the detection area is that a foreign matter mistaken touch exists;
and when the mistaken touch judgment value does not exceed the preset range, determining that the mistaken touch judgment result of the detection area is that no foreign matter is mistakenly touched.
3. The detection method according to claim 1, wherein the step of obtaining the reference capacitance difference value corresponding to the current time comprises:
acquiring a forward capacitance difference value set corresponding to the current time, wherein the forward capacitance difference value set comprises current capacitance difference values corresponding to a plurality of forward times respectively, and the time interval between the forward time and the current time is within a preset interval range;
summing current capacitance difference values in the forward capacitance difference value set to obtain difference value summation results;
and obtaining a reference capacitance difference value corresponding to the current moment based on the difference value summation result, wherein the reference capacitance difference value corresponding to the current moment and the difference value summation result have a positive correlation.
4. The detection method according to claim 3, wherein the step of obtaining the reference capacitance difference value corresponding to the current time based on the difference value summation result comprises:
acquiring the number of capacitance difference values in the forward capacitance difference value set, and taking the number of the capacitance difference values as a target value;
and carrying out quotient calculation on the difference value summation result and the target value, and taking the calculation result as a reference capacitance difference value.
5. The detection method according to claim 3, wherein the step of obtaining the reference capacitance difference value corresponding to the current time comprises:
comparing the false touch judgment value corresponding to the previous moment with a preset range;
when the fact that the false touch judgment value corresponding to the previous moment exceeds the preset range is determined, taking the reference capacitance difference value corresponding to the previous moment as the reference capacitance difference value corresponding to the current moment;
otherwise, the step of obtaining the forward capacitance difference value set corresponding to the current moment is performed to obtain the reference capacitance difference value corresponding to the current moment through real-time updating.
6. The detection method according to claim 1, wherein the step of obtaining the reference capacitance value corresponding to the current time comprises:
acquiring a forward capacitance value set corresponding to the current moment, wherein the forward capacitance value set comprises a plurality of forward capacitance values;
summing the forward capacitance values of the forward capacitance value set to obtain a capacitance value summation result;
and obtaining a reference capacitance value corresponding to the current moment based on the capacitance value summation result, wherein the reference capacitance value corresponding to the current moment and the capacitance value summation result have a positive correlation.
7. An electronic device, comprising a housing assembly, a driving mechanism and a controller, wherein the housing assembly comprises a first housing and a second housing, the second housing can move to an unfolded position and a folded position relative to the first housing under the driving of the driving mechanism, the controller is electrically connected to the capacitive sensor, and the controller is configured to execute the detection method according to any one of claims 1 to 6, so as to control the operating state of the driving mechanism according to the determination result of the false touch of the detection area.
8. The electronic device of claim 7, wherein the first housing has a first sidewall facing a side of the second housing, the second housing has a second sidewall facing the side of the first housing, the detection area is located between the first sidewall and the second sidewall, the electronic device comprises a radiator electrically connected to the capacitive sensor, the radiator is disposed on one of the first sidewall and the second sidewall, and the second sidewall is close to the first sidewall when the second housing moves toward the closed position relative to the first housing.
9. The electronic device of claim 7, further comprising a flexible screen, wherein the flexible screen is connected to the first housing and the second housing, at least a portion of the structure of the flexible screen is exposed from or received into the housing assembly along with the relative movement of the first housing and the second housing, the flexible screen has a display interface exposed out of the housing assembly, the controller is electrically connected to the flexible screen, and when the false touch determination result of the detection region is that there is a foreign object false touch, the controller controls the flexible screen to display a reminding interface on the display interface to remind a user that there is an abnormality in the detection region.
10. The electronic device of any of claims 7-9, wherein the controller is configured to:
receiving first control operation information, and controlling the driving mechanism to drive the second shell to move towards the furling position relative to the first shell according to the first control operation information;
controlling the capacitance sensor to detect the detection area through a radiator;
and controlling the working state of the driving mechanism according to the false touch judgment result of the detection area.
11. The electronic device of claim 10, wherein the controller is further configured to:
when the mistaken touch judgment result of the detection area indicates that foreign matter is mistakenly touched, the driving mechanism is controlled to drive the second shell to move towards the unfolding position relative to the first shell, or the driving mechanism is controlled to stop driving the second shell to move relative to the first shell;
or, when the mistouch judgment result of the detection area is that no foreign matter is mistouched, and the electronic device does not receive other control operation information for controlling the driving mechanism, the driving mechanism controls the second shell to move to the furling position from the middle position relative to the first shell according to the first control operation information.
12. A computer-readable storage medium having computer-readable instructions stored thereon,
the computer readable instructions, when executed by a processor, implement the steps of the detection method of any one of claims 1 to 6.
CN202210867684.XA 2022-07-21 2022-07-21 Detection method, electronic device and computer-readable storage medium Pending CN115277912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210867684.XA CN115277912A (en) 2022-07-21 2022-07-21 Detection method, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210867684.XA CN115277912A (en) 2022-07-21 2022-07-21 Detection method, electronic device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN115277912A true CN115277912A (en) 2022-11-01

Family

ID=83767207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210867684.XA Pending CN115277912A (en) 2022-07-21 2022-07-21 Detection method, electronic device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN115277912A (en)

Similar Documents

Publication Publication Date Title
CN112509471B (en) Electronic device and control method thereof
CN115174716A (en) Electronic device and control method thereof
KR101631958B1 (en) Input device and mobile terminal having the same
KR101622683B1 (en) Portable terminal
CN111970672A (en) Searching and positioning method and device, electronic equipment and storage medium
CN112468616A (en) Mobile terminal and control method thereof
US11893215B2 (en) Electronic device including flexible display and operation method thereof
US20220012003A1 (en) Object management method and mobile terminal
US20130271329A1 (en) Wireless terminal apparatus
US20230164262A1 (en) Electronic device for providing both shared screen and private screen, and control method therefor
CN112885242A (en) Display device, display method of flexible display screen and readable storage medium
CN110837318A (en) Mistaken touch prevention method and device for folding screen of mobile terminal and storage medium
US20230161442A1 (en) Electronic device including pressure sensor and method for operating same
KR101453687B1 (en) Power on/off apparatus of mobile terminal and method for controlling the same
JP2005528841A (en) Mobile communication device including array sensor
CN115242903A (en) Electronic device, control method, and computer-readable storage medium
KR101531912B1 (en) Touch sensor and method for recognizing a touch
CN115277912A (en) Detection method, electronic device and computer-readable storage medium
KR101521925B1 (en) Mobile terminal and method for setting touch sensitivity thereof
US11240757B2 (en) Electronic device
WO2023124417A1 (en) Electronic device and control method thereof
CN113824818A (en) Device control method, device, storage medium and electronic device
CN116418897A (en) Electronic equipment and hand clamping prevention method
CN117834762A (en) Electronic equipment
EP4346192A1 (en) Electronic device including flexible display and operation method therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination