CN111404488B - Electronic equipment - Google Patents

Electronic equipment Download PDF

Info

Publication number
CN111404488B
CN111404488B CN202010227176.6A CN202010227176A CN111404488B CN 111404488 B CN111404488 B CN 111404488B CN 202010227176 A CN202010227176 A CN 202010227176A CN 111404488 B CN111404488 B CN 111404488B
Authority
CN
China
Prior art keywords
strain
module
circuit
crystal oscillator
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.)
Active
Application number
CN202010227176.6A
Other languages
Chinese (zh)
Other versions
CN111404488A (en
Inventor
曾志祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010227176.6A priority Critical patent/CN111404488B/en
Publication of CN111404488A publication Critical patent/CN111404488A/en
Application granted granted Critical
Publication of CN111404488B publication Critical patent/CN111404488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03BGENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
    • H03B5/00Generation of oscillations using amplifier with regenerative feedback from output to input
    • H03B5/30Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator
    • H03B5/32Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator being a piezoelectric resonator
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/16Measuring arrangements characterised by the use of electric or magnetic techniques for measuring the deformation in a solid, e.g. by resistance strain gauge
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention provides an electronic device including: a crystal oscillator, a strain detection module and an on-off module; the strain detection module is connected with the crystal oscillator and the on-off module; the strain detection module is used for detecting the strain parameter of the crystal oscillator and outputting a pulse signal to the on-off module when the strain parameter meets a preset condition; the on-off module responds to the pulse signal and controls the electronic equipment to enter a dormant state; and the crystal oscillator is in a closed state in the dormant state. According to the invention, under the condition that the crystal oscillator generates strain, the electronic equipment is controlled to enter a dormant state, and the crystal oscillator is turned off, so that faults such as system halt and the like caused by the influence of the oscillation form of the crystal oscillator are avoided.

Description

Electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an electronic device.
Background
With the development of electronic devices, the electronic devices are increasingly large in size and heavy in weight; in the process of using the electronic equipment, the user easily falls, and when the impact stress of the electronic equipment received in the falling moment reaches a certain degree, various functional performance anomalies of the electronic equipment can be caused, so that the normal use of the user is influenced.
At present, the common functional abnormality of the electronic equipment is caused by the fact that the electronic equipment causes transient state form change of a wafer in the crystal oscillator when the electronic equipment falls down, so that output frequency is disordered, a system is abnormal, and the problem of dead halt occurs. In order to avoid the abnormality of the crystal oscillator when the electronic equipment falls, a protection design for stress is generally performed on a chip (IC), for example, stress simulation is performed through computer aided engineering (Computer Aided Engineering, CAE) to enable the crystal oscillator to be far away from a stress area; or some of which are limited by Industry Design (ID) structurally and cannot avoid stress areas, may be dispensed on ICs or added with polyethylene terephthalate (Polyethylene terephthalate, PET) cushioning.
Although the modes can avoid the main board stress zone in advance and reduce the probability of being affected by stress, CAE simulation cannot simulate and cover all falling angles and falling forms, a plurality of risk angles cannot be hidden and early warning cannot be carried out, the crystal oscillator is sensitive to stress and is inconvenient to simulate in a mode of applying stress, and stress influence can be generated on the crystal oscillator through dispensing and covering by PET materials. The dispensing mode cannot ensure that the IC bonding pad and the body are uniformly covered when dispensing due to irregular dispensing modes, so that the colloid is heated and expanded when the electronic equipment heats, irregular expansion stress is generated, and the IC is influenced; therefore, the problem that the electronic equipment is easy to crash when falling can not be well solved by the mode.
Disclosure of Invention
The invention provides electronic equipment, which aims to solve the problem that the electronic equipment is easy to crash when falling.
In order to solve the technical problems, the invention is realized as follows:
the embodiment of the invention provides electronic equipment, which comprises: a crystal oscillator, a strain detection module and an on-off module;
the strain detection module is connected with the crystal oscillator and the on-off module;
the strain detection module is used for detecting the strain parameter of the crystal oscillator and outputting a pulse signal to the on-off module when the strain parameter meets a preset condition;
the on-off module responds to the pulse signal and controls the electronic equipment to enter a dormant state; and the crystal oscillator is in a closed state in the dormant state.
In the embodiment of the invention, the strain parameter of the crystal oscillator is detected through the strain detection module connected between the crystal oscillator and the on-off module, and a pulse signal is output to the on-off module under the condition that the strain parameter meets the preset condition; therefore, the on-off module can respond to the pulse signal output by the strain detection module to control the electronic equipment to enter the dormant state. Therefore, when the strain parameter meets the preset condition, namely the crystal oscillator in the electronic equipment generates strain, the electronic equipment is controlled to enter a dormant state, so that faults such as system halt and the like caused by influence of oscillation form of the crystal oscillator are avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows one of the schematic diagrams of an electronic device according to an embodiment of the invention;
FIG. 2 shows a second schematic diagram of an electronic device according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an electronic device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram showing a structure of an electronic device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a detection circuit according to an embodiment of the invention;
FIG. 6 is a third schematic diagram of an electronic device according to an embodiment of the invention;
FIG. 7 is a flowchart of a control method of an electronic device according to an embodiment of the present invention;
FIG. 8 shows a block diagram of an electronic device in accordance with an embodiment of the invention;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, an embodiment of the present invention provides an electronic device, including: a crystal oscillator 1, a strain detection module 2 and a startup and shutdown module 3;
the strain detection module 2 is connected with the crystal oscillator 1 and the on-off module 3;
the strain detection module 2 is configured to detect a strain parameter of the crystal oscillator 1, and output a pulse signal to the on-off module 3 when the strain parameter meets a preset condition;
the on-off module 3 responds to the pulse signal and controls the electronic equipment to enter a dormant state; wherein, the crystal oscillator 1 is in a closed state in the dormant state.
Specifically, the strain detection module 2 is connected to the crystal oscillator 1, so as to detect a strain parameter of the crystal oscillator 1. The strain detection module 2 is further connected to the on-off module 3, so as to output a pulse signal to the on-off module 3.
Alternatively, the crystal oscillator 1 includes a start-up circuit and a wafer, and when the crystal oscillator 1 is powered up, the wafer oscillates and a fixed frequency can be generated and output to the start-up circuit to generate a clock signal.
Optionally, the on-off module 3 may implement a function when an on-off key in the electronic device is triggered, for example: under the condition that the on-off module 3 receives the pulse signal, the electronic equipment enters a dormant state or a screen-off state; such as: under the condition that the electronic equipment is in a bright screen state, if the on-off key is triggered once, the electronic equipment is switched to a screen-off state.
In the above-mentioned scheme, the strain detection module 2 connected between the crystal oscillator 1 and the on-off module 3 is used for detecting the strain parameter of the crystal oscillator 1, and outputting a pulse signal to the on-off module 3 when the strain parameter meets the preset condition; so that the on-off module 3 controls the electronic device to enter the sleep state in response to the pulse signal output by the strain detection module 2. In this way, when the strain parameter meets the preset condition, that is, the crystal oscillator 1 in the electronic device generates strain, the electronic device is controlled to enter the sleep state, so that the faults of abnormal clock frequency, system halt and the like caused by the influence of the oscillation form of the crystal oscillator 1 are avoided.
Optionally, as shown in fig. 2, the strain detection module 2 includes: a threshold value generation circuit 21, a strain input circuit 22, and a comparison circuit 23;
the threshold value generating circuit 21 is connected to the comparing circuit 23, and the threshold value generating circuit 21 is configured to generate a threshold value parameter and transmit the threshold value parameter to the comparing circuit 23;
the strain input circuit 22 is connected to the crystal oscillator 1 and the comparison circuit 23, and the strain input circuit 22 is used for detecting a strain parameter of the crystal oscillator 1 and transmitting the strain parameter to the comparison circuit 23;
the comparison circuit 23 is connected to the on-off module 3, and the comparison circuit 23 is configured to compare the threshold parameter with the strain parameter, and output the pulse signal to the on-off module 3 when the preset condition is satisfied.
Wherein the threshold value parameter generated by the threshold value generating circuit 21 is the same as the type of the strain parameter detected by the strain input circuit 22; for example: the threshold parameter generated by the threshold generating circuit 21 may be a voltage value, and the strain parameter should also be expressed as a voltage value; the threshold parameter generated by the threshold generation circuit 21 may be a current value, and the strain parameter should also be represented as a current value so that the comparison circuit 23 compares the strain parameter with the threshold parameter.
It should be noted that, when the strain parameter is represented by a voltage value or a current value, it should not be understood in a narrow sense that the strain input circuit 22 only directly represents a change in the voltage value or the current value when the crystal oscillator 1 is strained, but may also represent a change in another parameter (such as a resistance) other than the voltage value or the current value when the strain input circuit 22 detects that the crystal oscillator 1 is strained, and further the strain input circuit 22 may convert the change in the other parameter into a parameter of the same type as the threshold parameter, so that the comparison circuit 23 compares the strain parameter with the threshold parameter.
Optionally, the strain input circuit 22 includes: a strain sensor 221; the strain sensor 221 is disposed on the crystal oscillator 1 and connected to the comparison circuit 23;
the strain input circuit 22 detects a strain parameter of the crystal oscillator 1 through the strain sensor 221 and transmits the strain parameter to the comparison circuit 23.
Alternatively, the strain sensor 221 may be disposed on the surface of the crystal oscillator 1, so that the strain input circuit 23 can collect the strain parameter when the crystal oscillator 1 is strained by the strain sensor 221.
As shown in fig. 3, the crystal oscillator 1 may be disposed on the motherboard 4, and the strain sensor 221 may be disposed above the crystal oscillator 1. Other circuit parts in the strain detection module 2 may also be provided on the motherboard 4. Optionally, a shielding case 5 may be further disposed on the motherboard 4, and the crystal oscillator 1 and the strain detection module 2 may be located inside the shielding case 5.
As shown in fig. 4, at the moment when the electronic device is in contact with the dropping surface when dropped, the crystal oscillator 1 may be deformed due to the deformation of the main board 4, so that the deformation generated on the crystal oscillator 1 may be detected by the strain sensor 221 provided on the crystal oscillator 1.
Alternatively, the strain sensor 221 may be a resistive strain gauge, where the resistive strain gauge is disposed on the surface of the crystal oscillator 1. The resistive strain gauge may be constituted by a sensitive grating or the like for measuring the strain of the crystal oscillator 1. The resistance strain gauge is based on strain effect, namely, when a conductor or a semiconductor material is mechanically deformed under the action of external force, the resistance value of the resistance strain gauge correspondingly changes, so that the strain of the crystal oscillator 1 is detected. Therefore, when the main board is designed and laid out, the resistance strain gauge is laid out above the crystal oscillator 1, and when the mobile phone falls down, the main board is deformed due to stress impact, and the deformation is possibly conducted to the upper part of the crystal oscillator 1, the resistance strain gauge can be deformed to generate resistance change. The change in the resistance value can then be translated by the strain input circuit 22 into: the same type of strain parameter as the threshold parameter generated by the threshold generation circuit 21.
The strain detection module 2 is specifically described below with reference to specific examples:
as shown in fig. 5, the comparing circuit 23 includes a comparator 231; a first input In of the comparator 231 is connected to the threshold generation circuit 21; a second input terminal in+ of the comparator 231 is connected to the strain input circuit 22; the output end of the comparator 231 is connected to the on-off module 3.
The strain input circuit 22 includes: a resistance strain gauge and voltage divider circuit 222; the first end of the voltage dividing circuit 222 is connected to a constant voltage power supply, and the second end of the voltage dividing circuit 222 is connected to the first end of the resistance strain gauge and the comparison circuit 23 respectively; the second end of the resistance strain gauge is grounded; wherein the strain parameters are: the potential value of the first end of the resistance strain gauge.
The resistance strain gauge is equivalent to a variable resistor when detecting the strain of the crystal oscillator 1, such as the resistance R3 in fig. 5.
Alternatively, the voltage divider 222 may be a resistor divider, i.e. may be equivalently a fixed resistor, such as the resistor R2 in fig. 5. It should be noted that the resistor divider circuit may be formed by one resistor, or may be formed by a plurality of resistors connected in series, parallel, or series-parallel, and the embodiment of the present invention is not limited thereto.
Alternatively, the first connection terminal of the strain input circuit 22 may be connected to the power supply terminal VDD of the comparator 231, the second connection terminal of the strain input circuit 22 may be connected to the ground terminal of the comparator 231, and the output terminal of the strain input circuit 22 is connected to the second input terminal of the comparator 231. That is, the constant voltage power supply may be the power supply terminal VDD of the comparator 231; the second terminal of the resistance strain gauge may be directly connected to the ground GND of the comparator 231.
Optionally, the threshold generating circuit 21 includes: a constant voltage generation circuit 211, the constant voltage generation circuit 211 being connected to the comparison circuit 23, the constant voltage generation circuit 211 being configured to generate a constant voltage and transmit the constant voltage to the comparison circuit 23; wherein the threshold parameters are: the constant voltage value generated by the constant voltage generation circuit 211.
For example: the resistance generated by the resistive strain gauge is characterized by the change In the voltage value input to the second input terminal in+ by the strain input circuit 22, taking a constant voltage as the input value of the first input terminal In-of the comparator 231; thus, by comparing the voltage values of the first input terminal In-and the second input terminal in+, when the voltage value of the first input terminal In-is greater than the voltage value of the second input terminal in+, the comparator 231 outputs a low level signal to the switch module 3 (wherein the comparator 231 outputs a high level signal In a default state).
Of course, it should be noted that, by comparing whether the voltage values of the first input terminal In-and the second input terminal in+ meet the preset condition, the comparator 231 is related to the connection relationship between the threshold generating circuit 21 and the strain input circuit 22 and the first input terminal In-and the second input terminal in+ respectively, and the type of the comparator 231, which are merely illustrative, and the embodiment of the present invention is not limited thereto.
In this way, a constant voltage value is provided as a threshold parameter to the first input terminal In-of the comparator 231 by the constant voltage generating circuit 211, and the equivalent resistor R of the resistive strain gauge and the equivalent resistor R1 of the voltage dividing circuit are connected In series between the voltage terminal VDD and the ground terminal GND of the comparator 231 by the strain input circuit 22, so that when the resistance of the resistive strain gauge changes due to the strain of the crystal oscillator 1 due to the constant voltage of the voltage terminal VDD, the voltage value at both ends of the resistor R changes, and because one end of the resistor R is grounded, strain detection of the crystal oscillator 1 is realized by taking the potential value between the resistor R and the resistor R1 as the input value of the second input terminal in+ of the comparator 231, and the comparator 231 compares the voltage value of the first input terminal In-with the voltage value of the second input terminal in+ and outputs a low-level signal to the switch module 3 through the output terminal output according to the comparison result.
Specifically, the constant voltage generation circuit 211 may include a second resistor R2 and a third resistor R3; the first end of the second resistor R2 is connected to the power supply end (e.g., the normal power supply end VCC of the motherboard), the second end of the second resistor R2 is connected to the first end of the third resistor R3 and the first input end In of the comparator 231, and the second end of the third resistor R3 is grounded.
In this way, the second resistor R2 and the third resistor R3 are connected In series between the power supply terminal VCC and the ground terminal, and since the voltage of the power supply terminal VCC is constant, the divided voltage signal (divided voltage signal is constant voltage) of the third resistor R3 can be used as the threshold parameter input at the first input terminal In-of the comparator 231.
Optionally, the strain detection circuit 2 may further include a fourth resistor R4, where a first end of the fourth resistor R4 is connected to the voltage terminal VDD of the comparator 231, and the other end is connected to the output terminal output of the comparator 231.
In the above scheme, at the moment when the electronic device falls, the resistance strain gauge is strained to generate a change of resistance, and the resistance becomes low, so that the output voltage of the comparator 231 is switched to a low level (for example, corresponding to the falling edge of the output signal in fig. 5); after the falling action is completed, the resistance value of the resistance strain gauge is gradually recovered in the stress releasing process (for example, the low level state of the output signal in the corresponding fig. 5); after the stress is released, the resistance value of the resistance strain gauge is restored to the initial state, the comparator 231 is restored to the high level from the low level (for example, the rising edge of the output signal in fig. 5 is corresponding to the output end), that is, the output level of the comparator 231 completes the action of a negative pulse signal from the high level to the low level and then to the high level, and the negative pulse signal is equivalent to the trigger action of the on-off button in the analog electronic device, so that the electronic device enters the dormant state.
Optionally, according to at least one embodiment above, as shown in fig. 6, the electronic device further includes:
the delay latch module 6 is connected with the strain detection module 2 and the on-off module 3;
the delay latch module 6 is configured to store a pulse signal output by the strain detection module 2, and send the stored pulse signal to the on-off module 3 after the strain detection module 2 outputs the pulse signal to the on-off module 3 for a predetermined period of time;
when the electronic equipment is in a dormant state, the on-off module 3 responds to the pulse signal output by the delay latch module 6 to control the electronic equipment to enter an awake state; wherein, the crystal oscillator 1 is in an on state in the wake-up state.
For example: the pulse signal output by the strain detection module 2 is latched through the delay latching module 6, and after the stress release is finished, namely after the resistance value of the resistance strain gauge is restored to an initial state, the delay is delayed for a preset time (such as delay 1S), and a low-level pulse is triggered to the on-off module 3 again to wake up the dormant state of the electronic equipment, namely the electronic equipment enters the wake-up state, so that the electronic equipment enters the system working state of the electronic equipment, and the electronic equipment is ensured to work normally after falling.
Specifically, the on-off module 3 responds to the pulse signal output by the delay latch module 6 to control the electronic device to switch from the off-screen state to the on-screen state (or called wake-up sleep state), that is, if the on-off key is triggered once when the electronic device is in the off-screen state, the electronic device is switched to the on-screen state.
Wherein, the delay latch module 6 may specifically include:
a pulse latch 61 connected to the strain detection module 2; the pulse latch 61 is used for storing a pulse signal output by the strain detection module 2;
a delay circuit 62 connected to the pulse latch 61 and the on-off module 3; the delay circuit 62 is configured to send the stored pulse signal to the on-off module 3 after the strain detection module 2 outputs the pulse signal to the on-off module 3 for a predetermined period of time.
For example: the pulse signal output by the strain detection module 2 is latched through the pulse latch 61, so that after the stress release is finished, namely, after the resistance value of the resistance strain gauge is restored to an initial state, a low-level pulse is triggered to the on-off module 3 again after a predetermined time (such as time delay 1S) is delayed by the time delay circuit 62, so that the dormant state of the electronic equipment is awakened, namely, the electronic equipment enters an awakening state, and the system working state of the electronic equipment is entered, so that the electronic equipment can work normally after falling.
In the above scheme, when the electronic equipment falls, the strain detection circuit 2 detects the strain of the crystal oscillator 1, and triggers the low pulse signal to the on-off module 3, so that the electronic equipment enters a dormant state to close the crystal oscillator 1, and the influence of the falling stress on the electrical performance of the crystal oscillator 1 is avoided; when the dropping is completed, i.e. the stress release is completed, the electronic device can also wake up in a sleep state, i.e. the electronic device enters a wake-up state, so that the crystal oscillator 1 is restarted. According to the scheme, the risk of dead halt of the electronic equipment in a falling scene can be reduced, and the stability and reliability of the electronic equipment are enhanced.
As shown in fig. 7, the embodiment of the present invention further provides a control method of an electronic device, including:
step 71: and obtaining the strain parameter of the crystal oscillator in the electronic equipment.
Alternatively, the strain sensor disposed on the crystal oscillator may be used to detect the strain parameter on the crystal oscillator, which may be specifically described in the above-mentioned embodiments of the electronic device, and will not be described herein.
Step 72: controlling the electronic equipment to enter a dormant state through a startup and shutdown module under the condition that the strain parameter meets a preset condition; and the crystal oscillator is in a closed state in the dormant state.
Optionally, when the strain parameter meets the preset condition, the low-level pulse signal may be output by the power on/off module to enable the electronic device to enter the sleep state when the strain parameter is smaller than the threshold parameter, which may be specifically referred to the embodiment of the electronic device, and in order to avoid repetition, details are not repeated here.
In this embodiment, the electronic device is controlled to enter the sleep state by the on-off module by acquiring a strain parameter on a crystal oscillator in the electronic device, where the strain parameter meets a preset condition. Therefore, when the strain parameter meets the preset condition, namely the crystal oscillator in the electronic equipment generates strain, the electronic equipment is controlled to enter a dormant state through the on-off module, so that faults such as system halt and the like caused by abnormal clock frequency due to the influence of the oscillation form of the crystal oscillator are avoided.
Optionally, after the step 72, the method may further include: after the electronic equipment is in a dormant state and a preset time period passes, controlling the electronic equipment to enter an awake state through the on-off module; wherein, the crystal oscillator is in an on state in the wake-up state.
Optionally, when the electronic device enters the sleep state and a predetermined period of time passes, a low-level pulse signal is sent to the power on/off module again, so that the electronic device enters the wake-up state, which can be described specifically with reference to the embodiment of the electronic device, and in order to avoid repetition, a description is omitted here.
In this embodiment, after the stress release is completed after the electronic device falls, a low-level pulse is triggered to the on-off module 3 again after a predetermined time (for example, time delay 1S) to wake up the sleep state of the electronic device, that is, the electronic device enters the wake-up state, so as to enter the system working state of the electronic device, and ensure that the electronic device can work normally after falling.
As shown in fig. 8, an embodiment of the present invention further provides an electronic device 800, including:
an obtaining module 810, configured to obtain a strain parameter of a crystal oscillator in the electronic device;
the sleep module 820 is configured to control the electronic device to enter a sleep state through the on/off module when the strain parameter meets a preset condition;
and the crystal oscillator is in a closed state in the dormant state.
Optionally, the electronic device 800 further includes:
the wake-up module is used for controlling the electronic equipment to enter a wake-up state through the on-off module after the electronic equipment enters a sleep state and a preset time period passes;
wherein, the crystal oscillator is in an on state in the wake-up state.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of fig. 7, and in order to avoid repetition, a description is omitted here.
In the above embodiment, the electronic device 800 obtains the strain parameter of the crystal oscillator in the electronic device, and controls the electronic device to enter the sleep state through the power on/off module when the strain parameter meets the preset condition. Therefore, when the strain parameter meets the preset condition, namely the crystal oscillator in the electronic equipment generates strain, the electronic equipment is controlled to enter a dormant state through the on-off module, so that faults such as system halt and the like caused by abnormal clock frequency due to the influence of the oscillation form of the crystal oscillator are avoided.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 900 includes, but is not limited to: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, processor 910, and power source 911. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
The processor 910 is configured to obtain a strain parameter of a crystal oscillator in the electronic device, and control the electronic device to enter a sleep state through a power on/off module when the strain parameter meets a preset condition; and the crystal oscillator is in a closed state in the dormant state.
In the above-mentioned scheme, the electronic device 900 obtains the strain parameter of the crystal oscillator in the electronic device, and when the strain parameter meets the preset condition, controls the electronic device to enter the sleep state through the power on/off module. Therefore, when the strain parameter meets the preset condition, namely the crystal oscillator in the electronic equipment generates strain, the electronic equipment is controlled to enter a dormant state through the on-off module, so that faults such as system halt and the like caused by abnormal clock frequency due to the influence of the oscillation form of the crystal oscillator are avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from a base station and then processing the downlink data by the processor 910; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 may also communicate with networks and other devices via a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 902, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as sound. Also, the audio output unit 903 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 900. The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 904 is used to receive an audio or video signal. The input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, the graphics processor 9041 processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphics processor 9041 may be stored in memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 901 in the case of a telephone call mode.
The electronic device 900 also includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 9061 and/or the backlight when the electronic device 900 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 905 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 906 is used to display information input by a user or information provided to the user. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 907 is operable to receive input numeric or character information, and to generate key signal inputs related to user settings and function controls of the electronic device. In particular, the user input unit 907 includes a touch panel 9071 and other input devices 9072. Touch panel 9071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (such as operations of the user on touch panel 9071 or thereabout using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 9071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 910, and receives and executes commands sent by the processor 910. In addition, the touch panel 9071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 907 may also include other input devices 9072 in addition to the touch panel 9071. In particular, other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 9071 may be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 910 to determine a type of touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of touch event. Although in fig. 9, the touch panel 9071 and the display panel 9061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 908 is an interface to which an external device is connected to the electronic apparatus 900. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 908 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 900 or may be used to transmit data between the electronic apparatus 900 and an external device.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 909 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 910 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 909, and calling data stored in the memory 909, thereby performing overall monitoring of the electronic device. Processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 910.
The electronic device 900 may also include a power supply 911 (e.g., a battery) for powering the various components, and the power supply 911 may preferably be logically coupled to the processor 910 by a power management system, such as to perform charge, discharge, and power consumption management functions.
In addition, the electronic device 900 includes some functional modules that are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, including a processor 910, a memory 909, and a computer program stored in the memory 909 and capable of running on the processor 910, where the computer program when executed by the processor 910 implements each process of the above embodiment of the control method of the electronic device, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the control method embodiment of the electronic device, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. An electronic device, comprising: a crystal oscillator, a strain detection module and an on-off module;
the strain detection module is connected with the crystal oscillator and the on-off module;
the strain detection module is used for detecting a strain parameter when the crystal oscillator is strained, and outputting a pulse signal to the on-off module when the strain parameter meets a preset condition;
the on-off module responds to the pulse signal and controls the electronic equipment to enter a dormant state; and the crystal oscillator is in a closed state in the dormant state.
2. The electronic device of claim 1, wherein the strain detection module comprises: a threshold generation circuit, a strain input circuit, and a comparison circuit;
the threshold generating circuit is connected with the comparing circuit and is used for generating a threshold parameter and transmitting the threshold parameter to the comparing circuit;
the strain input circuit is connected with the crystal oscillator and the comparison circuit and is used for detecting a strain parameter of the crystal oscillator and transmitting the strain parameter to the comparison circuit;
the comparison circuit is connected with the on-off module, and is used for comparing the threshold parameter with the strain parameter and outputting the pulse signal to the on-off module under the condition that the preset condition is met.
3. The electronic device of claim 2, wherein the strain input circuit comprises:
the strain sensor is arranged on the crystal oscillator and is connected with the comparison circuit; the strain input circuit detects a strain parameter of the crystal oscillator through the strain sensor and transmits the strain parameter to the comparison circuit.
4. The electronic device of claim 3, wherein the strain sensor is a resistive strain gauge disposed on a surface of the crystal oscillator.
5. The electronic device of claim 4, wherein the strain input circuit further comprises:
the first end of the voltage dividing circuit is connected with a constant voltage power supply, and the second end of the voltage dividing circuit is respectively connected with the first end of the resistance strain gauge and the comparison circuit; the second end of the resistance strain gauge is grounded;
wherein the strain parameters are: the potential value of the first end of the resistance strain gauge.
6. The electronic device of claim 2, wherein the threshold generation circuit comprises:
a constant voltage generation circuit connected to the comparison circuit, the constant voltage generation circuit being configured to generate a constant voltage and transmit the constant voltage to the comparison circuit;
wherein the threshold parameters are: the constant voltage generating circuit generates a constant voltage value.
7. The electronic device of claim 2, wherein the comparison circuit comprises a comparator;
a first input end of the comparator is connected with the threshold generating circuit;
a second input end of the comparator is connected with the strain input circuit;
the output end of the comparator is connected with the on-off module.
8. The electronic device of claim 7, wherein a first connection of the strain input circuit is connected to a power supply of the comparator, a second connection of the strain input circuit is connected to a ground of the comparator, and an output of the strain input circuit is connected to a second input of the comparator.
9. The electronic device of any one of claims 1-8, further comprising:
the delay latch module is connected with the strain detection module and the on-off module;
the delay latching module is used for storing the pulse signal output by the strain detection module, and outputting the stored pulse signal to the on-off module after the strain detection module outputs the pulse signal to the on-off module for a preset time;
when the electronic equipment is in a dormant state, the on-off module responds to the pulse signal output by the delay latching module to control the electronic equipment to enter an awake state; wherein, the crystal oscillator is in an on state in the wake-up state.
10. The electronic device of claim 9, wherein the delay latch module comprises:
the pulse latch is connected with the strain detection module; the pulse latch is used for storing the pulse signal output by the strain detection module;
the delay circuit is connected with the pulse latch and the on-off module; the delay circuit is used for outputting the stored pulse signal to the on-off module after the strain detection module outputs the pulse signal to the on-off module for a preset time.
CN202010227176.6A 2020-03-27 2020-03-27 Electronic equipment Active CN111404488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010227176.6A CN111404488B (en) 2020-03-27 2020-03-27 Electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010227176.6A CN111404488B (en) 2020-03-27 2020-03-27 Electronic equipment

Publications (2)

Publication Number Publication Date
CN111404488A CN111404488A (en) 2020-07-10
CN111404488B true CN111404488B (en) 2023-11-03

Family

ID=71431311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010227176.6A Active CN111404488B (en) 2020-03-27 2020-03-27 Electronic equipment

Country Status (1)

Country Link
CN (1) CN111404488B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114441943B (en) * 2022-01-28 2024-01-30 苏州浪潮智能科技有限公司 Strain detection method, strain detection device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951203A (en) * 2014-03-31 2015-09-30 小米科技有限责任公司 Device control method and device and electronic device
CN107787552A (en) * 2015-06-22 2018-03-09 密克罗奇普技术公司 Periodicity starter for crystal oscillator
US10204504B1 (en) * 2017-12-07 2019-02-12 Htc Corporation Electronic device and drop warning method
CN109992079A (en) * 2017-12-29 2019-07-09 华为技术有限公司 Terminal device and control method applied to terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11302859B2 (en) * 2018-09-20 2022-04-12 Boréas Technologies Inc. Zero-power wake-up sensing circuit in piezoelectric haptic feedback

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951203A (en) * 2014-03-31 2015-09-30 小米科技有限责任公司 Device control method and device and electronic device
CN107787552A (en) * 2015-06-22 2018-03-09 密克罗奇普技术公司 Periodicity starter for crystal oscillator
US10204504B1 (en) * 2017-12-07 2019-02-12 Htc Corporation Electronic device and drop warning method
CN109992079A (en) * 2017-12-29 2019-07-09 华为技术有限公司 Terminal device and control method applied to terminal device

Also Published As

Publication number Publication date
CN111404488A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN108347759B (en) Anti-interference method of flexible screen and mobile terminal
CN108319390B (en) Control method of flexible screen and mobile terminal
US11720182B2 (en) Key indication method and electronic device
CN109788137B (en) Falling protection method and terminal equipment
CN107887947B (en) Protection method for charging port and mobile terminal
CN111459330B (en) Electronic equipment and pressure key operation method
US20210391753A1 (en) Terminal and wireless charging control method
CN109600468B (en) Control method of foldable terminal and foldable terminal
US20220360709A1 (en) Mobile terminal, shooting mode detection method, and storage medium
CN110838748A (en) Electronic equipment and charging control system thereof
CN111443815A (en) Vibration reminding method and electronic equipment
CN111404488B (en) Electronic equipment
CN108388400B (en) Operation processing method and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
CN108170310B (en) Touch screen control method and mobile terminal
CN110868683B (en) Ultrasonic module failure detection method and electronic equipment
CN210894629U (en) Electric meter assembly and electronic equipment
CN111240451B (en) Heat dissipation method, electronic device and computer-readable storage medium
CN109991507B (en) Smart card contact detection circuit, method and equipment
CN110471808B (en) Pressure key detection method and device and mobile terminal
CN110442261B (en) Electronic equipment and touch operation detection method thereof
CN108924319B (en) Proximity detection method and mobile terminal
CN111625129B (en) Screen control method and device, electronic equipment and readable storage medium
CN110825682B (en) USB control method and electronic equipment
CN109828652B (en) Control method of power consumption mode and terminal equipment

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
GR01 Patent grant
GR01 Patent grant