CN108834206B - Control method of electronic device and electronic device - Google Patents

Control method of electronic device and electronic device Download PDF

Info

Publication number
CN108834206B
CN108834206B CN201810589997.7A CN201810589997A CN108834206B CN 108834206 B CN108834206 B CN 108834206B CN 201810589997 A CN201810589997 A CN 201810589997A CN 108834206 B CN108834206 B CN 108834206B
Authority
CN
China
Prior art keywords
function module
preset function
preset
electronic device
battery
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
CN201810589997.7A
Other languages
Chinese (zh)
Other versions
CN108834206A (en
Inventor
张洲川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810589997.7A priority Critical patent/CN108834206B/en
Publication of CN108834206A publication Critical patent/CN108834206A/en
Application granted granted Critical
Publication of CN108834206B publication Critical patent/CN108834206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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
    • 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 application discloses controlling means and electron device of electron device, electron device includes casing, mainboard, battery, predetermines functional module and is used for driving the gliding actuating mechanism of predetermineeing functional module, and battery, actuating mechanism, predetermine functional module and all are connected with the mainboard electricity, and predetermine functional module and can slide between the first position of accomodating in the casing and expose in the second position outside the casing, and controlling means includes following step: detecting the electric quantity of the battery as Qx; judging whether Qx is smaller than a first preset value Q1, detecting the position of a preset function module when Qx is smaller than Q1, and controlling the driving mechanism to be kept in a non-working state when the preset function module is at the first position; when Qx is larger than or equal to Q1 and the preset function module is triggered, the driving mechanism can be controlled to work. According to the control method of the electronic device, the situation that the preset functional module cannot reset due to insufficient electric quantity can be avoided, and the stable sliding-out and sliding-in of the preset functional module can be effectively guaranteed.

Description

Control method of electronic device and electronic device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a control method for an electronic device and an electronic device.
Background
The existing electronic devices such as mobile terminals usually need to open a hole on the glass cover of the screen to arrange various components, such as: proximity sensors, cameras and receivers, and the like. For a full-screen mobile terminal, it is desirable to hide these components on the front side of the electronic device, i.e., the side of the screen, for aesthetic reasons. How to hide and use the components becomes a problem to be solved urgently.
In the related art, there is a method of mounting a component by using a slider, and the component is hidden and used by sliding the slider. However, during the use process, the situation that the slider cannot be reset due to the insufficient battery power easily occurs, and the use of the user is affected.
Disclosure of Invention
The present application is directed to solving at least one of the problems in the prior art. Therefore, an object of the present application is to provide a control method for an electronic device, which can achieve stability of normal sliding out and sliding in of a preset function module of the electronic device, and improve user experience.
The application also provides an electronic device.
According to the control method of the electronic device in the embodiment of the first aspect of the present application, the electronic device includes a housing, a motherboard, a battery, a preset function module and a driving mechanism, the motherboard and the battery are all disposed in the housing, the battery, the driving mechanism, the preset function module are all electrically connected to the motherboard, the preset function module is slidable between a first position housed in the housing and a second position exposed outside the housing, the driving mechanism is configured to drive the preset function module to slide, and the control method includes the following steps: detecting the electric quantity of the battery as Qx; judging whether Qx is smaller than a first preset value Q1, detecting the position of the preset function module when Qx is smaller than Q1, and controlling the driving mechanism to be kept in a non-working state when the preset function module is at the first position; when Qx is larger than or equal to Q1 and the preset function module is triggered, the driving mechanism can be controlled to work.
According to the control method of the electronic device, the electric quantity of the battery is monitored in real time, when the electric quantity of the battery is low, the driving mechanism is controlled to be kept in a non-working state, even if the preset functional module is triggered, the preset functional module cannot slide out outwards, the situation that the preset functional module cannot reset due to insufficient electric quantity can be avoided, and the stable sliding-out and sliding-in of the preset functional module can be effectively guaranteed.
An electronic device according to an embodiment of a second aspect of the present application includes: a housing; the main board is arranged in the shell; the battery is arranged in the shell and is electrically connected with the mainboard; the mobile phone comprises a shell, a preset function module and a control module, wherein the preset function module can slide between a first position stored in the shell and a second position exposed out of the shell, and comprises at least one of a camera, a proximity sensor and a telephone receiver; the driving mechanism is used for driving the preset functional module to slide and is electrically connected with the main board; the electric quantity detection piece is used for detecting the electric quantity of the battery and is electrically connected with the mainboard; the position detection piece is used for detecting the position of the preset function module, the position detection piece is electrically connected with the mainboard, the electric quantity detection piece detects that the electric quantity of the battery is Qx, whether the Qx is smaller than a first preset value Q1 or not is judged, when the Qx is smaller than Q1, the position detection piece detects the position of the preset function module, and when the preset function module is located at the first position, the driving mechanism is controlled to be kept in a non-working state; when Qx is larger than or equal to Q1 and the preset function module is triggered, the driving mechanism can be controlled to work.
According to the electronic device of this application embodiment, through the roll-off and the roll-in of predetermineeing functional module, realize predetermineeing hiding and the use of functional module, and should predetermine functional module and include the camera, at least one in proximity sensor and the receiver, be favorable to the realization of electronic device's full face screen, electric quantity detection piece and position detection piece through setting up simultaneously, can avoid the electric quantity not enough to lead to predetermineeing the unable condition that resets of functional module, can effectively guarantee to predetermine stable roll-off and the roll-in of functional module.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic view of an electronic device according to one embodiment of the present application;
fig. 2 is a schematic flow chart of a control method of an electronic device according to an embodiment of the present application;
reference numerals:
an electronic device 100;
a housing 1; and presetting a functional module 2.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
A control method of the electronic device 100 according to an embodiment of the present application is described below with reference to fig. 1 to 2.
Referring to fig. 1-2, a control method of an electronic device 100 according to an embodiment of a first aspect of the present application is provided, where the electronic device 100 includes a housing 1, a main board, a battery, a preset function module 2, and a driving mechanism, the main board and the battery are disposed in the housing 1, the battery, the driving mechanism, and the preset function module 2 are electrically connected to the main board, the preset function module 2 is slidable between a first position housed in the housing 1 and a second position exposed outside the housing 1, and the driving mechanism is configured to drive the preset function module 2 to slide.
The control method comprises the following steps:
detecting the electric quantity of the battery as Qx;
judging whether the Qx is smaller than a first preset value Q1,
when Qx is less than Q1, detecting the position of the preset function module 2, and when the preset function module 2 is at the first position, controlling the driving mechanism to be kept in a non-working state, wherein at the moment, even if the preset function module 2 is triggered, the driving mechanism is kept in the non-working state, the driving mechanism cannot push the preset function module 2 to slide outwards, and the preset function module 2 is still kept at the first position, so that the condition that the preset function module 2 cannot be reset due to insufficient electric quantity can be avoided;
when Qx is larger than or equal to Q1 and the preset function module 2 is triggered, the driving mechanism can be controlled to work. That is, when the electric quantity Qx of the battery is greater than or equal to the first preset value Q1, if the preset function module 2 is triggered, the driving mechanism may be controlled to be in an operating state to drive the preset function module 2 to slide out or slide in. Specifically, if the preset function module 2 is at the first position, the preset function module 2 is triggered to slide out to the second position, and the preset function of the preset function module 2 can be realized; if the preset function module 2 is located at the second position, the preset function module 2 is triggered to slide to the first position, so that the preset function module 2 is hidden in the housing 1 when not in use.
Of course, when Qx is greater than or equal to Q1 and the preset function module 2 is not triggered, the driving mechanism is kept in the non-working state, that is, the preset function module 2 is not triggered, and the driving mechanism does not drive the preset function module 2 to slide.
It should be explained that the process of sliding the preset function module 2 from the first position to the second position is called sliding out, and the process of sliding the preset function module 2 from the second position to the first position is called sliding in.
When the preset function module 2 includes at least one of a camera, a proximity sensor and a receiver, the number of corresponding holes formed in the glass cover plate of the electronic device 100 can be reduced or avoided, which is beneficial to the realization of the overall screen of the electronic device 100.
The preset function module 2 may only include one of a camera, a proximity sensor and a receiver, for example, the preset function module 2 may only include a camera, and at this time, the camera may be used and hidden by sliding out and sliding in the preset function module 2; or, the preset functional module 2 may include two of a camera, a proximity sensor and a receiver, for example, the preset functional module 2 may include only a camera and a receiver; or, the preset function module 2 may include a camera, a proximity sensor and a receiver at the same time. Of course, the preset function module 2 may include other components besides the camera, the proximity sensor and the receiver, and is not limited to the above components.
Optionally, the preset function module 2 is triggered by a shortcut key, an application start trigger, or manually. When the preset function module 2 is triggered by a shortcut key, for example, the shortcut key may be triggered by pressing a volume up-down key, pressing the volume up-down key triggers the preset function module 2 to slide out, and pressing the volume down key triggers the preset function module 2 to slide in. When the trigger mode of the preset functional module 2 is application start trigger, the trigger mode can be triggered by starting of the corresponding application program, for example, when the preset functional module 2 includes a camera, when the shooting program is started, the preset functional module 2 can be triggered to slide out to the second position, and when the shooting program is closed, the preset functional module 2 can be triggered to slide into the first position. When the trigger mode of the preset function module 2 is manual trigger, the trigger of the preset function module 2 can be realized by setting the pressure sensor and pressing the position of the pressure sensor by hand, and the trigger slide-out and the trigger slide-in can be distinguished by setting different pressing time.
According to the control method of the electronic device 100, the electric quantity of the battery is monitored in real time, when the electric quantity of the battery is low, the driving mechanism is controlled to be kept in the non-working state, even if the preset functional module 2 is triggered, the preset functional module 2 cannot slide out, the situation that the preset functional module 2 cannot reset due to insufficient electric quantity can be avoided, and the stable sliding-out and sliding-in of the preset functional module 2 can be effectively guaranteed.
According to some embodiments of the present application, when Qx < Q1 and the preset function module 2 deviates from the first position (the deviation of the preset function module 2 from the first position means that the preset function module 2 is not at the first position, including the preset function module 2 at the second position or at a position between the first position and the second position), the driving mechanism is controlled to operate to drive the preset function module 2 to slide to the first position. Therefore, if in the sliding process of the preset function module 2 or when the preset function module 2 is located at the second position, the detected electric quantity Qx of the battery is smaller than the first preset value Q1, and the driving mechanism is controlled to work to drive the preset function module 2 to slide to the first position, so that the situation that the preset function module 2 cannot be reset due to insufficient electric quantity in the sliding process (the sliding process comprises the sliding-out process and the sliding-in process) or the sliding process to the second position can be avoided, the situation that the preset function module 2 cannot be reset due to insufficient electric quantity is further avoided, and the stable sliding-out and sliding-in of the preset function module 2 are further effectively ensured.
According to some embodiments of the present application, it is determined whether the battery power Qx is less than a second predetermined value Q2, and when Qx is less than Q2 and the predetermined function module 2 is triggered to slide out or the predetermined function module 2 is in a second position, a low power reminder appears on the user interface of the electronic device 100, where Q2 is greater than Q1. Therefore, when the electric quantity of the battery is detected to be low and the electric quantity is larger than the second preset value Q2, the user can be reminded of that the electric quantity of the battery is low in time, if the electric quantity Qx of the battery is smaller than the second preset value Q2 and is larger than or equal to the first preset value Q1, at the moment, the user can select to trigger the preset function module 2 to slide out (when the preset function module 2 is located at the first position), the user can also select not to trigger the preset function module 2 to slide out (when the preset function module 2 is located at the first position), or the user can select to trigger the preset function module 2 to slide in time (when the preset function module 2 is located at the second position). If the electric quantity Qx of the battery is smaller than the first preset value Q1, even if the preset function module 2 is triggered to slide out, the driving mechanism will not push the preset function module 2 to slide out because the driving mechanism is kept in the non-working state.
According to some embodiments of the present application, when Q1 is not less than Qx < Q2 and the preset function module 2 is triggered to slide out, the user interface of the electronic device 100 is prompted by a low battery and simultaneously prompted by whether to slide out of the preset function module 2. At this moment, the user can select the roll-off to preset functional module 2 as required, and the user also can choose not to roll off to preset functional module 2 to avoid the electric quantity not enough to lead to presetting the unable circumstances that resets of functional module 2, can effectively guarantee to preset stable roll-off and the roll-in of functional module 2 simultaneously, can satisfy user demand's variety.
According to some embodiments of the present application, when Q1 is not less than Qx < Q2 and the preset function module 2 is in the second position, the user interface of the electronic device 100 is prompted by the low battery and is simultaneously prompted by whether to slide into the preset function module 2. From this, when the electric quantity of battery is lower, can in time remind the user, the user can choose to slide in as required and predetermine function module 2, and the user also can choose not to slide in and predetermine function module 2 to avoiding the electric quantity not enough to lead to predetermineeing the condition that function module 2 can't reset, can effectively guarantee to predetermine stable roll-off of function module 2 and the variety that can satisfy user's user demand when sliding in.
According to some optional embodiments of the application, the preset function module 2 comprises a camera, and when the preset function module 2 is triggered to slide out and Qx is larger than or equal to Q2, a shooting program of the camera is started, wherein Q2 is a second preset value and Q2 is larger than Q1. Therefore, when the electric quantity is sufficient, the shooting program of the camera is started when the preset functional module 2 is triggered to slide out to the second position, and the camera is simple and convenient.
The electronic device 100 according to the embodiment of the second aspect of the present application includes: casing 1, mainboard, battery, predetermine functional module 2, actuating mechanism, electric quantity detection piece and position detection piece, mainboard and battery are all established in casing 1, and the battery, predetermine functional module 2, actuating mechanism, electric quantity detection piece and position detection piece and all be connected with the mainboard electricity. But predetermine function module 2 and take in the first position in casing 1 and expose in the second position outside casing 1 between slidable, predetermine function module 2 and include at least one in camera, proximity sensor and the receiver, actuating mechanism is used for the drive to predetermine function module 2 gliding, and electric quantity detection spare is used for detecting the battery electric quantity, and position detection spare is used for detecting predetermines 2 positions of function module.
The electric quantity detecting part detects the electric quantity of the battery as Qx, judges whether the Qx is smaller than a first preset value Q1,
when Qx is less than Q1, the position detection piece detects the position of the preset functional module 2, when the preset functional module 2 is at the first position, the driving mechanism is controlled to be kept in a non-working state, at the moment, even if the preset functional module 2 is triggered, the driving mechanism is kept in the non-working state, the driving mechanism cannot push the preset functional module 2 to slide outwards, the preset functional module 2 is still kept at the first position, and therefore the situation that the preset functional module 2 cannot be reset due to insufficient electric quantity can be avoided;
when Qx is larger than or equal to Q1 and the preset function module 2 is triggered, the driving mechanism is controlled to work. That is, when the electric quantity Qx of the battery is greater than or equal to the first preset value Q1, if the preset function module 2 is triggered, the driving mechanism may be controlled to be in an operating state to drive the preset function module 2 to slide out or slide in. Specifically, if the preset function module 2 is at the first position, the preset function module 2 is triggered to slide out to the second position, and the preset function of the preset function module 2 can be realized; if the preset function module 2 is located at the second position, the preset function module 2 is triggered to slide to the first position, so that the preset function module 2 is hidden in the housing 1 when not in use.
Of course, when Qx is greater than or equal to Q1 and the preset function module 2 is not triggered, the driving mechanism is kept in the non-working state, that is, the preset function module 2 is not triggered, and the driving mechanism does not drive the preset function module 2 to slide.
According to the electronic device 100 of the embodiment of the application, through roll-off and the roll-in of presetting functional module 2, realize hiding and using of presetting functional module 2, and should preset functional module 2 and include the camera, at least one in proximity sensor and the receiver, be favorable to the realization of electronic device 100's the whole screen, electric quantity detection piece and position detection piece through setting up simultaneously, can avoid the electric quantity not enough to lead to presetting the unable condition that resets of functional module 2, can effectively guarantee to preset stable roll-off and the roll-in of functional module 2.
According to some embodiments of the application, the position detection member includes a magnetic field generating element and a hall element, the magnetic field generating element and the hall element are respectively fixed on the housing 1 and the preset function module 2, the hall element is connected with the main board, and the current position of the preset function module 2 is determined according to a magnetic induction intensity value detected by the hall element. The magnetic induction intensity value detected by the Hall element is inversely proportional to the distance between the Hall element and the magnetic field generating element (the distance between the Hall element and the magnetic field generating element is the distance between the Hall element and the magnetic field generating element), after calibration, the specific position of the preset function module 2 can be obtained through the detected magnetic induction intensity value, and different corresponding operations can be performed after the specific position is obtained.
According to some embodiments of the present application, the charge detector can be a coulometer. Therefore, the current electric quantity of the battery can be conveniently and accurately detected.
The following describes a control method of the electronic device 100 and the electronic device 100 according to an embodiment of the present application with reference to fig. 1-2.
Referring to fig. 1-2, in the present embodiment, the electronic device 100 includes the above-mentioned housing 1, a main board, a battery, a preset function module 2, a driving mechanism, an electric quantity detection component, and a position detection component, where the main board and the battery are all disposed in the housing 1, and the battery, the preset function module 2, the driving mechanism, the electric quantity detection component, and the position detection component are all electrically connected to the main board. But predetermine function module 2 and take in the first position in casing 1 and expose in the second position outside casing 1 between slidable, predetermine function module 2 and include at least one in camera, proximity sensor and the receiver, actuating mechanism is used for the drive to predetermine function module 2 gliding, and electric quantity detection spare is used for detecting the battery electric quantity, and position detection spare is used for detecting predetermines function module 2 position.
The control method of the electronic device 100 of the present embodiment is briefly described below with reference to fig. 2.
The electric quantity detector detects that the electric quantity of the battery is Qx, and judges the magnitude relation between the Qx and a first preset value Q1 and a second preset value Q2, wherein Q2 is larger than Q1.
When Qx is less than Q1, the user interface of the electronic device 100 is prompted by low power, and meanwhile, the position of the preset function module 2 is detected, whether the preset function module 2 is located at the first position is detected, if the preset function module 2 is located at the first position, the driving mechanism is controlled to be kept in a non-working state, and at this time, even if the preset function module 2 is triggered, the driving mechanism cannot push the preset function module 2 to slide outwards; if the preset function module 2 is not located at the first position (the preset function module 2 deviates from the first position, for example, the preset function module 2 is located at the second position or at a position between the first position and the second position), the driving mechanism is controlled to work to drive the preset function module 2 to slide to the first position.
When Q1 is not less than Qx is less than Q2, the user interface of the electronic device 100 is prompted by low power, and the position of the preset function module 2 is detected. If the preset function module 2 is detected to be in the first position and the preset function module 2 is triggered to slide out, the user interface simultaneously pops up a prompt whether to slide out of the preset function module 2, at this time, the user can select to slide out of the preset function module 2 according to needs, and the user can also select not to slide out of the preset function module 2; if the preset function module 2 is detected to be in the second position, the user interface simultaneously pops up a prompt indicating whether to slide into the preset function module 2, at this time, the user can select to slide into the preset function module 2 according to needs, and the user can also select not to slide into the preset function module 2.
When Qx is larger than or equal to Q2, after the preset function module 2 is triggered, the driving mechanism is controlled to drive the preset function module 2 to normally slide out or slide in.
The control method of the electronic device 100 of the embodiment can avoid the situation that the preset functional module 2 cannot be reset due to insufficient electric quantity, and can meet the diversity of the user use requirements while effectively ensuring the stable sliding-out and sliding-in of the preset functional module 2.
In some embodiments of the present application, electronic apparatus 100 may be any of a variety of types of computer system devices (only one modality shown by way of example in FIG. 1) that are mobile or portable and that perform wireless communications. Specifically, the electronic apparatus 100 may be a mobile phone or a smart phone (e.g., an iPhone-based phone), a Portable game device (e.g., Nintendo DS, PlayStation Portable, game Advance, iPhone), a laptop computer, a PDA, a Portable internet device, a music player, and a data storage device, other handheld devices, and a head-mounted device (e.g., a head-mounted device (HMD) such as a watch, an in-ear phone, a pendant, a headset, etc.), and the electronic apparatus 100 may also be other wearable devices (e.g., an electronic glasses, an electronic garment, an electronic bracelet, an electronic necklace, an electronic tattoo, the electronic apparatus 100, or a smart watch).
The electronic device 100 may also be any of a plurality of electronic devices 100, the plurality of electronic devices 100 including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical equipment, vehicle transportation equipment, calculators, programmable remote controls, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving Picture experts group (MPEG-1 or MPEG-2) Audio layer (MP3) players, portable medical equipment, and digital cameras, and combinations thereof.
In some cases, electronic device 100 may perform multiple functions (e.g., playing music, displaying videos, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus 100 may be a portable device such as a cellular telephone, media player, other handheld device, wrist watch device, pendant device, earpiece device, or other compact portable device.
In some embodiments of the present invention, electronic device 100 may include control circuitry, which may include storage and processing circuitry. The storage and processing circuitry may be memory, such as hard drive memory, non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), etc., although embodiments of the invention are not limited in this respect. Processing circuitry in the storage and processing circuitry may be used to control the operation of the electronic device 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry may be used to run software in the electronic device 100, such as an Internet browsing application, a Voice Over Internet Protocol (VOIP) phone call application, an email application, a media playing application, operating system functions, and so forth. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor 22 measurement based on a proximity sensor 22, information display functionality implemented based on a status indicator such as a status indicator light of a light emitting diode, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functionality, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 100, to name a few.
The electronic device 100 may also include communication circuitry that may be used to provide the electronic device 100 with the ability to communicate with external devices. The communication circuitry may include analog and digital input-output interface circuitry, and wireless communication circuitry based on radio frequency signals and/or optical signals. The wireless communication circuitry in the communication circuitry may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in the Communication circuitry may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuit may include a near field communication antenna and a near field communication transceiver. The communications circuitry may also include cellular telephone transceiver and antennas, wireless local area network transceiver circuitry and antennas, and so forth.
The electronic device 100 may also include input-output circuitry. The input-output circuit may be used to enable the electronic apparatus 100 to implement input and output of data, i.e., to allow the electronic apparatus 100 to receive data from an external device and also to allow the electronic apparatus 100 to output data from the electronic apparatus 100 to the external device. The input-output circuit may further include a sensor. The sensors may include ambient light sensors, light and capacitance based proximity sensors 22, touch sensors (e.g., based on optical touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
The input-output circuitry may also include one or more displays, such as a display. The display may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. The display may include an array of touch sensors (i.e., the display may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and embodiments of the invention are not limited thereto.
The electronic device 100 may also include an audio component. The audio components may be used to provide audio input and output functionality for the electronic device 100. Audio components in the electronic device 100 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
In the description herein, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A control method of an electronic device is characterized in that the electronic device comprises a shell, a mainboard, a battery, a preset function module and a driving mechanism, wherein the mainboard and the battery are arranged in the shell, the battery, the driving mechanism and the preset function module are electrically connected with the mainboard, the preset function module can slide between a first position accommodated in the shell and a second position exposed outside the shell, the driving mechanism is used for driving the preset function module to slide, and the control method comprises the following steps:
detecting the electric quantity of the battery as Qx;
judging whether Qx is smaller than a first preset value Q1, detecting the position of the preset function module when Qx is smaller than Q1, and controlling the driving mechanism to be kept in a non-working state when the preset function module is at the first position; when Qx is larger than or equal to Q1 and the preset function module is triggered, the driving mechanism can be controlled to work;
and judging whether the Qx is smaller than a second preset value Q2, and when the Qx is smaller than Q2 and the preset function module is triggered to slide out or is located at a second position, a low-power reminder appears on a user interface of the electronic device, wherein Q2 is larger than Q1.
2. The method of claim 1, wherein when Qx < Q1 and the predetermined functional module deviates from the first position, the driving mechanism is controlled to operate to drive the predetermined functional module to slide to the first position.
3. The method as claimed in claim 1, wherein when Qx is greater than or equal to Q1 and less than Q2 and the preset function module is triggered to slide out, the user interface of the electronic device is prompted by a low battery and whether to slide out of the preset function module.
4. The method as claimed in claim 1, wherein when Q1 is more than or equal to Qx < Q2 and the predetermined function module is at the second position, the user interface of the electronic device is prompted to display a low battery and simultaneously display whether to slide into the predetermined function module.
5. The method according to claim 1, wherein the preset function module is triggered by a shortcut key, an application start trigger or a manual trigger.
6. The method of claim 1, wherein the preset function module comprises at least one of a camera, a proximity sensor and a receiver.
7. The method as claimed in claim 6, wherein the preset function module comprises a camera, and a shooting procedure of the camera is started when the preset function module is triggered to slide out and Qx ≧ Q2, wherein Q2 is a second preset value and Q2 > Q1.
8. An electronic device, comprising:
a housing;
the main board is arranged in the shell;
the battery is arranged in the shell and is electrically connected with the mainboard;
the mobile phone comprises a shell, a preset function module and a control module, wherein the preset function module can slide between a first position stored in the shell and a second position exposed out of the shell, and comprises at least one of a camera, a proximity sensor and a telephone receiver;
the driving mechanism is used for driving the preset functional module to slide and is electrically connected with the main board;
the electric quantity detection piece is used for detecting the electric quantity of the battery and is electrically connected with the mainboard;
a position detection member for detecting the position of the preset function module, the position detection member being electrically connected to the main board,
the electric quantity detection piece detects that the electric quantity of the battery is Qx, whether the Qx is smaller than a first preset value Q1 is judged, when the Qx is smaller than Q1, the position detection piece detects the position of the preset function module, and when the preset function module is located at the first position, the driving mechanism is controlled to be kept in a non-working state; when Qx is larger than or equal to Q1 and the preset function module is triggered, the driving mechanism can be controlled to work;
and judging whether the Qx is smaller than a second preset value Q2, and when the Qx is smaller than Q2 and the preset function module is triggered to slide out or is located at a second position, a low-power reminder appears on a user interface of the electronic device, wherein Q2 is larger than Q1.
9. The electronic device according to claim 8, wherein the position detecting member includes a magnetic field generating element and a hall element, the magnetic field generating element and the hall element are respectively fixed on the housing and the preset function module, the hall element is electrically connected to the main board, and the current position of the preset function module is determined according to a magnetic induction intensity value detected by the hall element.
10. The electronic device of claim 8, wherein the charge detector is a coulomb counter.
CN201810589997.7A 2018-06-08 2018-06-08 Control method of electronic device and electronic device Active CN108834206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810589997.7A CN108834206B (en) 2018-06-08 2018-06-08 Control method of electronic device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810589997.7A CN108834206B (en) 2018-06-08 2018-06-08 Control method of electronic device and electronic device

Publications (2)

Publication Number Publication Date
CN108834206A CN108834206A (en) 2018-11-16
CN108834206B true CN108834206B (en) 2021-05-25

Family

ID=64143596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810589997.7A Active CN108834206B (en) 2018-06-08 2018-06-08 Control method of electronic device and electronic device

Country Status (1)

Country Link
CN (1) CN108834206B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587317B (en) * 2018-11-19 2021-01-19 Oppo广东移动通信有限公司 Calibration method, calibration device and computer storage medium
CN109246361B (en) 2018-11-30 2020-05-12 Oppo广东移动通信有限公司 Camera module control method and device
CN111314518A (en) * 2020-03-05 2020-06-19 Oppo广东移动通信有限公司 Mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016126733A1 (en) * 2015-02-02 2016-08-11 Apple Inc. Device, method, and graphical user interface for establishing a relationship and connection between two devices
CN106164815A (en) * 2014-04-15 2016-11-23 高通股份有限公司 For being postponed the system and method for power consumption by aftertreatment sensors data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI410118B (en) * 2007-07-20 2013-09-21 Hon Hai Prec Ind Co Ltd Method for controlling quantity of electricity and mobile communication device using the same
JP2010118834A (en) * 2008-11-12 2010-05-27 Toshiba Corp Portable terminal, power saving control method of portable terminal and power saving control program of portable terminal
CN106686709B (en) * 2017-03-15 2019-08-09 Oppo广东移动通信有限公司 Screen awakening method and mobile terminal
CN207150658U (en) * 2017-09-19 2018-03-27 广东欧珀移动通信有限公司 Mobile terminal
CN110413097A (en) * 2018-04-26 2019-11-05 Oppo广东移动通信有限公司 Camera control method and device, the mobile terminal of mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106164815A (en) * 2014-04-15 2016-11-23 高通股份有限公司 For being postponed the system and method for power consumption by aftertreatment sensors data
WO2016126733A1 (en) * 2015-02-02 2016-08-11 Apple Inc. Device, method, and graphical user interface for establishing a relationship and connection between two devices

Also Published As

Publication number Publication date
CN108834206A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
US11102697B2 (en) Method for controlling earphone switching and earphone
EP2879037B1 (en) Mobile terminal and controlling method thereof
CN109167153B (en) Electronic device, antenna radiator control method, and storage medium
KR102070116B1 (en) Method for controlling portable device by using humidity sensor and portable device thereof
CN108834206B (en) Control method of electronic device and electronic device
CN109587992B (en) Electronic equipment
CN106095401A (en) Informing message treatment method and device
CN109104203B (en) Communication method, electronic device, and computer-readable storage medium
CN109450023B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN108769401B (en) Signal detection method and related product
US9762714B2 (en) Mobile terminal
CN109684011B (en) Interface display control method, electronic device and computer readable storage medium
CN108540616B (en) Display screen assembly and electronic equipment
CN109066056B (en) Antenna assembly and electronic equipment
CN110447002B (en) Terminal
CN108834013A (en) A kind of wearable device electric quantity balancing method and Related product
CN109451336B (en) Video playing method and related product
US20150011259A1 (en) Remote display for communications device
CN109885201B (en) Touch area detection method for touch screen, electronic device and computer readable storage medium
CN109144308B (en) Display screen driving method, display screen, electronic device, and storage medium
CN109120033B (en) Electronic equipment and wireless charging system
US9973636B2 (en) Mobile terminal
CN110672262A (en) Pressure key threshold calibration method and device, storage medium and electronic equipment
CN108900942A (en) A kind of control method for playing back and electronic equipment
CN110557704A (en) Telephone receiver, telephone receiver assembly and electronic 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