Movatterモバイル変換


[0]ホーム

URL:


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
CN108834206BCN201810589997.7ACN201810589997ACN108834206BCN 108834206 BCN108834206 BCN 108834206BCN 201810589997 ACN201810589997 ACN 201810589997ACN 108834206 BCN108834206 BCN 108834206B
Authority
CN
China
Prior art keywords
function module
preset function
preset
electronic device
slide
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.)
Expired - Fee Related
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 LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810589997.7ApriorityCriticalpatent/CN108834206B/en
Publication of CN108834206ApublicationCriticalpatent/CN108834206A/en
Application grantedgrantedCritical
Publication of CN108834206BpublicationCriticalpatent/CN108834206B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种电子装置的控制方法及电子装置,电子装置包括壳体、主板、电池、预设功能模块和用于驱动预设功能模块滑动的驱动机构,电池、驱动机构、预设功能模块均与主板电连接,预设功能模块在收纳于壳体内的第一位置和外露于壳体外的第二位置之间可滑动,控制方法包括如下步骤:检测电池的电量为Qx;判断Qx是否小于第一预设值Q1,当Qx<Q1时,检测预设功能模块的位置,在预设功能模块处在第一位置时,控制驱动机构保持在非工作状态;当Qx≥Q1且预设功能模块被触发时,可控制驱动机构工作。根据本申请的电子装置的控制方法,可以避免电量不足导致预设功能模块无法复位的情况,可以有效保证预设功能模块的稳定滑出和滑入。

Figure 201810589997

The present application discloses a control method and electronic device of an electronic device. The electronic device includes a casing, a main board, a battery, a preset function module, and a drive mechanism for driving the preset function module to slide. The battery, the drive mechanism, and the preset function The modules are all electrically connected to the main board, and the preset function module can slide between a first position stored in the casing and a second position exposed outside the casing. The control method includes the following steps: detecting that the power of the battery is Qx; judging whether Qx is is less than the first preset value Q1, when Qx<Q1, the position of the preset function module is detected, and when the preset function module is in the first position, the control drive mechanism is kept in a non-working state; when Qx≥Q1 and the preset When the function module is triggered, the drive mechanism can be controlled to work. According to the control method of the electronic device of the present application, the situation that the preset function module cannot be reset due to insufficient power can be avoided, and the stable slide-out and slide-in of the preset function module can be effectively ensured.

Figure 201810589997

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:
anelectronic device 100;
a housing 1; and presetting afunctional 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 theelectronic 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 anelectronic device 100 according to an embodiment of a first aspect of the present application is provided, where theelectronic device 100 includes a housing 1, a main board, a battery, apreset 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 thepreset function module 2 are electrically connected to the main board, thepreset 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 thepreset 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 thepreset function module 2, and when thepreset 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 thepreset function module 2 is triggered, the driving mechanism is kept in the non-working state, the driving mechanism cannot push thepreset function module 2 to slide outwards, and thepreset function module 2 is still kept at the first position, so that the condition that thepreset function module 2 cannot be reset due to insufficient electric quantity can be avoided;
when Qx is larger than or equal to Q1 and thepreset 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 thepreset function module 2 is triggered, the driving mechanism may be controlled to be in an operating state to drive thepreset function module 2 to slide out or slide in. Specifically, if thepreset function module 2 is at the first position, thepreset function module 2 is triggered to slide out to the second position, and the preset function of thepreset function module 2 can be realized; if thepreset function module 2 is located at the second position, thepreset function module 2 is triggered to slide to the first position, so that thepreset 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 thepreset function module 2 is not triggered, the driving mechanism is kept in the non-working state, that is, thepreset function module 2 is not triggered, and the driving mechanism does not drive thepreset function module 2 to slide.
It should be explained that the process of sliding thepreset function module 2 from the first position to the second position is called sliding out, and the process of sliding thepreset function module 2 from the second position to the first position is called sliding in.
When thepreset 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 theelectronic device 100 can be reduced or avoided, which is beneficial to the realization of the overall screen of theelectronic device 100.
Thepreset function module 2 may only include one of a camera, a proximity sensor and a receiver, for example, thepreset 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 thepreset function module 2; or, the presetfunctional module 2 may include two of a camera, a proximity sensor and a receiver, for example, the presetfunctional module 2 may include only a camera and a receiver; or, thepreset function module 2 may include a camera, a proximity sensor and a receiver at the same time. Of course, thepreset 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, thepreset function module 2 is triggered by a shortcut key, an application start trigger, or manually. When thepreset 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 thepreset function module 2 to slide out, and pressing the volume down key triggers thepreset function module 2 to slide in. When the trigger mode of the presetfunctional module 2 is application start trigger, the trigger mode can be triggered by starting of the corresponding application program, for example, when the presetfunctional module 2 includes a camera, when the shooting program is started, the presetfunctional module 2 can be triggered to slide out to the second position, and when the shooting program is closed, the presetfunctional module 2 can be triggered to slide into the first position. When the trigger mode of thepreset function module 2 is manual trigger, the trigger of thepreset 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 theelectronic 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 presetfunctional module 2 is triggered, the presetfunctional module 2 cannot slide out, the situation that the presetfunctional module 2 cannot reset due to insufficient electric quantity can be avoided, and the stable sliding-out and sliding-in of the presetfunctional module 2 can be effectively guaranteed.
According to some embodiments of the present application, when Qx < Q1 and thepreset function module 2 deviates from the first position (the deviation of thepreset function module 2 from the first position means that thepreset function module 2 is not at the first position, including thepreset 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 thepreset function module 2 to slide to the first position. Therefore, if in the sliding process of thepreset function module 2 or when thepreset 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 thepreset function module 2 to slide to the first position, so that the situation that thepreset 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 thepreset function module 2 cannot be reset due to insufficient electric quantity is further avoided, and the stable sliding-out and sliding-in of thepreset 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 thepredetermined function module 2 is triggered to slide out or thepredetermined function module 2 is in a second position, a low power reminder appears on the user interface of theelectronic 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 thepreset function module 2 to slide out (when thepreset function module 2 is located at the first position), the user can also select not to trigger thepreset function module 2 to slide out (when thepreset function module 2 is located at the first position), or the user can select to trigger thepreset function module 2 to slide in time (when thepreset 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 thepreset function module 2 is triggered to slide out, the driving mechanism will not push thepreset 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 thepreset function module 2 is triggered to slide out, the user interface of theelectronic device 100 is prompted by a low battery and simultaneously prompted by whether to slide out of thepreset function module 2. At this moment, the user can select the roll-off to presetfunctional module 2 as required, and the user also can choose not to roll off to presetfunctional module 2 to avoid the electric quantity not enough to lead to presetting the unable circumstances that resets offunctional module 2, can effectively guarantee to preset stable roll-off and the roll-in offunctional 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 thepreset function module 2 is in the second position, the user interface of theelectronic device 100 is prompted by the low battery and is simultaneously prompted by whether to slide into thepreset 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 andpredetermine function module 2, and the user also can choose not to slide in andpredetermine function module 2 to avoiding the electric quantity not enough to lead to predetermineeing the condition thatfunction module 2 can't reset, can effectively guarantee to predetermine stable roll-off offunction module 2 and the variety that can satisfy user's user demand when sliding in.
According to some optional embodiments of the application, thepreset function module 2 comprises a camera, and when thepreset 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 presetfunctional module 2 is triggered to slide out to the second position, and the camera is simple and convenient.
Theelectronic device 100 according to the embodiment of the second aspect of the present application includes: casing 1, mainboard, battery, predeterminefunctional module 2, actuating mechanism, electric quantity detection piece and position detection piece, mainboard and battery are all established in casing 1, and the battery, predeterminefunctional module 2, actuating mechanism, electric quantity detection piece and position detection piece and all be connected with the mainboard electricity. Butpredetermine 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 topredetermine 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 presetfunctional module 2, when the presetfunctional 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 presetfunctional module 2 is triggered, the driving mechanism is kept in the non-working state, the driving mechanism cannot push the presetfunctional module 2 to slide outwards, the presetfunctional module 2 is still kept at the first position, and therefore the situation that the presetfunctional module 2 cannot be reset due to insufficient electric quantity can be avoided;
when Qx is larger than or equal to Q1 and thepreset 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 thepreset function module 2 is triggered, the driving mechanism may be controlled to be in an operating state to drive thepreset function module 2 to slide out or slide in. Specifically, if thepreset function module 2 is at the first position, thepreset function module 2 is triggered to slide out to the second position, and the preset function of thepreset function module 2 can be realized; if thepreset function module 2 is located at the second position, thepreset function module 2 is triggered to slide to the first position, so that thepreset 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 thepreset function module 2 is not triggered, the driving mechanism is kept in the non-working state, that is, thepreset function module 2 is not triggered, and the driving mechanism does not drive thepreset function module 2 to slide.
According to theelectronic device 100 of the embodiment of the application, through roll-off and the roll-in of presettingfunctional module 2, realize hiding and using of presettingfunctional module 2, and should presetfunctional module 2 and include the camera, at least one in proximity sensor and the receiver, be favorable to the realization ofelectronic 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 offunctional module 2, can effectively guarantee to preset stable roll-off and the roll-in offunctional 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 thepreset function module 2, the hall element is connected with the main board, and the current position of thepreset 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 thepreset 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 theelectronic device 100 and theelectronic 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, theelectronic device 100 includes the above-mentioned housing 1, a main board, a battery, apreset 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, thepreset 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 predeterminefunction module 2 and take in the first position in casing 1 and expose in the second position outside casing 1 between slidable, predeterminefunction module 2 and include at least one in camera, proximity sensor and the receiver, actuating mechanism is used for the drive to predeterminefunction module 2 gliding, and electric quantity detection spare is used for detecting the battery electric quantity, and position detection spare is used for detectingpredetermines function module 2 position.
The control method of theelectronic 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 theelectronic device 100 is prompted by low power, and meanwhile, the position of thepreset function module 2 is detected, whether thepreset function module 2 is located at the first position is detected, if thepreset 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 thepreset function module 2 is triggered, the driving mechanism cannot push thepreset function module 2 to slide outwards; if thepreset function module 2 is not located at the first position (thepreset function module 2 deviates from the first position, for example, thepreset 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 thepreset function module 2 to slide to the first position.
When Q1 is not less than Qx is less than Q2, the user interface of theelectronic device 100 is prompted by low power, and the position of thepreset function module 2 is detected. If thepreset function module 2 is detected to be in the first position and thepreset function module 2 is triggered to slide out, the user interface simultaneously pops up a prompt whether to slide out of thepreset function module 2, at this time, the user can select to slide out of thepreset function module 2 according to needs, and the user can also select not to slide out of thepreset function module 2; if thepreset function module 2 is detected to be in the second position, the user interface simultaneously pops up a prompt indicating whether to slide into thepreset function module 2, at this time, the user can select to slide into thepreset function module 2 according to needs, and the user can also select not to slide into thepreset function module 2.
When Qx is larger than or equal to Q2, after thepreset function module 2 is triggered, the driving mechanism is controlled to drive thepreset function module 2 to normally slide out or slide in.
The control method of theelectronic device 100 of the embodiment can avoid the situation that the presetfunctional 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 presetfunctional 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, theelectronic 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 theelectronic 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, theelectronic apparatus 100, or a smart watch).
Theelectronic device 100 may also be any of a plurality ofelectronic devices 100, the plurality ofelectronic 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, theelectronic 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 theelectronic 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 theelectronic 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 theelectronic device 100, to name a few.
Theelectronic device 100 may also include communication circuitry that may be used to provide theelectronic 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.
Theelectronic device 100 may also include input-output circuitry. The input-output circuit may be used to enable theelectronic apparatus 100 to implement input and output of data, i.e., to allow theelectronic apparatus 100 to receive data from an external device and also to allow theelectronic apparatus 100 to output data from theelectronic 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.
Theelectronic device 100 may also include an audio component. The audio components may be used to provide audio input and output functionality for theelectronic device 100. Audio components in theelectronic 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.7A2018-06-082018-06-08Control method of electronic device and electronic deviceExpired - Fee RelatedCN108834206B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810589997.7ACN108834206B (en)2018-06-082018-06-08Control method of electronic device and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810589997.7ACN108834206B (en)2018-06-082018-06-08Control method of electronic device and electronic device

Publications (2)

Publication NumberPublication Date
CN108834206A CN108834206A (en)2018-11-16
CN108834206Btrue CN108834206B (en)2021-05-25

Family

ID=64143596

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810589997.7AExpired - Fee RelatedCN108834206B (en)2018-06-082018-06-08Control method of electronic device and electronic device

Country Status (1)

CountryLink
CN (1)CN108834206B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109587317B (en)*2018-11-192021-01-19Oppo广东移动通信有限公司 A calibration method, device and computer storage medium
CN109246361B (en)2018-11-302020-05-12Oppo广东移动通信有限公司 Camera module control method and device
CN111314518A (en)*2020-03-052020-06-19Oppo广东移动通信有限公司Mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2016126733A1 (en)*2015-02-022016-08-11Apple Inc.Device, method, and graphical user interface for establishing a relationship and connection between two devices
CN106164815A (en)*2014-04-152016-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 numberPriority datePublication dateAssigneeTitle
TWI410118B (en)*2007-07-202013-09-21Hon Hai Prec Ind Co LtdMethod for controlling quantity of electricity and mobile communication device using the same
JP2010118834A (en)*2008-11-122010-05-27Toshiba CorpPortable terminal, power saving control method of portable terminal and power saving control program of portable terminal
CN106686709B (en)*2017-03-152019-08-09Oppo广东移动通信有限公司 Screen wake-up method and mobile terminal
CN207150658U (en)*2017-09-192018-03-27广东欧珀移动通信有限公司Mobile terminal
CN110413097A (en)*2018-04-262019-11-05Oppo广东移动通信有限公司Camera control method and device of mobile terminal and mobile terminal

Patent Citations (2)

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

Also Published As

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

Similar Documents

PublicationPublication DateTitle
CN109167153B (en)Electronic device, antenna radiator control method, and storage medium
EP2879037A1 (en)Mobile terminal and controlling method thereof
CN109743129B (en)Electromagnetic interference control method and related product
KR102070116B1 (en)Method for controlling portable device by using humidity sensor and portable device thereof
CN108632509B (en)Electronic device
CN109450023B (en)Charging circuit, charging processing method, electronic device, and storage medium
CN108777741B (en)Antenna switching control method and related product
CN108769401B (en) Signal detection method and related products
CN106095401A (en)Informing message treatment method and device
CN108989567B (en) Information reminder method, storage medium and electronic device
CN109150326A (en)Antenna impedance adjustment method, electronic device and computer readable storage medium
CN108834206B (en)Control method of electronic device and electronic device
CN110352532B (en)Method for detecting swelling of rechargeable battery and portable electronic equipment
CN108769377A (en) Antenna control method and related products
CN108388404A (en)Terminal, the control method of terminal, the manufacturing method of terminal and storage medium
CN108710468A (en)Image acquisition method and device, storage medium and electronic equipment
CN106598582A (en)Mobile terminal and desk application display method and apparatus therefor
US9762714B2 (en)Mobile terminal
CN108540616B (en) Display components and electronic equipment
CN110672262B (en) Pressure key threshold calibration method, device, storage medium and electronic device
CN110881073A (en)Display screen state judgment method, storage medium and electronic device
CN108595105A (en)Light supplement lamp control method and device, storage medium and electronic equipment
CN110797927A (en) Wireless charging control method and charging device
CN108810220A (en) Housing components and mobile terminals
CN109885201B (en) Touch screen touch area detection method, electronic device and computer-readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20210525

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp